Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.515s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.043s passed
attachAudioUrlCarriesThePlatformLink 0.127s passed
autoRetryHonoursCustomErrIds 0.046s passed
autoRetryResubmitsWithTheSameTokenId 0.126s passed
busyEngine 0.040s passed
cancelIsSilentAndIdempotent 0.650s passed
captureErrorEndsWithErrorJson 0.044s passed
clearActivityListenerDropsCallbacks 0.346s passed
clearInitListenerDropsPendingCallbacks 0.032s passed
durationTicksAndAutoStop 0.051s passed
existsAudioTransLocalChecks 0.061s passed
existsAudioTransUploadsOtherFormats 0.046s passed
existsAudioTransWithBothListenerTypes 0.053s passed
forceRecordIgnoresVadEnd 0.145s passed
initFailures 0.032s passed
initPostsCallbacksOnMainThread 0.031s passed
initVariantsAndEngineTypes 0.032s passed
invalidSettingsNeverReachTheNetwork 0.032s passed
microphoneFailures 0.046s passed
muteMusicRequestsAudioFocus 0.143s passed
notInitialisedAnswers60007 0.031s passed
paragraphResultHasShengtongStyleDetails 0.052s passed
paramsAndAudioUrlInResult 0.039s passed
pauseAndRestart 0.043s passed
permissionDeniedWithRealAudioRecord 0.032s passed
playbackCallbacks 0.042s passed
protocolErrorFromPlatform 0.047s passed
provisionAndParams 0.046s passed
quickStartAcceptsEitherOrder 0.039s passed
recordFileLocations 0.202s passed
recordStopScore 0.048s passed
recordingStopsAtThe300SecondLimit 0.131s passed
recycleIsIdempotent 0.136s passed
sdkLogSettings 0.044s passed
serverAddressAndTimeouts 0.070s passed
setOnRecorderListenerReplacesTheListener 0.036s passed
soundIntensityWithoutVad 0.051s passed
streamModeFeedsCallerAudio 0.043s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.041s passed
ticksPauseWithTheRecording 0.041s passed
vadEndsTheRecording 0.048s passed
withoutAutoRetryRetryableFailuresAre20009 0.127s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 200f8d3889fe48bba94bd0d612f4bc07 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=200f8d3889fe48bba94bd0d612f4bc07 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 1871fcd0de394144b72da8bbadd85793 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 68082caf30bc4949a13dc7a9aa07bade is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=68082caf30bc4949a13dc7a9aa07bade errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 34d29be7f25d4256b0332d3a401ed255 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 2ad36fbcfc6647f19abdc591a057633f 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 4e27b53a9c604ab28f243a0560cebb52 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 5de42bad1f6c463eb1ae61ec4f310ac6 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 38a190473e814a0baafc83ee4854c852 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=38a190473e814a0baafc83ee4854c852 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 76240e37c93442278a873f11623162b1 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=76240e37c93442278a873f11623162b1 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 187f90a95e044b6b9809bbf1ff513df3 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 187f90a95e044b6b9809bbf1ff513df3
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 187f90a95e044b6b9809bbf1ff513df3
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=187f90a95e044b6b9809bbf1ff513df3 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 db22d09a9ac242f6b2d4ebced6b0b3de is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=db22d09a9ac242f6b2d4ebced6b0b3de errId=60002: 音频为空
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 0ee6c5630eac4e088cb319aee1ba5414 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 71c3f48e94274cfeb396283751757960 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 c85123c3213d46e4a90d8b6ee136c3e9 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 e2a9a019dcbb4f2c9b777151f1a83d82 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 31c1d5db7f95420ba506ea655aee9099 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 7b726b1dc9104b2eaf966c5f6d7203c2 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 7b726b1dc9104b2eaf966c5f6d7203c2
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 7b726b1dc9104b2eaf966c5f6d7203c2
W/YuguStCompat: evaluation failed tokenId=7b726b1dc9104b2eaf966c5f6d7203c2 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 032e70839e6f47308fef3387877e2dda is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=032e70839e6f47308fef3387877e2dda 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 7ef192353ad74c2bb1d3c439de6b6551 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7ef192353ad74c2bb1d3c439de6b6551 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b57ddcf58c5c4f5192a194e96d8aa49c 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=7eb6bf07029843b7914193605fc177ac errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=5fff4c11a8034a998285c76ecc5c0b7e errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks8339357679357781551/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=8988c692d6624e00aff8b5789caa6a73 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=e2a58a8d047c49d0b4486719ef404177 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=2dc34d87f8c140e8b4ba6dc33d8076fe errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=4f2b490425aa425a9e925bfc401bb884 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 d748fc27775a4ca7ac2f85586db4f285 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 fd57c3719c194b75843f8a0450b34d12 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 e0fe740295ea4d2a9e058c432387e3b4 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e0fe740295ea4d2a9e058c432387e3b4 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 9ca1a6b96185482f95cb64e008245dbb is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=9ca1a6b96185482f95cb64e008245dbb 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 b0ec5a49853e4e74886a26176fad3d2a 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 b0ec5a49853e4e74886a26176fad3d2a
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1b43c33b70a349db9cceec87b073a9cb 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 7fbe1192022d4d3d96e6fa5dc8074dc9 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 88c2255a8ea3443fa62c77d0ec7c6529 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 1c5177408b7c45b8868c01fd320f5893 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 04a0573148b0475a8b71bd9f6362f3e7 is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
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 fae98e94061246d8985100d1e06ea428 is evaluated over REST instead
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=fae98e94061246d8985100d1e06ea428 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId e321d2e6b1ad4c0382702921d7cbecc0 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 3bb2a693261c486a9c5c043fc25d4869 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 a23c724fd1134e35b380c5e226d8158e 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 54671545121a404b8cda85da97f92c09 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3