Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

4.086s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.057s passed
attachAudioUrlCarriesThePlatformLink 0.138s passed
autoRetryHonoursCustomErrIds 0.061s passed
autoRetryResubmitsWithTheSameTokenId 0.130s passed
busyEngine 0.043s passed
cancelIsSilentAndIdempotent 0.664s passed
captureErrorEndsWithErrorJson 0.052s passed
clearActivityListenerDropsCallbacks 0.385s passed
clearInitListenerDropsPendingCallbacks 0.058s passed
durationTicksAndAutoStop 0.051s passed
existsAudioTransLocalChecks 0.087s passed
existsAudioTransUploadsOtherFormats 0.057s passed
existsAudioTransWithBothListenerTypes 0.058s passed
forceRecordIgnoresVadEnd 0.157s passed
initFailures 0.040s passed
initPostsCallbacksOnMainThread 0.043s passed
initVariantsAndEngineTypes 0.042s passed
invalidSettingsNeverReachTheNetwork 0.037s passed
microphoneFailures 0.056s passed
muteMusicRequestsAudioFocus 0.269s passed
notInitialisedAnswers60007 0.039s passed
paragraphResultHasShengtongStyleDetails 0.059s passed
paramsAndAudioUrlInResult 0.052s passed
pauseAndRestart 0.048s passed
permissionDeniedWithRealAudioRecord 0.043s passed
playbackCallbacks 0.046s passed
protocolErrorFromPlatform 0.060s passed
provisionAndParams 0.044s passed
quickStartAcceptsEitherOrder 0.049s passed
recordFileLocations 0.215s passed
recordStopScore 0.082s passed
recordingStopsAtThe300SecondLimit 0.156s passed
recycleIsIdempotent 0.142s passed
sdkLogSettings 0.056s passed
serverAddressAndTimeouts 0.057s passed
setOnRecorderListenerReplacesTheListener 0.042s passed
soundIntensityWithoutVad 0.061s passed
streamModeFeedsCallerAudio 0.041s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.053s passed
ticksPauseWithTheRecording 0.058s passed
vadEndsTheRecording 0.048s passed
withoutAutoRetryRetryableFailuresAre20009 0.150s passed

Standard error

W/YuguStCompat: evaluation failed tokenId=d9709c2c882b40a0a375e08e22ee4b65 errId=90005: response is not a JSON object
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: evaluation failed tokenId=5040bdcf1a3c45f890af063cabbfd5b3 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: retry 1/2 in 227 ms: HTTP 503
W/YuguStCompat: retry 2/2 in 444 ms: HTTP 503
W/YuguStCompat: evaluation failed tokenId=a5ce690f404b4d00bc525e018a305c38 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 6bd60948766341568a99e258ddd9c5d3
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 6bd60948766341568a99e258ddd9c5d3
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=6bd60948766341568a99e258ddd9c5d3 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3)
W/YuguStCompat: evaluation failed tokenId=6c28f62229a34512af806eec7bfbc203 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: 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.0.0 (api 1.0.62)
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 6f1c4585282445e1ac1ba449844b17fb
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 6f1c4585282445e1ac1ba449844b17fb
W/YuguStCompat: evaluation failed tokenId=6f1c4585282445e1ac1ba449844b17fb errId=40001: bad
W/YuguStCompat: evaluation failed tokenId=ca3972121ecd4bd3bb60330f616439f5 errId=40001: bad
W/YuguStCompat: request rejected (errId 60007): 引擎未初始化
W/YuguStCompat: evaluation failed tokenId=783fa050a68e4b7990815e97e49aaf89 errId=60002: 音频为空
W/YuguStCompat: initParams: setting would be rejected with errId 60003
D/YuguStCompat: initParams: sent.eval.cn fields [refText]
W/YuguStCompat: evaluation failed tokenId=4439e915171d4a0cbe3237dbaf559857 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=aaf53e06d2a048a9a19737ef7d47b9e2 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks15929555230444629693/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=e8be28ff3b4b4bb8ade7ea8251a94be8 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=d372003f9ce64f54bb4eb5f9308a1a57 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=f4203a130ecf4f5aac66fef0c0b6ad8e errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=711611dc8f0e4005a7174b8b2a36fc14 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: start failed (errId 60001): cannot create record file: cannot create /proc/forbidden-dir
W/YuguStCompat: evaluation failed tokenId=e6e42e52d1ee425ea0da6ecae76a9b98 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=27db094b850b4fccbce9fc2cb950781c errId=60005: 音频短于 1 秒
W/YuguStCompat: request rejected (errId 60003): coreType 不支持
W/YuguStCompat: request rejected (errId 60006): refText 为空
W/YuguStCompat: request rejected (errId 60003): coreType 不支持
W/YuguStCompat: request rejected (errId 60003): coreType 不支持
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 bd4bb62004ec469491e58073012edc20
W/YuguStCompat: request rejected (errId 60007): 引擎未初始化
W/YuguStCompat: request rejected (errId 60007): 引擎未初始化
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: 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: startRecord rejected: engine is busy (RECORDING)
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
W/YuguStCompat: request rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: request rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=4dcdc0d9e60b46a7816db6cef5106a0b errId=60005: 音频短于 1 秒
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3