Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

3.335s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.035s passed
attachAudioUrlCarriesThePlatformLink 0.127s passed
autoRetryHonoursCustomErrIds 0.039s passed
autoRetryResubmitsWithTheSameTokenId 0.123s passed
busyEngine 0.040s passed
cancelIsSilentAndIdempotent 0.642s passed
captureErrorEndsWithErrorJson 0.038s passed
clearActivityListenerDropsCallbacks 0.340s passed
clearInitListenerDropsPendingCallbacks 0.027s passed
durationTicksAndAutoStop 0.045s passed
existsAudioTransLocalChecks 0.058s passed
existsAudioTransUploadsOtherFormats 0.042s passed
existsAudioTransWithBothListenerTypes 0.051s passed
forceRecordIgnoresVadEnd 0.143s passed
initFailures 0.032s passed
initPostsCallbacksOnMainThread 0.031s passed
initVariantsAndEngineTypes 0.031s passed
invalidSettingsNeverReachTheNetwork 0.031s passed
microphoneFailures 0.031s passed
muteMusicRequestsAudioFocus 0.139s passed
notInitialisedAnswers60007 0.037s passed
paragraphResultHasShengtongStyleDetails 0.033s passed
paramsAndAudioUrlInResult 0.038s passed
pauseAndRestart 0.032s passed
permissionDeniedWithRealAudioRecord 0.034s passed
playbackCallbacks 0.037s passed
protocolErrorFromPlatform 0.043s passed
provisionAndParams 0.027s passed
quickStartAcceptsEitherOrder 0.041s passed
recordFileLocations 0.197s passed
recordStopScore 0.069s passed
recordingStopsAtThe300SecondLimit 0.120s passed
recycleIsIdempotent 0.130s passed
sdkLogSettings 0.026s passed
serverAddressAndTimeouts 0.052s passed
setOnRecorderListenerReplacesTheListener 0.034s passed
soundIntensityWithoutVad 0.051s passed
streamModeFeedsCallerAudio 0.044s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.040s passed
ticksPauseWithTheRecording 0.038s passed
vadEndsTheRecording 0.041s passed
withoutAutoRetryRetryableFailuresAre20009 0.126s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId ac97cd1e4ea445f6b36eb1e3a5582dfc is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=ac97cd1e4ea445f6b36eb1e3a5582dfc 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 95ac651123c84615a4adf56c11615af6 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 a5ccc9041e824cd193b2e13978f270a7 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 ee8a912482124aaa987d0f8b8ea906e9 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 32a4a506ee3b4af8a85f15acfa1dfb63 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 f8e2b13cf8fd48009672522f39beb32f 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 75ad87770769481aba74ea0dbd8ac131 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 0f408f91eac946c3a04e02bd660aaf16 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=0f408f91eac946c3a04e02bd660aaf16 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 64c2fb1b26124ba9bedf1a06aa1a862d 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=64c2fb1b26124ba9bedf1a06aa1a862d 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 221725d8d1304067b34a46fbdc5b315d 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 221725d8d1304067b34a46fbdc5b315d
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 221725d8d1304067b34a46fbdc5b315d
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=221725d8d1304067b34a46fbdc5b315d 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 89f85edf9230444daba68401bcd58de2 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=89f85edf9230444daba68401bcd58de2 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 b68facb13932443197ad327799403897 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 18fbbca7c91c44768c11c62f23e90d8d 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 f7b6bb3dd3c04671ad92c8002f647edc 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 503fe0b978cf4f3ba228bd3d25ac4f01 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 a017a57d7c004ba4ab9207cf8190ea4e is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId a017a57d7c004ba4ab9207cf8190ea4e
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId a017a57d7c004ba4ab9207cf8190ea4e
W/YuguStCompat: evaluation failed tokenId=a017a57d7c004ba4ab9207cf8190ea4e errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 95a002806c19452aa48ee20ddc942d2e is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=95a002806c19452aa48ee20ddc942d2e 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 fb5ecc982633455db1d3eb7b70148623 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=fb5ecc982633455db1d3eb7b70148623 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 74ddd2055b7447459b2b6b6ac17a9048 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=b70893bd8cde4f40b8aeefde96e109e5 errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=9d02e6c532cf48a88f253dfba737ab9b errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks11821665067038168312/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=7dcb1feedf7f475680819175a16072d5 errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=1ea3129cfde945bfb5f8a31401c0530e errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=e846df8d6115490596250c6dd4946c80 errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=69537fd740ce4c3ca726b2cdd1cb2f0e 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 656b36a68ae441b1b6684e54b8f458ad 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 ae53d5c8a27f416fab37228ed42793ac 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 84d7046fbf014a978fd1f438e5ce30f2 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=84d7046fbf014a978fd1f438e5ce30f2 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId c2fbda472cb14b75a17ad0432c74b084 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=c2fbda472cb14b75a17ad0432c74b084 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 d092d43d94f04025aabaaff6ce4b7929 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 d092d43d94f04025aabaaff6ce4b7929
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7100a33e398c4ff5af692af753569d5b 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 64fb08f5319d4f44bb876e015f9da941 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 554e18d5686d4b10ab713e636a44b9e0 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 3d5d34b30ae640518a2a36dc4bde2be7 is evaluated over REST instead
W/YuguStCompat: startRecord rejected: engine is busy (RECORDING)
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 69d5fbe50c98467caeca14ab9f0314ee is evaluated over REST instead
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=69d5fbe50c98467caeca14ab9f0314ee errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 42517f26218846129bb828e0bdf96492 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 9b2225b197ef4b59a41e2be8421e3e2b 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 30387d69591140f8a0fc6f8a0c008480 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 985e9effe5024b69b4d359e8bdb08f54 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3