-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Potential flakiness in test/sql/copy/file_size_bytes.test #14294
Comments
if (custom_test_directory.empty()) {
// add the PID to the test directory - but only if it was not specified explicitly by the user
auto pid = getpid();
path = fs->JoinPath(test_directory, to_string(pid));
} else {
path = test_directory;
} It could very well be that |
Actually, I think the culprit is |
It sounds like the best option for down-streams that package duckdb project (thanks for all the work btw) might be to disable parallel test runs wouldn't you agree? |
It doesn't look like the executable has any arguments for altering parallelism AFAICT. |
Hmm I thought some external contributor worked on this, which is why the Anyways, like I said in the other reply, it's most likely |
If I understand correctly For now we will skip this specific test. But in long term I think this will need to be fixed upstream since having patches for test cases on our side seems too fragile. If we encounter more of these we might need to disable tests completely until this is fixed upstream. |
I've never said that it's not an issue on our side |
Thanks @Tishj. For now we will work around this by disabling specific tests or whole test suite if that turns out necessary. We will keep monitoring this issue for updates and re-enable these tests once you have a working fix on your side. Thanks for reacting to this so quickly. It really did help us a lot. |
What happens?
Our build server failed to build duckdb 1.1.1 because of failure in test/sql/copy/file_size_bytes.test test. See the full log.
I was unable to reproduce the same build failure locally which might suggest some non determinism (concurrency in between tests?) is at play.
This is the interesting part of the log of failed job:
Our solution for now is to disable the offending test case.
This might be potentially related #11744
To Reproduce
This seems non deterministic.
I don't think is specific to build with nix so cmake flags seems most relevant:
OS:
NixOS
DuckDB Version:
1.1.1
DuckDB Client:
cli
Hardware:
x86_64 (linux)
Full Name:
Marek Fajkus
Affiliation:
NixOS & Holmusk
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
Did you include all relevant data sets for reproducing the issue?
No - Other reason (please specify in the issue body)
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: