Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.364s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.041s passed
attachAudioUrlCarriesThePlatformLink 0.141s passed
autoRetryHonoursCustomErrIds 0.042s passed
autoRetryResubmitsWithTheSameTokenId 0.121s passed
busyEngine 0.037s passed
cancelIsSilentAndIdempotent 0.650s passed
captureErrorEndsWithErrorJson 0.040s passed
clearActivityListenerDropsCallbacks 0.340s passed
clearInitListenerDropsPendingCallbacks 0.027s passed
durationTicksAndAutoStop 0.042s passed
existsAudioTransLocalChecks 0.062s passed
existsAudioTransUploadsOtherFormats 0.043s passed
existsAudioTransWithBothListenerTypes 0.056s passed
forceRecordIgnoresVadEnd 0.143s passed
initFailures 0.033s passed
initPostsCallbacksOnMainThread 0.027s passed
initVariantsAndEngineTypes 0.043s passed
invalidSettingsNeverReachTheNetwork 0.030s passed
microphoneFailures 0.035s passed
muteMusicRequestsAudioFocus 0.139s passed
notInitialisedAnswers60007 0.027s passed
paragraphResultHasShengtongStyleDetails 0.043s passed
paramsAndAudioUrlInResult 0.042s passed
pauseAndRestart 0.033s passed
permissionDeniedWithRealAudioRecord 0.029s passed
playbackCallbacks 0.045s passed
protocolErrorFromPlatform 0.045s passed
provisionAndParams 0.030s passed
quickStartAcceptsEitherOrder 0.031s passed
recordFileLocations 0.199s passed
recordStopScore 0.043s passed
recordingStopsAtThe300SecondLimit 0.102s passed
recycleIsIdempotent 0.134s passed
sdkLogSettings 0.031s passed
serverAddressAndTimeouts 0.059s passed
setOnRecorderListenerReplacesTheListener 0.048s passed
soundIntensityWithoutVad 0.047s passed
streamModeFeedsCallerAudio 0.046s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.034s passed
ticksPauseWithTheRecording 0.039s passed
vadEndsTheRecording 0.043s passed
withoutAutoRetryRetryableFailuresAre20009 0.122s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 16276f0ef8a44f8cb62e7c9b8cc93689 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=16276f0ef8a44f8cb62e7c9b8cc93689 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 c179c6d3c58149f782266fd464b8f0c4 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 08ed059d5293429599316aced254fa59 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 3cdba168a25848aab45e644e3bef50a4 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 9bfaddc54ad04c269ec54d49db5f60e3 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 f2d95edaf38c41bfbba7036eff982bf5 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 d79be939d24d4bdfa781a2701934adce 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 23a219991d9f498c9bec043a4653bcd1 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=23a219991d9f498c9bec043a4653bcd1 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 181462cb50a842788287f785ced29ec8 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=181462cb50a842788287f785ced29ec8 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 ec44875bd0bf4501984b4bbf470d204d 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 ec44875bd0bf4501984b4bbf470d204d
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 ec44875bd0bf4501984b4bbf470d204d
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=ec44875bd0bf4501984b4bbf470d204d 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 70cbe7bd0f9c4a6ba831d9a82155e0c5 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=70cbe7bd0f9c4a6ba831d9a82155e0c5 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6ac2e865c5014fabb6bc0c913cd0783f 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 8d496b120d624f8f8d15d1e44e60a48b 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 af9670ee8e764d3e8eef349afcfb4d47 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 1804142825604f59804fd3be36d965c5 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 03bb74f6186b49d9af60357ee6012673 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 da45209e8a64405aa730ccd85c20cba4 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId da45209e8a64405aa730ccd85c20cba4
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId da45209e8a64405aa730ccd85c20cba4
W/YuguStCompat: evaluation failed tokenId=da45209e8a64405aa730ccd85c20cba4 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 848deee7d32c4f7e8737ef43a52aad83 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=848deee7d32c4f7e8737ef43a52aad83 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 286380f020504b2e845d1841656160ed is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=286380f020504b2e845d1841656160ed errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 09ce84577e7d408da3d57ade801aaf3f 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=f4b1a2f8360345979aeea5eaa8ae19c2 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=71dbfc9d0cf3464a9317d7bc181da61e errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks1829028531038602902/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=a5fbd41cc4ce409c8abf76e7e14abfc1 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=cce127407b7141628989dd2439ea80cd errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=8f979e74af6b41df879e6ebe75bb11bb errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=571c0db0a7744c4595c9038f30df140d 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 37ff3561f2d949a2ae363155ccb63da7 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 1d8cac9133ed48a4b55f4bd04799fbe2 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 f17bcb8b9ad94fcdbb0569d1c6fbe310 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f17bcb8b9ad94fcdbb0569d1c6fbe310 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 13f2a5ff3a7d4b3285b3ccb30713b8b2 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=13f2a5ff3a7d4b3285b3ccb30713b8b2 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 6bc31c7b4e2841b880693d09092934b3 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 6bc31c7b4e2841b880693d09092934b3
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 0b559c9e3707457b8cf4d329678f7c68 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 11d953ca7dd6466a870d99a89ecf3d0c 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 09cc27d8a9654ffbb57b960a0c279a1f 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 9fe25984e8004ac7b565beb1dd1307a7 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 af4ced47911d4037b85e66418765b0a4 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: evaluation failed tokenId=af4ced47911d4037b85e66418765b0a4 errId=60005: 音频短于 1 秒
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7d11b669fb3e4825bc39c11631870d25 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 79ea705b7d124cb4b84fed1470187595 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 3ba00323bf764d47915c67bef9d369e2 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3