Class com.stkouyu.SkEgnManagerTest

42

tests

0

failures

0

ignored

4.644s

duration

100%

successful

Tests

Test Duration Result
activeAndReleaseMic 0.063s passed
attachAudioUrlCarriesThePlatformLink 0.173s passed
autoRetryHonoursCustomErrIds 0.062s passed
autoRetryResubmitsWithTheSameTokenId 0.149s passed
busyEngine 0.074s passed
cancelIsSilentAndIdempotent 0.701s passed
captureErrorEndsWithErrorJson 0.058s passed
clearActivityListenerDropsCallbacks 0.361s passed
clearInitListenerDropsPendingCallbacks 0.082s passed
durationTicksAndAutoStop 0.080s passed
existsAudioTransLocalChecks 0.080s passed
existsAudioTransUploadsOtherFormats 0.064s passed
existsAudioTransWithBothListenerTypes 0.070s passed
forceRecordIgnoresVadEnd 0.199s passed
initFailures 0.042s passed
initPostsCallbacksOnMainThread 0.053s passed
initVariantsAndEngineTypes 0.035s passed
invalidSettingsNeverReachTheNetwork 0.045s passed
microphoneFailures 0.099s passed
muteMusicRequestsAudioFocus 0.155s passed
notInitialisedAnswers60007 0.037s passed
paragraphResultHasShengtongStyleDetails 0.051s passed
paramsAndAudioUrlInResult 0.049s passed
pauseAndRestart 0.052s passed
permissionDeniedWithRealAudioRecord 0.052s passed
playbackCallbacks 0.054s passed
protocolErrorFromPlatform 0.069s passed
provisionAndParams 0.039s passed
quickStartAcceptsEitherOrder 0.050s passed
recordFileLocations 0.312s passed
recordStopScore 0.100s passed
recordingStopsAtThe300SecondLimit 0.263s passed
recycleIsIdempotent 0.153s passed
sdkLogSettings 0.074s passed
serverAddressAndTimeouts 0.073s passed
setOnRecorderListenerReplacesTheListener 0.055s passed
soundIntensityWithoutVad 0.055s passed
streamModeFeedsCallerAudio 0.058s passed
streamPauseDropsAudioAndEmptyStreamIs60002 0.079s passed
ticksPauseWithTheRecording 0.101s passed
vadEndsTheRecording 0.068s passed
withoutAutoRetryRetryableFailuresAre20009 0.155s passed

Standard error

W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId a431991189d24a238ce7aa9b5479991f is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=a431991189d24a238ce7aa9b5479991f 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 fdfe2ef2dcde4acfa111116d73e36def 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 af38c302b5674c4bb8edc204b4552f51 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=af38c302b5674c4bb8edc204b4552f51 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 686c357267c64896bc63572175021c0b 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 f70e2a4885f14223ba230c42dc709fde 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 f2265ce6be704c0293c243e64363a81b 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 368f579f97cd449583485061de794aeb 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 644c4aec21e64ca7a42274be857e16a4 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=644c4aec21e64ca7a42274be857e16a4 errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 32746e969d0341dbbcef15993518bf8a 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 02272cb54126416c823f7af7ef745a52 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=02272cb54126416c823f7af7ef745a52 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 4c14775a282c45569f4b4585546cb7a8 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 4c14775a282c45569f4b4585546cb7a8
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 4c14775a282c45569f4b4585546cb7a8
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=4c14775a282c45569f4b4585546cb7a8 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 e7cb5c7ed9bb4de78ea0ce0ea60ca6c2 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=e7cb5c7ed9bb4de78ea0ce0ea60ca6c2 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 8d0df7db76174d5092751b69be7632d6 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 b9ec92deda7a4e8fa42e5fb0cbac3eb8 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 bee7273013d2485ba5661421291819e3 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 e581f9c1e913410a8e35b713775d302e 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 af5a37b926cb428ba7bf50372f5d6dd8 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 4fa8a5b32e264834b125dd36c7816442 is evaluated over REST instead
W/YuguStCompat: autoRetry 1/2 for errId 40001 in 227 ms, same tokenId 4fa8a5b32e264834b125dd36c7816442
W/YuguStCompat: autoRetry 2/2 for errId 40001 in 444 ms, same tokenId 4fa8a5b32e264834b125dd36c7816442
W/YuguStCompat: evaluation failed tokenId=4fa8a5b32e264834b125dd36c7816442 errId=40001: bad
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId dd41f68809494cc1a12ca349706ea69d is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=dd41f68809494cc1a12ca349706ea69d 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 0267705cf73b4102901836b3dcf0bc2c 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 f03683ca53c64b8eadb54b77eae1ed77 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=f03683ca53c64b8eadb54b77eae1ed77 errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 7b1f868489294b4a8de7a5d99e2aa7af 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=fac9a3dfe3ac4f16b01d115f40f1858b errId=60001: 音频文件不存在或不可读: null
W/YuguStCompat: evaluation failed tokenId=8b596f2e58c24663a1d9d22a6fe73c2f errId=60001: 音频文件不存在或不可读: /tmp/robolectric-SkEgnManagerTest_existsAudioTransLocalChecks6714405911721618951/com.shengzhiai.yugu.stcompat.test-dataDir/cache/missing.wav
W/YuguStCompat: evaluation failed tokenId=f09044fa12954733aef9d7261ffaab5c errId=60002: 音频为空
W/YuguStCompat: evaluation failed tokenId=6efae4b7f6ff404ebaf4e1e8832d5933 errId=60005: 音频短于 1 秒
W/YuguStCompat: evaluation failed tokenId=e31bed48c51e4259a0e40b35cc0d8a2d errId=60009: 音频大于 50 MB 或长于 300 秒
W/YuguStCompat: evaluation failed tokenId=132b7834aa18409d9f6748d0bba22af0 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 4d40b80da5e64c5b9b739b1bf660f979 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 b3a2ca6d863348579b5e096139f44ae6 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 2b0716fcf41a4637bf5bbdfe26d226be is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=2b0716fcf41a4637bf5bbdfe26d226be errId=60002: 音频为空
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId cc85c518945840078fb09db0d7783c19 is evaluated over REST instead
W/YuguStCompat: evaluation failed tokenId=cc85c518945840078fb09db0d7783c19 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 44daa78cb5764cfe92b196afbb3e3e09 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 44daa78cb5764cfe92b196afbb3e3e09
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId b1186802b30c45b388b172f98e038888 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 441a5050cd414f22a5687581ca4fe53b 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 13c5981054e64f6b98c6108479821f9d 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 8ff4eab6ee224723896661c41e34c679 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 a90fefc42bf24143997821be8d4e22bd 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 f0de67bd35b24cd5951ab68d7b11e66c 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 b98e261d4643430ba3b5346397f27c2f 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=b98e261d4643430ba3b5346397f27c2f errId=60005: 音频短于 1 秒
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 8c2e7cb381fe4dd897565bfd9c8fdb34 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 85284506f9ce4ef586d5713f5e3ba12d 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 41e057f24d5b472eb358dc3cfd12a7e6 is evaluated over REST instead
E/YuguStCompat: recording failed (errId 60004): microphone read failed with code -3