You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sqllogictests failing locally due to "No such file or directory" #8541
changed the title [-]sqllogictests failing locally due to "No such file or directoru"[/-][+]sqllogictests failing locally due to "No such file or directory"[/+]on Dec 14, 2023
I can reproduce the error if I delete the ./datafusion/sqllogictest/test_files directory 🤔
andrewlamb@Andrews-MacBook-Pro:~/Software/arrow-datafusion$ rm -rf ./datafusion/sqllogictest/test_files
andrewlamb@Andrews-MacBook-Pro:~/Software/arrow-datafusion$ cargo test --test sqllogictests
Finished test [unoptimized + debuginfo] target(s) in 0.13s
Running bin/sqllogictests.rs (target/debug/deps/sqllogictests-a4acaa02cc91a4e3)
thread 'main' panicked at datafusion/sqllogictest/bin/sqllogictests.rs:264:14:
Readable directory: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: test failed, to rerun pass `-p datafusion-sqllogictest --test sqllogictests`
The error reported in this PR seems to be related to reading the slt files themselves, rather than with something they are doing during execution (which is what #8539 is related to)
I did make #8544 to at least make the error messages better
Activity
[-]sqllogictests failing locally due to "No such file or directoru"[/-][+]sqllogictests failing locally due to "No such file or directory"[/+]alamb commentedon Dec 14, 2023
Here is the line that is panic'ing: https://github.com/apache/arrow-datafusion/blob/974d49c907c5ddb250895efaef0952ed063f1831/datafusion/sqllogictest/bin/sqllogictests.rs#L264
alamb commentedon Dec 14, 2023
Looking into this
andygrove commentedon Dec 14, 2023
alamb commentedon Dec 14, 2023
🤔 it passed for me locally. I am now running the test on a fresh checkout...
alamb commentedon Dec 14, 2023
It also worked fine on a fresh checkout
I can reproduce the error if I delete the
./datafusion/sqllogictest/test_filesdirectory 🤔andygrove commentedon Dec 14, 2023
It worked for me on a second or third run, so definitely seems to be an intermittent issue
tustvold commentedon Dec 14, 2023
FWIW #8539 might help with this
alamb commentedon Dec 14, 2023
The error reported in this PR seems to be related to reading the
sltfiles themselves, rather than with something they are doing during execution (which is what #8539 is related to)I did make #8544 to at least make the error messages better