Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.434s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.043s passed
attachAudioUrlCarriesThePlatformLink 0.129s passed
autoRetryHonoursCustomErrIds 0.047s passed
autoRetryResubmitsWithTheSameTokenId 0.134s passed
busyEngine 0.034s passed
cancelIsSilentAndIdempotent 0.645s passed
captureErrorEndsWithErrorJson 0.040s passed
clearActivityListenerDropsCallbacks 0.342s passed
clearInitListenerDropsPendingCallbacks 0.029s passed
durationTicksAndAutoStop 0.038s passed
existsAudioTransLocalChecks 0.060s passed
existsAudioTransUploadsOtherFormats 0.041s passed
existsAudioTransWithBothListenerTypes 0.055s passed
forceRecordIgnoresVadEnd 0.137s passed
initFailures 0.034s passed
initPostsCallbacksOnMainThread 0.031s passed
initVariantsAndEngineTypes 0.028s passed
invalidSettingsNeverReachTheNetwork 0.037s passed
microphoneFailures 0.037s passed
muteMusicRequestsAudioFocus 0.139s passed
notInitialisedAnswers60007 0.030s passed
paragraphResultHasShengtongStyleDetails 0.041s passed
paramsAndAudioUrlInResult 0.035s passed
pauseAndRestart 0.042s passed
permissionDeniedWithRealAudioRecord 0.032s passed
playbackCallbacks 0.036s passed
protocolErrorFromPlatform 0.044s passed
provisionAndParams 0.030s passed
quickStartAcceptsEitherOrder 0.036s passed
recordFileLocations 0.206s passed
recordStopScore 0.068s passed
recordingStopsAtThe300SecondLimit 0.131s passed
recycleIsIdempotent 0.138s passed
sdkLogSettings 0.030s passed
serverAddressAndTimeouts 0.065s passed
setOnRecorderListenerReplacesTheListener 0.040s passed
soundIntensityWithoutVad 0.048s passed
streamModeFeedsCallerAudio 0.037s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.043s passed
ticksPauseWithTheRecording 0.038s passed
vadEndsTheRecording 0.051s 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 789b8a0b990d4e2fb0d92e920fccf137 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=789b8a0b990d4e2fb0d92e920fccf137 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 713298f96d374c2ba1578b35cf34d521 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=713298f96d374c2ba1578b35cf34d521 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 861b05cfcc8e491fbdc6cf71780433d9 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 7a5e0e2661704bcc92592197a26119a3 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 cef184a0dfee4a06ac209f3f6a612346 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 5d6efe6efae24c6b9776f88d2ec19cc0 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 0b6a5ff20e4248c6b77dfb95364c4ca7 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 f3f4e92d550c46aaba1506a6333b1a23 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f3f4e92d550c46aaba1506a6333b1a23 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8b8ffb34a89e4ecbb0522adcdf5e997d 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 3a06dc7ce13249eb98c5209746c6f276 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=3a06dc7ce13249eb98c5209746c6f276 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 82779ceca7944f5382db34f01a19f5d1 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 82779ceca7944f5382db34f01a19f5d1
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 82779ceca7944f5382db34f01a19f5d1
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=82779ceca7944f5382db34f01a19f5d1 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 132cbfa9939c41c8b32876f51b8abf48 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=132cbfa9939c41c8b32876f51b8abf48 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 2b321085920c483c915371956ce0babb 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 1142d6316237404882cdf33a3418f9f8 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 7bb6a63bbb7a4eaf9e5661792169f6ba 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 0f11de05b1444fde9a92a19d10969d0b 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 874465ecf0f346c688ce2377afd8a0c4 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 01dfbdece9e448d58841627f89aabd65 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 01dfbdece9e448d58841627f89aabd65
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 01dfbdece9e448d58841627f89aabd65
W/YuguStCompat: evaluation failed tokenId=01dfbdece9e448d58841627f89aabd65 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f4dbfb294ca645a2bad2311e49a14d33 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f4dbfb294ca645a2bad2311e49a14d33 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 66662b5410d64bb490fb4b1125447d54 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 e9d8b4fcf22d4882ac569c4ba8916146 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e9d8b4fcf22d4882ac569c4ba8916146 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e35a9ad68fb442ac97f83c30af928da6 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=90f76d0ee73d44a08b4e1c0cb5865c9b errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=d66da917b51f4f06be711070c4408713 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks4796505671618980862/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=abf79f55a35842ad8aba2d67baa9947a errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=c854bdd5922248f49ae96a5c4bcd706f errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=906f78d1eb984c00be0cdc10e7164ac6 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=ca2b095c82254b2380b78f3116ffff16 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 d9e147cda5584cea9283268335f9e8ff 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 1d20b92044014ba9aff3cd8637bba539 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 2c8f2621af614283a35aa69aabc21a06 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=2c8f2621af614283a35aa69aabc21a06 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f7ad0a6afcb34c15a02780e07d675b8f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f7ad0a6afcb34c15a02780e07d675b8f 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 818e2ec513eb4d86b98098891bcdaae2 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 818e2ec513eb4d86b98098891bcdaae2
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 46929d31d8b047488ec632742f356328 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 a11e191d57b14f48afdd92acba40319c 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 dfacc440b2764039a6b8a8953fa55970 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 88c6da9db6ec41429b35ed905a306777 is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
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 77c18d853c464e4c88cea7639ae910d0 is evaluated over REST instead
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=77c18d853c464e4c88cea7639ae910d0 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1af2d34d1ae54ff2b8a2bd7fd87e72e6 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 2b6e8f0e73d94091bcdbdb522a7dcd97 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 e2619b73b48d4e568a9570417bbc5617 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3