Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.090s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.081s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.096s | passed |
| existsAudioTransKeepsTheFileUpload | 0.053s | passed |
| microphoneRecordingStreamsByDefault | 0.087s | passed |
| restAndErrorSummaries | 0.150s | passed |
| skegnAsksForTimingAndRemovesIt | 0.053s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.105s | passed |
| summaryLineAndStagesWithoutSecrets | 0.154s | passed |
| theTimingObjectNeverReachesTheApp | 0.158s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.257s | passed |
Standard error
I/YuguStCompat: recording started tokenId=12d3fbf12cfb40e9b0faecbaae88c355 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=12d3fbf12cfb40e9b0faecbaae88c355 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=12d3fbf12cfb40e9b0faecbaae88c355 pcmBytes=61440 I/YuguStCompat: result tokenId=12d3fbf12cfb40e9b0faecbaae88c355 connections=1 I/YuguStCompat: timing tokenId=12d3fbf12cfb40e9b0faecbaae88c355 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=12ms upload=4ms wait=0ms download=0ms parse=2ms 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=54c072f451064d599d39b3796c66d2ed coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=54c072f451064d599d39b3796c66d2ed pcmBytes=61440 I/YuguStCompat: result tokenId=54c072f451064d599d39b3796c66d2ed attempts=1 I/YuguStCompat: timing tokenId=54c072f451064d599d39b3796c66d2ed recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=2ms deliver=0ms attempts=1 sent=- body=11237B wire=- server.total=812ms server.engine=700ms server.platform=112ms I/YuguStCompat: recording started tokenId=94d95df2dd97487f848ce6235f4ea02f coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=94d95df2dd97487f848ce6235f4ea02f pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=94d95df2dd97487f848ce6235f4ea02f errId=40001: bad I/YuguStCompat: timing tokenId=94d95df2dd97487f848ce6235f4ea02f 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=94d95df2dd97487f848ce6235f4ea02f 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=5db243d5a65e4e51868b8ec8d64f61b4 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=5db243d5a65e4e51868b8ec8d64f61b4 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +2ms stop D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +3ms ws.connect D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +3ms ws.handshake no extension D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +3ms ws.param D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +3ms ws.audio.first I/YuguStCompat: recording ended tokenId=5db243d5a65e4e51868b8ec8d64f61b4 pcmBytes=61440 D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +25ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +26ms ws.final.first D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +26ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +26ms ws.end D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +29ms parsed I/YuguStCompat: result tokenId=5db243d5a65e4e51868b8ec8d64f61b4 connections=1 D/YuguStCompat: stage tokenId=5db243d5a65e4e51868b8ec8d64f61b4 +33ms delivered I/YuguStCompat: timing tokenId=5db243d5a65e4e51868b8ec8d64f61b4 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=31ms upload=24ms wait=0ms download=0ms parse=3ms deliver=3ms handshake=0ms queued=0B final=11432B wire=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=5db243d5a65e4e51868b8ec8d64f61b4 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=5db243d5a65e4e51868b8ec8d64f61b4 I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=ce1eed8dbb0147abb18467c9b105ddc8 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=7ms 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=023a4d4d9a184faa82715fc21420a38d coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=023a4d4d9a184faa82715fc21420a38d over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=023a4d4d9a184faa82715fc21420a38d pcmBytes=61440 I/YuguStCompat: result tokenId=023a4d4d9a184faa82715fc21420a38d connections=1 I/YuguStCompat: timing tokenId=023a4d4d9a184faa82715fc21420a38d recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=30ms upload=19ms wait=0ms download=0ms parse=8ms deliver=3ms handshake=0ms queued=0B final=11237B wire=11237B I/YuguStCompat: recording started tokenId=f41e727f454f415b8eb7172ac6b38f75 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=f41e727f454f415b8eb7172ac6b38f75 pcmBytes=61440 I/YuguStCompat: result tokenId=f41e727f454f415b8eb7172ac6b38f75 attempts=1 I/YuguStCompat: timing tokenId=f41e727f454f415b8eb7172ac6b38f75 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=3ms upload=- wait=- download=0ms parse=1ms deliver=1ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: result tokenId=3c20608f62fb4b73b65f36bed5a138fe attempts=1 I/YuguStCompat: timing tokenId=3c20608f62fb4b73b65f36bed5a138fe recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=8ms upload=- wait=- download=0ms parse=1ms deliver=5ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: session cancelled tokenId=3c20608f62fb4b73b65f36bed5a138fe 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=59c69a1365044cdea8b8cb30d99894c2 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=59c69a1365044cdea8b8cb30d99894c2 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +8ms stop D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +9ms ws.connect I/YuguStCompat: recording ended tokenId=59c69a1365044cdea8b8cb30d99894c2 pcmBytes=61440 D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +9ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +9ms ws.param D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +9ms ws.audio.first D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +9ms ws.end.queued queued=42318B D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +13ms ws.final.first D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +13ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +13ms ws.end D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +18ms parsed I/YuguStCompat: result tokenId=59c69a1365044cdea8b8cb30d99894c2 connections=1 D/YuguStCompat: stage tokenId=59c69a1365044cdea8b8cb30d99894c2 +21ms delivered I/YuguStCompat: timing tokenId=59c69a1365044cdea8b8cb30d99894c2 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=12ms upload=5ms wait=0ms download=0ms parse=4ms deliver=2ms handshake=0ms queued=42318B final=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=59c69a1365044cdea8b8cb30d99894c2 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=c2ef2ae161114b138b228dd7cdcd7883 coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=c2ef2ae161114b138b228dd7cdcd7883 +0ms stop I/YuguStCompat: recording ended tokenId=c2ef2ae161114b138b228dd7cdcd7883 pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=c2ef2ae161114b138b228dd7cdcd7883 appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=c2ef2ae161114b138b228dd7cdcd7883 +3ms rest.request attempt=1 D/YuguStCompat: stage tokenId=c2ef2ae161114b138b228dd7cdcd7883 +3ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=c2ef2ae161114b138b228dd7cdcd7883 +3ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=c2ef2ae161114b138b228dd7cdcd7883 +5ms parsed I/YuguStCompat: result tokenId=c2ef2ae161114b138b228dd7cdcd7883 attempts=1 D/YuguStCompat: stage tokenId=c2ef2ae161114b138b228dd7cdcd7883 +6ms delivered I/YuguStCompat: timing tokenId=c2ef2ae161114b138b228dd7cdcd7883 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms 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=c2ef2ae161114b138b228dd7cdcd7883 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=c2ef2ae161114b138b228dd7cdcd7883 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=622007fb06234129bb046a9c68da92ca coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=622007fb06234129bb046a9c68da92ca 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 622007fb06234129bb046a9c68da92ca is evaluated over REST instead I/YuguStCompat: recording ended tokenId=622007fb06234129bb046a9c68da92ca pcmBytes=61440 I/YuguStCompat: result tokenId=622007fb06234129bb046a9c68da92ca attempts=1 I/YuguStCompat: timing tokenId=622007fb06234129bb046a9c68da92ca recordId=eval_7954d149c40a mode=ws>rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=1ms attempts=1 sent=- body=11237B wire=- fallback="cannot open the realtime channel: ConnectException realtime channel refused (unit test default)" I/YuguStCompat: session cancelled tokenId=622007fb06234129bb046a9c68da92ca