[MNT] Dockerized tests for CI runs using localhost#1629
[MNT] Dockerized tests for CI runs using localhost#1629satvshr wants to merge 94 commits intoopenml:mainfrom
Conversation
Locally, MinIO already has more parquet files than on the test server.
Note that the previously strategy didn't work anymore if the server returned a parquet file, which is the case for the new local setup.
This means it is not reliant on the evaluation engine processing the dataset. Interestingly, the database state purposely seems to keep the last task's dataset in preparation explicitly (by having processing marked as done but having to dataset_status entry).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1629 +/- ##
==========================================
- Coverage 53.07% 52.72% -0.35%
==========================================
Files 37 37
Lines 4381 4381
==========================================
- Hits 2325 2310 -15
- Misses 2056 2071 +15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
geetu040
left a comment
There was a problem hiding this comment.
I don't think any failing test is coming from this PR. It would be better to conditionally skip them and link #1657. If there is new failure message which is not already mentioned there, then please comment down the failure with the failing tests so it could be tracked there. Also if some tests are failing because of pandas, create a separate issue for that, skip and link to these then.
geetu040
left a comment
There was a problem hiding this comment.
Looks good, this has not been addressed yet #1629 (comment)
geetu040
left a comment
There was a problem hiding this comment.
There are so many changes not related to the issue. These must be coming from upgraded pre-commit in your local setting. Can you undo these changes? This PR should touch only the docker related part.
|
The PR looks good, tests are also passing. I will approve this as #1629 (review) is addressed. |
Yes, it is.
I did not use your issue as reference but rather the failures which I observed in this PR alone, in the links mentioned here in the comment I left on the issue itself.
I have updated the comment linked above on #1657 but feel free to cross-verify if you want to. |
There was a problem hiding this comment.
Great work on this.
Tests that pass on the remote test server but fail on the local test server are currently skipped, and we're tracking those in #1657
FYI: running the docker servers in CI takes less than 3 minutes and the tests that previously relied on remote-test-server now using the local-test-server are much faster and reliable since the probability for race-conditions is highly reduced.
@fkiraly @PGijsbers please review and merge.
|
I looked at this PR just now and I think we should first investigate the reason for the failure of the tests. Has anyone tried this locally? Because when I try it locally it works (spin up services, point python to |
@PGijsbers Yes, they fail locally as well. I have added some details on the failures in #1657 Quoting from above
|
Metadata
Details
This PR implements the setting up of the v1 and v2 test servers in CI using docker via
localhost.