Class com.stkouyu.StreamUploadTest

11

tests

0

failures

0

ignored

0.959s

duration

100%

successful

Tests

Test Duration Result
callerFedStreamStreamsByDefault 0.065s passed
channelFailureBeforeEndFallsBackWithTheSameTokenId 0.068s passed
engineSettingLogOptionsTakeEffectAlsoAfterInit 0.078s passed
existsAudioTransKeepsTheFileUpload 0.045s passed
microphoneRecordingStreamsByDefault 0.088s passed
restAndErrorSummaries 0.110s passed
skegnAsksForTimingAndRemovesIt 0.036s passed
streamUploadOffUploadsAfterStopAsIn210 0.081s passed
summaryLineAndStagesWithoutSecrets 0.078s passed
theTimingObjectNeverReachesTheApp 0.122s passed
timingIsAskedForOnlyAtInfoOrDebug 0.188s passed

Standard error

I/YuguStCompat: recording started tokenId=a8054c8abfcc4c34bb286fc0da83d9e6 coreType=sent.eval.cn (stream) (streaming upload)
I/YuguStCompat: realtime round tokenId=a8054c8abfcc4c34bb286fc0da83d9e6 over wss://open.shengzhiai.com/sent.eval.cn
I/YuguStCompat: recording ended tokenId=a8054c8abfcc4c34bb286fc0da83d9e6 pcmBytes=61440
I/YuguStCompat: result tokenId=a8054c8abfcc4c34bb286fc0da83d9e6 connections=1
I/YuguStCompat: timing tokenId=a8054c8abfcc4c34bb286fc0da83d9e6 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=1ms wait=0ms download=0ms parse=1ms deliver=3ms handshake=0ms queued=0B final=11237B wire=11237B
I/YuguStCompat: engine ready: appKey=test*** base=https://open.shengzhiai.com version=yugu-stkouyu-compat/2.3.0 (api 1.0.62)
I/YuguStCompat: recording started tokenId=9e9d1ccd5bb448ed8e675449e9b3b8f3 coreType=sent.eval.cn (stream) (upload after stop)
I/YuguStCompat: recording ended tokenId=9e9d1ccd5bb448ed8e675449e9b3b8f3 pcmBytes=61440
I/YuguStCompat: result tokenId=9e9d1ccd5bb448ed8e675449e9b3b8f3 attempts=1
I/YuguStCompat: timing tokenId=9e9d1ccd5bb448ed8e675449e9b3b8f3 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=2ms attempts=1 sent=- body=11237B wire=- server.total=812ms server.engine=700ms server.platform=112ms
I/YuguStCompat: recording started tokenId=aa6cc26af9904730bddf4e954265e9ae coreType=sent.eval.cn (stream) (upload after stop)
I/YuguStCompat: recording ended tokenId=aa6cc26af9904730bddf4e954265e9ae pcmBytes=61440
W/YuguStCompat: evaluation failed tokenId=aa6cc26af9904730bddf4e954265e9ae errId=40001: bad
I/YuguStCompat: timing tokenId=aa6cc26af9904730bddf4e954265e9ae recordId=- mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=- deliver=- attempts=1 sent=- body=56B wire=- errId=40001
I/YuguStCompat: session cancelled tokenId=aa6cc26af9904730bddf4e954265e9ae
I/YuguStCompat: engine ready: appKey=test*** base=https://open.shengzhiai.com version=yugu-stkouyu-compat/2.3.0 (api 1.0.62)
I/YuguStCompat: recording started tokenId=b99c20bd6f0e41309b288a78e94ed44e coreType=sent.eval.cn (stream) (streaming upload)
I/YuguStCompat: realtime round tokenId=b99c20bd6f0e41309b288a78e94ed44e over wss://open.shengzhiai.com/sent.eval.cn
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +1ms ws.connect
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +1ms stop
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +1ms ws.handshake no extension
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +1ms ws.param
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +1ms ws.audio.first
I/YuguStCompat: recording ended tokenId=b99c20bd6f0e41309b288a78e94ed44e pcmBytes=61440
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +2ms ws.end.queued queued=0B
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +3ms ws.final.first
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +3ms ws.final bytes=11432 wire=2345 deflate
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +3ms ws.end
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +5ms parsed
I/YuguStCompat: result tokenId=b99c20bd6f0e41309b288a78e94ed44e connections=1
D/YuguStCompat: stage tokenId=b99c20bd6f0e41309b288a78e94ed44e +7ms delivered
I/YuguStCompat: timing tokenId=b99c20bd6f0e41309b288a78e94ed44e recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=1ms wait=0ms download=0ms parse=1ms deliver=2ms handshake=0ms queued=0B final=11432B wire=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms
D/YuguStCompat: timing tokenId=b99c20bd6f0e41309b288a78e94ed44e engineStages text_frontend_ms=1909.3 asr_ms=595.0
I/YuguStCompat: session cancelled tokenId=b99c20bd6f0e41309b288a78e94ed44e
I/YuguStCompat: skegn_new handle 12 appKey=ak-s***
I/YuguStCompat: timing tokenId=bece78500ea34d24a7a416efe74ddb3b recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=3ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms
I/YuguStCompat: recording started tokenId=9aeaa0065a3644a6b04af1053ae7744e coreType=sent.eval.cn (stream) (streaming upload)
I/YuguStCompat: realtime round tokenId=9aeaa0065a3644a6b04af1053ae7744e over wss://open.shengzhiai.com/sent.eval.cn
I/YuguStCompat: recording ended tokenId=9aeaa0065a3644a6b04af1053ae7744e pcmBytes=61440
I/YuguStCompat: result tokenId=9aeaa0065a3644a6b04af1053ae7744e connections=1
I/YuguStCompat: timing tokenId=9aeaa0065a3644a6b04af1053ae7744e recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=1ms wait=0ms download=0ms parse=2ms deliver=1ms handshake=0ms queued=0B final=11237B wire=11237B
I/YuguStCompat: recording started tokenId=2c44b8d8005644e8b5b9651d119cc85d coreType=sent.eval.cn (stream) (upload after stop)
I/YuguStCompat: recording ended tokenId=2c44b8d8005644e8b5b9651d119cc85d pcmBytes=61440
I/YuguStCompat: result tokenId=2c44b8d8005644e8b5b9651d119cc85d attempts=1
I/YuguStCompat: timing tokenId=2c44b8d8005644e8b5b9651d119cc85d recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=0ms deliver=3ms attempts=1 sent=- body=11237B wire=-
I/YuguStCompat: result tokenId=a337aebc0b964fe8b85396f523f4c29f attempts=1
I/YuguStCompat: timing tokenId=a337aebc0b964fe8b85396f523f4c29f recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms upload=- wait=- download=0ms parse=0ms deliver=4ms attempts=1 sent=- body=11237B wire=-
I/YuguStCompat: session cancelled tokenId=a337aebc0b964fe8b85396f523f4c29f
I/YuguStCompat: engine ready: appKey=test*** base=https://open.shengzhiai.com version=yugu-stkouyu-compat/2.3.0 (api 1.0.62)
I/YuguStCompat: recording started tokenId=93e0efdc422a462fae3f18c18c02aea5 coreType=sent.eval.cn (stream) (streaming upload)
I/YuguStCompat: realtime round tokenId=93e0efdc422a462fae3f18c18c02aea5 over wss://open.shengzhiai.com/sent.eval.cn
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +1ms stop
I/YuguStCompat: recording ended tokenId=93e0efdc422a462fae3f18c18c02aea5 pcmBytes=61440
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +2ms ws.connect
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +2ms ws.handshake no extension
D/YuguStCompat: realtime event started
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +2ms ws.param
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +2ms ws.end.queued queued=61440B
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +3ms ws.audio.first
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +3ms ws.final.first
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +3ms ws.final bytes=11432 wire=11432
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +3ms ws.end
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +5ms parsed
I/YuguStCompat: result tokenId=93e0efdc422a462fae3f18c18c02aea5 connections=1
D/YuguStCompat: stage tokenId=93e0efdc422a462fae3f18c18c02aea5 +7ms delivered
I/YuguStCompat: timing tokenId=93e0efdc422a462fae3f18c18c02aea5 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=2ms wait=0ms download=0ms parse=1ms deliver=2ms handshake=0ms queued=61440B final=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms
D/YuguStCompat: timing tokenId=93e0efdc422a462fae3f18c18c02aea5 engineStages text_frontend_ms=1909.3 asr_ms=595.0
I/YuguStCompat: recording started tokenId=04ab47fcceb24197974cf14fae93ba57 coreType=sent.eval.cn (stream) (upload after stop)
D/YuguStCompat: stage tokenId=04ab47fcceb24197974cf14fae93ba57 +1ms stop
I/YuguStCompat: recording ended tokenId=04ab47fcceb24197974cf14fae93ba57 pcmBytes=61440
D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=04ab47fcceb24197974cf14fae93ba57 appKey=test*** fields=[refText, timing]
D/YuguStCompat: stage tokenId=04ab47fcceb24197974cf14fae93ba57 +2ms rest.request attempt=1
D/YuguStCompat: stage tokenId=04ab47fcceb24197974cf14fae93ba57 +2ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221"
D/YuguStCompat: stage tokenId=04ab47fcceb24197974cf14fae93ba57 +2ms rest.body bytes=11432 wire=-1
D/YuguStCompat: stage tokenId=04ab47fcceb24197974cf14fae93ba57 +3ms parsed
I/YuguStCompat: result tokenId=04ab47fcceb24197974cf14fae93ba57 attempts=1
D/YuguStCompat: stage tokenId=04ab47fcceb24197974cf14fae93ba57 +4ms delivered
I/YuguStCompat: timing tokenId=04ab47fcceb24197974cf14fae93ba57 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=3ms upload=- wait=- download=0ms parse=1ms deliver=0ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms
D/YuguStCompat: timing tokenId=04ab47fcceb24197974cf14fae93ba57 engineStages text_frontend_ms=1909.3 asr_ms=595.0
I/YuguStCompat: session cancelled tokenId=04ab47fcceb24197974cf14fae93ba57
I/YuguStCompat: engine ready: appKey=test*** base=https://open.shengzhiai.com version=yugu-stkouyu-compat/2.3.0 (api 1.0.62)
I/YuguStCompat: recording started tokenId=4990e10831314568aa8e5675cb41d9cb coreType=sent.eval.cn (stream) (streaming upload)
I/YuguStCompat: realtime round tokenId=4990e10831314568aa8e5675cb41d9cb over wss://open.shengzhiai.com/sent.eval.cn
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 4990e10831314568aa8e5675cb41d9cb is evaluated over REST instead
I/YuguStCompat: recording ended tokenId=4990e10831314568aa8e5675cb41d9cb pcmBytes=61440
I/YuguStCompat: result tokenId=4990e10831314568aa8e5675cb41d9cb attempts=1
I/YuguStCompat: timing tokenId=4990e10831314568aa8e5675cb41d9cb recordId=eval_7954d149c40a mode=ws>rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=2ms attempts=1 sent=- body=11237B wire=- fallback="cannot open the realtime channel: ConnectException realtime channel refused (unit test default)"
I/YuguStCompat: session cancelled tokenId=4990e10831314568aa8e5675cb41d9cb