KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813 2018-04-18 00:00:27 ln -sf /usr/bin/gcc-5 /usr/bin/gcc 2018-04-18 00:00:28 ln -sf /usr/bin/clang-7 /usr/bin/clang 2018-04-18 00:00:28 ln -sf /usr/bin/llc-7 /usr/bin/llc 2018-04-18 00:00:28 chown lkp capabilities -R 2018-04-18 00:00:28 su lkp -c make run_tests -C capabilities 2>&1 make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/capabilities' gcc -O2 -g -std=gnu99 -Wall test_execve.c -lcap-ng -lrt -ldl -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/capabilities/test_execve gcc -O2 -g -std=gnu99 -Wall validate_cap.c -lcap-ng -lrt -ldl -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/capabilities/validate_cap TAP version 13 selftests: test_execve ======================================== # validate_cap:: Capabilities after execve were correct # validate_cap:: Capabilities after execve were correct # validate_cap:: Capabilities after execve were correct TAP version 13 # [RUN] +++ Tests with uid == 0 +++ # [NOTE] Using a user namespace for tests # [RUN] Root => ep ok 1 Passed # Check cap_ambient manipulation rules ok 2 PR_CAP_AMBIENT_RAISE failed on non-inheritable cap ok 3 PR_CAP_AMBIENT_RAISE failed on non-permitted cap ok 4 PR_CAP_AMBIENT_RAISE worked ok 5 Basic manipulation appears to work # [RUN] Root +i => eip ok 6 Passed # [RUN] UID 0 +ia => eipa ok 7 Passed ok 8 # skip SUID/SGID tests (needs privilege) Pass 7 Fail 0 Xfail 0 Xpass 0 Skip 1 Error 0 1..8 # validate_cap:: Capabilities after execve were correct # validate_cap:: Capabilities after execve were correct # validate_cap:: Capabilities after execve were correct TAP version 13 # ================================================== # [RUN] +++ Tests with uid != 0 +++ # [NOTE] Using a user namespace for tests # [RUN] Non-root => no caps ok 1 Passed # Check cap_ambient manipulation rules ok 2 PR_CAP_AMBIENT_RAISE failed on non-inheritable cap ok 3 PR_CAP_AMBIENT_RAISE failed on non-permitted cap ok 4 PR_CAP_AMBIENT_RAISE worked ok 5 Basic manipulation appears to work # [RUN] Non-root +i => i ok 6 Passed # [RUN] UID 1 +ia => eipa ok 7 Passed ok 8 # skip SUID/SGID tests (needs privilege) Pass 7 Fail 0 Xfail 0 Xpass 0 Skip 1 Error 0 1..8 TAP version 13 # ================================================== ok 1..1 selftests: test_execve [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/capabilities' 2018-04-18 00:00:30 make run_tests -C cpu-hotplug make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/cpu-hotplug' TAP version 13 selftests: cpu-on-off-test.sh ======================================== pid 948's current affinity mask: 3 pid 948's new affinity mask: 1 CPU online/offline summary: Cpus in online state: 0-1 Cpus in offline state: 0 Limited scope test: one hotplug cpu (leaves cpu in the original state): online to offline to online: cpu 1 ok 1..1 selftests: cpu-on-off-test.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/cpu-hotplug' 2018-04-18 00:00:30 make run_tests -C cpufreq make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/cpufreq' TAP version 13 selftests: main.sh ======================================== pid 1002's current affinity mask: 3 pid 1002's new affinity mask: 1 not ok 1..1 selftests: main.sh [FAIL] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/cpufreq' ignored_by_lkp efivarfs test: /sys/firmware/efi dir does not exist 2018-04-18 00:00:30 make run_tests -C exec make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec' gcc -Wall execveat.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/execveat cd /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec && ln -s -f execveat execveat.symlink cp /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/execveat /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/execveat.denatured chmod -x /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/execveat.denatured echo '#!/bin/sh' > /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/script echo 'exit $*' >> /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/script chmod +x /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/script mkdir -p /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/subdir TAP version 13 selftests: execveat ======================================== /bin/sh: 0: Can't open /dev/fd/7/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy Check success of execveat(4, '../execveat', 0)... [OK] Check success of execveat(6, 'execveat', 0)... [OK] Check success of execveat(8, 'execveat', 0)... [OK] Check success of execveat(-100, '/usr/src/linux-selft...ftests/exec/execveat', 0)... [OK] Check success of execveat(99, '/usr/src/linux-selft...ftests/exec/execveat', 0)... [OK] Check success of execveat(10, '', 4096)... [OK] Check success of execveat(19, '', 4096)... [OK] Check success of execveat(11, '', 4096)... [OK] Check success of execveat(16, '', 4096)... [OK] Check success of execveat(16, '', 4096)... [OK] Check success of execveat(17, '', 4096)... [OK] Check failure of execveat(10, '', 0) with ENOENT... [OK] Check failure of execveat(10, '(null)', 4096) with EFAULT... [OK] Check success of execveat(6, 'execveat.symlink', 0)... [OK] Check success of execveat(8, 'execveat.symlink', 0)... [OK] Check success of execveat(-100, '/usr/src/linux-selft...xec/execveat.symlink', 0)... [OK] Check success of execveat(12, '', 4096)... [OK] Check success of execveat(12, '', 4352)... [OK] Check failure of execveat(6, 'execveat.symlink', 256) with ELOOP... [OK] Check failure of execveat(8, 'execveat.symlink', 256) with ELOOP... [OK] Check failure of execveat(-100, '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec/execveat.symlink', 256) with ELOOP... [OK] Check success of execveat(4, '../script', 0)... [OK] Check success of execveat(6, 'script', 0)... [OK] Check success of execveat(8, 'script', 0)... [OK] Check success of execveat(-100, '/usr/src/linux-selft...elftests/exec/script', 0)... [OK] Check success of execveat(15, '', 4096)... [OK] Check success of execveat(15, '', 4352)... [OK] Check failure of execveat(20, '', 4096) with ENOENT... [OK] Check failure of execveat(9, 'script', 0) with ENOENT... [OK] Check success of execveat(18, '', 4096)... [OK] Check success of execveat(18, '', 4096)... [OK] Check success of execveat(5, '../script', 0)... [OK] Check success of execveat(5, 'script', 0)... [OK] Check success of execveat(5, '../script', 0)... [OK] Check failure of execveat(5, 'script', 0) with ENOENT... [OK] Check failure of execveat(6, 'execveat', 65535) with EINVAL... [OK] Check failure of execveat(6, 'no-such-file', 0) with ENOENT... [OK] Check failure of execveat(8, 'no-such-file', 0) with ENOENT... [OK] Check failure of execveat(-100, 'no-such-file', 0) with ENOENT... [OK] Check failure of execveat(6, '', 4096) with EACCES... [OK] Check failure of execveat(6, 'Makefile', 0) with EACCES... [OK] Check failure of execveat(13, '', 4096) with EACCES... [OK] Check failure of execveat(14, '', 4096) with EACCES... [OK] Check failure of execveat(99, '', 4096) with EBADF... [OK] Check failure of execveat(99, 'execveat', 0) with EBADF... [OK] Check failure of execveat(10, 'execveat', 0) with ENOTDIR... [OK] Invoke copy of 'execveat' via filename of length 4094: Check success of execveat(21, '', 4096)... [OK] Check success of execveat(7, 'usr/src/linux-selfte...yyyyyyyyyyyyyyyyyyyy', 0)... [OK] Invoke copy of 'script' via filename of length 4094: Check success of execveat(22, '', 4096)... [OK] Check success of execveat(7, 'usr/src/linux-selfte...yyyyyyyyyyyyyyyyyyyy', 0)... [OK] ok 1..1 selftests: execveat [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/exec' ignored_by_lkp filesystems test 2018-04-18 00:00:31 mv /lib/udev/rules.d/50-firmware.rules . 2018-04-18 00:00:31 /etc/init.d/udev restart Restarting udev (via systemctl): udev.service. 2018-04-18 00:00:31 make run_tests -C firmware make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/firmware' TAP version 13 selftests: fw_filesystem.sh ======================================== ./fw_filesystem.sh: timeout works ./fw_filesystem.sh: filesystem loading works ./fw_filesystem.sh: async filesystem loading works Testing with the file present... Batched request_firmware() try #1: OK Batched request_firmware() try #2: OK Batched request_firmware() try #3: OK Batched request_firmware() try #4: OK Batched request_firmware() try #5: OK Batched request_firmware_direct() try #1: OK Batched request_firmware_direct() try #2: OK Batched request_firmware_direct() try #3: OK Batched request_firmware_direct() try #4: OK Batched request_firmware_direct() try #5: OK Batched request_firmware_nowait(uevent=true) try #1: OK Batched request_firmware_nowait(uevent=true) try #2: OK Batched request_firmware_nowait(uevent=true) try #3: OK Batched request_firmware_nowait(uevent=true) try #4: OK Batched request_firmware_nowait(uevent=true) try #5: OK Batched request_firmware_nowait(uevent=false) try #1: OK Batched request_firmware_nowait(uevent=false) try #2: OK Batched request_firmware_nowait(uevent=false) try #3: OK Batched request_firmware_nowait(uevent=false) try #4: OK Batched request_firmware_nowait(uevent=false) try #5: OK Testing with the file missing... Batched request_firmware() nofile try #1: OK Batched request_firmware() nofile try #2: OK Batched request_firmware() nofile try #3: OK Batched request_firmware() nofile try #4: OK Batched request_firmware() nofile try #5: OK Batched request_firmware_direct() nofile try #1: OK Batched request_firmware_direct() nofile try #2: OK Batched request_firmware_direct() nofile try #3: OK Batched request_firmware_direct() nofile try #4: OK Batched request_firmware_direct() nofile try #5: OK Batched request_firmware_nowait(uevent=true) nofile try #1: OK Batched request_firmware_nowait(uevent=true) nofile try #2: OK Batched request_firmware_nowait(uevent=true) nofile try #3: OK Batched request_firmware_nowait(uevent=true) nofile try #4: OK Batched request_firmware_nowait(uevent=true) nofile try #5: OK Batched request_firmware_nowait(uevent=false) nofile try #1: OK Batched request_firmware_nowait(uevent=false) nofile try #2: OK Batched request_firmware_nowait(uevent=false) nofile try #3: OK Batched request_firmware_nowait(uevent=false) nofile try #4: OK Batched request_firmware_nowait(uevent=false) nofile try #5: OK ok 1..1 selftests: fw_filesystem.sh [PASS] selftests: fw_fallback.sh ======================================== ./fw_fallback.sh: timeout works ./fw_fallback.sh: firmware comparison works ./fw_fallback.sh: fallback mechanism works ./fw_fallback.sh: cancelling fallback mechanism works ./fw_fallback.sh: SIGCHLD on sync ignored as expected ./fw_fallback.sh: custom fallback loading mechanism works ./fw_fallback.sh: custom fallback loading mechanism works ./fw_fallback.sh: cancelling custom fallback mechanism works ok 1..2 selftests: fw_fallback.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/firmware' 2018-04-18 00:01:32 mv 50-firmware.rules /lib/udev/rules.d/50-firmware.rules 2018-04-18 00:01:32 make run_tests -C ftrace make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ftrace' TAP version 13 selftests: ftracetest ======================================== === Ftrace unit tests === [1] Basic trace file check [PASS] [2] Basic test for tracers [PASS] [3] Basic trace clock test [PASS] [4] Basic event tracing check [PASS] [5] event tracing - enable/disable with event level files [PASS] [6] event tracing - restricts events based on pid [PASS] [7] event tracing - enable/disable with subsystem level files [PASS] [8] event tracing - enable/disable with top level files [PASS] [9] ftrace - function graph filters with stack tracer [PASS] [10] ftrace - function graph filters [PASS] [11] ftrace - function glob filters [PASS] [12] ftrace - function pid filters [PASS] [13] ftrace - test for function event triggers [PASS] [14] ftrace - function profiler with function tracing [PASS] [15] ftrace - test reading of set_ftrace_filter [PASS] [16] ftrace - test for function traceon/off triggers [PASS] [17] Test creation and deletion of trace instances while setting an event [PASS] [18] Test creation and deletion of trace instances [PASS] [19] Kprobe dynamic event - adding and removing [PASS] [20] Kprobe dynamic event - busy event check [PASS] [21] Kprobe dynamic event with arguments [PASS] [22] Kprobes event arguments with types [PASS] [23] Kprobe event auto/manual naming [PASS] [24] Kprobe dynamic event with function tracer [PASS] [25] Kprobe dynamic event - probing module [PASS] [26] Kretprobe dynamic event with arguments [PASS] [27] Kretprobe dynamic event with maxactive [PASS] [28] Register/unregister many kprobe events [PASS] [29] event trigger - test event enable/disable trigger [PASS] [30] event trigger - test trigger filter [PASS] [31] event trigger - test histogram modifiers [PASS] [32] event trigger - test histogram trigger [PASS] [33] event trigger - test multiple histogram triggers [PASS] [34] event trigger - test snapshot-trigger [PASS] [35] event trigger - test stacktrace-trigger [PASS] [36] event trigger - test traceon/off trigger [PASS] [37] (instance) Basic test for tracers [PASS] [38] (instance) Basic trace clock test [PASS] [39] (instance) event tracing - enable/disable with event level files [PASS] [40] (instance) event tracing - restricts events based on pid [PASS] [41] (instance) event tracing - enable/disable with subsystem level files [PASS] [42] (instance) ftrace - test for function event triggers [PASS] [43] (instance) ftrace - test for function traceon/off triggers [PASS] [44] (instance) event trigger - test event enable/disable trigger [PASS] [45] (instance) event trigger - test trigger filter [PASS] [46] (instance) event trigger - test histogram modifiers [PASS] [47] (instance) event trigger - test histogram trigger [PASS] [48] (instance) event trigger - test multiple histogram triggers [PASS] # of passed: 48 # of failed: 0 # of unresolved: 0 # of untested: 0 # of unsupported: 0 # of xfailed: 0 # of undefined(test bug): 0 ok 1..1 selftests: ftracetest [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ftrace' 2018-04-18 00:02:57 make run_tests -C futex make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex' make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional' gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -pthread -lrt futex_wait_timeout.c ../include/futextest.h ../include/atomic.h ../include/logging.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional/futex_wait_timeout gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -pthread -lrt futex_wait_wouldblock.c ../include/futextest.h ../include/atomic.h ../include/logging.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional/futex_wait_wouldblock gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -pthread -lrt futex_requeue_pi.c ../include/futextest.h ../include/atomic.h ../include/logging.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional/futex_requeue_pi gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -pthread -lrt futex_requeue_pi_signal_restart.c ../include/futextest.h ../include/atomic.h ../include/logging.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -pthread -lrt futex_requeue_pi_mismatched_ops.c ../include/futextest.h ../include/atomic.h ../include/logging.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -pthread -lrt futex_wait_uninitialized_heap.c ../include/futextest.h ../include/atomic.h ../include/logging.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -pthread -lrt futex_wait_private_mapped_file.c ../include/futextest.h ../include/atomic.h ../include/logging.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional/futex_wait_private_mapped_file make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex/functional' tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=0 owner=0 timeout=0ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=0 owner=0 timeout=0ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=1 owner=0 timeout=0ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=0 owner=1 timeout=0ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=1 owner=0 timeout=0ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=0 owner=1 timeout=0ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=1 owner=0 timeout=5000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=1 owner=0 timeout=500000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=0 owner=0 timeout=5000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=0 owner=0 timeout=5000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=0 owner=0 timeout=500000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=0 owner=0 timeout=500000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=0 owner=1 timeout=5000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=0 owner=1 timeout=500000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=1 locked=1 owner=0 timeout=2000000000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi: Test requeue functionality # Arguments: broadcast=0 locked=1 owner=0 timeout=2000000000ns ok 1 futex-requeue-pi Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi_mismatched_ops: Detect mismatched requeue_pi operations ok 1 futex-requeue-pi-mismatched-ops Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_requeue_pi_signal_restart: Test signal handling during requeue_pi # Arguments: ok 1 futex-requeue-pi-signal-restart Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_wait_timeout: Block on a futex and wait for timeout # Arguments: timeout=100000ns ok 1 futex-wait-timeout Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_wait_wouldblock: Test the unexpected futex value in FUTEX_WAIT ok 1 futex-wait-wouldblock Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_wait_uninitialized_heap: Test the uninitialized futex value in FUTEX_WAIT ok 1 futex-wait-uninitialized-heap Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 TAP version 13 # futex_wait_private_mapped_file: Test the futex value of private file mappings in FUTEX_WAIT ok 1 futex-wait-private-mapped-file Pass 1 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..1 make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/futex' 2018-04-18 00:03:11 make run_tests -C gpio make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/gpio' make ARCH= CROSS_COMPILE= -C ../../../gpio make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio' mkdir -p include/linux 2>&1 || true ln -sf /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio/../../include/uapi/linux/gpio.h include/linux/gpio.h make -f /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/build/Makefile.build dir=. obj=lsgpio make[2]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio' CC lsgpio.o CC gpio-utils.o LD lsgpio-in.o make[2]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio' LINK lsgpio make -f /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/build/Makefile.build dir=. obj=gpio-hammer make[2]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio' CC gpio-hammer.o LD gpio-hammer-in.o make[2]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio' LINK gpio-hammer make -f /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/build/Makefile.build dir=. obj=gpio-event-mon make[2]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio' CC gpio-event-mon.o gpio-event-mon.c: In function ‘monitor_device’: gpio-event-mon.c:102:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘__u64 {aka long long unsigned int}’ [-Wformat=] fprintf(stdout, "GPIO EVENT %" PRIu64 ": ", event.timestamp); ^ LD gpio-event-mon-in.o make[2]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio' LINK gpio-event-mon make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/gpio' gcc -O2 -g -std=gnu99 -Wall -I../../../../usr/include/ gpio-mockup-chardev.c ../../../gpio/gpio-utils.o ../../../../usr/include/linux/gpio.h -lmount -I/usr/include/libmount -o gpio-mockup-chardev TAP version 13 selftests: gpio-mockup.sh ======================================== 1. Test dynamic allocation of gpio successful means insert gpiochip and manipulate gpio pin successful GPIO gpio-mockup test with ranges: <-1,32>: -1,32 gpio test failed Test gpiochip gpio-mockup: GPIO gpio-mockup test with ranges: <-1,32,-1,32>: -1,32,-1,32 gpio test failed Test gpiochip gpio-mockup: GPIO gpio-mockup test with ranges: <-1,32,-1,32,-1,32>: -1,32,-1,32,-1,32 gpio test failed Test gpiochip gpio-mockup: 3. Error test: successful means insert gpiochip failed 3.1 Test number of gpio overflow GPIO gpio-mockup test with ranges: <-1,32,-1,1024>: -1,32,-1,1024 Test gpiochip gpio-mockup: Invalid test successful GPIO test PASS ok 1..1 selftests: gpio-mockup.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/gpio' ia64 test: not in Makefile 2018-04-18 00:03:13 make TARGETS=ia64 make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ia64' Makefile:9: warning: overriding recipe for target 'clean' ../lib.mk:97: warning: ignoring old recipe for target 'clean' gcc aliasing-test.c -o aliasing-test make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ia64' 2018-04-18 00:03:13 make run_tests -C ia64 make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ia64' Makefile:9: warning: overriding recipe for target 'clean' ../lib.mk:97: warning: ignoring old recipe for target 'clean' TAP version 13 selftests: aliasing-test ======================================== PASS: /dev/mem 0x0-0xa0000 is readable PASS: /dev/mem 0xa0000-0xc0000 is mappable PASS: /dev/mem 0xc0000-0x100000 is readable PASS: /dev/mem 0x0-0x100000 is mappable PASS: /sys/devices/pci0000:00/0000:00:02.0/rom read 39422 bytes PASS: /sys/devices/pci0000:00/0000:00:03.0/rom read 231422 bytes PASS: /proc/bus/pci/00/00.0 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/01.0 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/01.1 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/01.3 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/02.0 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/03.0 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/04.0 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/05.0 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/06.0 0x0-0xa0000 not mappable PASS: /proc/bus/pci/00/00.0 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/01.0 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/01.1 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/01.3 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/02.0 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/03.0 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/04.0 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/05.0 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/06.0 0xa0000-0xc0000 not mappable PASS: /proc/bus/pci/00/00.0 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/01.0 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/01.1 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/01.3 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/02.0 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/03.0 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/04.0 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/05.0 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/06.0 0xc0000-0x100000 not mappable PASS: /proc/bus/pci/00/00.0 0x0-0x100000 not mappable PASS: /proc/bus/pci/00/01.0 0x0-0x100000 not mappable PASS: /proc/bus/pci/00/01.1 0x0-0x100000 not mappable PASS: /proc/bus/pci/00/01.3 0x0-0x100000 not mappable PASS: /proc/bus/pci/00/02.0 0x0-0x100000 not mappable PASS: /proc/bus/pci/00/03.0 0x0-0x100000 not mappable PASS: /proc/bus/pci/00/04.0 0x0-0x100000 not mappable PASS: /proc/bus/pci/00/05.0 0x0-0x100000 not mappable PASS: /proc/bus/pci/00/06.0 0x0-0x100000 not mappable ok 1..1 selftests: aliasing-test [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ia64' 2018-04-18 00:03:14 make run_tests -C intel_pstate make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/intel_pstate' gcc -Wall -D_GNU_SOURCE msr.c -lm -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/intel_pstate/msr gcc -Wall -D_GNU_SOURCE aperf.c -lm -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/intel_pstate/aperf TAP version 13 selftests: run.sh ======================================== Setting maximum frequency to 0 launching aperf load on 0 launching aperf load on 1 sleeping for 5 seconds cat: /sys/devices/system/cpu/intel_pstate/max_perf_pct: No such file or directory waiting for job id 5589 runTime: 36.11 freq: 20531 runTime: 36.30 freq: 23706 waiting for job id 5590 ============================================================================== The marketing frequency of the cpu is 2270 MHz The maximum frequency of the cpu is 0 MHz The minimum frequency of the cpu is 0 MHz Target Actual Difference MSR(0x199) max_perf_pct ./run.sh: line 110: *0: syntax error: operand expected (error token is "*0") ok 1..1 selftests: run.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/intel_pstate' 2018-04-18 00:03:51 make run_tests -C ipc make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ipc' gcc -DCONFIG_X86_64 -D__x86_64__ -I../../../../usr/include/ msgque.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ipc/msgque msgque.c: In function ‘restore_queue’: msgque.c:52:7: warning: implicit declaration of function ‘msgget’ [-Wimplicit-function-declaration] id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); ^ msgque.c:66:7: warning: implicit declaration of function ‘msgsnd’ [-Wimplicit-function-declaration] if (msgsnd(msgque->msq_id, &msgque->messages[i].mtype, ^ msgque.c:76:6: warning: implicit declaration of function ‘msgctl’ [-Wimplicit-function-declaration] if (msgctl(id, IPC_RMID, 0)) ^ msgque.c: In function ‘check_and_destroy_queue’: msgque.c:87:9: warning: implicit declaration of function ‘msgrcv’ [-Wimplicit-function-declaration] ret = msgrcv(msgque->msq_id, &message.mtype, MAX_MSG_SIZE, ^ msgque.c: In function ‘main’: msgque.c:204:15: warning: implicit declaration of function ‘ftok’ [-Wimplicit-function-declaration] msgque.key = ftok(argv[0], 822155650); ^ TAP version 13 selftests: msgque ======================================== Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..0 ok 1..1 selftests: msgque [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/ipc' 2018-04-18 00:03:51 make run_tests -C kcmp make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kcmp' gcc -I../../../../usr/include/ kcmp_test.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kcmp/kcmp_test TAP version 13 selftests: kcmp_test ======================================== pid1: 5719 pid2: 5720 FD: 1 FILES: 1 VM: 2 FS: 1 SIGHAND: 2 IO: 0 SYSVSEM: 0 INV: -1 PASS: 0 returned as expected PASS: 0 returned as expected PASS: 0 returned as expected Pass 3 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..3 Pass 3 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..3 Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..0 ok 1..1 selftests: kcmp_test [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kcmp' kmod test: not in Makefile 2018-04-18 00:03:52 make TARGETS=kmod make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kmod' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kmod' 2018-04-18 00:03:52 make run_tests -C kmod make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kmod' TAP version 13 selftests: kmod.sh ======================================== Wed Apr 18 00:03:52 CST 2018 Running test: kmod_test_0001 - run #0 kmod_test_0001_driver: OK! - loading kmod test kmod_test_0001_driver: OK! - Return value: 256 (MODULE_NOT_FOUND), expected MODULE_NOT_FOUND kmod_test_0001_fs: OK! - loading kmod test kmod_test_0001_fs: OK! - Return value: -22 (-EINVAL), expected -EINVAL Wed Apr 18 00:03:52 CST 2018 Running test: kmod_test_0001 - run #1 kmod_test_0001_driver: OK! - loading kmod test kmod_test_0001_driver: OK! - Return value: 256 (MODULE_NOT_FOUND), expected MODULE_NOT_FOUND kmod_test_0001_fs: OK! - loading kmod test kmod_test_0001_fs: OK! - Return value: -22 (-EINVAL), expected -EINVAL Wed Apr 18 00:03:52 CST 2018 Running test: kmod_test_0001 - run #2 kmod_test_0001_driver: OK! - loading kmod test kmod_test_0001_driver: OK! - Return value: 256 (MODULE_NOT_FOUND), expected MODULE_NOT_FOUND kmod_test_0001_fs: OK! - loading kmod test kmod_test_0001_fs: OK! - Return value: -22 (-EINVAL), expected -EINVAL Wed Apr 18 00:03:53 CST 2018 Running test: kmod_test_0002 - run #0 kmod_test_0002_driver: OK! - loading kmod test kmod_test_0002_driver: OK! - Return value: 256 (MODULE_NOT_FOUND), expected MODULE_NOT_FOUND kmod_test_0002_fs: OK! - loading kmod test kmod_test_0002_fs: OK! - Return value: -22 (-EINVAL), expected -EINVAL Wed Apr 18 00:03:53 CST 2018 Running test: kmod_test_0002 - run #1 kmod_test_0002_driver: OK! - loading kmod test kmod_test_0002_driver: OK! - Return value: 256 (MODULE_NOT_FOUND), expected MODULE_NOT_FOUND kmod_test_0002_fs: OK! - loading kmod test kmod_test_0002_fs: OK! - Return value: -22 (-EINVAL), expected -EINVAL Wed Apr 18 00:03:53 CST 2018 Running test: kmod_test_0002 - run #2 kmod_test_0002_driver: OK! - loading kmod test kmod_test_0002_driver: OK! - Return value: 256 (MODULE_NOT_FOUND), expected MODULE_NOT_FOUND kmod_test_0002_fs: OK! - loading kmod test kmod_test_0002_fs: OK! - Return value: -22 (-EINVAL), expected -EINVAL Wed Apr 18 00:03:54 CST 2018 Running test: kmod_test_0003 - run #0 kmod_test_0003: OK! - loading kmod test kmod_test_0003: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:54 CST 2018 Running test: kmod_test_0004 - run #0 kmod_test_0004: OK! - loading kmod test kmod_test_0004: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:54 CST 2018 Running test: kmod_test_0005 - run #0 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:54 CST 2018 Running test: kmod_test_0005 - run #1 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:55 CST 2018 Running test: kmod_test_0005 - run #2 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:55 CST 2018 Running test: kmod_test_0005 - run #3 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:55 CST 2018 Running test: kmod_test_0005 - run #4 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:56 CST 2018 Running test: kmod_test_0005 - run #5 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:56 CST 2018 Running test: kmod_test_0005 - run #6 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:56 CST 2018 Running test: kmod_test_0005 - run #7 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:56 CST 2018 Running test: kmod_test_0005 - run #8 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:57 CST 2018 Running test: kmod_test_0005 - run #9 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:57 CST 2018 Running test: kmod_test_0006 - run #0 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:58 CST 2018 Running test: kmod_test_0006 - run #1 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:03:59 CST 2018 Running test: kmod_test_0006 - run #2 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:00 CST 2018 Running test: kmod_test_0006 - run #3 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:01 CST 2018 Running test: kmod_test_0006 - run #4 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:02 CST 2018 Running test: kmod_test_0006 - run #5 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:03 CST 2018 Running test: kmod_test_0006 - run #6 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:04 CST 2018 Running test: kmod_test_0006 - run #7 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:05 CST 2018 Running test: kmod_test_0006 - run #8 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:06 CST 2018 Running test: kmod_test_0006 - run #9 kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:06 CST 2018 Running test: kmod_test_0007 - run #0 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:08 CST 2018 Running test: kmod_test_0007 - run #1 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:08 CST 2018 Running test: kmod_test_0007 - run #2 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:10 CST 2018 Running test: kmod_test_0007 - run #3 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS Wed Apr 18 00:04:11 CST 2018 Running test: kmod_test_0007 - run #4 kmod_test_0005: OK! - loading kmod test kmod_test_0005: OK! - Return value: 0 (SUCCESS), expected SUCCESS kmod_test_0006: OK! - loading kmod test kmod_test_0006: OK! - Return value: 0 (SUCCESS), expected SUCCESS ./kmod.sh: line 526: [[: 1 0002:3:1 0003:1:1 0004:1:1 0005:10:1 0006:10:1 0007:5:1 0008:150:1 0009:150:1: syntax error in expression (error token is "0002:3:1 0003:1:1 0004:1:1 0005:10:1 0006:10:1 0007:5:1 0008:150:1 0009:150:1") ./kmod.sh: line 526: [[: 1 0002:3:1 0003:1:1 0004:1:1 0005:10:1 0006:10:1 0007:5:1 0008:150:1 0009:150:1: syntax error in expression (error token is "0002:3:1 0003:1:1 0004:1:1 0005:10:1 0006:10:1 0007:5:1 0008:150:1 0009:150:1") Test completed ok 1..1 selftests: kmod.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kmod' 2018-04-18 00:04:12 make run_tests -C kvm make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm' gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -Ilib -c lib/assert.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/assert.o gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -Ilib -c lib/elf.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/elf.o gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -Ilib -c lib/io.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/io.o gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -Ilib -c lib/kvm_util.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/kvm_util.o gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -Ilib -c lib/sparsebit.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/sparsebit.o gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -Ilib -c lib/x86.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/x86.o gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -Ilib -c lib/vmx.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/vmx.o ar crs /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/libkvm.a /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/assert.o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/elf.o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/io.o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/kvm_util.o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/sparsebit.o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/x86.o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/lib/vmx.o gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -I. set_sregs_test.c /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/libkvm.a -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/set_sregs_test gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -I. sync_regs_test.c /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/libkvm.a -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/sync_regs_test gcc -O2 -g -std=gnu99 -I../../../..//usr/include/ -Iinclude -I. vmx_tsc_adjust_test.c /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/libkvm.a -o /usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm/vmx_tsc_adjust_test TAP version 13 selftests: set_sregs_test ======================================== ==== Test Assertion Failure ==== lib/kvm_util.c:95: kvm_fd >= 0 pid=9792 tid=9792 1 0x0000000000401c6e: vm_create at kvm_util.c:94 2 0x0000000000406349: vm_create_default at x86.c:688 3 0x0000000000400ea1: main at set_sregs_test.c:39 4 0x00007efc0be0fa86: ?? ??:0 5 0x0000000000400f89: _start at ??:? open /dev/kvm failed, rc: -1 errno: 2 not ok 1..1 selftests: set_sregs_test [FAIL] selftests: sync_regs_test ======================================== ==== Test Assertion Failure ==== lib/kvm_util.c:54: kvm_fd >= 0 pid=9802 tid=9802 1 0x0000000000401bdb: kvm_check_cap at kvm_util.c:53 2 0x0000000000400ea2: main at sync_regs_test.c:100 3 0x00007ff526487a86: ?? ??:0 4 0x0000000000401439: _start at ??:? open /dev/kvm failed, rc: -1 errno: 2 not ok 1..2 selftests: sync_regs_test [FAIL] selftests: vmx_tsc_adjust_test ======================================== ==== Test Assertion Failure ==== lib/kvm_util.c:422: kvm_fd >= 0 pid=9812 tid=9812 1 0x000000000040174a: kvm_get_supported_cpuid at kvm_util.c:421 2 0x0000000000401b5a: kvm_get_supported_cpuid at kvm_util.c:461 3 (inlined by) kvm_get_supported_cpuid_index at kvm_util.c:449 4 0x0000000000400e58: kvm_get_supported_cpuid_entry at kvm_util.h:125 5 (inlined by) main at vmx_tsc_adjust_test.c:189 6 0x00007f2ef6225a86: ?? ??:0 7 0x00000000004010a9: _start at ??:? open /dev/kvm failed, rc: -1 errno: 2 not ok 1..3 selftests: vmx_tsc_adjust_test [FAIL] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/kvm' 2018-04-18 00:04:16 make run_tests -C lib make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/lib' TAP version 13 selftests: printf.sh ======================================== printf: ok ok 1..1 selftests: printf.sh [PASS] selftests: bitmap.sh ======================================== bitmap: ok ok 1..2 selftests: bitmap.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-d5edb7f8e7ab9fd5fd54a77d957b1733f117a813/tools/testing/selftests/lib'