CI: ubuntu-26.04 runners break the i686 and SELinux jobs
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Start with the i686 and GNU SELinux CI job definitions and the linked failing runs; compare their runner image versions with the last successful ubuntu-24.04 runs. The report identifies Docker 29.4.2 seccomp behavior as a likely cause of the i686 failures, while the SELinux dnf install failure is still unexplained. Done means identifying and addressing the runner causes so both job groups pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I couldn't find an existing issue for this, so I'm opening one.
ubuntu-latest jobs now sometimes run on ubuntu-26.04 instead of ubuntu-24.04 (kernel 7.0, Docker 29.4.2 instead of kernel 6.17, Docker 28.0.4). Some jobs fail only on the new image.
i686 (cross)
Docker 29.4.2's default seccomp profile returns ERRNO 38 (ENOSYS) for socketcall. This is moby/moby#52506, fixed in Docker 29.4.3, but the ubuntu-26.04 image still pins 29.4.2: actions/runner-images#14790.
- rustix on x86 does
socketpairthroughsocketcall, sotest_tr::test_stdin_is_socketfails withos error 38(musl job). test_localization_and_colorsfails to spawn the utility withos error 38(gnu job). i386 glibc also usessocketcall(see actions/runner-images#14790), so I think it is the same cause.
Example: https://github.com/uutils/coreutils/actions/runs/40689561866/job/122823471942 (gnu) and https://github.com/uutils/coreutils/actions/runs/40689561866/job/122823472059 (musl), from #15953.
I reproduced the tr failure locally: with a seccomp filter that only returns ENOSYS for socketcall, rustix socketpair on i686-unknown-linux-musl fails with os error 38, and works without the filter.
test program
Cargo.toml:
[package]
name = "sockprobe"
version = "0.1.0"
edition = "2021"
[dependencies]
rustix = { version = "=1.1.5", features = ["net"] }
libc = "0.2"
src/main.rs:
use rustix::net::{socketpair, AddressFamily, SocketFlags, SocketType};
// Like Docker 29.4.2: socketcall -> ERRNO 38 (ENOSYS), everything else allowed
fn block_socketcall() {
const SYS_SOCKETCALL_I386: u32 = 102;
let mut prog = [
libc::sock_filter { code: (libc::BPF_LD | libc::BPF_W | libc::BPF_ABS) as u16, jt: 0, jf: 0, k: 0 },
libc::sock_filter { code: (libc::BPF_JMP | libc::BPF_JEQ | libc::BPF_K) as u16, jt: 0, jf: 1, k: SYS_SOCKETCALL_I386 },
libc::sock_filter { code: (libc::BPF_RET | libc::BPF_K) as u16, jt: 0, jf: 0, k: libc::SECCOMP_RET_ERRNO | libc::ENOSYS as u32 },
libc::sock_filter { code: (libc::BPF_RET | libc::BPF_K) as u16, jt: 0, jf: 0, k: libc::SECCOMP_RET_ALLOW },
];
let fprog = libc::sock_fprog { len: prog.len() as u16, filter: prog.as_mut_ptr() };
unsafe {
assert_eq!(libc::prctl(libc::PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0), 0);
assert_eq!(libc::prctl(libc::PR_SET_SECCOMP, libc::SECCOMP_MODE_FILTER, &fprog as *const _), 0);
}
}
fn main() {
if std::env::var_os("BLOCK_SOCKETCALL").is_some() {
block_socketcall();
}
// rustix on x86 goes through socketcall(SYS_SOCKETPAIR)
let r = socketpair(AddressFamily::UNIX, SocketType::STREAM, SocketFlags::empty(), None);
println!("rustix socketpair: {:?}", r.map(|_| "ok"));
}
$ cargo build --target i686-unknown-linux-musl
$ ./target/i686-unknown-linux-musl/debug/sockprobe
rustix socketpair: Ok("ok")
$ BLOCK_SOCKETCALL=1 ./target/i686-unknown-linux-musl/debug/sockprobe
rustix socketpair: Err(Os { code: 38, kind: Unsupported, message: "Function not implemented" })
This is hidden on main: the build jobs need min_version, and MinRustV currently fails there because of #15937. The last time i686 ran on main (c21b7adc6, ubuntu-24.04) the tests passed.
GNU tests (SELinux)
The last success ran on ubuntu-24.04 (https://github.com/uutils/coreutils/actions/runs/40602187553), the first failure on ubuntu-26.04 (https://github.com/uutils/coreutils/actions/runs/40605824544). dnf install in the lima VM stops after about 30 packages and the step ends with exit code 255. I don't know why yet.
Pinning these jobs to ubuntu-24.04 might work until the runner image gets Docker 29.4.3.
- Ngôn ngữ chính
- Rust
- Star
- 24.3k
- Fork
- 2.1k
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 397
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không 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 uutils/coreutils
-
pr: -o/--indent does not pad the header lineCó thể đã có người làm @emirmrkaljevic đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
realpath: empty operand aborts with a garbled error instead of being reported as missingCó thể đã có người làm @emirmrkaljevic đã nhận hôm nay. Đang mởU - realpath
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Unhelpful manual page(s)Đang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
nl: section delimiters reset --join-blank-lines groupingCó thể đã có người làm @coracoracora đã nhận 1 ngày trước. Đang mởU - nl
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
uutils/coreutils#16130 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
uniq: overflowing -f/-s/-w values with trailing garbage are silently acceptedCó thể đã có người làm @huuan26 đã nhận 3 ngày trước. Đang mởU - uniq
Độ 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
Tất cả issue của uutils/coreutils
Issue tương tự
-
🐞 bug 🧩 bevy_gantz_egui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nannou-org/gantz#500 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature]: Fedora 45 repoĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
metasequoiaime/msime#10989 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fritzprix/libr-agent#2612 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
crate: spate-core priority: low
Độ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NSPG13/agent-bounties#1749 ·
Maintainer thường phản hồi trong vòng 1 ngày