Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

4.614s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.074s passed
attachAudioUrlCarriesThePlatformLink 0.192s passed
autoRetryHonoursCustomErrIds 0.057s passed
autoRetryResubmitsWithTheSameTokenId 0.167s passed
busyEngine 0.061s passed
cancelIsSilentAndIdempotent 0.661s passed
captureErrorEndsWithErrorJson 0.048s passed
clearActivityListenerDropsCallbacks 0.354s passed
clearInitListenerDropsPendingCallbacks 0.046s passed
durationTicksAndAutoStop 0.049s passed
existsAudioTransLocalChecks 0.088s passed
existsAudioTransUploadsOtherFormats 0.061s passed
existsAudioTransWithBothListenerTypes 0.080s passed
forceRecordIgnoresVadEnd 0.209s passed
initFailures 0.051s passed
initPostsCallbacksOnMainThread 0.042s passed
initVariantsAndEngineTypes 0.071s passed
invalidSettingsNeverReachTheNetwork 0.042s passed
microphoneFailures 0.062s passed
muteMusicRequestsAudioFocus 0.155s passed
notInitialisedAnswers60007 0.038s passed
paragraphResultHasShengtongStyleDetails 0.066s passed
paramsAndAudioUrlInResult 0.080s passed
pauseAndRestart 0.125s passed
permissionDeniedWithRealAudioRecord 0.062s passed
playbackCallbacks 0.090s passed
protocolErrorFromPlatform 0.054s passed
provisionAndParams 0.044s passed
quickStartAcceptsEitherOrder 0.049s passed
recordFileLocations 0.230s passed
recordStopScore 0.124s passed
recordingStopsAtThe300SecondLimit 0.196s passed
recycleIsIdempotent 0.167s passed
sdkLogSettings 0.074s passed
serverAddressAndTimeouts 0.072s passed
setOnRecorderListenerReplacesTheListener 0.059s passed
soundIntensityWithoutVad 0.061s passed
streamModeFeedsCallerAudio 0.094s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.068s passed
ticksPauseWithTheRecording 0.090s passed
vadEndsTheRecording 0.059s passed
withoutAutoRetryRetryableFailuresAre20009 0.142s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 3f35a54b6d67453f8351375a15072069 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=3f35a54b6d67453f8351375a15072069 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 d3c67131e9f143e7a019c756c9401104 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 9902a900fd8448a09f82575d32878099 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=9902a900fd8448a09f82575d32878099 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c9093be940a14069ab0ce9f626d523ff 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 a445c363c98c414cac6b212ce12022ad 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 c299263f97654444ab88460a96d7baf2 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 63fdd77b244642c38fb0f92a07a2f008 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 709dc90bc5ff4eb0bd30fbe6a59b38dd is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=709dc90bc5ff4eb0bd30fbe6a59b38dd errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 62c1a12200904722b8ff8d9b09e30720 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 da163a1b544c44ac940174da0f423a5f 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 af7dad41828a420c8c7e9560c7ff5a86 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=af7dad41828a420c8c7e9560c7ff5a86 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 e094a77e42434533a0483599595e7b19 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 e094a77e42434533a0483599595e7b19
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 e094a77e42434533a0483599595e7b19
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=e094a77e42434533a0483599595e7b19 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 baf0e52c0d4b452d890f6c070c360c9b is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=baf0e52c0d4b452d890f6c070c360c9b errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 57fba84f5bee414798ecc5f8bddb1708 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 f7d29ae7763149558af3c8d0494c2dd4 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 ee3319786a784b29828bc7613ddcf27c 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 5d5cf6d5b62546d8aa8e4a4591ffce97 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 8ff586acc3b94f99b66881ad6b382c3f 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 9b8882d6724041a691915ba3b66d5d73 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 9b8882d6724041a691915ba3b66d5d73
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 9b8882d6724041a691915ba3b66d5d73
W/YuguStCompat: evaluation failed tokenId=9b8882d6724041a691915ba3b66d5d73 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f28388807a5c462aa194027cedbd99ae is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f28388807a5c462aa194027cedbd99ae errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a4f8e9e1311944548c800f7e53dc809c 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 b9fba69bee3a43a3a4dfc173a8cb1a25 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=b9fba69bee3a43a3a4dfc173a8cb1a25 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ffd4e2cdf47b45f69212877f32594e07 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=92b09258358144fca5a4438abddbafa3 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=725af10822614f419e7b6962b8c332fe errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks738743121468718116/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=e2cfeff8ad834cc9996cfc8e72bc13fb errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=986c25402bc341ada9cc613810956c63 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=ca4500fa9e4e49078cbf5b21dbe0344c errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=a90e5c82d279412ba24f1838d1b66068 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 aaf4ec388ce0461393d321529522aa47 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 0522d5f099034cf382eefdb07a313970 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 1d13e44a2075407d865ab4b98697016c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=1d13e44a2075407d865ab4b98697016c errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0f0539a5fa3d4c12b5a77a5356d56b9e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=0f0539a5fa3d4c12b5a77a5356d56b9e 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 1a9fe2ebc16e4eaca114bc51e54c4e15 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 1a9fe2ebc16e4eaca114bc51e54c4e15
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e10fb45d34a74693b1651150ef8d6d46 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 2cd564adf8e84fe3b13e66eee1f5fed6 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 ef75a424f1f24925b8328d046eeb598f 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 72e981c06d6c4901b04b16963891fb43 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 77597c7c142040fe9037cfc84a3eadd9 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 c6e43cb8b2ac4fe4ade05e0d1bc98061 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 ff5993b16720481985d8c9ee8aa94f7f 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 7f6e35467d9e4dedbe852de517cfc8df 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: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=7f6e35467d9e4dedbe852de517cfc8df errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 71d0f1ba4a724df9a3121488ef2d2614 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 b9aad2a1119044b0b0d459b6bdb2d321 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 28f27efe5d2b4931a4e250c5d78fb6d5 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 8722d63c023e4d9eba6a64c69b5471f8 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3