Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.343s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.042s passed
attachAudioUrlCarriesThePlatformLink 0.122s passed
autoRetryHonoursCustomErrIds 0.042s passed
autoRetryResubmitsWithTheSameTokenId 0.117s passed
busyEngine 0.033s passed
cancelIsSilentAndIdempotent 0.649s passed
captureErrorEndsWithErrorJson 0.038s passed
clearActivityListenerDropsCallbacks 0.347s passed
clearInitListenerDropsPendingCallbacks 0.026s passed
durationTicksAndAutoStop 0.034s passed
existsAudioTransLocalChecks 0.062s passed
existsAudioTransUploadsOtherFormats 0.044s passed
existsAudioTransWithBothListenerTypes 0.049s passed
forceRecordIgnoresVadEnd 0.140s passed
initFailures 0.033s passed
initPostsCallbacksOnMainThread 0.029s passed
initVariantsAndEngineTypes 0.028s passed
invalidSettingsNeverReachTheNetwork 0.029s passed
microphoneFailures 0.034s passed
muteMusicRequestsAudioFocus 0.137s passed
notInitialisedAnswers60007 0.028s passed
paragraphResultHasShengtongStyleDetails 0.041s passed
paramsAndAudioUrlInResult 0.040s passed
pauseAndRestart 0.035s passed
permissionDeniedWithRealAudioRecord 0.031s passed
playbackCallbacks 0.040s passed
protocolErrorFromPlatform 0.046s passed
provisionAndParams 0.030s passed
quickStartAcceptsEitherOrder 0.046s passed
recordFileLocations 0.201s passed
recordStopScore 0.048s passed
recordingStopsAtThe300SecondLimit 0.118s passed
recycleIsIdempotent 0.134s passed
sdkLogSettings 0.029s passed
serverAddressAndTimeouts 0.072s passed
setOnRecorderListenerReplacesTheListener 0.038s passed
soundIntensityWithoutVad 0.045s passed
streamModeFeedsCallerAudio 0.038s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.039s passed
ticksPauseWithTheRecording 0.038s passed
vadEndsTheRecording 0.043s 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 42373c2a16164b60b5c474e47c97fb55 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=42373c2a16164b60b5c474e47c97fb55 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 1f746562df2a4e26b59483fd749e8cd3 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 0f0269ae026945ea9bda73b069d8eacf is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=0f0269ae026945ea9bda73b069d8eacf errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c6cc544f90a64312885226fcd5cfd81f 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 fbb949c0f914485aaf5e5d7ed149ff73 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 8ab271c15c8447f58dab08b0f851ad65 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 f95234f630874c7f9c262f7d8013e0d2 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 6c9275ecafad4b3badc4325afe671deb is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=6c9275ecafad4b3badc4325afe671deb errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 9dfa0d998a2c47319b14778649b22c1e is evaluated over REST instead
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 b74b40d1d897450e8f4dde34ac1c7b2b 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=b74b40d1d897450e8f4dde34ac1c7b2b 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 4d6d59fb26654c7aad0cd59cd92ac909 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 4d6d59fb26654c7aad0cd59cd92ac909
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 4d6d59fb26654c7aad0cd59cd92ac909
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=4d6d59fb26654c7aad0cd59cd92ac909 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 78bdbd2a7e8544be97e9ba384558d30d is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=78bdbd2a7e8544be97e9ba384558d30d errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8bfeddbcc857482dad635f3f3b53ae30 is evaluated over REST instead
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 7d2ad68b7ac44eb2bd4e02b761c19e8d 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 5a3fc7274ab94c609135f5a104e0590e 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 832a6aceae14461990e53d7b047711ca 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 1a956fd8bda742e58502ec4b3adca422 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 80e5ed987c584bd4ad91972c8a49db68 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 80e5ed987c584bd4ad91972c8a49db68
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 80e5ed987c584bd4ad91972c8a49db68
W/YuguStCompat: evaluation failed tokenId=80e5ed987c584bd4ad91972c8a49db68 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 04c480fb574e4e97be6a0b71408f49dd is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=04c480fb574e4e97be6a0b71408f49dd 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 4a11bcade91743dda597f0b67a452261 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=4a11bcade91743dda597f0b67a452261 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f4e689d8c7ff49c7a74b3226b49600de 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=f852f5d871f8486eb11c39df05108c84 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=3905e0927ddd426485c5f5654d5a7bb9 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks17621977047895454049/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=0e861923ecec435ea938a6e627b76e7b errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=bcf3f8a984e84bff99e0ca03ba62d1a8 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=f913a558d0894853ab7f62039c251b8e errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=53a8406a05e34a71965aba1d6c6f15dd 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 d48c3376acc04557a208c202cec59dfe 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 e63e2265b27041a8a0f3931b988d9039 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 2da9c496bc0740d2925499af6cce77e8 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=2da9c496bc0740d2925499af6cce77e8 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4ff6998e4b0e4e6fb62bce06da58d62e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=4ff6998e4b0e4e6fb62bce06da58d62e 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 29d079722e5248dfbab16cda654ffaab 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 29d079722e5248dfbab16cda654ffaab
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 40ea61a1d20a4ef092e8012ea14f6b0f 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 1f5cf7162e424fcb97d14ededa3004e2 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 8b4ebd6208eb409e81cbffebc5cc2276 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 650e7e4864b649cd9d9b9882a04981a2 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 389866e6ed45457392737137224fab13 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 5f2fd5cef8c745faab4ee6c9beb44afb 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=5f2fd5cef8c745faab4ee6c9beb44afb errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ea20a1b26b9049b0a3ae9e026503bf7f 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 063c5c2eef8c4d228babfc604ba00877 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 06deb93e39b54a9f90a2b371c7497fc1 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 f2ecea34931d411e81db3c0bfc7538a6 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3