Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

4.368s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.053s passed
attachAudioUrlCarriesThePlatformLink 0.134s passed
autoRetryHonoursCustomErrIds 0.080s passed
autoRetryResubmitsWithTheSameTokenId 0.146s passed
busyEngine 0.050s passed
cancelIsSilentAndIdempotent 0.658s passed
captureErrorEndsWithErrorJson 0.054s passed
clearActivityListenerDropsCallbacks 0.361s passed
clearInitListenerDropsPendingCallbacks 0.041s passed
durationTicksAndAutoStop 0.049s passed
existsAudioTransLocalChecks 0.110s passed
existsAudioTransUploadsOtherFormats 0.078s passed
existsAudioTransWithBothListenerTypes 0.088s passed
forceRecordIgnoresVadEnd 0.162s passed
initFailures 0.042s passed
initPostsCallbacksOnMainThread 0.044s passed
initVariantsAndEngineTypes 0.042s passed
invalidSettingsNeverReachTheNetwork 0.042s passed
microphoneFailures 0.049s passed
muteMusicRequestsAudioFocus 0.322s passed
notInitialisedAnswers60007 0.078s passed
paragraphResultHasShengtongStyleDetails 0.056s passed
paramsAndAudioUrlInResult 0.049s passed
pauseAndRestart 0.067s passed
permissionDeniedWithRealAudioRecord 0.040s passed
playbackCallbacks 0.052s passed
protocolErrorFromPlatform 0.090s passed
provisionAndParams 0.045s passed
quickStartAcceptsEitherOrder 0.049s passed
recordFileLocations 0.222s passed
recordStopScore 0.070s passed
recordingStopsAtThe300SecondLimit 0.145s passed
recycleIsIdempotent 0.157s passed
sdkLogSettings 0.060s passed
serverAddressAndTimeouts 0.076s passed
setOnRecorderListenerReplacesTheListener 0.055s passed
soundIntensityWithoutVad 0.093s passed
streamModeFeedsCallerAudio 0.048s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.055s passed
ticksPauseWithTheRecording 0.059s passed
vadEndsTheRecording 0.050s passed
withoutAutoRetryRetryableFailuresAre20009 0.147s passed

Standard error

W/YuguStCompat: evaluation failed tokenId=c350a84dd2234e91a4128f904f5869e1 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=1da649a7aac84abaa6b7c62a58c930c9 errId=60005: 音频短于 1 秒
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=2810488ee3a34393ab633c1eb20b7b9c 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 e9392ba10dde47cdabc9dad0bf8db899
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 e9392ba10dde47cdabc9dad0bf8db899
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=e9392ba10dde47cdabc9dad0bf8db899 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3)
W/YuguStCompat: evaluation failed tokenId=3ba65a772e8e4008b1dad998f768b1da 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 bbbd5acb3be34f339d6d249d62f28ed3
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId bbbd5acb3be34f339d6d249d62f28ed3
W/YuguStCompat: evaluation failed tokenId=bbbd5acb3be34f339d6d249d62f28ed3 errId=40001: bad
W/YuguStCompat: evaluation failed tokenId=4783c6c0f0b845f9b929e3e7104a160d errId=40001: bad
W/YuguStCompat: request rejected (errId 60007): 引擎未初始化
W/YuguStCompat: evaluation failed tokenId=d7505abd60ac412393dc061658d9d4d5 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=5850eebd2ee7423185505406cf72a838 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=c7ad090762c742dca6ba1fd018edda84 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks11033873033697142679/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=2521e461e5f242be9f60107d86bcf2a4 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=d3f3daa196974d699d84420c4349535f errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=0e14255cd3884bc0a00dcf4f2e3b8937 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=e837979505da463880f5e5fd62a49aec 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=49d598d0457e4c809a845b57e8aff729 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=b4afa6effff94965ab62b1dab42ba275 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 c8191ae207cd4b65a6ddc52716c86f9c
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=25c7a9f7f34147318bd5d77f1cfcbb6a errId=60005: 音频短于 1 秒
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3