Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.427s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.038s passed
attachAudioUrlCarriesThePlatformLink 0.131s passed
autoRetryHonoursCustomErrIds 0.041s passed
autoRetryResubmitsWithTheSameTokenId 0.126s passed
busyEngine 0.039s passed
cancelIsSilentAndIdempotent 0.645s passed
captureErrorEndsWithErrorJson 0.038s passed
clearActivityListenerDropsCallbacks 0.338s passed
clearInitListenerDropsPendingCallbacks 0.033s passed
durationTicksAndAutoStop 0.036s passed
existsAudioTransLocalChecks 0.056s passed
existsAudioTransUploadsOtherFormats 0.044s passed
existsAudioTransWithBothListenerTypes 0.055s passed
forceRecordIgnoresVadEnd 0.154s passed
initFailures 0.029s passed
initPostsCallbacksOnMainThread 0.032s passed
initVariantsAndEngineTypes 0.032s passed
invalidSettingsNeverReachTheNetwork 0.043s passed
microphoneFailures 0.038s passed
muteMusicRequestsAudioFocus 0.140s passed
notInitialisedAnswers60007 0.032s passed
paragraphResultHasShengtongStyleDetails 0.039s passed
paramsAndAudioUrlInResult 0.037s passed
pauseAndRestart 0.036s passed
permissionDeniedWithRealAudioRecord 0.033s passed
playbackCallbacks 0.037s passed
protocolErrorFromPlatform 0.049s passed
provisionAndParams 0.032s passed
quickStartAcceptsEitherOrder 0.038s passed
recordFileLocations 0.204s passed
recordStopScore 0.050s passed
recordingStopsAtThe300SecondLimit 0.146s passed
recycleIsIdempotent 0.135s passed
sdkLogSettings 0.032s passed
serverAddressAndTimeouts 0.050s passed
setOnRecorderListenerReplacesTheListener 0.036s passed
soundIntensityWithoutVad 0.052s passed
streamModeFeedsCallerAudio 0.036s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.036s passed
ticksPauseWithTheRecording 0.043s passed
vadEndsTheRecording 0.050s passed
withoutAutoRetryRetryableFailuresAre20009 0.136s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a2e90d831f45447d9ccfdf051a290f04 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a2e90d831f45447d9ccfdf051a290f04 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 05a25cac545a4704a8b69a832f53b17f 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 583da83f33534b488c0532ae799c0905 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 874093e6403d4c498aa6410b23843605 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 95e50f10be3c474dad010a0eacef2701 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 82226e04d97842fbb8b063b7a034ba57 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 8fda1521dc9740449bc3aef1836558a4 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 e09740d83c994c799d2b89194412d39d is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e09740d83c994c799d2b89194412d39d 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 80002322437e44f58cfedc4ba17a4427 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=80002322437e44f58cfedc4ba17a4427 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 02cac22f6bca4aae9feb9754e0d98ae5 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 02cac22f6bca4aae9feb9754e0d98ae5
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 02cac22f6bca4aae9feb9754e0d98ae5
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=02cac22f6bca4aae9feb9754e0d98ae5 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 e080f9d676734fa2a1f2baf5c3ff3f04 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e080f9d676734fa2a1f2baf5c3ff3f04 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 727e6a73707444b1bcf8dfaa1c89e14c 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 d650af27e80145179296db00f41f78a3 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 defbbe8ef7af47cd9945fd43d49ed2f2 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 3fa102545b9b4ffda302023e52f52a84 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 f9c229762080404392d59e2cd5568f6b is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId f9c229762080404392d59e2cd5568f6b
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId f9c229762080404392d59e2cd5568f6b
W/YuguStCompat: evaluation failed tokenId=f9c229762080404392d59e2cd5568f6b errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 22e030767f3a42b88529dd3e2cb5e55f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=22e030767f3a42b88529dd3e2cb5e55f 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 b0e0bf905b2746bda37404044be0d0da is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=b0e0bf905b2746bda37404044be0d0da errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5345fe3af1224c31a33d483b0a0a4c21 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=b9d872e5565d44e8bfc030a61180bab8 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=b403400779ed4920930e7738f4c200b2 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks2871126441493171921/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=65090373a7ea4dfa925f2d7d37282d05 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=8224c7e2778a4ad591fb52cb5ca454d4 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=7798766ad2aa4f1dbe53632772b6193e errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=e53249ac8e3d421eb83e7edd5b2b60aa 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 f8f8235458c448299e05e3c553913ed5 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 473a694d983a447e8e864222e9305b2b 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 42a478d1810a40d580d0006c57da8760 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=42a478d1810a40d580d0006c57da8760 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 55ab917aa355424fa1f490010e3da3d1 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=55ab917aa355424fa1f490010e3da3d1 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 7c6e3115a72146d09222ec4fc8c1973e 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 7c6e3115a72146d09222ec4fc8c1973e
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5e8256a919af489db1a889614f6437b3 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 e395e05a356b4727a1662635be35905e 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 911bfdfa3a0c4b8797c10215d5e21aeb 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 60b70cdd697a44d6af9427276d5e9f80 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 cb986e00eeb7466a941010f1a7b9e252 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 50fb4ef7da53419d8866e7df40c95f12 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 21cfe392566f46489bd2c3924db2bbbf 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=21cfe392566f46489bd2c3924db2bbbf errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4685514ae7e8482785577074c757924d 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 3a406a479df44d48867952b827fb5af5 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 991693efced640a4b3e884331ba8bd72 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3