Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.063s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.071s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.072s | passed |
| existsAudioTransKeepsTheFileUpload | 0.030s | passed |
| microphoneRecordingStreamsByDefault | 0.070s | passed |
| restAndErrorSummaries | 0.108s | passed |
| skegnAsksForTimingAndRemovesIt | 0.033s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.076s | passed |
| summaryLineAndStagesWithoutSecrets | 0.076s | passed |
| theTimingObjectNeverReachesTheApp | 0.105s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.180s | passed |
Standard error
I/YuguStCompat: recording started tokenId=54b10eb66b6840878904790f49580c1a coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=54b10eb66b6840878904790f49580c1a over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=54b10eb66b6840878904790f49580c1a pcmBytes=61440 I/YuguStCompat: result tokenId=54b10eb66b6840878904790f49580c1a connections=1 I/YuguStCompat: timing tokenId=54b10eb66b6840878904790f49580c1a 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=339023d6caa14874ae142450dc2963c6 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=339023d6caa14874ae142450dc2963c6 pcmBytes=61440 I/YuguStCompat: result tokenId=339023d6caa14874ae142450dc2963c6 attempts=1 I/YuguStCompat: timing tokenId=339023d6caa14874ae142450dc2963c6 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=3ms attempts=1 sent=- body=11237B wire=- server.total=812ms server.engine=700ms server.platform=112ms I/YuguStCompat: recording started tokenId=dec963f5d56f4097bade976aa3e94581 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=dec963f5d56f4097bade976aa3e94581 pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=dec963f5d56f4097bade976aa3e94581 errId=40001: bad I/YuguStCompat: timing tokenId=dec963f5d56f4097bade976aa3e94581 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=dec963f5d56f4097bade976aa3e94581 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=624a5770f7194cca9d1236a8318f26e1 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=624a5770f7194cca9d1236a8318f26e1 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +1ms ws.connect D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +1ms ws.handshake no extension D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +1ms stop D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +1ms ws.param D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +1ms ws.audio.first I/YuguStCompat: recording ended tokenId=624a5770f7194cca9d1236a8318f26e1 pcmBytes=61440 D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +3ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +4ms ws.final.first D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +4ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +4ms ws.end D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +6ms parsed I/YuguStCompat: result tokenId=624a5770f7194cca9d1236a8318f26e1 connections=1 D/YuguStCompat: stage tokenId=624a5770f7194cca9d1236a8318f26e1 +7ms delivered I/YuguStCompat: timing tokenId=624a5770f7194cca9d1236a8318f26e1 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=2ms wait=0ms download=0ms parse=1ms deliver=1ms handshake=0ms queued=0B final=11432B wire=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=624a5770f7194cca9d1236a8318f26e1 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=624a5770f7194cca9d1236a8318f26e1 I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=cc90d6baed434bb2bf5631e8528de1ba recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms 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=f909358b930d414ab6d118ed406cbad3 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=f909358b930d414ab6d118ed406cbad3 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=f909358b930d414ab6d118ed406cbad3 pcmBytes=61440 I/YuguStCompat: result tokenId=f909358b930d414ab6d118ed406cbad3 connections=1 I/YuguStCompat: timing tokenId=f909358b930d414ab6d118ed406cbad3 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=84c4e582d5dd49bea5d8e37967185656 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=84c4e582d5dd49bea5d8e37967185656 pcmBytes=61440 I/YuguStCompat: result tokenId=84c4e582d5dd49bea5d8e37967185656 attempts=1 I/YuguStCompat: timing tokenId=84c4e582d5dd49bea5d8e37967185656 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=3ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: result tokenId=c1a28c7bc65c4504b13506de1427b138 attempts=1 I/YuguStCompat: timing tokenId=c1a28c7bc65c4504b13506de1427b138 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=0ms deliver=4ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: session cancelled tokenId=c1a28c7bc65c4504b13506de1427b138 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=a24b9a59d0d546dea41b2dedfcb74c18 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=a24b9a59d0d546dea41b2dedfcb74c18 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +1ms ws.connect D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +1ms stop D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +1ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +1ms ws.param D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +1ms ws.audio.first I/YuguStCompat: recording ended tokenId=a24b9a59d0d546dea41b2dedfcb74c18 pcmBytes=61440 D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +2ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +2ms ws.final.first D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +2ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +2ms ws.end D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +3ms parsed I/YuguStCompat: result tokenId=a24b9a59d0d546dea41b2dedfcb74c18 connections=1 D/YuguStCompat: stage tokenId=a24b9a59d0d546dea41b2dedfcb74c18 +7ms delivered I/YuguStCompat: timing tokenId=a24b9a59d0d546dea41b2dedfcb74c18 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=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=a24b9a59d0d546dea41b2dedfcb74c18 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=d6c473c297714bddaae55dc0bd09df8b coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=d6c473c297714bddaae55dc0bd09df8b +0ms stop I/YuguStCompat: recording ended tokenId=d6c473c297714bddaae55dc0bd09df8b pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=d6c473c297714bddaae55dc0bd09df8b appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=d6c473c297714bddaae55dc0bd09df8b +1ms rest.request attempt=1 D/YuguStCompat: stage tokenId=d6c473c297714bddaae55dc0bd09df8b +1ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=d6c473c297714bddaae55dc0bd09df8b +1ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=d6c473c297714bddaae55dc0bd09df8b +3ms parsed I/YuguStCompat: result tokenId=d6c473c297714bddaae55dc0bd09df8b attempts=1 D/YuguStCompat: stage tokenId=d6c473c297714bddaae55dc0bd09df8b +6ms delivered I/YuguStCompat: timing tokenId=d6c473c297714bddaae55dc0bd09df8b 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=d6c473c297714bddaae55dc0bd09df8b engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=d6c473c297714bddaae55dc0bd09df8b 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=946ccc253ae545d2b3c7576eb9a07540 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=946ccc253ae545d2b3c7576eb9a07540 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 946ccc253ae545d2b3c7576eb9a07540 is evaluated over REST instead I/YuguStCompat: recording ended tokenId=946ccc253ae545d2b3c7576eb9a07540 pcmBytes=61440 I/YuguStCompat: result tokenId=946ccc253ae545d2b3c7576eb9a07540 attempts=1 I/YuguStCompat: timing tokenId=946ccc253ae545d2b3c7576eb9a07540 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=946ccc253ae545d2b3c7576eb9a07540