make[1]: Entering directory '/home/runner/work/moq-interop-runner/moq-interop-runner/main' Running tests against https://cdn.moq.dev/anon... Client: ghcr.io/englishm/moq-interop-runner-moq-dev-js-client:latest docker run --rm \ \ --network host \ -e RELAY_URL=https://cdn.moq.dev/anon \ -e TLS_DISABLE_VERIFY=false \ ghcr.io/englishm/moq-interop-runner-moq-dev-js-client:latest TAP version 14 # moq-dev-js-client v0.1.0 # Relay: https://cdn.moq.dev/anon 1..6 not ok 1 - setup-only --- duration_ms: 2004 message: "timeout after 2000ms: connect" ... not ok 2 - announce-only --- duration_ms: 2001 message: "timeout after 2000ms: connect" ... https://cdn.moq.dev/anon connected via WebSocket https://cdn.moq.dev/anon negotiated ALPN: (none) https://cdn.moq.dev/anon sending client setup ClientSetup { versions: [ 4279086338, 4279086337, 4278190094 ], parameters: SetupOptions { vars: Map(1) { 2n: 42069n, }, bytes: Map(1) { 7n: Uint8Array(11) [ 109, 111, 113, 45, 108, 105, 116, 101, 45, 106, 115 ], }, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon connected via WebSocket https://cdn.moq.dev/anon negotiated ALPN: (none) https://cdn.moq.dev/anon sending client setup ClientSetup { versions: [ 4279086338, 4279086337, 4278190094 ], parameters: SetupOptions { vars: Map(1) { 2n: 42069n, }, bytes: Map(1) { 7n: Uint8Array(11) [ 109, 111, 113, 45, 108, 105, 116, 101, 45, 106, 115 ], }, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon received server setup ServerSetup { version: 4279086338, parameters: SetupOptions { vars: Map {}, bytes: Map {}, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon received server setup ServerSetup { version: 4279086338, parameters: SetupOptions { vars: Map {}, bytes: Map {}, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } announce: prefix= announce: prefix= https://cdn.moq.dev/anon connected via WebSocket https://cdn.moq.dev/anon negotiated ALPN: (none) https://cdn.moq.dev/anon sending client setup ClientSetup { versions: [ 4279086338, 4279086337, 4278190094 ], parameters: SetupOptions { vars: Map(1) { 2n: 42069n, }, bytes: Map(1) { 7n: Uint8Array(11) [ 109, 111, 113, 45, 108, 105, 116, 101, 45, 106, 115 ], }, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon received server setup ServerSetup { version: 4279086338, parameters: SetupOptions { vars: Map {}, bytes: Map {}, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } announce: prefix= announce: broadcast=moq-test/interop active=true announce: broadcast=moq-test/interop active=false session stream closed ok 3 - publish-namespace-done --- duration_ms: 1274 ... fatal error running connection undefined https://cdn.moq.dev/anon connected via WebSocket https://cdn.moq.dev/anon negotiated ALPN: (none) https://cdn.moq.dev/anon sending client setup ClientSetup { versions: [ 4279086338, 4279086337, 4278190094 ], parameters: SetupOptions { vars: Map(1) { 2n: 42069n, }, bytes: Map(1) { 7n: Uint8Array(11) [ 109, 111, 113, 45, 108, 105, 116, 101, 45, 106, 115 ], }, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon received server setup ServerSetup { version: 4279086338, parameters: SetupOptions { vars: Map {}, bytes: Map {}, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } subscribe start: id=0 broadcast=nonexistent/namespace track=test-track announce: prefix= subscribe error: id=0 broadcast=nonexistent/namespace track=test-track error=RESET_STREAM: 13 abort 527 | #handleResetStream(frame) { 528 | const streamId = frame.id.value.value; 529 | const stream = this.#recvStreams.get(streamId); 530 | if (!stream) 531 | return; 532 | stream.error(new Error(`RESET_STREAM: ${frame.code.value}`)); ^ error: RESET_STREAM: 13 at #handleResetStream (/app/node_modules/@moq/qmux/session.js:532:26) at #recvFrame (/app/node_modules/@moq/qmux/session.js:225:18) at #handleMessage (/app/node_modules/@moq/qmux/session.js:200:22) session stream closed ok 4 - subscribe-error --- duration_ms: 58 ... fatal error running connection undefined https://cdn.moq.dev/anon connected via WebSocket https://cdn.moq.dev/anon negotiated ALPN: (none) https://cdn.moq.dev/anon sending client setup ClientSetup { versions: [ 4279086338, 4279086337, 4278190094 ], parameters: SetupOptions { vars: Map(1) { 2n: 42069n, }, bytes: Map(1) { 7n: Uint8Array(11) [ 109, 111, 113, 45, 108, 105, 116, 101, 45, 106, 115 ], }, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon received server setup ServerSetup { version: 4279086338, parameters: SetupOptions { vars: Map {}, bytes: Map {}, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } announce: prefix= announce: broadcast=moq-test/interop active=true https://cdn.moq.dev/anon connected via WebSocket https://cdn.moq.dev/anon negotiated ALPN: (none) https://cdn.moq.dev/anon sending client setup ClientSetup { versions: [ 4279086338, 4279086337, 4278190094 ], parameters: SetupOptions { vars: Map(1) { 2n: 42069n, }, bytes: Map(1) { 7n: Uint8Array(11) [ 109, 111, 113, 45, 108, 105, 116, 101, 45, 106, 115 ], }, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon received server setup ServerSetup { version: 4279086338, parameters: SetupOptions { vars: Map {}, bytes: Map {}, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } subscribe start: id=0 broadcast=moq-test/interop track=test-track announce: prefix= subscribe ok: id=0 broadcast=moq-test/interop track=test-track publish ok: broadcast=moq-test/interop track=test-track publish error: broadcast=moq-test/interop track=test-track error=undefined publish done: broadcast=moq-test/interop track=test-track session stream closed subscribe error: id=0 broadcast=moq-test/interop track=test-track error=undefined fatal error running connection undefined session stream closed fatal error running connection undefined ok 5 - announce-subscribe --- duration_ms: 2014 ... https://cdn.moq.dev/anon connected via WebSocket https://cdn.moq.dev/anon negotiated ALPN: (none) https://cdn.moq.dev/anon sending client setup ClientSetup { versions: [ 4279086338, 4279086337, 4278190094 ], parameters: SetupOptions { vars: Map(1) { 2n: 42069n, }, bytes: Map(1) { 7n: Uint8Array(11) [ 109, 111, 113, 45, 108, 105, 116, 101, 45, 106, 115 ], }, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon received server setup ServerSetup { version: 4279086338, parameters: SetupOptions { vars: Map {}, bytes: Map {}, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } subscribe start: id=0 broadcast=moq-test/interop track=test-track announce: prefix= subscribe error: id=0 broadcast=moq-test/interop track=test-track error=RESET_STREAM: 13 abort 527 | #handleResetStream(frame) { 528 | const streamId = frame.id.value.value; 529 | const stream = this.#recvStreams.get(streamId); 530 | if (!stream) 531 | return; 532 | stream.error(new Error(`RESET_STREAM: ${frame.code.value}`)); ^ error: RESET_STREAM: 13 at #handleResetStream (/app/node_modules/@moq/qmux/session.js:532:26) at #recvFrame (/app/node_modules/@moq/qmux/session.js:225:18) at #handleMessage (/app/node_modules/@moq/qmux/session.js:200:22) https://cdn.moq.dev/anon connected via WebSocket https://cdn.moq.dev/anon negotiated ALPN: (none) https://cdn.moq.dev/anon sending client setup ClientSetup { versions: [ 4279086338, 4279086337, 4278190094 ], parameters: SetupOptions { vars: Map(1) { 2n: 42069n, }, bytes: Map(1) { 7n: Uint8Array(11) [ 109, 111, 113, 45, 108, 105, 116, 101, 45, 106, 115 ], }, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } https://cdn.moq.dev/anon received server setup ServerSetup { version: 4279086338, parameters: SetupOptions { vars: Map {}, bytes: Map {}, size: [Getter], setBytes: [Function: setBytes], setVarint: [Function: setVarint], getBytes: [Function: getBytes], getVarint: [Function: getVarint], removeBytes: [Function: removeBytes], removeVarint: [Function: removeVarint], encode: [AsyncFunction: encode], }, encode: [AsyncFunction: encode], } session stream closed ok 6 - subscribe-before-announce --- duration_ms: 606 ... fatal error running connection undefined session stream closed fatal error running connection undefined unhandled rejection: 495 | ]); 496 | this.#sendStreams.delete(streamId); 497 | this.#maybeDeleteStreamFlow(streamId); 498 | }, 499 | }); 500 | this.#incomingBidirectionalStreams.enqueue({ readable: reader, writable: writer }); ^ TypeError: Invalid state: Controller is already closed code: "ERR_INVALID_STATE" at #handleStreamFrame (/app/node_modules/@moq/qmux/session.js:500:52) at #recvFrame (/app/node_modules/@moq/qmux/session.js:222:18) at #handleMessage (/app/node_modules/@moq/qmux/session.js:200:22) make[1]: *** [Makefile:121: test-external] Error 1 make[1]: Leaving directory '/home/runner/work/moq-interop-runner/moq-interop-runner/main'