-
Notifications
You must be signed in to change notification settings - Fork 587
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
'make check' fail in Debian VM #1600
Comments
Does |
Yes, perf record worked for me but it wasn't installed. Here is the log anyways- ᐧ Regards, On Thu, Nov 26, 2015 at 9:33 PM, rocallahan notifications@github.com
|
OK, I just pushed a fix for the capget test. You probably should configure your system to allow perf events to be used by non-privileged users, instead of running everything as root. |
I am getting errors during 'make check'. I am running debian sid-unstable in a KVM. I added
<cpu mode='host-passthrough'/>
to the libvirt XML file and below is the output for 'dmesg|grep PMU'[ 0.024868] Performance Events: 16-deep LBR, IvyBridge events, Intel PMU driver.
[ 0.026318] perf_event_intel: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
Below is an error that I am getting-
Test command: /bin/bash "/home/debian/rr/rr/src/test/basic_test.run" "-n" "/home/debian/rr/rr" "/home/debian/rr/rr/obj" "fadvise"
Test timeout computed to be: 9.99988e+06
/home/debian/rr/rr/src/test/util.sh: line 190: 8402 Aborted _RR_TRACE_DIR="$workdir" rr $GLOBAL_OPTIONS record $LIB_ARG $RECORD_ARGS $exe $exeargs > record.out 2> record.err
/home/debian/rr/rr/src/test/util.sh: line 216: 8428 Aborted _RR_TRACE_DIR="$workdir" rr $GLOBAL_OPTIONS replay -a $replayflags > replay.out 2> replay.err
Test 'fadvise' FAILED: : error during recording:
--------------------------------------------------
[FATAL /home/debian/rr/rr/src/PerfCounters.cc:188:start_counter() errno: 13 'Permission denied']
-> Permission denied to use 'perf_event_open'; are perf events enabled? Try 'perf record'.
--------------------------------------------------
record.out:
--------------------------------------------------
--------------------------------------------------
Test fadvise failed, leaving behind /tmp/rr-test-fadvise-uA8lGejEN
To replay the failed test, run
_RR_TRACE_DIR=/tmp/rr-test-fadvise-uA8lGejEN rr replay
64/704 Test #64: fadvise-no-syscallbuf ..................................***Failed Error regular expression found in output. Regex= [FAILED]
0.16 sec
The text was updated successfully, but these errors were encountered: