[Pkg-javascript-devel] autopkgtest fails on some packages

Yadd yadd at debian.org
Thu Sep 23 15:06:47 BST 2021


Le 23/09/2021 à 15:39, Nicolas Mora a écrit :
> Hello,
> 
> I have 2 js packages blocked in unstable because of autopkgtests fail:
> - https://tracker.debian.org/pkg/node-i18next-http-backend
> - https://tracker.debian.org/pkg/node-redux
> 
> For both of them, autopkgtest result says:
> autopkgtest [19:12:52]: test pkg-js-autopkgtest: -----------------------]
> autopkgtest [19:12:52]: test pkg-js-autopkgtest:  - - - - - - - - - -
> results - - - - - - - - - -
> pkg-js-autopkgtest   SKIP exit status 77 and marked as skippable
> autopkgtest [19:12:52]: @@@@@@@@@@@@@@@@@@@@ summary
> pkg-js-autopkgtest-require FAIL non-zero exit status 1
> pkg-js-autopkgtest   SKIP exit status 77 and marked as skippable
> 
> My concern is that I didn't put tests in those, and I can't see what's
> not working with those packages tests, while packages with similar
> packaging have no issue.
> 
> See https://tracker.debian.org/pkg/node-i18next-browser-languagedetector
> for example
> 
> Does anyone have an idea on how to fix that?
> 
> Thanks in advance
> 
> /Nicolas

"pkg-js-autopkgtest-require" tries to use "require(foo)". If your
package isn't a node module, you can:

  echo "require" >debian/tests/pkg-js/SKIP

Be careful to upstream changes. Some updates declares "type: module" in
package.json which isn't compatible with our current nodejs



More information about the Pkg-javascript-devel mailing list