Your message dated Sat, 11 Oct 2025 11:20:18 +0000
with message-id <[email protected]>
and subject line Bug#1034603: fixed in node-address 2.0.3-3
has caused the Debian Bug report #1034603,
regarding node-address: Increase timeout to avoid flaky autopkgtest failures on 
slow testbeds
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 [email protected]
immediately.)


-- 
1034603: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034603
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: node-address
Version: 1.2.1-1
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu lunar ubuntu-patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

node-address currently uses a mocha timeout of 20s, as defined in
debian/tests/pkg-js/test, which can lead to autopkgtest failures on slower
architectures, as observed on DebCI and Ubuntu's autopkgtest infrastructure.

    Error: Timeout of 20000ms exceeded.
    For async tests and hooks, ensure "done()" is called;
    if returning a Promise, ensure it resolves.

It happened on slower architectures, like armel or ppc64el in the past, e.g.:
https://ci.debian.net/data/autopkgtest/testing/armel/n/node-address/32795170/log.gz

Executing the test on a (small) ppc64el cloud instance shows that the test 
passes,
but would have almost hit the timeout, too:
=> "undefined should works with ts without error (18105ms)" vs 20000ms timeout.

```
# Launch debian/tests/pkg-js/test with sh -ex
+ ln -s ../ node_modules/address
+ mocha --check-leaks -R spec -t 20000 test/address.test.js test/ts.test.js


  test/address.test.js
    regex check
      undefined should MAC_IP_RE pass
      undefined should MAC_RE pass
    address()
      undefined should return first ethernet addrs
      undefined should return first ethernet addrs from osx
      undefined should return first ethernet addrs from linux
      undefined should return first vnic interface addrs from osx
      undefined should return first local loopback addrs
      undefined should return first local loopback addrs from linux
    interface()
      undefined should return interface with family
    address.mac()
      - should return mac
      undefined should return mock mac address
      undefined should return null when ip not exists
      undefined should return err when ifconfig cmd exec error
      undefined should return mac mock win32
    address.ip()
      undefined should return 127.0.0.1
      undefined should return the first not 127.0.0.1 interface
      undefined should return utun1
    address.dns()
      undefined should return dns servers from osx
      undefined should return dns servers from linux
      undefined should return err when fs error

  test/ts.test.js
    undefined should works with ts without error (18105ms)


  20 passing (18s)
  1 pending

+ rm -rf node_modules
# Cleaning tmp dir
autopkgtest [10:29:32]: test pkg-js-autopkgtest: -----------------------]
autopkgtest [10:29:34]: test pkg-js-autopkgtest:  - - - - - - - - - - results - 
- - - - - - - - -
pkg-js-autopkgtest   PASS
```

In Ubuntu, the attached patch was applied to achieve the following:

  * d/t/pkg-js: increase mocha timeout to 60s, to avoid flaky autopkgtest
    failures on slow testbeds (like armel or ppc64el)

Thanks for considering the patch.

-- Lukas


-- System Information:
Debian Release: bookworm/sid
  APT prefers jammy-updates
  APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), 
(100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.0-38-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru node-address-1.2.1/debian/tests/pkg-js/test 
node-address-1.2.1/debian/tests/pkg-js/test
--- node-address-1.2.1/debian/tests/pkg-js/test 2020-04-10 15:10:52.000000000 
+0200
+++ node-address-1.2.1/debian/tests/pkg-js/test 2023-04-19 12:48:03.000000000 
+0200
@@ -1,5 +1,5 @@
 set -e
 cp -a debian/tests/test_modules node_modules
 ln -s ../ node_modules/address
-mocha --check-leaks -R spec -t 20000 test/*.test.js
+mocha --check-leaks -R spec -t 60000 test/*.test.js
 rm -rf node_modules

--- End Message ---
--- Begin Message ---
Source: node-address
Source-Version: 2.0.3-3
Done: Santiago Vila <[email protected]>

We believe that the bug you reported is fixed in the latest version of
node-address, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated node-address 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 Oct 2025 11:10:00 +0200
Source: node-address
Architecture: source
Version: 2.0.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<[email protected]>
Changed-By: Santiago Vila <[email protected]>
Closes: 1034603 1116793
Changes:
 node-address (2.0.3-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Lukas Märdian ]
   * Increase timeout to avoid flaky autopkgtest failures on slow testbeds.
     Closes: #1034603.
 .
   [ Santiago Vila ]
   * d/control: Drop <!nocheck> from mocha and node-typescript.
     Closes: #1116793.
   * d/control: Drop "Rules-Requires-Root: no" (default).
   * d/salsa-ci.yml: Use the simplified version.
Checksums-Sha1:
 f20fe5fca5fe13dcc2e952ce1f6a2df0a481478b 1888 node-address_2.0.3-3.dsc
 cb6c8f40614789b6c00a0956c663f2bc75f8f1e2 15256 
node-address_2.0.3-3.debian.tar.xz
 faaec2c9bb3b74653beaa72f9ebefae6e8a09672 16404 
node-address_2.0.3-3_source.buildinfo
Checksums-Sha256:
 e589056770aa12ae451bb6cceb738e6d53911b5eb50acedee82fdc4734253503 1888 
node-address_2.0.3-3.dsc
 17a794ca8cacfff0ca2659417be796790ad59275c12876212d9abc410174da5a 15256 
node-address_2.0.3-3.debian.tar.xz
 f9d2f8f727e95b6ebe7223bd4ad5951f42eab320542b8c0863582d91f582d04d 16404 
node-address_2.0.3-3_source.buildinfo
Files:
 f0002979dac1f67b881c0ec3a31fa5bb 1888 javascript optional 
node-address_2.0.3-3.dsc
 fbb94e9ec1cf5136e31deb8507d5553e 15256 javascript optional 
node-address_2.0.3-3.debian.tar.xz
 f31820de038bbfa0c66ebe2983b82bfc 16404 javascript optional 
node-address_2.0.3-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmjqNYEACgkQQc5/C58b
izKAEQf/VS+OCt7HFo8VxLHpC39qR0qtwgKh+EK2S1ZJX9uAGChqKX1KOHg7QfDf
re4tdNBVCp5273AeqvywNH7i2EDQtFmjjon/QX5s9e4j4euqy+aWuU94l10WVaQQ
jwwLJxpbZvSkqUoSvkqV5+54FJ3EVsunURb2m8shaAP639BVytbt/aGPJ83Dt/9a
4TcF48nGaMC/j7cl/PjtCnsuIpHevZt99h3T34/L5m2iDuas65s7tkVu5oXv6owW
FGC86zYO4CsqZNEyDHF0BNVvZDFTwtBKJDMWb6nl6ui8jE7r3VIUGBc5UGov4TBi
3JeJJZK3gwOEenix2Zk5VH+bLiZdNA==
=SNL5
-----END PGP SIGNATURE-----

Attachment: pgpY6fTuCdgby.pgp
Description: PGP signature


--- End Message ---
-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to