Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.591s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.038s passed
attachAudioUrlCarriesThePlatformLink 0.128s passed
autoRetryHonoursCustomErrIds 0.047s passed
autoRetryResubmitsWithTheSameTokenId 0.136s passed
busyEngine 0.046s passed
cancelIsSilentAndIdempotent 0.656s passed
captureErrorEndsWithErrorJson 0.048s passed
clearActivityListenerDropsCallbacks 0.348s passed
clearInitListenerDropsPendingCallbacks 0.033s passed
durationTicksAndAutoStop 0.038s passed
existsAudioTransLocalChecks 0.061s passed
existsAudioTransUploadsOtherFormats 0.055s passed
existsAudioTransWithBothListenerTypes 0.064s passed
forceRecordIgnoresVadEnd 0.182s passed
initFailures 0.032s passed
initPostsCallbacksOnMainThread 0.029s passed
initVariantsAndEngineTypes 0.030s passed
invalidSettingsNeverReachTheNetwork 0.034s passed
microphoneFailures 0.038s passed
muteMusicRequestsAudioFocus 0.144s passed
notInitialisedAnswers60007 0.032s passed
paragraphResultHasShengtongStyleDetails 0.047s passed
paramsAndAudioUrlInResult 0.038s passed
pauseAndRestart 0.045s passed
permissionDeniedWithRealAudioRecord 0.039s passed
playbackCallbacks 0.038s passed
protocolErrorFromPlatform 0.053s passed
provisionAndParams 0.035s passed
quickStartAcceptsEitherOrder 0.039s passed
recordFileLocations 0.204s passed
recordStopScore 0.047s passed
recordingStopsAtThe300SecondLimit 0.138s passed
recycleIsIdempotent 0.150s passed
sdkLogSettings 0.032s passed
serverAddressAndTimeouts 0.059s passed
setOnRecorderListenerReplacesTheListener 0.039s passed
soundIntensityWithoutVad 0.048s passed
streamModeFeedsCallerAudio 0.038s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.052s passed
ticksPauseWithTheRecording 0.050s passed
vadEndsTheRecording 0.048s 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 7379b659a3cc40e3aa75c3159b16a624 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7379b659a3cc40e3aa75c3159b16a624 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 b2863c4cd8c744a2a584651eefeab48c 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 eaf7bafbfb5e492d9e6841e6b93a0074 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=eaf7bafbfb5e492d9e6841e6b93a0074 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7e213ad457ef460a8038daec9f3b0616 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 5eafbf15b6c74ac2b0561971bc3e7b7f 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 62a2b0e46f4f411db0bfed418eaa4ef5 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 e608d634d07c4107a1cc1b30c0bc9659 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 936497384f5e44e4bba5434f77e8c607 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=936497384f5e44e4bba5434f77e8c607 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId afb95ce538094cb599b4dba0406b391e 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 4ab905c01d3448c8be764dd2fa3bb569 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=4ab905c01d3448c8be764dd2fa3bb569 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 fe28d616c9a241f0b8ff42e8eaab4897 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 fe28d616c9a241f0b8ff42e8eaab4897
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 fe28d616c9a241f0b8ff42e8eaab4897
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=fe28d616c9a241f0b8ff42e8eaab4897 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 43b34fbf761345fa8283048304dffa10 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=43b34fbf761345fa8283048304dffa10 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4ec98eece1464afa8a9b71d37f767863 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 79e2eb8d3d8c41e59b51068e3ca16cb3 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 c211db29cf79434e95dc98f29e14c02f 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 63190e6fbbf744ad9a4c6c971b7fda1e 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 8a4782a5fcc7496eae378fcbaf8a974b 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 163a49824e60478a8a451d16b606b05a is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 163a49824e60478a8a451d16b606b05a
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 163a49824e60478a8a451d16b606b05a
W/YuguStCompat: evaluation failed tokenId=163a49824e60478a8a451d16b606b05a errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0051be97152043d4b958c9b7fa8e771c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=0051be97152043d4b958c9b7fa8e771c 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 a082ea4f0e4b4ec1a925ca752a24ae02 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 2c3da20677ff43c6858f4c01ac289038 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=2c3da20677ff43c6858f4c01ac289038 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f1d12bad10c34e13bce49fe989642299 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=29291c7e25d443cda6ccaa1c4f460ff8 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=ebd47e9671c345a895751aa31e41698f errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks4545555704295878688/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=a46f3556693742488aa5f6242dfd4129 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=a476293a4487459eac34052b736be267 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=a7c15942cd3543908f1e90b73975882b errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=380a0afc3bf843e79edfa3b76842b79a 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 e1e5ed3357b445089e3f4eaf0c6de47b 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 db15ea24ef904e2e9e36d3e2c9aaef9a 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 1ac61686ec204a2d9c2e281f95493c25 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=1ac61686ec204a2d9c2e281f95493c25 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8dd6cfb735ec484ab9b057bd3e6f2754 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8dd6cfb735ec484ab9b057bd3e6f2754 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 e8466f3bf9e14dbba6c0af25f8b0c97e 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 e8466f3bf9e14dbba6c0af25f8b0c97e
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 78dda71cae114bf4a96d29c0984e1b33 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 a15973ad744e443799e487c3a5ce90a8 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 1ea08664844345e188d9115e61434130 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 ac062a1e612b493d882987400a046eff 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 791b94644668469e828d9afdcc294434 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 9fa8951c188647659dac8f31a39f0864 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=9fa8951c188647659dac8f31a39f0864 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0b1652cac0ee43fe96d97b4c578b6323 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 711791b9dc7542f0919ae4fa294fd7d3 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 8a44cb1344284434abefa672cad42f65 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 0f2313faf1da452eb0e7dd1937e9a79c is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3