Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.071s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.078s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.073s | passed |
| existsAudioTransKeepsTheFileUpload | 0.034s | passed |
| microphoneRecordingStreamsByDefault | 0.079s | passed |
| restAndErrorSummaries | 0.116s | passed |
| skegnAsksForTimingAndRemovesIt | 0.042s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.077s | passed |
| summaryLineAndStagesWithoutSecrets | 0.080s | passed |
| theTimingObjectNeverReachesTheApp | 0.110s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.200s | passed |
Standard error
I/YuguStCompat: recording started tokenId=6565d01adada43e48c3570bbe2e3bde6 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=6565d01adada43e48c3570bbe2e3bde6 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=6565d01adada43e48c3570bbe2e3bde6 pcmBytes=61440 I/YuguStCompat: result tokenId=6565d01adada43e48c3570bbe2e3bde6 connections=1 I/YuguStCompat: timing tokenId=6565d01adada43e48c3570bbe2e3bde6 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=e46b4d55236549adb65f2e408fe7f44c coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=e46b4d55236549adb65f2e408fe7f44c pcmBytes=61440 I/YuguStCompat: result tokenId=e46b4d55236549adb65f2e408fe7f44c attempts=1 I/YuguStCompat: timing tokenId=e46b4d55236549adb65f2e408fe7f44c 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=ce07d0e174284fdab358aa8db0838d53 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=ce07d0e174284fdab358aa8db0838d53 pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=ce07d0e174284fdab358aa8db0838d53 errId=40001: bad I/YuguStCompat: timing tokenId=ce07d0e174284fdab358aa8db0838d53 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=ce07d0e174284fdab358aa8db0838d53 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=a5a7c46f9cd54a09b6946f205c530798 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=a5a7c46f9cd54a09b6946f205c530798 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +2ms ws.connect D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +2ms stop D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +2ms ws.handshake no extension D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +2ms ws.param D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +2ms ws.audio.first I/YuguStCompat: recording ended tokenId=a5a7c46f9cd54a09b6946f205c530798 pcmBytes=61440 D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +4ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +4ms ws.final.first D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +4ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +5ms ws.end D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +6ms parsed I/YuguStCompat: result tokenId=a5a7c46f9cd54a09b6946f205c530798 connections=1 D/YuguStCompat: stage tokenId=a5a7c46f9cd54a09b6946f205c530798 +8ms delivered I/YuguStCompat: timing tokenId=a5a7c46f9cd54a09b6946f205c530798 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=2ms wait=0ms download=0ms parse=1ms deliver=2ms handshake=0ms queued=0B final=11432B wire=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=a5a7c46f9cd54a09b6946f205c530798 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=a5a7c46f9cd54a09b6946f205c530798 I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=bed8332923cb4998843fbd6a11e02948 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms upload=- wait=- download=0ms parse=1ms deliver=4ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms I/YuguStCompat: recording started tokenId=91219a8085ec4fbbb83ea92d178ddbee coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=91219a8085ec4fbbb83ea92d178ddbee over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=91219a8085ec4fbbb83ea92d178ddbee pcmBytes=61440 I/YuguStCompat: result tokenId=91219a8085ec4fbbb83ea92d178ddbee connections=1 I/YuguStCompat: timing tokenId=91219a8085ec4fbbb83ea92d178ddbee recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=1ms wait=0ms download=0ms parse=1ms deliver=2ms handshake=0ms queued=32718B final=11237B wire=11237B I/YuguStCompat: recording started tokenId=61f4a262ff794b5fbb1c038fd7e2392c coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=61f4a262ff794b5fbb1c038fd7e2392c pcmBytes=61440 I/YuguStCompat: result tokenId=61f4a262ff794b5fbb1c038fd7e2392c attempts=1 I/YuguStCompat: timing tokenId=61f4a262ff794b5fbb1c038fd7e2392c 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=d3056847c1204960a656ee65a6f7a6ca attempts=1 I/YuguStCompat: timing tokenId=d3056847c1204960a656ee65a6f7a6ca 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=d3056847c1204960a656ee65a6f7a6ca 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=472a52888a8a46ce9a9b89417a7011ac coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=472a52888a8a46ce9a9b89417a7011ac over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +1ms ws.connect D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +1ms stop D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +1ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +1ms ws.param D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +1ms ws.audio.first I/YuguStCompat: recording ended tokenId=472a52888a8a46ce9a9b89417a7011ac pcmBytes=61440 D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +2ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +3ms ws.final.first D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +3ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +3ms ws.end D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +5ms parsed I/YuguStCompat: result tokenId=472a52888a8a46ce9a9b89417a7011ac connections=1 D/YuguStCompat: stage tokenId=472a52888a8a46ce9a9b89417a7011ac +7ms delivered I/YuguStCompat: timing tokenId=472a52888a8a46ce9a9b89417a7011ac recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=2ms 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=472a52888a8a46ce9a9b89417a7011ac engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 +0ms stop I/YuguStCompat: recording ended tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=35ccc6b2eed14234a63d3a22e09c2cc2 appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 +1ms rest.request attempt=1 D/YuguStCompat: stage tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 +2ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 +2ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 +3ms parsed I/YuguStCompat: result tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 attempts=1 D/YuguStCompat: stage tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 +6ms delivered I/YuguStCompat: timing tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 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=35ccc6b2eed14234a63d3a22e09c2cc2 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=35ccc6b2eed14234a63d3a22e09c2cc2 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=02da99ea09aa45c08d79fe74ae0651ee coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=02da99ea09aa45c08d79fe74ae0651ee 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 02da99ea09aa45c08d79fe74ae0651ee is evaluated over REST instead I/YuguStCompat: recording ended tokenId=02da99ea09aa45c08d79fe74ae0651ee pcmBytes=61440 I/YuguStCompat: result tokenId=02da99ea09aa45c08d79fe74ae0651ee attempts=1 I/YuguStCompat: timing tokenId=02da99ea09aa45c08d79fe74ae0651ee 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=02da99ea09aa45c08d79fe74ae0651ee