Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.065s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.069s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.074s | passed |
| existsAudioTransKeepsTheFileUpload | 0.035s | passed |
| microphoneRecordingStreamsByDefault | 0.075s | passed |
| restAndErrorSummaries | 0.114s | passed |
| skegnAsksForTimingAndRemovesIt | 0.039s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.075s | passed |
| summaryLineAndStagesWithoutSecrets | 0.081s | passed |
| theTimingObjectNeverReachesTheApp | 0.113s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.191s | passed |
Standard error
I/YuguStCompat: recording started tokenId=5567a02c4997407cb711b6ac31f5f8c0 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=5567a02c4997407cb711b6ac31f5f8c0 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=5567a02c4997407cb711b6ac31f5f8c0 pcmBytes=61440 I/YuguStCompat: result tokenId=5567a02c4997407cb711b6ac31f5f8c0 connections=1 I/YuguStCompat: timing tokenId=5567a02c4997407cb711b6ac31f5f8c0 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=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=919a972178ce4a95ae4f44faa31a608d coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=919a972178ce4a95ae4f44faa31a608d pcmBytes=61440 I/YuguStCompat: result tokenId=919a972178ce4a95ae4f44faa31a608d attempts=1 I/YuguStCompat: timing tokenId=919a972178ce4a95ae4f44faa31a608d 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=9cdb0edd4b1540cbbf205948c807feec coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=9cdb0edd4b1540cbbf205948c807feec pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=9cdb0edd4b1540cbbf205948c807feec errId=40001: bad I/YuguStCompat: timing tokenId=9cdb0edd4b1540cbbf205948c807feec 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=9cdb0edd4b1540cbbf205948c807feec 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=a65aa4410bc2420998b03ebec050d159 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=a65aa4410bc2420998b03ebec050d159 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +2ms ws.connect D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +2ms ws.handshake no extension D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +2ms stop D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +2ms ws.param D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +2ms ws.audio.first I/YuguStCompat: recording ended tokenId=a65aa4410bc2420998b03ebec050d159 pcmBytes=61440 D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +3ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +3ms ws.final.first D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +3ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +3ms ws.end D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +5ms parsed I/YuguStCompat: result tokenId=a65aa4410bc2420998b03ebec050d159 connections=1 D/YuguStCompat: stage tokenId=a65aa4410bc2420998b03ebec050d159 +8ms delivered I/YuguStCompat: timing tokenId=a65aa4410bc2420998b03ebec050d159 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=1ms wait=0ms download=0ms parse=2ms deliver=2ms handshake=0ms queued=0B final=11432B wire=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=a65aa4410bc2420998b03ebec050d159 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=a65aa4410bc2420998b03ebec050d159 I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=3c429d734d574a78bb88540e892e3499 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=548a17a32b8b41cebc0badf6812418cb coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=548a17a32b8b41cebc0badf6812418cb over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=548a17a32b8b41cebc0badf6812418cb pcmBytes=61440 I/YuguStCompat: result tokenId=548a17a32b8b41cebc0badf6812418cb connections=1 I/YuguStCompat: timing tokenId=548a17a32b8b41cebc0badf6812418cb recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=0ms wait=0ms download=0ms parse=1ms deliver=2ms handshake=0ms queued=0B final=11237B wire=11237B I/YuguStCompat: recording started tokenId=793d10e3bb9f407a8917d13a81708d89 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=793d10e3bb9f407a8917d13a81708d89 pcmBytes=61440 I/YuguStCompat: result tokenId=793d10e3bb9f407a8917d13a81708d89 attempts=1 I/YuguStCompat: timing tokenId=793d10e3bb9f407a8917d13a81708d89 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=2ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: result tokenId=4d48ba63e95249ab8748cbd49b214df3 attempts=1 I/YuguStCompat: timing tokenId=4d48ba63e95249ab8748cbd49b214df3 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: session cancelled tokenId=4d48ba63e95249ab8748cbd49b214df3 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=c96fdd788b604bc6a0da21d6f60387d7 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=c96fdd788b604bc6a0da21d6f60387d7 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +1ms stop D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +1ms ws.connect D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +1ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +1ms ws.param D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +1ms ws.audio.first I/YuguStCompat: recording ended tokenId=c96fdd788b604bc6a0da21d6f60387d7 pcmBytes=61440 D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +2ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +3ms ws.final.first D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +3ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +3ms ws.end D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +5ms parsed I/YuguStCompat: result tokenId=c96fdd788b604bc6a0da21d6f60387d7 connections=1 D/YuguStCompat: stage tokenId=c96fdd788b604bc6a0da21d6f60387d7 +7ms delivered I/YuguStCompat: timing tokenId=c96fdd788b604bc6a0da21d6f60387d7 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=6ms upload=2ms wait=0ms download=0ms parse=2ms deliver=1ms handshake=0ms queued=0B final=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=c96fdd788b604bc6a0da21d6f60387d7 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=911b841e70ca4362bf23e49109919d31 coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=911b841e70ca4362bf23e49109919d31 +0ms stop I/YuguStCompat: recording ended tokenId=911b841e70ca4362bf23e49109919d31 pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=911b841e70ca4362bf23e49109919d31 appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=911b841e70ca4362bf23e49109919d31 +1ms rest.request attempt=1 D/YuguStCompat: stage tokenId=911b841e70ca4362bf23e49109919d31 +1ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=911b841e70ca4362bf23e49109919d31 +1ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=911b841e70ca4362bf23e49109919d31 +3ms parsed I/YuguStCompat: result tokenId=911b841e70ca4362bf23e49109919d31 attempts=1 D/YuguStCompat: stage tokenId=911b841e70ca4362bf23e49109919d31 +6ms delivered I/YuguStCompat: timing tokenId=911b841e70ca4362bf23e49109919d31 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=2ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=911b841e70ca4362bf23e49109919d31 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=911b841e70ca4362bf23e49109919d31 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=8cfb9e7c0aa14390b48cd04f215b573d coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=8cfb9e7c0aa14390b48cd04f215b573d 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 8cfb9e7c0aa14390b48cd04f215b573d is evaluated over REST instead I/YuguStCompat: recording ended tokenId=8cfb9e7c0aa14390b48cd04f215b573d pcmBytes=61440 I/YuguStCompat: result tokenId=8cfb9e7c0aa14390b48cd04f215b573d attempts=1 I/YuguStCompat: timing tokenId=8cfb9e7c0aa14390b48cd04f215b573d recordId=eval_7954d149c40a mode=ws>rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=0ms deliver=3ms attempts=1 sent=- body=11237B wire=- fallback="cannot open the realtime channel: ConnectException realtime channel refused (unit test default)" I/YuguStCompat: session cancelled tokenId=8cfb9e7c0aa14390b48cd04f215b573d