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 — Flaky parallel/test-trace-events-fs-sync · Issue #21038 · nodejs/node

Flaky parallel/test-trace-events-fs-sync #21038

New issue
Copy link
New issue
Copy link
Closed
Closed
Flaky parallel/test-trace-events-fs-sync#21038
Copy link
Assignees
ofrobotsaddaleax
Labels
flaky-testIssues and PRs involving tests that fail intermittently in CI.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.trace_eventsIssues and PRs related to trace events from V8, Node.js core, and user code.

Description

@mmarchini
mmarchini
opened on May 30, 2018
Issue body actions

Test failing occasionally on FreeBSD with different assertion failures:

https://ci.nodejs.org/job/node-test-commit-freebsd/18147/ (#20962)

assert.js:80
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: fs.sync.access:
    at Object.<anonymous> (/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd11-x64/test/parallel/test-trace-events-fs-sync.js:131:10)
    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:239:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:573:3)

https://ci.nodejs.org/job/node-test-commit-freebsd/18103/ (#21003)

assert.js:80
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: fs.sync.ftruncate:
    at Object.<anonymous> (/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd11-x64/test/parallel/test-trace-events-fs-sync.js:131:10)
    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:239:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:573:3)

https://ci.nodejs.org/job/node-test-commit-freebsd/18143/ (#21032)

assert.js:80
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: fs.sync.readlink:
    at Object.<anonymous> (/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd11-x64/test/parallel/test-trace-events-fs-sync.js:131:10)
    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:239:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:573:3)

Activity

