KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377 2017-04-07 19:35:42 make run_tests -C bpf make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/bpf' make -C ../../../lib/bpf OUTPUT=/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/bpf/ make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/bpf' make[1]: *** ../../../lib/bpf: No such file or directory. Stop. make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/bpf' Makefile:23: recipe for target '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/bpf/bpf.o' failed make: *** [/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/bpf/bpf.o] Error 2 make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/bpf' 2017-04-07 19:35:42 make run_tests -C breakpoints make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/breakpoints' gcc breakpoint_test.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/breakpoints/breakpoint_test gcc step_after_suspend_test.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/breakpoints/step_after_suspend_test Test breakpoint 0 with local: 0 global: 1 [Ok] Test breakpoint 1 with local: 0 global: 1 [Ok] Test breakpoint 2 with local: 0 global: 1 [Ok] Test breakpoint 3 with local: 0 global: 1 [Ok] Test breakpoint 0 with local: 1 global: 0 [Ok] Test breakpoint 1 with local: 1 global: 0 [Ok] Test breakpoint 2 with local: 1 global: 0 [Ok] Test breakpoint 3 with local: 1 global: 0 [Ok] Test breakpoint 0 with local: 1 global: 1 [Ok] Test breakpoint 1 with local: 1 global: 1 [Ok] Test breakpoint 2 with local: 1 global: 1 [Ok] Test breakpoint 3 with local: 1 global: 1 [Ok] Test write watchpoint 0 with len: 1 local: 0 global: 1 [Ok] Test write watchpoint 1 with len: 1 local: 0 global: 1 [Ok] Test write watchpoint 2 with len: 1 local: 0 global: 1 [Ok] Test write watchpoint 3 with len: 1 local: 0 global: 1 [Ok] Test write watchpoint 0 with len: 1 local: 1 global: 0 [Ok] Test write watchpoint 1 with len: 1 local: 1 global: 0 [Ok] Test write watchpoint 2 with len: 1 local: 1 global: 0 [Ok] Test write watchpoint 3 with len: 1 local: 1 global: 0 [Ok] Test write watchpoint 0 with len: 1 local: 1 global: 1 [Ok] Test write watchpoint 1 with len: 1 local: 1 global: 1 [Ok] Test write watchpoint 2 with len: 1 local: 1 global: 1 [Ok] Test write watchpoint 3 with len: 1 local: 1 global: 1 [Ok] Test write watchpoint 0 with len: 2 local: 0 global: 1 [Ok] Test write watchpoint 1 with len: 2 local: 0 global: 1 [Ok] Test write watchpoint 2 with len: 2 local: 0 global: 1 [Ok] Test write watchpoint 3 with len: 2 local: 0 global: 1 [Ok] Test write watchpoint 0 with len: 2 local: 1 global: 0 [Ok] Test write watchpoint 1 with len: 2 local: 1 global: 0 [Ok] Test write watchpoint 2 with len: 2 local: 1 global: 0 [Ok] Test write watchpoint 3 with len: 2 local: 1 global: 0 [Ok] Test write watchpoint 0 with len: 2 local: 1 global: 1 [Ok] Test write watchpoint 1 with len: 2 local: 1 global: 1 [Ok] Test write watchpoint 2 with len: 2 local: 1 global: 1 [Ok] Test write watchpoint 3 with len: 2 local: 1 global: 1 [Ok] Test write watchpoint 0 with len: 4 local: 0 global: 1 [Ok] Test write watchpoint 1 with len: 4 local: 0 global: 1 [Ok] Test write watchpoint 2 with len: 4 local: 0 global: 1 [Ok] Test write watchpoint 3 with len: 4 local: 0 global: 1 [Ok] Test write watchpoint 0 with len: 4 local: 1 global: 0 [Ok] Test write watchpoint 1 with len: 4 local: 1 global: 0 [Ok] Test write watchpoint 2 with len: 4 local: 1 global: 0 [Ok] Test write watchpoint 3 with len: 4 local: 1 global: 0 [Ok] Test write watchpoint 0 with len: 4 local: 1 global: 1 [Ok] Test write watchpoint 1 with len: 4 local: 1 global: 1 [Ok] Test write watchpoint 2 with len: 4 local: 1 global: 1 [Ok] Test write watchpoint 3 with len: 4 local: 1 global: 1 [Ok] Test write watchpoint 0 with len: 8 local: 0 global: 1 [Ok] Test write watchpoint 1 with len: 8 local: 0 global: 1 [Ok] Test write watchpoint 2 with len: 8 local: 0 global: 1 [Ok] Test write watchpoint 3 with len: 8 local: 0 global: 1 [Ok] Test write watchpoint 0 with len: 8 local: 1 global: 0 [Ok] Test write watchpoint 1 with len: 8 local: 1 global: 0 [Ok] Test write watchpoint 2 with len: 8 local: 1 global: 0 [Ok] Test write watchpoint 3 with len: 8 local: 1 global: 0 [Ok] Test write watchpoint 0 with len: 8 local: 1 global: 1 [Ok] Test write watchpoint 1 with len: 8 local: 1 global: 1 [Ok] Test write watchpoint 2 with len: 8 local: 1 global: 1 [Ok] Test write watchpoint 3 with len: 8 local: 1 global: 1 [Ok] Test read watchpoint 0 with len: 1 local: 0 global: 1 [Ok] Test read watchpoint 1 with len: 1 local: 0 global: 1 [Ok] Test read watchpoint 2 with len: 1 local: 0 global: 1 [Ok] Test read watchpoint 3 with len: 1 local: 0 global: 1 [Ok] Test read watchpoint 0 with len: 1 local: 1 global: 0 [Ok] Test read watchpoint 1 with len: 1 local: 1 global: 0 [Ok] Test read watchpoint 2 with len: 1 local: 1 global: 0 [Ok] Test read watchpoint 3 with len: 1 local: 1 global: 0 [Ok] Test read watchpoint 0 with len: 1 local: 1 global: 1 [Ok] Test read watchpoint 1 with len: 1 local: 1 global: 1 [Ok] Test read watchpoint 2 with len: 1 local: 1 global: 1 [Ok] Test read watchpoint 3 with len: 1 local: 1 global: 1 [Ok] Test read watchpoint 0 with len: 2 local: 0 global: 1 [Ok] Test read watchpoint 1 with len: 2 local: 0 global: 1 [Ok] Test read watchpoint 2 with len: 2 local: 0 global: 1 [Ok] Test read watchpoint 3 with len: 2 local: 0 global: 1 [Ok] Test read watchpoint 0 with len: 2 local: 1 global: 0 [Ok] Test read watchpoint 1 with len: 2 local: 1 global: 0 [Ok] Test read watchpoint 2 with len: 2 local: 1 global: 0 [Ok] Test read watchpoint 3 with len: 2 local: 1 global: 0 [Ok] Test read watchpoint 0 with len: 2 local: 1 global: 1 [Ok] Test read watchpoint 1 with len: 2 local: 1 global: 1 [Ok] Test read watchpoint 2 with len: 2 local: 1 global: 1 [Ok] Test read watchpoint 3 with len: 2 local: 1 global: 1 [Ok] Test read watchpoint 0 with len: 4 local: 0 global: 1 [Ok] Test read watchpoint 1 with len: 4 local: 0 global: 1 [Ok] Test read watchpoint 2 with len: 4 local: 0 global: 1 [Ok] Test read watchpoint 3 with len: 4 local: 0 global: 1 [Ok] Test read watchpoint 0 with len: 4 local: 1 global: 0 [Ok] Test read watchpoint 1 with len: 4 local: 1 global: 0 [Ok] Test read watchpoint 2 with len: 4 local: 1 global: 0 [Ok] Test read watchpoint 3 with len: 4 local: 1 global: 0 [Ok] Test read watchpoint 0 with len: 4 local: 1 global: 1 [Ok] Test read watchpoint 1 with len: 4 local: 1 global: 1 [Ok] Test read watchpoint 2 with len: 4 local: 1 global: 1 [Ok] Test read watchpoint 3 with len: 4 local: 1 global: 1 [Ok] Test read watchpoint 0 with len: 8 local: 0 global: 1 [Ok] Test read watchpoint 1 with len: 8 local: 0 global: 1 [Ok] Test read watchpoint 2 with len: 8 local: 0 global: 1 [Ok] Test read watchpoint 3 with len: 8 local: 0 global: 1 [Ok] Test read watchpoint 0 with len: 8 local: 1 global: 0 [Ok] Test read watchpoint 1 with len: 8 local: 1 global: 0 [Ok] Test read watchpoint 2 with len: 8 local: 1 global: 0 [Ok] Test read watchpoint 3 with len: 8 local: 1 global: 0 [Ok] Test read watchpoint 0 with len: 8 local: 1 global: 1 [Ok] Test read watchpoint 1 with len: 8 local: 1 global: 1 [Ok] Test read watchpoint 2 with len: 8 local: 1 global: 1 [Ok] Test read watchpoint 3 with len: 8 local: 1 global: 1 [Ok] Test icebp [Ok] Test int 3 trap [Ok] selftests: breakpoint_test [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/breakpoints CPU 0: [OK] CPU 1: [OK] CPU 2: [OK] CPU 3: [OK] Pass: 4 Fail: 0 Xfail: 0 Xpass: 0, Xskip: 0 selftests: step_after_suspend_test [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/breakpoints make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/breakpoints' 2017-04-07 19:35:50 chown lkp capabilities -R 2017-04-07 19:35:50 su lkp -c make run_tests -C capabilities 2>&1 make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/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-066233fe32ac62c11e5dc87bd5ebf47e4f495377/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-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/capabilities/validate_cap [OK] Capabilities after execve were correct [OK] Capabilities after execve were correct [OK] Capabilities after execve were correct [RUN] +++ Tests with uid == 0 +++ [NOTE] Using a user namespace for tests [RUN] Root => ep [OK] Child succeeded [OK] Check cap_ambient manipulation rules [OK] PR_CAP_AMBIENT_RAISE failed on non-inheritable cap [OK] PR_CAP_AMBIENT_RAISE failed on non-permitted cap [OK] PR_CAP_AMBIENT_RAISE worked [OK] Basic manipulation appears to work [RUN] Root +i => eip [OK] Child succeeded [RUN] UID 0 +ia => eipa [OK] Child succeeded [SKIP] SUID/SGID tests (needs privilege) [OK] Capabilities after execve were correct [OK] Capabilities after execve were correct [OK] Capabilities after execve were correct [OK] Child succeeded [RUN] +++ Tests with uid != 0 +++ [NOTE] Using a user namespace for tests [RUN] Non-root => no caps [OK] Child succeeded [OK] Check cap_ambient manipulation rules [OK] PR_CAP_AMBIENT_RAISE failed on non-inheritable cap [OK] PR_CAP_AMBIENT_RAISE failed on non-permitted cap [OK] PR_CAP_AMBIENT_RAISE worked [OK] Basic manipulation appears to work [RUN] Non-root +i => i [OK] Child succeeded [RUN] UID 1 +ia => eipa [OK] Child succeeded [SKIP] SUID/SGID tests (needs privilege) [OK] Child succeeded [OK] Child succeeded selftests: test_execve [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/capabilities make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/capabilities' 2017-04-07 19:35:52 make run_tests -C cpu-hotplug make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/cpu-hotplug' pid 495's current affinity mask: f pid 495's new affinity mask: 1 CPU online/offline summary: Cpus in online state: 0-3 Cpus in offline state: 0 Limited scope test: one hotplug cpu (leaves cpu in the original state): online to offline to online: cpu 3 selftests: cpu-on-off-test.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/cpu-hotplug make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/cpu-hotplug' 2017-04-07 19:35:53 make run_tests -C cpufreq make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/cpufreq' pid 524's current affinity mask: f pid 524's new affinity mask: 1 selftests: main.sh [FAIL] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/cpufreq make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/cpufreq' skip efivarfs test: /sys/firmware/efi dir does not exist 2017-04-07 19:35:53 make run_tests -C exec make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec' gcc -Wall execveat.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec/execveat cd /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec && ln -s -f execveat execveat.symlink cp /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec/execveat /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec/execveat.denatured chmod -x /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec/execveat.denatured echo '#!/bin/sh' > /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec/script echo 'exit $*' >> /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec/script chmod +x /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec/script mkdir -p /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec/subdir /bin/sh: 0: Can't open /dev/fd/6/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy Check success of execveat(4, '../execveat', 0)... [OK] Check success of execveat(6, 'execveat', 0)... [OK] Check success of execveat(7, '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(9, '', 4096)... [OK] Check success of execveat(18, '', 4096)... [OK] Check success of execveat(10, '', 4096)... [OK] Check success of execveat(15, '', 4096)... [OK] Check success of execveat(15, '', 4096)... [OK] Check success of execveat(16, '', 4096)... [OK] Check failure of execveat(9, '', 0) with ENOENT... [OK] Check failure of execveat(9, '(null)', 4096) with EFAULT... [OK] Check success of execveat(6, 'execveat.symlink', 0)... [OK] Check success of execveat(7, 'execveat.symlink', 0)... [OK] Check success of execveat(-100, '/usr/src/linux-selft...xec/execveat.symlink', 0)... [OK] Check success of execveat(11, '', 4096)... [OK] Check success of execveat(11, '', 4352)... [OK] Check failure of execveat(6, 'execveat.symlink', 256) with ELOOP... [OK] Check failure of execveat(7, 'execveat.symlink', 256) with ELOOP... [OK] Check failure of execveat(-100, '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/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(7, 'script', 0)... [OK] Check success of execveat(-100, '/usr/src/linux-selft...elftests/exec/script', 0)... [OK] Check success of execveat(14, '', 4096)... [OK] Check success of execveat(14, '', 4352)... [OK] Check failure of execveat(19, '', 4096) with ENOENT... [OK] Check failure of execveat(8, 'script', 0) with ENOENT... [OK] Check success of execveat(17, '', 4096)... [OK] Check success of execveat(17, '', 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(7, '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(12, '', 4096) with EACCES... [OK] Check failure of execveat(13, '', 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(9, 'execveat', 0) with ENOTDIR... [OK] Invoke copy of 'execveat' via filename of length 4093: Check success of execveat(20, '', 4096)... [OK] Check success of execveat(6, 'xxxxxxxxxxxxxxxxxxxx...yyyyyyyyyyyyyyyyyyyy', 0)... [OK] Invoke copy of 'script' via filename of length 4093: Check success of execveat(21, '', 4096)... [OK] Check success of execveat(6, 'xxxxxxxxxxxxxxxxxxxx...yyyyyyyyyyyyyyyyyyyy', 0)... [OK] selftests: execveat [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/exec' skip filesystems test: not be default compiling/testing target 2017-04-07 19:35:54 mv /lib/udev/rules.d/50-firmware.rules . 2017-04-07 19:35:54 /etc/init.d/udev restart Restarting udev (via systemctl): udev.service. 2017-04-07 19:35:55 make run_tests -C firmware make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/firmware' ./fw_filesystem.sh: timeout works ./fw_filesystem.sh: filesystem loading works ./fw_filesystem.sh: async filesystem loading works selftests: fw_filesystem.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/firmware ./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: custom fallback loading mechanism works ./fw_fallback.sh: cancelling custom fallback mechanism works selftests: fw_fallback.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/firmware make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/firmware' 2017-04-07 19:35:59 mv 50-firmware.rules /lib/udev/rules.d/50-firmware.rules 2017-04-07 19:35:59 make run_tests -C ftrace make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ftrace' === 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 profiler with function tracing [PASS] [13] Test creation and deletion of trace instances while setting an event [PASS] [14] Test creation and deletion of trace instances [PASS] [15] Kprobe dynamic event - adding and removing [PASS] [16] Kprobe dynamic event - busy event check [PASS] [17] Kprobe dynamic event with arguments [PASS] [18] Kprobes event arguments with types [PASS] [19] Kprobe dynamic event with function tracer [PASS] [20] Kretprobe dynamic event with arguments [PASS] [21] event trigger - test event enable/disable trigger [PASS] [22] event trigger - test trigger filter [PASS] [23] event trigger - test histogram modifiers [PASS] [24] event trigger - test histogram trigger [PASS] [25] event trigger - test multiple histogram triggers [PASS] [26] event trigger - test snapshot-trigger [PASS] [27] event trigger - test stacktrace-trigger [PASS] [28] event trigger - test traceon/off trigger [PASS] # of passed: 28 # of failed: 0 # of unresolved: 0 # of untested: 0 # of unsupported: 0 # of xfailed: 0 # of undefined(test bug): 0 selftests: ftracetest [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ftrace make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ftrace' 2017-04-07 19:36:50 make run_tests -C futex make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/futex' Makefile:36: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' for DIR in functional; do \ BUILD_TARGET=$OUTPUT/$DIR; \ mkdir $BUILD_TARGET -p; \ make OUTPUT=$BUILD_TARGET -C $DIR all;\ done make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/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 /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 /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 /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 /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 /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 /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 /functional/futex_wait_private_mapped_file make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/futex/functional' tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified ./run.sh: 41: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 42: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 43: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 44: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 45: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 46: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 48: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 49: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 50: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 51: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 52: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 53: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 54: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 55: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 56: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 57: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 58: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 59: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 61: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 62: ./run.sh: ./futex_requeue_pi: not found ./run.sh: 66: ./run.sh: ./futex_requeue_pi_mismatched_ops: not found ./run.sh: 69: ./run.sh: ./futex_requeue_pi_signal_restart: not found ./run.sh: 72: ./run.sh: ./futex_wait_timeout: not found ./run.sh: 75: ./run.sh: ./futex_wait_wouldblock: not found ./run.sh: 78: ./run.sh: ./futex_wait_uninitialized_heap: not found ./run.sh: 79: ./run.sh: ./futex_wait_private_mapped_file: not found ../lib.mk:22: recipe for target 'run_tests' failed make: *** [run_tests] Error 127 make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/futex' 2017-04-07 19:37:04 make run_tests -C gpio make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/gpio' Makefile:19: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' make -C ../../../.. headers_install make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377' make[1]: *** No rule to make target 'headers_install'. Stop. make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377' Makefile:28: recipe for target 'gpio.h' failed make: *** [gpio.h] Error 2 make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/gpio' skip ia64 test: not be default compiling/testing target 2017-04-07 19:37:04 make run_tests -C intel_pstate make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/intel_pstate' gcc -Wall -D_GNU_SOURCE -lm msr.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/intel_pstate/msr gcc -Wall -D_GNU_SOURCE -lm aperf.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/intel_pstate/aperf Setting maximum frequency to 0 launching aperf load on 0 launching aperf load on 1 launching aperf load on 2 launching aperf load on 3 sleeping for 5 seconds cat: /sys/devices/system/cpu/intel_pstate/max_perf_pct: No such file or directory waiting for job id 2224 runTime: 229.65 freq: -nan runTime: 233.04 freq: -nan waiting for job id 2225 waiting for job id 2226 runTime: 233.41 freq: -nan waiting for job id 2227 runTime: 235.36 freq: -nan ============================================================================== The marketing frequency of the cpu is 1600 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") selftests: run.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/intel_pstate make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/intel_pstate' 2017-04-07 19:41:03 make run_tests -C ipc make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/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-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ipc/msgque msgque.c: In function 'restore_queue': msgque.c:51:7: warning: implicit declaration of function 'msgget' [-Wimplicit-function-declaration] id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); ^ msgque.c:65:7: warning: implicit declaration of function 'msgsnd' [-Wimplicit-function-declaration] if (msgsnd(msgque->msq_id, &msgque->messages[i].mtype, ^ msgque.c:75: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:86: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:203:15: warning: implicit declaration of function 'ftok' [-Wimplicit-function-declaration] msgque.key = ftok(argv[0], 822155650); ^ selftests: msgque [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ipc make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ipc' 2017-04-07 19:41:04 make run_tests -C kcmp make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/kcmp' gcc -I../../../../usr/include/ kcmp_test.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/kcmp/kcmp_test pid1: 2393 pid2: 2394 FD: 2 FILES: 1 VM: 1 FS: 1 SIGHAND: 2 IO: 0 SYSVSEM: 0 INV: -1 PASS: 0 returned as expected PASS: 0 returned as expected Pass: 2 Fail: 0 Xfail: 0 Xpass: 0, Xskip: 0 selftests: kcmp_test [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/kcmp make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/kcmp' 2017-04-07 19:41:04 make run_tests -C lib make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/lib' printf: ok selftests: printf.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/lib bitmap: ok selftests: bitmap.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/lib make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/lib' skip media_tests test: not be default compiling/testing target 2017-04-07 19:41:05 make run_tests -C membarrier make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/membarrier' gcc -g -I../../../../usr/include/ membarrier_test.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/membarrier/membarrier_test membarrier MEMBARRIER_CMD_QUERY syscall available. membarrier: MEMBARRIER_CMD_SHARED success. membarrier: tests done! selftests: membarrier_test [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/membarrier make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/membarrier' 2017-04-07 19:41:06 make run_tests -C memfd make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/memfd' gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ memfd_test.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/memfd/memfd_test memfd_test.c: In function 'mfd_assert_get_seals': memfd_test.c:67:6: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration] r = fcntl(fd, F_GET_SEALS); ^ memfd_test.c: In function 'mfd_assert_open': memfd_test.c:190:6: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration] r = open(buf, flags, mode); ^ memfd_test.c: In function 'mfd_assert_write': memfd_test.c:315:6: warning: implicit declaration of function 'fallocate' [-Wimplicit-function-declaration] r = fallocate(fd, ^ gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_mnt.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/memfd/fuse_mnt fuse_mnt.c:16:18: fatal error: fuse.h: No such file or directory compilation terminated. ../lib.mk:58: recipe for target '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/memfd/fuse_mnt' failed make: *** [/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/memfd/fuse_mnt] Error 1 make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/memfd' 2017-04-07 19:41:07 make run_tests -C memory-hotplug make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/memory-hotplug' ./mem-on-off-test.sh -r 2 || echo "selftests: memory-hotplug [FAIL]" Test scope: 2% hotplug memory online all hotplug memory in offline state offline 2% hotplug memory in online state online all hotplug memory in offline state online-offline 35 offline-online 35 make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/memory-hotplug' 2017-04-07 19:41:18 make run_tests -C mount make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/mount' gcc -Wall -O2 unprivileged-remount-test.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/mount/unprivileged-remount-test if [ -f /proc/self/uid_map ] ; then ./unprivileged-remount-test ; else echo "WARN: No /proc/self/uid_map exist, test skipped." ; fi make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/mount' 2017-04-07 19:41:19 make run_tests -C mqueue make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/mqueue' gcc -O2 mq_open_tests.c -lrt -lpthread -lpopt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/mqueue/mq_open_tests gcc -O2 mq_perf_tests.c -lrt -lpthread -lpopt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/mqueue/mq_perf_tests Initial system state: Using queue path: /test1 RLIMIT_MSGQUEUE(soft): 819200 RLIMIT_MSGQUEUE(hard): 819200 Maximum Message Size: 8192 Maximum Queue Size: 10 Default Message Size: 8192 Default Queue Size: 10 Adjusted system state for testing: RLIMIT_MSGQUEUE(soft): 819200 RLIMIT_MSGQUEUE(hard): 819200 Maximum Message Size: 8192 Maximum Queue Size: 10 Default Message Size: 8192 Default Queue Size: 10 Test series 1, behavior when no attr struct passed to mq_open: Kernel supports setting defaults separately from maximums: PASS Given sane values, mq_open without an attr struct succeeds: PASS Kernel properly honors default setting knobs: PASS Kernel properly limits default values to lesser of default/max: PASS Kernel properly fails to create queue when defaults would exceed rlimit: PASS Test series 2, behavior when attr struct is passed to mq_open: Queue open in excess of rlimit max when euid = 0 failed: PASS Queue open with mq_maxmsg > limit when euid = 0 succeeded: PASS Queue open with mq_msgsize > limit when euid = 0 succeeded: PASS Queue open with total size > 2GB when euid = 0 failed: PASS Queue open in excess of rlimit max when euid = 99 failed: PASS Queue open with mq_maxmsg > limit when euid = 99 failed: PASS Queue open with mq_msgsize > limit when euid = 99 failed: PASS Queue open with total size > 2GB when euid = 99 failed: PASS Initial system state: Using queue path: /mq_perf_tests RLIMIT_MSGQUEUE(soft): 819200 RLIMIT_MSGQUEUE(hard): 819200 Maximum Message Size: 8192 Maximum Queue Size: 10 Nice value: 0 Adjusted system state for testing: RLIMIT_MSGQUEUE(soft): (unlimited) RLIMIT_MSGQUEUE(hard): (unlimited) Maximum Message Size: 16777216 Maximum Queue Size: 65530 Nice value: -20 Continuous mode: (disabled) CPUs to pin: 3 Queue /mq_perf_tests created: mq_flags: O_NONBLOCK mq_maxmsg: 65530 mq_msgsize: 16 mq_curmsgs: 0 Started mqueue performance test thread on CPU 3 Max priorities: 32768 Clock resolution: 1 nsec Test #1: Time send/recv message, queue empty (10000000 iterations) Send msg: 31.91990487s total time 3109 nsec/msg Recv msg: 33.496560307s total time 3349 nsec/msg Test #2a: Time send/recv message, queue full, constant prio : (100000 iterations) Filling queue...done. 0.98924104s Testing...done. Send msg: 0.304001273s total time 3040 nsec/msg Recv msg: 0.287624450s total time 2876 nsec/msg Draining queue...done. 0.80272735s Test #2b: Time send/recv message, queue full, increasing prio : (100000 iterations) Filling queue...done. 0.133391204s Testing...done. Send msg: 0.365207354s total time 3652 nsec/msg Recv msg: 0.356633615s total time 3566 nsec/msg Draining queue...done. 0.102753774s Test #2c: Time send/recv message, queue full, decreasing prio : (100000 iterations) Filling queue...done. 0.133736411s Testing...done. Send msg: 0.374297103s total time 3742 nsec/msg Recv msg: 0.350942882s total time 3509 nsec/msg Draining queue...done. 0.100897944s Test #2d: Time send/recv message, queue full, random prio : (100000 iterations) Filling queue...done. 0.196225929s Testing...done. Send msg: 0.460494182s total time 4604 nsec/msg Recv msg: 0.402192808s total time 4021 nsec/msg Draining queue...done. 0.115534236s make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/mqueue' 2017-04-07 19:42:45 make run_tests -C net make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net' gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ socket.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/socket gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ psock_fanout.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/psock_fanout gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ psock_tpacket.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/psock_tpacket gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/reuseport_bpf gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf_cpu.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/reuseport_bpf_cpu gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf_numa.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/reuseport_bpf_numa /tmp/lkp/ccvRvXVI.o: In function `send_from_node': /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/reuseport_bpf_numa.c:138: undefined reference to `numa_run_on_node' /tmp/lkp/ccvRvXVI.o: In function `main': /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/reuseport_bpf_numa.c:230: undefined reference to `numa_available' /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/reuseport_bpf_numa.c:233: undefined reference to `numa_max_node' collect2: error: ld returned 1 exit status ../lib.mk:58: recipe for target '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/reuseport_bpf_numa' failed make: *** [/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net/reuseport_bpf_numa] Error 1 make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/net' 2017-04-07 19:42:52 make run_tests -C nsfs make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/nsfs' gcc -Wall -Werror owner.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/nsfs/owner gcc -Wall -Werror pidns.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/nsfs/pidns selftests: owner [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/nsfs selftests: pidns [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/nsfs make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/nsfs' skip prctl test: not be default compiling/testing target skip ptp test: not be default compiling/testing target 2017-04-07 19:42:54 make run_tests -C ptrace make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ptrace' gcc -iquote../../../../include/uapi -Wall peeksiginfo.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ptrace/peeksiginfo PASS selftests: peeksiginfo [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ptrace make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/ptrace' 2017-04-07 19:42:55 make run_tests -C seccomp make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/seccomp' gcc -Wl,-no-as-needed -Wall -lpthread seccomp_bpf.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/seccomp/seccomp_bpf [==========] Running 52 tests from 1 test cases. [ RUN ] global.mode_strict_support [ OK ] global.mode_strict_support [ RUN ] global.mode_strict_cannot_call_prctl [ OK ] global.mode_strict_cannot_call_prctl [ RUN ] global.no_new_privs_support [ OK ] global.no_new_privs_support [ RUN ] global.mode_filter_support [ OK ] global.mode_filter_support [ RUN ] global.mode_filter_without_nnp [ OK ] global.mode_filter_without_nnp [ RUN ] global.filter_size_limits [ OK ] global.filter_size_limits [ RUN ] global.filter_chain_limits [ OK ] global.filter_chain_limits [ RUN ] global.mode_filter_cannot_move_to_strict [ OK ] global.mode_filter_cannot_move_to_strict [ RUN ] global.mode_filter_get_seccomp [ OK ] global.mode_filter_get_seccomp [ RUN ] global.ALLOW_all [ OK ] global.ALLOW_all [ RUN ] global.empty_prog [ OK ] global.empty_prog [ RUN ] global.unknown_ret_is_kill_inside [ OK ] global.unknown_ret_is_kill_inside [ RUN ] global.unknown_ret_is_kill_above_allow [ OK ] global.unknown_ret_is_kill_above_allow [ RUN ] global.KILL_all [ OK ] global.KILL_all [ RUN ] global.KILL_one [ OK ] global.KILL_one [ RUN ] global.KILL_one_arg_one [ OK ] global.KILL_one_arg_one [ RUN ] global.KILL_one_arg_six [ OK ] global.KILL_one_arg_six [ RUN ] global.arg_out_of_range [ OK ] global.arg_out_of_range [ RUN ] global.ERRNO_valid [ OK ] global.ERRNO_valid [ RUN ] global.ERRNO_zero [ OK ] global.ERRNO_zero [ RUN ] global.ERRNO_capped [ OK ] global.ERRNO_capped [ RUN ] TRAP.dfl [ OK ] TRAP.dfl [ RUN ] TRAP.ign [ OK ] TRAP.ign [ RUN ] TRAP.handler [ OK ] TRAP.handler [ RUN ] precedence.allow_ok [ OK ] precedence.allow_ok [ RUN ] precedence.kill_is_highest [ OK ] precedence.kill_is_highest [ RUN ] precedence.kill_is_highest_in_any_order [ OK ] precedence.kill_is_highest_in_any_order [ RUN ] precedence.trap_is_second [ OK ] precedence.trap_is_second [ RUN ] precedence.trap_is_second_in_any_order [ OK ] precedence.trap_is_second_in_any_order [ RUN ] precedence.errno_is_third [ OK ] precedence.errno_is_third [ RUN ] precedence.errno_is_third_in_any_order [ OK ] precedence.errno_is_third_in_any_order [ RUN ] precedence.trace_is_fourth [ OK ] precedence.trace_is_fourth [ RUN ] precedence.trace_is_fourth_in_any_order [ OK ] precedence.trace_is_fourth_in_any_order [ RUN ] TRACE_poke.read_has_side_effects [ OK ] TRACE_poke.read_has_side_effects [ RUN ] TRACE_poke.getpid_runs_normally [ OK ] TRACE_poke.getpid_runs_normally [ RUN ] TRACE_syscall.syscall_allowed [ OK ] TRACE_syscall.syscall_allowed [ RUN ] TRACE_syscall.syscall_redirected [ OK ] TRACE_syscall.syscall_redirected [ RUN ] TRACE_syscall.syscall_dropped [ OK ] TRACE_syscall.syscall_dropped [ RUN ] TRACE_syscall.skip_after_RET_TRACE [ OK ] TRACE_syscall.skip_after_RET_TRACE [ RUN ] TRACE_syscall.kill_after_RET_TRACE [ OK ] TRACE_syscall.kill_after_RET_TRACE [ RUN ] TRACE_syscall.skip_after_ptrace [ OK ] TRACE_syscall.skip_after_ptrace [ RUN ] TRACE_syscall.kill_after_ptrace [ OK ] TRACE_syscall.kill_after_ptrace [ RUN ] global.seccomp_syscall [ OK ] global.seccomp_syscall [ RUN ] global.seccomp_syscall_mode_lock [ OK ] global.seccomp_syscall_mode_lock [ RUN ] global.TSYNC_first [ OK ] global.TSYNC_first [ RUN ] TSYNC.siblings_fail_prctl [ OK ] TSYNC.siblings_fail_prctl [ RUN ] TSYNC.two_siblings_with_ancestor [ OK ] TSYNC.two_siblings_with_ancestor [ RUN ] TSYNC.two_sibling_want_nnp [ OK ] TSYNC.two_sibling_want_nnp [ RUN ] TSYNC.two_siblings_with_no_filter [ OK ] TSYNC.two_siblings_with_no_filter [ RUN ] TSYNC.two_siblings_with_one_divergence [ OK ] TSYNC.two_siblings_with_one_divergence [ RUN ] TSYNC.two_siblings_not_under_filter [ OK ] TSYNC.two_siblings_not_under_filter [ RUN ] global.syscall_restart [ OK ] global.syscall_restart [==========] 52 / 52 tests passed. [ PASSED ] selftests: seccomp_bpf [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/seccomp make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/seccomp' 2017-04-07 19:42:59 make run_tests -C sigaltstack make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sigaltstack' gcc -Wall sas.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sigaltstack/sas [OK] Initial sigaltstack state was SS_DISABLE [RUN] signal USR1 [OK] sigaltstack is disabled in sighandler [RUN] switched to user ctx [RUN] signal USR2 [OK] Stack preserved [OK] sigaltstack is still SS_AUTODISARM after signal [OK] Test passed selftests: sas [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sigaltstack make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sigaltstack' 2017-04-07 19:43:00 make run_tests -C size make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/size' gcc -static -ffreestanding -nostartfiles -s get_size.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/size/get_size Testing system size. 1..1 ok 1 get runtime memory use # size = 977688 # System runtime memory report (units in Kilobytes): # Total: 5075208 # Free: 4097520 # Buffer: 0 # In use: 977688 selftests: get_size [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/size make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/size' 2017-04-07 19:43:01 make run_tests -C splice make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/splice' Makefile:8: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' gcc default_file_splice_read.c -o default_file_splice_read selftests: default_file_splice_read.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/splice make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/splice' 2017-04-07 19:43:01 make run_tests -C static_keys make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/static_keys' static_key: ok selftests: test_static_keys.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/static_keys make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/static_keys' 2017-04-07 19:43:02 make run_tests -C sync make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sync' Makefile:24: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync_test.o sync_test.c gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync.o sync.c gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync_alloc.o sync_alloc.c gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync_fence.o sync_fence.c gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync_merge.o sync_merge.c gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync_wait.o sync_wait.c gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync_stress_parallelism.o sync_stress_parallelism.c gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync_stress_consumer.o sync_stress_consumer.c gcc -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -c -o sync_stress_merge.o sync_stress_merge.c gcc -pthread sync_test.o sync.o sync_alloc.o sync_fence.o sync_merge.o sync_wait.o sync_stress_parallelism.o sync_stress_consumer.o sync_stress_merge.o -o sync_test [RUN] Testing sync framework [RUN] Executing test_alloc_timeline [RUN] Executing test_alloc_fence [RUN] Executing test_alloc_fence_negative [RUN] Executing test_fence_one_timeline_wait [RUN] Executing test_fence_one_timeline_merge [RUN] Executing test_fence_merge_same_fence [RUN] Executing test_fence_multi_timeline_wait [RUN] Executing test_stress_two_threads_shared_timeline [RUN] Executing test_consumer_stress_multi_producer_single_consumer [RUN] Executing test_merge_stress_random_merge [OK] sync selftests: sync_test [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sync make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sync' 2017-04-07 19:43:11 make run_tests -C sysctl make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sysctl' == Testing sysctl behavior against /proc/sys/vm/swappiness == Writing test file ... ok Checking sysctl is not set to test value ... ok Writing sysctl from shell ... ok Resetting sysctl to original value ... ok Writing entire sysctl in single write ... ok Writing middle of sysctl after synchronized seek ... ok Writing beyond end of sysctl ... ok Writing sysctl with multiple long writes ... ok selftests: run_numerictests [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sysctl == Testing sysctl behavior against /proc/sys/kernel/domainname == Writing test file ... ok Checking sysctl is not set to test value ... ok Writing sysctl from shell ... ok Resetting sysctl to original value ... ok Writing entire sysctl in single write ... ok Writing middle of sysctl after synchronized seek ... ok Writing beyond end of sysctl ... ok Writing sysctl with multiple long writes ... ok Writing entire sysctl in short writes ... ok Writing middle of sysctl after unsynchronized seek ... ok Checking sysctl maxlen is at least 65 ... ok Checking sysctl keeps original string on overflow append ... ok Checking sysctl stays NULL terminated on write ... ok Checking sysctl stays NULL terminated on overwrite ... ok selftests: run_stringtests [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sysctl make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/sysctl' 2017-04-07 19:43:12 make run_tests -C timers make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers' gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread posix_timers.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/posix_timers gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread nanosleep.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/nanosleep gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread nsleep-lat.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/nsleep-lat gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread set-timer-lat.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/set-timer-lat gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread mqueue-lat.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/mqueue-lat gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread inconsistency-check.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/inconsistency-check gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread raw_skew.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/raw_skew gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread threadtest.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/threadtest gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread rtctest.c -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers/rtctest gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread alarmtimer-suspend.c -o alarmtimer-suspend gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread valid-adjtimex.c -o valid-adjtimex gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread adjtick.c -o adjtick gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread change_skew.c -o change_skew gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread skew_consistency.c -o skew_consistency gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread clocksource-switch.c -o clocksource-switch gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread leap-a-day.c -o leap-a-day gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread leapcrash.c -o leapcrash gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread set-tai.c -o set-tai gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread set-2038.c -o set-2038 gcc -O3 -Wl,-no-as-needed -Wall -DKTEST -lrt -lpthread set-tz.c -o set-tz Testing posix timers. False negative may happen on CPU execution based timers if other threads run on the CPU... Check itimer virtual... [OK] Check itimer prof... [OK] Check itimer real... [OK] Check timer_create() per thread... [OK] Check timer_create() per process... [OK] selftests: posix_timers [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers Nanosleep CLOCK_REALTIME [OK] Nanosleep CLOCK_MONOTONIC [OK] Nanosleep CLOCK_MONOTONIC_RAW [UNSUPPORTED] Nanosleep CLOCK_REALTIME_COARSE [UNSUPPORTED] Nanosleep CLOCK_MONOTONIC_COARSE [UNSUPPORTED] Nanosleep CLOCK_BOOTTIME [OK] Nanosleep CLOCK_REALTIME_ALARM [OK] Nanosleep CLOCK_BOOTTIME_ALARM [OK] Nanosleep CLOCK_TAI [OK] selftests: nanosleep [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers nsleep latency CLOCK_REALTIME [OK] nsleep latency CLOCK_MONOTONIC [OK] nsleep latency CLOCK_MONOTONIC_RAW [UNSUPPORTED] nsleep latency CLOCK_REALTIME_COARSE [UNSUPPORTED] nsleep latency CLOCK_MONOTONIC_COARSE [UNSUPPORTED] nsleep latency CLOCK_BOOTTIME [OK] nsleep latency CLOCK_REALTIME_ALARM [OK] nsleep latency CLOCK_BOOTTIME_ALARM [OK] nsleep latency CLOCK_TAI [OK] selftests: nsleep-lat [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers Setting timers for every 1 seconds CLOCK_REALTIME ABSTIME max latency: 1423714 ns : [OK] CLOCK_REALTIME RELTIME max latency: 3890173 ns : [OK] CLOCK_MONOTONIC ABSTIME max latency: 736913 ns : [OK] CLOCK_MONOTONIC RELTIME max latency: 852760 ns : [OK] CLOCK_BOOTTIME ABSTIME max latency: 705785 ns : [OK] CLOCK_BOOTTIME RELTIME max latency: 1027494 ns : [OK] CLOCK_REALTIME_ALARM ABSTIME max latency: 1007629 ns : [OK] CLOCK_REALTIME_ALARM RELTIME max latency: 876328 ns : [OK] CLOCK_BOOTTIME_ALARM ABSTIME max latency: 907717 ns : [OK] CLOCK_BOOTTIME_ALARM RELTIME max latency: 1107360 ns : [OK] CLOCK_TAI ABSTIME max latency: 1020613 ns : [OK] CLOCK_TAI RELTIME max latency: 1078850 ns : [OK] selftests: set-timer-lat [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers Mqueue latency : [OK] selftests: mqueue-lat [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers Consistent CLOCK_REALTIME [OK] Consistent CLOCK_MONOTONIC [OK] Consistent CLOCK_PROCESS_CPUTIME_ID [OK] Consistent CLOCK_THREAD_CPUTIME_ID [OK] Consistent CLOCK_MONOTONIC_RAW [OK] Consistent CLOCK_REALTIME_COARSE [OK] Consistent CLOCK_MONOTONIC_COARSE [OK] Consistent CLOCK_BOOTTIME [OK] Consistent CLOCK_REALTIME_ALARM [OK] Consistent CLOCK_BOOTTIME_ALARM [OK] Consistent CLOCK_TAI [OK] selftests: inconsistency-check [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers Estimating clock drift: 0.0(est) 0.0(act) [OK] selftests: raw_skew [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers Fri, 07 Apr 2017 19:50:51 +0800 Testing consistency with 8 threads for 30 seconds: [OK] selftests: threadtest [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers RTC Driver Test Example. Counting 5 update (1/sec) interrupts from reading /dev/rtc0: 1 2 3 4 5 Again, from using select(2) on /dev/rtc: 1 2 3 4 5 Current RTC date/time is 7-4-2017, 19:51:30. Alarm time now set to 19:51:35. Waiting 5 seconds for alarm... okay. Alarm rang. Periodic IRQ rate is 1024Hz. Counting 20 interrupts at: 2Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 8Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 16Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 32Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 64Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 *** Test complete *** selftests: rtctest [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/timers' 2017-04-07 19:51:55 make run_tests -C user make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/user' user_copy: ok selftests: test_user_copy.sh [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/user make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/user' skip vDSO test: not be default compiling/testing target 2017-04-07 19:51:55 make run_tests -C vm make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm' gcc -Wall -I ../../../../usr/include compaction_test.c -lrt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/compaction_test gcc -Wall -I ../../../../usr/include hugepage-mmap.c -lrt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/hugepage-mmap gcc -Wall -I ../../../../usr/include hugepage-shm.c -lrt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/hugepage-shm gcc -Wall -I ../../../../usr/include map_hugetlb.c -lrt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/map_hugetlb gcc -Wall -I ../../../../usr/include mlock2-tests.c -lrt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/mlock2-tests gcc -Wall -I ../../../../usr/include on-fault-limit.c -lrt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/on-fault-limit gcc -Wall -I ../../../../usr/include thuge-gen.c -lrt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/thuge-gen gcc -Wall -I ../../../../usr/include transhuge-stress.c -lrt -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/transhuge-stress gcc -Wall -I ../../../../usr/include userfaultfd.c -lrt -lpthread ../../../../usr/include/linux/kernel.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/userfaultfd gcc -Wall -I ../../../../usr/include -DHUGETLB_TEST -O2 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/userfaultfd_hugetlb userfaultfd.c -lpthread gcc -Wall -I ../../../../usr/include -DSHMEM_TEST -O2 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/userfaultfd_shmem userfaultfd.c -lpthread gcc -Wall -I ../../../../usr/include mlock-random-test.c -lrt -lcap -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm/mlock-random-test -------------------- running hugepage-mmap -------------------- Returned address is 0x7fd665e00000 First hex is 0 First hex is 3020100 [PASS] -------------------- running hugepage-shm -------------------- shmid: 0x0 shmaddr: 0x7f4a94200000 Starting the writes: ................................................................................................................................................................................................................................................................ Starting the Check...Done. [PASS] -------------------- running map_hugetlb -------------------- Returned address is 0x7f7fe2200000 First hex is 0 First hex is 3020100 [PASS] NOTE: The above hugetlb tests provide minimal coverage. Use https://github.com/libhugetlbfs/libhugetlbfs.git for hugetlb regression testing. -------------------- running userfaultfd -------------------- nr_pages: 32768, nr_pages_per_cpu: 8192 bounces: 31, mode: rnd racing ver poll, userfaults: 394 705 1099 462 bounces: 30, mode: racing ver poll, userfaults: 168 755 151 575 bounces: 29, mode: rnd ver poll, userfaults: 726 716 651 1534 bounces: 28, mode: ver poll, userfaults: 160 175 732 346 bounces: 27, mode: rnd racing poll, userfaults: 673 84 472 89 bounces: 26, mode: racing poll, userfaults: 599 205 587 298 bounces: 25, mode: rnd poll, userfaults: 1004 1425 948 1593 bounces: 24, mode: poll, userfaults: 634 333 861 250 bounces: 23, mode: rnd racing ver, userfaults: 404 733 501 163 bounces: 22, mode: racing ver, userfaults: 614 1039 323 175 bounces: 21, mode: rnd ver, userfaults: 1289 1259 770 651 bounces: 20, mode: ver, userfaults: 1013 267 163 143 bounces: 19, mode: rnd racing, userfaults: 562 303 185 492 bounces: 18, mode: racing, userfaults: 670 589 352 229 bounces: 17, mode: rnd, userfaults: 1050 1597 945 849 bounces: 16, mode:, userfaults: 1042 994 1156 904 bounces: 15, mode: rnd racing ver poll, userfaults: 411 788 431 395 bounces: 14, mode: racing ver poll, userfaults: 348 175 406 359 bounces: 13, mode: rnd ver poll, userfaults: 727 1280 1047 809 bounces: 12, mode: ver poll, userfaults: 461 705 441 885 bounces: 11, mode: rnd racing poll, userfaults: 452 157 415 707 bounces: 10, mode: racing poll, userfaults: 551 563 371 315 bounces: 9, mode: rnd poll, userfaults: 2099 1596 866 756 bounces: 8, mode: poll, userfaults: 477 221 369 220 bounces: 7, mode: rnd racing ver, userfaults: 504 713 476 321 bounces: 6, mode: racing ver, userfaults: 289 58 265 370 bounces: 5, mode: rnd ver, userfaults: 1616 470 232 590 bounces: 4, mode: ver, userfaults: 181 687 227 70 bounces: 3, mode: rnd racing, userfaults: 544 540 393 316 bounces: 2, mode: racing, userfaults: 254 80 430 46 bounces: 1, mode: rnd, userfaults: 652 653 1026 1010 bounces: 0, mode:, userfaults: 1122 275 285 245 testing UFFDIO_ZEROPAGE: done. testing events (fork, remap, remove): userfaults: 32768 [PASS] ---------------------------- running userfaultfd_hugetlb ---------------------------- nr_pages: 64, nr_pages_per_cpu: 16 bounces: 31, mode: rnd racing ver poll, userfaults: 8 7 3 0 bounces: 30, mode: racing ver poll, userfaults: 10 12 2 1 bounces: 29, mode: rnd ver poll, userfaults: 10 5 6 4 bounces: 28, mode: ver poll, userfaults: 11 5 6 0 bounces: 27, mode: rnd racing poll, userfaults: 6 7 5 1 bounces: 26, mode: racing poll, userfaults: 12 0 0 1 bounces: 25, mode: rnd poll, userfaults: 12 13 6 3 bounces: 24, mode: poll, userfaults: 7 6 5 5 bounces: 23, mode: rnd racing ver, userfaults: 9 11 2 0 bounces: 22, mode: racing ver, userfaults: 5 8 3 5 bounces: 21, mode: rnd ver, userfaults: 15 11 7 3 bounces: 20, mode: ver, userfaults: 12 12 6 2 bounces: 19, mode: rnd racing, userfaults: 6 6 8 0 bounces: 18, mode: racing, userfaults: 12 5 4 2 bounces: 17, mode: rnd, userfaults: 11 13 6 3 bounces: 16, mode:, userfaults: 11 7 3 3 bounces: 15, mode: rnd racing ver poll, userfaults: 2 2 2 10 bounces: 14, mode: racing ver poll, userfaults: 5 2 0 4 bounces: 13, mode: rnd ver poll, userfaults: 7 6 8 8 bounces: 12, mode: ver poll, userfaults: 2 6 8 5 bounces: 11, mode: rnd racing poll, userfaults: 4 12 2 1 bounces: 10, mode: racing poll, userfaults: 1 14 5 1 bounces: 9, mode: rnd poll, userfaults: 11 10 4 2 bounces: 8, mode: poll, userfaults: 13 5 5 1 bounces: 7, mode: rnd racing ver, userfaults: 7 7 2 4 bounces: 6, mode: racing ver, userfaults: 7 4 1 0 bounces: 5, mode: rnd ver, userfaults: 12 10 6 5 bounces: 4, mode: ver, userfaults: 7 4 3 2 bounces: 3, mode: rnd racing, userfaults: 10 6 5 1 bounces: 2, mode: racing, userfaults: 3 1 0 9 bounces: 1, mode: rnd, userfaults: 14 10 5 3 bounces: 0, mode:, userfaults: 9 6 4 0 testing UFFDIO_ZEROPAGE: done. testing events (fork, remap, remove): userfaults: 64 [PASS] ---------------------------- running userfaultfd_shmem ---------------------------- nr_pages: 32768, nr_pages_per_cpu: 8192 bounces: 31, mode: rnd racing ver poll, userfaults: 600 2119 518 375 bounces: 30, mode: racing ver poll, userfaults: 573 121 28 647 bounces: 29, mode: rnd ver poll, userfaults: 1169 1299 1380 1151 bounces: 28, mode: ver poll, userfaults: 294 336 199 522 bounces: 27, mode: rnd racing poll, userfaults: 806 570 262 240 bounces: 26, mode: racing poll, userfaults: 607 229 204 485 bounces: 25, mode: rnd poll, userfaults: 1297 592 1631 606 bounces: 24, mode: poll, userfaults: 1027 880 802 944 bounces: 23, mode: rnd racing ver, userfaults: 865 538 993 324 bounces: 22, mode: racing ver, userfaults: 182 282 617 454 bounces: 21, mode: rnd ver, userfaults: 925 989 1991 1628 bounces: 20, mode: ver, userfaults: 420 249 268 292 bounces: 19, mode: rnd racing, userfaults: 137 137 1062 602 bounces: 18, mode: racing, userfaults: 484 455 149 102 bounces: 17, mode: rnd, userfaults: 1585 719 594 1122 bounces: 16, mode:, userfaults: 541 850 315 276 bounces: 15, mode: rnd racing ver poll, userfaults: 463 704 677 361 bounces: 14, mode: racing ver poll, userfaults: 253 727 683 190 bounces: 13, mode: rnd ver poll, userfaults: 1909 2122 1558 1280 bounces: 12, mode: ver poll, userfaults: 699 417 683 407 bounces: 11, mode: rnd racing poll, userfaults: 707 410 650 524 bounces: 10, mode: racing poll, userfaults: 307 389 122 199 bounces: 9, mode: rnd poll, userfaults: 626 1644 619 1264 bounces: 8, mode: poll, userfaults: 230 335 1028 434 bounces: 7, mode: rnd racing ver, userfaults: 342 599 250 654 bounces: 6, mode: racing ver, userfaults: 213 120 422 351 bounces: 5, mode: rnd ver, userfaults: 474 502 1823 1692 bounces: 4, mode: ver, userfaults: 426 214 204 525 bounces: 3, mode: rnd racing, userfaults: 274 295 560 1252 bounces: 2, mode: racing, userfaults: 112 134 569 347 bounces: 1, mode: rnd, userfaults: 1344 1379 1775 1180 bounces: 0, mode:, userfaults: 779 400 590 319 testing UFFDIO_ZEROPAGE: done. testing events (fork, remap, remove): userfaults: 32768 [PASS] ----------------------- running compaction_test ----------------------- No of huge pages allocated = 1176 [PASS] -------------------- running on-fault-limit -------------------- [PASS] -------------------- running mlock2-tests -------------------- [PASS] selftests: run_vmtests [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/vm' skip watchdog test: not be default compiling/testing target 2017-04-07 19:53:48 make run_tests -C x86 make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86' Makefile:44: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/single_step_syscall_64 -O2 -g -std=gnu99 -pthread -Wall single_step_syscall.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/sysret_ss_attrs_64 -O2 -g -std=gnu99 -pthread -Wall sysret_ss_attrs.c thunks.S -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/syscall_nt_64 -O2 -g -std=gnu99 -pthread -Wall syscall_nt.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/ptrace_syscall_64 -O2 -g -std=gnu99 -pthread -Wall ptrace_syscall.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/test_mremap_vdso_64 -O2 -g -std=gnu99 -pthread -Wall test_mremap_vdso.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/check_initial_reg_state_64 -O2 -g -std=gnu99 -pthread -Wall -Wl,-ereal_start -static check_initial_reg_state.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/sigreturn_64 -O2 -g -std=gnu99 -pthread -Wall sigreturn.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/ldt_gdt_64 -O2 -g -std=gnu99 -pthread -Wall ldt_gdt.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/iopl_64 -O2 -g -std=gnu99 -pthread -Wall iopl.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/mpx-mini-test_64 -O2 -g -std=gnu99 -pthread -Wall mpx-mini-test.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/ioperm_64 -O2 -g -std=gnu99 -pthread -Wall ioperm.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/protection_keys_64 -O2 -g -std=gnu99 -pthread -Wall protection_keys.c -lrt -ldl protection_keys.c:198:0: warning: "SYS_pkey_alloc" redefined #define SYS_pkey_alloc 330 ^ In file included from /usr/include/x86_64-linux-gnu/sys/syscall.h:31:0, from protection_keys.c:27: /usr/include/x86_64-linux-gnu/bits/syscall.h:572:0: note: this is the location of the previous definition #define SYS_pkey_alloc __NR_pkey_alloc ^ protection_keys.c:199:0: warning: "SYS_pkey_free" redefined #define SYS_pkey_free 331 ^ In file included from /usr/include/x86_64-linux-gnu/sys/syscall.h:31:0, from protection_keys.c:27: /usr/include/x86_64-linux-gnu/bits/syscall.h:573:0: note: this is the location of the previous definition #define SYS_pkey_free __NR_pkey_free ^ gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/test_vdso_64 -O2 -g -std=gnu99 -pthread -Wall test_vdso.c -lrt -ldl test_vdso.c: In function 'main': test_vdso.c:98:37: warning: 'node' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ret_vsys && (cpu_vsys != cpu || node_vsys != node)) ^ test_vdso.c:78:12: note: 'node' was declared here unsigned node; ^ gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/fsgsbase_64 -O2 -g -std=gnu99 -pthread -Wall fsgsbase.c -lrt -ldl gcc -m64 -o /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86/sysret_rip_64 -O2 -g -std=gnu99 -pthread -Wall sysret_rip.c -lrt -ldl Warning: you seem to have a broken 32-bit build environment. This will reduce test coverage of 64-bit kernels. If you are using a Debian-like distribution, try: apt-get install gcc-multilib libc6-i386 libc6-dev-i386 If you are using a Fedora-like distribution, try: yum install glibc-devel.*i686 [RUN] Set TF and check nop [OK] Survived with TF set and 9 traps [RUN] Set TF and check syscall-less opportunistic sysret [OK] Survived with TF set and 12 traps [RUN] Set TF and check int80 [OK] Survived with TF set and 9 traps [RUN] Set TF and check a fast syscall [OK] Survived with TF set and 23 traps [RUN] Fast syscall with TF cleared [OK] Nothing unexpected happened selftests: single_step_syscall_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [RUN] Syscalls followed by SS validation [OK] We survived selftests: sysret_ss_attrs_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [RUN] Set NT and issue a syscall [OK] The syscall worked and flags are still set [RUN] Set NT|TF and issue a syscall [OK] The syscall worked and flags are still set selftests: syscall_nt_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [RUN] Check int80 return regs [OK] getpid() preserves regs [OK] kill(getpid(), SIGUSR1) preserves regs [RUN] ptrace-induced syscall restart [RUN] SYSEMU [FAIL] Initial args are wrong (nr=14, args=2 140733790827424 0 8 0 140733790827424) [RUN] Restart the syscall (ip = 0x7f9510933f9f) [FAIL] Restart nr or args are wrong (nr=14, args=2 140733790827424 0 8 0 140733790827424) [RUN] Change nr and args and restart the syscall (ip = 0x7f9510933f9f) [OK] Replacement nr and args are correct [OK] Child exited cleanly [RUN] kernel syscall restart under ptrace [RUN] SYSCALL [FAIL] Initial args are wrong (nr=14, args=2 140733790827024 0 8 0 140733790827024) [RUN] SYSCALL [FAIL] Args after SIGUSR1 are wrong (nr=14, args=2 140733790827024 0 8 0 140733790827024) [OK] Child got SIGUSR1 [RUN] Step again [OK] pause(2) restarted correctly selftests: ptrace_syscall_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 AT_SYSINFO_EHDR is 0x7ffd1a99e000 [NOTE] Moving vDSO: [0x7ffd1a99e000, 0x7ffd1a99f000] -> [0x7f9f246cb000, 0x7f9f246cc000] [NOTE] vDSO partial move failed, will try with bigger size [NOTE] Moving vDSO: [0x7ffd1a99e000, 0x7ffd1a9a0000] -> [0x7f9f246ca000, 0x7f9f246cc000] [OK] selftests: test_mremap_vdso_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [OK] All GPRs except SP are 0 [OK] FLAGS is 0x202 selftests: check_initial_reg_state_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [OK] set_thread_area refused 16-bit data [OK] set_thread_area refused 16-bit data [RUN] Valid sigreturn: 64-bit CS (33), 32-bit SS (2b, GDT) SP: 8badf00d5aadc0de -> 8badf00d5aadc0de [OK] all registers okay [RUN] Valid sigreturn: 32-bit CS (23), 32-bit SS (2b, GDT) SP: 8badf00d5aadc0de -> 5aadc0de [OK] all registers okay [RUN] Valid sigreturn: 16-bit CS (37), 32-bit SS (2b, GDT) SP: 8badf00d5aadc0de -> 5aadc0de [OK] all registers okay [RUN] Valid sigreturn: 64-bit CS (33), 16-bit SS (3f) SP: 8badf00d5aadc0de -> 8badf00d5aadc0de [OK] all registers okay [RUN] Valid sigreturn: 32-bit CS (23), 16-bit SS (3f) SP: 8badf00d5aadc0de -> 5aadc0de [OK] all registers okay [RUN] Valid sigreturn: 16-bit CS (37), 16-bit SS (3f) SP: 8badf00d5aadc0de -> 5aadc0de [OK] all registers okay [RUN] Valid sigreturn: 32-bit CS (23), 32-bit SS (2b, GDT) Corrupting SS on return to 64-bit mode SP: 8badf00d5aadc0de -> 5aadc0de [OK] all registers okay [RUN] Valid sigreturn: 32-bit CS (23), 16-bit SS (3f) Corrupting SS on return to 64-bit mode SP: 8badf00d5aadc0de -> 5aadc0de [OK] all registers okay [RUN] 64-bit CS (33), bogus SS (47) [OK] Got #GP(0x0) (i.e. Segmentation fault) [RUN] 32-bit CS (23), bogus SS (47) [OK] Got #GP(0x0) (i.e. Segmentation fault) [RUN] 16-bit CS (37), bogus SS (47) [OK] Got #GP(0x0) (i.e. Segmentation fault) [RUN] 64-bit CS (33), bogus SS (33) [OK] Got #GP(0x30) (i.e. GDT index 6, Segmentation fault) [RUN] 32-bit CS (23), bogus SS (33) [OK] Got #GP(0x30) (i.e. GDT index 6, Segmentation fault) [RUN] 16-bit CS (37), bogus SS (33) [OK] Got #GP(0x30) (i.e. GDT index 6, Segmentation fault) [RUN] 32-bit CS (4f), bogus SS (2b) [OK] Got #NP(0x4c) (i.e. LDT index 9, Bus error) [RUN] 32-bit CS (23), bogus SS (57) [OK] Got #GP(0x0) (i.e. Segmentation fault) [RUN] Clear UC_STRICT_RESTORE_SS and corrupt SS [OK] It worked selftests: sigreturn_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [NOTE] set_thread_area is available; will use GDT index 12 [OK] LDT entry 0 has AR 0x0040FA00 and limit 0x0000000A [OK] LDT entry 0 has AR 0x00C0FA00 and limit 0x0000AFFF [OK] LDT entry 1 is invalid [OK] LDT entry 2 has AR 0x00C0FA00 and limit 0x0000AFFF [OK] LDT entry 1 is invalid [OK] LDT entry 2 has AR 0x00C0FA00 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D0FA00 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D07A00 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00907A00 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D07200 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D07000 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D07400 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00507600 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507E00 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507C00 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507A00 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507800 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507800 and limit 0x0000000A [RUN] Test fork [OK] LDT entry 2 has AR 0x00507800 and limit 0x0000000A [OK] LDT entry 1 is invalid [OK] LDT entry 0 has AR 0x0040FA00 and limit 0x0000002A [NOTE] set_thread_area is available; will use GDT index 12 [OK] LDT entry 0 has AR 0x0040FA00 and limit 0x0000000A [OK] LDT entry 0 has AR 0x00C0FA00 and limit 0x0000AFFF [OK] LDT entry 1 is invalid [OK] LDT entry 2 has AR 0x00C0FA00 and limit 0x0000AFFF [OK] LDT entry 1 is invalid [OK] LDT entry 2 has AR 0x00C0FA00 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D0FA00 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D07A00 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00907A00 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D07200 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D07000 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00D07400 and limit 0x0000AFFF [OK] LDT entry 2 has AR 0x00507600 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507E00 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507C00 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507A00 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507800 and limit 0x0000000A [OK] LDT entry 2 has AR 0x00507800 and limit 0x0000000A [RUN] Test fork [OK] Child succeeded [RUN] Test size [DONE] Size test [OK] modify_ldt failure 22 [OK] LDT entry 0 has AR 0x0000F200 and limit 0x00000000 [OK] LDT entry 0 has AR 0x00007200 and limit 0x00000000 [OK] LDT entry 0 has AR 0x0000F000 and limit 0x00000000 [OK] LDT entry 0 has AR 0x00007200 and limit 0x00000000 [OK] LDT entry 0 has AR 0x00007000 and limit 0x00000001 [OK] LDT entry 0 has AR 0x00007000 and limit 0x00000000 [OK] LDT entry 0 is invalid [OK] LDT entry 0 has AR 0x0040F200 and limit 0x00000000 [OK] LDT entry 0 is invalid [RUN] Cross-CPU LDT invalidation [OK] All 5 iterations succeeded [RUN] Test exec [OK] LDT entry 0 has AR 0x0040FA00 and limit 0x0000002A [OK] Child succeeded [OK] Invalidate DS with set_thread_area: new DS = 0x0 [OK] Invalidate ES with set_thread_area: new ES = 0x0 [OK] Invalidate FS with set_thread_area: new FS = 0x0 [OK] New FSBASE was zero [OK] Invalidate GS with set_thread_area: new GS = 0x0 [OK] New GSBASE was zero selftests: ldt_gdt_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 child: set IOPL to 3 [RUN] child: write to 0x80 [OK] Child succeeded [RUN] parent: write to 0x80 (should fail) [OK] write was denied iopl(3) Drop privileges [RUN] iopl(3) unprivileged but with IOPL==3 [RUN] iopl(0) unprivileged [RUN] iopl(3) unprivileged [OK] Failed as expected selftests: iopl_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 processor lacks XSAVE, can not run MPX tests selftests: mpx-mini-test_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [OK] outb to 0x80 failed [OK] outb to 0xed failed [RUN] enable 0x80 [OK] outb to 0x80 worked [OK] outb to 0xed failed [RUN] disable 0x80 [OK] outb to 0x80 failed [OK] outb to 0xed failed [RUN] child: check that we inherited permissions [OK] outb to 0x80 worked [OK] outb to 0xed failed [OK] outb to 0x80 failed [OK] outb to 0xed failed [RUN] enable 0x80 [OK] outb to 0x80 worked [OK] outb to 0xed failed [RUN] disable 0x80 [OK] outb to 0x80 failed [OK] outb to 0xed failed [OK] Child succeeded Drop privileges [RUN] disable 0x80 [OK] it worked [RUN] enable 0x80 again [OK] it failed selftests: ioperm_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 has pku: 0 running PKEY tests for unsupported CPU/OS selftests: protection_keys_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [RUN] Testing getcpu... [OK] CPU 0: syscall: cpu 0, node 0 vdso: cpu 0, node 0 vsyscall: cpu 0, node 0 [OK] CPU 1: syscall: cpu 1, node 0 vdso: cpu 1, node 0 vsyscall: cpu 1, node 0 [OK] CPU 2: syscall: cpu 2, node 0 vdso: cpu 2, node 0 vsyscall: cpu 2, node 0 [OK] CPU 3: syscall: cpu 3, node 0 vdso: cpu 3, node 0 vsyscall: cpu 3, node 0 selftests: test_vdso_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [RUN] ARCH_SET_GS to 0x0 [OK] GSBASE was set as expected (selector 0x0) [OK] ARCH_GET_GS worked as expected (selector 0x0) [RUN] ARCH_SET_GS to 0x1 [OK] GSBASE was set as expected (selector 0x0) [OK] ARCH_GET_GS worked as expected (selector 0x0) [RUN] ARCH_SET_GS to 0x200000000 [OK] GSBASE was set as expected (selector 0x0) [OK] ARCH_GET_GS worked as expected (selector 0x0) [RUN] ARCH_SET_GS to 0x0 [OK] GSBASE was set as expected (selector 0x0) [OK] ARCH_GET_GS worked as expected (selector 0x0) [RUN] ARCH_SET_GS to 0x200000000 [OK] GSBASE was set as expected (selector 0x0) [OK] ARCH_GET_GS worked as expected (selector 0x0) [RUN] ARCH_SET_GS to 0x1 [OK] GSBASE was set as expected (selector 0x0) [OK] ARCH_GET_GS worked as expected (selector 0x0) [RUN] ARCH_SET_GS to 0x0 then mov 0 to %gs [OK] GSBASE is 0x0 [RUN] ARCH_SET_GS to 0x1 then mov 0 to %gs [OK] GSBASE is 0x0 [RUN] ARCH_SET_GS to 0x200000000 then mov 0 to %gs [OK] GSBASE is 0x0 [RUN] ARCH_SET_GS to 0x0 then mov 0 to %gs and schedule [OK] GSBASE is 0x0 [RUN] ARCH_SET_GS to 0x1 then mov 0 to %gs and schedule [OK] GSBASE is 0x0 [RUN] ARCH_SET_GS to 0x200000000 then mov 0 to %gs and schedule [OK] GSBASE is 0x0 [RUN] ARCH_SET_GS(0x0), then schedule to 0x0 other thread: ARCH_SET_GS(0x0) -- sel is 0x0 [OK] GSBASE remained 0x0 [RUN] ARCH_SET_GS(0x0), then schedule to 0xa1fa5f343cb85fa4 other thread: ARCH_SET_GS(0x0) and clear gs -- sel is 0x0 [OK] GSBASE remained 0x0 [RUN] ARCH_SET_GS(0x0), then schedule to 0x1 other thread: ARCH_SET_GS(0x1) -- sel is 0x0 [OK] GSBASE remained 0x0 [RUN] ARCH_SET_GS(0x0), then schedule to 0x200000000 other thread: ARCH_SET_GS(0x200000000) -- sel is 0x0 [OK] GSBASE remained 0x0 [RUN] ARCH_SET_GS(0x0) and clear gs, then schedule to 0x0 other thread: ARCH_SET_GS(0x0) -- sel is 0x0 [OK] GSBASE remained 0x0 [RUN] ARCH_SET_GS(0x0) and clear gs, then schedule to 0xa1fa5f343cb85fa4 other thread: ARCH_SET_GS(0x0) and clear gs -- sel is 0x0 [OK] GSBASE remained 0x0 [RUN] ARCH_SET_GS(0x0) and clear gs, then schedule to 0x1 other thread: ARCH_SET_GS(0x1) -- sel is 0x0 [OK] GSBASE remained 0x0 [RUN] ARCH_SET_GS(0x0) and clear gs, then schedule to 0x200000000 other thread: ARCH_SET_GS(0x200000000) -- sel is 0x0 [OK] GSBASE remained 0x0 [RUN] ARCH_SET_GS(0x1), then schedule to 0x0 other thread: ARCH_SET_GS(0x0) -- sel is 0x0 [OK] GSBASE remained 0x1 [RUN] ARCH_SET_GS(0x1), then schedule to 0xa1fa5f343cb85fa4 other thread: ARCH_SET_GS(0x0) and clear gs -- sel is 0x0 [OK] GSBASE remained 0x1 [RUN] ARCH_SET_GS(0x1), then schedule to 0x1 other thread: ARCH_SET_GS(0x1) -- sel is 0x0 [OK] GSBASE remained 0x1 [RUN] ARCH_SET_GS(0x1), then schedule to 0x200000000 other thread: ARCH_SET_GS(0x200000000) -- sel is 0x0 [OK] GSBASE remained 0x1 [RUN] ARCH_SET_GS(0x200000000), then schedule to 0x0 other thread: ARCH_SET_GS(0x0) -- sel is 0x0 [OK] GSBASE remained 0x200000000 [RUN] ARCH_SET_GS(0x200000000), then schedule to 0xa1fa5f343cb85fa4 other thread: ARCH_SET_GS(0x0) and clear gs -- sel is 0x0 [OK] GSBASE remained 0x200000000 [RUN] ARCH_SET_GS(0x200000000), then schedule to 0x1 other thread: ARCH_SET_GS(0x1) -- sel is 0x0 [OK] GSBASE remained 0x200000000 [RUN] ARCH_SET_GS(0x200000000), then schedule to 0x200000000 other thread: ARCH_SET_GS(0x200000000) -- sel is 0x0 [OK] GSBASE remained 0x200000000 [RUN] ARCH_SET_GS(0), clear gs, then manipulate GSBASE in a different thread other thread: using LDT slot 0 [OK] GSBASE remained 0 selftests: fsgsbase_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 [RUN] sigreturn to 0x800000000000 [OK] Got SIGSEGV at RIP=0x800000000000 [RUN] sigreturn to 0x1000000000000 [OK] Got SIGSEGV at RIP=0x1000000000000 [RUN] sigreturn to 0x2000000000000 [OK] Got SIGSEGV at RIP=0x2000000000000 [RUN] sigreturn to 0x4000000000000 [OK] Got SIGSEGV at RIP=0x4000000000000 [RUN] sigreturn to 0x8000000000000 [OK] Got SIGSEGV at RIP=0x8000000000000 [RUN] sigreturn to 0x10000000000000 [OK] Got SIGSEGV at RIP=0x10000000000000 [RUN] sigreturn to 0x20000000000000 [OK] Got SIGSEGV at RIP=0x20000000000000 [RUN] sigreturn to 0x40000000000000 [OK] Got SIGSEGV at RIP=0x40000000000000 [RUN] sigreturn to 0x80000000000000 [OK] Got SIGSEGV at RIP=0x80000000000000 [RUN] sigreturn to 0x100000000000000 [OK] Got SIGSEGV at RIP=0x100000000000000 [RUN] sigreturn to 0x200000000000000 [OK] Got SIGSEGV at RIP=0x200000000000000 [RUN] sigreturn to 0x400000000000000 [OK] Got SIGSEGV at RIP=0x400000000000000 [RUN] sigreturn to 0x800000000000000 [OK] Got SIGSEGV at RIP=0x800000000000000 [RUN] sigreturn to 0x1000000000000000 [OK] Got SIGSEGV at RIP=0x1000000000000000 [RUN] sigreturn to 0x2000000000000000 [OK] Got SIGSEGV at RIP=0x2000000000000000 [RUN] sigreturn to 0x4000000000000000 [OK] Got SIGSEGV at RIP=0x4000000000000000 [RUN] sigreturn to 0x8000000000000000 [OK] Got SIGSEGV at RIP=0x8000000000000000 [RUN] Trying a SYSCALL that falls through to 0x7fffffffe000 [OK] We survived [RUN] Trying a SYSCALL that falls through to 0x7ffffffff000 [OK] We survived [RUN] Trying a SYSCALL that falls through to 0x800000000000 [OK] mremap to 0x7ffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0xfffffffff000 [OK] mremap to 0xffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x1000000000000 [OK] mremap to 0xfffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x1fffffffff000 [OK] mremap to 0x1ffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x2000000000000 [OK] mremap to 0x1fffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x3fffffffff000 [OK] mremap to 0x3ffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x4000000000000 [OK] mremap to 0x3fffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x7fffffffff000 [OK] mremap to 0x7ffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x8000000000000 [OK] mremap to 0x7fffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0xffffffffff000 [OK] mremap to 0xfffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x10000000000000 [OK] mremap to 0xffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x1ffffffffff000 [OK] mremap to 0x1fffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x20000000000000 [OK] mremap to 0x1ffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x3ffffffffff000 [OK] mremap to 0x3fffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x40000000000000 [OK] mremap to 0x3ffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x7ffffffffff000 [OK] mremap to 0x7fffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x80000000000000 [OK] mremap to 0x7ffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0xfffffffffff000 [OK] mremap to 0xffffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x100000000000000 [OK] mremap to 0xfffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x1fffffffffff000 [OK] mremap to 0x1ffffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x200000000000000 [OK] mremap to 0x1fffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x3fffffffffff000 [OK] mremap to 0x3ffffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x400000000000000 [OK] mremap to 0x3fffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x7fffffffffff000 [OK] mremap to 0x7ffffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x800000000000000 [OK] mremap to 0x7fffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0xffffffffffff000 [OK] mremap to 0xfffffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x1000000000000000 [OK] mremap to 0xffffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x1ffffffffffff000 [OK] mremap to 0x1fffffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x2000000000000000 [OK] mremap to 0x1ffffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x3ffffffffffff000 [OK] mremap to 0x3fffffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x4000000000000000 [OK] mremap to 0x3ffffffffffff000 failed [RUN] Trying a SYSCALL that falls through to 0x7ffffffffffff000 [OK] mremap to 0x7fffffffffffe000 failed [RUN] Trying a SYSCALL that falls through to 0x8000000000000000 [OK] mremap to 0x7ffffffffffff000 failed selftests: sysret_rip_64 [PASS] /usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86 make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-066233fe32ac62c11e5dc87bd5ebf47e4f495377/tools/testing/selftests/x86'