[Pkg-javascript-devel] Bug#1013640: node-browserify-zlib: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Fri Jun 24 15:36:36 BST 2022
Source: node-browserify-zlib
Version: 0.2.0+20170820git8b3f0a862f6b+dfsg-7
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> babeljs src/ --out-dir lib
> Successfully compiled 2 files with Babel (500ms).
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/browserify-zlib
> /bin/sh -ex debian/tests/pkg-js/test
> + convert rose: test/fixtures/person.jpg
> + gzip -9 -n
> + + grep -v test/test-zlib-invalid-input.jsls test/test-zlib-close-after-error.js test/test-zlib-close-after-write.js test/test-zlib-const.js test/test-zlib-convenience-methods.js test/test-zlib-dictionary-fail.js test/test-zlib-dictionary.js test/test-zlib-flush-drain.js test/test-zlib-flush-flags.js test/test-zlib-from-concatenated-gzip.js test/test-zlib-from-gzip.js test/test-zlib-from-string.js test/test-zlib-invalid-input.js test/test-zlib-random-byte-pipes.js test/test-zlib-sync-no-event.js test/test-zlib-truncated.js test/test-zlib-unzip-one-byte-chunks.js test/test-zlib-write-after-close.js test/test-zlib-write-after-flush.js test/test-zlib-zero-byte.js test/test-zlib.js
> +
> grep -v test/test-zlib-write-after-close.js
> + grep -v test/test-zlib-write-after-flush.js
> + tap -R spec --no-cov test/test-zlib-close-after-error.js test/test-zlib-close-after-write.js test/test-zlib-const.js test/test-zlib-convenience-methods.js test/test-zlib-dictionary-fail.js test/test-zlib-dictionary.js test/test-zlib-flush-drain.js test/test-zlib-flush-flags.js test/test-zlib-from-concatenated-gzip.js test/test-zlib-from-gzip.js test/test-zlib-from-string.js test/test-zlib-random-byte-pipes.js test/test-zlib-sync-no-event.js test/test-zlib-truncated.js test/test-zlib-unzip-one-byte-chunks.js test/test-zlib-zero-byte.js test/test-zlib.js
>
> test/test-zlib-close-after-error.js
> - test/test-zlib-close-after-error.js
> test/test-zlib-close-after-write.js
> - test/test-zlib-close-after-write.js
> test/test-zlib-const.js
> - test/test-zlib-const.js
> test/test-zlib-convenience-methods.js
> - test/test-zlib-convenience-methods.js
> test/test-zlib-dictionary-fail.js
> - test/test-zlib-dictionary-fail.js
> node:assert:123
> throw new AssertionError(obj);
> ^
>
> AssertionError [ERR_ASSERTION]: after calling flush, writable stream should not need to drain
> at process.<anonymous> (/<<PKGBUILDDIR>>/test/test-zlib-flush-drain.js:42:10)
> at Object.onceWrapper (node:events:642:26)
> at process.emit (node:events:527:28) {
> generatedMessage: false,
> code: 'ERR_ASSERTION',
> actual: true,
> expected: false,
> operator: '=='
> }
> block=259
> remain=765
>
> inp data 259
> test/test-zlib-dictionary.js
> - test/test-zlib-dictionary.js
> gzip data 10
> block=254
> remain=511
>
> inp data 254
> block=259
> remain=252
>
> inp data 259
> block=252
> remain=0
>
> inp data 252
> gzip data 1037
> gunz data 1024
> out data 40
> hash=2706e01f753b60a4914a0f7424118c66f70626ef
> test/test-zlib-flush-drain.js
>
> 1) test/test-zlib-flush-drain.js
> test/test-zlib-flush-flags.js
> - test/test-zlib-flush-flags.js
> (node:4098774) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/test-zlib-from-concatenated-gzip.js
> - test/test-zlib-from-concatenated-gzip.js
> test/test-zlib-from-gzip.js
> - test/test-zlib-from-gzip.js
> test/test-zlib-from-string.js
> - test/test-zlib-from-string.js
> test/test-zlib-random-byte-pipes.js
> - test/test-zlib-random-byte-pipes.js
> test/test-zlib-sync-no-event.js
> - test/test-zlib-sync-no-event.js
> test/test-zlib-truncated.js
> - test/test-zlib-truncated.js
> test/test-zlib-unzip-one-byte-chunks.js
> - test/test-zlib-unzip-one-byte-chunks.js
> test/test-zlib-zero-byte.js
> - test/test-zlib-zero-byte.js
> test/test-zlib.js
>
> ✓ empty.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Deflate -> Inflate
>
> ✓ empty.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Gzip -> Gunzip
>
> ✓ empty.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Deflate -> Unzip
>
> ✓ empty.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Gzip -> Unzip
>
> ✓ empty.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} DeflateRaw -> InflateRaw
>
> ✓ person.jpg 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Deflate -> Inflate
>
> ✓ person.jpg 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Gzip -> Gunzip
>
> ✓ person.jpg 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Deflate -> Unzip
>
> ✓ person.jpg 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Gzip -> Unzip
>
> ✓ person.jpg 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} DeflateRaw -> InflateRaw
>
> ✓ elipses.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Deflate -> Inflate
>
> ✓ elipses.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Gzip -> Gunzip
>
> ✓ elipses.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Deflate -> Unzip
>
> ✓ elipses.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} Gzip -> Unzip
>
> ✓ elipses.txt 16384 {"level":6,"windowBits":15,"memLevel":8,"strategy":0} DeflateRaw -> InflateRaw
>
> 15 passing (907.71ms)
> 15 pending
> 1 failing
>
> 1) test/test-zlib-flush-drain.js test/test-zlib-flush-drain.js:
> test/test-zlib-flush-drain.js
>
>
> 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/06/24/node-browserify-zlib_0.2.0+20170820git8b3f0a862f6b+dfsg-7_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@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.
More information about the Pkg-javascript-devel
mailing list