Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.309s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.038s passed
attachAudioUrlCarriesThePlatformLink 0.143s passed
autoRetryHonoursCustomErrIds 0.041s passed
autoRetryResubmitsWithTheSameTokenId 0.118s passed
busyEngine 0.033s passed
cancelIsSilentAndIdempotent 0.647s passed
captureErrorEndsWithErrorJson 0.038s passed
clearActivityListenerDropsCallbacks 0.337s passed
clearInitListenerDropsPendingCallbacks 0.026s passed
durationTicksAndAutoStop 0.037s passed
existsAudioTransLocalChecks 0.059s passed
existsAudioTransUploadsOtherFormats 0.045s passed
existsAudioTransWithBothListenerTypes 0.052s passed
forceRecordIgnoresVadEnd 0.145s passed
initFailures 0.038s passed
initPostsCallbacksOnMainThread 0.026s passed
initVariantsAndEngineTypes 0.031s passed
invalidSettingsNeverReachTheNetwork 0.030s passed
microphoneFailures 0.035s passed
muteMusicRequestsAudioFocus 0.139s passed
notInitialisedAnswers60007 0.025s passed
paragraphResultHasShengtongStyleDetails 0.036s passed
paramsAndAudioUrlInResult 0.033s passed
pauseAndRestart 0.043s passed
permissionDeniedWithRealAudioRecord 0.028s passed
playbackCallbacks 0.037s passed
protocolErrorFromPlatform 0.044s passed
provisionAndParams 0.029s passed
quickStartAcceptsEitherOrder 0.030s passed
recordFileLocations 0.198s passed
recordStopScore 0.042s passed
recordingStopsAtThe300SecondLimit 0.113s passed
recycleIsIdempotent 0.136s passed
sdkLogSettings 0.029s passed
serverAddressAndTimeouts 0.057s passed
setOnRecorderListenerReplacesTheListener 0.038s passed
soundIntensityWithoutVad 0.044s passed
streamModeFeedsCallerAudio 0.033s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.035s passed
ticksPauseWithTheRecording 0.043s passed
vadEndsTheRecording 0.047s passed
withoutAutoRetryRetryableFailuresAre20009 0.131s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4378eec6779e4e398a92380c06e853e5 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=4378eec6779e4e398a92380c06e853e5 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 05a216d67291409ba912b0a9a62632fa 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 9ee5fe1649814fcbb220fb009e654a64 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 5b722e73bf9140c188dfdc7a4ca0ccd0 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 bc3d917125dc41ac8af5de37850083fe 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 65a0aef0bc11418c9fdb95efe632b272 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 2b797fd884e1401e810fb05d88863f01 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 53de225c6729491f9c36d7d219bd43bc is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=53de225c6729491f9c36d7d219bd43bc errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b629b538385b4795bc1cfabc10d74f72 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 c7c01b2434954f3eae4927b70fa6f7e3 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=c7c01b2434954f3eae4927b70fa6f7e3 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 f3db95b1648b40558ad0578a55a48440 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 f3db95b1648b40558ad0578a55a48440
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 f3db95b1648b40558ad0578a55a48440
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=f3db95b1648b40558ad0578a55a48440 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 530c1f85d00940caa5d55ea97396c860 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=530c1f85d00940caa5d55ea97396c860 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a0329fb8bd31457aadc9a0b80446daaa 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 aaa7837df4654d2dbd8ddd601194ba44 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 bbe003a7eed843b8a447c37f7fdde142 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 f7615a451d464e0fb6c5abff64e4005b 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 fca250f117314edcbe814da171341f5f 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 50ae3ae95ea64c0baf57bd37cd26f354 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 50ae3ae95ea64c0baf57bd37cd26f354
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 50ae3ae95ea64c0baf57bd37cd26f354
W/YuguStCompat: evaluation failed tokenId=50ae3ae95ea64c0baf57bd37cd26f354 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 508b672c048041e5a7f7562982966805 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=508b672c048041e5a7f7562982966805 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 620417179e974bd9af7917341797560f is evaluated over REST instead
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 28e048cad70c4f0a821b2596038d0b3f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=28e048cad70c4f0a821b2596038d0b3f errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 3f4a84ea37f0481fa818d47b940bddbc 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=8338aefdfa93443fa12366fabe3d25a0 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=aa7043f360f041bcb5cc7f57e19e7f55 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks8391257479295620915/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=1982892b978f47528a4d292fde30d7be errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=226284eee0c042f9b218e7978e786716 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=3361c6e4fa5247d9af0bc59aa4652dee errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=2a80ec54cf5f4b74b17b87761af0bad8 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 cc502e34e479499eb87a2502e00f1772 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 d7869426fdfd43e6a79d71baa4e9be9d 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 02e5c5d075584844a0a689fef44e19c3 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=02e5c5d075584844a0a689fef44e19c3 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f0208a602b474b61b6a74f810e9841ab is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f0208a602b474b61b6a74f810e9841ab 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 7f6e57ce49714904a4b8aadccd7b287f 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 7f6e57ce49714904a4b8aadccd7b287f
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 955fb4d9fe0945e0bf36679c6d3eb870 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 7c3cc682f6864311b607aa641948f107 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 359e55815aa84a9dae3b10e7e904a08f 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 6ac54c2e40f64226a0d1de463cf66c50 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 cde3cf3f993e4803a95f8b467fc23fdd 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=cde3cf3f993e4803a95f8b467fc23fdd errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b500ba447f8546ae94458df52bac1602 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 0b237ceae2984870ae203148aabc2d64 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 ae869f5b292d41a3a43cbc7541c6835d is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3