KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa 2018-04-14 20:09:32 ln -sf /usr/bin/gcc-5 /usr/bin/gcc 2018-04-14 20:09:32 ln -sf /usr/bin/clang-7 /usr/bin/clang 2018-04-14 20:09:32 ln -sf /usr/bin/llc-7 /usr/bin/llc media_tests test: not in Makefile 2018-04-14 20:09:33 make TARGETS=media_tests make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/media_tests' gcc media_device_test.c -o media_device_test gcc media_device_open.c -o media_device_open gcc video_device_test.c -o video_device_test make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/media_tests' ignored_by_lkp media_tests test 2018-04-14 20:09:33 make run_tests -C membarrier make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/membarrier' gcc -g -I../../../../usr/include/ membarrier_test.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/membarrier/membarrier_test TAP version 13 selftests: membarrier_test ======================================== ok 1 sys_membarrier available ok 2 sys membarrier invalid command test: command = -1, flags = 0, errno = 22. Failed as expected ok 3 sys membarrier MEMBARRIER_CMD_QUERY invalid flags test: flags = 1, errno = 22. Failed as expected ok 4 sys membarrier MEMBARRIER_CMD_GLOBAL test: flags = 0 ok 5 sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED not registered failure test: flags = 0, errno = 1 ok 6 sys membarrier MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED test: flags = 0 ok 7 sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED test: flags = 0 ok 8 sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE not registered failure test: flags = 0, errno = 1 ok 9 sys membarrier MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE test: flags = 0 ok 10 sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE test: flags = 0 ok 11 sys membarrier MEMBARRIER_CMD_GLOBAL_EXPEDITED test: flags = 0 ok 12 sys membarrier MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED test: flags = 0 ok 13 sys membarrier MEMBARRIER_CMD_GLOBAL_EXPEDITED test: flags = 0 Pass 13 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..13 ok 1..1 selftests: membarrier_test [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/membarrier' 2018-04-14 20:09:33 make run_tests -C memfd make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/memfd' gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ -c -o common.o common.c gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ memfd_test.c common.o -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/memfd/memfd_test memfd_test.c: In function ‘mfd_assert_get_seals’: memfd_test.c:74: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:197: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:328: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 -lfuse -pthread -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/memfd/fuse_mnt gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_test.c common.o -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/memfd/fuse_test fuse_test.c: In function ‘mfd_assert_get_seals’: fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] r = fcntl(fd, F_GET_SEALS); ^ fuse_test.c: In function ‘main’: fuse_test.c:261:7: warning: implicit declaration of function ‘open’ [-Wimplicit-function-declaration] fd = open(argv[1], O_RDONLY | O_CLOEXEC); ^ TAP version 13 selftests: run_tests.sh ======================================== opening: ./mnt/memfd fuse: DONE memfd: CREATE memfd: BASIC memfd: SEAL-WRITE memfd: SEAL-SHRINK memfd: SEAL-GROW memfd: SEAL-RESIZE memfd: SHARE-DUP memfd: SHARE-MMAP memfd: SHARE-OPEN memfd: SHARE-FORK memfd: SHARE-DUP (shared file-table) memfd: SHARE-MMAP (shared file-table) memfd: SHARE-OPEN (shared file-table) memfd: SHARE-FORK (shared file-table) memfd: DONE memfd-hugetlb: CREATE memfd-hugetlb: BASIC memfd-hugetlb: SEAL-WRITE memfd-hugetlb: SEAL-SHRINK memfd-hugetlb: SEAL-GROW memfd-hugetlb: SEAL-RESIZE memfd-hugetlb: SHARE-DUP memfd-hugetlb: SHARE-MMAP memfd-hugetlb: SHARE-OPEN memfd-hugetlb: SHARE-FORK memfd-hugetlb: SHARE-DUP (shared file-table) memfd-hugetlb: SHARE-MMAP (shared file-table) memfd-hugetlb: SHARE-OPEN (shared file-table) memfd-hugetlb: SHARE-FORK (shared file-table) memfd: DONE opening: ./mnt/memfd fuse: DONE ok 1..1 selftests: run_tests.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/memfd' 2018-04-14 20:09:38 make run_tests -C memory-hotplug make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/memory-hotplug' Test scope: 2% hotplug memory online all hot-pluggable memory in offline state: SKIPPED - no hot-pluggable memory in offline state offline 2% hot-pluggable memory in online state trying to offline 1 out of 13 memory block(s): online->offline memory1 online all hot-pluggable memory in offline state: offline->online memory1 Test with memory notifier error injection selftests: memory-hotplug [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/memory-hotplug' 2018-04-14 20:09:40 make run_tests -C mount make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/mount' gcc -Wall -O2 unprivileged-remount-test.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/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-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/mount' 2018-04-14 20:09:40 make run_tests -C mqueue make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/mqueue' gcc -O2 mq_open_tests.c -lrt -lpthread -lpopt -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/mqueue/mq_open_tests gcc -O2 mq_perf_tests.c -lrt -lpthread -lpopt -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/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: 1 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 1 Max priorities: 32768 Clock resolution: 1 nsec Test #1: Time send/recv message, queue empty (10000000 iterations) Send msg: 38.533105791s total time 3853 nsec/msg Recv msg: 38.429618763s total time 3842 nsec/msg Test #2a: Time send/recv message, queue full, constant prio : (100000 iterations) Filling queue...done. 0.180795265s Testing...done. Send msg: 0.373351981s total time 3733 nsec/msg Recv msg: 0.375426767s total time 3754 nsec/msg Draining queue...done. 0.132652404s Test #2b: Time send/recv message, queue full, increasing prio : (100000 iterations) Filling queue...done. 0.143789298s Testing...done. Send msg: 0.426236765s total time 4262 nsec/msg Recv msg: 0.410826592s total time 4108 nsec/msg Draining queue...done. 0.129444501s Test #2c: Time send/recv message, queue full, decreasing prio : (100000 iterations) Filling queue...done. 0.151258983s Testing...done. Send msg: 0.439905514s total time 4399 nsec/msg Recv msg: 0.420105177s total time 4201 nsec/msg Draining queue...done. 0.150027130s Test #2d: Time send/recv message, queue full, random prio : (100000 iterations) Filling queue...done. 0.161868605s Testing...done. Send msg: 0.462346380s total time 4623 nsec/msg Recv msg: 0.428904559s total time 4289 nsec/msg Draining queue...done. 0.139116934s make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/mqueue' 2018-04-14 20:11:22 make run_tests -C net make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/net' gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/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-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/net/reuseport_bpf_cpu gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -lnuma reuseport_bpf_numa.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/net/reuseport_bpf_numa gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_dualstack.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/net/reuseport_dualstack gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseaddr_conflict.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/net/reuseaddr_conflict gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ socket.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/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-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/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-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/net/psock_tpacket gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ msg_zerocopy.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/net/msg_zerocopy TAP version 13 selftests: reuseport_bpf ======================================== ---- IPv4 UDP ---- Testing EBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing EBPF mod 20... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 10: 10 Socket 11: 11 Socket 12: 12 Socket 13: 13 Socket 14: 14 Socket 15: 15 Socket 16: 16 Socket 17: 17 Socket 18: 18 Socket 19: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 10: 30 Socket 11: 31 Socket 12: 32 Socket 13: 33 Socket 14: 34 Socket 15: 35 Socket 16: 36 Socket 17: 37 Socket 18: 38 Socket 19: 39 Reprograming, testing mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 0: 30 Socket 1: 31 Socket 2: 32 Socket 3: 33 Socket 4: 34 Socket 5: 35 Socket 6: 36 Socket 7: 37 Socket 8: 38 Socket 9: 39 Testing CBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing CBPF mod 20... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 10: 10 Socket 11: 11 Socket 12: 12 Socket 13: 13 Socket 14: 14 Socket 15: 15 Socket 16: 16 Socket 17: 17 Socket 18: 18 Socket 19: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 10: 30 Socket 11: 31 Socket 12: 32 Socket 13: 33 Socket 14: 34 Socket 15: 35 Socket 16: 36 Socket 17: 37 Socket 18: 38 Socket 19: 39 Reprograming, testing mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 0: 30 Socket 1: 31 Socket 2: 32 Socket 3: 33 Socket 4: 34 Socket 5: 35 Socket 6: 36 Socket 7: 37 Socket 8: 38 Socket 9: 39 Testing too many filters... Testing filters on non-SO_REUSEPORT socket... ---- IPv6 UDP ---- Testing EBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing EBPF mod 20... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 10: 10 Socket 11: 11 Socket 12: 12 Socket 13: 13 Socket 14: 14 Socket 15: 15 Socket 16: 16 Socket 17: 17 Socket 18: 18 Socket 19: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 10: 30 Socket 11: 31 Socket 12: 32 Socket 13: 33 Socket 14: 34 Socket 15: 35 Socket 16: 36 Socket 17: 37 Socket 18: 38 Socket 19: 39 Reprograming, testing mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 0: 30 Socket 1: 31 Socket 2: 32 Socket 3: 33 Socket 4: 34 Socket 5: 35 Socket 6: 36 Socket 7: 37 Socket 8: 38 Socket 9: 39 Testing CBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing CBPF mod 20... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 10: 10 Socket 11: 11 Socket 12: 12 Socket 13: 13 Socket 14: 14 Socket 15: 15 Socket 16: 16 Socket 17: 17 Socket 18: 18 Socket 19: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 10: 30 Socket 11: 31 Socket 12: 32 Socket 13: 33 Socket 14: 34 Socket 15: 35 Socket 16: 36 Socket 17: 37 Socket 18: 38 Socket 19: 39 Reprograming, testing mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 0: 30 Socket 1: 31 Socket 2: 32 Socket 3: 33 Socket 4: 34 Socket 5: 35 Socket 6: 36 Socket 7: 37 Socket 8: 38 Socket 9: 39 Testing too many filters... Testing filters on non-SO_REUSEPORT socket... ---- IPv6 UDP w/ mapped IPv4 ---- Testing EBPF mod 20... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 10: 10 Socket 11: 11 Socket 12: 12 Socket 13: 13 Socket 14: 14 Socket 15: 15 Socket 16: 16 Socket 17: 17 Socket 18: 18 Socket 19: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 10: 30 Socket 11: 31 Socket 12: 32 Socket 13: 33 Socket 14: 34 Socket 15: 35 Socket 16: 36 Socket 17: 37 Socket 18: 38 Socket 19: 39 Reprograming, testing mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 0: 30 Socket 1: 31 Socket 2: 32 Socket 3: 33 Socket 4: 34 Socket 5: 35 Socket 6: 36 Socket 7: 37 Socket 8: 38 Socket 9: 39 Testing EBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing CBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing CBPF mod 20... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 10: 10 Socket 11: 11 Socket 12: 12 Socket 13: 13 Socket 14: 14 Socket 15: 15 Socket 16: 16 Socket 17: 17 Socket 18: 18 Socket 19: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 10: 30 Socket 11: 31 Socket 12: 32 Socket 13: 33 Socket 14: 34 Socket 15: 35 Socket 16: 36 Socket 17: 37 Socket 18: 38 Socket 19: 39 Reprograming, testing mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Socket 0: 20 Socket 1: 21 Socket 2: 22 Socket 3: 23 Socket 4: 24 Socket 5: 25 Socket 6: 26 Socket 7: 27 Socket 8: 28 Socket 9: 29 Socket 0: 30 Socket 1: 31 Socket 2: 32 Socket 3: 33 Socket 4: 34 Socket 5: 35 Socket 6: 36 Socket 7: 37 Socket 8: 38 Socket 9: 39 ---- IPv4 TCP ---- Testing EBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing CBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing too many filters... Testing filters on non-SO_REUSEPORT socket... ---- IPv6 TCP ---- Testing EBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing CBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing too many filters... Testing filters on non-SO_REUSEPORT socket... ---- IPv6 TCP w/ mapped IPv4 ---- Testing EBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing CBPF mod 10... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 5: 5 Socket 6: 6 Socket 7: 7 Socket 8: 8 Socket 9: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 5: 15 Socket 6: 16 Socket 7: 17 Socket 8: 18 Socket 9: 19 Reprograming, testing mod 5... Socket 0: 0 Socket 1: 1 Socket 2: 2 Socket 3: 3 Socket 4: 4 Socket 0: 5 Socket 1: 6 Socket 2: 7 Socket 3: 8 Socket 4: 9 Socket 0: 10 Socket 1: 11 Socket 2: 12 Socket 3: 13 Socket 4: 14 Socket 0: 15 Socket 1: 16 Socket 2: 17 Socket 3: 18 Socket 4: 19 Testing filter add without bind... SUCCESS ok 1..1 selftests: reuseport_bpf [PASS] selftests: reuseport_bpf_cpu ======================================== ---- IPv4 UDP ---- send cpu 0, receive socket 0 send cpu 1, receive socket 1 send cpu 1, receive socket 1 send cpu 0, receive socket 0 send cpu 0, receive socket 0 send cpu 1, receive socket 1 ---- IPv6 UDP ---- send cpu 0, receive socket 0 send cpu 1, receive socket 1 send cpu 1, receive socket 1 send cpu 0, receive socket 0 send cpu 0, receive socket 0 send cpu 1, receive socket 1 ---- IPv4 TCP ---- send cpu 0, receive socket 0 send cpu 1, receive socket 1 send cpu 1, receive socket 1 send cpu 0, receive socket 0 send cpu 0, receive socket 0 send cpu 1, receive socket 1 ---- IPv6 TCP ---- send cpu 0, receive socket 0 send cpu 1, receive socket 1 send cpu 1, receive socket 1 send cpu 0, receive socket 0 send cpu 0, receive socket 0 send cpu 1, receive socket 1 SUCCESS ok 1..2 selftests: reuseport_bpf_cpu [PASS] selftests: reuseport_bpf_numa ======================================== ---- IPv4 UDP ---- send node 0, receive socket 0 send node 0, receive socket 0 ---- IPv6 UDP ---- send node 0, receive socket 0 send node 0, receive socket 0 ---- IPv4 TCP ---- send node 0, receive socket 0 send node 0, receive socket 0 ---- IPv6 TCP ---- send node 0, receive socket 0 send node 0, receive socket 0 SUCCESS ok 1..3 selftests: reuseport_bpf_numa [PASS] selftests: reuseport_dualstack ======================================== ---- UDP IPv4 created before IPv6 ---- ---- UDP IPv6 created before IPv4 ---- ---- UDP IPv4 created before IPv6 (large) ---- ---- UDP IPv6 created before IPv4 (large) ---- ---- TCP IPv4 created before IPv6 ---- ---- TCP IPv6 created before IPv4 ---- SUCCESS ok 1..4 selftests: reuseport_dualstack [PASS] selftests: reuseaddr_conflict ======================================== Opening 127.0.0.1:9999 Opening INADDR_ANY:9999 bind: Address already in use Opening in6addr_any:9999 Opening INADDR_ANY:9999 bind: Address already in use Opening INADDR_ANY:9999 after closing ipv6 socket bind: Address already in use Successok 1..5 selftests: reuseaddr_conflict [PASS] selftests: run_netsocktests ======================================== -------------------- running socket test -------------------- [PASS] ok 1..6 selftests: run_netsocktests [PASS] selftests: run_afpackettests ======================================== -------------------- running psock_fanout test -------------------- test: control single socket test: control multiple sockets test: unique ids test: datapath 0x0 ports 8000,8002 info: count=0,0, expect=0,0 info: count=15,5, expect=15,5 info: count=20,5, expect=20,5 test: datapath 0x1000 ports 8000,8002 info: count=0,0, expect=0,0 info: count=15,5, expect=15,5 info: count=20,15, expect=20,15 test: datapath 0x1 ports 8000,8002 info: count=0,0, expect=0,0 info: count=10,10, expect=10,10 info: count=17,18, expect=18,17 test: datapath 0x3 ports 8000,8002 info: count=0,0, expect=0,0 info: count=15,5, expect=15,5 info: count=20,15, expect=20,15 test: datapath 0x6 ports 8000,8002 info: count=0,0, expect=0,0 info: count=5,15, expect=15,5 info: count=20,15, expect=15,20 test: datapath 0x7 ports 8000,8002 info: count=0,0, expect=0,0 info: count=5,15, expect=15,5 info: count=20,15, expect=15,20 test: datapath 0x2 ports 8000,8002 info: count=0,0, expect=0,0 info: count=20,0, expect=20,0 info: count=20,0, expect=20,0 test: datapath 0x2 ports 8000,8002 info: count=0,0, expect=0,0 info: count=0,20, expect=0,20 info: count=0,20, expect=0,20 test: datapath 0x2000 ports 8000,8002 info: count=0,0, expect=0,0 info: count=20,20, expect=20,20 info: count=20,20, expect=20,20 OK. All tests passed [PASS] -------------------- running psock_tpacket test -------------------- test: TPACKET_V1 with PACKET_RX_RING .................... 100 pkts (14200 bytes) test: TPACKET_V1 with PACKET_TX_RING .................... 100 pkts (14200 bytes) test: TPACKET_V2 with PACKET_RX_RING .................... 100 pkts (14200 bytes) test: TPACKET_V2 with PACKET_TX_RING .................... 100 pkts (14200 bytes) test: TPACKET_V3 with PACKET_RX_RING .................... 100 pkts (14200 bytes) test: TPACKET_V3 with PACKET_TX_RING .................... 100 pkts (14200 bytes) OK. All tests passed [PASS] ok 1..7 selftests: run_afpackettests [PASS] selftests: test_bpf.sh ======================================== test_bpf: ok ok 1..8 selftests: test_bpf.sh [PASS] selftests: netdevice.sh ======================================== SKIP: eth0: interface already up Cannot get device udp-fragmentation-offload settings: Operation not supported PASS: eth0: ethtool list features PASS: eth0: ethtool dump PASS: eth0: ethtool stats SKIP: eth0: interface kept up ok 1..9 selftests: netdevice.sh [PASS] selftests: rtnetlink.sh ======================================== PASS: policy routing PASS: route get PASS: tc htb hierarchy PASS: gre tunnel endpoint PASS: gretap RTNETLINK answers: Operation not supported Cannot find device "ip6gretap00" Cannot find device "ip6gretap00" Cannot find device "ip6gretap00" Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ] [ local ADDR ] [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ] [ hoplimit TTL ] [ encaplimit ELIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ] [ dscp inherit ] [ fwmark MARK ] [ dev PHYS_DEV ] [ noencap ] [ encap { fou | gue | none } ] [ encap-sport PORT ] [ encap-dport PORT ] [ [no]encap-csum ] [ [no]encap-csum6 ] [ [no]encap-remcsum ] [ erspan IDX ] Where: ADDR := IPV6_ADDRESS TTL := { 0..255 } (default=64) KEY := { DOTTED_QUAD | NUMBER } ELIM := { none | 0..255 }(default=4) TCLASS := { 0x0..0xff | inherit } FLOWLABEL := { 0x0..0xfffff | inherit } MARK := { 0x0..0xffffffff | inherit } Cannot find device "ip6gretap00" FAIL: ip6gretap Usage: ... { gre | gretap | erspan } [ remote ADDR ] [ local ADDR ] [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ] [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ [no]ignore-df ] [ dev PHYS_DEV ] [ noencap ] [ encap { fou | gue | none } ] [ encap-sport PORT ] [ encap-dport PORT ] [ [no]encap-csum ] [ [no]encap-csum6 ] [ [no]encap-remcsum ] [ external ] [ fwmark MARK ] [ erspan IDX ] Where: ADDR := { IP_ADDRESS | any } TOS := { NUMBER | inherit } TTL := { 1..255 | inherit } KEY := { DOTTED_QUAD | NUMBER } MARK := { 0x0..0xffffffff } Cannot find device "erspan00" Cannot find device "erspan00" Cannot find device "erspan00" Usage: ... { gre | gretap | erspan } [ remote ADDR ] [ local ADDR ] [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ] [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ [no]ignore-df ] [ dev PHYS_DEV ] [ noencap ] [ encap { fou | gue | none } ] [ encap-sport PORT ] [ encap-dport PORT ] [ [no]encap-csum ] [ [no]encap-csum6 ] [ [no]encap-remcsum ] [ external ] [ fwmark MARK ] [ erspan IDX ] Where: ADDR := { IP_ADDRESS | any } TOS := { NUMBER | inherit } TTL := { 1..255 | inherit } KEY := { DOTTED_QUAD | NUMBER } MARK := { 0x0..0xffffffff } Cannot find device "erspan00" Cannot find device "erspan00" Cannot find device "erspan00" FAIL: erspan Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ] [ local ADDR ] [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ] [ hoplimit TTL ] [ encaplimit ELIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ] [ dscp inherit ] [ fwmark MARK ] [ dev PHYS_DEV ] [ noencap ] [ encap { fou | gue | none } ] [ encap-sport PORT ] [ encap-dport PORT ] [ [no]encap-csum ] [ [no]encap-csum6 ] [ [no]encap-remcsum ] [ erspan IDX ] Where: ADDR := IPV6_ADDRESS TTL := { 0..255 } (default=64) KEY := { DOTTED_QUAD | NUMBER } ELIM := { none | 0..255 }(default=4) TCLASS := { 0x0..0xff | inherit } FLOWLABEL := { 0x0..0xfffff | inherit } MARK := { 0x0..0xffffffff | inherit } Cannot find device "ip6erspan00" Cannot find device "ip6erspan00" Cannot find device "ip6erspan00" Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ] [ local ADDR ] [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ] [ hoplimit TTL ] [ encaplimit ELIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ] [ dscp inherit ] [ fwmark MARK ] [ dev PHYS_DEV ] [ noencap ] [ encap { fou | gue | none } ] [ encap-sport PORT ] [ encap-dport PORT ] [ [no]encap-csum ] [ [no]encap-csum6 ] [ [no]encap-remcsum ] [ erspan IDX ] Where: ADDR := IPV6_ADDRESS TTL := { 0..255 } (default=64) KEY := { DOTTED_QUAD | NUMBER } ELIM := { none | 0..255 }(default=4) TCLASS := { 0x0..0xff | inherit } FLOWLABEL := { 0x0..0xfffff | inherit } MARK := { 0x0..0xffffffff | inherit } Cannot find device "ip6erspan00" Cannot find device "ip6erspan00" Cannot find device "ip6erspan00" Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ] [ local ADDR ] [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ] [ hoplimit TTL ] [ encaplimit ELIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ] [ dscp inherit ] [ fwmark MARK ] [ dev PHYS_DEV ] [ noencap ] [ encap { fou | gue | none } ] [ encap-sport PORT ] [ encap-dport PORT ] [ [no]encap-csum ] [ [no]encap-csum6 ] [ [no]encap-remcsum ] [ erspan IDX ] Where: ADDR := IPV6_ADDRESS TTL := { 0..255 } (default=64) KEY := { DOTTED_QUAD | NUMBER } ELIM := { none | 0..255 }(default=4) TCLASS := { 0x0..0xff | inherit } FLOWLABEL := { 0x0..0xfffff | inherit } MARK := { 0x0..0xffffffff | inherit } Cannot find device "ip6erspan00" FAIL: ip6erspan PASS: bridge setup PASS: ipv6 addrlabel PASS: set ifalias c6b3bc4a-f88f-45ef-89d9-c5f0525d2985 for test-dummy0 PASS: vrf PASS: vxlan PASS: fou PASS: macsec ok 1..10 selftests: rtnetlink.sh [PASS] selftests: fib_tests.sh ======================================== Single path route test Start point TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] Nexthop device deleted TEST: IPv4 fibmatch - no route [ OK ] TEST: IPv6 fibmatch - no route [ OK ] Multipath route test Start point TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] One nexthop device deleted TEST: IPv4 - multipath route removed on delete [ OK ] TEST: IPv6 - multipath down to single path [ OK ] Second nexthop device deleted TEST: IPv6 - no route [ OK ] Single path, admin down Start point TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] Route deleted on down TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] Admin down multipath Verify start point TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] One device down, one up TEST: IPv4 fibmatch on down device [ OK ] TEST: IPv6 fibmatch on down device [ OK ] TEST: IPv4 fibmatch on up device [ OK ] TEST: IPv6 fibmatch on up device [ OK ] TEST: IPv4 flags on down device [ OK ] TEST: IPv6 flags on down device [ OK ] TEST: IPv4 flags on up device [ OK ] TEST: IPv6 flags on up device [ OK ] Other device down and up TEST: IPv4 fibmatch on down device [ OK ] TEST: IPv6 fibmatch on down device [ OK ] TEST: IPv4 fibmatch on up device [ OK ] TEST: IPv6 fibmatch on up device [ OK ] TEST: IPv4 flags on down device [ OK ] TEST: IPv6 flags on down device [ OK ] TEST: IPv4 flags on up device [ OK ] TEST: IPv6 flags on up device [ OK ] Both devices down TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] Local carrier tests - single path Start point TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] TEST: IPv4 - no linkdown flag [ OK ] TEST: IPv6 - no linkdown flag [ OK ] Carrier off on nexthop TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] TEST: IPv4 - linkdown flag set [ OK ] TEST: IPv6 - linkdown flag set [ OK ] Route to local address with carrier down TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] TEST: IPv4 linkdown flag set [ OK ] TEST: IPv6 linkdown flag set [ OK ] Single path route carrier test Start point TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] TEST: IPv4 no linkdown flag [ OK ] TEST: IPv6 no linkdown flag [ OK ] Carrier down TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] TEST: IPv4 linkdown flag set [ OK ] TEST: IPv6 linkdown flag set [ OK ] Second address added with carrier down TEST: IPv4 fibmatch [ OK ] TEST: IPv6 fibmatch [ OK ] TEST: IPv4 linkdown flag set [ OK ] TEST: IPv6 linkdown flag set [ OK ] IPv4 nexthop tests <<< write me >>> IPv6 nexthop tests TEST: Directly connected nexthop, unicast address [ OK ] TEST: Directly connected nexthop, unicast address with device [ OK ] TEST: Gateway is linklocal address [ OK ] TEST: Gateway is linklocal address, no device [ OK ] TEST: Gateway can not be local unicast address [ OK ] TEST: Gateway can not be local unicast address, with device [ OK ] TEST: Gateway can not be a local linklocal address [ OK ] TEST: Gateway can be local address in a VRF [ OK ] TEST: Gateway can be local address in a VRF, with device [ OK ] TEST: Gateway can be local linklocal address in a VRF [ OK ] TEST: Redirect to VRF lookup [ OK ] TEST: VRF route, gateway can be local address in default VRF [ OK ] TEST: VRF route, gateway can not be a local address [ OK ] TEST: VRF route, gateway can not be a local addr with device [ OK ] ok 1..11 selftests: fib_tests.sh [PASS] selftests: fib-onlink-tests.sh ======================================== ######################################## Configuring interfaces ###################################################################### TEST SECTION: IPv4 onlink ###################################################################### ######################################### TEST SUBSECTION: Valid onlink commands ######################################### TEST SUBSECTION: default VRF - main table COMMAND: ip ro add table 254 169.254.101.1/32 via 169.254.1.254 dev veth1 onlink TEST: unicast connected [ OK ] COMMAND: ip ro add table 254 169.254.101.2/32 via 169.254.11.254 dev veth1 onlink TEST: unicast recursive [ OK ] ######################################### TEST SUBSECTION: VRF lisa COMMAND: ip ro add table 1101 169.254.102.1/32 via 169.254.5.254 dev veth5 onlink TEST: unicast connected [ OK ] COMMAND: ip ro add table 1101 169.254.102.2/32 via 169.254.12.254 dev veth5 onlink TEST: unicast recursive [ OK ] ######################################### TEST SUBSECTION: VRF device, PBR table COMMAND: ip ro add table 101 169.254.102.3/32 via 169.254.5.254 dev veth5 onlink TEST: unicast connected [ OK ] COMMAND: ip ro add table 101 169.254.102.4/32 via 169.254.12.254 dev veth5 onlink TEST: unicast recursive [ OK ] ######################################### TEST SUBSECTION: default VRF - main table - multipath COMMAND: ip ro add table 254 169.254.101.5/32 nexthop via 169.254.1.254 dev veth1 onlink nexthop via 169.254.3.254 dev veth3 onlink TEST: unicast connected - multipath [ OK ] COMMAND: ip ro add table 254 169.254.101.6/32 nexthop via 169.254.11.254 dev veth1 onlink nexthop via 169.254.12.254 dev veth3 onlink TEST: unicast recursive - multipath [ OK ] COMMAND: ip ro add table 254 169.254.101.7/32 nexthop via 169.254.1.254 dev veth1 nexthop via 169.254.3.254 dev veth3 onlink TEST: unicast connected - multipath onlink first only [ OK ] COMMAND: ip ro add table 254 169.254.101.8/32 nexthop via 169.254.1.254 dev veth1 onlink nexthop via 169.254.3.254 dev veth3 TEST: unicast connected - multipath onlink second only [ OK ] ######################################### TEST SUBSECTION: Invalid onlink commands COMMAND: ip ro add table 254 169.254.101.11/32 via 169.254.1.1 dev veth1 onlink Error: Nexthop has invalid gateway. TEST: Invalid gw - local unicast address [ OK ] COMMAND: ip ro add table 1101 169.254.102.11/32 via 169.254.5.1 dev veth5 onlink Error: Nexthop has invalid gateway. TEST: Invalid gw - local unicast address, VRF [ OK ] COMMAND: ip ro add table 254 169.254.101.101/32 via 169.254.1.1 onlink RTNETLINK answers: No such device TEST: No nexthop device given [ OK ] COMMAND: ip ro add table 254 169.254.101.102/32 via 169.254.3.1 dev veth1 onlink Error: Nexthop has invalid gateway. TEST: Gateway resolves to wrong nexthop device [ OK ] COMMAND: ip ro add table 1101 169.254.102.103/32 via 169.254.7.1 dev veth5 onlink Error: Nexthop has invalid gateway. TEST: Gateway resolves to wrong nexthop device - VRF [ OK ] ###################################################################### TEST SECTION: IPv6 onlink ###################################################################### ######################################### TEST SUBSECTION: Valid onlink commands ######################################### TEST SUBSECTION: default VRF - main table COMMAND: ip -6 ro add table 254 2001:db8:101::1/128 via 2001:db8:101::64 dev veth1 onlink TEST: unicast connected [ OK ] COMMAND: ip -6 ro add table 254 2001:db8:101::2/128 via 2001:db8:11::64 dev veth1 onlink Error: Nexthop has invalid gateway or device mismatch. TEST: unicast recursive [FAIL] COMMAND: ip -6 ro add table 254 2001:db8:101::3/128 via ::ffff:10.1.1.254 dev veth1 onlink Error: Nexthop has invalid gateway or device mismatch. TEST: v4-mapped [FAIL] ######################################### TEST SUBSECTION: VRF lisa COMMAND: ip -6 ro add table 1101 2001:db8:102::1/128 via 2001:db8:501::64 dev veth5 onlink TEST: unicast connected [ OK ] COMMAND: ip -6 ro add table 1101 2001:db8:102::2/128 via 2001:db8:12::64 dev veth5 onlink TEST: unicast recursive [ OK ] COMMAND: ip -6 ro add table 1101 2001:db8:102::3/128 via ::ffff:10.2.1.254 dev veth5 onlink TEST: v4-mapped [ OK ] ######################################### TEST SUBSECTION: VRF device, PBR table COMMAND: ip -6 ro add table 101 2001:db8:102::4/128 via 2001:db8:501::64 dev veth5 onlink TEST: unicast connected [ OK ] COMMAND: ip -6 ro add table 101 2001:db8:102::5/128 via 2001:db8:12::64 dev veth5 onlink TEST: unicast recursive [ OK ] COMMAND: ip -6 ro add table 101 2001:db8:102::6/128 via ::ffff:10.2.1.254 dev veth5 onlink TEST: v4-mapped [ OK ] ######################################### TEST SUBSECTION: default VRF - main table - multipath COMMAND: ip -6 ro add table 254 2001:db8:101::4/128 onlink nexthop via 2001:db8:101::64 dev veth1 nexthop via 2001:db8:301::64 dev veth3 TEST: unicast connected - multipath onlink [ OK ] COMMAND: ip -6 ro add table 254 2001:db8:101::5/128 onlink nexthop via 2001:db8:11::64 dev veth1 nexthop via 2001:db8:12::64 dev veth3 Error: Nexthop has invalid gateway or device mismatch. TEST: unicast recursive - multipath onlink [FAIL] COMMAND: ip -6 ro add table 254 2001:db8:101::6/128 onlink nexthop via ::ffff:10.1.1.254 dev veth1 nexthop via ::ffff:10.2.1.254 dev veth3 Error: Nexthop has invalid gateway or device mismatch. TEST: v4-mapped - multipath onlink [FAIL] COMMAND: ip -6 ro add table 254 2001:db8:101::7/128 nexthop via 2001:db8:101::64 dev veth1 onlink nexthop via 2001:db8:301::64 dev veth3 onlink TEST: unicast connected - multipath onlink both nexthops [ OK ] COMMAND: ip -6 ro add table 254 2001:db8:101::8/128 nexthop via 2001:db8:101::64 dev veth1 onlink nexthop via 2001:db8:301::64 dev veth3 TEST: unicast connected - multipath onlink first only [ OK ] COMMAND: ip -6 ro add table 254 2001:db8:101::9/128 nexthop via 2001:db8:101::64 dev veth1 nexthop via 2001:db8:301::64 dev veth3 onlink TEST: unicast connected - multipath onlink second only [ OK ] ######################################### TEST SUBSECTION: Invalid onlink commands COMMAND: ip -6 ro add table 254 2001:db8:101::11/128 via 2001:db8:101::1 dev veth1 onlink Error: Gateway can not be a local address. TEST: Invalid gw - local unicast address [ OK ] COMMAND: ip -6 ro add table 254 2001:db8:101::12/128 via fe80::d84e:54ff:fe7e:2e3b dev veth1 onlink Error: Gateway can not be a local address. TEST: Invalid gw - local linklocal address [ OK ] COMMAND: ip -6 ro add table 254 2001:db8:101::12/128 via ff02::1 dev veth1 onlink Error: Invalid gateway address. TEST: Invalid gw - multicast address [ OK ] COMMAND: ip -6 ro add table 1101 2001:db8:102::11/128 via 2001:db8:501::1 dev veth5 onlink Error: Gateway can not be a local address. TEST: Invalid gw - local unicast address, VRF [ OK ] COMMAND: ip -6 ro add table 1101 2001:db8:102::12/128 via fe80::4c34:ff:feef:891b dev veth5 onlink Error: Gateway can not be a local address. TEST: Invalid gw - local linklocal address, VRF [ OK ] COMMAND: ip -6 ro add table 1101 2001:db8:102::12/128 via ff02::1 dev veth5 onlink Error: Invalid gateway address. TEST: Invalid gw - multicast address, VRF [ OK ] COMMAND: ip -6 ro add table 254 2001:db8:101::101/128 via 2001:db8:101::1 onlink Error: Nexthop device required for onlink. TEST: No nexthop device given [ OK ] COMMAND: ip -6 ro add table 1101 2001:db8:102::103/128 via 2001:db8:701::64 dev veth5 onlink Error: Nexthop has invalid gateway or device mismatch. TEST: Gateway resolves to wrong nexthop device - VRF [ OK ] Tests passed: 34 Tests failed: 4 ok 1..12 selftests: fib-onlink-tests.sh [PASS] selftests: in_netns.sh ======================================== No command specified not ok 1..13 selftests: in_netns.sh [FAIL] selftests: pmtu.sh ======================================== TEST: vti6: PMTU exceptions [ OK ] TEST: vti4: PMTU exceptions [ OK ] TEST: vti4: default MTU assignment [ OK ] TEST: vti6: default MTU assignment [ OK ] TEST: vti4: MTU setting on link creation [ OK ] TEST: vti6: MTU setting on link creation [ OK ] TEST: vti6: MTU changes on link changes [ OK ] ok 1..14 selftests: pmtu.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/net' 2018-04-14 20:12:00 make run_tests -C nsfs make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/nsfs' gcc -Wall -Werror owner.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/nsfs/owner gcc -Wall -Werror pidns.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/nsfs/pidns TAP version 13 selftests: owner ======================================== ok 1..1 selftests: owner [PASS] selftests: pidns ======================================== ok 1..2 selftests: pidns [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/nsfs' ignored_by_lkp powerpc test prctl test: not in Makefile 2018-04-14 20:12:01 make TARGETS=prctl make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/prctl' Makefile:14: warning: overriding recipe for target 'clean' ../lib.mk:98: warning: ignoring old recipe for target 'clean' gcc disable-tsc-ctxt-sw-stress-test.c -o disable-tsc-ctxt-sw-stress-test gcc disable-tsc-on-off-stress-test.c -o disable-tsc-on-off-stress-test gcc disable-tsc-test.c -o disable-tsc-test make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/prctl' 2018-04-14 20:12:02 make run_tests -C prctl make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/prctl' Makefile:14: warning: overriding recipe for target 'clean' ../lib.mk:98: warning: ignoring old recipe for target 'clean' TAP version 13 selftests: disable-tsc-ctxt-sw-stress-test ======================================== [No further output means we're allright] ok 1..1 selftests: disable-tsc-ctxt-sw-stress-test [PASS] selftests: disable-tsc-on-off-stress-test ======================================== [No further output means we're allright] ok 1..2 selftests: disable-tsc-on-off-stress-test [PASS] selftests: disable-tsc-test ======================================== rdtsc() == 450802892639 prctl(PR_GET_TSC, &tsc_val); tsc_val == PR_TSC_ENABLE rdtsc() == 450803136543 prctl(PR_SET_TSC, PR_TSC_ENABLE) rdtsc() == 450803151852 prctl(PR_SET_TSC, PR_TSC_SIGSEGV) rdtsc() == [ SIG_SEGV ] prctl(PR_GET_TSC, &tsc_val); tsc_val == PR_TSC_SIGSEGV prctl(PR_SET_TSC, PR_TSC_ENABLE) rdtsc() == 450803215321 ok 1..3 selftests: disable-tsc-test [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/prctl' 2018-04-14 20:12:22 make run_tests -C proc make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc' gcc -Wall -O2 proc-loadavg-001.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc/proc-loadavg-001 gcc -Wall -O2 proc-self-map-files-001.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc/proc-self-map-files-001 gcc -Wall -O2 proc-self-map-files-002.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc/proc-self-map-files-002 gcc -Wall -O2 proc-self-syscall.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc/proc-self-syscall gcc -Wall -O2 proc-self-wchan.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc/proc-self-wchan gcc -Wall -O2 proc-uptime-001.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc/proc-uptime-001 gcc -Wall -O2 proc-uptime-002.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc/proc-uptime-002 gcc -Wall -O2 read.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc/read TAP version 13 selftests: proc-loadavg-001 ======================================== not ok 1..1 selftests: proc-loadavg-001 [FAIL] selftests: proc-self-map-files-001 ======================================== ok 1..2 selftests: proc-self-map-files-001 [PASS] selftests: proc-self-map-files-002 ======================================== ok 1..3 selftests: proc-self-map-files-002 [PASS] selftests: proc-self-syscall ======================================== ok 1..4 selftests: proc-self-syscall [PASS] selftests: proc-self-wchan ======================================== ok 1..5 selftests: proc-self-wchan [PASS] selftests: proc-uptime-001 ======================================== ok 1..6 selftests: proc-uptime-001 [PASS] selftests: proc-uptime-002 ======================================== ok 1..7 selftests: proc-uptime-002 [PASS] selftests: read ======================================== ok 1..8 selftests: read [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/proc' 2018-04-14 20:12:26 make run_tests -C pstore make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/pstore' TAP version 13 selftests: pstore_tests ======================================== === Pstore unit tests (pstore_tests) === UUID=9d51ca74-1ca4-412c-af9e-d9736d78b9bc Checking pstore backend is registered ... ok backend=ramoops cmdline=ip=::::vm-lkp-nex04-4G-1::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-nex04-4G-1/kernel_selftests-kselftests-02-debian-x86_64-2016-08-31.cgz-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa-20180414-85778-1b4fcfw-0.yaml ARCH=x86_64 kconfig=x86_64-rhel branch=linux-devel/devel-spot-201804141450 commit=5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa BOOT_IMAGE=/pkg/linux/x86_64-rhel/gcc-7/5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/vmlinuz-4.16.0-11838-g5ff9c1a erst_disable max_uptime=3600 RESULT_ROOT=/result/kernel_selftests/kselftests-02/vm-lkp-nex04-4G/debian-x86_64-2016-08-31.cgz/x86_64-rhel/gcc-7/5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/0 LKP_SERVER=inn debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw rcuperf.shutdown=0 Checking pstore console is registered ... ok Checking /dev/pmsg0 exists ... ok Writing unique string to /dev/pmsg0 ... ok ok 1..1 selftests: pstore_tests [PASS] selftests: pstore_post_reboot_tests ======================================== === Pstore unit tests (pstore_post_reboot_tests) === UUID=0d190e8f-64e6-41b8-b742-61384ad8ba4f Checking pstore backend is registered ... ok backend=ramoops cmdline=ip=::::vm-lkp-nex04-4G-1::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-nex04-4G-1/kernel_selftests-kselftests-02-debian-x86_64-2016-08-31.cgz-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa-20180414-85778-1b4fcfw-0.yaml ARCH=x86_64 kconfig=x86_64-rhel branch=linux-devel/devel-spot-201804141450 commit=5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa BOOT_IMAGE=/pkg/linux/x86_64-rhel/gcc-7/5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/vmlinuz-4.16.0-11838-g5ff9c1a erst_disable max_uptime=3600 RESULT_ROOT=/result/kernel_selftests/kselftests-02/vm-lkp-nex04-4G/debian-x86_64-2016-08-31.cgz/x86_64-rhel/gcc-7/5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/0 LKP_SERVER=inn debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw rcuperf.shutdown=0 pstore_crash_test has not been executed yet. we skip further tests. ok 1..2 selftests: pstore_post_reboot_tests [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/pstore' ptp test: not in Makefile 2018-04-14 20:12:26 make TARGETS=ptp make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/ptp' Makefile:10: warning: overriding recipe for target 'clean' ../lib.mk:98: warning: ignoring old recipe for target 'clean' gcc -I../../../../usr/include/ testptp.c -lrt -o testptp make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/ptp' 2018-04-14 20:12:26 make run_tests -C ptp make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/ptp' Makefile:10: warning: overriding recipe for target 'clean' ../lib.mk:98: warning: ignoring old recipe for target 'clean' TAP version 13 selftests: testptp ======================================== opening /dev/ptp0: No such file or directory not ok 1..1 selftests: testptp [FAIL] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/ptp' 2018-04-14 20:12:27 make run_tests -C ptrace make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/ptrace' gcc -iquote../../../../include/uapi -Wall peeksiginfo.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/ptrace/peeksiginfo TAP version 13 selftests: peeksiginfo ======================================== PASS ok 1..1 selftests: peeksiginfo [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/ptrace' 2018-04-14 20:12:27 make run_tests -C seccomp make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/seccomp' gcc -Wl,-no-as-needed -Wall -lpthread seccomp_bpf.c -o seccomp_bpf gcc -Wl,-no-as-needed -Wall seccomp_benchmark.c -o seccomp_benchmark TAP version 13 selftests: seccomp_bpf ======================================== [==========] Running 64 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.log_all [ OK ] global.log_all [ 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.KILL_thread [==========] Running 64 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.log_all [ OK ] global.log_all [ 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.KILL_thread [ OK ] global.KILL_thread [ RUN ] global.KILL_process [ OK ] global.KILL_process [ 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 ] global.ERRNO_order [ OK ] global.ERRNO_order [ 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 ] precedence.log_is_fifth [ OK ] precedence.log_is_fifth [ RUN ] precedence.log_is_fifth_in_any_order [ OK ] precedence.log_is_fifth_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.ptrace_syscall_redirected [ OK ] TRACE_syscall.ptrace_syscall_redirected [ RUN ] TRACE_syscall.ptrace_syscall_dropped [ OK ] TRACE_syscall.ptrace_syscall_dropped [ 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.detect_seccomp_filter_flags [ OK ] global.detect_seccomp_filter_flags [ 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 [ RUN ] global.filter_flag_log [ OK ] global.filter_flag_log [ RUN ] global.get_action_avail [ OK ] global.get_action_avail [ RUN ] global.get_metadata [ OK ] global.get_metadata [==========] 64 / 64 tests passed. [ PASSED ] ok 1..1 selftests: seccomp_bpf [PASS] selftests: seccomp_benchmark ======================================== Calibrating reasonable sample size... 1523707950.821503104 - 1523707950.821471188 = 31916 1523707950.821577088 - 1523707950.821516585 = 60503 1523707950.821700709 - 1523707950.821579974 = 120735 1523707950.821944769 - 1523707950.821703441 = 241328 1523707950.822463909 - 1523707950.821947474 = 516435 1523707950.824035104 - 1523707950.822468182 = 1566922 1523707950.828286711 - 1523707950.824039862 = 4246849 1523707950.834814531 - 1523707950.828293493 = 6521038 1523707950.845480238 - 1523707950.834820908 = 10659330 1523707950.870662552 - 1523707950.845488969 = 25173583 1523707950.915252239 - 1523707950.870670214 = 44582025 1523707951.007957272 - 1523707950.915260702 = 92696570 1523707951.138099094 - 1523707951.007983342 = 130115752 1523707951.404924573 - 1523707951.138160583 = 266763990 1523707951.927659544 - 1523707951.404939739 = 522719805 1523707953.016862508 - 1523707951.927671379 = 1089191129 1523707955.242908649 - 1523707953.016877172 = 2226031477 1523707959.404191837 - 1523707955.242917285 = 4161274552 1523707967.757718537 - 1523707959.404202849 = 8353515688 Benchmarking 8388608 samples... 25.231693776 - 16.748615400 = 8483078376 getpid native: 1011 ns 35.744102138 - 25.231891218 = 10512210920 getpid RET_ALLOW: 1253 ns Estimated seccomp overhead per syscall: 242 ns ok 1..2 selftests: seccomp_benchmark [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/seccomp' 2018-04-14 20:13:06 make run_tests -C sigaltstack make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sigaltstack' gcc -Wall sas.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sigaltstack/sas TAP version 13 selftests: sas ======================================== ok 1 Initial sigaltstack state was SS_DISABLE # [RUN] signal USR1 ok 2 sigaltstack is disabled in sighandler # [RUN] switched to user ctx # [RUN] signal USR2 # [OK] Stack preserved ok 3 sigaltstack is still SS_AUTODISARM after signal Pass 3 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..3 ok 1..1 selftests: sas [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sigaltstack' 2018-04-14 20:13:07 make run_tests -C size make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/size' gcc -static -ffreestanding -nostartfiles -s get_size.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/size/get_size TAP version 13 selftests: get_size ======================================== TAP version 13 # Testing system size. ok 1 get runtime memory use # System runtime memory report (units in Kilobytes): --- Total: 4035468 Free: 2058044 Buffer: 0 In use: 1977424 ... 1..1 ok 1..1 selftests: get_size [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/size' 2018-04-14 20:13:07 make run_tests -C splice make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/splice' gcc default_file_splice_read.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/splice/default_file_splice_read TAP version 13 selftests: default_file_splice_read.sh ======================================== ok 1..1 selftests: default_file_splice_read.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/splice' 2018-04-14 20:13:07 make run_tests -C static_keys make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/static_keys' TAP version 13 selftests: test_static_keys.sh ======================================== static_key: ok ok 1..1 selftests: test_static_keys.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/static_keys' 2018-04-14 20:13:07 make run_tests -C sync make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync' gcc -c sync_alloc.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_alloc.o gcc -c sync_fence.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_fence.o gcc -c sync_merge.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_merge.o gcc -c sync_wait.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_wait.o gcc -c sync_stress_parallelism.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_stress_parallelism.o gcc -c sync_stress_consumer.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_stress_consumer.o gcc -c sync_stress_merge.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_stress_merge.o gcc -c sync_test.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_test.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ gcc -c sync.c -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ gcc -o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_test /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_test.o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync.o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_alloc.o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_fence.o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_merge.o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_wait.o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_stress_parallelism.o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_stress_consumer.o /usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync/sync_stress_merge.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -pthread TAP version 13 selftests: sync_test ======================================== # [RUN] Testing sync framework ok 1 [RUN] test_alloc_timeline ok 2 [RUN] test_alloc_fence ok 3 [RUN] test_alloc_fence_negative ok 4 [RUN] test_fence_one_timeline_wait ok 5 [RUN] test_fence_one_timeline_merge ok 6 [RUN] test_fence_merge_same_fence ok 7 [RUN] test_fence_multi_timeline_wait ok 8 [RUN] test_stress_two_threads_shared_timeline ok 9 [RUN] test_consumer_stress_multi_producer_single_consumer ok 10 [RUN] test_merge_stress_random_merge Pass 10 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..10 ok 1..1 selftests: sync_test [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sync' 2018-04-14 20:13:11 make run_tests -C sysctl make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sysctl' TAP version 13 selftests: sysctl.sh ======================================== Checking production write strict setting ... ok Sat Apr 14 20:13:11 CST 2018 Running test: sysctl_test_0001 - run #0 == Testing sysctl behavior against /proc/sys/debug/test_sysctl/int_0001 == 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 Checking ignoring spaces up to PAGE_SIZE works on write ...ok Checking passing PAGE_SIZE of spaces fails on write ...ok Sat Apr 14 20:13:12 CST 2018 Running test: sysctl_test_0002 - run #0 == Testing sysctl behavior against /proc/sys/debug/test_sysctl/string_0001 == 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 Sat Apr 14 20:13:12 CST 2018 Running test: sysctl_test_0003 - run #0 == Testing sysctl behavior against /proc/sys/debug/test_sysctl/int_0002 == 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 Checking ignoring spaces up to PAGE_SIZE works on write ...ok Checking passing PAGE_SIZE of spaces fails on write ...ok Testing INT_MAX works ...ok Testing INT_MAX + 1 will fail as expected...ok Testing negative values will work as expected...ok Sat Apr 14 20:13:12 CST 2018 Running test: sysctl_test_0004 - run #0 == Testing sysctl behavior against /proc/sys/debug/test_sysctl/uint_0001 == 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 Checking ignoring spaces up to PAGE_SIZE works on write ...ok Checking passing PAGE_SIZE of spaces fails on write ...ok Testing UINT_MAX works ...ok Testing UINT_MAX + 1 will fail as expected...ok Testing negative values will not work as expected ...ok Sat Apr 14 20:13:12 CST 2018 Running test: sysctl_test_0005 - run #0 Testing array works as expected ... ok Testing skipping trailing array elements works ... ok Testing PAGE_SIZE limit on array works ... ok Testing exceeding PAGE_SIZE limit fails as expected ... Files - and /proc/sys/debug/test_sysctl/int_0003 differ ok Sat Apr 14 20:13:12 CST 2018 Running test: sysctl_test_0005 - run #1 Testing array works as expected ... ok Testing skipping trailing array elements works ... ok Testing PAGE_SIZE limit on array works ... ok Testing exceeding PAGE_SIZE limit fails as expected ... Files - and /proc/sys/debug/test_sysctl/int_0003 differ ok Sat Apr 14 20:13:12 CST 2018 Running test: sysctl_test_0005 - run #2 Testing array works as expected ... ok Testing skipping trailing array elements works ... ok Testing PAGE_SIZE limit on array works ... ok Testing exceeding PAGE_SIZE limit fails as expected ... Files - and /proc/sys/debug/test_sysctl/int_0003 differ ok ok 1..1 selftests: sysctl.sh [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-5ff9c1a3dd92d2d8eeea6bb15b3502cfcc0e26fa/tools/testing/selftests/sysctl'