Source: node-npmrc
Version: 1.1.1-2
Severity: serious
X-Debbugs-CC: nod...@packages.debian.org
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:nodejs

Dear maintainer(s),

With a recent upload of nodejs in the nodejs transition the autopkgtest of node-npmrc fails in testing when that autopkgtest is run with the binary packages of nodejs from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
nodejs                 from testing    16.13.2+really14.19.1~dfsg-6
node-npmrc             from testing    1.1.1-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 of nodejs to testing [1]. Of course, nodejs shouldn't just break your autopkgtest (or even worse, your package), but your package needs to update to the new situation or, if this is really an issue with nodejs, reassigned to nodejs.

If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from nodejs should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

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=nodejs

https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-npmrc/20473807/log.gz

# Using ./package.(json|yaml)
# Node module name is npmrc
# Build files found: # Test files found: test.js
# Files/dir to be installed from source: test.js # Copy test files
# Copy debian/tests/pkg-js content
'debian/tests/pkg-js' -> '/tmp/autopkgtest-lxc.e2nvfpsn/downtmp/autopkgtest_tmp/smokeQF9eaf/debian/tests/pkg-js' 'debian/tests/pkg-js/test' -> '/tmp/autopkgtest-lxc.e2nvfpsn/downtmp/autopkgtest_tmp/smokeQF9eaf/debian/tests/pkg-js/test'
# Searching module in /usr/lib/nodejs/npmrc
# Searching module in /usr/lib/*/nodejs/npmrc
# Searching module in /usr/share/nodejs/npmrc
# Found /usr/share/nodejs/npmrc
# Searching files to link in /usr/share/nodejs/npmrc
'./npmrc.1' -> '/usr/share/nodejs/npmrc/npmrc.1'
'./npmrc.js' -> '/usr/share/nodejs/npmrc/npmrc.js'
'./package.json' -> '/usr/share/nodejs/npmrc/package.json'
# Launch debian/tests/pkg-js/test with sh -ex
+ export HOME=/tmp
+ tape test.js
/tmp/autopkgtest-lxc.e2nvfpsn/downtmp/autopkgtest_tmp/smokeQF9eaf/test.js:7
    , tmpdir  = require('os').tmpDir()
                              ^

TypeError: require(...).tmpDir is not a function
at Object.<anonymous> (/tmp/autopkgtest-lxc.e2nvfpsn/downtmp/autopkgtest_tmp/smokeQF9eaf/test.js:7:31)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
at importOrRequire (/usr/share/nodejs/tape/bin/import-or-require.js:14:5)
    at /usr/share/nodejs/tape/bin/tape:90:14
    at Array.reduce (<anonymous>)
autopkgtest [08:10:19]: test pkg-js-autopkgtest

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to