Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.965s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.045s passed
attachAudioUrlCarriesThePlatformLink 0.126s passed
autoRetryHonoursCustomErrIds 0.055s passed
autoRetryResubmitsWithTheSameTokenId 0.134s passed
busyEngine 0.055s passed
cancelIsSilentAndIdempotent 0.655s passed
captureErrorEndsWithErrorJson 0.046s passed
clearActivityListenerDropsCallbacks 0.353s passed
clearInitListenerDropsPendingCallbacks 0.030s passed
durationTicksAndAutoStop 0.053s passed
existsAudioTransLocalChecks 0.082s passed
existsAudioTransUploadsOtherFormats 0.058s passed
existsAudioTransWithBothListenerTypes 0.059s passed
forceRecordIgnoresVadEnd 0.149s passed
initFailures 0.038s passed
initPostsCallbacksOnMainThread 0.043s passed
initVariantsAndEngineTypes 0.039s passed
invalidSettingsNeverReachTheNetwork 0.038s passed
microphoneFailures 0.064s passed
muteMusicRequestsAudioFocus 0.318s passed
notInitialisedAnswers60007 0.045s passed
paragraphResultHasShengtongStyleDetails 0.040s passed
paramsAndAudioUrlInResult 0.053s passed
pauseAndRestart 0.041s passed
permissionDeniedWithRealAudioRecord 0.036s passed
playbackCallbacks 0.055s passed
protocolErrorFromPlatform 0.068s passed
provisionAndParams 0.038s passed
quickStartAcceptsEitherOrder 0.051s passed
recordFileLocations 0.208s passed
recordStopScore 0.072s passed
recordingStopsAtThe300SecondLimit 0.132s passed
recycleIsIdempotent 0.141s passed
sdkLogSettings 0.040s passed
serverAddressAndTimeouts 0.057s passed
setOnRecorderListenerReplacesTheListener 0.043s passed
soundIntensityWithoutVad 0.061s passed
streamModeFeedsCallerAudio 0.053s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.036s passed
ticksPauseWithTheRecording 0.062s passed
vadEndsTheRecording 0.061s passed
withoutAutoRetryRetryableFailuresAre20009 0.132s passed

Standard error

W/YuguStCompat: evaluation failed tokenId=1d73378d0c7b473590c74cf8031fe8bb 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=7984a662f4b94271b5c44700af15aac7 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=2c9b711a8ba94f6581d1a563c6d28523 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 5ce713cbdfae40b59c288afb416b5fb4
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 5ce713cbdfae40b59c288afb416b5fb4
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=5ce713cbdfae40b59c288afb416b5fb4 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 HTTP 503 (attempts 3)
W/YuguStCompat: evaluation failed tokenId=237d5ee0507641e8bd525d6d3ec175ef errId=60005: 音频短于 1 秒
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 1dd4ad010eda470099320cf7de998c70
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 1dd4ad010eda470099320cf7de998c70
W/YuguStCompat: evaluation failed tokenId=1dd4ad010eda470099320cf7de998c70 errId=40001: bad
W/YuguStCompat: evaluation failed tokenId=2ffca6337b4d456aa35641d0938097ef errId=40001: bad
W/YuguStCompat: request rejected (errId 60007): 引擎未初始化
W/YuguStCompat: evaluation failed tokenId=bb990cb2f55345a08cafec3dab37fb20 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=c92ae32550bf4452852a43678676e34d errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=02f268f30ef24043b68fe7cb717b3028 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks9875128652550246506/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=5ee48823af9c41dc80ea39a6aa4bc609 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=33fc9fe833604a16aa4cf97631a7a413 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=db1f66804a5a48bfb6a8614ce61ae4c3 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=6b57d21bd1694a508d793db6aeba41fa 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=ab5b144ab73044e18bb3da72ff7f6bc6 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=6b8ebd3fb3774586bc3584ac9ac3d7ec 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 c8e320fce5e544e2b954dbdce317b410
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=677fe9dd5a654e499ad644944662efb2 errId=60005: 音频短于 1 秒
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3