Closed
Description
Not sure if there is a simple reproduction, but seen this in CI (https://ci.nodejs.org/job/node-test-commit-freebsd/49824/nodes=freebsd12-x64/consoleFull):
13:32:50 # Subtest: test-runner/output/output_cli.js
13:32:50 not ok 14 - test-runner/output/output_cli.js
13:32:50 ---
13:32:50 duration_ms: 12475.461475
13:32:50 failureType: 'testCodeFailure'
13:32:50 error: |-
13:32:50 Expected values to be strictly equal:
13:32:50 + actual - expected ... Lines skipped
13:32:50
13:32:50 'TAP version 13\n' +
13:32:50 '# Subtest: sync pass todo\n' +
13:32:50 ...
13:32:50 ' ...\n' +
13:32:50 '# Subtest: functionOnly\n' +
13:32:50 + '# \x00\x00\x00��\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"\\\\ffunctionOnly"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberI<"\x07detailso"\\\\vduration_msN4�%\x1B\x0F��?{\x01{\x05{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + '# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"\\\\v<anonymous>{\x03{\x02\x00\x00\x00��\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"\\\\v<anonymous>"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberI>"\x07detailso"\\\\vduration_msN��aNв?{\x01{\x05{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + '# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"\x1Etest with only a name provided{\x03{\x02\x00\x00\x00��\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"\x1Etest with only a name provided"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberI@"\x07detailso"\\\\vduration_msN[z4Փ��?{\x01{\x05{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + '# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"\\\\v<anonymous>{\x03{\x02\x00\x00\x00��\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"\\\\v<anonymous>"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberIB"\x07detailso"\\\\vduration_msN��J\x05\x15�?{\x01{\x05{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + '# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"\\\\v<anonymous>{\x03{\x02\x00\x00\x00��\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"\\\\v<anonymous>"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberID"\x07detailso"\\\\vduration_msN���Z�{�?{\x01"\x04skipT{\x06{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + '# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"%test with a name and options provided{\x03{\x02\x00\x00\x01\\\\f�\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"%test with a name and options provided"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberIF"\x07detailso"\\\\vduration_msN�OU��X�?{\x01"\x04skipT{\x06{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + '# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"\x12functionAndOptions{\x03{\x02\x00\x00\x00��\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"\x12functionAndOptions"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberIH"\x07detailso"\\\\vduration_msN�K���H�?{\x01"\x04skipT{\x06{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + `# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"'escaped description \\\\ \\# \\\\\\#\\\\ \n` +
13:32:50 + `# \\\\t \\\\f \\\\v \\\\b \\\\r{\x03{\x02\x00\x00\x01\x07�\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"'escaped description \\\\ \\# \\\\\\#\\\\ \n` +
13:32:50 + '# \\\\t \\\\f \\\\v \\\\b \\\\r"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberIJ"\x07detailso"\\\\vduration_msN즔�J�?{\x01{\x05{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + '# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"\x14escaped skip message{\x03{\x02\x00\x00\x01\x01�\x0Fo"\x04type"\\\\ttest:pass"\x04datao"\x04name"\x14escaped skip message"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\n' +
13:32:50 + '# testNumberIL"\x07detailso"\\\\vduration_msNq�����?{\x01"\x04skip"\x05\\#skip{\x06{\x02\x00\x00\x00��\x0Fo"\x04type"\n' +
13:32:50 + '# test:start"\x04datao"\x07nestingI\x00"\x04file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"\x04name"\x14escaped '... 11980 more characters
at some point stdout fails to deserialize:
13:32:50 # Subtest: <anonymous>
13:32:50 ok 29 - <anonymous>
13:32:50 ---
13:32:50 duration_ms: *
13:32:50 ...
13:32:50 # Subtest: functionOnly
13:32:50 # ���o"�type"\\ttest:pass"�datao"�name"\\ffunctionOnly"�nestingI"�file"v/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/fixtures/test-runner/output/output.js"