Your message dated Fri, 27 Sep 2024 10:56:32 +0000
with message-id <e1su8eg-00dy5v...@fasolo.debian.org>
and subject line Bug#1082687: fixed in node-mimic-response 3.1.0-9
has caused the Debian Bug report #1082687,
regarding node-mimic-response: FTBFS: TypeError: Cannot read properties of 
undefined (reading 'close')
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.)


-- 
1082687: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082687
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:node-mimic-response
Version: 3.1.0-8
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/iconv -> /usr/lib/x86_64-linux-gnu/nodejs/iconv
   dh_auto_build --buildsystem=nodejs
No build command found, searching known files
   dh_auto_test --buildsystem=nodejs
        ln -s ../debian/tests/test_modules/create-cert node_modules/create-cert
        ln -s ../debian/tests/test_modules/create-test-server 
node_modules/create-test-server
        ln -s ../debian/tests/test_modules/es6-promisify 
node_modules/es6-promisify
        ln -s ../debian/tests/test_modules/p-event node_modules/p-event
        ln -s ../debian/tests/test_modules/pem node_modules/pem
        ln -s ../. node_modules/mimic-response
        /bin/sh -ex debian/tests/pkg-js/test
+ NODE_PATH=node_modules jest --ci --testRegex test.js
FAIL ./test.js
  ● normal

    TypeError: pathRegexp is not a function

      43 |   this.params = undefined;
      44 |   this.path = undefined;
    > 45 |   this.regexp = pathRegexp(path, this.keys = [], opts);
         |                 ^
      46 |
      47 |   // set fast path flags
      48 |   this.regexp.fast_star = path === '*'

      at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17)
      at Function.use 
(../../../usr/share/nodejs/express/lib/router/index.js:475:17)
      at Function.lazyrouter 
(../../../usr/share/nodejs/express/lib/application.js:151:18)
      at Function.use 
(../../../usr/share/nodejs/express/lib/application.js:221:8)
      at debian/tests/test_modules/create-test-server/src/index.js:27:7
      at Object.<anonymous> (test.js:12:11)

  ● do not overwrite prototype properties

    TypeError: pathRegexp is not a function

      43 |   this.params = undefined;
      44 |   this.path = undefined;
    > 45 |   this.regexp = pathRegexp(path, this.keys = [], opts);
         |                 ^
      46 |
      47 |   // set fast path flags
      48 |   this.regexp.fast_star = path === '*'

      at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17)
      at Function.use 
(../../../usr/share/nodejs/express/lib/router/index.js:475:17)
      at Function.lazyrouter 
(../../../usr/share/nodejs/express/lib/application.js:151:18)
      at Function.use 
(../../../usr/share/nodejs/express/lib/application.js:221:8)
      at debian/tests/test_modules/create-test-server/src/index.js:27:7
      at Object.<anonymous> (test.js:12:11)

  ● `aborted` event

    TypeError: pathRegexp is not a function

      43 |   this.params = undefined;
      44 |   this.path = undefined;
    > 45 |   this.regexp = pathRegexp(path, this.keys = [], opts);
         |                 ^
      46 |
      47 |   // set fast path flags
      48 |   this.regexp.fast_star = path === '*'

      at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17)
      at Function.use 
(../../../usr/share/nodejs/express/lib/router/index.js:475:17)
      at Function.lazyrouter 
(../../../usr/share/nodejs/express/lib/application.js:151:18)
      at Function.use 
(../../../usr/share/nodejs/express/lib/application.js:221:8)
      at debian/tests/test_modules/create-test-server/src/index.js:27:7
      at Object.<anonymous> (test.js:12:11)

  ● autoDestroy must be false

    TypeError: pathRegexp is not a function

      43 |   this.params = undefined;
      44 |   this.path = undefined;
    > 45 |   this.regexp = pathRegexp(path, this.keys = [], opts);
         |                 ^
      46 |
      47 |   // set fast path flags
      48 |   this.regexp.fast_star = path === '*'

      at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17)
      at Function.use 
(../../../usr/share/nodejs/express/lib/router/index.js:475:17)
      at Function.lazyrouter 
(../../../usr/share/nodejs/express/lib/application.js:151:18)
      at Function.use 
(../../../usr/share/nodejs/express/lib/application.js:221:8)
      at debian/tests/test_modules/create-test-server/src/index.js:27:7
      at Object.<anonymous> (test.js:12:11)

  ● `close` event

    TypeError: pathRegexp is not a function

      43 |   this.params = undefined;
      44 |   this.path = undefined;
    > 45 |   this.regexp = pathRegexp(path, this.keys = [], opts);
         |                 ^
      46 |
      47 |   // set fast path flags
      48 |   this.regexp.fast_star = path === '*'

      at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17)
      at Function.use 
