Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.111s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.082s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.085s | passed |
| existsAudioTransKeepsTheFileUpload | 0.047s | passed |
| microphoneRecordingStreamsByDefault | 0.117s | passed |
| restAndErrorSummaries | 0.116s | passed |
| skegnAsksForTimingAndRemovesIt | 0.048s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.091s | passed |
| summaryLineAndStagesWithoutSecrets | 0.081s | passed |
| theTimingObjectNeverReachesTheApp | 0.133s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.219s | passed |
Standard error
I/YuguStCompat: recording started tokenId=38532a63d7d84f54b173e3b92db125c1 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=38532a63d7d84f54b173e3b92db125c1 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=38532a63d7d84f54b173e3b92db125c1 pcmBytes=61440 I/YuguStCompat: result tokenId=38532a63d7d84f54b173e3b92db125c1 connections=1 I/YuguStCompat: timing tokenId=38532a63d7d84f54b173e3b92db125c1 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=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=01a82931f6d7438fa7a09384886e016b coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=01a82931f6d7438fa7a09384886e016b pcmBytes=61440 I/YuguStCompat: result tokenId=01a82931f6d7438fa7a09384886e016b attempts=1 I/YuguStCompat: timing tokenId=01a82931f6d7438fa7a09384886e016b 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=c9402d5fab8541388b122cbd4f4b1a57 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=c9402d5fab8541388b122cbd4f4b1a57 pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=c9402d5fab8541388b122cbd4f4b1a57 errId=40001: bad I/YuguStCompat: timing tokenId=c9402d5fab8541388b122cbd4f4b1a57 recordId=- mode=rest audio=1.92s afterStop=6ms upload=- wait=- download=0ms parse=- deliver=- attempts=1 sent=- body=56B wire=- errId=40001 I/YuguStCompat: session cancelled tokenId=c9402d5fab8541388b122cbd4f4b1a57 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=a5db2459e9f04f1ca6e708483334405d coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=a5db2459e9f04f1ca6e708483334405d over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +1ms stop D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +2ms ws.connect D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +2ms ws.handshake no extension D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +2ms ws.param D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +2ms ws.audio.first I/YuguStCompat: recording ended tokenId=a5db2459e9f04f1ca6e708483334405d pcmBytes=61440 D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +3ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +4ms ws.final.first D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +4ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +4ms ws.end D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +6ms parsed I/YuguStCompat: result tokenId=a5db2459e9f04f1ca6e708483334405d connections=1 D/YuguStCompat: stage tokenId=a5db2459e9f04f1ca6e708483334405d +10ms delivered I/YuguStCompat: timing tokenId=a5db2459e9f04f1ca6e708483334405d recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=8ms upload=2ms wait=0ms download=0ms parse=2ms deliver=3ms handshake=0ms queued=0B final=11432B wire=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=a5db2459e9f04f1ca6e708483334405d engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=a5db2459e9f04f1ca6e708483334405d I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=136660a12bb746a4b9bb2bd103333132 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms 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=81de45e813d643c4ab7b4843df1b8076 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=81de45e813d643c4ab7b4843df1b8076 over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=81de45e813d643c4ab7b4843df1b8076 pcmBytes=61440 I/YuguStCompat: result tokenId=81de45e813d643c4ab7b4843df1b8076 connections=1 I/YuguStCompat: timing tokenId=81de45e813d643c4ab7b4843df1b8076 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=1ms wait=0ms download=0ms parse=3ms deliver=1ms handshake=0ms queued=0B final=11237B wire=11237B I/YuguStCompat: recording started tokenId=93a33ab78da9486087ef7b8c0ebbf059 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=93a33ab78da9486087ef7b8c0ebbf059 pcmBytes=61440 I/YuguStCompat: result tokenId=93a33ab78da9486087ef7b8c0ebbf059 attempts=1 I/YuguStCompat: timing tokenId=93a33ab78da9486087ef7b8c0ebbf059 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=5ms upload=- wait=- download=0ms parse=0ms deliver=2ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: result tokenId=4f52a3ed06a24384852a37b591c9a1c0 attempts=1 I/YuguStCompat: timing tokenId=4f52a3ed06a24384852a37b591c9a1c0 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=7ms upload=- wait=- download=0ms parse=1ms deliver=4ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: session cancelled tokenId=4f52a3ed06a24384852a37b591c9a1c0 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=4f74a2a43fa642df895c76860e61230f coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=4f74a2a43fa642df895c76860e61230f over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +3ms ws.connect D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +3ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +3ms ws.param D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +3ms ws.audio.first D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +3ms stop I/YuguStCompat: recording ended tokenId=4f74a2a43fa642df895c76860e61230f pcmBytes=61440 D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +6ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +6ms ws.final.first D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +6ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +6ms ws.end D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +8ms parsed I/YuguStCompat: result tokenId=4f74a2a43fa642df895c76860e61230f connections=1 D/YuguStCompat: stage tokenId=4f74a2a43fa642df895c76860e61230f +10ms delivered I/YuguStCompat: timing tokenId=4f74a2a43fa642df895c76860e61230f recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=6ms upload=3ms wait=0ms download=0ms parse=1ms deliver=1ms handshake=0ms queued=0B final=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=4f74a2a43fa642df895c76860e61230f engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=65a211b643374ddbaee0a978bf0cade5 coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=65a211b643374ddbaee0a978bf0cade5 +1ms stop I/YuguStCompat: recording ended tokenId=65a211b643374ddbaee0a978bf0cade5 pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=65a211b643374ddbaee0a978bf0cade5 appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=65a211b643374ddbaee0a978bf0cade5 +4ms rest.request attempt=1 D/YuguStCompat: stage tokenId=65a211b643374ddbaee0a978bf0cade5 +4ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=65a211b643374ddbaee0a978bf0cade5 +4ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=65a211b643374ddbaee0a978bf0cade5 +5ms parsed I/YuguStCompat: result tokenId=65a211b643374ddbaee0a978bf0cade5 attempts=1 D/YuguStCompat: stage tokenId=65a211b643374ddbaee0a978bf0cade5 +7ms delivered I/YuguStCompat: timing tokenId=65a211b643374ddbaee0a978bf0cade5 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms upload=- wait=- download=0ms parse=1ms deliver=1ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=65a211b643374ddbaee0a978bf0cade5 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=65a211b643374ddbaee0a978bf0cade5 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=6678beeb2e154fe5bbba764b851f1acc coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=6678beeb2e154fe5bbba764b851f1acc 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 6678beeb2e154fe5bbba764b851f1acc is evaluated over REST instead I/YuguStCompat: recording ended tokenId=6678beeb2e154fe5bbba764b851f1acc pcmBytes=61440 I/YuguStCompat: result tokenId=6678beeb2e154fe5bbba764b851f1acc attempts=1 I/YuguStCompat: timing tokenId=6678beeb2e154fe5bbba764b851f1acc recordId=eval_7954d149c40a mode=ws>rest audio=1.92s afterStop=3ms upload=- wait=- download=0ms parse=1ms 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=6678beeb2e154fe5bbba764b851f1acc