-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EACCES during test_mount on Cirrus-CI #1351
Labels
Comments
asomers
added a commit
to asomers/nix
that referenced
this issue
Dec 7, 2020
They fail for an unknown reason. Issue nix-rust#1351
asomers
added a commit
to asomers/nix
that referenced
this issue
Dec 7, 2020
Travis has been super-slow lately (> 6 hours per build). Cirrus is much faster: about 20 minutes. Cirrus also has slightly better test coverage, mainly because it doesn't use SECCOMP. Also, * Fix the Redox CI build. The old Travis configuration didn't actually build for Redox, so we never noticed that Redox can't be built with a stable compiler. Thanks to @coolreader18 for finding this. * Disable the udp_offload tests on cross-tested platforms. These tests are failing with ENOPROTOOPT in Cirrus-CI. I suspect it's due to a lack of support in QEMU. These tests were skipped on Travis because its kernel was too old. * Fix require_kernel_version on Cirrus-CI. Cirrus reports the Linux kernel version as 4.19.112+, which the semver crate can't handle. * Fix test_setfsuid on Cirrus. When run on Cirrus, it seems like the file in /tmp gets deleted as soon as it's closed. Probably an overzealous temporary file cleaner. Use /var/tmp, because no temporary file cleaner should run in there. * Skip mount tests on Cirrus. They fail for an unknown reason. Issue nix-rust#1351 * Skip the AF_ALG tests on Cirrus-CI Issue nix-rust#1352
Merged
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test_mount fails when run on Cirrus-CI. The mount syscall returns
EACCES
. According to the man page, there are only three reasons for that error, and none of them apply in this case. For now we'll skip the test on Cirrus, but we need to find the root cause.This test was always skipped on Travis, because
unshare
would fail withEPERM
, indicating that unprivileged user namespaces are not available in that environment.The text was updated successfully, but these errors were encountered: