Package: src:node-chokidar Version: 1.7.0-2 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep dh_update_autotools_config -i dh_autoreconf -i debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' mocha --exit --reporter spec chokidar â should expose public API methods fs.watch (non-polling) watch a directory â should produce an instance of chokidar.FSWatcher â should expose public API methods â should emit `add` event when file was added (57ms) â should emit `addDir` event when directory was added (56ms) â should emit `change` event when file was changed â should emit `unlink` event when file was removed (104ms) â should emit `unlinkDir` event when a directory was removed (53ms) â should emit `unlink` and `add` events when a file is renamed (156ms) â should emit `add`, not `change`, when previously deleted file is re-added (161ms) â should not emit `unlink` for previously moved files (404ms) â should survive ENOENT for missing subdirectories â should notice when a file appears in a new directory â should watch removed and re-added directories (1514ms) watch individual files â should detect changes â should detect unlinks (156ms) â should detect unlink and re-add (257ms) â should ignore unwatched siblings (55ms) renamed directory â should emit `add` for a file in a renamed directory (1017ms) watch non-existent paths â should watch non-existent file and detect add (56ms) â should watch non-existent dir and detect addDir/add (106ms) watch glob patterns â should correctly watch and emit based on glob input (62ms) â should respect negated glob patterns (156ms) â should traverse subdirs to match globstar patterns (216ms) â should resolve relative paths with glob patterns (72ms) â should correctly handle conflicting glob patterns (158ms) â should correctly handle intersecting glob patterns (58ms) â should not confuse glob-like filenames with globs (103ms) â should treat glob-like directory names as literal directory names when globbing is disabled (64ms) â should treat glob-like filenames as literal filenames when globbing is disabled (51ms) â should not prematurely filter dirs against complex globstar patterns (62ms) â should emit matching dir events watch symlinks â should watch symlinked dirs â should watch symlinked files â should follow symlinked files within a normal dir â should watch paths with a symlinked parent â should not recurse indefinitely on circular symlinks â should recognize changes following symlinked dirs â should follow newly created symlinks (57ms) â should watch symlinks as files when followSymlinks:false â should watch symlinks within a watched dir as files when followSymlinks:false (310ms) â should not reuse watcher when following a symlink to elsewhere (115ms) â should properly match glob patterns that include a symlinked dir watch arrays of paths/globs â should watch all paths in an array â should accommodate nested arrays in input â should throw if provided any non-string paths watch options ignoreInitial false â should emit `add` events for preexisting files â should emit `addDir` event for watched dir â should emit `addDir` events for preexisting dirs true â should ignore inital add events (51ms) â should ignore add events on a subsequent .add() (1002ms) â should notice when a file appears in an empty directory â should emit a change on a preexisting file as a change â should not emit for preexisting dirs when depth is 0 (418ms) ignored â should check ignore after stating â should not choke on an ignored watch path â should ignore the contents of ignored dirs (359ms) â should allow regex/fn ignores (57ms) depth â should not recurse if depth is 0 â should recurse to specified depth (66ms) â should respect depth setting when following symlinks (65ms) â should respect depth setting when following a new symlink â should correctly handle dir events when depth is 0 (68ms) atomic â should ignore vim/emacs/Sublime swapfiles (906ms) â should ignore stale tilde files (53ms) cwd â should emit relative paths based on cwd (105ms) â should emit `addDir` with alwaysStat for renamed directory (1010ms) â should allow separate watchers to have different cwds (161ms) â should ignore files even with cwd (54ms) ignorePermissionErrors false â should not watch files without read permissions (502ms) true â should watch unreadable files if possible â should not choke on non-existent files awaitWriteFinish â should use default options if none given â should not emit add event before a file is fully written (202ms) â should wait for the file to be fully written before emitting the add event (503ms) â should emit with the final stats (809ms) â should not emit change event while a file has not been fully written (304ms) â should not emit change event before an existing file is fully updated (304ms) â should wait for an existing file to be fully updated before emitting the change event (509ms) â should emit change event after the file is fully written (1060ms) â should not raise any event for a file that was deleted before fully written (804ms) â should be compatible with the cwd option (1106ms) â should still emit initial add events â should emit an unlink event when a file is updated and deleted just after that (255ms) getWatched â should return the watched paths â should set keys relative to cwd & include added paths unwatch â should stop watching unwatched paths (358ms) â should ignore unwatched paths that are a subset of watched paths (409ms) â should unwatch relative paths (357ms) â should watch paths that were unwatched and added again (157ms) â should unwatch paths that are relative to options.cwd (354ms) close â should ignore further events on close (902ms) â should not prevent the process from exiting (366ms) env variable option override CHOKIDAR_USEPOLLING â should make options.usePolling `true` when CHOKIDAR_USEPOLLING is set to true â should make options.usePolling `true` when CHOKIDAR_USEPOLLING is set to 1 â should make options.usePolling `false` when CHOKIDAR_USEPOLLING is set to false â should make options.usePolling `false` when CHOKIDAR_USEPOLLING is set to 0 â should not attenuate options.usePolling when CHOKIDAR_USEPOLLING is set to an arbitrary value CHOKIDAR_INTERVAL â should make options.interval = CHOKIDAR_INTERVAL when it is set fs.watchFile (polling) watch a directory â should produce an instance of chokidar.FSWatcher â should expose public API methods â should emit `add` event when file was added (57ms) â should emit `addDir` event when directory was added (58ms) â should emit `change` event when file was changed â should emit `unlink` event when file was removed â should emit `unlinkDir` event when a directory was removed (65ms) â should emit `unlink` and `add` events when a file is renamed (63ms) â should emit `add`, not `change`, when previously deleted file is re-added (74ms) â should not emit `unlink` for previously moved files (308ms) â should survive ENOENT for missing subdirectories â should notice when a file appears in a new directory â should watch removed and re-added directories (1516ms) watch individual files â should detect changes â should detect unlinks (58ms) â should detect unlink and re-add (168ms) â should ignore unwatched siblings (57ms) renamed directory â should emit `add` for a file in a renamed directory (1011ms) watch non-existent paths â should watch non-existent file and detect add (56ms) â should watch non-existent dir and detect addDir/add (107ms) watch glob patterns â should correctly watch and emit based on glob input (62ms) â should respect negated glob patterns (64ms) â should traverse subdirs to match globstar patterns (134ms) â should resolve relative paths with glob patterns (69ms) â should correctly handle conflicting glob patterns (57ms) â should correctly handle intersecting glob patterns (64ms) â should not confuse glob-like filenames with globs (102ms) â should treat glob-like directory names as literal directory names when globbing is disabled (54ms) â should treat glob-like filenames as literal filenames when globbing is disabled (56ms) â should not prematurely filter dirs against complex globstar patterns (68ms) 1) should emit matching dir events watch symlinks â should watch symlinked dirs â should watch symlinked files â should follow symlinked files within a normal dir â should watch paths with a symlinked parent â should not recurse indefinitely on circular symlinks â should recognize changes following symlinked dirs â should follow newly created symlinks (67ms) â should watch symlinks as files when followSymlinks:false â should watch symlinks within a watched dir as files when followSymlinks:false (1210ms) â should not reuse watcher when following a symlink to elsewhere (964ms) 2) should properly match glob patterns that include a symlinked dir watch arrays of paths/globs â should watch all paths in an array â should accommodate nested arrays in input â should throw if provided any non-string paths watch options ignoreInitial false â should emit `add` events for preexisting files â should emit `addDir` event for watched dir â should emit `addDir` events for preexisting dirs true â should ignore inital add events (51ms) â should ignore add events on a subsequent .add() (1000ms) â should notice when a file appears in an empty directory â should emit a change on a preexisting file as a change â should not emit for preexisting dirs when depth is 0 (415ms) ignored â should check ignore after stating â should not choke on an ignored watch path â should ignore the contents of ignored dirs (353ms) â should allow regex/fn ignores (58ms) depth â should not recurse if depth is 0 â should recurse to specified depth (55ms) â should respect depth setting when following symlinks (55ms) â should respect depth setting when following a new symlink â should correctly handle dir events when depth is 0 (73ms) atomic â should ignore vim/emacs/Sublime swapfiles (900ms) â should ignore stale tilde files (52ms) cwd â should emit relative paths based on cwd â should emit `addDir` with alwaysStat for renamed directory (1006ms) â should allow separate watchers to have different cwds (68ms) â should ignore files even with cwd (65ms) ignorePermissionErrors false â should not watch files without read permissions (501ms) true â should watch unreadable files if possible â should not choke on non-existent files awaitWriteFinish â should use default options if none given â should not emit add event before a file is fully written (202ms) â should wait for the file to be fully written before emitting the add event (517ms) â should emit with the final stats (816ms) â should not emit change event while a file has not been fully written (301ms) â should not emit change event before an existing file is fully updated (301ms) â should wait for an existing file to be fully updated before emitting the change event (517ms) â should emit change event after the file is fully written (1068ms) â should not raise any event for a file that was deleted before fully written (801ms) â should be compatible with the cwd option (1107ms) â should still emit initial add events â should emit an unlink event when a file is updated and deleted just after that (159ms) getWatched â should return the watched paths â should set keys relative to cwd & include added paths unwatch â should stop watching unwatched paths (363ms) â should ignore unwatched paths that are a subset of watched paths (408ms) â should unwatch relative paths (356ms) â should watch paths that were unwatched and added again (156ms) â should unwatch paths that are relative to options.cwd (360ms) close â should ignore further events on close (900ms) â should not prevent the process from exiting (371ms) env variable option override CHOKIDAR_USEPOLLING â should make options.usePolling `true` when CHOKIDAR_USEPOLLING is set to true â should make options.usePolling `true` when CHOKIDAR_USEPOLLING is set to 1 â should make options.usePolling `false` when CHOKIDAR_USEPOLLING is set to false â should make options.usePolling `false` when CHOKIDAR_USEPOLLING is set to 0 â should not attenuate options.usePolling when CHOKIDAR_USEPOLLING is set to an arbitrary value CHOKIDAR_INTERVAL â should make options.interval = CHOKIDAR_INTERVAL when it is set 195 passing (48s) 2 failing 1) chokidar fs.watchFile (polling) watch glob patterns should emit matching dir events: Uncaught expected spy to have been called with arguments addDir, /<<PKGBUILDDIR>>/test-fixtures/130/subdir/subsub/subsubsub spy(addDir, /<<PKGBUILDDIR>>/test-fixtures/130/subdir, [Stats] { atime: Sun Aug 26 2018 09:49:41 GMT+0000 (UTC), atimeMs: 1535276981176.2725, birthtime: Sun Aug 26 2018 09:49:41 GMT+0000 (UTC), birthtimeMs: 1535276981176.2725, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:41 GMT+0000 (UTC), ctimeMs: 1535276981176.2725, dev: 37, gid: 924, ino: 6653106, mode: 16877, mtime: Sun Aug 26 2018 09:49:41 GMT+0000 (UTC), mtimeMs: 1535276981176.2725, nlink: 3, rdev: 0, size: 4096, uid: 924 }) at emitThree (events.js:136:13) spy(add, /<<PKGBUILDDIR>>/test-fixtures/130/change.txt, [Stats] { atime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), atimeMs: 1535276956416.7595, birthtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), birthtimeMs: 1535276956420.7593, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), ctimeMs: 1535276956420.7593, dev: 65025, gid: 924, ino: 1311900, mode: 33204, mtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), mtimeMs: 1535276956420.7593, nlink: 1, rdev: 0, size: 1, uid: 924 }) at emitThree (events.js:136:13) spy(add, /<<PKGBUILDDIR>>/test-fixtures/130/unlink.txt, [Stats] { atime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), atimeMs: 1535276956416.7595, birthtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), birthtimeMs: 1535276956420.7593, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), ctimeMs: 1535276956420.7593, dev: 65025, gid: 924, ino: 1311901, mode: 33204, mtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), mtimeMs: 1535276956420.7593, nlink: 1, rdev: 0, size: 1, uid: 924 }) at emitThree (events.js:136:13) AssertionError: expected spy to have been called with arguments addDir, /<<PKGBUILDDIR>>/test-fixtures/130/subdir/subsub/subsubsub spy(addDir, /<<PKGBUILDDIR>>/test-fixtures/130/subdir, [Stats] { atime: Sun Aug 26 2018 09:49:41 GMT+0000 (UTC), atimeMs: 1535276981176.2725, birthtime: Sun Aug 26 2018 09:49:41 GMT+0000 (UTC), birthtimeMs: 1535276981176.2725, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:41 GMT+0000 (UTC), ctimeMs: 1535276981176.2725, dev: 37, gid: 924, ino: 6653106, mode: 16877, mtime: Sun Aug 26 2018 09:49:41 GMT+0000 (UTC), mtimeMs: 1535276981176.2725, nlink: 3, rdev: 0, size: 4096, uid: 924 spy(add, /<<PKGBUILDDIR>>/test-fixtures/130/change.txt, [Stats] { atime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), atimeMs: 1535276956416.7595, birthtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), birthtimeMs: 1535276956420.7593, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), ctimeMs: 1535276956420.7593, dev: 65025, gid: 924, ino: 1311900, mode: 33204, mtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), mtimeMs: 1535276956420.7593, nlink: 1, rdev: 0, size: 1, uid: 924 spy(add, /<<PKGBUILDDIR>>/test-fixtures/130/unlink.txt, [Stats] { atime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), atimeMs: 1535276956416.7595, birthtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), birthtimeMs: 1535276956420.7593, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), ctimeMs: 1535276956420.7593, dev: 65025, gid: 924, ino: 1311901, mode: 33204, mtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), mtimeMs: 1535276956420.7593, nlink: 1, rdev: 0, size: 1, uid: 924 at test.js:760:34 at Timeout.finish (test.js:157:7) 2) chokidar fs.watchFile (polling) watch symlinks should properly match glob patterns that include a symlinked dir: Uncaught expected addSpy to have been called with arguments test-fixtures/141-link/add.txt addSpy(test-fixtures/141-link/change.txt, [Stats] { atime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), atimeMs: 1535276956416.7595, birthtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), birthtimeMs: 1535276956420.7593, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), ctimeMs: 1535276956420.7593, dev: 65025, gid: 924, ino: 1311922, mode: 33204, mtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), mtimeMs: 1535276956420.7593, nlink: 1, rdev: 0, size: 1, uid: 924 }) at emitTwo (events.js:126:13) addSpy(test-fixtures/141-link/unlink.txt, [Stats] { atime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), atimeMs: 1535276956416.7595, birthtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), birthtimeMs: 1535276956420.7593, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), ctimeMs: 1535276956420.7593, dev: 65025, gid: 924, ino: 1311923, mode: 33204, mtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), mtimeMs: 1535276956420.7593, nlink: 1, rdev: 0, size: 1, uid: 924 }) at emitTwo (events.js:126:13) addSpy(test-fixtures/141-link/subdir/add.txt, [Stats] { atime: Sun Aug 26 2018 09:49:46 GMT+0000 (UTC), atimeMs: 1535276986996.158, birthtime: Sun Aug 26 2018 09:49:46 GMT+0000 (UTC), birthtimeMs: 1535276986996.158, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:46 GMT+0000 (UTC), ctimeMs: 1535276986996.158, dev: 65025, gid: 924, ino: 1312192, mode: 33204, mtime: Sun Aug 26 2018 09:49:46 GMT+0000 (UTC), mtimeMs: 1535276986996.158, nlink: 1, rdev: 0, size: 1, uid: 924 }) at emitTwo (events.js:126:13) AssertionError: expected addSpy to have been called with arguments test-fixtures/141-link/add.txt addSpy(test-fixtures/141-link/change.txt, [Stats] { atime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), atimeMs: 1535276956416.7595, birthtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), birthtimeMs: 1535276956420.7593, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), ctimeMs: 1535276956420.7593, dev: 65025, gid: 924, ino: 1311922, mode: 33204, mtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), mtimeMs: 1535276956420.7593, nlink: 1, rdev: 0, size: 1, uid: 924 addSpy(test-fixtures/141-link/unlink.txt, [Stats] { atime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), atimeMs: 1535276956416.7595, birthtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), birthtimeMs: 1535276956420.7593, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), ctimeMs: 1535276956420.7593, dev: 65025, gid: 924, ino: 1311923, mode: 33204, mtime: Sun Aug 26 2018 09:49:16 GMT+0000 (UTC), mtimeMs: 1535276956420.7593, nlink: 1, rdev: 0, size: 1, uid: 924 addSpy(test-fixtures/141-link/subdir/add.txt, [Stats] { atime: Sun Aug 26 2018 09:49:46 GMT+0000 (UTC), atimeMs: 1535276986996.158, birthtime: Sun Aug 26 2018 09:49:46 GMT+0000 (UTC), birthtimeMs: 1535276986996.158, blksize: 4096, blocks: 8, ctime: Sun Aug 26 2018 09:49:46 GMT+0000 (UTC), ctimeMs: 1535276986996.158, dev: 65025, gid: 924, ino: 1312192, mode: 33204, mtime: Sun Aug 26 2018 09:49:46 GMT+0000 (UTC), mtimeMs: 1535276986996.158, nlink: 1, rdev: 0, size: 1, uid: 924 at test.js:952:37 at Timeout.finish (test.js:157:7) make[1]: *** [debian/rules:14: override_dh_auto_test] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:8: build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The build was made in my autobuilder with "dpkg-buildpackage -A" but this kind of failure also happens here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-chokidar.html The failure does not always happen, but it happens very often (34% of the time in a test I did today with n1-standard-1 instances from GCE). 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.