Skip to content

test/sequential/test-heapdump.js lines 27 through 39 is bound to fail #41643

Description

@mawaregetsuka

Version

v18.0.0-pre

Platform

No response

Subsystem

No response

What steps will reproduce the bug?

Run tests as root

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

Path: sequential/test-heapdump
node:assert:123
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Missing expected exception.
    at Object.<anonymous> (/root/Documents/node/test/sequential/test-heapdump.js:30:10)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: undefined,
  expected: [Function (anonymous)],
  operator: 'throws'
}

Additional information

This test is introduced in the commit 74b9baa
I think the test didn't work because root ignored file permissions

Activity

  1. added
    testIssues and PRs related to Node.js core tests and test infrastructure.
    on Jan 22, 2022
  2. sapics commented on Jan 30, 2022

    @sapics
    Contributor

    I had a same error with current master branch by root in Ubuntu 20.04 + gcc-11 + ./configure --experimental-enable-pointer-compression --enable-lto + -march=native

  3. RaisinTen commented on Jan 30, 2022

    @RaisinTen
    Member

    PR: #41772

  4. sapics commented on Jan 30, 2022

    @sapics
    Contributor

    Thank you very much for very quick fix and making PR!

    I have confirmed that there are NO ERRORs in master branch + chrry-pick c6e4596 (#41772) when I run make -j60 test as root

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

    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