Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.369s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.038s passed
attachAudioUrlCarriesThePlatformLink 0.130s passed
autoRetryHonoursCustomErrIds 0.045s passed
autoRetryResubmitsWithTheSameTokenId 0.125s passed
busyEngine 0.033s passed
cancelIsSilentAndIdempotent 0.643s passed
captureErrorEndsWithErrorJson 0.038s passed
clearActivityListenerDropsCallbacks 0.336s passed
clearInitListenerDropsPendingCallbacks 0.024s passed
durationTicksAndAutoStop 0.036s passed
existsAudioTransLocalChecks 0.062s passed
existsAudioTransUploadsOtherFormats 0.044s passed
existsAudioTransWithBothListenerTypes 0.056s passed
forceRecordIgnoresVadEnd 0.146s passed
initFailures 0.029s passed
initPostsCallbacksOnMainThread 0.026s passed
initVariantsAndEngineTypes 0.032s passed
invalidSettingsNeverReachTheNetwork 0.028s passed
microphoneFailures 0.031s passed
muteMusicRequestsAudioFocus 0.137s passed
notInitialisedAnswers60007 0.030s passed
paragraphResultHasShengtongStyleDetails 0.040s passed
paramsAndAudioUrlInResult 0.040s passed
pauseAndRestart 0.039s passed
permissionDeniedWithRealAudioRecord 0.033s passed
playbackCallbacks 0.041s passed
protocolErrorFromPlatform 0.049s passed
provisionAndParams 0.031s passed
quickStartAcceptsEitherOrder 0.036s passed
recordFileLocations 0.206s passed
recordStopScore 0.047s passed
recordingStopsAtThe300SecondLimit 0.127s passed
recycleIsIdempotent 0.151s passed
sdkLogSettings 0.030s passed
serverAddressAndTimeouts 0.057s passed
setOnRecorderListenerReplacesTheListener 0.040s passed
soundIntensityWithoutVad 0.051s passed
streamModeFeedsCallerAudio 0.038s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.035s passed
ticksPauseWithTheRecording 0.038s passed
vadEndsTheRecording 0.045s passed
withoutAutoRetryRetryableFailuresAre20009 0.126s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 985f7bcab6b64bb894461809ecd07416 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=985f7bcab6b64bb894461809ecd07416 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 c5adc372c45c4fa8843c886ad05cb3b9 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 054a7ffd05414e40b291617284f57906 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 65b716e8a5ba4401918bdddc5008ff6a 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 e31a7bd887e24653b4a68fa4056ff823 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 02e74da372544b60a2a96cd3b7535a86 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 06fb772c6afc4c90959283a58df7062e 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 a380959afbce4f2388bda93d75a7a6cf is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a380959afbce4f2388bda93d75a7a6cf 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 82d03ed95b8943c4978ef11187a659dd 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=82d03ed95b8943c4978ef11187a659dd 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 64a40fb5c26d4e5ba0b36760ab667291 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 64a40fb5c26d4e5ba0b36760ab667291
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 64a40fb5c26d4e5ba0b36760ab667291
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=64a40fb5c26d4e5ba0b36760ab667291 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 344c2d0191d84e43b9e3d44dab80ba8d is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=344c2d0191d84e43b9e3d44dab80ba8d 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: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c2bed673bf19424c812618152f52d425 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 88a74c5e9acc498e84527d5ab3b6309d 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 eb03409b1efe47cab4dea4eb9def5df0 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 490677a7614e4aaa8a7e2c6b9cab6a95 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 4a8cca9abaec4ca0a3a171012c66a840 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 4a8cca9abaec4ca0a3a171012c66a840
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 4a8cca9abaec4ca0a3a171012c66a840
W/YuguStCompat: evaluation failed tokenId=4a8cca9abaec4ca0a3a171012c66a840 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7a9d860ba11d41e3b8b4b6800b1708b6 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7a9d860ba11d41e3b8b4b6800b1708b6 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 d03690b3fe424e2a93774a330b1c2cf0 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=d03690b3fe424e2a93774a330b1c2cf0 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId d3b7231c144f4e7795fff5b70a70e4d3 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=9d5848ee97134eafa8e38be589b5e5c2 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=66d5ad2f8f1d48d9b680587a4339cff2 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks1337720630992121647/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=234c2bbbd9844bcb94021de6b416edb7 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=9ee4f3b5a63b4643be4dfb23fc234bbe errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=2bd036ef6b6a41d88093c23a7cd52daa errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=5a40f15a36ea4f9291a9be5f66b7c7ff 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 e4cd72c1ce274fd8b29db30832c758ed 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 6b51dc030e6b47d18f863c759a7f6eb3 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 eada08f55ce649fab6bcb951e0541110 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=eada08f55ce649fab6bcb951e0541110 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e063b10e561b441a8f4c7dc756d016a3 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e063b10e561b441a8f4c7dc756d016a3 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 229742eed521403bb59fe11f6b76c21b 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 229742eed521403bb59fe11f6b76c21b
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 60619e2914ed47aebf05a141d5ecfd6a 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 9ea200030c5e4ea49b23425564920bc5 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 f8c2de23524b45d2b96c9a96e7a5df97 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 1dd2b04b25964d15b23f6246a4277c2a 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 c1594ec1d21a411cb99e37a57370fa37 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 fcb53397fc8d4359b97345fe4bc5152b 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=fcb53397fc8d4359b97345fe4bc5152b errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId eeb23c30c29c48abbeac4d8ea07c9527 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 943626a96f6541c1b79b13c0242f0edc 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 31cb9dcab50f4ec58e38174f10d969b2 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3