[Pkg-javascript-devel] Bug#1015038: node-browserslist: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Jul 16 14:54:14 BST 2022


Source: node-browserslist
Version: 4.21.1+~cs6.1.10-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220716 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>>'
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
> help2man -N -n 'The config to share target browsers and Node.js versions' ./cli.js >browserslist.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../debian/tests/test_modules/browserslist-config-test node_modules/browserslist-config-test
> 	ln -s ../debian/tests/test_modules/nanospy node_modules/nanospy
> 	ln -s ../. node_modules/browserslist
> 	/bin/sh -ex debian/tests/pkg-js/test
> + NODE_ENV=test uvu test .test.js
> and.test.js
> • • •   (3 / 3)
> 
> browser.test.js
> • • • • •   (5 / 5)
> 
> cache.test.js
> • •   (2 / 2)
> 
> cli.test.js
> • • • • • • • • • • • • • • • • • • •   (19 / 19)
> 
> config-query.test.js
> •   (1 / 1)
> 
> config.test.js
> • • • • • • • • • • • • • • • • •   (17 / 17)
> 
> country.test.js
> • • • • • • • • • • •   (11 / 11)
> 
> cover.test.js
> • • • • • • • • • •   (10 / 10)
> 
> coverage.test.js
> • • • • • • • • • • • • •   (13 / 13)
> 
> custom.test.js
> • • • • • • • • • • • •   (12 / 12)
> 
> dead.test.js
> • •   (2 / 2)
> 
> defaults.test.js
> • • •   (3 / 3)
> 
> direct.test.js
> • • • • • • • • • • • • •   (13 / 13)
> 
> electron.test.js
> • • • • • • • • • • • • • •   (14 / 14)
> 
> error.test.js
> • •   (2 / 2)
> 
> esr.test.js
> • •   (2 / 2)
> 
> extends.test.js
> • ✘ • • • • • • • • • • • • • • • •   (17 / 18)
> 
>    FAIL  "uses file in package"
>     ENOENT: no such file or directory, lstat '/<<PKGBUILDDIR>>/debian/tests/test_modules/browserslist-config-test/ie'
> 
>     at Object.loadQueries (/<<PKGBUILDDIR>>/node.js:176:35)
>     at Function.select (/<<PKGBUILDDIR>>/index.js:1115:26)
> 
> 
> 
> feature.test.js
> • • •   (3 / 3)
> 
> global.test.js
> • • • • • • • •   (8 / 8)
> 
> last.test.js
> • • • • •   (5 / 5)
> 
> main.test.js
> • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •   (39 / 39)
> 
> major.test.js
> • • • • • • •   (7 / 7)
> 
> node.test.js
> • • • • • • • • • • • • • •   (14 / 14)
> 
> opera.test.js
> • •   (2 / 2)
> 
> parse.test.js
> •   (1 / 1)
> 
> phantomjs.test.js
> • •   (2 / 2)
> 
> range.test.js
> • • • •   (4 / 4)
> 
> release.test.js
> • •   (2 / 2)
> 
> shareable-stats.test.js
> • • • • • • • • • • • • • •   (14 / 14)
> 
> since.test.js
> • • • •   (4 / 4)
> 
> unreleased.test.js
> • • •   (3 / 3)
> 
> versions.test.js
> • • • • • • • • •   (9 / 9)
> 
> years.test.js
> • • • •   (4 / 4)
> 
>   Total:     268
>   Passed:    267
>   Skipped:   0
>   Duration:  4102.27ms
> 
> 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/07/16/node-browserslist_4.21.1+~cs6.1.10-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&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