Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.377s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.047s passed
attachAudioUrlCarriesThePlatformLink 0.125s passed
autoRetryHonoursCustomErrIds 0.044s passed
autoRetryResubmitsWithTheSameTokenId 0.120s passed
busyEngine 0.034s passed
cancelIsSilentAndIdempotent 0.648s passed
captureErrorEndsWithErrorJson 0.037s passed
clearActivityListenerDropsCallbacks 0.343s passed
clearInitListenerDropsPendingCallbacks 0.026s passed
durationTicksAndAutoStop 0.037s passed
existsAudioTransLocalChecks 0.060s passed
existsAudioTransUploadsOtherFormats 0.048s passed
existsAudioTransWithBothListenerTypes 0.047s passed
forceRecordIgnoresVadEnd 0.144s passed
initFailures 0.030s passed
initPostsCallbacksOnMainThread 0.029s passed
initVariantsAndEngineTypes 0.031s passed
invalidSettingsNeverReachTheNetwork 0.034s passed
microphoneFailures 0.037s passed
muteMusicRequestsAudioFocus 0.135s passed
notInitialisedAnswers60007 0.030s passed
paragraphResultHasShengtongStyleDetails 0.040s passed
paramsAndAudioUrlInResult 0.040s passed
pauseAndRestart 0.035s passed
permissionDeniedWithRealAudioRecord 0.034s passed
playbackCallbacks 0.040s passed
protocolErrorFromPlatform 0.048s passed
provisionAndParams 0.030s passed
quickStartAcceptsEitherOrder 0.037s passed
recordFileLocations 0.201s passed
recordStopScore 0.064s passed
recordingStopsAtThe300SecondLimit 0.113s passed
recycleIsIdempotent 0.138s passed
sdkLogSettings 0.029s passed
serverAddressAndTimeouts 0.054s passed
setOnRecorderListenerReplacesTheListener 0.046s passed
soundIntensityWithoutVad 0.047s passed
streamModeFeedsCallerAudio 0.039s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.039s passed
ticksPauseWithTheRecording 0.047s passed
vadEndsTheRecording 0.042s 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 e15a40b233f34202ad08c1406c7a5a61 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e15a40b233f34202ad08c1406c7a5a61 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 d5632ec6678f4bd28276b8c724f8b8d9 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 8481007ddd284be6bac89e4c0069729c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8481007ddd284be6bac89e4c0069729c errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 45792d0c06564a319a7c6a15f22080ce 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 9e5d7240c6ea405baf23e3e7054a09a5 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 25199c9ae13c4446be09ebb08f17c8e6 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 a5acff8f16ea468b9ec45755f99e27e3 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 f681a2c22d0545638bf818194a0e4ec5 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f681a2c22d0545638bf818194a0e4ec5 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 587872b6ad1a4d839cdb263282e1e2a8 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 53422714d2fd4a5aba11b8efa07eba20 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=53422714d2fd4a5aba11b8efa07eba20 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 f12a36b5212841d1b138bf795d0f8dee 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 f12a36b5212841d1b138bf795d0f8dee
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 f12a36b5212841d1b138bf795d0f8dee
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=f12a36b5212841d1b138bf795d0f8dee 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 f8c3feca0f80433697f7178c4cbc15fa is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f8c3feca0f80433697f7178c4cbc15fa 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 bd05c0fcaf7a4e4399f6c3cc16864ed0 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 e0efe6fe3d3b4f9a9202a7fdf58fab1e 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 d11cc321b48e47de99bc553b63b54389 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 2f0cfa3d19f24406bb92c27222a8640c 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 3ff6f59d1d194f9186e557307bd0e6ae is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 3ff6f59d1d194f9186e557307bd0e6ae
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 3ff6f59d1d194f9186e557307bd0e6ae
W/YuguStCompat: evaluation failed tokenId=3ff6f59d1d194f9186e557307bd0e6ae errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ea0cb369c69d4a3fa36f7152f7a5fbde is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ea0cb369c69d4a3fa36f7152f7a5fbde 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 addb89221f1e4314a901792b61a853ed is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=addb89221f1e4314a901792b61a853ed errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 3b9e42974e5648058f90d81fbd157d29 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=9684ead0a7a2409ba30d38a34daa8b03 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=0121abc52ef14d74ba3ad1243271a90a errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks17726033047276391916/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=db8bc4f380bd40c6a1e5795eb2f74925 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=fa1e5f4382c646fd9b82bcc9d1d76c11 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=29597ce321064282b9f12d1dafaaba22 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=7d6cbb23dba64431b2abd43c4bdcf77d 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 27c9d7f0252341aaa159759c7544d439 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 242c570ac4c3448a85769fef8a603841 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 16e8ffe2c4ce46d98d5c30fe9127bbd8 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=16e8ffe2c4ce46d98d5c30fe9127bbd8 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 68e2979721b64506a6d8a678b594d327 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=68e2979721b64506a6d8a678b594d327 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 94c86ac4a0ca42ac8e2718a7f940f087 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 94c86ac4a0ca42ac8e2718a7f940f087
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 21fde379bbc342938739602c74088da1 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 6a3abd32c15a40958d3f17079d8cd659 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 2c3ec31320224548b808542b466901a8 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 9c10c8b7851b4cd593886dcabf79c8e4 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 d41beb9af83b4605ac76107d1be552e4 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=d41beb9af83b4605ac76107d1be552e4 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 114edca71aa844b4a22c3e317e75471e 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 57e60386e9464f888517007acbe79efe 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 5b998d12333744abb710600c16ffe96d 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 767342d46db24737ba0f0437413ce2ca is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3