Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.419s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.034s passed
attachAudioUrlCarriesThePlatformLink 0.127s passed
autoRetryHonoursCustomErrIds 0.041s passed
autoRetryResubmitsWithTheSameTokenId 0.127s passed
busyEngine 0.041s passed
cancelIsSilentAndIdempotent 0.645s passed
captureErrorEndsWithErrorJson 0.042s passed
clearActivityListenerDropsCallbacks 0.449s passed
clearInitListenerDropsPendingCallbacks 0.025s passed
durationTicksAndAutoStop 0.037s passed
existsAudioTransLocalChecks 0.058s passed
existsAudioTransUploadsOtherFormats 0.040s passed
existsAudioTransWithBothListenerTypes 0.053s passed
forceRecordIgnoresVadEnd 0.147s passed
initFailures 0.031s passed
initPostsCallbacksOnMainThread 0.028s passed
initVariantsAndEngineTypes 0.030s passed
invalidSettingsNeverReachTheNetwork 0.026s passed
microphoneFailures 0.035s passed
muteMusicRequestsAudioFocus 0.139s passed
notInitialisedAnswers60007 0.028s passed
paragraphResultHasShengtongStyleDetails 0.040s passed
paramsAndAudioUrlInResult 0.037s passed
pauseAndRestart 0.034s passed
permissionDeniedWithRealAudioRecord 0.029s passed
playbackCallbacks 0.035s passed
protocolErrorFromPlatform 0.051s passed
provisionAndParams 0.027s passed
quickStartAcceptsEitherOrder 0.036s passed
recordFileLocations 0.197s passed
recordStopScore 0.045s passed
recordingStopsAtThe300SecondLimit 0.121s passed
recycleIsIdempotent 0.132s passed
sdkLogSettings 0.029s passed
serverAddressAndTimeouts 0.052s passed
setOnRecorderListenerReplacesTheListener 0.036s passed
soundIntensityWithoutVad 0.052s passed
streamModeFeedsCallerAudio 0.034s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.043s passed
ticksPauseWithTheRecording 0.037s passed
vadEndsTheRecording 0.044s passed
withoutAutoRetryRetryableFailuresAre20009 0.125s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 49c481f01dfe4caeb57f98339569fe7c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=49c481f01dfe4caeb57f98339569fe7c 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 62e2e5e6bb5b4a23a8883c1bd4593150 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 d5430bb823bc440399e1b13e27378e34 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 01ec2add11a34865899361d262718826 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 68dbf427ea424ab78173407bcdc67b07 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 e6829fefb5164ee98b777709f9161baf 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 355913efacf0406fb898575c406e4273 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 408ca798830c492ba4ffa9990c3efa7e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=408ca798830c492ba4ffa9990c3efa7e errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0210ef49c9aa4c30855165c7932e70a1 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 eb6cd650b673484da7152dd9862c9635 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 f6d3b86d7ebe41558a14231119cff1c3 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=f6d3b86d7ebe41558a14231119cff1c3 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 4db0fd5fb62e4e348e99c19fd6e03698 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 4db0fd5fb62e4e348e99c19fd6e03698
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 4db0fd5fb62e4e348e99c19fd6e03698
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=4db0fd5fb62e4e348e99c19fd6e03698 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 d88bfd76cc664daf90a4a19a0882b668 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=d88bfd76cc664daf90a4a19a0882b668 errId=60002: 音频为空
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 4d917ba30ab34168a0fddd46a3394036 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 aec07b33c4c74000bbd5d8bf36c26e7c 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 0bd33a39f3c04f51aa17b24f7bdac8d5 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 e109959aa03645d098f015c48dbdf8da 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 04dfd6bf66ea45319baebbc014cf656c is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 04dfd6bf66ea45319baebbc014cf656c
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 04dfd6bf66ea45319baebbc014cf656c
W/YuguStCompat: evaluation failed tokenId=04dfd6bf66ea45319baebbc014cf656c errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8b50e549c2604657aa3f1d7c01f8d2db is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8b50e549c2604657aa3f1d7c01f8d2db 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 5390a5c563ea40f99d53f67fde0c6395 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=5390a5c563ea40f99d53f67fde0c6395 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 53b33116e9f84e968cd19e2596163ecc 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=234c5b89d1d34e9392153e2c1a76c1a3 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=50b2d2ffda8b4a49b03f1b7503c27d20 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks4297308176170414851/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=1cc9dcbd64544873bd1ce28ed2ac4abb errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=8f403afaf8ad4ff48d986556f9fc57af errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=3d513c9a5da4466fa1a98a209ca802a1 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=dbe7bf39e28841ce9aa7fa7a6d80d367 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 1a2705e3c41e48a189b283c05cad5a04 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 f606c10e3893406ba32522afeee84417 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 6997a918f32c4e7db3f5f386652c865e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=6997a918f32c4e7db3f5f386652c865e errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7b1b78e7c48747019e89c6342895a7b1 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7b1b78e7c48747019e89c6342895a7b1 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 2c0517ac90864024ab52fd1d371a2dd3 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 2c0517ac90864024ab52fd1d371a2dd3
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f3fe7057e3fc45f894599f3be19068d3 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 e96d121678424840a8c91f3d16155812 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 34fee46d10d04ab6b694ad8ddc85f89d 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 3c2e301e20a84c0bab24b0299e042e1b 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 413f5952f4a24f8e95eb13a2318e7d6b 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 9dcdb226bb414ee8882f7dc050a47673 is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
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=9dcdb226bb414ee8882f7dc050a47673 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 71c8c61c33ea47cb9aa0099d0d3fdb72 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 9d64edd964804dc1905a46d218981f8a 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 d0b8bf8bb3144ef08217bc2de8a6b969 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 19ebc60f9df641e1b2e9cb39f7024d6f is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3