Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.737s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.042s passed
attachAudioUrlCarriesThePlatformLink 0.133s passed
autoRetryHonoursCustomErrIds 0.052s passed
autoRetryResubmitsWithTheSameTokenId 0.132s passed
busyEngine 0.061s passed
cancelIsSilentAndIdempotent 0.659s passed
captureErrorEndsWithErrorJson 0.059s passed
clearActivityListenerDropsCallbacks 0.354s passed
clearInitListenerDropsPendingCallbacks 0.042s passed
durationTicksAndAutoStop 0.039s passed
existsAudioTransLocalChecks 0.073s passed
existsAudioTransUploadsOtherFormats 0.047s passed
existsAudioTransWithBothListenerTypes 0.066s passed
forceRecordIgnoresVadEnd 0.155s passed
initFailures 0.039s passed
initPostsCallbacksOnMainThread 0.035s passed
initVariantsAndEngineTypes 0.034s passed
invalidSettingsNeverReachTheNetwork 0.038s passed
microphoneFailures 0.051s passed
muteMusicRequestsAudioFocus 0.144s passed
notInitialisedAnswers60007 0.037s passed
paragraphResultHasShengtongStyleDetails 0.039s passed
paramsAndAudioUrlInResult 0.042s passed
pauseAndRestart 0.043s passed
permissionDeniedWithRealAudioRecord 0.038s passed
playbackCallbacks 0.046s passed
protocolErrorFromPlatform 0.045s passed
provisionAndParams 0.029s passed
quickStartAcceptsEitherOrder 0.054s passed
recordFileLocations 0.208s passed
recordStopScore 0.056s passed
recordingStopsAtThe300SecondLimit 0.142s passed
recycleIsIdempotent 0.158s passed
sdkLogSettings 0.042s passed
serverAddressAndTimeouts 0.059s passed
setOnRecorderListenerReplacesTheListener 0.046s passed
soundIntensityWithoutVad 0.056s passed
streamModeFeedsCallerAudio 0.043s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.050s passed
ticksPauseWithTheRecording 0.041s passed
vadEndsTheRecording 0.044s passed
withoutAutoRetryRetryableFailuresAre20009 0.164s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c6af8e48c09b4e2e900fbea56e6d5e17 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=c6af8e48c09b4e2e900fbea56e6d5e17 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 93fba3dfefaa42d68582cd131b8d1714 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 9ac75d0045334fcea37a8a603e8db9d5 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=9ac75d0045334fcea37a8a603e8db9d5 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5c3437eed1b54efe9b0bab8f31a319bc 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 168a9d36013e4a70a7b574d21ec68af1 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 d694a22230d4404b9433db4be67e63f6 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 6b2502a9dacb4489a15b2ebc181d6346 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=59fca065e9294e48a0a80af693912eb0 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 60b60bf9a06440169c26c4e418776c45 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 29e11dd07f9e424c9d85bbde6ba198fc 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=29e11dd07f9e424c9d85bbde6ba198fc 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 1ce8922a207643358f0ebd9c3bb89134 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 1ce8922a207643358f0ebd9c3bb89134
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 1ce8922a207643358f0ebd9c3bb89134
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=1ce8922a207643358f0ebd9c3bb89134 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 5decd594438e4e9b888e5dbd1cd7094e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=5decd594438e4e9b888e5dbd1cd7094e errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId bd8d225b17754a7d8d3d1a0f88ac76e9 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 642bbc692a9f460aafd7e7dc739ed8d7 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 7fb702c95da04473bb348b8b9e94e1f4 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 90abb6f43a724120bd9c5296b05abda8 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 5ee104ac5d604053bd4ce1dde9a5531a 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 b04b127123e04b98bd3bb85b973f6dfa 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 c0cfab0a719d44d7bc78c4fc3c76d691 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId c0cfab0a719d44d7bc78c4fc3c76d691
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId c0cfab0a719d44d7bc78c4fc3c76d691
W/YuguStCompat: evaluation failed tokenId=c0cfab0a719d44d7bc78c4fc3c76d691 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5c3613fe2d7f4de19e253badb211ac43 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=5c3613fe2d7f4de19e253badb211ac43 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 889a35372981441f9f7959ff4d2ea5c0 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 18eedc4543b341f1840d0bcc9d3a0c8d 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 ec073f9229df41c288a62243e2a1a680 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ec073f9229df41c288a62243e2a1a680 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7b5eafc4375342e2946b4b7459f1c26f 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=8cb097098b5d4140a0e887188a3dab41 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=e6a5d7e3a9774277855e68ad0d0aeee4 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks6576154702659163256/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=4891b5c695c7446095b9b3a9ec47352b errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=e189581ec29e4fd4beefb67c1a07a8ad errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=db10fc3c5dbd486f814d84efc45a127b errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=6c37ccefe43347cb9a461bfc30097edd 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 e152c15e98994f35b158a7c38d403ede 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 815702ecdcc647be9a47c72fce1d9c06 is evaluated over REST instead
W/YuguStCompat: start failed (errId 60001): cannot create record file: cannot create /proc/forbidden-dir
W/YuguStCompat: evaluation failed tokenId=a167bdcdd1a14b45b4237e9f077ae055 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0cdaa7c9a4ab41d492e93ffab3c9687a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=0cdaa7c9a4ab41d492e93ffab3c9687a 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 b6fc8af81ffc4207a2cabbd066963495 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 b6fc8af81ffc4207a2cabbd066963495
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 342ad6142c37402499aae0b7ad6e6f6d 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 6a958d17a62249439199dba40158035a 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 630adf7dadc242dca2e92a4af86082f9 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 926f40517ebb43039b41b84055e9938b 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 9effff9f09824326a8c3354adc9ffe50 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 f2dc59f3d90345b8abf8ac7cceb8b04b 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=f2dc59f3d90345b8abf8ac7cceb8b04b errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1a944b482e934b3489b6b0fd63876dc0 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 f8a81e8795d44c61bed0fd52f3a4bb91 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 6ca33685ae3e4f48bc1bdf764981c646 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3