[Pkg-javascript-devel] Bug#1072597: node-chownr: FTBFS: failing tests

Santiago Vila sanvila at debian.org
Wed Jun 5 01:17:05 BST 2024


Package: src:node-chownr
Version: 2.0.0-2
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
    dh_auto_build --buildsystem=nodejs
No build command found, searching known files
    dh_auto_test --buildsystem=nodejs
	mkdir -p node_modules
	ln -s ../. node_modules/chownr
	/bin/sh -ex debian/tests/pkg-js/test
+ tap -R tap --no-cov test/concurrent-sync.js test/old-readdir.js
TAP version 13
# Subtest: test/concurrent-sync.js
     # Subtest: get the ids to use
         1..0
     ok 1 - get the ids to use # time=26.223ms
     
     # Subtest: run test
         # Subtest: should complete successfully
             1..0
         ok 1 - should complete successfully # time=12.105ms
         
         # Subtest: verify
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 2 - verify # time=9.361ms
         
         # Subtest: verify a
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 3 - verify a # time=4.593ms
         
         # Subtest: verify a/b
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 4 - verify a/b # time=3.91ms
         
         # Subtest: verify a/b/c
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 5 - verify a/b/c # time=3.543ms
         
         # Subtest: verify d
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 6 - verify d # time=2.939ms
         
         # Subtest: verify d/e
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 7 - verify d/e # time=3.331ms
         
         # Subtest: verify d/e/f
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 8 - verify d/e/f # time=6.116ms
         
         # Subtest: verify g
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 9 - verify g # time=2.741ms
         
         # Subtest: verify g/h
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 10 - verify g/h # time=3.841ms
         
         # Subtest: verify g/h/i
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 11 - verify g/h/i # time=2.72ms
         
         # Subtest: verify j
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 12 - verify j # time=2.308ms
         
         # Subtest: verify j/k
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 13 - verify j/k # time=3.913ms
         
         # Subtest: verify j/k/l
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 14 - verify j/k/l # time=5.001ms
         
         # Subtest: verify m
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 15 - verify m # time=2.393ms
         
         # Subtest: verify m/n
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 16 - verify m/n # time=2.407ms
         
         # Subtest: verify m/n/o
             ok 1 - should match pattern provided
             ok 2 - should match pattern provided
             ok 3 - d1 turned into a file
             ok 4 - should match pattern provided
             ok 5 - expected to throw
             ok 6 - expected to throw
             1..6
         ok 17 - verify m/n/o # time=14.783ms
         
         1..17
     ok 2 - run test # time=183.075ms
     
     1..2
     # time=244.485ms
ok 1 - test/concurrent-sync.js # time=244.485ms

