uutils / coreutils

Cross-platform Rust rewrite of the GNU coreutils
https://uutils.github.io/
MIT License
17.74k stars 1.27k forks source link

Tests fail sporadically on musl based distro Alpinelinux #2024

Open omnivagant opened 3 years ago

omnivagant commented 3 years ago

Hi, I'm packaging this for the musl based distro Alpinelinux as uutils-coreutils (in testing) for armhf, armv7, aarch64, x86 and x86_64, the ioctl-sys crate doesn't build for ppc64le and Rust is not available yet for mips64 nor s390x.

Tests fail sporadically for any arch, usually it's just one test that fail but it can be any test. What I do is just trigger a re-run of the build until it succeeds.

sylvestre commented 3 years ago

Glad to hear :)

Rust works on mips64&s390x, see: https://buildd.debian.org/status/package.php?p=rustc

Do you have more details about the kind of failure that you are getting? We have some intermittent in the CI but they are not that common

omnivagant commented 3 years ago

Alpine and musl developers are working together with Rust to get things sorted for mips64 and s390x, https://github.com/rust-lang/rust/pull/82556 for example.

Example failures where two tests happen to fail for x86_64 https://gitlab.alpinelinux.org/omni/aports/-/jobs/363702#L1274

I've added a commit with RUST_BACKTRACE=1 for the tests and will trigger rebuilds until there have been some failure for all archs.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.