Your message dated Sun, 18 Aug 2024 19:22:39 +0000
with message-id <e1sflu7-00fgxn...@fasolo.debian.org>
and subject line Bug#1076542: fixed in nodejs 20.16.0+dfsg-1
has caused the Debian Bug report #1076542,
regarding nodejs: autopkgtest failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1076542: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076542
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: nodejs
Version: 20.15.1+dfsg-1
Severity: serious

Hello, two tests are now failing:
https://ci.debian.net/packages/n/nodejs/testing/amd64/49188413/

 45s not ok 253 parallel/test-cli-permission-multiple-allow
 45s   ---
 45s   duration_ms: 715.29500
 45s   severity: fail
 45s   exitcode: 1
 45s   stack: |-
 45s     node:assert:126
 45s       throw new AssertionError(obj);
 45s       ^
 45s
 45s     AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
 45s     + actual - expected
 45s
 45s     + 'true'
 45s     - 'false'
 45s         at Object.<anonymous> 
(/tmp/autopkgtest-lxc.voqp2vqz/downtmp/build.4lW/src/test/parallel/test-cli-permission-multiple-allow.js:27:10)
 45s         at Module._compile (node:internal/modules/cjs/loader:1358:14)
 45s         at Module._extensions..js 
(node:internal/modules/cjs/loader:1416:10)
 45s         at Module.load (node:internal/modules/cjs/loader:1208:32)
 45s         at Module._load (node:internal/modules/cjs/loader:1024:12)
 45s         at Function.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:174:12)
 45s         at node:internal/main/run_main_module:28:49 {
 45s       generatedMessage: true,
 45s       code: 'ERR_ASSERTION',
 45s       actual: 'true',
 45s       expected: 'false',
 45s       operator: 'strictEqual'
 45s     }
 45s

 46s not ok 261 parallel/test-cli-permission-deny-fs
 46s   ---
 46s   duration_ms: 911.79900
 46s   severity: fail
 46s   exitcode: 1
 46s   stack: |-
 46s     node:assert:126
 46s       throw new AssertionError(obj);
 46s       ^
 46s
 46s     AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
 46s     + actual - expected
 46s
 46s     + 'true'
 46s     - 'false'
 46s         at Object.<anonymous> 
(/tmp/autopkgtest-lxc.voqp2vqz/downtmp/build.4lW/src/test/parallel/test-cli-permission-deny-fs.js:45:10)
 46s         at Module._compile (node:internal/modules/cjs/loader:1358:14)
 46s         at Module._extensions..js 
(node:internal/modules/cjs/loader:1416:10)
 46s         at Module.load (node:internal/modules/cjs/loader:1208:32)
 46s         at Module._load (node:internal/modules/cjs/loader:1024:12)
 46s         at Function.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:174:12)
 46s         at node:internal/main/run_main_module:28:49 {
 46s       generatedMessage: true,
 46s       code: 'ERR_ASSERTION',
 46s       actual: 'true',
 46s       expected: 'false',
 46s       operator: 'strictEqual'
 46s     }
 46s
 46s     Node.js v20.15.1
 46s   ...


Not sure what happened

Also, please add strace to test dependencies to also run strace tests
 68s ok 2483 parallel/test-strace-openat-openssl # skip missing strace

Note: to make it work you probably need the following patches:

diff -Nru 
nodejs-20.15.1+dfsg/debian/patches/ubuntu-openssl-fix-strace-openat-test.patch 
nodejs-20.15.1+dfsg/debian/patches/ubuntu-openssl-fix-strace-openat-test.patch
--- 
nodejs-20.15.1+dfsg/debian/patches/ubuntu-openssl-fix-strace-openat-test.patch  
    1970-01-01 00:00:00.000000000 +0000
+++ 
nodejs-20.15.1+dfsg/debian/patches/ubuntu-openssl-fix-strace-openat-test.patch  
    2024-06-28 12:25:37.000000000 +0000
