Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.070s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.068s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.083s | passed |
| existsAudioTransKeepsTheFileUpload | 0.051s | passed |
| microphoneRecordingStreamsByDefault | 0.109s | passed |
| restAndErrorSummaries | 0.135s | passed |
| skegnAsksForTimingAndRemovesIt | 0.046s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.090s | passed |
| summaryLineAndStagesWithoutSecrets | 0.091s | passed |
| theTimingObjectNeverReachesTheApp | 0.134s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.213s | passed |
Standard error
I/YuguStCompat: recording started tokenId=ed818366a4dd42278f1fef50253b8045 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=ed818366a4dd42278f1fef50253b8045 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=ed818366a4dd42278f1fef50253b8045 pcmBytes=61440 I/YuguStCompat: result tokenId=ed818366a4dd42278f1fef50253b8045 connections=1 I/YuguStCompat: timing tokenId=ed818366a4dd42278f1fef50253b8045 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: 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=ec53f42e131d49c0bf2933e292820703 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=ec53f42e131d49c0bf2933e292820703 pcmBytes=61440 I/YuguStCompat: result tokenId=ec53f42e131d49c0bf2933e292820703 attempts=1 I/YuguStCompat: timing tokenId=ec53f42e131d49c0bf2933e292820703 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=f076c56ce202437987905499ee1ac61e coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=f076c56ce202437987905499ee1ac61e pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=f076c56ce202437987905499ee1ac61e errId=40001: bad I/YuguStCompat: timing tokenId=f076c56ce202437987905499ee1ac61e 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=f076c56ce202437987905499ee1ac61e 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=0c67e49b63d2459bb8461dc561ad389b coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=0c67e49b63d2459bb8461dc561ad389b over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +1ms ws.connect D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +1ms ws.handshake no extension D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +1ms ws.param D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +1ms ws.audio.first D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +2ms stop I/YuguStCompat: recording ended tokenId=0c67e49b63d2459bb8461dc561ad389b pcmBytes=61440 D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +3ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +4ms ws.final.first D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +4ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +5ms ws.end D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +7ms parsed I/YuguStCompat: result tokenId=0c67e49b63d2459bb8461dc561ad389b connections=1 D/YuguStCompat: stage tokenId=0c67e49b63d2459bb8461dc561ad389b +8ms delivered I/YuguStCompat: timing tokenId=0c67e49b63d2459bb8461dc561ad389b recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=6ms upload=3ms 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=0c67e49b63d2459bb8461dc561ad389b engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=0c67e49b63d2459bb8461dc561ad389b I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=b8057a48626a402eaf56c017ffae046c 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=c240952aea8d45c7adb1eee6a6fd46d4 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=c240952aea8d45c7adb1eee6a6fd46d4 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=c240952aea8d45c7adb1eee6a6fd46d4 pcmBytes=61440 I/YuguStCompat: result tokenId=c240952aea8d45c7adb1eee6a6fd46d4 connections=1 I/YuguStCompat: timing tokenId=c240952aea8d45c7adb1eee6a6fd46d4 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: recording started tokenId=d11f945ceef94099bb9c779f809c06ac coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=d11f945ceef94099bb9c779f809c06ac pcmBytes=61440 I/YuguStCompat: result tokenId=d11f945ceef94099bb9c779f809c06ac attempts=1 I/YuguStCompat: timing tokenId=d11f945ceef94099bb9c779f809c06ac 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=d473079416b14e3885b6666cf9e91860 attempts=1 I/YuguStCompat: timing tokenId=d473079416b14e3885b6666cf9e91860 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms upload=- wait=- download=0ms parse=1ms deliver=3ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: session cancelled tokenId=d473079416b14e3885b6666cf9e91860 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=14d6a491066d4d7a9973bacbce6c6884 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=14d6a491066d4d7a9973bacbce6c6884 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +1ms stop D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +1ms ws.connect D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +2ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +2ms ws.param D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +2ms ws.audio.first I/YuguStCompat: recording ended tokenId=14d6a491066d4d7a9973bacbce6c6884 pcmBytes=61440 D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +3ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +3ms ws.final.first D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +3ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +3ms ws.end D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +5ms parsed I/YuguStCompat: result tokenId=14d6a491066d4d7a9973bacbce6c6884 connections=1 D/YuguStCompat: stage tokenId=14d6a491066d4d7a9973bacbce6c6884 +7ms delivered I/YuguStCompat: timing tokenId=14d6a491066d4d7a9973bacbce6c6884 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=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=14d6a491066d4d7a9973bacbce6c6884 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=a256295b98b9407c816f56efaa9edf89 coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=a256295b98b9407c816f56efaa9edf89 +4ms stop I/YuguStCompat: recording ended tokenId=a256295b98b9407c816f56efaa9edf89 pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=a256295b98b9407c816f56efaa9edf89 appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=a256295b98b9407c816f56efaa9edf89 +8ms rest.request attempt=1 D/YuguStCompat: stage tokenId=a256295b98b9407c816f56efaa9edf89 +9ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=a256295b98b9407c816f56efaa9edf89 +9ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=a256295b98b9407c816f56efaa9edf89 +12ms parsed I/YuguStCompat: result tokenId=a256295b98b9407c816f56efaa9edf89 attempts=1 D/YuguStCompat: stage tokenId=a256295b98b9407c816f56efaa9edf89 +17ms delivered I/YuguStCompat: timing tokenId=a256295b98b9407c816f56efaa9edf89 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=12ms upload=- wait=- download=0ms parse=3ms deliver=4ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=a256295b98b9407c816f56efaa9edf89 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=a256295b98b9407c816f56efaa9edf89 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=edb8a4aa00bd4694994051c734fbe911 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=edb8a4aa00bd4694994051c734fbe911 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 edb8a4aa00bd4694994051c734fbe911 is evaluated over REST instead I/YuguStCompat: recording ended tokenId=edb8a4aa00bd4694994051c734fbe911 pcmBytes=61440 I/YuguStCompat: result tokenId=edb8a4aa00bd4694994051c734fbe911 attempts=1 I/YuguStCompat: timing tokenId=edb8a4aa00bd4694994051c734fbe911 recordId=eval_7954d149c40a mode=ws>rest audio=1.92s afterStop=5ms 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=edb8a4aa00bd4694994051c734fbe911