GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test,flake: async-hooks/test-fseventwrap flaky on Travis · Issue #21310 · nodejs/node

test,flake: async-hooks/test-fseventwrap flaky on Travis #21310

New issue
Copy link
New issue
Copy link
Closed
Closed
test,flake: async-hooks/test-fseventwrap flaky on Travis#21310
Copy link
Labels
async_hooksIssues and PRs related to the async hooks subsystem.flaky-testIssues and PRs involving tests that fail intermittently in CI.fsIssues and PRs related to file-system APIs and the fs module.testIssues and PRs related to Node.js core tests and test infrastructure.

Description

@refack
refack
opened on Jun 13, 2018
Issue body actions
  • Version: master
  • Platform: Travis
  • Subsystem: test,async-hooks,fs

https://travis-ci.com/nodejs/node/jobs/128751722#L9568

not ok 17 async-hooks/test-fseventwrap
  ---
  duration_ms: 0.135
  severity: fail
  exitcode: 1
  stack: |-
    internal/fs/watchers.js:155
        throw error;
        ^
    
    Error: ENOSPC: no space left on device, watch '/home/travis/build/nodejs/node/test/async-hooks/test-fseventwrap.js'
        at FSWatcher.start (internal/fs/watchers.js:149:26)
        at Object.watch (fs.js:1234:11)
        at Object.<anonymous> (/home/travis/build/nodejs/node/test/async-hooks/test-fseventwrap.js:16:20)
        at Module._compile (internal/modules/cjs/loader.js:702:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
        at Module.load (internal/modules/cjs/loader.js:612:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
        at Function.Module._load (internal/modules/cjs/loader.js:543:3)
        at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
        at startup (internal/bootstrap/node.js:267:19)
  ...

Activity

  1. refack
    added
    fsIssues and PRs related to file-system APIs and the fs module.
    testIssues and PRs related to Node.js core tests and test infrastructure.
    async_hooksIssues and PRs related to the async hooks subsystem.
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    on Jun 13, 2018
  2. apapirovski commented on Jun 13, 2018

    @apapirovski
    apapirovski
    on Jun 13, 2018
    Contributor
    More actions

    I mean, is it flaky if the device is out of space?

  3. mmarchini commented on Jun 13, 2018

    @mmarchini
    mmarchini
    on Jun 13, 2018
    Contributor
    More actions

    And here I was thinking Travis would give us a stable infrastructure for lightweight test runs ¯_(ツ)_/¯

  4. mmarchini commented on Jun 13, 2018

    @mmarchini
    mmarchini
    on Jun 13, 2018
    Contributor
    More actions

    I mean, is it flaky if the device is out of space?

    I think so, since this will result in failures on PRs. But are there any actions we can take to avoid this?

  5. refack commented on Jun 14, 2018

    @refack
    refack
    on Jun 14, 2018
    ContributorAuthor
    More actions

    I mean, is it flaky if the device is out of space?

    If the test does not run reliably and gives intermittent false negatives IMHO that's the definition of flaky.
    Also, it's hard to say if ENOSPC this is the real error since it happened only at the beginning of the suite, and ~2000 test run after that.

    Anyway this issue is here so that peeps seeing this can cross reference.

  6. mscdex commented on Aug 29, 2018

    @mscdex
    mscdex
    on Aug 29, 2018
    Contributor
    More actions

    According to Travis' documentation there should be about ~9GB of disk space available for the configuration we're currently using. If we instead used a VM (sudo: required and dist: trusty) we could double the amount of available memory and disk space, if disk space is what is the issue here.

    Has anyone tried to rerun an instance with debug mode enabled so you can ssh in and verify disk space availability?

  7. refack commented on Aug 29, 2018

    @refack
    refack
    on Aug 29, 2018
    ContributorAuthor
    More actions

    According to Travis' documentation there should be about ~9GB of disk space available for the configuration we're currently using.

    My guess is that it's not actual out-of-space, but some other fragility. We do run the tests, and pass, in our CI cluster on machines with ~1GB free disk space.

    I was quick to skip since currently we use Travis only for sanity testing, and still require our own Jenkins run before we land.

  8. mscdex commented on Aug 29, 2018

    @mscdex
    mscdex
    on Aug 29, 2018
    Contributor
    More actions

    Hrmm... from what I'm finding it could also be that the maximum number of system watchers is too low. This could be checked with sysctl fs.inotify.max_user_watches. Perhaps we could try executing something like this before running the test(s):

    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

    or some other similarly larger value than what is currently being used on Travis.

    Reacted by Ruben Bridgewater, Bruno Michel and Alan Carvalhosa
  9. Trott commented on Oct 11, 2018

    @Trott
    Trott
    on Oct 11, 2018
    Member
    More actions

    Flaky on CI too:

    https://ci.nodejs.org/job/node-test-commit-linux/22236/nodes=ubuntu1804-docker/console

    22:32:46 not ok 2100 async-hooks/test-fseventwrap
    22:32:46   ---
    22:32:46   duration_ms: 0.208
    22:32:46   severity: fail
    22:32:46   exitcode: 1
    22:32:46   stack: |-
    22:32:46     internal/fs/watchers.js:173
    22:32:46         throw error;
    22:32:46         ^
    22:32:46     
    22:32:46     Error: ENOSPC: System limit for number of file watchers reached, watch '/home/iojs/build/workspace/node-test-commit-linux/nodes/ubuntu1804-docker/test/async-hooks/test-fseventwrap.js'
    22:32:46         at FSWatcher.start (internal/fs/watchers.js:165:26)
    22:32:46         at Object.watch (fs.js:1269:11)
    22:32:46         at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux/nodes/ubuntu1804-docker/test/async-hooks/test-fseventwrap.js:16:20)
    22:32:46         at Module._compile (internal/modules/cjs/loader.js:706:30)
    22:32:46         at Object.Module._extensions..js (internal/modules/cjs/loader.js:717:10)
    22:32:46         at Module.load (internal/modules/cjs/loader.js:604:32)
    22:32:46         at tryModuleLoad (internal/modules/cjs/loader.js:543:12)
    22:32:46         at Function.Module._load (internal/modules/cjs/loader.js:535:3)
    22:32:46         at Function.Module.runMain (internal/modules/cjs/loader.js:759:12)
    22:32:46         at startup (internal/bootstrap/node.js:303:19)
    22:32:46   ...
  10. targos commented on Nov 20, 2021

    @targos
    targos
    on Nov 20, 2021
    Member
    More actions

    Closing as there was no activity in more than three years and we don't use travis anymore.

  11. targos
    closed this as completedon Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    async_hooksIssues and PRs related to the async hooks subsystem.flaky-testIssues and PRs involving tests that fail intermittently in CI.fsIssues and PRs related to file-system APIs and the fs module.testIssues and PRs related to Node.js core tests and test infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.