[v22.x] `parallel/test-fs-utimes-y2K38` fails with `Error: EINVAL: invalid argument, utime` on armv7
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- debian, javascript, linux
調査の方向性
test/parallel/test-fs-utimes-y2K38.js から始め、特に skip チェックと、46 行目で報告されている utimesSync 呼び出しを確認します。Debian 13 armv7 コンテナでテストを再現し、touch/date の検出と、その後のタイムスタンプ操作を比較します。予期しない EINVAL エラーを発生させずに、このファイルシステムの動作をテストが正しく処理できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
parallel/test-fs-utimes-y2K38 is failing in Debian 13 armv7 containers in our Jenkins CI.
Refs: https://github.com/nodejs/build/pull/4358#issuecomment-4662053132
e.g.
16:23:21 not ok 1312 parallel/test-fs-utimes-y2K38
16:23:21 ---
16:23:21 duration_ms: 328.27900
16:23:21 severity: fail
16:23:21 exitcode: 1
16:23:21 stack: |-
16:23:21 node:fs:2199
16:23:21 binding.utimes(
16:23:21 ^
16:23:21
16:23:21 Error: EINVAL: invalid argument, utime '/home/iojs/tmp/.tmp.1312/test-utimes-precision'
16:23:21 at Object.utimesSync (node:fs:2199:11)
16:23:21 at Object.<anonymous> (/home/iojs/build/workspace/node-test-binary-armv7l/test/parallel/test-fs-utimes-y2K38.js:46:4)
16:23:21 at Module._compile (node:internal/modules/cjs/loader:1781:14)
16:23:21 at Module._extensions..js (node:internal/modules/cjs/loader:1913:10)
16:23:21 at Module.load (node:internal/modules/cjs/loader:1505:32)
16:23:21 at Module._load (node:internal/modules/cjs/loader:1309:12)
16:23:21 at wrapModuleLoad (node:internal/modules/cjs/loader:254:19)
16:23:21 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
16:23:21 at node:internal/main/run_main_module:36:49 {
16:23:21 errno: -22,
16:23:21 code: 'EINVAL',
16:23:21 syscall: 'utime',
16:23:21 path: '/home/iojs/tmp/.tmp.1312/test-utimes-precision'
16:23:21 }
16:23:21
16:23:21 Node.js v22.22.4-pre
16:23:21 ...
The test is skipped on the earlier Debian 11 armv7 containers, nor on the Ubuntu 22.04 containers:
e.g.
10:13:26 ok 1461 parallel/test-fs-utimes-y2K38 # skip File system appears to lack Y2K38 support (touch failed)
10:13:26 ---
10:13:26 duration_ms: 135.82300
10:13:26 ...
which indicates that the underlying filesystem doesn't support y2k38. However on Debian 13 we are not skipping (i.e. the touch and date sniff tests pass) and the invalid argument is being thrown when the later parts of the test run.
- 主要言語
- JavaScript
- スター
- 122k
- フォーク
- 37.4k
- 平均マージ
- 4日 4時間
- マージ済み PR(30日)
- 276
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nodejs/node のほかの issue
-
doc
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
build
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
似ている issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
-
Add: BuyPass TV オープンchannels:add check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
S: triage
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100