[Pkg-javascript-devel] Bug#887586: node-chokidar: build hangs with mocha 4.0.1-3

Adrian Bunk bunk at debian.org
Thu Jan 18 07:59:11 UTC 2018


Source: node-chokidar
Version: 1.7.0-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-chokidar.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/node-chokidar-1.7.0'
mocha -R 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 (71ms)
        ✓ should emit `addDir` event when directory was added (79ms)
        ✓ should emit `change` event when file was changed
        ✓ should emit `unlink` event when file was removed (123ms)
        ✓ should emit `unlinkDir` event when a directory was removed (71ms)
        ✓ should emit `unlink` and `add` events when a file is renamed (174ms)
        ✓ should emit `add`, not `change`, when previously deleted file is re-added (195ms)
        ✓ should not emit `unlink` for previously moved files (425ms)
        ✓ should survive ENOENT for missing subdirectories
        ✓ should notice when a file appears in a new directory
        ✓ should watch removed and re-added directories (1527ms)
      watch individual files
        ✓ should detect changes
        ✓ should detect unlinks (156ms)
        ✓ should detect unlink and re-add (264ms)
        ✓ should ignore unwatched siblings (59ms)
      renamed directory
        ✓ should emit `add` for a file in a renamed directory (1026ms)
      watch non-existent paths
        ✓ should watch non-existent file and detect add (58ms)
        ✓ should watch non-existent dir and detect addDir/add (126ms)
      watch glob patterns
        ✓ should correctly watch and emit based on glob input (83ms)
        ✓ should respect negated glob patterns (165ms)
        ✓ should traverse subdirs to match globstar patterns (276ms)
        ✓ should resolve relative paths with glob patterns (110ms)
        ✓ should correctly handle conflicting glob patterns (165ms)
        ✓ should correctly handle intersecting glob patterns (61ms)
        ✓ should not confuse glob-like filenames with globs (119ms)
        ✓ should treat glob-like directory names as literal directory names when globbing is disabled (63ms)
        ✓ should treat glob-like filenames as literal filenames when globbing is disabled (58ms)
        ✓ should not prematurely filter dirs against complex globstar patterns (103ms)
        ✓ should emit matching dir events (38ms)
      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 (77ms)
        ✓ should watch symlinks as files when followSymlinks:false
        ✓ should watch symlinks within a watched dir as files when followSymlinks:false (360ms)
        ✓ should not reuse watcher when following a symlink to elsewhere (112ms)
        ✓ 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 (54ms)
            ✓ should ignore add events on a subsequent .add() (1007ms)
            ✓ 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 (414ms)
        ignored
          ✓ should check ignore after stating
          ✓ should not choke on an ignored watch path
          ✓ should ignore the contents of ignored dirs (361ms)
          ✓ should allow regex/fn ignores (70ms)
        depth
          ✓ should not recurse if depth is 0
          ✓ should recurse to specified depth (79ms)
          ✓ should respect depth setting when following symlinks (70ms)
          ✓ should respect depth setting when following a new symlink
          ✓ should correctly handle dir events when depth is 0 (70ms)
        atomic
          ✓ should ignore vim/emacs/Sublime swapfiles (913ms)
          ✓ should ignore stale tilde files (61ms)
        cwd
          ✓ should emit relative paths based on cwd (117ms)
          ✓ should emit `addDir` with alwaysStat for renamed directory (1019ms)
          ✓ should allow separate watchers to have different cwds (181ms)
          ✓ should ignore files even with cwd (66ms)
        ignorePermissionErrors
          false
            ✓ should not watch files without read permissions (513ms)
          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 (207ms)
          ✓ should wait for the file to be fully written before emitting the add event (516ms)
          ✓ should emit with the final stats (819ms)
          ✓ should not emit change event while a file has not been fully written (307ms)
          ✓ should not emit change event before an existing file is fully updated (309ms)
          ✓ should wait for an existing file to be fully updated before emitting the change event (512ms)
          ✓ should emit change event after the file is fully written (1086ms)
          ✓ should not raise any event for a file that was deleted before fully written (815ms)
          ✓ should be compatible with the cwd option (1194ms)
          ✓ should still emit initial add events (59ms)
          ✓ should emit an unlink event when a file is updated and deleted just after that (286ms)
      getWatched
        ✓ should return the watched paths
        ✓ should set keys relative to cwd & include added paths
      unwatch
        ✓ should stop watching unwatched paths (362ms)
        ✓ should ignore unwatched paths that are a subset of watched paths (420ms)
        ✓ should unwatch relative paths (360ms)
        ✓ should watch paths that were unwatched and added again (161ms)
        ✓ should unwatch paths that are relative to options.cwd (372ms)
      close
        ✓ should ignore further events on close (914ms)
        ✓ should not prevent the process from exiting (362ms)
      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 (65ms)
        ✓ should emit `addDir` event when directory was added (70ms)
        ✓ 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 (68ms)
        ✓ should emit `unlink` and `add` events when a file is renamed (70ms)
        ✓ should emit `add`, not `change`, when previously deleted file is re-added (79ms)
        ✓ should not emit `unlink` for previously moved files (318ms)
        ✓ should survive ENOENT for missing subdirectories
        ✓ should notice when a file appears in a new directory
        ✓ should watch removed and re-added directories (1537ms)
      watch individual files
        ✓ should detect changes
        ✓ should detect unlinks (69ms)
        ✓ should detect unlink and re-add (166ms)
        ✓ should ignore unwatched siblings (58ms)
      renamed directory
        ✓ should emit `add` for a file in a renamed directory (1016ms)
      watch non-existent paths
        ✓ should watch non-existent file and detect add (72ms)
        ✓ should watch non-existent dir and detect addDir/add (122ms)
      watch glob patterns
        ✓ should correctly watch and emit based on glob input (83ms)
        ✓ should respect negated glob patterns (75ms)
        ✓ should traverse subdirs to match globstar patterns (148ms)
        ✓ should resolve relative paths with glob patterns (101ms)
        ✓ should correctly handle conflicting glob patterns (74ms)
        ✓ should correctly handle intersecting glob patterns (73ms)
        ✓ should not confuse glob-like filenames with globs (116ms)
        ✓ should treat glob-like directory names as literal directory names when globbing is disabled (73ms)
        ✓ should treat glob-like filenames as literal filenames when globbing is disabled (55ms)
        ✓ should not prematurely filter dirs against complex globstar patterns (88ms)
        ✓ 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 (73ms)
        ✓ should watch symlinks as files when followSymlinks:false
        ✓ should watch symlinks within a watched dir as files when followSymlinks:false (1226ms)
        ✓ should not reuse watcher when following a symlink to elsewhere (983ms)
        ✓ 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 (57ms)
          true
            ✓ should ignore inital add events (58ms)
            ✓ 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 (424ms)
        ignored
          ✓ should check ignore after stating
          ✓ should not choke on an ignored watch path
          ✓ should ignore the contents of ignored dirs (370ms)
          ✓ should allow regex/fn ignores (62ms)
        depth
          ✓ should not recurse if depth is 0
          ✓ should recurse to specified depth (76ms)
          ✓ should respect depth setting when following symlinks (78ms)
          ✓ should respect depth setting when following a new symlink
          ✓ should correctly handle dir events when depth is 0 (90ms)
        atomic
          ✓ should ignore vim/emacs/Sublime swapfiles (907ms)
          ✓ should ignore stale tilde files (58ms)
        cwd
          ✓ should emit relative paths based on cwd
          ✓ should emit `addDir` with alwaysStat for renamed directory (1091ms)
          ✓ should allow separate watchers to have different cwds (165ms)
          ✓ should ignore files even with cwd (161ms)
        ignorePermissionErrors
          false
            ✓ should not watch files without read permissions (653ms)
          true
            ✓ should watch unreadable files if possible (138ms)
            ✓ 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 (231ms)
          ✓ should wait for the file to be fully written before emitting the add event (757ms)
          ✓ should emit with the final stats (895ms)
          ✓ should not emit change event while a file has not been fully written (313ms)
          ✓ should not emit change event before an existing file is fully updated (381ms)
          ✓ should wait for an existing file to be fully updated before emitting the change event (579ms)
          ✓ should emit change event after the file is fully written (1115ms)
          ✓ should not raise any event for a file that was deleted before fully written (825ms)
          ✓ should be compatible with the cwd option (1179ms)
          ✓ should still emit initial add events
          ✓ should emit an unlink event when a file is updated and deleted just after that (220ms)
      getWatched
        ✓ should return the watched paths
        ✓ should set keys relative to cwd & include added paths
      unwatch
        ✓ should stop watching unwatched paths (380ms)
        ✓ should ignore unwatched paths that are a subset of watched paths (441ms)
        ✓ should unwatch relative paths (388ms)
        ✓ should watch paths that were unwatched and added again (185ms)
        ✓ should unwatch paths that are relative to options.cwd (429ms)
      close
        ✓ should ignore further events on close (926ms)
        ✓ should not prevent the process from exiting (880ms)
      env variable option override
        CHOKIDAR_USEPOLLING
          ✓ should make options.usePolling `true` when CHOKIDAR_USEPOLLING is set to true (126ms)
          ✓ 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 (39ms)
        CHOKIDAR_INTERVAL
          ✓ should make options.interval = CHOKIDAR_INTERVAL when it is set


  197 passing (46s)

Wed Jan  3 16:30:12 UTC 2018 - pbuilder was killed by timeout after 18h.
Wed Jan  3 16:30:14 UTC 2018  I: https://tests.reproducible-builds.org/debian/unstable/amd64/node-chokidar : reproducible ➤ FTBFS
Wed Jan  3 16:30:16 UTC 2018 - total duration: 18h 0m 31s.


More information about the Pkg-javascript-devel mailing list