(../../../usr/share/nodejs/express/lib/router/index.js:475:17)
      at Function.lazyrouter 
(../../../usr/share/nodejs/express/lib/application.js:151:18)
      at Function.use 
(../../../usr/share/nodejs/express/lib/application.js:221:8)
      at debian/tests/test_modules/create-test-server/src/index.js:27:7
      at Object.<anonymous> (test.js:12:11)


  ● Test suite failed to run

    TypeError: Cannot read properties of undefined (reading 'close')

      30 |
      31 | afterAll(async () => {
    > 32 |     await server.close();
         |                  ^
      33 | });
      34 |
      35 | test('normal', async () => {

      at Object.<anonymous> (test.js:32:18)

Test Suites: 1 failed, 1 total
Tests:       5 failed, 5 total
Snapshots:   0 total
Time:        1.907 s
Ran all test suites.
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202409/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: node-mimic-response
Source-Version: 3.1.0-9
Done: Yadd <y...@debian.org>

We believe that the bug you reported is fixed in the latest version of
node-mimic-response, 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 1082...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yadd <y...@debian.org> (supplier of updated node-mimic-response 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: SHA512

Format: 1.8
Date: Fri, 27 Sep 2024 11:56:30 +0400
Source: node-mimic-response
Architecture: source
Version: 3.1.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Yadd <y...@debian.org>
Closes: 1082687
Changes:
 node-mimic-response (3.1.0-9) unstable; urgency=medium
 .
   * Team upload
   * Declare compliance with policy 4.7.0
   * Update test modules
   * Use ava for tests (bad NODE_PATH management by jest after express update)
     (Closes: #1082687)
Checksums-Sha1: 
 6de803911c1a0d16742972ca892956debb1f9e92 2222 node-mimic-response_3.1.0-9.dsc
 8b60191a290a787174e062b9661d4762e633be72 24412 
node-mimic-response_3.1.0-9.debian.tar.xz
Checksums-Sha256: 
 a9625a5495088c0164a1201188e8180d450f49ccb3a31d0be2547437b7e638c2 2222 
node-mimic-response_3.1.0-9.dsc
 dd492df34d132c7e47d85962a655460e12eb687a881f59dcc15e1230ac2404ea 24412 
node-mimic-response_3.1.0-9.debian.tar.xz
Files: 
 6335e941316029532dc91e9db1d24973 2222 javascript optional 
node-mimic-response_3.1.0-9.dsc
 c586d6fcef1fc0f498695cb2e2425fc0 24412 javascript optional 
node-mimic-response_3.1.0-9.debian.tar.xz

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

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmb2h4QACgkQ9tdMp8mZ
7umDMw/8Dh6fgEXWeKAoN2NgMf0xGTTm0rx+pIttlrmcpoP1xjIgM0/hCMxviAbr
xyIFavZVGCP4HbZVHSUABXz89uB9WszPpAkSSlS2yz0oiXZhiabmDCT296d7yrfH
uorDbuLyUKuj2pWm6LvmquKGxi3Ai7EpuNynas3I4z6KGrneizi/qEK1/K8LR2s7
snXTB2x2hR8hJp9a1hcsvdByoQkn7kSiGVFm5/n+A9PpWMOj4j9915J5vf2zRChu
J+inKuE24TwMWVRKGNYYxBP12liszP/nnhzqbG+1ravWk2hH2aOt6ShPoOJpTqsG
B4t9TeXj84dMPt7DBaBhSZYY/m1m7bdopSl1mOCH7rpJ+dN5xw3jeeX/fJHzR6kl
7EeaEMXVkQ8IrE52iKBLEwC3lI7XS/IuSsr6y2eVT/FC5tLw9S1QsIbXCFNbUevc
Ayjq+NPlOKBgBMfpUidjRDwI0+iaspeTG4UngbatjvjyE3EvJmmt9QeRJBOxiEEG
i/kiouzYI1WP7IebHmnUGXFyS+EFiJk0KcDFL9TJiU7YBhzVrEqC1DcbYk5FlImp
z1nnmJl63k4LKeOR5IjMVidN/NyNzzC6X8U6BXBC8vPFqkRVeHYiDFUd1xjmjA5g
CGb0ifUHVu91V8LCOjdUpCBqGzMo/zEAEyHhVHr03LSbB/LBjNQ=
=10TU
-----END PGP SIGNATURE-----

Attachment: pgpEsxWq1qxSA.pgp
Description: PGP signature


--- End Message ---

Reply via email to