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

tests/cp: test_cp::test_closes_file_descriptors is failing on android with SIGSYS 31 #4736

Closed
Joining7943 opened this issue Apr 13, 2023 · 1 comment

Comments

@Joining7943
Copy link
Contributor

It looks like that all android workflow runs fail because of a SIGSYS error. Below are two examplary extracts from the ci logs of two different ci runs of the android workflow.

...
test test_cp::test_canonicalize_symlink ... ok
test test_cp::test_abuse_existing ... ok
test test_cp::test_copy_contents_fifo ... ok
test test_cp::test_copy_dir_preserve_permissions ... ok
test test_cp::test_copy_dir_preserve_permissions_inaccessible_file ... ok
test test_cp::test_copy_dir_symlink ... ok
test test_cp::test_copy_dir_with_symlinks ... ok
error: test failed, to rerun pass `--test tests`

Caused by:
  process didn't exit successfully: `/data/data/com.termux/files/home/coreutils/target/debug/deps/tests-9398dd3f9ff2e688` (signal: 31, SIGSYS: bad system call)
error: 1 target failed:
    `--test tests`
Error: The process '/bin/sh' failed with exit code 101
...
test test_cp::test_abuse_existing ... ok
test test_cp::test_canonicalize_symlink ... ok
test test_cp::test_copy_contents_fifo ... ok
test test_cp::test_copy_dir_preserve_permissions ... ok
test test_cp::test_copy_dir_preserve_permissions_inaccessible_file ... ok
test test_cp::test_copy_dir_symlink ... ok
error: test failed, to rerun pass `--test tests`

Caused by:
  process didn't exit successfully: `/data/data/com.termux/files/home/coreutils/target/debug/deps/tests-e50e3190dd63d425` (signal: 31, SIGSYS: bad system call)
error: 1 target failed:
    `--test tests`
Error: The process '/bin/sh' failed with exit code 101
@Joining7943
Copy link
Contributor Author

For completeness, here's also some extracted output from a test run with nextest which shows the actually failing test:

...
        PASS [   0.030s] coreutils::tests test_cp::test_copy_dir_preserve_permissions
TRY 1 SIG 31 [   0.135s] coreutils::tests test_cp::test_closes_file_descriptors

--- TRY 1 STDOUT:        coreutils::tests test_cp::test_closes_file_descriptors ---

running 1 test

   RETRY 2/3 [         ] coreutils::tests test_cp::test_closes_file_descriptors
TRY 2 SIG 31 [   0.067s] coreutils::tests test_cp::test_closes_file_descriptors

--- TRY 2 STDOUT:        coreutils::tests test_cp::test_closes_file_descriptors ---

running 1 test

   RETRY 3/3 [         ] coreutils::tests test_cp::test_closes_file_descriptors
TRY 3 SIG 31 [   0.095s] coreutils::tests test_cp::test_closes_file_descriptors

--- TRY 3 STDOUT:        coreutils::tests test_cp::test_closes_file_descriptors ---

running 1 test

        PASS [   0.107s] coreutils::tests test_cp::test_copy_dir_with_symlinks
...

@Joining7943 Joining7943 changed the title ci/android: Build and Test step fails with process didn't exit successfully: ... SIGSYS: bad system call tests/cp: test_cp::test_closes_file_descriptors is failing on android with SIGSYS 31 Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant