Class com.stkouyu.StreamUploadTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| callerFedStreamStreamsByDefault | 0.122s | passed |
| channelFailureBeforeEndFallsBackWithTheSameTokenId | 0.084s | passed |
| engineSettingLogOptionsTakeEffectAlsoAfterInit | 0.091s | passed |
| existsAudioTransKeepsTheFileUpload | 0.047s | passed |
| microphoneRecordingStreamsByDefault | 0.118s | passed |
| restAndErrorSummaries | 0.148s | passed |
| skegnAsksForTimingAndRemovesIt | 0.090s | passed |
| streamUploadOffUploadsAfterStopAsIn210 | 0.102s | passed |
| summaryLineAndStagesWithoutSecrets | 0.095s | passed |
| theTimingObjectNeverReachesTheApp | 0.135s | passed |
| timingIsAskedForOnlyAtInfoOrDebug | 0.208s | passed |
Standard error
I/YuguStCompat: recording started tokenId=43649efecb9b4551ba6050a629f2499b coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=43649efecb9b4551ba6050a629f2499b over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=43649efecb9b4551ba6050a629f2499b pcmBytes=61440 I/YuguStCompat: result tokenId=43649efecb9b4551ba6050a629f2499b connections=1 I/YuguStCompat: timing tokenId=43649efecb9b4551ba6050a629f2499b recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=6ms upload=2ms wait=0ms download=0ms parse=3ms deliver=0ms 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=7cb75d25569a40e88abe82e4de790296 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=7cb75d25569a40e88abe82e4de790296 pcmBytes=61440 I/YuguStCompat: result tokenId=7cb75d25569a40e88abe82e4de790296 attempts=1 I/YuguStCompat: timing tokenId=7cb75d25569a40e88abe82e4de790296 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=11ms upload=- wait=- download=0ms parse=5ms deliver=1ms attempts=1 sent=- body=11237B wire=- server.total=812ms server.engine=700ms server.platform=112ms I/YuguStCompat: recording started tokenId=99626a39bd034556a3ddeadfae6f7411 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=99626a39bd034556a3ddeadfae6f7411 pcmBytes=61440 W/YuguStCompat: evaluation failed tokenId=99626a39bd034556a3ddeadfae6f7411 errId=40001: bad I/YuguStCompat: timing tokenId=99626a39bd034556a3ddeadfae6f7411 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=99626a39bd034556a3ddeadfae6f7411 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=c729336656094e8cb444a174147d8d2d coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=c729336656094e8cb444a174147d8d2d over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +4ms stop D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +4ms ws.connect D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +5ms ws.handshake no extension D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +5ms ws.param D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +5ms ws.audio.first I/YuguStCompat: recording ended tokenId=c729336656094e8cb444a174147d8d2d pcmBytes=61440 D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +6ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +6ms ws.final.first D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +6ms ws.final bytes=11432 wire=2345 deflate D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +6ms ws.end D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +9ms parsed I/YuguStCompat: result tokenId=c729336656094e8cb444a174147d8d2d connections=1 D/YuguStCompat: stage tokenId=c729336656094e8cb444a174147d8d2d +10ms delivered I/YuguStCompat: timing tokenId=c729336656094e8cb444a174147d8d2d recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=6ms upload=2ms wait=0ms download=0ms parse=3ms deliver=0ms handshake=0ms queued=0B final=11432B wire=2345B deflate server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=c729336656094e8cb444a174147d8d2d engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=c729336656094e8cb444a174147d8d2d I/YuguStCompat: skegn_new handle 12 appKey=ak-s*** I/YuguStCompat: timing tokenId=e438ed0cf5ff44849c814987088ffdaa recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=12ms upload=- wait=- download=0ms parse=1ms deliver=5ms attempts=1 sent=- body=11432B wire=- server.total=5321ms server.engine=4100ms server.platform=1221ms I/YuguStCompat: recording started tokenId=354dacc6b26c4b959227d85bd042498e coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=354dacc6b26c4b959227d85bd042498e over wss://open.shengzhiai.com/sent.eval.cn I/YuguStCompat: recording ended tokenId=354dacc6b26c4b959227d85bd042498e pcmBytes=61440 I/YuguStCompat: result tokenId=354dacc6b26c4b959227d85bd042498e connections=1 I/YuguStCompat: timing tokenId=354dacc6b26c4b959227d85bd042498e recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=5ms upload=1ms wait=0ms download=0ms parse=2ms deliver=1ms handshake=0ms queued=0B final=11237B wire=11237B I/YuguStCompat: recording started tokenId=a5a876a8853e4c5e862e3eb6fcc81f75 coreType=sent.eval.cn (stream) (upload after stop) I/YuguStCompat: recording ended tokenId=a5a876a8853e4c5e862e3eb6fcc81f75 pcmBytes=61440 I/YuguStCompat: result tokenId=a5a876a8853e4c5e862e3eb6fcc81f75 attempts=1 I/YuguStCompat: timing tokenId=a5a876a8853e4c5e862e3eb6fcc81f75 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=db789cc5e5be4cb291c66c5f4b411443 attempts=1 I/YuguStCompat: timing tokenId=db789cc5e5be4cb291c66c5f4b411443 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=3ms upload=- wait=- download=0ms parse=1ms deliver=0ms attempts=1 sent=- body=11237B wire=- I/YuguStCompat: session cancelled tokenId=db789cc5e5be4cb291c66c5f4b411443 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=dc6e026adfc041aaa96ba0928d158d61 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=dc6e026adfc041aaa96ba0928d158d61 over wss://open.shengzhiai.com/sent.eval.cn D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +1ms ws.connect D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +1ms ws.handshake no extension D/YuguStCompat: realtime event started D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +1ms ws.param D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +2ms stop D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +2ms ws.audio.first I/YuguStCompat: recording ended tokenId=dc6e026adfc041aaa96ba0928d158d61 pcmBytes=61440 D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +6ms ws.end.queued queued=0B D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +6ms ws.final.first D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +6ms ws.final bytes=11432 wire=11432 D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +6ms ws.end D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +8ms parsed I/YuguStCompat: result tokenId=dc6e026adfc041aaa96ba0928d158d61 connections=1 D/YuguStCompat: stage tokenId=dc6e026adfc041aaa96ba0928d158d61 +9ms delivered I/YuguStCompat: timing tokenId=dc6e026adfc041aaa96ba0928d158d61 recordId=eval_7954d149c40a mode=ws audio=1.92s afterStop=7ms upload=4ms wait=0ms download=0ms parse=2ms deliver=0ms handshake=0ms queued=0B final=11432B wire=11432B server.total=5321ms server.engine=4100ms server.platform=1221ms D/YuguStCompat: timing tokenId=dc6e026adfc041aaa96ba0928d158d61 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: recording started tokenId=b006815574d34ad38a0763a7d7babe59 coreType=sent.eval.cn (stream) (upload after stop) D/YuguStCompat: stage tokenId=b006815574d34ad38a0763a7d7babe59 +0ms stop I/YuguStCompat: recording ended tokenId=b006815574d34ad38a0763a7d7babe59 pcmBytes=61440 D/YuguStCompat: POST https://open.shengzhiai.com/sent.eval.cn attempt 1/3 key=b006815574d34ad38a0763a7d7babe59 appKey=test*** fields=[refText, timing] D/YuguStCompat: stage tokenId=b006815574d34ad38a0763a7d7babe59 +2ms rest.request attempt=1 D/YuguStCompat: stage tokenId=b006815574d34ad38a0763a7d7babe59 +2ms rest.headers status=200 server-timing="total;dur=5321, engine;dur=4100, platform;dur=1221" D/YuguStCompat: stage tokenId=b006815574d34ad38a0763a7d7babe59 +2ms rest.body bytes=11432 wire=-1 D/YuguStCompat: stage tokenId=b006815574d34ad38a0763a7d7babe59 +4ms parsed I/YuguStCompat: result tokenId=b006815574d34ad38a0763a7d7babe59 attempts=1 D/YuguStCompat: stage tokenId=b006815574d34ad38a0763a7d7babe59 +7ms delivered I/YuguStCompat: timing tokenId=b006815574d34ad38a0763a7d7babe59 recordId=eval_7954d149c40a mode=rest audio=1.92s afterStop=6ms 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=b006815574d34ad38a0763a7d7babe59 engineStages text_frontend_ms=1909.3 asr_ms=595.0 I/YuguStCompat: session cancelled tokenId=b006815574d34ad38a0763a7d7babe59 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=f3b7749c15eb47b082e838122c1c4392 coreType=sent.eval.cn (stream) (streaming upload) I/YuguStCompat: realtime round tokenId=f3b7749c15eb47b082e838122c1c4392 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 f3b7749c15eb47b082e838122c1c4392 is evaluated over REST instead I/YuguStCompat: recording ended tokenId=f3b7749c15eb47b082e838122c1c4392 pcmBytes=61440 I/YuguStCompat: result tokenId=f3b7749c15eb47b082e838122c1c4392 attempts=1 I/YuguStCompat: timing tokenId=f3b7749c15eb47b082e838122c1c4392 recordId=eval_7954d149c40a mode=ws>rest audio=1.92s afterStop=7ms upload=- wait=- download=0ms parse=2ms 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=f3b7749c15eb47b082e838122c1c4392