Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

4.278s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.050s passed
attachAudioUrlCarriesThePlatformLink 0.168s passed
autoRetryHonoursCustomErrIds 0.049s passed
autoRetryResubmitsWithTheSameTokenId 0.141s passed
busyEngine 0.054s passed
cancelIsSilentAndIdempotent 0.653s passed
captureErrorEndsWithErrorJson 0.059s passed
clearActivityListenerDropsCallbacks 0.348s passed
clearInitListenerDropsPendingCallbacks 0.038s passed
durationTicksAndAutoStop 0.054s passed
existsAudioTransLocalChecks 0.065s passed
existsAudioTransUploadsOtherFormats 0.045s passed
existsAudioTransWithBothListenerTypes 0.059s passed
forceRecordIgnoresVadEnd 0.150s passed
initFailures 0.066s passed
initPostsCallbacksOnMainThread 0.036s passed
initVariantsAndEngineTypes 0.031s passed
invalidSettingsNeverReachTheNetwork 0.152s passed
microphoneFailures 0.047s passed
muteMusicRequestsAudioFocus 0.160s passed
notInitialisedAnswers60007 0.080s passed
paragraphResultHasShengtongStyleDetails 0.051s passed
paramsAndAudioUrlInResult 0.045s passed
pauseAndRestart 0.051s passed
permissionDeniedWithRealAudioRecord 0.034s passed
playbackCallbacks 0.054s passed
protocolErrorFromPlatform 0.050s passed
provisionAndParams 0.034s passed
quickStartAcceptsEitherOrder 0.048s passed
recordFileLocations 0.217s passed
recordStopScore 0.143s passed
recordingStopsAtThe300SecondLimit 0.212s passed
recycleIsIdempotent 0.150s passed
sdkLogSettings 0.038s passed
serverAddressAndTimeouts 0.066s passed
setOnRecorderListenerReplacesTheListener 0.085s passed
soundIntensityWithoutVad 0.085s passed
streamModeFeedsCallerAudio 0.054s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.069s passed
ticksPauseWithTheRecording 0.047s passed
vadEndsTheRecording 0.061s passed
withoutAutoRetryRetryableFailuresAre20009 0.179s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 23b53186cc50476d85d613d77f499f2c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=23b53186cc50476d85d613d77f499f2c 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 7eadaaaf2fc64ec79b3cacc39d5f74e6 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 52538c2344c44359985ec47be9bc4e3f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=52538c2344c44359985ec47be9bc4e3f errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId cc7b579a30d04fe4a0fdd34a41d7a31d 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 3b6e9515dada4043960eb25339ff62c7 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 838451272b8d47f2beb19b4e75682e41 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 5625e646687b42848bfb70a021143d2c 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 dffd600c88454c85a8d4bbc4142b232d is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=dffd600c88454c85a8d4bbc4142b232d errId=60005: 音频短于 1 秒
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 eb33cff32a3d48d29c7f4ca8a02a38f7 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 aa9458bf26564424ac58385369da3cc7 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=aa9458bf26564424ac58385369da3cc7 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3)
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 2f2d203359c1403eb98db564935438aa
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 2f2d203359c1403eb98db564935438aa
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=2f2d203359c1403eb98db564935438aa 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 2f2d203359c1403eb98db564935438aa 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 23510b2d22e24b5ebb9650031e09352a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=23510b2d22e24b5ebb9650031e09352a errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e166493fab6045b4922fb21814789df0 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 3b6c97ecb8c44572a9ccdd2d1dae75b1 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 c108963af8b743f9b47c3902d1d8189e 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 32edebc1dc26492b959c0e63d7bc79a7 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 21a49009adf74ac6a3cb1a53de2432bd 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 89f68c44ad6e444b8ee6b9b80d4627e4 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 fc6b4999816e43b18c6fa89cefb3720f is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId fc6b4999816e43b18c6fa89cefb3720f
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId fc6b4999816e43b18c6fa89cefb3720f
W/YuguStCompat: evaluation failed tokenId=fc6b4999816e43b18c6fa89cefb3720f errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6340cb433a7b44188fbd7b4d86071107 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=6340cb433a7b44188fbd7b4d86071107 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ca47cb06d7b84a069e5bd233a8dcccc2 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 374d2e15107341538d2ed40d8cf37afb 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 7b925f4d67c4419abfaa988dcdc1e244 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7b925f4d67c4419abfaa988dcdc1e244 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 457f50c9b7444e09acdf81b27de74258 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=8f817a1a56ba455ea39e3aab0bb1f466 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=07c4baf8a6cc4a7abecccfb3010c9922 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks17970099159595503663/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=a94e2ef877ae47de96768d6c9001d32a errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=1a1b744460124d92a97eca221baf6eb7 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=43220abc78c547e1a8c79f7e83cbd93e errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=4103faa6d5f84fa29784f800d2e3381b 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 a713253f0d5f44ec9da7dd3fd0a227d2 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 21b6ef23f9314a899cea8a6831901ff4 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 a4dd9ec44a9e451b999277d5ea25ee27 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a4dd9ec44a9e451b999277d5ea25ee27 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 79602b23ae974067888c230c93958351 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=79602b23ae974067888c230c93958351 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 c70997df7dcc493286327f3a504a196f 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 c70997df7dcc493286327f3a504a196f
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ad6ec6436a27423b97938f04099bd523 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 4c84eecdb90d467c8e9d3078e0f9bf21 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 9cfd2c8c26cd4cdcb9ed4a581cf46739 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 e1b2a885a33148a29ec8a5f33e12efd6 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 faf10e1123474ecf982b3d9902656c03 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 41a772cdbfb040e79262ccf26e2d0e2f 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=41a772cdbfb040e79262ccf26e2d0e2f errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 2cf5c2fa384f4331be7651afa2ec5bc6 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 4d9a466b5098460b8e2da8e47ba89f84 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 b7bb56ea01064f09a8d993921f5459cc 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 6fb02a6fdfb64f489792048553838c01 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3