Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.282s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.041s passed
attachAudioUrlCarriesThePlatformLink 0.122s passed
autoRetryHonoursCustomErrIds 0.038s passed
autoRetryResubmitsWithTheSameTokenId 0.120s passed
busyEngine 0.039s passed
cancelIsSilentAndIdempotent 0.646s passed
captureErrorEndsWithErrorJson 0.042s passed
clearActivityListenerDropsCallbacks 0.347s passed
clearInitListenerDropsPendingCallbacks 0.024s passed
durationTicksAndAutoStop 0.034s passed
existsAudioTransLocalChecks 0.055s passed
existsAudioTransUploadsOtherFormats 0.045s passed
existsAudioTransWithBothListenerTypes 0.052s passed
forceRecordIgnoresVadEnd 0.142s passed
initFailures 0.037s passed
initPostsCallbacksOnMainThread 0.024s passed
initVariantsAndEngineTypes 0.024s passed
invalidSettingsNeverReachTheNetwork 0.027s passed
microphoneFailures 0.036s passed
muteMusicRequestsAudioFocus 0.141s passed
notInitialisedAnswers60007 0.024s passed
paragraphResultHasShengtongStyleDetails 0.034s passed
paramsAndAudioUrlInResult 0.031s passed
pauseAndRestart 0.031s passed
permissionDeniedWithRealAudioRecord 0.029s passed
playbackCallbacks 0.040s passed
protocolErrorFromPlatform 0.041s passed
provisionAndParams 0.025s passed
quickStartAcceptsEitherOrder 0.040s passed
recordFileLocations 0.195s passed
recordStopScore 0.043s passed
recordingStopsAtThe300SecondLimit 0.128s passed
recycleIsIdempotent 0.131s passed
sdkLogSettings 0.028s passed
serverAddressAndTimeouts 0.054s passed
setOnRecorderListenerReplacesTheListener 0.034s passed
soundIntensityWithoutVad 0.045s passed
streamModeFeedsCallerAudio 0.042s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.040s passed
ticksPauseWithTheRecording 0.038s passed
vadEndsTheRecording 0.045s passed
withoutAutoRetryRetryableFailuresAre20009 0.128s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7e91bbdbeacc4fc0ba9ad5e40a891cbb is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7e91bbdbeacc4fc0ba9ad5e40a891cbb errId=90005: response is not a JSON object
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8a3530d25e4142bd8e26674c779743da is evaluated over REST instead
W/YuguStCompat: microphone unavailable: fake microphone denied
W/YuguStCompat: start failed (errId 60004): microphone unavailable or permission denied: fake microphone denied
W/YuguStCompat: microphone unavailable: fake microphone denied
W/YuguStCompat: start failed (errId 60004): microphone unavailable or permission denied: fake microphone denied
W/YuguStCompat: microphone unavailable: fake microphone busy
W/YuguStCompat: start failed (errId 60004): microphone unavailable or permission denied: fake microphone busy
W/YuguStCompat: activeMic failed: fake microphone denied
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6d82f7625dc44ceb8c334854e7497ac8 is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 941dea98acf0429db8057c3d6e8a62c5 is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4cfbb730eeb2445b8e2c05280a766fa8 is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 9803b62c299c4f42804e0b1b8dd2f447 is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 65bfe6820a6b4e829ebc375f8e009fea is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId fc2a4a5afccb40718d9d88d36ea86c36 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=fc2a4a5afccb40718d9d88d36ea86c36 errId=60002: 音频为空
E/YuguStCompat: init failed: appKey is empty
E/YuguStCompat: init failed: secretKey is empty
E/YuguStCompat: init failed: server address needs http, https, ws or wss scheme: ftp://example.com
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId fb4db97ab73a420ab9f8f0efc89724f9 is evaluated over REST instead
W/YuguStCompat: retry 1/2 in 227 ms: HTTP 503
W/YuguStCompat: retry 2/2 in 444 ms: HTTP 503
W/YuguStCompat: evaluation failed tokenId=fb4db97ab73a420ab9f8f0efc89724f9 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3)
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4ee61eb624fb45328c674c373675ec47 is evaluated over REST instead
W/YuguStCompat: retry 1/2 in 177 ms: HTTP 503
W/YuguStCompat: retry 2/2 in 346 ms: HTTP 503
W/YuguStCompat: autoRetry 1/2 for errId 20009 in 220 ms, same tokenId 4ee61eb624fb45328c674c373675ec47
W/YuguStCompat: retry 1/2 in 248 ms: HTTP 503
W/YuguStCompat: retry 2/2 in 369 ms: HTTP 503
W/YuguStCompat: autoRetry 2/2 for errId 20009 in 346 ms, same tokenId 4ee61eb624fb45328c674c373675ec47
W/YuguStCompat: retry 1/2 in 196 ms: HTTP 503
W/YuguStCompat: retry 2/2 in 468 ms: HTTP 503
W/YuguStCompat: evaluation failed tokenId=4ee61eb624fb45328c674c373675ec47 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3)
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 481762ac59f34fdbb6881e142dd2c174 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=481762ac59f34fdbb6881e142dd2c174 errId=60005: 音频短于 1 秒
W/YuguStCompat: microphone unavailable: RECORD_AUDIO permission not granted
W/YuguStCompat: start failed (errId 60004): microphone unavailable or permission denied: RECORD_AUDIO permission not granted
W/YuguStCompat: activeMic failed: RECORD_AUDIO permission not granted
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 94404497a85d4e799d2218d5abfb1439 is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 2e0b4be304ac4502a3a23be203e49471 is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 134e983a52f9490db4b2807e8c058dcb is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f3f9b92050154687a923405ef1ba89a7 is evaluated over REST instead
W/YuguStCompat: log upload is not available in the compat layer; logs stay on the device
I/YuguStCompat: engine ready: appKey=k*** base=https://open.shengzhiai.com version=yugu-stkouyu-compat/2.3.0 (api 1.0.62)
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4c8ed4bab3bb45168d380a3d84b5425a is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 4c8ed4bab3bb45168d380a3d84b5425a
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 4c8ed4bab3bb45168d380a3d84b5425a
W/YuguStCompat: evaluation failed tokenId=4c8ed4bab3bb45168d380a3d84b5425a errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b05e4b0d209b4cfaaf32b22a530e7247 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=b05e4b0d209b4cfaaf32b22a530e7247 errId=40001: bad
W/YuguStCompat: startRecord rejected (errId 60007): 引擎未初始化
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1e45376fb683442caf342ed1bce73938 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=1e45376fb683442caf342ed1bce73938 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1116da3c890b4c8e9d6cfd3e6db6a09f is evaluated over REST instead
W/YuguStCompat: initParams: setting would be rejected with errId 60003: 不支持的评测内核:open.eval
D/YuguStCompat: initParams: sent.eval.cn fields [refText]
W/YuguStCompat: evaluation failed tokenId=1f9fa7ddbd2b4d68a6950cc7abf79b3f errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=c0c4e6eeb8364d72ba56397f175db4ed errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks9668116405294259091/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=109d772ce44946d59ebfba7a3c6a5e73 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=637712ffb68c457a9c600a28e1f2c3fb errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=91c2df2ee34140dbbdde8ff2c2cd6c5b errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=ff32ec48ded34040acfa18033ebde157 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c577479a0dd3426f82684b00ee4f720b is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c74f4d6f135b49e3a4ca8ed8efaa46f3 is evaluated over REST instead
W/YuguStCompat: start failed (errId 60001): cannot create record file: cannot create /proc/forbidden-dir
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d349e7bc35ff403d948b011f018a606d is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=d349e7bc35ff403d948b011f018a606d errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6e7509f893f24206af22d3ca936b9c5a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=6e7509f893f24206af22d3ca936b9c5a errId=60005: 音频短于 1 秒
W/YuguStCompat: startRecord rejected (errId 60003): 不支持的评测内核:open.eval
W/YuguStCompat: startRecord rejected (errId 60006): refText 为空
W/YuguStCompat: existsAudioTrans rejected (errId 60003): 不支持的评测内核:sent.eval.kr
W/YuguStCompat: startRecord rejected (errId 60003): 不支持的评测内核:未指定
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d98ea6b2151f4047b427db616108ad3b is evaluated over REST instead
W/YuguStCompat: retry 1/2 in 227 ms: HTTP 500 code=50000
W/YuguStCompat: retry 2/2 in 444 ms: HTTP 500 code=50000
W/YuguStCompat: autoRetry 1/2 for errId 20009 in 177 ms, same tokenId d98ea6b2151f4047b427db616108ad3b
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId fb4929c1553e4029ab793ae5145dc51f is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId aaf6f0358e54474eac3b95006e05b3c3 is evaluated over REST instead
W/YuguStCompat: startRecord rejected (errId 60007): 引擎未初始化
W/YuguStCompat: existsAudioTrans rejected (errId 60007): 引擎未初始化
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 50e49055e4ee4f8e836485171eaab9f2 is evaluated over REST instead
W/YuguStCompat: engine type native is not available in the compat layer; running on cloud
W/YuguStCompat: engine type native is not available in the compat layer; running on cloud
W/YuguStCompat: engine type multi is not available in the compat layer; running on cloud
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c3c87d96db59454cbf0a23afc87f5621 is evaluated over REST instead
W/YuguStCompat: playback failed: no audio file to play
V/MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
V/MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
V/MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
W/YuguStCompat: playback failed: cannot play /no/such/file.wav: Don't know what to do with dataSource org.robolectric.shadows.util.DataSource@b1b3b0a3 - either add an exception with addException() or media info with addMediaInfo()
W/YuguStCompat: feed ignored: no stream session is recording (use RecordSetting.setIsStream(true) and startRecord first)
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5ff540fcb8db4c798dbcde052f2a7aa2 is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ad127a5d47a14f92a8fafb5d23cd9cdb is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
W/YuguStCompat: startRecord rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: existsAudioTrans rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=ad127a5d47a14f92a8fafb5d23cd9cdb errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId dce0fa4547d7423c8df7e11d9d6d3c30 is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f1c905bf86814ac084987d2b0d1b486b is evaluated over REST instead
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d31385378d284e02ab8cfa10dfefb0e8 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3