Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.570s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.045s passed
attachAudioUrlCarriesThePlatformLink 0.137s passed
autoRetryHonoursCustomErrIds 0.049s passed
autoRetryResubmitsWithTheSameTokenId 0.125s passed
busyEngine 0.041s passed
cancelIsSilentAndIdempotent 0.653s passed
captureErrorEndsWithErrorJson 0.041s passed
clearActivityListenerDropsCallbacks 0.356s passed
clearInitListenerDropsPendingCallbacks 0.033s passed
durationTicksAndAutoStop 0.041s passed
existsAudioTransLocalChecks 0.061s passed
existsAudioTransUploadsOtherFormats 0.041s passed
existsAudioTransWithBothListenerTypes 0.072s passed
forceRecordIgnoresVadEnd 0.155s passed
initFailures 0.036s passed
initPostsCallbacksOnMainThread 0.033s passed
initVariantsAndEngineTypes 0.034s passed
invalidSettingsNeverReachTheNetwork 0.035s passed
microphoneFailures 0.040s passed
muteMusicRequestsAudioFocus 0.144s passed
notInitialisedAnswers60007 0.031s passed
paragraphResultHasShengtongStyleDetails 0.040s passed
paramsAndAudioUrlInResult 0.044s passed
pauseAndRestart 0.041s passed
permissionDeniedWithRealAudioRecord 0.036s passed
playbackCallbacks 0.058s passed
protocolErrorFromPlatform 0.042s passed
provisionAndParams 0.034s passed
quickStartAcceptsEitherOrder 0.038s passed
recordFileLocations 0.203s passed
recordStopScore 0.055s passed
recordingStopsAtThe300SecondLimit 0.137s passed
recycleIsIdempotent 0.138s passed
sdkLogSettings 0.034s passed
serverAddressAndTimeouts 0.055s passed
setOnRecorderListenerReplacesTheListener 0.044s passed
soundIntensityWithoutVad 0.057s passed
streamModeFeedsCallerAudio 0.044s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.041s passed
ticksPauseWithTheRecording 0.040s passed
vadEndsTheRecording 0.045s passed
withoutAutoRetryRetryableFailuresAre20009 0.141s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 78572ea7f1964dc59586ba8ee0fd8ad3 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=78572ea7f1964dc59586ba8ee0fd8ad3 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 7892a057123143fba2daedb79b6c91d2 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7892a057123143fba2daedb79b6c91d2 errId=60005: 音频短于 1 秒
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 889d328b0fcd4459aaf414966f3b6883 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 ea583590da6846b09447141dcf1bc538 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 a3fa86715206423d9f1117100f4bcbb2 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 9e3a7d331c6a4fdaa8827270fc2c91d0 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 8312cf62c0e0423a8dbbc9db21644096 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 9b419bb82a81494eab22abb58f1b8307 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=9b419bb82a81494eab22abb58f1b8307 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 0f66642ac31547a99518984aa7eb8bf9 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=0f66642ac31547a99518984aa7eb8bf9 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 a305b6a248d44a9da90455b27603d281 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 a305b6a248d44a9da90455b27603d281
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 a305b6a248d44a9da90455b27603d281
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=a305b6a248d44a9da90455b27603d281 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 99f1192228014d70a88ed87ba6ee162b is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=99f1192228014d70a88ed87ba6ee162b errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f3fa9481b5d2411caa4684df9eb9faae 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 1c152095d0ea4b4eb820c9bdaec70e30 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 04e2edbd55da4f77854d3888565b6499 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 01cef966dbd64a3faf42167c4b6da827 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 63e6e0873e2a456289440bd91d251865 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 e09fb3cda254425a879470fc486a6631 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId e09fb3cda254425a879470fc486a6631
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId e09fb3cda254425a879470fc486a6631
W/YuguStCompat: evaluation failed tokenId=e09fb3cda254425a879470fc486a6631 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId fa2fac2d0c9c413cb2fa983781a53dbe is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=fa2fac2d0c9c413cb2fa983781a53dbe 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 2a8e4a52560641ebbf1cfcc4b816d9c1 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=2a8e4a52560641ebbf1cfcc4b816d9c1 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f9b805dc5c2a41969c1b7272b51c3eb0 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=967d8775424c425392e412bdee56df02 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=fa39b0d84a8348409b793999732f0d86 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks4981995169291779575/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=2be23c241a7c436fba39ad73238b97c1 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=c0764638bc7040d5a651cf9900c34b4e errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=ab7859c1e0bf4f38a21d2cb5c72594d5 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=bc133fa8155c4e418e81f15410bc72f0 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 27f3568d334f423a9f13e90d0cf78fee 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 f5e360faa59c43208860238fe283e81d 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 d4477cfa22c84229ac724078b008d71a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=d4477cfa22c84229ac724078b008d71a errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 892cc7d82e5a4ddc8feeff49c0f72ce1 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=892cc7d82e5a4ddc8feeff49c0f72ce1 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 a12c0175b54442f0845f0f051af640ac 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 a12c0175b54442f0845f0f051af640ac
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6427c69c0e7a4b84949b7e17cf56c547 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 5d8df9edb62144dca8eb6d4badbfdf23 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 9b5ffb7e9d5043f49783f6a805060588 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 64dbbbfbcca64244ab68efb83c92827f 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 1d3ab556b22a451a9bc87dc3327716cf 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 768455fba29f451eab07718ecd3c04be is evaluated over REST instead
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 18d82c4207d34f57b96dcc530b2ba876 is evaluated over REST instead
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=18d82c4207d34f57b96dcc530b2ba876 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b2d098a25b8642fb910dfc0413dd29b9 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 b4ecb0816c9a430db165796814326258 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 eb2fa5ebabee4833bcaa3f823cbdb1cd 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 95aed0f8e739456bad25c35830ad75fb is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3