Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.368s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.035s passed
attachAudioUrlCarriesThePlatformLink 0.124s passed
autoRetryHonoursCustomErrIds 0.042s passed
autoRetryResubmitsWithTheSameTokenId 0.116s passed
busyEngine 0.037s passed
cancelIsSilentAndIdempotent 0.650s passed
captureErrorEndsWithErrorJson 0.038s passed
clearActivityListenerDropsCallbacks 0.337s passed
clearInitListenerDropsPendingCallbacks 0.025s passed
durationTicksAndAutoStop 0.034s passed
existsAudioTransLocalChecks 0.058s passed
existsAudioTransUploadsOtherFormats 0.041s passed
existsAudioTransWithBothListenerTypes 0.049s passed
forceRecordIgnoresVadEnd 0.151s passed
initFailures 0.033s passed
initPostsCallbacksOnMainThread 0.027s passed
initVariantsAndEngineTypes 0.028s passed
invalidSettingsNeverReachTheNetwork 0.026s passed
microphoneFailures 0.034s passed
muteMusicRequestsAudioFocus 0.137s passed
notInitialisedAnswers60007 0.026s passed
paragraphResultHasShengtongStyleDetails 0.038s passed
paramsAndAudioUrlInResult 0.039s passed
pauseAndRestart 0.035s passed
permissionDeniedWithRealAudioRecord 0.030s passed
playbackCallbacks 0.056s passed
protocolErrorFromPlatform 0.040s passed
provisionAndParams 0.026s passed
quickStartAcceptsEitherOrder 0.039s passed
recordFileLocations 0.195s passed
recordStopScore 0.047s passed
recordingStopsAtThe300SecondLimit 0.188s passed
recycleIsIdempotent 0.133s passed
sdkLogSettings 0.028s passed
serverAddressAndTimeouts 0.059s passed
setOnRecorderListenerReplacesTheListener 0.034s passed
soundIntensityWithoutVad 0.046s passed
streamModeFeedsCallerAudio 0.041s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.036s passed
ticksPauseWithTheRecording 0.041s passed
vadEndsTheRecording 0.041s passed
withoutAutoRetryRetryableFailuresAre20009 0.128s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 603061cff5964219af49a071c9c405cd is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=603061cff5964219af49a071c9c405cd 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 440f8559a6d0492386312283e7f701c1 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 f65db282fdd64efdab1a5088f6f3cb6d 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 f31e42fadfaa432bb2c11ba5b54c6550 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 7ed3cfc61d44415b9fea12f5ea1525f4 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 59a3fa915fe44517a1696248e18dd396 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 5b483a10b2d94a629f3103491d2df4f1 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 5685386d742d46f8942014dcc515e93f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=5685386d742d46f8942014dcc515e93f 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 0c27bdcc7512458bb946a0400db65532 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=0c27bdcc7512458bb946a0400db65532 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 4d36939f2a444e4a92a5203b625dced9 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 4d36939f2a444e4a92a5203b625dced9
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 4d36939f2a444e4a92a5203b625dced9
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=4d36939f2a444e4a92a5203b625dced9 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 ebb20268c211402185b12c75bdff5023 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ebb20268c211402185b12c75bdff5023 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 d4502a93be5642fa97713db581690c8e 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 a63c9755d8a749238cbc6a962f84e75a 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 76cb964680134cdfb743a5b3929a7d90 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 2a92c3699f30491db9dc6a9f98474a45 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 337cfcb263d34bf691386c4a3b052473 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 337cfcb263d34bf691386c4a3b052473
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 337cfcb263d34bf691386c4a3b052473
W/YuguStCompat: evaluation failed tokenId=337cfcb263d34bf691386c4a3b052473 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4faefdb675754107a2c01b513f8c363c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=4faefdb675754107a2c01b513f8c363c 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 7a02002960204d5a85d1856e7a49b435 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 7bdc8d4a450a46b2a3fc50c491c3cc5a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7bdc8d4a450a46b2a3fc50c491c3cc5a errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f14fa7665dd1428fb88b70d6f5fadcaf 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=03cc089ebae841e7b14138f4ff3d6e05 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=902b74f495414162a594d17b6e2cedd2 errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks5413491753102750898/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=e1d6169c49c74bed8920697856e0847e errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=0ae775b348fe4b51b649b96ee0e1349f errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=d04861d596ce4192b1de84b35f3f5037 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=3566c835983c49eab1a46c055363513f 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 c1e3b099d5b64cc68d15f5900e347cbf 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 dadd631552ce43c4b510a366548e1983 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 09dc451ffb40424cad1f30eb140e258e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=09dc451ffb40424cad1f30eb140e258e errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 3f2df432ad1f4ce98c43b456ba67039f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=3f2df432ad1f4ce98c43b456ba67039f 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 e53ddbd4daab4b2aa7bccec262d1b96f 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 e53ddbd4daab4b2aa7bccec262d1b96f
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c3feb51e4c604afea8d0239938b7ff5d 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 94147712480c470782f7fadb93febe39 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 afe5e78b0ff145b3bd05c832c65e54db 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 c3cf491be0d24cb7b258ded866d5cae0 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 6951226c5f4b401986148b3079aa8455 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 7deb165abb704ffa9601357097d7466c 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=7deb165abb704ffa9601357097d7466c errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 553364bddfc44085a0c95e528c692ea1 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 b6fd611df8d246519774b5404a1224c0 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 7b485e89c81f4db59f1039f38a1f2059 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 a4b474dd79d543f48ef5568b5f0b4e77 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3