Skip to content

Investigate test-fs-readfile-tostring-fail failures on FreeBSD #43833

Closed
@richardlau

Description

@richardlau

Test

test-fs-readfile-tostring-fail

Platform

FreeBSD

Console output

13:11:17 not ok 3306 pummel/test-fs-readfile-tostring-fail
13:11:17   ---
13:11:17   duration_ms: 34.407
13:11:17   severity: fail
13:11:17   exitcode: 7
13:11:17   stack: |-
13:11:17     /usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/pummel/test-fs-readfile-tostring-fail.js:69
13:11:17       throw err;
13:11:17       ^
13:11:17     
13:11:17     AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
13:11:17     
13:11:17       assert.ok(err instanceof Error)
13:11:17     
13:11:17         at /usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/pummel/test-fs-readfile-tostring-fail.js:36:12
13:11:17         at /usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/common/index.js:438:15
13:11:17         at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
13:11:17       generatedMessage: true,
13:11:17       code: 'ERR_ASSERTION',
13:11:17       actual: false,
13:11:17       expected: true,
13:11:17       operator: '=='
13:11:17     }
13:11:17     
13:11:17     Node.js v19.0.0-pre
13:11:17   ...

Build links

Additional information

This appears to be happening consistently on test-digitalocean-freebsd12-x64-2. I haven't seen it happen yet on test-digitalocean-freebsd12-x64-1 -- according to https://ci.nodejs.org/job/node-test-commit-freebsd/nodes=freebsd12-x64/buildTimeTrend recent runs on test-digitalocean-freebsd12-x64-1 are green/yellow:
image

FWIW I rebooted test-digitalocean-freebsd12-x64-2 about an hour ago but that hasn't fixed the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.freebsdIssues and PRs related to the FreeBSD platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions