[Pkg-javascript-devel] Bug#999800: Bug#999800: node-flatted: autopkgtest regression: Cannot find module '/tmp/autopkgtest-lxc.78cintn5/downtmp/build.nuC/src/cjs/index.js'

Jonas Smedegaard jonas at jones.dk
Tue Nov 16 22:05:16 GMT 2021


Quoting Paul Gevers (2021-11-16 21:11:39)
> Source: node-flatted
> Version: 3.2.2~ds-2
> X-Debbugs-CC: debian-ci at lists.debian.org
> Severity: serious
> User: debian-ci at lists.debian.org
> Usertags: regression
> 
> Dear maintainer(s),
> 
> With a recent upload of node-flatted the autopkgtest of node-flatted 
> fails in testing when that autopkgtest is run with the binary packages 
> of node-flatted from unstable. It passes when run with only packages 
> from testing. In tabular form:
> 
>                         pass            fail
> node-flatted           from testing    3.2.2~ds-2
> all others             from testing    from testing
> 
> I copied some of the output at the bottom of this report.
> 
> Currently this regression is blocking the migration to testing [1]. Can 
> you please investigate the situation and fix it?
> 
> More information about this bug and the reason for filing it can be found on
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
> 
> Paul
> 
> [1] https://qa.debian.org/excuses.php?package=node-flatted
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-flatted/16718609/log.gz
> 
> internal/modules/cjs/loader.js:406
>      throw e;
>      ^
> 
> Error: Cannot find module 
> '/tmp/autopkgtest-lxc.78cintn5/downtmp/build.nuC/src/cjs/index.js'
>      at createEsmNotFoundErr (internal/modules/cjs/loader.js:842:15)
>      at finalizeEsmResolution (internal/modules/cjs/loader.js:835:15)
>      at trySelf (internal/modules/cjs/loader.js:400:12)
>      at Function.Module._resolveFilename 
> (internal/modules/cjs/loader.js:793:24)
>      at Function.Module._load (internal/modules/cjs/loader.js:667:27)
>      at Module.require (internal/modules/cjs/loader.js:887:19)
>      at require (internal/modules/cjs/helpers.js:74:18)
>      at [eval]:1:1
>      at Script.runInThisContext (vm.js:120:18)
>      at Object.runInThisContext (vm.js:309:38) {
>    code: 'MODULE_NOT_FOUND',
>    path: '/tmp/autopkgtest-lxc.78cintn5/downtmp/build.nuC/src/package.json'
> }
> autopkgtest [11:11:00]: test command1

I don't understand why it fails, and could use some help.

When I log into a clean chroot, install the packages node-flatted and
nodejs, then the test command succeeds - i.e. this prints "0":

> node -e "require('flatted');"; echo $?

But when executed inside the (to me super complex) autopkgtest 
framework, that same command apparently fails.

What am I missing?


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211116/b8019171/attachment.sig>


More information about the Pkg-javascript-devel mailing list