#!/bin/sh export_top_env() { export suite='kernel-selftests' export testcase='kernel-selftests' export category='functional' export job_origin='kernel-selftests-bm.yaml' export queue_cmdline_keys= export queue='vip' export testbox='lkp-skl-d01' export tbox_group='lkp-skl-d01' export submit_id='630245500b9a9332c0bfc05e' export job_file='/lkp/jobs/scheduled/lkp-skl-d01/kernel-selftests-use_cases-net-fcnal-test.sh-ucode=0xf0-debian-12-x86_64-20220629.cgz-2ef23e860e765eb1dd287492206d833f04eae9df-20220821-78528-1jjf1xq-2.yaml' export id='b426e8a7411aaf7b12c6994c5ef4c92b0711304f' export queuer_version='/lkp/yujie/.src-20220819-150549' export model='Skylake' export nr_cpu=8 export memory='28G' export nr_ssd_partitions=1 export nr_hdd_partitions=4 export hdd_partitions='/dev/disk/by-id/wwn-0x50014ee20d26b072-part*' export ssd_partitions='/dev/disk/by-id/wwn-0x55cd2e404c39bfc5-part1' export swap_partitions='/dev/disk/by-id/wwn-0x55cd2e404c39bfc5-part3' export rootfs_partition='/dev/disk/by-id/wwn-0x55cd2e404c39bfc5-part2' export brand='Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz' export cpu_info='skylake i7-6700' export bios_version='1.2.8' export commit='2ef23e860e765eb1dd287492206d833f04eae9df' export need_kconfig_hw='{"PTP_1588_CLOCK"=>"y"} {"E1000E"=>"y"} SATA_AHCI DRM_I915' export ucode='0xf0' export bisect_dmesg=true export need_kconfig='{"PACKET"=>"y"} {"USER_NS"=>"y"} {"BPF_SYSCALL"=>"y"} {"TEST_BPF"=>"m"} {"NUMA"=>"y, v5.6-rc1"} {"NET_VRF"=>"y, v4.3-rc1"} {"NET_L3_MASTER_DEV"=>"y, v4.4-rc1"} {"IPV6"=>"y"} {"IPV6_MULTIPLE_TABLES"=>"y"} {"VETH"=>"y"} {"NET_IPVTI"=>"m"} {"IPV6_VTI"=>"m"} {"DUMMY"=>"y"} {"BRIDGE"=>"y"} {"VLAN_8021Q"=>"y"} IFB {"NETFILTER"=>"y"} {"NETFILTER_ADVANCED"=>"y"} {"NF_CONNTRACK"=>"m"} {"NF_NAT"=>"m, v5.1-rc1"} {"IP6_NF_IPTABLES"=>"m"} {"IP_NF_IPTABLES"=>"m"} {"IP6_NF_NAT"=>"m"} {"IP_NF_NAT"=>"m"} {"NF_TABLES"=>"m"} {"NF_TABLES_IPV6"=>"y, v4.17-rc1"} {"NF_TABLES_IPV4"=>"y, v4.17-rc1"} {"NFT_CHAIN_NAT_IPV6"=>"m, <= v5.0"} {"NFT_TPROXY"=>"m, v4.19-rc1"} {"NFT_COUNTER"=>"m, <= v5.16-rc4"} {"NFT_CHAIN_NAT_IPV4"=>"m, <= v5.0"} {"NET_SCH_FQ"=>"m"} {"NET_SCH_ETF"=>"m, v4.19-rc1"} {"NET_SCH_NETEM"=>"y"} {"TEST_BLACKHOLE_DEV"=>"m, v5.3-rc1"} {"KALLSYMS"=>"y"} {"BAREUDP"=>"m, v5.7-rc1"} {"MPLS_ROUTING"=>"m, v4.1-rc1"} {"MPLS_IPTUNNEL"=>"m, v4.3-rc1"} {"NET_SCH_INGRESS"=>"y, v4.19-rc1"} {"NET_CLS_FLOWER"=>"m, v4.2-rc1"} {"NET_ACT_TUNNEL_KEY"=>"m, v4.9-rc1"} {"NET_ACT_MIRRED"=>"m, v5.11-rc1"} {"CRYPTO_SM4"=>"y, v4.17-rc1"} {"CRYPTO_SM4_GENERIC"=>"y, v5.19-rc1"} NET_DROP_MONITOR TRACEPOINTS {"AMT"=>"m, v5.16-rc1"} {"IPV6_IOAM6_LWTUNNEL"=>"y, v5.15"}' export rootfs='debian-12-x86_64-20220629.cgz' export initrds='linux_headers linux_selftests' export kconfig='x86_64-rhel-8.3-kselftests' export enqueue_time='2022-08-21 22:46:40 +0800' export _id='630245500b9a9332c0bfc05e' export _rt='/result/kernel-selftests/use_cases-net-fcnal-test.sh-ucode=0xf0/lkp-skl-d01/debian-12-x86_64-20220629.cgz/x86_64-rhel-8.3-kselftests/gcc-11/2ef23e860e765eb1dd287492206d833f04eae9df' export user='lkp' export compiler='gcc-11' export LKP_SERVER='internal-lkp-server' export head_commit='de0cd3ea700d1e8ed76705d02e33b524cbb84cf3' export base_commit='fd80923202c6bfd723742fc32426a7aa3632abaa' export branch='stable/linux-5.4.y' export result_root='/result/kernel-selftests/use_cases-net-fcnal-test.sh-ucode=0xf0/lkp-skl-d01/debian-12-x86_64-20220629.cgz/x86_64-rhel-8.3-kselftests/gcc-11/2ef23e860e765eb1dd287492206d833f04eae9df/3' export scheduler_version='/lkp/lkp/src' export arch='x86_64' export max_uptime=2100 export initrd='/osimage/debian/debian-12-x86_64-20220629.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/kernel-selftests/use_cases-net-fcnal-test.sh-ucode=0xf0/lkp-skl-d01/debian-12-x86_64-20220629.cgz/x86_64-rhel-8.3-kselftests/gcc-11/2ef23e860e765eb1dd287492206d833f04eae9df/3 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-kselftests/gcc-11/2ef23e860e765eb1dd287492206d833f04eae9df/vmlinuz-5.4.84-00005-g2ef23e860e76 branch=stable/linux-5.4.y job=/lkp/jobs/scheduled/lkp-skl-d01/kernel-selftests-use_cases-net-fcnal-test.sh-ucode=0xf0-debian-12-x86_64-20220629.cgz-2ef23e860e765eb1dd287492206d833f04eae9df-20220821-78528-1jjf1xq-2.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-kselftests commit=2ef23e860e765eb1dd287492206d833f04eae9df max_uptime=2100 LKP_SERVER=internal-lkp-server nokaslr selinux=0 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' export modules_initrd='/pkg/linux/x86_64-rhel-8.3-kselftests/gcc-11/2ef23e860e765eb1dd287492206d833f04eae9df/modules.cgz' export linux_headers_initrd='/pkg/linux/x86_64-rhel-8.3-kselftests/gcc-11/2ef23e860e765eb1dd287492206d833f04eae9df/linux-headers.cgz' export linux_selftests_initrd='/pkg/linux/x86_64-rhel-8.3-kselftests/gcc-11/2ef23e860e765eb1dd287492206d833f04eae9df/linux-selftests.cgz' export bm_initrd='/osimage/deps/debian-12-x86_64-20220629.cgz/run-ipconfig_20220629.cgz,/osimage/deps/debian-12-x86_64-20220629.cgz/lkp_20220629.cgz,/osimage/deps/debian-12-x86_64-20220629.cgz/rsync-rootfs_20220629.cgz,/osimage/deps/debian-12-x86_64-20220629.cgz/kernel-selftests_20220714.cgz,/osimage/pkg/debian-12-x86_64-20220629.cgz/kernel-selftests-x86_64-37f3cb9b-1_20220704.cgz,/osimage/deps/debian-12-x86_64-20220629.cgz/hw_20220629.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20220804.cgz' export lkp_initrd='/osimage/user/lkp/lkp-x86_64.cgz' export site='lkp-wsx01' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export last_kernel='5.15.25-00134-ga15769155440' export schedule_notify_address= export repeat_to=6 export kernel='/pkg/linux/x86_64-rhel-8.3-kselftests/gcc-11/2ef23e860e765eb1dd287492206d833f04eae9df/vmlinuz-5.4.84-00005-g2ef23e860e76' export dequeue_time='2022-08-21 23:16:38 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-skl-d01/kernel-selftests-use_cases-net-fcnal-test.sh-ucode=0xf0-debian-12-x86_64-20220629.cgz-2ef23e860e765eb1dd287492206d833f04eae9df-20220821-78528-1jjf1xq-2.cgz' [ -n "$LKP_SRC" ] || export LKP_SRC=/lkp/${user:-lkp}/src } run_job() { echo $$ > $TMP/run-job.pid . $LKP_SRC/lib/http.sh . $LKP_SRC/lib/job.sh . $LKP_SRC/lib/env.sh export_top_env run_monitor $LKP_SRC/monitors/wrapper kmsg run_monitor $LKP_SRC/monitors/wrapper heartbeat run_monitor $LKP_SRC/monitors/wrapper meminfo run_monitor $LKP_SRC/monitors/wrapper oom-killer run_monitor $LKP_SRC/monitors/plain/watchdog run_test group='net' test='fcnal-test.sh' atomic_test='use_cases' $LKP_SRC/tests/wrapper kernel-selftests } extract_stats() { export stats_part_begin= export stats_part_end= env group='net' test='fcnal-test.sh' atomic_test='use_cases' $LKP_SRC/stats/wrapper kernel-selftests $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time kernel-selftests.time $LKP_SRC/stats/wrapper dmesg $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper last_state $LKP_SRC/stats/wrapper stderr $LKP_SRC/stats/wrapper time } "$@"