Skip to content
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

Closed
asomers opened this issue Dec 7, 2020 · 0 comments · Fixed by #2269
Closed

EACCES during test_mount on Cirrus-CI #1351

asomers opened this issue Dec 7, 2020 · 0 comments · Fixed by #2269
Labels

Comments

@asomers
Copy link
Member

asomers commented Dec 7, 2020

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 with EPERM, indicating that unprivileged user namespaces are not available in that environment.

@asomers asomers added the A-bug label Dec 7, 2020
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
@SteveLauC SteveLauC mentioned this issue Dec 17, 2023
3 tasks
@SteveLauC SteveLauC linked a pull request Feb 6, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant