-
Notifications
You must be signed in to change notification settings - Fork 205
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
debug cache #17377
debug cache #17377
Changes from all commits
7e36ba4
00fe3f6
f2fb7f9
8627c5b
5d5507a
1e53376
3b39bc3
c977b14
4c2355c
472426d
5f3f273
a3ac252
bf29641
ad36a61
fdd8a91
38a3f55
3ff820b
82c602e
db63c7f
6d345e8
dead792
c2b1de9
01c6099
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ steps: | |
- bash: | | ||
set -euo pipefail | ||
p="_${{parameters.name}}" | ||
a="_$(System.JobAttempt)" | ||
a="_$(Build.BuildNumber)_$(System.JobAttempt)" | ||
if [ "$p" == "_m1" ]; then | ||
./build.sh $p $a || ./build.sh $p $a || ./build.sh $p $a || ./build.sh $p $a | ||
else | ||
|
@@ -74,19 +74,6 @@ steps: | |
platform: '${{parameters.name}}' | ||
is_release: '${{parameters.is_release}}' | ||
|
||
- bash: | | ||
set -euo pipefail | ||
cd '$(Build.StagingDirectory)/logs' | ||
find . -type f | xargs gzip -9 | ||
cd - | ||
cd bazel-testlogs | ||
find . -type f | xargs gzip -9 | ||
|
||
displayName: compress logs | ||
condition: and(succeededOrFailed(), | ||
or(eq(${{parameters.is_release}}, 'false'), | ||
ne('${{parameters.name}}', 'm1'))) | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. JSON execution logs are created pre-gzipped by Bazel, so there's little benefit to re-gzipping them. |
||
- task: PublishBuildArtifacts@1 | ||
condition: and(succeededOrFailed(), | ||
or(eq(${{parameters.is_release}}, 'false'), | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"owner": "NixOS", | ||
"repo": "nixpkgs", | ||
"rev": "3a86856a13c88c8c64ea32082a851fefc79aa700", | ||
"sha256": "04dd4g24061p8sw922zjickahqwn3wa9l3j5qllfzp5n6dy9is16" | ||
"rev": "9a82a9b5248919805a2400266ebd881d5783df2a", | ||
"sha256": "142x1zq3cjadgmvfv0paydlq268pfinllqpq2vl0vxwdiq2nr9iz" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the heart of this change: it looks like Bazel 5.2.0 is simply broken, so I'm bumping to 5.3.2. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh :( bazelbuild/bazel#15682 |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The binary execution log is basically useless: as far as I know nobody ever looks at it, and I don't seem to be able to build the parser for it. Trying to get the JSON execution log crashes the build on an OOM.