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

kotlinx.io.files.SmokeFileTest.resolve fails for androidNative* targets #264

Open
fzhinkin opened this issue Feb 23, 2024 · 1 comment
Open
Labels

Comments

@fzhinkin
Copy link
Collaborator

adb shell /data/local/tmp/test.kexe --ktest_regex_filter=kotlinx.io.files.SmokeFileTest.resolve
[==========] Running 1 tests from 22 test cases.
[----------] Global test environment set-up.
[----------] 1 tests from kotlinx.io.files.SmokeFileTest
[ RUN      ] kotlinx.io.files.SmokeFileTest.resolve
kotlinx.io.IOException: mkdir failed: Read-only file system
    at 0   test.kexe                           0x60f3c5df83       0x0 + 416406691715 
    at 1   test.kexe                           0x60f3d421b3       0x0 + 416407626163 
    at 2   test.kexe                           0x60f3d4221b       0x0 + 416407626267 
    at 3   test.kexe                           0x60f3d47413       0x0 + 416407647251 
    at 4   test.kexe                           0x60f3d4369f       0x0 + 416407631519 
    at 5   test.kexe                           0x60f3df68f7       0x0 + 416408365303 
    at 6   test.kexe                           0x60f3d3f1e3       0x0 + 416407613923 
    at 7   test.kexe                           0x60f3dce01b       0x0 + 416408199195 
    at 8   test.kexe                           0x60f3dd0b7f       0x0 + 416408210303 
    at 9   test.kexe                           0x60f3dd0be7       0x0 + 416408210407 
    at 10  test.kexe                           0x60f3de54a3       0x0 + 416408294563 
    at 11  test.kexe                           0x60f3c81327       0x0 + 416406836007 
    at 12  test.kexe                           0x60f3dec2f3       0x0 + 416408322803 
    at 13  test.kexe                           0x60f3c7d38b       0x0 + 416406819723 
    at 14  test.kexe                           0x60f3c7dd87       0x0 + 416406822279 
    at 15  test.kexe                           0x60f3c7e29f       0x0 + 416406823583 
    at 16  test.kexe                           0x60f3c76c4b       0x0 + 416406793291 
    at 17  test.kexe                           0x60f3c76b43       0x0 + 416406793027 
    at 18  test.kexe                           0x60f3c76cff       0x0 + 416406793471 
    at 19  test.kexe                           0x60f3e25c93       0x0 + 416408558739 
    at 20  libc.so                             0x729c1201f7       __libc_init + 99 
[  FAILED  ] kotlinx.io.files.SmokeFileTest.resolve (0 ms)
[----------] 1 tests from kotlinx.io.files.SmokeFileTest (2 ms total)

[----------] Global test environment tear-down
[==========] 1 tests from 1 test cases ran. (2 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] kotlinx.io.files.SmokeFileTest.resolve

1 FAILED TEST
@fzhinkin fzhinkin added the bug label Feb 23, 2024
@fzhinkin
Copy link
Collaborator Author

The test attempts to create a directory using a relative path. If the test was started inside a read-only directory, the operation will fail.
Filesystem tests should be revisited to avoid such problems.

@fzhinkin fzhinkin added testbug and removed bug labels Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant