#!/bin/sh export_top_env() { export suite='hwsim' export testcase='hwsim' export category='functional' export need_memory='1G' export job_origin='hwsim-part4.yaml' export queue_cmdline_keys= export queue='int' export testbox='lkp-ivb-d02' export tbox_group='lkp-ivb-d02' export kconfig='x86_64-rhel-8.3-func' export submit_id='624ef05f0b9a935fb862b0af' export job_file='/lkp/jobs/scheduled/lkp-ivb-d02/hwsim-group-36-ucode=0x21-debian-10.4-x86_64-20200603.cgz-8505b026c91a3e6d6c562a1fe46c2b8c20835de8-20220407-90040-1j5mlfy-19.yaml' export id='2035922735f138a8e4a3314e369018e834783e10' export queuer_version='/lkp/xsang/.src-20220407-172716' export model='Ivy Bridge' export nr_node=1 export nr_cpu=4 export memory='8G' export nr_hdd_partitions=4 export nr_ssd_partitions=1 export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BA400G4_BTHV634505W5400NGN-part1' export hdd_partitions='/dev/disk/by-id/ata-ST4000NM0035-1V4107_ZC127QJQ-part1 /dev/disk/by-id/ata-ST4000NM0035-1V4107_ZC127QJQ-part2 /dev/disk/by-id/ata-ST4000NM0035-1V4107_ZC127QJQ-part3 /dev/disk/by-id/ata-ST4000NM0035-1V4107_ZC127QJQ-part4' export swap_partitions='/dev/disk/by-id/ata-ST4000NM0035-1V4107_ZC127QJQ-part6' export rootfs_partition='/dev/disk/by-id/ata-ST4000NM0035-1V4107_ZC127QJQ-part5' export brand='Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz' export need_kconfig=\{\"WLAN\"\=\>\"y\"\}' '\{\"PACKET\"\=\>\"y\"\}' '\{\"CFG80211\"\=\>\"m\"\}' '\{\"CFG80211_WEXT\"\=\>\"y\"\}' '\{\"MAC80211\"\=\>\"m\"\}' '\{\"MAC80211_HWSIM\"\=\>\"m\"\}' '\{\"MAC80211_LEDS\"\=\>\"y\"\}' '\{\"MAC80211_MESH\"\=\>\"y\"\}' '\{\"MAC80211_DEBUGFS\"\=\>\"y\"\}' '\{\"VETH\"\=\>\"m\"\}' '\{\"BRIDGE\"\=\>\"m\"\} export commit='8505b026c91a3e6d6c562a1fe46c2b8c20835de8' export netconsole_port=6673 export ucode='0x21' export need_kconfig_hw='{"NET_VENDOR_REALTEK"=>"y"} {"R8169"=>"y"} SATA_AHCI DRM_I915' export bisect_dmesg=true export enqueue_time='2022-04-07 22:08:32 +0800' export _id='624ef0620b9a935fb862b0c2' export _rt='/result/hwsim/group-36-ucode=0x21/lkp-ivb-d02/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/8505b026c91a3e6d6c562a1fe46c2b8c20835de8' export user='lkp' export compiler='gcc-9' export LKP_SERVER='internal-lkp-server' export head_commit='92cabf8eef673546a4afb4e9908adeedc1745095' export base_commit='f443e374ae131c168a065ea1748feac6b2e76613' export branch='linux-review/Paul-Lemmermann/crypto-aes_generic-fixed-styling-warnings/20220327-014837' export rootfs='debian-10.4-x86_64-20200603.cgz' export result_root='/result/hwsim/group-36-ucode=0x21/lkp-ivb-d02/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/8505b026c91a3e6d6c562a1fe46c2b8c20835de8/21' export scheduler_version='/lkp/lkp/.src-20220406-184140' export arch='x86_64' export max_uptime=2100 export initrd='/osimage/debian/debian-10.4-x86_64-20200603.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/hwsim/group-36-ucode=0x21/lkp-ivb-d02/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/8505b026c91a3e6d6c562a1fe46c2b8c20835de8/21 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-func/gcc-9/8505b026c91a3e6d6c562a1fe46c2b8c20835de8/vmlinuz-5.17.0-rc1-00138-g8505b026c91a branch=linux-review/Paul-Lemmermann/crypto-aes_generic-fixed-styling-warnings/20220327-014837 job=/lkp/jobs/scheduled/lkp-ivb-d02/hwsim-group-36-ucode=0x21-debian-10.4-x86_64-20200603.cgz-8505b026c91a3e6d6c562a1fe46c2b8c20835de8-20220407-90040-1j5mlfy-19.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-func commit=8505b026c91a3e6d6c562a1fe46c2b8c20835de8 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-func/gcc-9/8505b026c91a3e6d6c562a1fe46c2b8c20835de8/modules.cgz' export bm_initrd='/osimage/deps/debian-10.4-x86_64-20200603.cgz/run-ipconfig_20200608.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/lkp_20220105.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/rsync-rootfs_20200608.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/hwsim_20210714.cgz,/osimage/pkg/debian-10.4-x86_64-20200603.cgz/hwsim-x86_64-717e5d7-1_20220325.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/hw_20200715.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20220216.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 last_kernel='4.20.0' export schedule_notify_address= export kernel='/pkg/linux/x86_64-rhel-8.3-func/gcc-9/8505b026c91a3e6d6c562a1fe46c2b8c20835de8/vmlinuz-5.17.0-rc1-00138-g8505b026c91a' export dequeue_time='2022-04-07 22:55:30 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-ivb-d02/hwsim-group-36-ucode=0x21-debian-10.4-x86_64-20200603.cgz-8505b026c91a3e6d6c562a1fe46c2b8c20835de8-20220407-90040-1j5mlfy-19.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 test='group-36' $LKP_SRC/tests/wrapper hwsim } extract_stats() { export stats_part_begin= export stats_part_end= env test='group-36' $LKP_SRC/stats/wrapper hwsim $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time hwsim.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 } "$@"