Source: node-require-inject Version: 1.4.4-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220412 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary > dh_update_autotools_config > dh_autoreconf > dh_auto_configure --buildsystem=nodejs > dh_auto_build --buildsystem=nodejs > No build command found, searching known files > dh_auto_test --buildsystem=nodejs > mkdir -p node_modules > ln -s ../. node_modules/require-inject > /bin/sh -ex debian/tests/pkg-js/test > + tap test/injection-leaking-1.js test/injection-leaking-2.js > test/injection-missing-1.js test/injection-missing-2.js > test/injection-module.js test/injection-paths.js > TAP version 13 > not ok 1 - test/injection-leaking-1.js # time=51.524ms > --- > env: {} > file: test/injection-leaking-1.js > timeout: 30000 > command: /usr/bin/node > args: > - test/injection-leaking-1.js > stdio: > - 0 > - pipe > - 2 > cwd: /<<PKGBUILDDIR>> > exitCode: 1 > ... > { > # Subtest: setup > not ok 1 - t.done is not a function > --- > stack: | > Test.<anonymous> (test/injection-leaking-1.js:31:5) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15) > /usr/share/nodejs/libtap/lib/test.js:485:13 > TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5) > Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14) > at: > line: 31 > column: 5 > file: test/injection-leaking-1.js > function: Test.<anonymous> > type: TypeError > tapCaught: testFunctionThrow > test: setup > source: |2 > setup() > t.done() > ----^ > }) > ... > > 1..1 > # failed 1 test > not ok 1 - setup # time=25.857ms > > # Subtest: injection leaking at a distance > 1..2 > ok 1 - should be able to rename a file > ok 2 - shouldn't be able to rename now > ok 2 - injection leaking at a distance # time=7.57ms > > # Subtest: cleanup > not ok 1 - t.done is not a function > --- > stack: | > Test.<anonymous> (test/injection-leaking-1.js:52:5) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15) > /usr/share/nodejs/libtap/lib/test.js:485:13 > TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5) > Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14) > at: > line: 52 > column: 5 > file: test/injection-leaking-1.js > function: Test.<anonymous> > type: TypeError > tapCaught: testFunctionThrow > test: cleanup > source: |2 > cleanup() > t.done() > ----^ > }) > ... > > 1..1 > # failed 1 test > not ok 3 - cleanup # time=11.3ms > > 1..3 > # failed 2 of 3 tests > # time=51.524ms > } > > not ok 2 - test/injection-leaking-2.js # time=66.499ms > --- > env: {} > file: test/injection-leaking-2.js > timeout: 30000 > command: /usr/bin/node > args: > - test/injection-leaking-2.js > stdio: > - 0 > - pipe > - 2 > cwd: /<<PKGBUILDDIR>> > exitCode: 1 > ... > { > # Subtest: setup > not ok 1 - t.done is not a function > --- > stack: | > Test.<anonymous> (test/injection-leaking-2.js:32:5) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15) > /usr/share/nodejs/libtap/lib/test.js:485:13 > TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5) > Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14) > at: > line: 32 > column: 5 > file: test/injection-leaking-2.js > function: Test.<anonymous> > type: TypeError > tapCaught: testFunctionThrow > test: setup > source: |2 > setup() > t.done() > ----^ > }) > test('injection leaking at a distance', function (t) { > ... > > 1..1 > # failed 1 test > not ok 1 - setup # time=32.347ms > > # Subtest: injection leaking at a distance > 1..2 > ok 1 - should be able to rename a file > not ok 2 - Cannot find module './lib/c' Require stack: - > /<<PKGBUILDDIR>>/test/injection-leaking-2.js > --- > stack: | > Test.<anonymous> (test/injection-leaking-2.js:46:16) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > at: > line: 902 > column: 15 > file: internal/modules/cjs/loader.js > function: Function.Module._resolveFilename > code: MODULE_NOT_FOUND > requireStack: > - /<<PKGBUILDDIR>>/test/injection-leaking-2.js > tapCaught: testFunctionThrow > test: injection leaking at a distance > ... > > # failed 1 of 2 tests > not ok 2 - injection leaking at a distance # time=19.425ms > > # Subtest: cleanup > not ok 1 - t.done is not a function > --- > stack: | > Test.<anonymous> (test/injection-leaking-2.js:52:5) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15) > /usr/share/nodejs/libtap/lib/test.js:485:13 > TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5) > Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14) > at: > line: 52 > column: 5 > file: test/injection-leaking-2.js > function: Test.<anonymous> > type: TypeError > tapCaught: testFunctionThrow > test: cleanup > source: |2 > cleanup() > t.done() > ----^ > }) > ... > > 1..1 > # failed 1 test > not ok 3 - cleanup # time=4.573ms > > 1..3 > # failed 3 of 3 tests > # time=66.499ms > } > > not ok 3 - test/injection-missing-1.js # time=92.093ms > --- > env: {} > file: test/injection-missing-1.js > timeout: 30000 > command: /usr/bin/node > args: > - test/injection-missing-1.js > stdio: > - 0 > - pipe > - 2 > cwd: /<<PKGBUILDDIR>> > exitCode: 1 > ... > { > # Subtest: setup > not ok 1 - t.done is not a function > --- > stack: | > Test.<anonymous> (test/injection-missing-1.js:50:5) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15) > /usr/share/nodejs/libtap/lib/test.js:485:13 > TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5) > Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14) > at: > line: 50 > column: 5 > file: test/injection-missing-1.js > function: Test.<anonymous> > type: TypeError > tapCaught: testFunctionThrow > test: setup > source: |2 > setup() > t.done() > ----^ > }) > ... > > 1..1 > # failed 1 test > not ok 1 - setup # time=35.782ms > > # Subtest: injection leaking at a distance > 1..2 > ok 1 - should be able to rename a file now > ok 2 - shouldn't be able to rename > ok 2 - injection leaking at a distance # time=15.459ms > > # Subtest: cleanup > not ok 1 - t.done is not a function > --- > stack: | > Test.<anonymous> (test/injection-missing-1.js:71:5) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15) > /usr/share/nodejs/libtap/lib/test.js:485:13 > TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5) > Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14) > at: > line: 71 > column: 5 > file: test/injection-missing-1.js > function: Test.<anonymous> > type: TypeError > tapCaught: testFunctionThrow > test: cleanup > source: |2 > cleanup() > t.done() > ----^ > }) > ... > > 1..1 > # failed 1 test > not ok 3 - cleanup # time=7.392ms > > 1..3 > # failed 2 of 3 tests > # time=92.093ms > } > > not ok 4 - test/injection-missing-2.js # time=59.542ms > --- > env: {} > file: test/injection-missing-2.js > timeout: 30000 > command: /usr/bin/node > args: > - test/injection-missing-2.js > stdio: > - 0 > - pipe > - 2 > cwd: /<<PKGBUILDDIR>> > exitCode: 1 > ... > { > # Subtest: setup > not ok 1 - t.done is not a function > --- > stack: | > Test.<anonymous> (test/injection-missing-2.js:43:5) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15) > /usr/share/nodejs/libtap/lib/test.js:485:13 > TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5) > Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14) > at: > line: 43 > column: 5 > file: test/injection-missing-2.js > function: Test.<anonymous> > type: TypeError > tapCaught: testFunctionThrow > test: setup > source: |2 > setup() > t.done() > ----^ > }) > ... > > 1..1 > # failed 1 test > not ok 1 - setup # time=33.095ms > > # Subtest: injection leaking at a distance > 1..4 > ok 1 - should be able to rename a file now > ok 2 - should be able to rename a file now > ok 3 - shouldn't be able to rename > ok 4 - shouldn't be able to rename > ok 2 - injection leaking at a distance # time=12.255ms > > # Subtest: cleanup > not ok 1 - t.done is not a function > --- > stack: | > Test.<anonymous> (test/injection-missing-2.js:67:5) > Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40) > /usr/share/nodejs/libtap/lib/test.js:369:21 > Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7) > Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15) > /usr/share/nodejs/libtap/lib/test.js:485:13 > TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5) > Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14) > at: > line: 67 > column: 5 > file: test/injection-missing-2.js > function: Test.<anonymous> > type: TypeError > tapCaught: testFunctionThrow > test: cleanup > source: |2 > cleanup() > t.done() > ----^ > }) > ... > > 1..1 > # failed 1 test > not ok 3 - cleanup # time=6.229ms > > 1..3 > # failed 2 of 3 tests > # time=59.542ms > } > > ok 5 - test/injection-module.js # time=48.616ms { > # Subtest: setup > 1..0 > ok 1 - setup # time=4.119ms > > # Subtest: mock with details of original module > 1..4 > ok 1 - should be equal > ok 2 - should be equal > ok 3 - should be equal > ok 4 - should be equal > ok 2 - mock with details of original module # time=8.73ms > > # Subtest: cleanup > 1..0 > ok 3 - cleanup # time=5.565ms > > 1..3 > # time=48.616ms > } > > ok 6 - test/injection-paths.js # time=57.093ms { > # Subtest: setup > 1..0 > ok 1 - setup # time=4.303ms > > # Subtest: mock with absolute path > 1..1 > ok 1 - should be able to rename a file > ok 2 - mock with absolute path # time=6.331ms > > # Subtest: mock with relative path > 1..1 > ok 1 - should be able to rename a file > ok 3 - mock with relative path # time=3.855ms > > # Subtest: mock without dependencies > 1..0 > ok 4 - mock without dependencies # time=2.54ms > > # Subtest: cleanup > 1..0 > ok 5 - cleanup # time=5.839ms > > 1..5 > # time=57.093ms > } > > 1..6 > # failed 4 of 6 tests > # time=1525.944ms > ERROR: Coverage for lines (95.74%) does not meet global threshold (100%) > ERROR: Coverage for branches (93.75%) does not meet global threshold (100%) > ERROR: Coverage for statements (96.15%) does not meet global threshold (100%) > ----------|---------|----------|---------|---------|------------------- > File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s > ----------|---------|----------|---------|---------|------------------- > All files | 96.15 | 93.75 | 100 | 95.74 | > index.js | 96.15 | 93.75 | 100 | 95.74 | 64,75 > ----------|---------|----------|---------|---------|------------------- > dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 The full build log is available from: http://qa-logs.debian.net/2022/04/12/node-require-inject_1.4.4-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.