@@ -0,0 +1,36 @@
Index: nodejs-20.13.1+dfsg/test/parallel/test-strace-openat-openssl.js
===================================================================
--- nodejs-20.13.1+dfsg.orig/test/parallel/test-strace-openat-openssl.js
+++ nodejs-20.13.1+dfsg/test/parallel/test-strace-openat-openssl.js
@@ -5,6 +5,7 @@ const { spawn, spawnSync } = require('no
 const { createInterface } = require('node:readline');
 const assert = require('node:assert');
+process.env.OPENSSL_CONF="/usr/lib/ssl/openssl.cnf"
 if (!common.hasCrypto)
   common.skip('missing crypto');
 if (!common.isLinux)
@@ -17,7 +18,7 @@ if (spawnSync('strace').error !== undefi
{
   const allowedOpenCalls = new Set([
-    '/etc/ssl/openssl.cnf',
+    '/usr/lib/ssl/openssl.cnf',
   ]);
   const strace = spawn('strace', [
     '-f', '-ff',
@@ -42,6 +43,14 @@ if (spawnSync('strace').error !== undefi
     if (file.match(/\/proc\/.+/) !== null) {
       return;
     }
+    // skip zoneinfo
+    if (file.match(/zoneinfo64.res/) !== null) {
+      return;
+    }
+    // skip /dev/z90crypt, new in openssl 3.2*
+    if (file.match(/z90crypt/) !== null) {
+      return;
+    }
assert(allowedOpenCalls.delete(file), `${file} is not in the list of allowed openat calls`);
   });

diff -Nru nodejs-20.15.1+dfsg/debian/tests/control 
nodejs-20.15.1+dfsg/debian/tests/control
--- nodejs-20.15.1+dfsg/debian/tests/control    2024-07-09 08:02:04.000000000 
+0000
+++ nodejs-20.15.1+dfsg/debian/tests/control    2024-07-09 21:53:29.000000000 
+0000
@@ -1,2 +1,2 @@
 Test-Command: ./debian/rules override_dh_auto_test-arch
-Depends: @, ca-certificates, python3, procps, curl, build-essential
+Depends: @, ca-certificates, python3, procps, curl, build-essential, 
tzdata-icu, strace


thanks,

Gianfranco

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: nodejs
Source-Version: 20.16.0+dfsg-1
Done: Jérémy Lal <kapo...@melix.org>

We believe that the bug you reported is fixed in the latest version of
nodejs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1076...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérémy Lal <kapo...@melix.org> (supplier of updated nodejs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 18 Aug 2024 14:48:08 +0200
Source: nodejs
Architecture: source
Version: 20.16.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-de...@alioth-lists.debian.net>
Changed-By: Jérémy Lal <kapo...@melix.org>
Closes: 1076542
Changes:
 nodejs (20.16.0+dfsg-1) unstable; urgency=medium
 .
   * New upstream version 20.16.0+dfsg
   * patches:
     + improve openssl 3.2.2 tests fixes
     + upstream fix for failing permissions tests in /tmp
       Closes: #1076542.
Checksums-Sha1:
 685cec9f291e777f38a7e89ca9f01423c814e143 4141 nodejs_20.16.0+dfsg-1.dsc
 4e580579ef4a73cf6ab060c74433501f292c18d3 272924 
nodejs_20.16.0+dfsg.orig-ada.tar.xz
 ca0d0dbc99009f666bde2afb1e10618f90a29110 294660 
nodejs_20.16.0+dfsg.orig-types-node.tar.xz
 51cd9aa992192b8968f682876c20a49f662971e0 30175876 
nodejs_20.16.0+dfsg.orig.tar.xz
 117eed98a78f9fd99924a64ec3f54f855c57efed 162972 
nodejs_20.16.0+dfsg-1.debian.tar.xz
 35546138562716b0dbcfbe6831d2cacd4fd4bf44 10946 
nodejs_20.16.0+dfsg-1_source.buildinfo
Checksums-Sha256:
 9b6cfa6d6f49f44e3c9f1a01b68319701ba845dce6d0e21f7b7c0c03409a1cc9 4141 
nodejs_20.16.0+dfsg-1.dsc
 b58fd8b7ef61255b66d42b66e32e74ccdde61c4e02facd6b5a566618e32e993e 272924 
nodejs_20.16.0+dfsg.orig-ada.tar.xz
 c3f10592b64015ad1dcefc8d8ea70c4ea7d5198b893cebef0570b79af003c0c6 294660 
nodejs_20.16.0+dfsg.orig-types-node.tar.xz
 1bc6a9de6862c8e238edd3518066ad63bca4ce2f13d47c3895ed9207c6f2ec8c 30175876 
nodejs_20.16.0+dfsg.orig.tar.xz
 fd7344767a10f3b8baecf84e4683b59d21b093dadffbb38ca096bedc74880cef 162972 
nodejs_20.16.0+dfsg-1.debian.tar.xz
 1a709167dfb0ac484a985ced0a7380df1904d42a5666a35286b08f3e24ffc2e6 10946 
nodejs_20.16.0+dfsg-1_source.buildinfo
Files:
 27a2ff21068166f17196a85d5d88eb00 4141 javascript optional 
nodejs_20.16.0+dfsg-1.dsc
 774dbd4a3931a17737b3c27a7a67d587 272924 javascript optional 
nodejs_20.16.0+dfsg.orig-ada.tar.xz
 be0e5d7cab5690830691b6de0ec632e4 294660 javascript optional 
nodejs_20.16.0+dfsg.orig-types-node.tar.xz
 36480de16754d4477c6b5e3e71a68e52 30175876 javascript optional 
nodejs_20.16.0+dfsg.orig.tar.xz
 2ac045a93c3537ba71371bb201b0cd3e 162972 javascript optional 
nodejs_20.16.0+dfsg-1.debian.tar.xz
 4c026d5eb11ffcb4c279ae3d39c6a868 10946 javascript optional 
nodejs_20.16.0+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmbCSJkSHGthcG91ZXJA
bWVsaXgub3JnAAoJEGYRwF7dOfN0YCAP/A6rrLnl8cSVfyVngs6pdbaNZA29Sk13
uhDnrE8W9jeXYiP9U9jWxoqHEIul4THNLa8H8Plwr6muGsUGfTan2SDYRieKu7Ae
/wRbGy8ecp/jOWTTxb8gKPmAX+o4WpwuRL9loAId56LIKtXmoW2FQDCujspMKECd
RhwU8T1w9HbGklTD4MqUdPTezcRzr1IDYdxF2Eayv2rvM1APDyDdZiqaAse6jzy7
aANXy8pZrxWahfdmqicjEHtRFXHMhYExAWbWRQRYctxv85Ao2SOgUxcbzFUhZJhD
kJfeMF32u7GhNdel9fGS8vzL5eqwr1S6qJMQSgj048NHAc4ozo6NPdERwAB7f0Of
fIDjkkWCXho2nBpyzp6ZiWUHxu081tu+2EJUb+hoGAGa/llXoKXv9AWWolT0ZDV3
q0kC58erEadGvt55sirMlZT3K+xZQ5jBL4HpNTa9TkbqIRbjzn5yV+nXfamZ3ncR
cQR/CUp3zGUhzKIisPeB4mwPm6hbUGCr9JlDnpXHWXBw3lew73OnA+DXcVUc4ZNL
GXV4jh64yixMVoCABWiF7KkmlLEdto9M+XcFkEnbqGmLOoCtiY8fEkxMypkDSPv+
2JZ0zj3ulgpx6vtLWs59ExfMAyfmU9OyV8B7x+h7+lrK3FUL0S7rhf1JvXKSZuqX
O3RIf9IkvE80
=pai4
-----END PGP SIGNATURE-----

Attachment: pgpgGah2be74A.pgp
Description: PGP signature


--- End Message ---

Reply via email to