[Pkg-javascript-devel] Bug#999800: Bug#999800: Bug#999800: node-flatted: autopkgtest regression: Cannot find module '/tmp/autopkgtest-lxc.78cintn5/downtmp/build.nuC/src/cjs/index.js'
Yadd
yadd at debian.org
Tue Nov 16 22:26:11 GMT 2021
Control: tags -1 + moreinfo
Le 16/11/2021 à 23:05, Jonas Smedegaard a écrit :
> 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
Hi,
I'm unable to reproduce this failure using autopkgtest+schroot neither
autopkgtest+lxc
Cheers,
Yadd
More information about the Pkg-javascript-devel
mailing list