-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Decrease likelihood of memory issue in CI #18852
Decrease likelihood of memory issue in CI #18852
Conversation
This PR attempts to decrease the likelihood of memory issues for CI for non-committers. The MSSQL and MYSQL Provider and Integration tests when run together with other tests in parallel (for MSSQL even standalone) might cause memory problems (143 or 137 exit code). This PR changes the approach slightly for low-memory conditions: 1) MSSQL - both Integration and Providers tests are skipped entirely (they will be run in High-Mem case so we will see if there are any problems anyway) 2) MySQL - both Integration and Providers tests are run separately which will lead to slightly longer test runs but likely this will save us from the occasional memory issues.
Except few other problems (that led to few other "flaky fix" PRs) this one worked fine on my test run in my fork: https://github.com/potiuk/airflow/actions/runs/1323849397
|
This one also happens intermittently - and I think it would be great to merge that one to get more stable CI runs. |
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
This PR attempts to decrease the likelihood of memory issues for CI for non-committers. The MSSQL and MYSQL Provider and Integration tests when run together with other tests in parallel (for MSSQL even standalone) might cause memory problems (143 or 137 exit code). This PR changes the approach slightly for low-memory conditions: 1) MSSQL - both Integration and Providers tests are skipped entirely (they will be run in High-Mem case so we will see if there are any problems anyway) 2) MySQL - both Integration and Providers tests are run separately which will lead to slightly longer test runs but likely this will save us from the occasional memory issues. (cherry picked from commit 5d9e5f6)
This PR attempts to decrease the likelihood of memory issues for
CI for non-committers. The MSSQL and MYSQL Provider and Integration
tests when run together with other tests in parallel (for MSSQL even
standalone) might cause memory problems (143 or 137 exit code).
This PR changes the approach slightly for low-memory conditions:
MSSQL - both Integration and Providers tests are skipped
entirely (they will be run in High-Mem case so we will see if
there are any problems anyway)
MySQL - both Integration and Providers tests are run separately
which will lead to slightly longer test runs but likely this
will save us from the occasional memory issues.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.