Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.923s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.042s passed
attachAudioUrlCarriesThePlatformLink 0.134s passed
autoRetryHonoursCustomErrIds 0.051s passed
autoRetryResubmitsWithTheSameTokenId 0.134s passed
busyEngine 0.043s passed
cancelIsSilentAndIdempotent 0.653s passed
captureErrorEndsWithErrorJson 0.054s passed
clearActivityListenerDropsCallbacks 0.352s passed
clearInitListenerDropsPendingCallbacks 0.038s passed
durationTicksAndAutoStop 0.059s passed
existsAudioTransLocalChecks 0.081s passed
existsAudioTransUploadsOtherFormats 0.050s passed
existsAudioTransWithBothListenerTypes 0.067s passed
forceRecordIgnoresVadEnd 0.177s passed
initFailures 0.040s passed
initPostsCallbacksOnMainThread 0.038s passed
initVariantsAndEngineTypes 0.043s passed
invalidSettingsNeverReachTheNetwork 0.036s passed
microphoneFailures 0.041s passed
muteMusicRequestsAudioFocus 0.160s passed
notInitialisedAnswers60007 0.031s passed
paragraphResultHasShengtongStyleDetails 0.071s passed
paramsAndAudioUrlInResult 0.055s passed
pauseAndRestart 0.070s passed
permissionDeniedWithRealAudioRecord 0.040s passed
playbackCallbacks 0.042s passed
protocolErrorFromPlatform 0.094s passed
provisionAndParams 0.048s passed
quickStartAcceptsEitherOrder 0.046s passed
recordFileLocations 0.210s passed
recordStopScore 0.056s passed
recordingStopsAtThe300SecondLimit 0.159s passed
recycleIsIdempotent 0.148s passed
sdkLogSettings 0.047s passed
serverAddressAndTimeouts 0.063s passed
setOnRecorderListenerReplacesTheListener 0.046s passed
soundIntensityWithoutVad 0.058s passed
streamModeFeedsCallerAudio 0.048s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.051s passed
ticksPauseWithTheRecording 0.045s passed
vadEndsTheRecording 0.056s passed
withoutAutoRetryRetryableFailuresAre20009 0.146s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1c0d16736b9e43dda1bc63b2b68c32b8 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=1c0d16736b9e43dda1bc63b2b68c32b8 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 699a7f62ee234880819afb2c9864b8a3 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 32458c5c8ddf46a8939064760c495caa 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 4dfca36bb7344004852ae1256b6371b7 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 59df8f8c12be415bb3a974dd4eb2002e 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 bff0559e75f748459150b6e3534c5f06 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 ad6bc924c4664681be8a5b490e30287a 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 91216b378b9547adb0300ae8192de3bc is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=91216b378b9547adb0300ae8192de3bc 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 b02fb31d655a435f817884a3b4381537 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 5c49865057a345fc86f998b13401f52a 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=5c49865057a345fc86f998b13401f52a 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 5ce4a4f8fb69457e8d376da0376fa91d 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 5ce4a4f8fb69457e8d376da0376fa91d
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 5ce4a4f8fb69457e8d376da0376fa91d
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=5ce4a4f8fb69457e8d376da0376fa91d 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 5615e37593694c39bc1fa309fa20a243 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=5615e37593694c39bc1fa309fa20a243 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 d7620a109a724d0aa97afe9f51454690 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 837b695b7e1447bdb827eb78e731eb19 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 e2ef482a52b74b75b2b6939907b86437 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 c6128ada836e47f1958b015c327710ae 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 5612f60a5785457289a9abff48e9969a is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 5612f60a5785457289a9abff48e9969a
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 5612f60a5785457289a9abff48e9969a
W/YuguStCompat: evaluation failed tokenId=5612f60a5785457289a9abff48e9969a errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1061b29649574a889904136252e430d9 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=1061b29649574a889904136252e430d9 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ab47124ead694732bb4f86b67a040aca 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 e073356c3db845c0b3dc7d56f905b769 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e073356c3db845c0b3dc7d56f905b769 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId bb0725723a4b4e98a415d45bae46156a 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=072dacdbdcc74ec9a72540043bce8d76 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=ddb1b2f994af4d91bbc7d4a921477fa6 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks12264781285715889008/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=7f256d8f3d9143c693d309842c78f7d6 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=12dee38a8336439a9d7fd9989ec66056 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=f2e86c36a7c6421aaf3d762025ed9fad errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=93b0e6cda46148fbbb1cb920cfb11723 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 fea5165bcff64b5e9abffad743100668 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 68c8a50be1b54b9f95035ac3186fa4ea 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 d84b5e43513242d1b3d23d1fa0585d31 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=d84b5e43513242d1b3d23d1fa0585d31 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b6f28b95699545ab982a51f1d9c28315 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=b6f28b95699545ab982a51f1d9c28315 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 4a7c50e6381549a685e0c1b2fba301a8 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 4a7c50e6381549a685e0c1b2fba301a8
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 820e6cc05b1147c19456c19ac3af4d3d 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 96e059ab12614b029a471b32e6193f9d 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 b588a2dd9dba46119da1ed3ca39c8b0f 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 e1674b6ab1204cfbb67e98524ead3dda 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 9ded198d79d84c6f84462ef8d81221a9 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 a48f1635bfde433984e08007a8bd3f19 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 74a95ee8f90746f2997c59e90f699810 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=74a95ee8f90746f2997c59e90f699810 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId cfcae35011db4bd5825c7eed85e4a607 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 5c3a0484b88d4e2d8b4d937255fa5947 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 c98c0bd8f09e4d5ba2eafa1a4938cd10 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 45ea39bb259e411d828a8783898f61c0 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3