Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

4.334s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.043s passed
attachAudioUrlCarriesThePlatformLink 0.138s passed
autoRetryHonoursCustomErrIds 0.088s passed
autoRetryResubmitsWithTheSameTokenId 0.232s passed
busyEngine 0.047s passed
cancelIsSilentAndIdempotent 0.669s passed
captureErrorEndsWithErrorJson 0.068s passed
clearActivityListenerDropsCallbacks 0.387s passed
clearInitListenerDropsPendingCallbacks 0.039s passed
durationTicksAndAutoStop 0.049s passed
existsAudioTransLocalChecks 0.074s passed
existsAudioTransUploadsOtherFormats 0.051s passed
existsAudioTransWithBothListenerTypes 0.073s passed
forceRecordIgnoresVadEnd 0.176s passed
initFailures 0.041s passed
initPostsCallbacksOnMainThread 0.042s passed
initVariantsAndEngineTypes 0.041s passed
invalidSettingsNeverReachTheNetwork 0.042s passed
microphoneFailures 0.043s passed
muteMusicRequestsAudioFocus 0.188s passed
notInitialisedAnswers60007 0.043s passed
paragraphResultHasShengtongStyleDetails 0.069s passed
paramsAndAudioUrlInResult 0.046s passed
pauseAndRestart 0.083s passed
permissionDeniedWithRealAudioRecord 0.050s passed
playbackCallbacks 0.053s passed
protocolErrorFromPlatform 0.052s passed
provisionAndParams 0.041s passed
quickStartAcceptsEitherOrder 0.085s passed
recordFileLocations 0.252s passed
recordStopScore 0.092s passed
recordingStopsAtThe300SecondLimit 0.165s passed
recycleIsIdempotent 0.148s passed
sdkLogSettings 0.052s passed
serverAddressAndTimeouts 0.082s passed
setOnRecorderListenerReplacesTheListener 0.053s passed
soundIntensityWithoutVad 0.069s passed
streamModeFeedsCallerAudio 0.061s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.059s passed
ticksPauseWithTheRecording 0.050s passed
vadEndsTheRecording 0.053s passed
withoutAutoRetryRetryableFailuresAre20009 0.145s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId af26d4bb402a420a9f6244485f1b8652 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=af26d4bb402a420a9f6244485f1b8652 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 4021c692763f41f5b94f796351c9f420 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 505d7b0bd59749e898e1a3657e333baa 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 c014073044494f30bf75da74dadd386f 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 f84df99e7bed4a0190fad3412ec7e15f 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 0ee0cfb2ff444e14868a1053f9c77eb6 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 62feed1543fe45b78cb463312b1a397f 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 ad8f5e2b4a524a87a6f97d7fb5f0f442 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ad8f5e2b4a524a87a6f97d7fb5f0f442 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 93ac7031f53141ce9d70a7cba9394759 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 7124814713be4c769edeb26590c48dfb 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 d4bd01102e234193a8ad8f44ff2a3cf0 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=d4bd01102e234193a8ad8f44ff2a3cf0 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 4a06424e837449fb8bd0218789cb4f29 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 4a06424e837449fb8bd0218789cb4f29
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 4a06424e837449fb8bd0218789cb4f29
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=4a06424e837449fb8bd0218789cb4f29 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 e385cb0b7ddc479799e8d6960baa36a8 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e385cb0b7ddc479799e8d6960baa36a8 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 83aaa9e57f8841c88f69005c88490926 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 c022cbb8539442f38da85f43c7aa95e7 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 c70fca66740043738d702ab7582a7a0f 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 602c572dd4bd41b18127dc2b45e7237d 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 9ff5048dd6d546ec814c670af7999c74 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 2d6e484bedb64c6b8059cc58d9642a45 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 e94d84cdb89e425ba3c08644ec11600d is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId e94d84cdb89e425ba3c08644ec11600d
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId e94d84cdb89e425ba3c08644ec11600d
W/YuguStCompat: evaluation failed tokenId=e94d84cdb89e425ba3c08644ec11600d errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 78d0316a30064622b1c0619cf52180b6 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=78d0316a30064622b1c0619cf52180b6 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f15172f5a1c34a82b821643922892fd1 is evaluated over REST instead
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 ccf55fc77fd0438db0f95e4d65b64e02 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ccf55fc77fd0438db0f95e4d65b64e02 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4ae6d3dffcea47bd9bd53abfa1b0ed96 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=49bc231259e340c68aefac24884697b0 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=3e3028ce3cf741ccb3991e71805f75a4 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks8008652984727882013/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=919dd5c1316b41a78a7c6690719d11cf errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=c6c83b81543a44f09dfe5813f869d3f7 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=79ab08f3d64a45b78e6b0080e99aff77 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=fee946a321af4b63ba6700e1526b1c68 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 51ae1bad1f754d0193798416c21058b3 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 48ba89eb94c847b3b8712bebb977e9bb 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 d4ece78047cb41698766b73fe4525d93 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=d4ece78047cb41698766b73fe4525d93 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 82b8fae81b4d426fa4ad1c8f8d8cc4c7 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=82b8fae81b4d426fa4ad1c8f8d8cc4c7 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 8129cbf437524618a70c1ea6bb558221 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 8129cbf437524618a70c1ea6bb558221
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 1eca09db61524275b3e00cfce240b4b3 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 2f76c07ca31941a6aa3b293f0280bf1d 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 1f32758c94464f6c8d85e7886239ba37 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 19f0af59d1a94769b01e0e3847726280 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 139baaf0ce5d4d42b2a6e65a0d8c523d 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 1247c76f482f488cb20ae26d303bc891 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 871fd8a9bd8746dab177ee1166e3c229 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=871fd8a9bd8746dab177ee1166e3c229 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId cf31520f858149ad965bf0342073bba7 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 ae74c0331793404aa4f51a379ca1835d 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 0ea8893733364480801105ebfab12cdc 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 37d1c010b3ad4c82a7564fdc34e8be17 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3