Skip to content

Y2k_38 test fails on i686 #41997

Description

@nponeccop

Version

v12.22.10

Platform

Linux arch 5.15.7-arch1-1.0 #1 SMP PREEMPT Thu, 09 Dec 2021 07:16:30 +0000 i686 GNU/Linux

Subsystem

fs

What steps will reproduce the bug?

make test or out/Release/node test/parallel/test-fs-utimes.js

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

always

What is the expected behavior?

The test passes

What do you see instead?

$ out/Release/node test/parallel/test-fs-utimes.js
internal/fs/utils.js:269
    throw err;
    ^

Error: EINVAL: invalid argument, utime '/home/foo/node-v12.22.10/test/.tmp.0/test-utimes-precision'
    at Object.utimesSync (fs.js:1285:3)
    at Object.<anonymous> (/home/foo/node-v12.22.10/test/parallel/test-fs-utimes.js:167:6)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47 {
  errno: -22,
  syscall: 'utime',
  code: 'EINVAL',
  path: '/home/foo/node-v12.22.10/test/.tmp.0/test-utimes-precision'
}

Additional information

Basically, fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime); throws EINVAL and the test fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions