Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

4.252s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.056s passed
attachAudioUrlCarriesThePlatformLink 0.157s passed
autoRetryHonoursCustomErrIds 0.062s passed
autoRetryResubmitsWithTheSameTokenId 0.135s passed
busyEngine 0.044s passed
cancelIsSilentAndIdempotent 0.726s passed
captureErrorEndsWithErrorJson 0.090s passed
clearActivityListenerDropsCallbacks 0.344s passed
clearInitListenerDropsPendingCallbacks 0.029s passed
durationTicksAndAutoStop 0.044s passed
existsAudioTransLocalChecks 0.063s passed
existsAudioTransUploadsOtherFormats 0.070s passed
existsAudioTransWithBothListenerTypes 0.085s passed
forceRecordIgnoresVadEnd 0.176s passed
initFailures 0.062s passed
initPostsCallbacksOnMainThread 0.037s passed
initVariantsAndEngineTypes 0.049s passed
invalidSettingsNeverReachTheNetwork 0.062s passed
microphoneFailures 0.045s passed
muteMusicRequestsAudioFocus 0.141s passed
notInitialisedAnswers60007 0.043s passed
paragraphResultHasShengtongStyleDetails 0.053s passed
paramsAndAudioUrlInResult 0.051s passed
pauseAndRestart 0.047s passed
permissionDeniedWithRealAudioRecord 0.040s passed
playbackCallbacks 0.063s passed
protocolErrorFromPlatform 0.080s passed
provisionAndParams 0.050s passed
quickStartAcceptsEitherOrder 0.099s passed
recordFileLocations 0.211s passed
recordStopScore 0.095s passed
recordingStopsAtThe300SecondLimit 0.181s passed
recycleIsIdempotent 0.181s passed
sdkLogSettings 0.043s passed
serverAddressAndTimeouts 0.073s passed
setOnRecorderListenerReplacesTheListener 0.045s passed
soundIntensityWithoutVad 0.056s passed
streamModeFeedsCallerAudio 0.059s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.060s passed
ticksPauseWithTheRecording 0.054s passed
vadEndsTheRecording 0.047s passed
withoutAutoRetryRetryableFailuresAre20009 0.144s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7419a2ef5e294d2cad0cf96270250916 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=7419a2ef5e294d2cad0cf96270250916 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 89fa9bff42dd4af9bdfdbb9c76737ac3 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=89fa9bff42dd4af9bdfdbb9c76737ac3 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 25421426a431454e968cb569604140e5 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 62a26d31d1194e12b59968c9c03d0bd9 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 a36371658d9e428db1abe474a1102683 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 cca6f809c3894688a6bb7c25aa003f9b 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 6147c4e5f9ed46639ef6c982885cd49d 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 6731dd7203fc49939504f99f4a52e45c is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=6731dd7203fc49939504f99f4a52e45c errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 987380bd8b0d4873934346df55aff7b8 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 6acef266cc514c258bb3e855389cab51 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 3a8523b729df4a6897859366f19bbd05 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=3a8523b729df4a6897859366f19bbd05 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 71418558a29d4719a2eb28fc9c447f03 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 71418558a29d4719a2eb28fc9c447f03
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 71418558a29d4719a2eb28fc9c447f03
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=71418558a29d4719a2eb28fc9c447f03 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 864b10f87f004976b313136e906197dd is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=864b10f87f004976b313136e906197dd errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 81ffa680d1a44814886da15f04bfb245 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 d664c2dd11964d8e987340b274e20e7b 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 941668f62c2a418580fa41eaf9938987 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 861625d0917c4458b0ee994040b12ee9 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 ef53e761f651454b852382ddb49aac55 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 43156c2b80c24dc6881400422f018692 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 67274cfd7ce54b758050b8b65daa1c51 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 67274cfd7ce54b758050b8b65daa1c51
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 67274cfd7ce54b758050b8b65daa1c51
W/YuguStCompat: evaluation failed tokenId=67274cfd7ce54b758050b8b65daa1c51 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4100347e0a6b4cfcb9d4b47d250251b8 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=4100347e0a6b4cfcb9d4b47d250251b8 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 72c1a00b54d84dff80027fa1cc206e46 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 37fd15e91ab1454aa8877322505bec99 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 20b67f88130d4b00a2ceb47d93b51b72 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=20b67f88130d4b00a2ceb47d93b51b72 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId fa1665e0517a42ddb1852e0dc2cc6dfc 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=8fa1308c00434327b6e42199bbef456f errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=db846406da42407486098d02ae6dfcdc errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks10533244570662735919/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=6f0814d5238d4e93a6a447c3d5fe8e8e errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=1a976d776fc746989bb4203a8009dab6 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=60c4cef45d354e55b79f2537363e7897 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=4fcf73d25cd54534a92c4c8aa105aadc 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 9eebeda936c14f31b6bf38ac7aeebd40 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 e0d8e0c67e334937acbc00981340171c 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 c23b32304a7a4c42a7d6247b671ab2aa is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=c23b32304a7a4c42a7d6247b671ab2aa errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=0e19a5602ea1456b8a0c86ea112ee012 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 648568104af9400487b44498611142ba 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 648568104af9400487b44498611142ba
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId f975ed61471e4a23bcd7c2482ff8ebfc 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 af83c48af8914cf3a5c377e8934de6a2 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 39a0bfbf10994784a67ff530cdd026a0 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 4c40211f3dcc43dc9bf78f5dc98265fe 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 9d870dfe838b4770b8aa2fa45a81af08 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 5214b649585b4872b990757522e463a0 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 42a2a516a76b454daaf8e099749718e1 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 072cbe54ab254ba9b21840c02f322db6 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=072cbe54ab254ba9b21840c02f322db6 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 139fe1754d3844a0ae75541613c14162 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 ac4373076ce64b269e3dcba8c624be87 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 91be1675b32340f89a78b5cf6dd39c57 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 9a96b80efd4c426590aedc083080f1f8 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3