Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.083s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.142s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.111s | passed |
| existsAudioTransKeepsTheFileUpload | 0.067s | passed |
| microphoneRecordingStreamsByDefault | 0.100s | passed |
| restAndErrorSummaries | 0.117s | passed |
| skegnAsksForTimingAndRemovesIt | 0.053s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.110s | passed |
| summaryLineAndStagesWithoutSecrets | 0.095s | passed |
| theTimingObjectNeverReachesTheApp | 0.152s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.200s | passed |
Standard error
I/YuguStCompat: recording started tokenId=949c1219860549b0bbdff8cfa0662118 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=949c1219860549b0bbdff8cfa0662118 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=949c1219860549b0bbdff8cfa0662118 pcmBytes=61440 I/YuguStCompat: result tokenId=949c1219860549b0bbdff8cfa0662118 connections=1 I/YuguStCompat: timing tokenId=949c1219860549b0bbdff8cfa0662118 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=12ms upload=3ms wait=0ms download=0ms parse=3ms deliver=5ms 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=a5333a7c53d74de08857674d495df3ce coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=a5333a7c53d74de08857674d495df3ce pcmBytes=61440 I/YuguStCompat: result tokenId=a5333a7c53d74de08857674d495df3ce attempts=1 I/YuguStCompat: timing tokenId=a5333a7c53d74de08857674d495df3ce 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=b33dee878072451d9a6e67a0732a85a6 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=b33dee878072451d9a6e67a0732a85a6 pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=b33dee878072451d9a6e67a0732a85a6 errId=40001: bad I/YuguStCompat: timing tokenId=b33dee878072451d9a6e67a0732a85a6 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=b33dee878072451d9a6e67a0732a85a6 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=6d009ec48cb447689da67bbe172141fd coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=6d009ec48cb447689da67bbe172141fd over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +2ms ws.connect D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +3ms stop D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +3ms ws.handshake no extension D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +3ms ws.param D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +3ms ws.audio.first I/YuguStCompat: recording ended tokenId=6d009ec48cb447689da67bbe172141fd pcmBytes=61440 D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +4ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +5ms ws.final.first D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +5ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +7ms ws.end D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +12ms parsed I/YuguStCompat: result tokenId=6d009ec48cb447689da67bbe172141fd connections=1 D/YuguStCompat: stage tokenId=6d009ec48cb447689da67bbe172141fd +15ms delivered I/YuguStCompat: timing tokenId=6d009ec48cb447689da67bbe172141fd recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=12ms upload=4ms wait=0ms download=0ms parse=7ms deliver=2ms handshake=0ms queued=0B final=11432B wire=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=6d009ec48cb447689da67bbe172141fd engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=6d009ec48cb447689da67bbe172141fd I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=134c530adf324da28e111d7d707b3d3c 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=8798fab5ce0241a585fb3f9a63a1460c coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=8798fab5ce0241a585fb3f9a63a1460c over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=8798fab5ce0241a585fb3f9a63a1460c pcmBytes=61440 I/YuguStCompat: result tokenId=8798fab5ce0241a585fb3f9a63a1460c connections=1 I/YuguStCompat: timing tokenId=8798fab5ce0241a585fb3f9a63a1460c recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=0ms wait=0ms download=0ms parse=1ms deliver=3ms handshake=0ms queued=0B final=11237B wire=11237B I/YuguStCompat: recording started tokenId=7ff6708a1e464c26a37873127f2d6c5e coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=7ff6708a1e464c26a37873127f2d6c5e pcmBytes=61440 I/YuguStCompat: result tokenId=7ff6708a1e464c26a37873127f2d6c5e attempts=1 I/YuguStCompat: timing tokenId=7ff6708a1e464c26a37873127f2d6c5e recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms upload=- wait=- download=0ms parse=1ms deliver=2ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: result tokenId=8097a20bb99846cf8743c492421477c4 attempts=1 I/YuguStCompat: timing tokenId=8097a20bb99846cf8743c492421477c4 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=8ms upload=- wait=- download=0ms parse=4ms deliver=1ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: session cancelled tokenId=8097a20bb99846cf8743c492421477c4 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=5165a9f73d8d4271af0efb90ad83a71a coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=5165a9f73d8d4271af0efb90ad83a71a over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +2ms stop I/YuguStCompat: recording ended tokenId=5165a9f73d8d4271af0efb90ad83a71a pcmBytes=61440 D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +5ms ws.connect D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +5ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +5ms ws.param D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +5ms ws.audio.first D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +5ms ws.end.queued queued=42318B D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +9ms ws.final.first D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +9ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +11ms ws.end D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +21ms parsed I/YuguStCompat: result tokenId=5165a9f73d8d4271af0efb90ad83a71a connections=1 D/YuguStCompat: stage tokenId=5165a9f73d8d4271af0efb90ad83a71a +25ms delivered I/YuguStCompat: timing tokenId=5165a9f73d8d4271af0efb90ad83a71a recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=22ms upload=8ms wait=0ms download=0ms parse=12ms deliver=3ms handshake=0ms queued=42318B final=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=5165a9f73d8d4271af0efb90ad83a71a engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=91715f8b247049e9ba07c7016095b397 coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=91715f8b247049e9ba07c7016095b397 +1ms stop I/YuguStCompat: recording ended tokenId=91715f8b247049e9ba07c7016095b397 pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=91715f8b247049e9ba07c7016095b397 appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=91715f8b247049e9ba07c7016095b397 +4ms rest.request attempt=1 D/YuguStCompat: stage tokenId=91715f8b247049e9ba07c7016095b397 +4ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=91715f8b247049e9ba07c7016095b397 +4ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=91715f8b247049e9ba07c7016095b397 +6ms parsed I/YuguStCompat: result tokenId=91715f8b247049e9ba07c7016095b397 attempts=1 D/YuguStCompat: stage tokenId=91715f8b247049e9ba07c7016095b397 +8ms delivered I/YuguStCompat: timing tokenId=91715f8b247049e9ba07c7016095b397 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms upload=- wait=- download=0ms parse=2ms deliver=1ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=91715f8b247049e9ba07c7016095b397 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=91715f8b247049e9ba07c7016095b397 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=a455bf22a69145c895711c2ac145c2d3 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=a455bf22a69145c895711c2ac145c2d3 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 a455bf22a69145c895711c2ac145c2d3 is evaluated over REST instead I/YuguStCompat: recording ended tokenId=a455bf22a69145c895711c2ac145c2d3 pcmBytes=61440 I/YuguStCompat: result tokenId=a455bf22a69145c895711c2ac145c2d3 attempts=1 I/YuguStCompat: timing tokenId=a455bf22a69145c895711c2ac145c2d3 recordId=eval_7954d149c40a mode=ws>rest audio=1.92s afterStop=11ms upload=- wait=- download=0ms parse=2ms deliver=0ms attempts=1 sent=- body=11237B wire=- fallback="cannot open the realtime channel: ConnectException realtime channel refused (unit test default)" I/YuguStCompat: session cancelled tokenId=a455bf22a69145c895711c2ac145c2d3