Next
  1. mmarchini
    added
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    on May 30, 2018
  2. mmarchini
    changed the title [-]Flaky test-trace-events-fs-sync on FreeBSD[/-] [+]Flaky parallel/test-trace-events-fs-sync on FreeBSD[/+] on May 30, 2018
  3. mmarchini
    added a commit that references this issue on May 30, 2018

    test: mark test-trace-events-fs-sync as flaky

    f6aa479
  4. Trott commented on May 31, 2018

    @Trott
    Trott
    on May 31, 2018
    Member
    More actions

    Seems like this assertion should print the entire proc object rather than just proc.status. This way we could see proc.error, proc.signal, proc.stderr and other things that might be useful to see when the test fails.

  5. Trott commented on Jun 4, 2018

    @Trott
    Trott
    on Jun 4, 2018
    Member
    More actions

    Not just FreeBSD. Here it is failing on LinuxONE:

    https://ci.nodejs.org/job/node-test-commit-linuxone/1863/nodes=rhel72-s390x/console

    03:04:07 not ok 1843 parallel/test-trace-events-fs-sync
    03:04:07   ---
    03:04:07   duration_ms: 2.122
    03:04:07   severity: fail
    03:04:07   exitcode: 1
    03:04:07   stack: |-
    03:04:07     assert.js:80
    03:04:07       throw new AssertionError(obj);
    03:04:07       ^
    03:04:07     
    03:04:07     AssertionError [ERR_ASSERTION]: fs.sync.rmdir: 
    03:04:07         at Object.<anonymous> (/data/iojs/build/workspace/node-test-commit-linuxone/nodes/rhel72-s390x/test/parallel/test-trace-events-fs-sync.js:131:10)
    03:04:07         at Module._compile (internal/modules/cjs/loader.js:702:30)
    03:04:07         at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    03:04:07         at Module.load (internal/modules/cjs/loader.js:612:32)
    03:04:07         at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    03:04:07         at Function.Module._load (internal/modules/cjs/loader.js:543:3)
    03:04:07         at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
    03:04:07         at startup (internal/bootstrap/node.js:261:19)
    03:04:07         at bootstrapNodeJSCore (internal/bootstrap/node.js:595:3)
    03:04:07   ...
    
  6. Trott
    changed the title [-]Flaky parallel/test-trace-events-fs-sync on FreeBSD[/-] [+]Flaky parallel/test-trace-events-fs-sync[/+] on Jun 4, 2018
  7. Trott commented on Jun 4, 2018

    @Trott
    Trott
    on Jun 4, 2018
    Member
    More actions

    I updated the title of this to remove on FreeBSD as it appears to be more widespread than that.

  8. Trott commented on Jun 4, 2018

    @Trott
    Trott
    on Jun 4, 2018
    Member
    More actions

    Stress test to confirm this is reproducible on FreeBSD:

    https://ci.nodejs.org/job/node-stress-single-test/1906/nodes=freebsd11-x64/

  9. Trott commented on Jun 4, 2018

    @Trott
    Trott
    on Jun 4, 2018
    Member
    More actions

    stderr is empty and the assertion swallows all the other info that might be useful (status, stdout, signal).

    PR to improve output: #21120

  10. lance
    added a commit that references this issue on Jun 4, 2018

    test: mark test-trace-events-fs-sync as flaky

    5aa47bd
  11. MylesBorins
    added a commit that references this issue on Jun 6, 2018

    test: mark test-trace-events-fs-sync as flaky

    820236f
  12. maclover7 commented on Jun 6, 2018

    @maclover7
    maclover7
    on Jun 6, 2018
    Contributor
    More actions

    Failure on linuxone:

    19:19:16 not ok 1832 parallel/test-trace-events-fs-sync
    19:19:16   ---
    19:19:16   duration_ms: 1.458
    19:19:16   severity: fail
    19:19:16   exitcode: 1
    19:19:16   stack: |-
    19:19:16     assert.js:80
    19:19:16       throw new AssertionError(obj);
    19:19:16       ^
    19:19:16     
    19:19:16     AssertionError [ERR_ASSERTION]: fs.sync.fchmod: 
    19:19:16         at Object.<anonymous> (/data/iojs/build/workspace/node-test-commit-linuxone/nodes/rhel72-s390x/test/parallel/test-trace-events-fs-sync.js:131:10)
    19:19:16         at Module._compile (internal/modules/cjs/loader.js:702:30)
    19:19:16         at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    19:19:16         at Module.load (internal/modules/cjs/loader.js:612:32)
    19:19:16         at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    19:19:16         at Function.Module._load (internal/modules/cjs/loader.js:543:3)
    19:19:16         at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
    19:19:16         at startup (internal/bootstrap/node.js:261:19)
    19:19:16         at bootstrapNodeJSCore (internal/bootstrap/node.js:595:3)
    19:19:16   ...
    
  13. apapirovski commented on Jun 6, 2018

    @apapirovski
    apapirovski
    on Jun 6, 2018
    Contributor
    More actions

    Stress test now that we have more useful output: https://ci.nodejs.org/job/node-stress-single-test/1918/

  14. apapirovski commented on Jun 7, 2018

    @apapirovski
    apapirovski
    on Jun 7, 2018
    Contributor
    More actions

    So... we've got a SIGSEGV... :|

    09:15:45 not ok 53 parallel/test-trace-events-fs-sync
    09:15:45   ---
    09:15:45   duration_ms: 0.340
    09:15:45   severity: fail
    09:15:45   exitcode: 1
    09:15:45   stack: |-
    09:15:45     assert.js:80
    09:15:45       throw new AssertionError(obj);
    09:15:45       ^
    09:15:45     
    09:15:45     AssertionError [ERR_ASSERTION]: fs.sync.access:
    09:15:45     { status: null,
    09:15:45       signal: 'SIGSEGV',
    09:15:45       output: [ null, '', '' ],
    09:15:45       pid: 83533,
    09:15:45       stdout: '',
    09:15:45       stderr: '' }
    09:15:45         at Object.<anonymous> (/usr/home/iojs/build/workspace/node-stress-single-test/nodes/freebsd11-x64/test/parallel/test-trace-events-fs-sync.js:136:10)
    09:15:45         at Module._compile (internal/modules/cjs/loader.js:702:30)
    09:15:45         at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    09:15:45         at Module.load (internal/modules/cjs/loader.js:612:32)
    09:15:45         at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    09:15:45         at Function.Module._load (internal/modules/cjs/loader.js:543:3)
    09:15:45         at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
    09:15:45         at startup (internal/bootstrap/node.js:267:19)
    09:15:45         at bootstrapNodeJSCore (internal/bootstrap/node.js:600:3)
    

    This could be related to the trace events failures we've previously seen on Windows. ping @jasnell @ofrobots since one of you previously mentioned some segfaults that you saw in the trace events code and were planning on fixing?

  15. ofrobots commented on Jun 7, 2018

    @ofrobots
    ofrobots
    on Jun 7, 2018
    Contributor
    More actions

    I'm investigating some SIGSEGVs in tracing today.

    Reacted by Anatoli Papirovski
    Reacted by Anatoli Papirovski
  16. 64 remaining items

  17. targos
    added 7 commits that reference this issue on Sep 19, 2018

    deps: cherry-pick 2363cdf from upstream V8

    3ec5a64

    deps: cherry-pick 2363cdf from upstream V8

    967fbeb

    deps: cherry-pick 2363cdf from upstream V8

    062dfd5

    deps: cherry-pick 2363cdf from upstream V8

    dca0300
  18. pull
    added a commit that references this issue on Oct 1, 2018

    [tracing] do not add traces when disabled

    2363cdf
  19. Trott
    added 2 commits that reference this issue on Oct 6, 2018

    test: remove flaky designation for test

    0b924f4

    test: remove flaky designation for test

    e5170d4
  20. targos
    added 2 commits that reference this issue on Oct 7, 2018

    test: remove flaky designation for test

    b173d6f

    test: remove flaky designation for test

    45e0080
  21. jasnell
    added a commit that references this issue on Oct 17, 2018

    test: remove flaky designation for test

    e1cbb61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @addaleax
    addaleax
  • @ofrobots
    ofrobots

Labels

flaky-testIssues and PRs involving tests that fail intermittently in CI.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.trace_eventsIssues and PRs related to trace events from V8, Node.js core, and user code.

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.