Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.943s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.056s passed
attachAudioUrlCarriesThePlatformLink 0.148s passed
autoRetryHonoursCustomErrIds 0.053s passed
autoRetryResubmitsWithTheSameTokenId 0.128s passed
busyEngine 0.044s passed
cancelIsSilentAndIdempotent 0.661s passed
captureErrorEndsWithErrorJson 0.054s passed
clearActivityListenerDropsCallbacks 0.348s passed
clearInitListenerDropsPendingCallbacks 0.028s passed
durationTicksAndAutoStop 0.051s passed
existsAudioTransLocalChecks 0.073s passed
existsAudioTransUploadsOtherFormats 0.067s passed
existsAudioTransWithBothListenerTypes 0.060s passed
forceRecordIgnoresVadEnd 0.167s passed
initFailures 0.042s passed
initPostsCallbacksOnMainThread 0.035s passed
initVariantsAndEngineTypes 0.042s passed
invalidSettingsNeverReachTheNetwork 0.036s passed
microphoneFailures 0.044s passed
muteMusicRequestsAudioFocus 0.147s passed
notInitialisedAnswers60007 0.068s passed
paragraphResultHasShengtongStyleDetails 0.045s passed
paramsAndAudioUrlInResult 0.046s passed
pauseAndRestart 0.048s passed
permissionDeniedWithRealAudioRecord 0.047s passed
playbackCallbacks 0.050s passed
protocolErrorFromPlatform 0.062s passed
provisionAndParams 0.034s passed
quickStartAcceptsEitherOrder 0.051s passed
recordFileLocations 0.214s passed
recordStopScore 0.064s passed
recordingStopsAtThe300SecondLimit 0.172s passed
recycleIsIdempotent 0.147s passed
sdkLogSettings 0.049s passed
serverAddressAndTimeouts 0.067s passed
setOnRecorderListenerReplacesTheListener 0.045s passed
soundIntensityWithoutVad 0.082s passed
streamModeFeedsCallerAudio 0.050s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.045s passed
ticksPauseWithTheRecording 0.059s passed
vadEndsTheRecording 0.069s passed
withoutAutoRetryRetryableFailuresAre20009 0.145s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b6d693f927954c709f678b7f5b1daf3c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=b6d693f927954c709f678b7f5b1daf3c 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 34db5016f1784438b6d60e2d319fca67 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=34db5016f1784438b6d60e2d319fca67 errId=60002: 音频为空
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 853d5d77212449a4b7b4bb7c9c992b6a 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 702432cf44674f82af12757f2c0ac5ed 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 b4934d5390d8427c8901b9210aa92117 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 1a8d872f1b84462ea20feb02a347a707 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 3377814d0dd4447784a62180b24b019a 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 c804802db2204bdbb10f1e7c6d4b1833 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=c804802db2204bdbb10f1e7c6d4b1833 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ee4f463b682041028189d25269ad4adc 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 b88a40f9a62a47e49b8264df7b47bf26 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 45d1002b95754330ac17d05064929bf8 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=45d1002b95754330ac17d05064929bf8 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 82ac98b269e64a5498e04982f3dd452d 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 82ac98b269e64a5498e04982f3dd452d
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 82ac98b269e64a5498e04982f3dd452d
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=82ac98b269e64a5498e04982f3dd452d 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 7fab04ae5c92474aba0f1c51bb7bdd40 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7fab04ae5c92474aba0f1c51bb7bdd40 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 e21dbe5488a748f4ab32bac8b85ac50f 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 869d7198bfc54a84b8c31e15dc87fd28 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 fe92d84b282d494680040bbc9eba856c 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 ba49be6432a840df9d6e8af135f95b1f 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 81a5c4acca4a41dc8c9eec4a6a2fb54e 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 ca7e8c974c2a40ca86e63bf1f98081c0 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId ca7e8c974c2a40ca86e63bf1f98081c0
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId ca7e8c974c2a40ca86e63bf1f98081c0
W/YuguStCompat: evaluation failed tokenId=ca7e8c974c2a40ca86e63bf1f98081c0 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 57354b01c4ca460d906639f970311d8f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=57354b01c4ca460d906639f970311d8f errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7067c28bf01342f58e7e4527bc83fb4c 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 29828354e8eb437eb22ab6329abcc0cf 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 7af658e6b9db4589bb2c5573a62e5b05 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7af658e6b9db4589bb2c5573a62e5b05 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0bfc0ac5c40443199821e82b76b5fcee 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=dd144f6c37b54a8a826a6e5dfb30203f errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=8506187a8ea443dfaa4fcf9387ef0137 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks16647369174665009954/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=281b63eca5974c0fb18ba0a1cd493dd6 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=2162f7e6807f4e1c9d59a6a101292aa0 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=f42e51c597624e428da4bd012d39520b errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=74c96b67f3fd4a6abccebc549cbcca0d 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 103b25fc79e44073a7795bade5efed1c 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 5c64538efa2e4233af0692cbb9c37cf3 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 fbe2a792e3cc44adad1ac69a7fb110a5 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=fbe2a792e3cc44adad1ac69a7fb110a5 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 5a3f0b00e0e243f88e2fa4cc44773e91 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=5a3f0b00e0e243f88e2fa4cc44773e91 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 ccea50f4b2d5477da3e49c95e4c5ceda 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 ccea50f4b2d5477da3e49c95e4c5ceda
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f608fc1e3a2f48a0b9de38713cf3d4b6 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 c231528da2994bd5a7270af7293df6aa 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 d3dc4a41f0ff4fb2ad9396679d1f21b3 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 e08e49d2e0bb44c0af16ab295aa3302f 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 60f22793826e487b920acad1b45743dc 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 05386297a243480eadec46d755bc26cb 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: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e7dc2e4dcd4643879ae0d633e03e22dc is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=e7dc2e4dcd4643879ae0d633e03e22dc errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 3f5cfa95d2594441a4418e6e62d86fae 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 16b17164c99747e785bf90751a2385b9 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 6befa6878fc5428cad25f2c491aaf296 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 56d3c716bd2141ce9f272cea972d7997 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3