[Pkg-javascript-devel] Bug#1015118: node-configurable-http-proxy: 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:19 BST 2022


Source: node-configurable-http-proxy
Version: 4.5.0+~cs15.1.4-4
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
> Found debian/nodejs/prom-client/build
> 	cd ./prom-client && sh -ex ../debian/nodejs/prom-client/build
> + tsc -p .
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> help2man -n 'configurable-on-the-fly HTTP Proxy in Node.js' -N ./bin/configurable-http-proxy > configurable-http-proxy.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../debian/tests/test_modules/better-assert node_modules/better-assert
> 	ln -s ../debian/tests/test_modules/callsite node_modules/callsite
> 	ln -s ../debian/tests/test_modules/request node_modules/request
> 	ln -s ../debian/tests/test_modules/request-promise-core node_modules/request-promise-core
> 	ln -s ../debian/tests/test_modules/request-promise-native node_modules/request-promise-native
> 	ln -s ../. node_modules/configurable-http-proxy
> 	cd ./bintrees && sh -ex ../debian/nodejs/bintrees/test
> + nodeunit ./test/test_api.js ./test/test_correctness.js
> 
> test_api.js
> ✔ api - rbtree_clear
> ✔ api - rbtree_dup
> ✔ api - rbtree_nonexist
> ✔ api - rbtree_minmax
> ✔ api - rbtree_forward_it
> ✔ api - rbtree_forward_it_break
> ✔ api - rbtree_reverse_it
> ✔ api - rbtree_reverse_it_break
> ✔ api - rbtree_switch_it
> ✔ api - rbtree_empty_it
> ✔ api - rbtree_lower_bound
> ✔ api - rbtree_upper_bound
> ✔ api - rbtree_find
> ✔ api - rbtree_find_iter
> ✔ api - bintree_clear
> ✔ api - bintree_dup
> ✔ api - bintree_nonexist
> ✔ api - bintree_minmax
> ✔ api - bintree_forward_it
> ✔ api - bintree_forward_it_break
> ✔ api - bintree_reverse_it
> ✔ api - bintree_reverse_it_break
> ✔ api - bintree_switch_it
> ✔ api - bintree_empty_it
> ✔ api - bintree_lower_bound
> ✔ api - bintree_upper_bound
> ✔ api - bintree_find
> ✔ api - bintree_find_iter
> 
> test_correctness.js
> ✔ correctness - rbtree_10k
> ✔ correctness - bintree_10k
> 
> OK: 500006 assertions (5248ms)
> 	cd ./prom-client && sh -ex ../debian/nodejs/prom-client/test
> + jest --ci
> PASS test/clusterTest.js
> PASS test/pushgatewayWithPathTest.js
> PASS test/counterTest.js
> PASS test/gaugeTest.js
> PASS test/histogramTest.js
> PASS test/summaryTest.js
> PASS test/registerTest.js
> PASS test/metrics/eventLoopLagTest.js
> PASS test/metrics/heapSpacesSizeAndUsedTest.js
> PASS test/aggregatorsTest.js
> PASS test/timeWindowQuantilesTest.js
> PASS test/defaultMetricsTest.js
> PASS test/bucketGeneratorsTest.js
> PASS test/metrics/maxFileDescriptorsTest.js
> /<<PKGBUILDDIR>>/prom-client/test/metrics/eventLoopLagTest.js:19
>       expect(metrics).toHaveLength(8);
>                       ^
> 
> JestAssertionError: expect(received).toHaveLength(expected)
> 
> Expected length: 8
> Received length: 0
> Received array:  []
>     at Timeout._onTimeout (/<<PKGBUILDDIR>>/prom-client/test/metrics/eventLoopLagTest.js:19:23) {
>   matcherResult: {
>     message: 'expect(received).toHaveLength(expected)\n' +
>       '\n' +
>       'Expected length: 8\n' +
>       'Received length: 0\n' +
>       'Received array:  []',
>     pass: false
>   }
> }
> PASS test/metrics/heapSizeAndUsedTest.js
> PASS test/metrics/versionTest.js
> PASS test/metrics/processRequestsTest.js
> PASS test/metrics/gcTest.js
> PASS test/metrics/processHandlesTest.js
> PASS test/validationTest.js
> PASS test/metrics/processOpenFileDescriptorsTest.js
> PASS test/pushgatewayTest.js
> PASS test/metrics/processStartTimeTest.js
> 
> Test Suites: 23 passed, 23 total
> Tests:       229 passed, 229 total
> Snapshots:   14 passed, 14 total
> Time:        4.659 s
> Ran all test suites.
> 	cd ./tdigest && sh -ex ../debian/nodejs/tdigest/test
> + jest --ci
> PASS specs/discrete.spec.js
> PASS specs/digest.spec.js
> PASS specs/tdigest.spec.js
> 
> Test Suites: 3 passed, 3 total
> Tests:       48 passed, 48 total
> Snapshots:   0 total
> Time:        2.947 s
> Ran all test suites.
> 	/bin/sh -ex debian/tests/pkg-js/test
> + jasmine JASMINE_CONFIG_PATH=test/jasmine.json
> Error: Cannot find module 'stealthy-require'
> Require stack:
> - /<<PKGBUILDDIR>>/debian/tests/test_modules/request-promise-native/lib/rp.js
> - /<<PKGBUILDDIR>>/test/api_spec.js
>     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
>     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
>     at Module.require (node:internal/modules/cjs/loader:1005:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/tests/test_modules/request-promise-native/lib/rp.js:4:23)
>     at Module._compile (node:internal/modules/cjs/loader:1105:14)
>     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
>     at Module.load (node:internal/modules/cjs/loader:981:32)
>     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
>     at Module.require (node:internal/modules/cjs/loader:1005:19) {
>   code: 'MODULE_NOT_FOUND',
>   requireStack: [
>     '/<<PKGBUILDDIR>>/debian/tests/test_modules/request-promise-native/lib/rp.js',
>     '/<<PKGBUILDDIR>>/test/api_spec.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/07/16/node-configurable-http-proxy_4.5.0+~cs15.1.4-4_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