Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.918s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.047s passed
attachAudioUrlCarriesThePlatformLink 0.135s passed
autoRetryHonoursCustomErrIds 0.053s passed
autoRetryResubmitsWithTheSameTokenId 0.132s passed
busyEngine 0.045s passed
cancelIsSilentAndIdempotent 0.662s passed
captureErrorEndsWithErrorJson 0.046s passed
clearActivityListenerDropsCallbacks 0.356s passed
clearInitListenerDropsPendingCallbacks 0.032s passed
durationTicksAndAutoStop 0.045s passed
existsAudioTransLocalChecks 0.064s passed
existsAudioTransUploadsOtherFormats 0.048s passed
existsAudioTransWithBothListenerTypes 0.060s passed
forceRecordIgnoresVadEnd 0.168s passed
initFailures 0.045s passed
initPostsCallbacksOnMainThread 0.033s passed
initVariantsAndEngineTypes 0.039s passed
invalidSettingsNeverReachTheNetwork 0.045s passed
microphoneFailures 0.040s passed
muteMusicRequestsAudioFocus 0.148s passed
notInitialisedAnswers60007 0.052s passed
paragraphResultHasShengtongStyleDetails 0.050s passed
paramsAndAudioUrlInResult 0.046s passed
pauseAndRestart 0.050s passed
permissionDeniedWithRealAudioRecord 0.038s passed
playbackCallbacks 0.067s passed
protocolErrorFromPlatform 0.054s passed
provisionAndParams 0.043s passed
quickStartAcceptsEitherOrder 0.054s passed
recordFileLocations 0.211s passed
recordStopScore 0.062s passed
recordingStopsAtThe300SecondLimit 0.155s passed
recycleIsIdempotent 0.142s passed
sdkLogSettings 0.043s passed
serverAddressAndTimeouts 0.058s passed
setOnRecorderListenerReplacesTheListener 0.077s passed
soundIntensityWithoutVad 0.059s passed
streamModeFeedsCallerAudio 0.045s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.104s passed
ticksPauseWithTheRecording 0.055s passed
vadEndsTheRecording 0.064s passed
withoutAutoRetryRetryableFailuresAre20009 0.146s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 3b1aae4e8a5b45b18c21be504c8cfc4f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=3b1aae4e8a5b45b18c21be504c8cfc4f 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 9e911eb3ced648bbb3706f2e9a40cd7e 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 3d282adb48004965b4a2af33a7745206 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 940ce968bdd74e83b07fed0cc71a13a3 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 dbf494c289e14dbdbb63dce868889b53 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 461ac6dc357849aca6c5227a7b7608f8 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 2a7b4b2eb0b54dac80665d9093c8c601 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 94cae14d624042c0af5a706479e9a217 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=94cae14d624042c0af5a706479e9a217 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d76a7057424041c1ab10591682a15f35 is evaluated over REST instead
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 feae5793999945b39b1403ac21687e50 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 6438c4cf60ea41daabaa8a314343f087 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=6438c4cf60ea41daabaa8a314343f087 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 c15daaa27ee640e1b19e1ff883cc8851 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 c15daaa27ee640e1b19e1ff883cc8851
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 c15daaa27ee640e1b19e1ff883cc8851
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=c15daaa27ee640e1b19e1ff883cc8851 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 c42317722d1a415a9323c494c086e4ee is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=c42317722d1a415a9323c494c086e4ee errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d2cfc838c2914eef8b9f3d4a8973ceb7 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 7fe33969c0d54e8f8ee61773d48ea125 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 715d0d2effa34982bfa289ba89cf7562 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 8649e0561b2b4bc9afc038abda6d1952 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 3dcd0244e992422a9c6a27d0a6a1e835 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 2fb22c95f58447de8da752752e7d7aa6 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 1500a91dec5045fdb3297a8e40fee61f is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 1500a91dec5045fdb3297a8e40fee61f
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 1500a91dec5045fdb3297a8e40fee61f
W/YuguStCompat: evaluation failed tokenId=1500a91dec5045fdb3297a8e40fee61f errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a9a9c4cf81cd41598d2f3cc411994936 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a9a9c4cf81cd41598d2f3cc411994936 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 936ac33e1ac7415793d3de69c9fd2746 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=936ac33e1ac7415793d3de69c9fd2746 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 135979ad880a43d09bf4908bca9e35bf 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=1651f32b8f984adf896374c1f2f54b35 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=799d1468e2d14f8c85e3ed2d5f9d9637 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks5597565251855022493/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=c14e6b415b284531b2acddba32dc73dd errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=7dbba4da46d340f39f84ac291e9a650d errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=c22a1f56fe6b43f0ad63a1849cbc7cb0 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=a2fec098b27b401782ad14e06b1893ea 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 19eb1d5117eb4e04b3573289c9df20ce 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 bc04630937d349708e90d336fee708e5 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 b1d65ef505d74d4fa19325da96bb56c0 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=b1d65ef505d74d4fa19325da96bb56c0 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f5141988d0ee460781d0e675f84f19eb is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f5141988d0ee460781d0e675f84f19eb 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 bbe13cdc9d114d158d41f5ae9bc71814 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 bbe13cdc9d114d158d41f5ae9bc71814
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 788e05cce0be4fce917e25a7604d3d0d 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 fa8040a2746844ab89c473995223923f 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 02504e3c95014c10a2370bca443b8f32 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 f023f349b5e64bffba9cd535cb95dca6 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 cb215b481db043e8b384674d52e48f62 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 ba55bd9e712c465b8b05dc33b4f4861d is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
W/YuguStCompat: startRecord rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d8cfe6b0f4944093a6e11f89fb8f5e82 is evaluated over REST instead
W/YuguStCompat: existsAudioTrans rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=d8cfe6b0f4944093a6e11f89fb8f5e82 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d62dae3a04ed43b1adff379ecab49a26 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 00c9c796c6dd482481dac3d0400f8b48 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 15e50806cfb04fc281385f74ac13a820 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 1999c7b5ac5a4598a46a1abae309c3e3 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3