llvm_7,8: disable libpfm on aarch64#63928
Merged
vcunat merged 1 commit intoNixOS:masterfrom Jun 30, 2019
Merged
Conversation
See NixOS#56245 Testing: 0 .. FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000) ******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ******************** Note: Google Test filter = PerfHelperTest.FunctionalTest [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from PerfHelperTest [ RUN ] PerfHelperTest.FunctionalTest /build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure Expected: CallbackEventName Which is: "" To be equal to: "CYCLES:u" /build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure Value of: CallbackEventNameFullyQualifed Expected: isn't empty Actual: "" [ FAILED ] PerfHelperTest.FunctionalTest (3 ms) [----------] 1 test from PerfHelperTest (3 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (3 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] PerfHelperTest.FunctionalTest 1 FAILED TEST invalid event attribute - cannot create event CYCLES:u ******************** Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 1 warning(s) in tests. Testing Time: 108.19s ******************** Failing Tests (1): LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest Expected Passes : 25609 Expected Failures : 141 Unsupported Tests : 1249 Unexpected Failures: 1 make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1 make[3]: Leaving directory '/build/llvm/build' make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2 make[2]: Leaving directory '/build/llvm/build' make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2 make[1]: Leaving directory '/build/llvm/build' make: *** [Makefile:251: check-all] Error 2 builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2Testing: 0 .. FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000) ******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ******************** Note: Google Test filter = PerfHelperTest.FunctionalTest [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from PerfHelperTest [ RUN ] PerfHelperTest.FunctionalTest /build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure Expected: CallbackEventName Which is: "" To be equal to: "CYCLES:u" /build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure Value of: CallbackEventNameFullyQualifed Expected: isn't empty Actual: "" [ FAILED ] PerfHelperTest.FunctionalTest (3 ms) [----------] 1 test from PerfHelperTest (3 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (3 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] PerfHelperTest.FunctionalTest 1 FAILED TEST invalid event attribute - cannot create event CYCLES:u ******************** Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 1 warning(s) in tests. Testing Time: 108.19s ******************** Failing Tests (1): LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest Expected Passes : 25609 Expected Failures : 141 Unsupported Tests : 1249 Unexpected Failures: 1 make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1 make[3]: Leaving directory '/build/llvm/build' make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2 make[2]: Leaving directory '/build/llvm/build' make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2 make[1]: Leaving directory '/build/llvm/build' make: *** [Makefile:251: check-all] Error 2 builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2
Member
Author
|
@vcunat this should probably be picked to staging-next. Not sure what the process is for that, so I think I'll leave this PR up to you? |
vcunat
approved these changes
Jun 30, 2019
Member
vcunat
left a comment
There was a problem hiding this comment.
I originally imagined just disabling PFM tests and not the whole support, but it sounds good – let's move more complex action to those who need PFM on aarch64 (if that ever happens). Builds on the community machine.
The default llvm didn't build on Hydra for master, so this should mass-rebuild only failed jobs.
vcunat
added a commit
that referenced
this pull request
Jun 30, 2019
vcunat
added a commit
that referenced
this pull request
Jul 9, 2019
(cherry picked from commit 74d2452) I've seen no (negative) feedback so far, and we do need something here: https://hydra.nixos.org/eval/1529346 (There's no llvm_8 on this branch so far.)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #56245
Testing: 0 ..
FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000)
******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ********************
Note: Google Test filter = PerfHelperTest.FunctionalTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from PerfHelperTest
[ RUN ] PerfHelperTest.FunctionalTest
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure
Expected: CallbackEventName
Which is: ""
To be equal to: "CYCLES:u"
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure
Value of: CallbackEventNameFullyQualifed
Expected: isn't empty
Actual: ""
[ FAILED ] PerfHelperTest.FunctionalTest (3 ms)
[----------] 1 test from PerfHelperTest (3 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (3 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PerfHelperTest.FunctionalTest
1 FAILED TEST
invalid event attribute - cannot create event CYCLES:u
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
1 warning(s) in tests.
Testing Time: 108.19s
Failing Tests (1):
LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest
Expected Passes : 25609
Expected Failures : 141
Unsupported Tests : 1249
Unexpected Failures: 1
make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
make[3]: Leaving directory '/build/llvm/build'
make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2
make[2]: Leaving directory '/build/llvm/build'
make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2
make[1]: Leaving directory '/build/llvm/build'
make: *** [Makefile:251: check-all] Error 2
builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2Testing: 0 ..
FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000)
******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ********************
Note: Google Test filter = PerfHelperTest.FunctionalTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from PerfHelperTest
[ RUN ] PerfHelperTest.FunctionalTest
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure
Expected: CallbackEventName
Which is: ""
To be equal to: "CYCLES:u"
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure
Value of: CallbackEventNameFullyQualifed
Expected: isn't empty
Actual: ""
[ FAILED ] PerfHelperTest.FunctionalTest (3 ms)
[----------] 1 test from PerfHelperTest (3 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (3 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PerfHelperTest.FunctionalTest
1 FAILED TEST
invalid event attribute - cannot create event CYCLES:u
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
1 warning(s) in tests.
Testing Time: 108.19s
Failing Tests (1):
LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest
Expected Passes : 25609
Expected Failures : 141
Unsupported Tests : 1249
Unexpected Failures: 1
make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
make[3]: Leaving directory '/build/llvm/build'
make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2
make[2]: Leaving directory '/build/llvm/build'
make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2
make[1]: Leaving directory '/build/llvm/build'
make: *** [Makefile:251: check-all] Error 2
builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2
Motivation for this change
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)