Source: node-chokidar Version: 3.6.0-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240702 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > # No pkg-js-tools auto build > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test --buildsystem=nodejs > ln -s ../. node_modules/chokidar > /bin/sh -ex debian/tests/pkg-js/test > + mocha --exit --reporter spec --timeout 300000 > > > chokidar > undefined should expose public API methods > fs.watch (non-polling) > watch a directory > undefined should produce an instance of chokidar.FSWatcher > undefined should expose public API methods > undefined should emit `add` event when file was added (48ms) > undefined should emit nine `add` events when nine files were added in > one directory (1297ms) > undefined should emit thirtythree `add` events when thirtythree files > were added in nine directories (767ms) > undefined should emit `addDir` event when directory was added > undefined should emit `change` event when file was changed > undefined should emit `unlink` event when file was removed (103ms) > undefined should emit `unlinkDir` event when a directory was removed > (43ms) > undefined should emit two `unlinkDir` event when two nested > directories were removed (5028ms) > undefined should emit `unlink` and `add` events when a file is > renamed (123ms) > undefined should emit `add`, not `change`, when previously deleted > file is re-added (148ms) > undefined should not emit `unlink` for previously moved files (413ms) > undefined should survive ENOENT for missing subdirectories > undefined should notice when a file appears in a new directory > undefined should watch removed and re-added directories (1553ms) > undefined should emit `unlinkDir` and `add` when dir is replaced by > file (666ms) > undefined should emit `unlink` and `addDir` when file is replaced by > dir (151ms) > watch individual files > undefined should emit `ready` when three files were added > undefined should detect changes > undefined should detect unlinks (122ms) > undefined should detect unlink and re-add (164ms) > undefined should ignore unwatched siblings (58ms) > undefined should detect safe-edit (948ms) > Skipping gh-682: should detect unlink > - should detect unlink while watching a non-existent second file in > another directory > - should detect unlink and re-add while watching a second file > - should detect unlink and re-add while watching a non-existent > second file in another directory > - should detect unlink and re-add while watching a non-existent > second file in the same directory > - should detect two unlinks and one re-add > - should detect unlink and re-add while watching a second file and > a non-existent third file > renamed directory > undefined should emit `add` for a file in a renamed directory (1027ms) > watch non-existent paths > undefined should watch non-existent file and detect add (43ms) > undefined should watch non-existent dir and detect addDir/add (66ms) > watch glob patterns > undefined should correctly watch and emit based on glob input (58ms) > undefined should respect negated glob patterns (130ms) > undefined should traverse subdirs to match globstar patterns (197ms) > undefined should resolve relative paths with glob patterns (53ms) > undefined should correctly handle conflicting glob patterns (135ms) > undefined should correctly handle intersecting glob patterns (44ms) > undefined should not confuse glob-like filenames with globs (65ms) > undefined should treat glob-like directory names as literal directory > names when globbing is disabled (43ms) > undefined should treat glob-like filenames as literal filenames when > globbing is disabled (49ms) > undefined should not prematurely filter dirs against complex globstar > patterns (73ms) > undefined should emit matching dir events (66ms) > undefined should correctly handle glob with braces > watch symlinks > undefined should watch symlinked dirs > undefined should watch symlinked files > undefined should follow symlinked files within a normal dir > undefined should watch paths with a symlinked parent > undefined should not recurse indefinitely on circular symlinks > undefined should recognize changes following symlinked dirs > undefined should follow newly created symlinks (45ms) > undefined should watch symlinks as files when followSymlinks:false > undefined should survive ENOENT for missing symlinks when > followSymlinks:false > undefined should watch symlinks within a watched dir as files when > followSymlinks:false (626ms) > undefined should not reuse watcher when following a symlink to > elsewhere (76ms) > undefined should properly match glob patterns that include a > symlinked dir > undefined should emit ready event even when broken symlinks are > encountered > watch arrays of paths/globs > undefined should watch all paths in an array > undefined should accommodate nested arrays in input > undefined should throw if provided any non-string paths > watch options > ignoreInitial > false > undefined should emit `add` events for preexisting files > undefined should emit `addDir` event for watched dir > undefined should emit `addDir` events for preexisting dirs > true > undefined should ignore initial add events > undefined should ignore add events on a subsequent .add() (1002ms) > undefined should notice when a file appears in an empty directory > undefined should emit a change on a preexisting file as a change > undefined should not emit for preexisting dirs when depth is 0 > (427ms) > ignored > undefined should check ignore after stating > undefined should not choke on an ignored watch path > undefined should ignore the contents of ignored dirs (324ms) > undefined should allow regex/fn ignores (47ms) > depth > undefined should not recurse if depth is 0 > undefined should recurse to specified depth (49ms) > undefined should respect depth setting when following symlinks > undefined should respect depth setting when following a new symlink > undefined should correctly handle dir events when depth is 0 (65ms) > atomic > undefined should ignore vim/emacs/Sublime swapfiles (912ms) > undefined should ignore stale tilde files > cwd > undefined should emit relative paths based on cwd (109ms) > undefined should emit `addDir` with alwaysStat for renamed > directory (1012ms) > undefined should allow separate watchers to have different cwds > (141ms) > undefined should ignore files even with cwd (56ms) > ignorePermissionErrors > false > undefined should not watch files without read permissions (228ms) > true > undefined should watch unreadable files if possible > undefined should not choke on non-existent files > awaitWriteFinish > undefined should use default options if none given > undefined should not emit add event before a file is fully written > (204ms) > undefined should wait for the file to be fully written before > emitting the add event (529ms) > undefined should emit with the final stats (827ms) > undefined should not emit change event while a file has not been > fully written (304ms) > undefined should not emit change event before an existing file is > fully updated (308ms) > undefined should wait for an existing file to be fully updated > before emitting the change event (524ms) > undefined should emit change event after the file is fully written > (1051ms) > undefined should not raise any event for a file that was deleted > before fully written (806ms) > undefined should be compatible with the cwd option (1109ms) > undefined should still emit initial add events > undefined should emit an unlink event when a file is updated and > deleted just after that (169ms) > race condition > undefined should handle unlink that happens while waiting for > stat to return (866ms) > getWatched > undefined should return the watched paths > undefined should set keys relative to cwd & include added paths > unwatch > undefined should stop watching unwatched paths (345ms) > undefined should ignore unwatched paths that are a subset of watched > paths (346ms) > undefined should unwatch relative paths (345ms) > undefined should watch paths that were unwatched and added again > (84ms) > undefined should unwatch paths that are relative to options.cwd > (351ms) > env variable option override > CHOKIDAR_USEPOLLING > undefined should make options.usePolling `true` when > CHOKIDAR_USEPOLLING is set to true > undefined should make options.usePolling `true` when > CHOKIDAR_USEPOLLING is set to 1 > undefined should make options.usePolling `false` when > CHOKIDAR_USEPOLLING is set to false > undefined should make options.usePolling `false` when > CHOKIDAR_USEPOLLING is set to 0 > undefined should not attenuate options.usePolling when > CHOKIDAR_USEPOLLING is set to an arbitrary value > reproduction of bug in issue #1040 > undefined should detect change on symlink folders when > consolidateThreshhold is reach (612ms) > reproduction of bug in issue #1024 > undefined should detect changes to folders, even if they were deleted > before (1227ms) > undefined should detect changes to symlink folders, even if they were > deleted before (926ms) > close > undefined should ignore further events on close (304ms) > undefined should not ignore further events on close with existing > watchers (208ms) > undefined should not prevent the process from exiting (230ms) > undefined should always return the same promise > fs.watchFile (polling) > watch a directory > undefined should produce an instance of chokidar.FSWatcher > undefined should expose public API methods > undefined should emit `add` event when file was added (44ms) > undefined should emit nine `add` events when nine files were added in > one directory (1300ms) > undefined should emit thirtythree `add` events when thirtythree files > were added in nine directories (722ms) > undefined should emit `addDir` event when directory was added > undefined should emit `change` event when file was changed > undefined should emit `unlink` event when file was removed > undefined should emit `unlinkDir` event when a directory was removed > (45ms) > undefined should emit two `unlinkDir` event when two nested > directories were removed (5027ms) > undefined should emit `unlink` and `add` events when a file is > renamed (47ms) > undefined should emit `add`, not `change`, when previously deleted > file is re-added (64ms) > undefined should not emit `unlink` for previously moved files (326ms) > undefined should survive ENOENT for missing subdirectories > undefined should notice when a file appears in a new directory > undefined should watch removed and re-added directories (1546ms) > undefined should emit `unlinkDir` and `add` when dir is replaced by > file (666ms) > undefined should emit `unlink` and `addDir` when file is replaced by > dir (83ms) > watch individual files > undefined should emit `ready` when three files were added > undefined should detect changes > undefined should detect unlinks (41ms) > undefined should detect unlink and re-add (84ms) > undefined should ignore unwatched siblings (42ms) > undefined should detect safe-edit (945ms) > Skipping gh-682: should detect unlink > - should detect unlink while watching a non-existent second file in > another directory > - should detect unlink and re-add while watching a second file > - should detect unlink and re-add while watching a non-existent > second file in another directory > - should detect unlink and re-add while watching a non-existent > second file in the same directory > - should detect two unlinks and one re-add > - should detect unlink and re-add while watching a second file and > a non-existent third file > renamed directory > undefined should emit `add` for a file in a renamed directory (1025ms) > watch non-existent paths > undefined should watch non-existent file and detect add (42ms) > undefined should watch non-existent dir and detect addDir/add (69ms) > watch glob patterns > undefined should correctly watch and emit based on glob input (47ms) > undefined should respect negated glob patterns (49ms) > undefined should traverse subdirs to match globstar patterns (137ms) > undefined should resolve relative paths with glob patterns (46ms) > undefined should correctly handle conflicting glob patterns (43ms) > undefined should correctly handle intersecting glob patterns (42ms) > undefined should not confuse glob-like filenames with globs (69ms) > undefined should treat glob-like directory names as literal directory > names when globbing is disabled (43ms) > undefined should treat glob-like filenames as literal filenames when > globbing is disabled (42ms) > undefined should not prematurely filter dirs against complex globstar > patterns (82ms) > undefined should emit matching dir events (66ms) > undefined should correctly handle glob with braces > watch symlinks > undefined should watch symlinked dirs > undefined should watch symlinked files > undefined should follow symlinked files within a normal dir > undefined should watch paths with a symlinked parent > undefined should not recurse indefinitely on circular symlinks > undefined should recognize changes following symlinked dirs > undefined should follow newly created symlinks (43ms) > undefined should watch symlinks as files when followSymlinks:false > undefined should survive ENOENT for missing symlinks when > followSymlinks:false > undefined should watch symlinks within a watched dir as files when > followSymlinks:false (1517ms) > undefined should not reuse watcher when following a symlink to > elsewhere (947ms) > undefined should properly match glob patterns that include a > symlinked dir > undefined should emit ready event even when broken symlinks are > encountered > watch arrays of paths/globs > undefined should watch all paths in an array > undefined should accommodate nested arrays in input > undefined should throw if provided any non-string paths > watch options > ignoreInitial > false > undefined should emit `add` events for preexisting files > undefined should emit `addDir` event for watched dir > undefined should emit `addDir` events for preexisting dirs > true > undefined should ignore initial add events > undefined should ignore add events on a subsequent .add() (1000ms) > undefined should notice when a file appears in an empty directory > undefined should emit a change on a preexisting file as a change > undefined should not emit for preexisting dirs when depth is 0 > (423ms) > ignored > undefined should check ignore after stating > undefined should not choke on an ignored watch path > undefined should ignore the contents of ignored dirs (323ms) > undefined should allow regex/fn ignores (44ms) > depth > undefined should not recurse if depth is 0 > undefined should recurse to specified depth (43ms) > undefined should respect depth setting when following symlinks > undefined should respect depth setting when following a new symlink > undefined should correctly handle dir events when depth is 0 (69ms) > atomic > undefined should ignore vim/emacs/Sublime swapfiles (908ms) > undefined should ignore stale tilde files > cwd > undefined should emit relative paths based on cwd > undefined should emit `addDir` with alwaysStat for renamed > directory (1012ms) > undefined should allow separate watchers to have different cwds > (60ms) > undefined should ignore files even with cwd (64ms) > ignorePermissionErrors > false > undefined should not watch files without read permissions (203ms) > true > undefined should watch unreadable files if possible > undefined should not choke on non-existent files > awaitWriteFinish > undefined should use default options if none given > undefined should not emit add event before a file is fully written > (203ms) > undefined should wait for the file to be fully written before > emitting the add event (535ms) > undefined should emit with the final stats (831ms) > undefined should not emit change event while a file has not been > fully written (307ms) > undefined should not emit change event before an existing file is > fully updated (302ms) > undefined should wait for an existing file to be fully updated > before emitting the change event (633ms) > undefined should emit change event after the file is fully written > (1083ms) > undefined should not raise any event for a file that was deleted > before fully written (802ms) > undefined should be compatible with the cwd option (1126ms) > undefined should still emit initial add events > undefined should emit an unlink event when a file is updated and > deleted just after that (85ms) > race condition > undefined should handle unlink that happens while waiting for > stat to return (789ms) > getWatched > undefined should return the watched paths > undefined should set keys relative to cwd & include added paths > unwatch > undefined should stop watching unwatched paths (341ms) > undefined should ignore unwatched paths that are a subset of watched > paths (344ms) > undefined should unwatch relative paths (342ms) > undefined should watch paths that were unwatched and added again > (83ms) > undefined should unwatch paths that are relative to options.cwd > (344ms) > env variable option override > CHOKIDAR_USEPOLLING > undefined should make options.usePolling `true` when > CHOKIDAR_USEPOLLING is set to true > undefined should make options.usePolling `true` when > CHOKIDAR_USEPOLLING is set to 1 > undefined should make options.usePolling `false` when > CHOKIDAR_USEPOLLING is set to false > undefined should make options.usePolling `false` when > CHOKIDAR_USEPOLLING is set to 0 > undefined should not attenuate options.usePolling when > CHOKIDAR_USEPOLLING is set to an arbitrary value > reproduction of bug in issue #1040 > undefined should detect change on symlink folders when > consolidateThreshhold is reach (611ms) > reproduction of bug in issue #1024 > undefined should detect changes to folders, even if they were deleted > before (1228ms) > undefined should detect changes to symlink folders, even if they were > deleted before (925ms) > close > undefined should ignore further events on close (304ms) > 1) should not ignore further events on close with existing watchers > undefined should not prevent the process from exiting (198ms) > undefined should always return the same promise > > > 226 passing (6m) > 12 pending > 1 failing > > 1) chokidar > fs.watchFile (polling) > close > should not ignore further events on close with existing watchers: > Error: Timeout of 300000ms exceeded. For async tests and hooks, ensure > "done()" is called; if returning a Promise, ensure it resolves. > (/<<PKGBUILDDIR>>/test.js) > at createTimeoutError (/usr/share/nodejs/mocha/lib/errors.js:498:15) > at Runnable._timeoutError > (/usr/share/nodejs/mocha/lib/runnable.js:431:10) > at Timeout.<anonymous> (/usr/share/nodejs/mocha/lib/runnable.js:246:24) > at listOnTimeout (node:internal/timers:573:17) > at process.processTimers (node:internal/timers:514:7) > > > > dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 The full build log is available from: http://qa-logs.debian.net/2024/07/02/node-chokidar_3.6.0-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.