#!/bin/sh export_top_env() { export suite='kernel-selftests-bpf' export testcase='kernel-selftests-bpf' export category='functional' export job_origin='kernel-selftests-net.yaml' export queue_cmdline_keys='branch commit kbuild_queue_analysis' export queue='validate' export testbox='lkp-csl-d01' export tbox_group='lkp-csl-d01' export job_file='/lkp/jobs/queued/validate/lkp-csl-d01/kernel-selftests-bpf-net_netfilter-nft_flowtable.sh-debian-12-x86_64-20240206.cgz-1e1d7cc33bd7-20241103-54904-eewexv-5.yaml' export id='a4b34bb2a8e3f710e5e69196d1350a90c198b461' export queuer_version='/zday/lkp' export model='Cascade Lake' export nr_node=1 export nr_cpu=36 export memory='32G' export nr_ssd_partitions=1 export ssd_partitions='/dev/disk/by-id/nvme-INTEL_SSDPEKNW010T8_PHNH119301NW1P0B-part3' export rootfs_partition='/dev/disk/by-id/nvme-INTEL_SSDPEKNW010T8_PHNH119301NW1P0B-part4' export brand='Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz' export commit='1e1d7cc33bd78b992ab90e28b02d7a2feef96538' export netconsole_port=6685 export ucode='0x5003604' export need_kconfig='{"RUNTIME_TESTING_MENU"=>"y"} {"AUDIT"=>"y"} {"BPF_SYSCALL"=>"y"} {"BRIDGE_EBT_BROUTE"=>"m"} {"BRIDGE_EBT_IP"=>"m"} {"BRIDGE_EBT_REDIRECT"=>"m"} {"BRIDGE_EBT_T_FILTER"=>"m"} {"BRIDGE"=>"m"} {"BRIDGE_NETFILTER"=>"m"} {"BRIDGE_NF_EBTABLES"=>"m"} {"CGROUP_BPF"=>"y"} DUMMY INET_ESP {"IP6_NF_FILTER"=>"m"} {"IP6_NF_IPTABLES"=>"m"} {"IP6_NF_MATCH_RPFILTER"=>"m"} {"IP6_NF_RAW"=>"m"} {"IP_NF_FILTER"=>"m"} {"IP_NF_IPTABLES"=>"m"} {"IP_NF_MATCH_RPFILTER"=>"m"} {"IP_NF_RAW"=>"m"} {"IP_SCTP"=>"m"} {"IPV6_MULTIPLE_TABLES"=>"y"} {"IPV6"=>"y"} {"IP_VS"=>"m"} {"IP_VS_PROTO_TCP"=>"y"} {"IP_VS_RR"=>"m"} {"MACVLAN"=>"m"} {"NAMESPACES"=>"y"} {"NET_CLS_U32"=>"m"} {"NETFILTER_ADVANCED"=>"y"} {"NETFILTER_NETLINK"=>"m"} {"NETFILTER_NETLINK_QUEUE"=>"m"} {"NETFILTER_SYNPROXY"=>"m"} {"NETFILTER_XTABLES"=>"m"} {"NETFILTER_XT_MATCH_CONNTRACK"=>"m"} {"NETFILTER_XT_MATCH_STATE"=>"m"} {"NETFILTER_XT_MATCH_STRING"=>"m"} {"NETFILTER_XT_NAT"=>"m"} {"NETFILTER_XT_TARGET_REDIRECT"=>"m"} {"NETFILTER"=>"y"} NET_IPIP {"NET_L3_MASTER_DEV"=>"y"} {"NET_NS"=>"y"} {"NET_PKTGEN"=>"m"} {"NET_SCH_HTB"=>"m"} {"NET_SCH_NETEM"=>"m"} {"NET_VRF"=>"y"} {"NF_CONNTRACK_EVENTS"=>"y"} {"NF_CONNTRACK_FTP"=>"m"} {"NF_CONNTRACK"=>"m"} {"NF_CONNTRACK_MARK"=>"y"} {"NF_CONNTRACK_ZONES"=>"y"} {"NF_CT_NETLINK"=>"m"} {"NF_CT_PROTO_SCTP"=>"y"} {"NF_FLOW_TABLE_INET"=>"m"} {"NF_FLOW_TABLE"=>"m"} {"NF_LOG_IPV4"=>"m"} {"NF_LOG_IPV6"=>"m"} {"NF_NAT"=>"m"} {"NF_NAT_MASQUERADE"=>"y"} {"NF_NAT_REDIRECT"=>"y"} {"NF_TABLES_BRIDGE"=>"m"} {"NF_TABLES_INET"=>"y"} {"NF_TABLES_IPV4"=>"y"} {"NF_TABLES_IPV6"=>"y"} {"NF_TABLES"=>"m"} {"NF_TABLES_NETDEV"=>"y"} {"NFT_BRIDGE_META"=>"m"} {"NFT_COMPAT"=>"m"} {"NFT_CT"=>"m"} {"NFT_FIB_INET"=>"m"} {"NFT_FIB_IPV4"=>"m"} {"NFT_FIB_IPV6"=>"m"} {"NFT_FIB"=>"m"} {"NFT_FLOW_OFFLOAD"=>"m"} {"NFT_LIMIT"=>"m"} {"NFT_LOG"=>"m"} {"NFT_MASQ"=>"m"} {"NFT_NAT"=>"m"} {"NFT_NUMGEN"=>"m"} {"NFT_QUEUE"=>"m"} {"NFT_QUOTA"=>"m"} {"NFT_REDIR"=>"m"} {"NFT_SYNPROXY"=>"m"} {"TUN"=>"m"} {"VETH"=>"m"} VLAN_8021Q {"XFRM_STATISTICS"=>"y"} XFRM_USER' export initrds='linux_headers linux_selftests' export kconfig='x86_64-rhel-8.3-bpf' export enqueue_time='2024-11-03 05:36:41 +0800' export _rt='/result/kernel-selftests-bpf/net_netfilter-nft_flowtable.sh/lkp-csl-d01/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-bpf/gcc-12/1e1d7cc33bd78b992ab90e28b02d7a2feef96538' export compiler='gcc-12' export head_commit='837cbfc11620c2f32542d7a89ca00081c6a7eb47' export base_commit='81983758430957d9a5cb3333fe324fd70cf63e7e' export branch='linux-review/Herbert-Xu/crypto-ahash-Only-save-callback-and-data-in-ahash_save_req/20241027-174811' export rootfs='debian-12-x86_64-20240206.cgz' export user='lkp' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20241102-200506' export arch='x86_64' export max_uptime=1200 export initrd='/osimage/debian/debian-12-x86_64-20240206.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/kernel-selftests-bpf/net_netfilter-nft_flowtable.sh/lkp-csl-d01/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-bpf/gcc-12/1e1d7cc33bd78b992ab90e28b02d7a2feef96538/3 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-bpf/gcc-12/1e1d7cc33bd78b992ab90e28b02d7a2feef96538/vmlinuz-6.12.0-rc1-00092-g1e1d7cc33bd7 branch=linux-review/Herbert-Xu/crypto-ahash-Only-save-callback-and-data-in-ahash_save_req/20241027-174811 job=/lkp/jobs/scheduled/lkp-csl-d01/kernel-selftests-bpf-net_netfilter-nft_flowtable.sh-debian-12-x86_64-20240206.cgz-1e1d7cc33bd7-20241103-54904-eewexv-5.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-bpf commit=1e1d7cc33bd78b992ab90e28b02d7a2feef96538 intremap=posted_msi max_uptime=1200 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-bpf/gcc-12/1e1d7cc33bd78b992ab90e28b02d7a2feef96538/modules.cgz' export linux_headers_initrd='/pkg/linux/x86_64-rhel-8.3-bpf/gcc-12/1e1d7cc33bd78b992ab90e28b02d7a2feef96538/linux-headers.cgz' export linux_selftests_initrd='/pkg/linux/x86_64-rhel-8.3-bpf/gcc-12/1e1d7cc33bd78b992ab90e28b02d7a2feef96538/linux-selftests.cgz' export bm_initrd='/osimage/deps/debian-12-x86_64-20240206.cgz/run-ipconfig_20241102.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/lkp_20241102.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/rsync-rootfs_20241102.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/kernel-selftests_20241024.cgz,/osimage/pkg/debian-12-x86_64-20240206.cgz/kernel-selftests-x86_64-977d51cf-1_20240508.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/hw_20241102.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20230906.cgz' export lkp_initrd='/osimage/user/lkp/lkp-x86_64.cgz' export site='inn' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export job_initrd='/lkp/jobs/scheduled/lkp-csl-d01/kernel-selftests-bpf-net_netfilter-nft_flowtable.sh-debian-12-x86_64-20240206.cgz-1e1d7cc33bd7-20241103-54904-eewexv-5.cgz' export last_kernel='5.13.0-rc1' export repeat_to=6 export kbuild_queue_analysis=1 export kernel='/pkg/linux/x86_64-rhel-8.3-bpf/gcc-12/1e1d7cc33bd78b992ab90e28b02d7a2feef96538/vmlinuz-6.12.0-rc1-00092-g1e1d7cc33bd7' export result_root='/result/kernel-selftests-bpf/net_netfilter-nft_flowtable.sh/lkp-csl-d01/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-bpf/gcc-12/1e1d7cc33bd78b992ab90e28b02d7a2feef96538/3' [ -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_setup $LKP_SRC/setup/sanity-check 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/netfilter' test='nft_flowtable.sh' $LKP_SRC/tests/wrapper kernel-selftests-bpf } extract_stats() { export stats_part_begin= export stats_part_end= env group='net/netfilter' test='nft_flowtable.sh' $LKP_SRC/stats/wrapper kernel-selftests-bpf $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time kernel-selftests-bpf.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 } "$@"