#!/bin/sh export_top_env() { export suite='kvm-unit-tests-qemu' export testcase='kvm-unit-tests-qemu' export category='functional' export timeout='35m' export qemu_branch='qemu/master' export qemu_commit='80e8f0602168f451a93e71cbb1d59e93d745e62e' export qemu_config='x86_64-softmmu' export kernel_cmdline='kvm.enable_vmware_backdoor=Y' export job_origin='kvm-unit-tests-qemu.yaml' export queue_cmdline_keys='branch commit kbuild_queue_analysis' export queue='validate' export testbox='lkp-icl-2sp4' export tbox_group='lkp-icl-2sp4' export job_file='/lkp/jobs/queued/validate/lkp-icl-2sp4/kvm-unit-tests-qemu-defaults-debian-12-x86_64-20240206.cgz-377b2f359d1f-20240613-50487-u0u0v1-3.yaml' export id='526093a7e106c2a19665adb0232ff05bf26f0c19' export queuer_version='/zday/lkp' export model='Ice Lake' export nr_node=2 export nr_cpu=128 export memory='128G' export nr_ssd_partitions=3 export nr_hdd_partitions=6 export hdd_partitions='/dev/disk/by-id/ata-WDC_WD20SPZX-08UA7_WD-WXE2EA0ECVAS-part*' export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BA800G3_BTTV34510181800JGN-part*' export rootfs_partition='/dev/disk/by-id/ata-INTEL_SSDSC2KB240G8_BTYF015507C2240AGN-part1' export kernel_cmdline_hw='acpi_rsdp=0x69ffd014' export brand='Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz' export need_kconfig=\{\"KVM\"\=\>\"m\"\}' '\{\"KVM_INTEL\"\=\>\"m\"\}' '\{\"X86_INTEL_TSX_MODE_OFF\"\=\>\"n\"\}' '\{\"X86_INTEL_TSX_MODE_AUTO\"\=\>\"y\"\}' '\{\"X86_INTEL_TSX_MODE_ON\"\=\>\"n\"\} export commit='377b2f359d1f71c75f8cc352b5c81f2210312d83' export ucode='0xd0003a5' export bisect_dmesg=true export kconfig='x86_64-rhel-8.3-func' export enqueue_time='2024-06-13 22:48:45 +0800' export _rt='/result/kvm-unit-tests-qemu/defaults/lkp-icl-2sp4/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-13/377b2f359d1f71c75f8cc352b5c81f2210312d83' export compiler='gcc-13' export head_commit='03d44168cbd7fc57d5de56a3730427db758fc7f6' export base_commit='83a7eefedc9b56fe7bfeff13b6c7356688ffa670' export branch='linux-next/master' export rootfs='debian-12-x86_64-20240206.cgz' export user='lkp' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20240613-085714' export arch='x86_64' export max_uptime=2100 export initrd='/osimage/debian/debian-12-x86_64-20240206.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/kvm-unit-tests-qemu/defaults/lkp-icl-2sp4/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-13/377b2f359d1f71c75f8cc352b5c81f2210312d83/3 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-func/gcc-13/377b2f359d1f71c75f8cc352b5c81f2210312d83/vmlinuz-6.10.0-rc2-00005-g377b2f359d1f branch=linux-next/master job=/lkp/jobs/scheduled/lkp-icl-2sp4/kvm-unit-tests-qemu-defaults-debian-12-x86_64-20240206.cgz-377b2f359d1f-20240613-50487-u0u0v1-3.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-func commit=377b2f359d1f71c75f8cc352b5c81f2210312d83 kvm.enable_vmware_backdoor=Y nmi_watchdog=0 intremap=posted_msi acpi_rsdp=0x69ffd014 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-13/377b2f359d1f71c75f8cc352b5c81f2210312d83/modules.cgz' export bm_initrd='/osimage/deps/debian-12-x86_64-20240206.cgz/lkp_20240216.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/rsync-rootfs_20240301.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/kvm-unit-tests-qemu_20240612.cgz,/osimage/pkg/debian-12-x86_64-20240206.cgz/kvm-unit-tests-x86_64-a68956b3-1_20240607.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/hw_20240216.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-icl-2sp4/kvm-unit-tests-qemu-defaults-debian-12-x86_64-20240206.cgz-377b2f359d1f-20240613-50487-u0u0v1-3.cgz' export last_kernel='6.10.0-rc3-09146-g0e5bfa0f7d94' export acpi_rsdp='0x69ffd014' export repeat_to=6 export kbuild_queue_analysis=1 export kernel='/pkg/linux/x86_64-rhel-8.3-func/gcc-13/377b2f359d1f71c75f8cc352b5c81f2210312d83/vmlinuz-6.10.0-rc2-00005-g377b2f359d1f' export result_root='/result/kvm-unit-tests-qemu/defaults/lkp-icl-2sp4/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-13/377b2f359d1f71c75f8cc352b5c81f2210312d83/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 kmemleak run_monitor $LKP_SRC/monitors/wrapper oom-killer run_monitor $LKP_SRC/monitors/plain/watchdog run_test $LKP_SRC/tests/wrapper kvm-unit-tests-qemu } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper kvm-unit-tests-qemu $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper kmemleak $LKP_SRC/stats/wrapper time kvm-unit-tests-qemu.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 } "$@"