-
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more context for Job errors. (#2479)
This makes several error paths that manifest when creating locks and PEXes present better error details. Several changes support this: 1. Jobs can now have a context label which is used, when set, to prefix all job error output. This should help root cause the problem; i.e.: is it fundamentally Pex or is it Pip or is it a problem with a bad package? 2. When a Pip download errors, we now show all STDERR output instead of just the last line whenever the last line contains "See above for details", which Pip emits to indicate an error buried deeper in the logs. 3. A new log analyzer is added to all Pip downloads that knows how to spot sdist build errors and surface their details. 4. A fail-safe is added to the Pip download log scraper to just report the full Pip log content when no better analysis was found. Fixes #2113
- Loading branch information
Showing
22 changed files
with
580 additions
and
206 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
Oops, something went wrong.