Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.410s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.038s passed
attachAudioUrlCarriesThePlatformLink 0.128s passed
autoRetryHonoursCustomErrIds 0.048s passed
autoRetryResubmitsWithTheSameTokenId 0.128s passed
busyEngine 0.042s passed
cancelIsSilentAndIdempotent 0.644s passed
captureErrorEndsWithErrorJson 0.041s passed
clearActivityListenerDropsCallbacks 0.342s passed
clearInitListenerDropsPendingCallbacks 0.027s passed
durationTicksAndAutoStop 0.042s passed
existsAudioTransLocalChecks 0.058s passed
existsAudioTransUploadsOtherFormats 0.044s passed
existsAudioTransWithBothListenerTypes 0.050s passed
forceRecordIgnoresVadEnd 0.146s passed
initFailures 0.036s passed
initPostsCallbacksOnMainThread 0.026s passed
initVariantsAndEngineTypes 0.029s passed
invalidSettingsNeverReachTheNetwork 0.028s passed
microphoneFailures 0.036s passed
muteMusicRequestsAudioFocus 0.147s passed
notInitialisedAnswers60007 0.030s passed
paragraphResultHasShengtongStyleDetails 0.041s passed
paramsAndAudioUrlInResult 0.036s passed
pauseAndRestart 0.040s passed
permissionDeniedWithRealAudioRecord 0.029s passed
playbackCallbacks 0.040s passed
protocolErrorFromPlatform 0.044s passed
provisionAndParams 0.029s passed
quickStartAcceptsEitherOrder 0.038s passed
recordFileLocations 0.228s passed
recordStopScore 0.049s passed
recordingStopsAtThe300SecondLimit 0.104s passed
recycleIsIdempotent 0.141s passed
sdkLogSettings 0.030s passed
serverAddressAndTimeouts 0.058s passed
setOnRecorderListenerReplacesTheListener 0.038s passed
soundIntensityWithoutVad 0.051s passed
streamModeFeedsCallerAudio 0.038s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.049s passed
ticksPauseWithTheRecording 0.034s passed
vadEndsTheRecording 0.050s passed
withoutAutoRetryRetryableFailuresAre20009 0.133s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 83fc901420bb4f2aadec96d7c0105b06 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=83fc901420bb4f2aadec96d7c0105b06 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 a96c2fd4e14b4f97947cfe52ccaedb6b is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a96c2fd4e14b4f97947cfe52ccaedb6b 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 52dce3e9c0304f0d9cdf486ec8be19a4 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 c114e0fd28184c1e9ec201152cdef76b 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 6b6afb9ff0034e088d57fc58ad40f94f 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 41c9d7f72cad4b3fabdbbfb6f074a87b 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 de6a9aef7b4e49209b27f27cb26977a8 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 59d2b722a6694132accd857d9bbbd7be is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=59d2b722a6694132accd857d9bbbd7be 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 0ff316c1add04655aac4c794090279e4 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=0ff316c1add04655aac4c794090279e4 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 94c9fa21009342c19f99d67084720116 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 94c9fa21009342c19f99d67084720116
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 94c9fa21009342c19f99d67084720116
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=94c9fa21009342c19f99d67084720116 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 ae855a81ee1c4ca28b2b5cb7c9af24bf is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ae855a81ee1c4ca28b2b5cb7c9af24bf errId=60005: 音频短于 1 秒
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 7d1f46af81c846838fd4da787480db0e 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 08e48efd065c42418c91dcb37f049ea2 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 584aedffacca48a99faedfb868493662 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 027da1a4807146f5beccc4ae2d4f93c6 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 3fdc27994143442fab24fbf2ac44da01 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 3fdc27994143442fab24fbf2ac44da01
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 3fdc27994143442fab24fbf2ac44da01
W/YuguStCompat: evaluation failed tokenId=3fdc27994143442fab24fbf2ac44da01 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId df3c84f88b624356964ebe7c9802c0eb is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=df3c84f88b624356964ebe7c9802c0eb 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 5d742c1f3343437e8ff1d026079c059a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=5d742c1f3343437e8ff1d026079c059a errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8d90cab48b7a4ff68c12575e26a489df 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=18bdbf33c6ee41d2afe67e6621c3e72a errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=b384131eb43c433c9f927cc611a54f2c errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks7608615573255094901/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=121e4cbfb5124a379a4ffe433fac6f16 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=d75396cb9fca4f1b82bb6c64804354d3 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=bee7e8fc1dfc45548dde47a2eb0c818a errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=3f917768ebaa49dab3164ce1759f7aa0 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 95a4bfc54fa2419284e26462a34f2783 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 81d4483312f444b5afbcf4c8a9a88d16 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 8e3db4451dc140448668e571b7e43712 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8e3db4451dc140448668e571b7e43712 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId de13d28bd1544b8c9bd5d62cd5db9f99 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=de13d28bd1544b8c9bd5d62cd5db9f99 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 eafa36e496384f94a081e6d75594f4d8 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 eafa36e496384f94a081e6d75594f4d8
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c304206ac2454900a7e9e45b79cffdf8 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 f8d2d5ff96f34431805bc4ed23d06e6a 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 921a6fa911c440a084f1945c95e3af63 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 96bac9273866471491f41f9f3063f51c 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 5643e3ec9df34e9dadefd7cecc6cfa2f 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 d3e203d1358d40bd9c03595f3b076312 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=d3e203d1358d40bd9c03595f3b076312 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 87ef60617c3c405ba079212d87bb35e7 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 6ae26fb016c948e19c4f4a932f87edc5 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 55d63c00a23d4d22b665319b3a3e5260 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3