forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of CI image timeout when backtracking (apache#33364)
Even the latest pip can enter into a long loop of backtracking when trying to find latest "good" set of dependencies with eager upgrade. This happened on August 10th 2023 with aiobotocore causing backtracking. This PR adds a complete set of tools and instructions that can help in such cases and figure out which newly released dependency causes backtracking. The toolset consists of: * adding timeout on the image build, so that it can fail before the job timeout and provide useful instructions what to do * adding `ci find-backtracking-candidates` that allows to identify the packages released after the last successful constraint update that could be the reason for backtracking * running the `find-backtracking-candidates` command in the CI when timeout occurs - this will help to see the candidates as early as possible - at the first build that will fail with timeout. This should help with narrowing down the root cause much faster * adding detailed explanation why we have the problem and how to deal with it step-by-step, including example based on the August 2023 backtracking issue with aiobotocore * finally removing `--empty-image` switch and pushing empty images in CI. This was an attempt to speed up waiting for image in case the image failed, but what it did, it has hidden the failures of the images when they failed. It does not really add value any more, since "image waiting" is now always done using small public runners, waiting till timeout for those is not a big issue.
- Loading branch information
Showing
31 changed files
with
752 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,4 +66,5 @@ | |
} | ||
], | ||
"breeze ci resource-check": [], | ||
"breeze ci find-backtracking-candidates": [], | ||
} |
Oops, something went wrong.