Skip to content

test: parallel/test-fs-read-promises-position-validation fails on IBM i #50054

Closed
@richardlau

Description

https://ci.nodejs.org/job/node-test-commit-ibmi/nodes=ibmi73-ppc64/1316/consoleFull

09:20:12 not ok 1103 parallel/test-fs-read-promises-position-validation
09:20:12   ---
09:20:12   duration_ms: 1801.82400
09:20:12   severity: fail
09:20:12   exitcode: 1
09:20:12   stack: |-
09:20:12     node:internal/process/esm_loader:40
09:20:12           internalBinding('errors').triggerUncaughtException(
09:20:12                                     ^
09:20:12     
09:20:12     [Error: EOVERFLOW: value too large for defined data type, read] {
09:20:12       errno: -127,
09:20:12       code: 'EOVERFLOW',
09:20:12       syscall: 'read'
09:20:12     }
09:20:12     
09:20:12     Node.js v21.0.0-pre
09:20:12   ...

This test was introduced by #42835 last week.

Initial glance suggests it's an oversight:

await testValid(Number.MAX_SAFE_INTEGER, [ 'EFBIG' ]);
await testValid(2n ** 63n - 1n - BigInt(length), [ 'EFBIG' ]);

compared to the non-promises test (test-fs-read-position-validation.mjs)

await testValid(Number.MAX_SAFE_INTEGER, [ 'EFBIG', 'EOVERFLOW' ]);
await testValid(2n ** 63n - 1n - BigInt(length), [ 'EFBIG', 'EOVERFLOW' ]);

cc @nodejs/platform-ibmi

Metadata

Assignees

No one assigned

    Labels

    ibm iIssues and PRs related to the IBM i platform.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions