Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.381s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.040s passed
attachAudioUrlCarriesThePlatformLink 0.124s passed
autoRetryHonoursCustomErrIds 0.042s passed
autoRetryResubmitsWithTheSameTokenId 0.121s passed
busyEngine 0.034s passed
cancelIsSilentAndIdempotent 0.652s passed
captureErrorEndsWithErrorJson 0.043s passed
clearActivityListenerDropsCallbacks 0.341s passed
clearInitListenerDropsPendingCallbacks 0.027s passed
durationTicksAndAutoStop 0.036s passed
existsAudioTransLocalChecks 0.056s passed
existsAudioTransUploadsOtherFormats 0.046s passed
existsAudioTransWithBothListenerTypes 0.054s passed
forceRecordIgnoresVadEnd 0.150s passed
initFailures 0.029s passed
initPostsCallbacksOnMainThread 0.028s passed
initVariantsAndEngineTypes 0.024s passed
invalidSettingsNeverReachTheNetwork 0.027s passed
microphoneFailures 0.034s passed
muteMusicRequestsAudioFocus 0.135s passed
notInitialisedAnswers60007 0.039s passed
paragraphResultHasShengtongStyleDetails 0.034s passed
paramsAndAudioUrlInResult 0.032s passed
pauseAndRestart 0.032s passed
permissionDeniedWithRealAudioRecord 0.027s passed
playbackCallbacks 0.037s passed
protocolErrorFromPlatform 0.053s passed
provisionAndParams 0.028s passed
quickStartAcceptsEitherOrder 0.036s passed
recordFileLocations 0.239s passed
recordStopScore 0.048s passed
recordingStopsAtThe300SecondLimit 0.141s passed
recycleIsIdempotent 0.136s passed
sdkLogSettings 0.027s passed
serverAddressAndTimeouts 0.053s passed
setOnRecorderListenerReplacesTheListener 0.035s passed
soundIntensityWithoutVad 0.046s passed
streamModeFeedsCallerAudio 0.036s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.046s passed
ticksPauseWithTheRecording 0.042s passed
vadEndsTheRecording 0.045s passed
withoutAutoRetryRetryableFailuresAre20009 0.126s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 871bf1978bd1409b931955450e3b5201 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=871bf1978bd1409b931955450e3b5201 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 17d54c1d4da04d17b48ed98858a2b3e7 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 8d49a4ca7add43ef9201e5aece785b51 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 8bed3b285b174932b70ff8c096e11e10 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 ac7e301d01c043f3970a036a048c920f 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 20b7724b485341ac977bb80110ac4eaa 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 07c3bac3a4aa45b2bb2e4041ae297c3d 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 a247ed5e346f4dedb95094421077aee7 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a247ed5e346f4dedb95094421077aee7 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 3e7befae6a824089838ca08a1cf0592b 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=3e7befae6a824089838ca08a1cf0592b 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 b25e27777d274444b54037b73de3c795 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 b25e27777d274444b54037b73de3c795
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 b25e27777d274444b54037b73de3c795
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=b25e27777d274444b54037b73de3c795 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 ac503d6539df43f984dbbb510b0174e4 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ac503d6539df43f984dbbb510b0174e4 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 ea6cf481a38e485183b88f429be6e022 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 1c7cf73c989b45198c0f136e1189b725 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 69acbbd914bc4a44951c2d60384c62e5 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 3b89902b19fb41918971d08a0a3ef796 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 17767fad7aef43a18d5309d3daeb8edd is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 17767fad7aef43a18d5309d3daeb8edd
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 17767fad7aef43a18d5309d3daeb8edd
W/YuguStCompat: evaluation failed tokenId=17767fad7aef43a18d5309d3daeb8edd errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ff7f5ca6027b4692a7486689819c4b3d is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ff7f5ca6027b4692a7486689819c4b3d 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 a285c8b3da384d859d1059682f7a331c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a285c8b3da384d859d1059682f7a331c errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 10b2fb8cca6741bf8179bd227a12d498 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=a4ff8f6410a04033bb591dbb2c56e9bf errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=583f5966b17d46faa8662424b8d8ca2e errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks1676269429792482417/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=fa198c39ede34bc58939d3279eee61a4 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=83242fc206904374b2b3a076549f8c27 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=e07d8500379045a8bb2f59ba46eaa807 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=451dab6bb7574f1cbb80cbf525e51d01 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 ede47ac05da9493c824842cd4fd2c513 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 5dce0eabe6bd4fc2889bffc97d749c97 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 4bea62ebd2ed4860a6c923803e628d5c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=4bea62ebd2ed4860a6c923803e628d5c errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=6a72060509514a07819b4094814d53d2 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 237618fc03f74a14896c190a395d9792 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 237618fc03f74a14896c190a395d9792
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c03c93b75737417cbe070cf79f16f8ab 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 5405912f9940480dae7b138b1eb70454 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 2ffb7eb72270425ca4640c8409a2ac9a 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 94e967c1c7ed4d54a8a5fde94543814e 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 d489e536acf94c34831ab16fc11ec574 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 eb040fc2e9ac41a6bd7a943d97d7d3ee 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=eb040fc2e9ac41a6bd7a943d97d7d3ee errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 18c7b2cd29e644dbb031ceb91afb59e4 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 5b79a3cbcfa34fcc9208b9c1e36509cb 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 36d278ac804643f5b901ff0e303940c3 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 ed742e8a3d0d4dab89399f5c03f22f34 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3