Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.400s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.040s passed
attachAudioUrlCarriesThePlatformLink 0.135s passed
autoRetryHonoursCustomErrIds 0.042s passed
autoRetryResubmitsWithTheSameTokenId 0.120s passed
busyEngine 0.033s passed
cancelIsSilentAndIdempotent 0.653s passed
captureErrorEndsWithErrorJson 0.043s passed
clearActivityListenerDropsCallbacks 0.342s passed
clearInitListenerDropsPendingCallbacks 0.025s passed
durationTicksAndAutoStop 0.044s passed
existsAudioTransLocalChecks 0.060s passed
existsAudioTransUploadsOtherFormats 0.050s passed
existsAudioTransWithBothListenerTypes 0.049s passed
forceRecordIgnoresVadEnd 0.153s passed
initFailures 0.034s passed
initPostsCallbacksOnMainThread 0.029s passed
initVariantsAndEngineTypes 0.026s passed
invalidSettingsNeverReachTheNetwork 0.033s passed
microphoneFailures 0.042s passed
muteMusicRequestsAudioFocus 0.140s passed
notInitialisedAnswers60007 0.028s passed
paragraphResultHasShengtongStyleDetails 0.042s passed
paramsAndAudioUrlInResult 0.040s passed
pauseAndRestart 0.036s passed
permissionDeniedWithRealAudioRecord 0.029s passed
playbackCallbacks 0.039s passed
protocolErrorFromPlatform 0.056s passed
provisionAndParams 0.035s passed
quickStartAcceptsEitherOrder 0.030s passed
recordFileLocations 0.196s passed
recordStopScore 0.047s passed
recordingStopsAtThe300SecondLimit 0.110s passed
recycleIsIdempotent 0.132s passed
sdkLogSettings 0.030s passed
serverAddressAndTimeouts 0.056s passed
setOnRecorderListenerReplacesTheListener 0.040s passed
soundIntensityWithoutVad 0.050s passed
streamModeFeedsCallerAudio 0.059s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.039s passed
ticksPauseWithTheRecording 0.037s passed
vadEndsTheRecording 0.047s 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 ad30073c3a464b59bb1e276dd59e548a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ad30073c3a464b59bb1e276dd59e548a 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 b27eb7e5fb5e44a9b50d0b1bc162b875 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 4ffe4f3669e84fe5b1a5862ef0b03f07 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 a11d8f9a9693443ba5bce694c488951c 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 3404fbf00d4741e78b5e546578bd09b6 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 84653c0151534ff1b775031d59dcb85b 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 ab404af1f5e247528785af721c6d78b9 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 9d56b6fdd6f847319fdf30663624cee3 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=9d56b6fdd6f847319fdf30663624cee3 errId=60002: 音频为空
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 fc08a1385aa44119aa42f0b8c9ede349 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=fc08a1385aa44119aa42f0b8c9ede349 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 4c747cc8f224483bba1e054177d0f027 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 4c747cc8f224483bba1e054177d0f027
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 4c747cc8f224483bba1e054177d0f027
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=4c747cc8f224483bba1e054177d0f027 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 da9ea8a272ab443cb951a9d2294c1bb8 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=da9ea8a272ab443cb951a9d2294c1bb8 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 608805220e674406b2f0124944d6649e 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 7ff24afa77d3462a832694cfab257734 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 1911c1471f06495bb095c7d4021a32cd 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 05e728fe7c7046cdab5fb055b847c972 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 055719d6d97c4bcda8d55062d53b67b1 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 055719d6d97c4bcda8d55062d53b67b1
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 055719d6d97c4bcda8d55062d53b67b1
W/YuguStCompat: evaluation failed tokenId=055719d6d97c4bcda8d55062d53b67b1 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a5324df49ec8485387a977c5876752f9 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a5324df49ec8485387a977c5876752f9 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 ba304bfe1eed489fb02421879d444761 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ba304bfe1eed489fb02421879d444761 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0901315086664c708fe308b8309018e0 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=d29b5d4e5fba4ba0916dd6cf717bc655 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=44acb157049446caba79ba3ebc2c18d3 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks15127393983116114771/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=eca1142e579b4aff81fe50413ebbee53 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=41e623564c5041af971a89757f41e317 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=0d1fb4e39c5b4dcbb0053edfa2e1912f errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=9af98cfa6e684b36ac61284156208f3d 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 9a5af540b58046738db4bf9af0555086 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 abe3a9b8164e4fb1a317ce71c2746d34 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 8309f7b8efa743619e001b91565ec762 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8309f7b8efa743619e001b91565ec762 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=3c6438b2488b48d7ac3e86042dec8aba 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 5ba67f7215564ff2932b70b15acde975 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 5ba67f7215564ff2932b70b15acde975
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ab9d40ca47ec435eb9ad947645ede64d 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 c5f8280a553c412c8dd7b6f2ee986787 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 c5e5b90df9ad41b2818d9bf8eb33715d 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 9f431df42d1c4ac581913f2c3c5377a8 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 75705cd4073e47af80765fd22b1be0fd 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 d10bab9b45ac40f9a7cbc7a317f5a4ca 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 b96c92e7204e457190394256ecd24cce is evaluated over REST instead
W/YuguStCompat: existsAudioTrans rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=b96c92e7204e457190394256ecd24cce errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6326a6b32ace4f839d1db1aea26db5cf 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 1ee2eebe8ff449888ab29e2b3a91d7ba 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 c4b95024cc6a4c8e99e42dcf7980c92e is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3