# Subtest: test/old-readdir.js
     # basic.js
     # Subtest: get the ids to use
         1..0
     ok 1 - get the ids to use # time=44.148ms
     
     # Subtest: run test
         # Subtest: should complete successfully
             1..0
         ok 1 - should complete successfully # time=87.591ms
         
         # Subtest: verify
             ok 1 - should match pattern provided
             1..1
         ok 2 - verify # time=12.269ms
         
         # Subtest: verify a
             ok 1 - should match pattern provided
             1..1
         ok 3 - verify a # time=1.402ms
         
         # Subtest: verify a/b
             ok 1 - should match pattern provided
             1..1
         ok 4 - verify a/b # time=1.458ms
         
         # Subtest: verify a/b/c
             ok 1 - should match pattern provided
             1..1
         ok 5 - verify a/b/c # time=1.046ms
         
         # Subtest: verify d
             ok 1 - should match pattern provided
             1..1
         ok 6 - verify d # time=1.14ms
         
         # Subtest: verify d/e
             ok 1 - should match pattern provided
             1..1
         ok 7 - verify d/e # time=0.763ms
         
         # Subtest: verify d/e/f
             ok 1 - should match pattern provided
             1..1
         ok 8 - verify d/e/f # time=0.625ms
         
         # Subtest: verify g
             ok 1 - should match pattern provided
             1..1
         ok 9 - verify g # time=0.781ms
         
         # Subtest: verify g/h
             ok 1 - should match pattern provided
             1..1
         ok 10 - verify g/h # time=0.833ms
         
         # Subtest: verify g/h/i
             ok 1 - should match pattern provided
             1..1
         ok 11 - verify g/h/i # time=0.638ms
         
         # Subtest: verify j
             ok 1 - should match pattern provided
             1..1
         ok 12 - verify j # time=0.628ms
         
         # Subtest: verify j/k
             ok 1 - should match pattern provided
             1..1
         ok 13 - verify j/k # time=0.55ms
         
         # Subtest: verify j/k/l
             ok 1 - should match pattern provided
             1..1
         ok 14 - verify j/k/l # time=0.676ms
         
         # Subtest: verify m
             ok 1 - should match pattern provided
             1..1
         ok 15 - verify m # time=0.584ms
         
         # Subtest: verify m/n
             ok 1 - should match pattern provided
             1..1
         ok 16 - verify m/n # time=0.525ms
         
         # Subtest: verify m/n/o
             ok 1 - should match pattern provided
             1..1
         ok 17 - verify m/n/o # time=0.725ms
         
         1..17
     ok 2 - run test # time=130.03ms
     
     # sync.js
     not ok 3 - child test left in queue: t.test get the ids to use
     not ok 4 - child test left in queue: t.test run test
     # concurrent.js
     not ok 5 - child test left in queue: t.test get the ids to use
     not ok 6 - child test left in queue: t.test run test
     # concurrent-sync.js
     not ok 7 - child test left in queue: t.test get the ids to use
     not ok 8 - child test left in queue: t.test run test
     not ok 9 - The "list[2]" argument must be an instance of Buffer or Uint8Array. Received type string ('a')
       ---
       at:
         line: 587
         column: 13
         file: node:buffer
         function: Function.concat
       stack: |
         Array.forEach (<anonymous>)
       type: TypeError
       code: ERR_INVALID_ARG_TYPE
       tapCaught: uncaughtException
       test: TAP
       ...
     
     1..3
     # test count(9) != plan(3)
     # failed 13 of 9 tests
     # time=263.698ms
not ok 2 - test/old-readdir.js # time=263.698ms
   ---
   env: {}
   file: test/old-readdir.js
   timeout: 30000
   command: /usr/bin/node
   args:
     - test/old-readdir.js
   stdio:
     - 0
     - pipe
     - 2
   cwd: /<<PKGBUILDDIR>>
   failures:
     - &a1
       id: 4
       name: "child test left in queue: t.test run test"
       fullname: test/old-readdir.js
       tapError: id greater than plan end
       plan:
         start: 1
         end: 3
     - &a2
       id: 5
       name: "child test left in queue: t.test get the ids to use"
       fullname: test/old-readdir.js
       tapError: id greater than plan end
       plan:
         start: 1
         end: 3
     - &a3
       id: 6
       name: "child test left in queue: t.test run test"
       fullname: test/old-readdir.js
       tapError: id greater than plan end
       plan:
         start: 1
         end: 3
     - &a4
       id: 7
       name: "child test left in queue: t.test get the ids to use"
       fullname: test/old-readdir.js
       tapError: id greater than plan end
       plan:
         start: 1
         end: 3
     - &a5
       id: 8
       name: "child test left in queue: t.test run test"
       fullname: test/old-readdir.js
       tapError: id greater than plan end
       plan:
         start: 1
         end: 3
     - &a6
       id: 9
       name: The "list[2]" argument must be an instance of Buffer or Uint8Array.
         Received type string ('a')
       fullname: test/old-readdir.js
       tapError: id greater than plan end
       plan:
         start: 1
         end: 3
     - *a1
     - *a2
     - *a3
     - *a4
     - *a5
     - *a6
   exitCode: 1
   ...

1..2
# failed 1 of 2 tests
# time=597.017ms
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/202406/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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.



More information about the Pkg-javascript-devel mailing list