KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48 2018-05-29 05:32:32 ln -sf /usr/bin/gcc-5 /usr/bin/gcc 2018-05-29 05:32:32 ln -sf /usr/bin/clang-7 /usr/bin/clang 2018-05-29 05:32:32 ln -sf /usr/bin/llc-7 /usr/bin/llc media_tests test: not in Makefile 2018-05-29 05:32:32 make TARGETS=media_tests make[1]: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/media_tests' ignored_by_lkp media_tests test 2018-05-29 05:32:33 make run_tests -C membarrier make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/membarrier' gcc -g -I../../../../usr/include/ membarrier_test.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/membarrier/membarrier_test TAP version 13 selftests: membarrier_test ======================================== TAP version 13 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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/membarrier' 2018-05-29 05:32:34 make run_tests -C memfd make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/memfd' 2018-05-29 05:32:40 make run_tests -C memory-hotplug make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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 9 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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/memory-hotplug' 2018-05-29 05:32:43 make run_tests -C mount make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/mount' gcc -Wall -O2 unprivileged-remount-test.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/mount' 2018-05-29 05:32:44 make run_tests -C mqueue make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/mqueue' gcc -O2 mq_open_tests.c -lrt -lpthread -lpopt -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/mqueue/mq_open_tests gcc -O2 mq_perf_tests.c -lrt -lpthread -lpopt -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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: 39.149179715s total time 3914 nsec/msg Recv msg: 39.718132232s total time 3971 nsec/msg Test #2a: Time send/recv message, queue full, constant prio : (100000 iterations) Filling queue...done. 0.137600284s Testing...done. Send msg: 0.384354719s total time 3843 nsec/msg Recv msg: 0.384115398s total time 3841 nsec/msg Draining queue...done. 0.159683124s Test #2b: Time send/recv message, queue full, increasing prio : (100000 iterations) Filling queue...done. 0.185617657s Testing...done. Send msg: 0.452110070s total time 4521 nsec/msg Recv msg: 0.439610706s total time 4396 nsec/msg Draining queue...done. 0.138620236s Test #2c: Time send/recv message, queue full, decreasing prio : (100000 iterations) Filling queue...done. 0.152840756s Testing...done. Send msg: 0.400913367s total time 4009 nsec/msg Recv msg: 0.387995370s total time 3879 nsec/msg Draining queue...done. 0.138004594s Test #2d: Time send/recv message, queue full, random prio : (100000 iterations) Filling queue...done. 0.168336890s Testing...done. Send msg: 0.420051996s total time 4200 nsec/msg Recv msg: 0.398865894s total time 3988 nsec/msg Draining queue...done. 0.152730393s make: Leaving directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/mqueue' 2018-05-29 05:34:36 make run_tests -C net make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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=5,15, expect=15,5 info: count=5,20, expect=20,5 test: datapath 0x1000 ports 8000,8002 info: count=0,0, expect=0,0 info: count=5,15, expect=15,5 info: count=15,20, 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 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" RTNETLINK answers: Operation not supported Cannot find device "ip6gretap00" FAIL: ip6gretap PASS: erspan RTNETLINK answers: Operation not supported Cannot find device "ip6erspan00" Cannot find device "ip6erspan00" Cannot find device "ip6erspan00" RTNETLINK answers: Operation not supported Cannot find device "ip6erspan00" Cannot find device "ip6erspan00" Cannot find device "ip6erspan00" RTNETLINK answers: Operation not supported Cannot find device "ip6erspan00" FAIL: ip6erspan PASS: bridge setup PASS: ipv6 addrlabel PASS: set ifalias 328d4f72-c325-473b-84c9-04ce8b809ff3 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::bceb:a1ff:fe22:e1a5 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::8087:18ff:fe4a:b87e 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: 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 [FAIL] vti6 tunnel created with invalid MTU 1279 TEST: vti6: MTU changes on link changes [ OK ] not ok 1..13 selftests: pmtu.sh [FAIL] make: Leaving directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/net' 2018-05-29 05:35:17 make run_tests -C nsfs make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/nsfs' gcc -Wall -Werror owner.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/nsfs/owner gcc -Wall -Werror pidns.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/nsfs' ignored_by_lkp powerpc test prctl test: not in Makefile 2018-05-29 05:35:18 make TARGETS=prctl make[1]: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/prctl' Makefile:14: warning: overriding recipe for target 'clean' ../lib.mk:97: 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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/prctl' 2018-05-29 05:35:19 make run_tests -C prctl make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/prctl' Makefile:14: warning: overriding recipe for target 'clean' ../lib.mk:97: 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() == 567577302678 prctl(PR_GET_TSC, &tsc_val); tsc_val == PR_TSC_ENABLE rdtsc() == 567577715302 prctl(PR_SET_TSC, PR_TSC_ENABLE) rdtsc() == 567577794596 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() == 567578101258 ok 1..3 selftests: disable-tsc-test [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/prctl' 2018-05-29 05:35:40 make run_tests -C pstore make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/pstore' TAP version 13 selftests: pstore_tests ======================================== === Pstore unit tests (pstore_tests) === UUID=fe130bdf-7fb8-4076-b1d7-2a3e6c9581aa Checking pstore backend is registered ... ok backend=ramoops cmdline=ip=::::vm-lkp-nex04-4G-8::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-nex04-4G-8/kernel_selftests-kselftests-02-debian-x86_64-2016-08-31.cgz-b4331a681822b420511b3258f1c3db35001fde48-20180529-10968-1tkr17r-0.yaml ARCH=x86_64 kconfig=x86_64-fedora-25 branch=linus/master commit=b4331a681822b420511b3258f1c3db35001fde48 BOOT_IMAGE=/pkg/linux/x86_64-fedora-25/gcc-7/b4331a681822b420511b3258f1c3db35001fde48/vmlinuz-4.16.0-07301-gb4331a6 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-fedora-25/gcc-7/b4331a681822b420511b3258f1c3db35001fde48/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=d2bcc481-4e57-420c-a72b-0f141fb233a3 Checking pstore backend is registered ... ok backend=ramoops cmdline=ip=::::vm-lkp-nex04-4G-8::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-nex04-4G-8/kernel_selftests-kselftests-02-debian-x86_64-2016-08-31.cgz-b4331a681822b420511b3258f1c3db35001fde48-20180529-10968-1tkr17r-0.yaml ARCH=x86_64 kconfig=x86_64-fedora-25 branch=linus/master commit=b4331a681822b420511b3258f1c3db35001fde48 BOOT_IMAGE=/pkg/linux/x86_64-fedora-25/gcc-7/b4331a681822b420511b3258f1c3db35001fde48/vmlinuz-4.16.0-07301-gb4331a6 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-fedora-25/gcc-7/b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/pstore' ptp test: not in Makefile 2018-05-29 05:35:41 make TARGETS=ptp make[1]: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/ptp' Makefile:10: warning: overriding recipe for target 'clean' ../lib.mk:97: 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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/ptp' 2018-05-29 05:35:42 make run_tests -C ptp make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/ptp' Makefile:10: warning: overriding recipe for target 'clean' ../lib.mk:97: 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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/ptp' 2018-05-29 05:35:42 make run_tests -C ptrace make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/ptrace' gcc -iquote../../../../include/uapi -Wall peeksiginfo.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/ptrace' 2018-05-29 05:35:42 make run_tests -C seccomp make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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... 1527543347.412593512 - 1527543347.412551621 = 41891 1527543347.412665626 - 1527543347.412607746 = 57880 1527543347.412784265 - 1527543347.412668340 = 115925 1527543347.413038461 - 1527543347.412786853 = 251608 1527543347.413507582 - 1527543347.413041396 = 466186 1527543347.414462602 - 1527543347.413510153 = 952449 1527543347.416372680 - 1527543347.414465708 = 1906972 1527543347.427408241 - 1527543347.416376469 = 11031772 1527543347.451742011 - 1527543347.427413780 = 24328231 1527543347.484545041 - 1527543347.451748523 = 32796518 1527543347.560531975 - 1527543347.484553277 = 75978698 1527543347.720410866 - 1527543347.560540332 = 159870534 1527543347.913019139 - 1527543347.720419534 = 192599605 1527543348.237418059 - 1527543347.913028904 = 324389155 1527543348.741486726 - 1527543348.237431856 = 504054870 1527543349.749452344 - 1527543348.741499934 = 1007952410 1527543351.822257119 - 1527543349.749493585 = 2072763534 1527543356.607845179 - 1527543351.822270796 = 4785574383 1527543364.940378682 - 1527543356.608013671 = 8332365011 Benchmarking 8388608 samples... 23.026243838 - 15.250391754 = 7775852084 getpid native: 926 ns 33.285300787 - 23.026609276 = 10258691511 getpid RET_ALLOW: 1222 ns Estimated seccomp overhead per syscall: 296 ns ok 1..2 selftests: seccomp_benchmark [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/seccomp' 2018-05-29 05:36:24 make run_tests -C sigaltstack make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sigaltstack' gcc -Wall sas.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sigaltstack/sas TAP version 13 selftests: sas ======================================== TAP version 13 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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sigaltstack' 2018-05-29 05:36:25 make run_tests -C size make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/size' gcc -static -ffreestanding -nostartfiles -s get_size.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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: 4038480 Free: 1596772 Buffer: 0 In use: 2441708 ... 1..1 ok 1..1 selftests: get_size [PASS] make: Leaving directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/size' 2018-05-29 05:36:25 make run_tests -C splice make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/splice' gcc default_file_splice_read.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/splice' 2018-05-29 05:36:25 make run_tests -C static_keys make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/static_keys' 2018-05-29 05:36:26 make run_tests -C sync make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync' gcc -c sync_alloc.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_alloc.o gcc -c sync_fence.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_fence.o gcc -c sync_merge.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_merge.o gcc -c sync_wait.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_wait.o gcc -c sync_stress_parallelism.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_stress_parallelism.o gcc -c sync_stress_consumer.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_stress_consumer.o gcc -c sync_stress_merge.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_stress_merge.o gcc -c sync_test.c -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ gcc -o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_test /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_test.o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync.o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_alloc.o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_fence.o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_merge.o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_wait.o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_stress_parallelism.o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync/sync_stress_consumer.o /usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/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 ======================================== TAP version 13 # [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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sync' 2018-05-29 05:36:32 make run_tests -C sysctl make: Entering directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sysctl' TAP version 13 selftests: sysctl.sh ======================================== Checking production write strict setting ... ok Tue May 29 05:36:32 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 Tue May 29 05:36:33 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 Tue May 29 05:36:33 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 Tue May 29 05:36:33 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 Tue May 29 05:36:33 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 Tue May 29 05:36:33 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 Tue May 29 05:36:33 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-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/sysctl'