You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
analyze-profile is broken with current default profile generated file #10140
bazel build --nobuild --profile=/tmp/prof //path/to/package:build_target
bazel analyze-profile /tmp/prof
WARNING: This information is intended for consumption by Bazel developers only, and may change at any time. Script against it at your own risk
INFO: Loading /tmp/prof
java.util.zip.ZipException: incorrect header check
ERROR: Failed to analyze profile file(s): incorrect header check
What operating system are you running Bazel on?
Darwin (macOS)
What's the output of bazel info release?
release 1.1.0
Have you found anything relevant by searching the web?
@meisterT might I ask what commands you're using to get that data? tried with the commit you mentionned but analyze-profile is still failing with the same errors
Activity
drigz commentedon Dec 19, 2019
I also tried using --profile=profile.out.gz which results in a compressed file, but analyze-profile still fails.
Remove unused functionality from the analyze-profile command.
analyze-profile: Always use seconds for phase summary.
analyze-profile: Add basic support for the JSON profile.
gydeveloper commentedon Jan 30, 2020
Wanted to check-in and see if there is any update on this? Thanks!
meisterT commentedon Jan 31, 2020
See the most recent commit that is associated with it. Bazel (at HEAD) can now print a basic human readable summary from the JSON output.
thekyz commentedon Feb 27, 2020
@meisterT might I ask what commands you're using to get that data? tried with the commit you mentionned but
analyze-profileis still failing with the same errorsmeisterT commentedon Feb 27, 2020
@thekyz can you try with https://releases.bazel.build/2.2.0/rc1/index.html ?
That works for me. If it doesn't work for you, then please tell me how to repro it.
thekyz commentedon Feb 27, 2020
jin commentedon Apr 28, 2020
Fix verified, closing.