Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.357s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.035s passed
attachAudioUrlCarriesThePlatformLink 0.123s passed
autoRetryHonoursCustomErrIds 0.051s passed
autoRetryResubmitsWithTheSameTokenId 0.120s passed
busyEngine 0.054s passed
cancelIsSilentAndIdempotent 0.649s passed
captureErrorEndsWithErrorJson 0.038s passed
clearActivityListenerDropsCallbacks 0.337s passed
clearInitListenerDropsPendingCallbacks 0.030s passed
durationTicksAndAutoStop 0.036s passed
existsAudioTransLocalChecks 0.065s passed
existsAudioTransUploadsOtherFormats 0.042s passed
existsAudioTransWithBothListenerTypes 0.051s passed
forceRecordIgnoresVadEnd 0.137s passed
initFailures 0.034s passed
initPostsCallbacksOnMainThread 0.027s passed
initVariantsAndEngineTypes 0.030s passed
invalidSettingsNeverReachTheNetwork 0.028s passed
microphoneFailures 0.035s passed
muteMusicRequestsAudioFocus 0.140s passed
notInitialisedAnswers60007 0.025s passed
paragraphResultHasShengtongStyleDetails 0.041s passed
paramsAndAudioUrlInResult 0.038s passed
pauseAndRestart 0.038s passed
permissionDeniedWithRealAudioRecord 0.036s passed
playbackCallbacks 0.043s passed
protocolErrorFromPlatform 0.046s passed
provisionAndParams 0.033s passed
quickStartAcceptsEitherOrder 0.031s passed
recordFileLocations 0.201s passed
recordStopScore 0.043s passed
recordingStopsAtThe300SecondLimit 0.111s passed
recycleIsIdempotent 0.143s passed
sdkLogSettings 0.035s passed
serverAddressAndTimeouts 0.050s passed
setOnRecorderListenerReplacesTheListener 0.035s passed
soundIntensityWithoutVad 0.048s passed
streamModeFeedsCallerAudio 0.041s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.041s passed
ticksPauseWithTheRecording 0.050s passed
vadEndsTheRecording 0.044s 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 8ff32d80993040348a365041bb12fdc3 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8ff32d80993040348a365041bb12fdc3 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 765f4ea3d7714760b5a88dbd9b70b317 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 38653f3c3add413ea5a405052749d64c 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 b3c7b3c9ee0b453480714261173bc329 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 732aa86a10ac46be93f7ec20544b1f03 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 8cdc928385e7495e99576f23c4d1ceed 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 75421e89c7334c3498570badacea60aa 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 e559a5c4f1a74936967cf593662da021 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e559a5c4f1a74936967cf593662da021 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 28ba7feb72364bffa6bdca9dc7d178fe 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=28ba7feb72364bffa6bdca9dc7d178fe 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 158ccf6dee7e48ddb6f1a502ba09361d 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 158ccf6dee7e48ddb6f1a502ba09361d
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 158ccf6dee7e48ddb6f1a502ba09361d
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=158ccf6dee7e48ddb6f1a502ba09361d 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 671bfe9c123848938070976a52a1d554 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=671bfe9c123848938070976a52a1d554 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 51d6770aa5df43bb993cb3ce2487b6a9 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 a14be4a6e3a44e7fb5cdd171bcc872e6 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 0a376659827240c1bbc1eb0182ef5e7d 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 3ba722dd09294997a6bb67e01d01f889 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 ca2a7c7b735545ad81ae48e8a33df907 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 c0e98789692e4029a25fe989b46d9b4a is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId c0e98789692e4029a25fe989b46d9b4a
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId c0e98789692e4029a25fe989b46d9b4a
W/YuguStCompat: evaluation failed tokenId=c0e98789692e4029a25fe989b46d9b4a errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId be097ca918d444b3b81491074f348179 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=be097ca918d444b3b81491074f348179 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 521ad4021ef74db893463165cd07729d is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=521ad4021ef74db893463165cd07729d errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ceec2ce7465c4d2d98c8593666076c73 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=36b6dd2813e54f67a78a23051a88dfdc errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=0a185f770174497892d913b897ed079a errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks16560903076630581034/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=387b044cddd54a95b2105b976304d290 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=5cc547aaff344d4eab33ddfe51b8ce60 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=4bc3875942384c9b8693e338b99195da errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=a843ab52c75d425bbd01a78be9c6abb5 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 1e30d6ad66ff4f2eb0e9d17490eb2b43 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 f39cf79e387c49c19dd3a58bd7756f08 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 f130214d04a042d5a09d6c38dd2ee424 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f130214d04a042d5a09d6c38dd2ee424 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 390445eed8984d3b97f8fb64a4ecfbe1 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=390445eed8984d3b97f8fb64a4ecfbe1 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 1f817d8ba8354b2d9673b7fd95ff1fcb 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 1f817d8ba8354b2d9673b7fd95ff1fcb
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b8f183a303f2494e89734fca213da0b6 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 87cc25b899994cffb985a26fcb1829f7 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 876fd82c95cb48629c15c5f2dd2c4d09 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 cbe1bd5d96f044c3834b1e1e13ffc471 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 6c7af04bfdc7455398d02c7c3d7a47d9 is evaluated over REST instead
W/YuguStCompat: existsAudioTrans rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=6c7af04bfdc7455398d02c7c3d7a47d9 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId da04170926ad4cacb578a99f8356cd18 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 3935d35f9904493d900dcd7d16d3e247 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 3aff5a3883db4312a07c9694995c0c96 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 2a523bf78c944058ac53ffdb25e57bf7 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3