Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.138s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.094s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.098s | passed |
| existsAudioTransKeepsTheFileUpload | 0.045s | passed |
| microphoneRecordingStreamsByDefault | 0.118s | passed |
| restAndErrorSummaries | 0.123s | passed |
| skegnAsksForTimingAndRemovesIt | 0.072s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.101s | passed |
| summaryLineAndStagesWithoutSecrets | 0.122s | passed |
| theTimingObjectNeverReachesTheApp | 0.157s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.242s | passed |
Standard error
I/YuguStCompat: recording started tokenId=714b4af678834780ae531880c884358d coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=714b4af678834780ae531880c884358d over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=714b4af678834780ae531880c884358d pcmBytes=61440 I/YuguStCompat: result tokenId=714b4af678834780ae531880c884358d connections=1 I/YuguStCompat: timing tokenId=714b4af678834780ae531880c884358d recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=8ms upload=3ms 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=99408badcf944da9bdd109002492f857 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=99408badcf944da9bdd109002492f857 pcmBytes=61440 I/YuguStCompat: result tokenId=99408badcf944da9bdd109002492f857 attempts=1 I/YuguStCompat: timing tokenId=99408badcf944da9bdd109002492f857 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=1ms deliver=1ms attempts=1 sent=- body=11237B wire=- server.total=812ms server.engine=700ms server.platform=112ms I/YuguStCompat: recording started tokenId=7188b13cafce4330913a8b969a494289 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=7188b13cafce4330913a8b969a494289 pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=7188b13cafce4330913a8b969a494289 errId=40001: bad I/YuguStCompat: timing tokenId=7188b13cafce4330913a8b969a494289 recordId=- mode=rest audio=1.92s afterStop=7ms upload=- wait=- download=0ms parse=- deliver=- attempts=1 sent=- body=56B wire=- errId=40001 I/YuguStCompat: session cancelled tokenId=7188b13cafce4330913a8b969a494289 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=640280ec7a784764bb954a017ee84160 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=640280ec7a784764bb954a017ee84160 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +2ms ws.connect D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +2ms ws.handshake no extension D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +5ms stop D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +5ms ws.param D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +5ms ws.audio.first I/YuguStCompat: recording ended tokenId=640280ec7a784764bb954a017ee84160 pcmBytes=61440 D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +7ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +7ms ws.final.first D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +7ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +8ms ws.end D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +10ms parsed I/YuguStCompat: result tokenId=640280ec7a784764bb954a017ee84160 connections=1 D/YuguStCompat: stage tokenId=640280ec7a784764bb954a017ee84160 +11ms delivered I/YuguStCompat: timing tokenId=640280ec7a784764bb954a017ee84160 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=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=640280ec7a784764bb954a017ee84160 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=640280ec7a784764bb954a017ee84160 I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=50682e91f3d84767aff680319e70d69b recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=18ms upload=- wait=- download=0ms parse=2ms deliver=4ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms I/YuguStCompat: recording started tokenId=2348bbdfceef438abb85262702fc0a3d coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=2348bbdfceef438abb85262702fc0a3d over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=2348bbdfceef438abb85262702fc0a3d pcmBytes=61440 I/YuguStCompat: result tokenId=2348bbdfceef438abb85262702fc0a3d connections=1 I/YuguStCompat: timing tokenId=2348bbdfceef438abb85262702fc0a3d recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=6ms upload=1ms wait=0ms download=0ms parse=1ms deliver=3ms handshake=0ms queued=0B final=11237B wire=11237B I/YuguStCompat: recording started tokenId=cfe66654dc644cf2881f1c580a3135e9 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=cfe66654dc644cf2881f1c580a3135e9 pcmBytes=61440 I/YuguStCompat: result tokenId=cfe66654dc644cf2881f1c580a3135e9 attempts=1 I/YuguStCompat: timing tokenId=cfe66654dc644cf2881f1c580a3135e9 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms upload=- wait=- download=0ms parse=2ms deliver=2ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: result tokenId=10fd7fa5abd141ed95584f30fdc35b79 attempts=1 I/YuguStCompat: timing tokenId=10fd7fa5abd141ed95584f30fdc35b79 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=7ms upload=- wait=- download=0ms parse=1ms deliver=3ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: session cancelled tokenId=10fd7fa5abd141ed95584f30fdc35b79 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=ce377388a8ef404585064af03e26da82 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=ce377388a8ef404585064af03e26da82 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +4ms stop D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +4ms ws.connect D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +4ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +5ms ws.param D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +5ms ws.audio.first I/YuguStCompat: recording ended tokenId=ce377388a8ef404585064af03e26da82 pcmBytes=61440 D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +8ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +9ms ws.final.first D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +9ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +9ms ws.end D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +10ms parsed I/YuguStCompat: result tokenId=ce377388a8ef404585064af03e26da82 connections=1 D/YuguStCompat: stage tokenId=ce377388a8ef404585064af03e26da82 +15ms delivered I/YuguStCompat: timing tokenId=ce377388a8ef404585064af03e26da82 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=11ms upload=4ms wait=0ms download=0ms parse=1ms deliver=4ms handshake=0ms queued=0B final=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=ce377388a8ef404585064af03e26da82 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=bb46e85051b1478288a8d2ea7258a088 coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=bb46e85051b1478288a8d2ea7258a088 +1ms stop I/YuguStCompat: recording ended tokenId=bb46e85051b1478288a8d2ea7258a088 pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=bb46e85051b1478288a8d2ea7258a088 appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=bb46e85051b1478288a8d2ea7258a088 +2ms rest.request attempt=1 D/YuguStCompat: stage tokenId=bb46e85051b1478288a8d2ea7258a088 +2ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=bb46e85051b1478288a8d2ea7258a088 +2ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=bb46e85051b1478288a8d2ea7258a088 +6ms parsed I/YuguStCompat: result tokenId=bb46e85051b1478288a8d2ea7258a088 attempts=1 D/YuguStCompat: stage tokenId=bb46e85051b1478288a8d2ea7258a088 +7ms delivered I/YuguStCompat: timing tokenId=bb46e85051b1478288a8d2ea7258a088 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=3ms deliver=0ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=bb46e85051b1478288a8d2ea7258a088 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=bb46e85051b1478288a8d2ea7258a088 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=29eaeb9fadca421a8fb1122e854487c7 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=29eaeb9fadca421a8fb1122e854487c7 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 29eaeb9fadca421a8fb1122e854487c7 is evaluated over REST instead I/YuguStCompat: recording ended tokenId=29eaeb9fadca421a8fb1122e854487c7 pcmBytes=61440 I/YuguStCompat: result tokenId=29eaeb9fadca421a8fb1122e854487c7 attempts=1 I/YuguStCompat: timing tokenId=29eaeb9fadca421a8fb1122e854487c7 recordId=eval_7954d149c40a mode=ws>rest audio=1.92s afterStop=6ms 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=29eaeb9fadca421a8fb1122e854487c7