Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.346s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.034s passed
attachAudioUrlCarriesThePlatformLink 0.125s passed
autoRetryHonoursCustomErrIds 0.046s passed
autoRetryResubmitsWithTheSameTokenId 0.134s passed
busyEngine 0.035s passed
cancelIsSilentAndIdempotent 0.646s passed
captureErrorEndsWithErrorJson 0.042s passed
clearActivityListenerDropsCallbacks 0.341s passed
clearInitListenerDropsPendingCallbacks 0.028s passed
durationTicksAndAutoStop 0.032s passed
existsAudioTransLocalChecks 0.061s passed
existsAudioTransUploadsOtherFormats 0.045s passed
existsAudioTransWithBothListenerTypes 0.056s passed
forceRecordIgnoresVadEnd 0.139s passed
initFailures 0.030s passed
initPostsCallbacksOnMainThread 0.027s passed
initVariantsAndEngineTypes 0.035s passed
invalidSettingsNeverReachTheNetwork 0.031s passed
microphoneFailures 0.035s passed
muteMusicRequestsAudioFocus 0.142s passed
notInitialisedAnswers60007 0.029s passed
paragraphResultHasShengtongStyleDetails 0.041s passed
paramsAndAudioUrlInResult 0.036s passed
pauseAndRestart 0.038s passed
permissionDeniedWithRealAudioRecord 0.028s passed
playbackCallbacks 0.037s passed
protocolErrorFromPlatform 0.052s passed
provisionAndParams 0.028s passed
quickStartAcceptsEitherOrder 0.037s passed
recordFileLocations 0.201s passed
recordStopScore 0.049s passed
recordingStopsAtThe300SecondLimit 0.124s passed
recycleIsIdempotent 0.140s passed
sdkLogSettings 0.027s passed
serverAddressAndTimeouts 0.047s passed
setOnRecorderListenerReplacesTheListener 0.038s passed
soundIntensityWithoutVad 0.047s passed
streamModeFeedsCallerAudio 0.037s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.043s passed
ticksPauseWithTheRecording 0.040s passed
vadEndsTheRecording 0.037s passed
withoutAutoRetryRetryableFailuresAre20009 0.126s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f66564b3540a4cd6b846ff791f398311 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f66564b3540a4cd6b846ff791f398311 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 65d35abe10184b429f9b58a97fd76dac is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=65d35abe10184b429f9b58a97fd76dac errId=60005: 音频短于 1 秒
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 fa6f5f0e3d8a486b9305fff94c9b69c4 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 0bf015f36f554d019c237e7b20c4606a 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 5a510277b29a435c96463bfc1121b47d 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 b73eefdd49c642e6ad980d62c05f1d1e 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 ea21407591104bf2af66babf67c71a08 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 b59cd67e1eb4417cb8465987d576b4ad is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=b59cd67e1eb4417cb8465987d576b4ad 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 de988d12691e4f21a48e19dbf830fc9a 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=de988d12691e4f21a48e19dbf830fc9a 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 4958a5d418b3492a9075569ac997eded 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 4958a5d418b3492a9075569ac997eded
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 4958a5d418b3492a9075569ac997eded
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=4958a5d418b3492a9075569ac997eded 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 1a8d5ddc818349ad9e2a0eadaebcb68a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=1a8d5ddc818349ad9e2a0eadaebcb68a errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a62f248482a447cdab23b03b3402962d 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 88064533c3c847c6b040da2ebf252de8 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 df8cba1b8a4441a09129f6188685fb33 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 f549c5e95a81499abc742bbc7c991b7b 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 32b8b73d5f1f48769254343ad59d265e 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 71354a020f644150b7d29b09a5db433a is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 71354a020f644150b7d29b09a5db433a
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 71354a020f644150b7d29b09a5db433a
W/YuguStCompat: evaluation failed tokenId=71354a020f644150b7d29b09a5db433a errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8586446df5614e3e96197fdd5987849b is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8586446df5614e3e96197fdd5987849b 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 6c8a183839124eed8db795511b803fe3 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 71ab1d82bda54d94a604d78898f334b4 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=71ab1d82bda54d94a604d78898f334b4 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e38d99a772d94127a0ea4cee1b763f7f 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=8ef272b735334eec8d3688b998dc1b63 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=b8826533c9fd493cbf491d73a7080ef6 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks12116842611752451127/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=aa475cd593f744fbbeea0eabdb23a229 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=d3e307d8ec594daa8bff65eac5693abc errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=2df95a5607ee48298f58ced5a1a0a2d6 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=bcea76ace1a34219bcb265f4424028f1 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 73c45148cd244feeb737966b2c40bc5f 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 5c47f4c498104d21a2bdcf78c505d840 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 9cc17c99691547a79e7aede1606beceb is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=9cc17c99691547a79e7aede1606beceb errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e104f1c293fd49f7a9e1c9ce0237590e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e104f1c293fd49f7a9e1c9ce0237590e 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 de3556d53f884f2fbe2aec81bdc5e1f5 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 de3556d53f884f2fbe2aec81bdc5e1f5
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7b1699d8f7fe4ca58b9b2672e6f66d08 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 bb217508e998486183de7f05c70e9f9b 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 fdb5aefbeffa4803a44ed85b24487b22 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 9ca6aefb5eac49f89f4b3cadb654b3eb 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 28beac7c3a5640f7b15a45a0ebb89ae8 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 096b602dcfa249eead4e3210c9c8db21 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 b60169aa10ca4da79aea28ba4475cabf 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=b60169aa10ca4da79aea28ba4475cabf errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId df87716d9d0244ce993e91efa17ae7f0 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 2c7872ec89b24ece824cb6e04d6142e4 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 87977aebc091404181db09a9ca097614 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 e858d7e3a089427ca27e27bb54cdb2cd is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3