Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

4.074s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.049s passed
attachAudioUrlCarriesThePlatformLink 0.134s passed
autoRetryHonoursCustomErrIds 0.052s passed
autoRetryResubmitsWithTheSameTokenId 0.154s passed
busyEngine 0.046s passed
cancelIsSilentAndIdempotent 0.656s passed
captureErrorEndsWithErrorJson 0.048s passed
clearActivityListenerDropsCallbacks 0.351s passed
clearInitListenerDropsPendingCallbacks 0.036s passed
durationTicksAndAutoStop 0.066s passed
existsAudioTransLocalChecks 0.066s passed
existsAudioTransUploadsOtherFormats 0.063s passed
existsAudioTransWithBothListenerTypes 0.056s passed
forceRecordIgnoresVadEnd 0.152s passed
initFailures 0.049s passed
initPostsCallbacksOnMainThread 0.034s passed
initVariantsAndEngineTypes 0.031s passed
invalidSettingsNeverReachTheNetwork 0.074s passed
microphoneFailures 0.088s passed
muteMusicRequestsAudioFocus 0.157s passed
notInitialisedAnswers60007 0.060s passed
paragraphResultHasShengtongStyleDetails 0.052s passed
paramsAndAudioUrlInResult 0.048s passed
pauseAndRestart 0.049s passed
permissionDeniedWithRealAudioRecord 0.078s passed
playbackCallbacks 0.047s passed
protocolErrorFromPlatform 0.081s passed
provisionAndParams 0.035s passed
quickStartAcceptsEitherOrder 0.044s passed
recordFileLocations 0.226s passed
recordStopScore 0.058s passed
recordingStopsAtThe300SecondLimit 0.177s passed
recycleIsIdempotent 0.142s passed
sdkLogSettings 0.036s passed
serverAddressAndTimeouts 0.066s passed
setOnRecorderListenerReplacesTheListener 0.057s passed
soundIntensityWithoutVad 0.058s passed
streamModeFeedsCallerAudio 0.053s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.051s passed
ticksPauseWithTheRecording 0.092s passed
vadEndsTheRecording 0.053s passed
withoutAutoRetryRetryableFailuresAre20009 0.149s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8ca0da3d4ad9403eb625c6f8228941f4 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=8ca0da3d4ad9403eb625c6f8228941f4 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 35aac9ed17e34ebabf3bf0ddbe551203 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=35aac9ed17e34ebabf3bf0ddbe551203 errId=60002: 音频为空
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 fc588b6c17aa4e7f91e6e09e15ad6973 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 1c0cb654466a4bdeb0217405ec1d20b5 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 916fe29e256c43f3aacfce2dde94e118 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 c715ca87dc2c4d05acd81b55456e2b8b 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 b400369394744c4c905ca66e95df129a 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 15792c9204474623a00473804fcf7b43 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=15792c9204474623a00473804fcf7b43 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8dc77f97705840049d8975e71403cbc0 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 b6d5b0a9ecff453eb7138b285935e559 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 fe13e3ddee8c4261a18482817924ced8 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=fe13e3ddee8c4261a18482817924ced8 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 e262e390c95a4cbaa7a71af095975a09 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 e262e390c95a4cbaa7a71af095975a09
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 e262e390c95a4cbaa7a71af095975a09
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=e262e390c95a4cbaa7a71af095975a09 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 bf52abf562f544b2a67ed3cd0e3275cb is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=bf52abf562f544b2a67ed3cd0e3275cb errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a12f1c89bedb4ea1a9f14fc9f2a5048b 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 c56cec7f08ce4b779c19f499e789da26 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 f8f05ad079fb45a48ac6134004e1f63b 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 0a4552e5f2e34cbeabe08aa0e0a05dd0 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 cf3be556eb7e4809ac5625ade725e351 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 515d3d2a439a496091a940bc9e6f790d 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 201eb061951b4640b8d78bd52ccf90d3 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 201eb061951b4640b8d78bd52ccf90d3
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 201eb061951b4640b8d78bd52ccf90d3
W/YuguStCompat: evaluation failed tokenId=201eb061951b4640b8d78bd52ccf90d3 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a9092462e51c411b81f94b6e9cd45e7a is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a9092462e51c411b81f94b6e9cd45e7a 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 df124cee46d544d996a8a0e2d0d9edfe 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 fc430258e70e4b42a826b1a17e860909 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=fc430258e70e4b42a826b1a17e860909 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 6261154ac477464093d87f6b8ea3cc85 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=9d35cffdb04d44dba07fd0bed9c432ae errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=47e402e09f8c4b909107012f6fad5d0b errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks15655942043062046077/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=4431ace0f5bc455a9c7e80ba969d8473 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=5132361f89de48a4a9c0913d95b4401d errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=25b9936fe5834e2389d392c21159dbb7 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=f981c62d426b46008aed3d1aabb19117 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 96546b5d868c4ff1a9452a82d14f2ce3 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 7c89f9c158e74410813ab132a85e3c5f 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 e0f3ff979e454661bf0cd8e8e6f03319 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e0f3ff979e454661bf0cd8e8e6f03319 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f9b00493e7e049a487438eccd6472ad3 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f9b00493e7e049a487438eccd6472ad3 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 e51f1a3a428c4cf1a7ccda211ae34019 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 e51f1a3a428c4cf1a7ccda211ae34019
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 806c9abda0f74b218dd2861ea61e827e 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 c5c0fb92a58f4b428723896e5b9b322e 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 e1b4128cad9c440c966bba89a3678d89 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 e7370cf1216449b7957c09e17c4aa2c3 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 b2fdcad94b3144fe99c908f124db8f30 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 3b9bf82368244be99c0dfe0cfd343ded 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 33b7ee00f1d24301adcd6b4348a5d47a 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 960c696e37744b58a57c11657b0dfaef 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: existsAudioTrans rejected (errId 60008): 引擎正忙,上一次评测未结束
W/YuguStCompat: startRecord rejected: engine is busy (STOP)
W/YuguStCompat: evaluation failed tokenId=960c696e37744b58a57c11657b0dfaef errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 07e4d421b8e042e59f738cdd4927e8ef 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 6ce0db99eb1547c8b8fd668cb8144b9c 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 81ebd1857a714a8fab684c5c1c7ffc60 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 a4c7fec9a8f6464a92230b0c911639e0 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3