New test `parallel/test-fs-readfilesync-pipe-short-reads` fails on Linux/riscv64
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 73/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, linux, node.js
- Lĩnh vực
- operating-systems, testing
Hướng nghiên cứu
Bắt đầu với test/parallel/test-fs-readfilesync-pipe-short-reads.js, đặc biệt là thao tác đọc /proc trong readBytes quanh dòng 29. Kiểm tra cách các bài kiểm thử Node.js gần đó xử lý những tệp /proc phụ thuộc vào nền tảng và cách bỏ qua bài kiểm thử khi không có tệp cần thiết. Công việc hoàn tất khi bài kiểm thử chạy trên các hệ thống Linux/RISC-V dù có hay không có /proc/<pid>/io.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This test was introduced in https://github.com/nodejs/node/pull/66939 and has been failing consistently on RISC-V.
not ok 3142 parallel/test-fs-readfilesync-pipe-short-reads
---
duration_ms: 593.92000
severity: fail
exitcode: 1
stack: |-
node:fs:782
return binding.open(
^
Error: ENOENT: no such file or directory, open '/proc/981958/io'
at Object.openSync (node:fs:782:18)
at Object.readFileSync (node:fs:628:35)
at readBytes (/home/iojs/A100/workspace/node-test-commit-rvlinux/nodes/rv64gcv/test/parallel/test-fs-readfilesync-pipe-short-reads.js:29:17)
at Socket.<anonymous> (/home/iojs/A100/workspace/node-test-commit-rvlinux/nodes/rv64gcv/test/parallel/test-fs-readfilesync-pipe-short-reads.js:41:17)
at Socket.<anonymous> (/home/iojs/A100/workspace/node-test-commit-rvlinux/nodes/rv64gcv/test/common/index.js:512:15)
at Socket.wrapper (node:events:639:12)
at Socket.emit (node:events:514:20)
at addChunk (node:internal/streams/readable:605:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:556:3)
at Readable.push (node:internal/streams/readable:436:5) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/proc/981958/io'
}
Node.js v28.0.0-pre
...
It appears that there are no io entries in /proc on at least two of my RISC-V systems (although not all) and I expect that it is distribution specific. The test should perhaps check for the presence of the io file and skip itself if that is not present.
Tagging in the overall RISC-V tracking issue at https://github.com/nodejs/build/issues/4099
- Ngôn ngữ chính
- JavaScript
- Star
- 123k
- Fork
- 39.3k
- Merge trung bình
- 4 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 237
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nodejs/node
-
util: parseArgs() treats a `-` inside a short option group as the `--` terminatorCó thể đã có người làm @yohannesjoya đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
http2: content-encoding is incorrectly listed in kSingleValueHeadersCó thể đã có người làm @inoway46 đã nhận 3 ngày trước. Đang mởconfirmed-bug http2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
nodejs/node#67151 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
util.parseEnv and --env-file keep a leading UTF-8 BOM in the first keyCó thể đã có người làm @helmipradita đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
node:internal/inspector/network_http: `TypeError: Missing dataLength` in event when response uses `setEncoding()`Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nodejs/node#66551 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Docs] `process.loadEnvFile()` does not document behaviour when variables already existCó thể đã có người làm @Sepandard đã nhận 39 ngày trước. Đang mởdoc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
clientV2: Application Info header separators show as missing-character boxes without a CJK fontĐang mởbug new-client
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
NUWCDIVNPT/stig-manager#2285 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Fei2411/DeepSeek-Bot#922 · 1 reaction ·
-
server errored
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OpenTermsArchive/contrib-declarations#4273 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-area-label
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 2 ngày
-
serienstream.toĐang mởN: AdGuard for Windows P2: High T: Annoyance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 61/100
AdguardTeam/AdguardFilters#246310 ·
Maintainer thường phản hồi trong vòng 1 ngày