Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.449s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.037s passed
attachAudioUrlCarriesThePlatformLink 0.140s passed
autoRetryHonoursCustomErrIds 0.053s passed
autoRetryResubmitsWithTheSameTokenId 0.121s passed
busyEngine 0.034s passed
cancelIsSilentAndIdempotent 0.655s passed
captureErrorEndsWithErrorJson 0.043s passed
clearActivityListenerDropsCallbacks 0.339s passed
clearInitListenerDropsPendingCallbacks 0.027s passed
durationTicksAndAutoStop 0.039s passed
existsAudioTransLocalChecks 0.059s passed
existsAudioTransUploadsOtherFormats 0.049s passed
existsAudioTransWithBothListenerTypes 0.056s passed
forceRecordIgnoresVadEnd 0.151s passed
initFailures 0.031s passed
initPostsCallbacksOnMainThread 0.026s passed
initVariantsAndEngineTypes 0.033s passed
invalidSettingsNeverReachTheNetwork 0.029s passed
microphoneFailures 0.039s passed
muteMusicRequestsAudioFocus 0.147s passed
notInitialisedAnswers60007 0.033s passed
paragraphResultHasShengtongStyleDetails 0.042s passed
paramsAndAudioUrlInResult 0.047s passed
pauseAndRestart 0.039s passed
permissionDeniedWithRealAudioRecord 0.031s passed
playbackCallbacks 0.039s passed
protocolErrorFromPlatform 0.043s passed
provisionAndParams 0.032s passed
quickStartAcceptsEitherOrder 0.036s passed
recordFileLocations 0.202s passed
recordStopScore 0.050s passed
recordingStopsAtThe300SecondLimit 0.116s passed
recycleIsIdempotent 0.137s passed
sdkLogSettings 0.044s passed
serverAddressAndTimeouts 0.053s passed
setOnRecorderListenerReplacesTheListener 0.038s passed
soundIntensityWithoutVad 0.053s passed
streamModeFeedsCallerAudio 0.042s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.042s passed
ticksPauseWithTheRecording 0.052s passed
vadEndsTheRecording 0.041s passed
withoutAutoRetryRetryableFailuresAre20009 0.129s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8a13d77bd02e44c284b483a24afaf76b is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8a13d77bd02e44c284b483a24afaf76b 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 d8c2e51dcc914ce187fa7084332af7c3 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 2ca44360fa324b6d85006dde14958211 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 ee23de00009c4a76971b079eb6a57206 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 ed11102de06d44f7afc4075abe8dc43e 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 89e280e947464b23ae313ca18b8419a0 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 e8acd2360f774bc8bcf58b686fc7fddd 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 341ed90d0b8c49238b12f3bc89d0f128 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=341ed90d0b8c49238b12f3bc89d0f128 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 610e2f01451f492b9bc91c32e46170a4 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 4d784f2986af4c4cb2012c720a23af76 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=4d784f2986af4c4cb2012c720a23af76 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 faf0a1a9138a4010b98d5dce15ee6e25 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 faf0a1a9138a4010b98d5dce15ee6e25
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 faf0a1a9138a4010b98d5dce15ee6e25
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=faf0a1a9138a4010b98d5dce15ee6e25 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 78b81f84231049da8cd488fbc19f9b9c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=78b81f84231049da8cd488fbc19f9b9c 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 e6dd728f405749a7b2826e9eddfdf96f 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 29d19d2e0f2841fe8c6af10876292663 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 371b7752f3924cf2873280980ca86da0 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 fac513580be0492a827749b00a1b4a70 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 d1de33031f114de6ae2be344142d065b is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId d1de33031f114de6ae2be344142d065b
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId d1de33031f114de6ae2be344142d065b
W/YuguStCompat: evaluation failed tokenId=d1de33031f114de6ae2be344142d065b errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c8611df499774d368aef4f80daaaae53 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=c8611df499774d368aef4f80daaaae53 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 21d5abd512834f49abb0ed2a484468ba is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=21d5abd512834f49abb0ed2a484468ba errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ac02e0def5f04ee7a6aa1accdb0ed84c 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=adc00e9dd2ad4b9cb1302d5f3e0448ac errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=83e730c08fd34233832b96060061a3c8 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks2868854345777900212/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=02d6cd3764b74dee9a8384644f7f2d46 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=3b4ffb25d9d64c0cb7b35de3c62d3fe6 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=99a1c95d83d94a48af40de03d719aeea errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=4c9bd9a7f6cb4f0f8d6c2004ebf3d2ae 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 8d61372067c044d7a6c5a7eb2094d824 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 ad6db81db3594a86b14ee1b144764448 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 bb5167d7c7bb4b4dba933530194b391b is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=bb5167d7c7bb4b4dba933530194b391b errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0d58e101cc3a4bd3907ca212f0794b09 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=0d58e101cc3a4bd3907ca212f0794b09 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 bfa6c9a4a30f4b5680b32719799f52e2 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 bfa6c9a4a30f4b5680b32719799f52e2
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c9ca88ee3e8a4b44b1181b991307b7f3 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 5c804ec6c45c466d98138e8b5bea681b 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 c264405df7b641b691d389efe8fe8770 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 0d53a398326e4552bb1e94753fbef2e6 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: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5392de095a4a4e4e8984782f84ae227f is evaluated over REST instead
W/YuguStCompat: existsAudioTrans rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=5392de095a4a4e4e8984782f84ae227f errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 356764f6a0444396b5179734dff69477 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 b6ce82bfc2c140618be48fb2661de32e 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 921683ba71834d0781bb33b1a81d1fdd is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3