#!/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='28ae3179fc52d2e4d870b635c4a412aab99759e7' export qemu_config='x86_64-softmmu' export kernel_cmdline='kvm.enable_vmware_backdoor=Y' export job_origin='kvm-unit-tests-qemu.yaml' export arch='x86_64' 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\"\}' '\{\"KVM\"\=\>\"m\"\}' '\{\"KVM_INTEL\"\=\>\"m\"\}' '\{\"X86_INTEL_TSX_MODE_OFF\"\=\>\"n\"\}' '\{\"X86_INTEL_TSX_MODE_AUTO\"\=\>\"y\"\}' '\{\"X86_INTEL_TSX_MODE_ON\"\=\>\"n\"\} export queue_cmdline_keys= export queue='vip' export testbox='lkp-hsw-d03' export tbox_group='lkp-hsw-d03' export branch='linus/master' export commit='25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b' export job_file='/lkp/jobs/queued/vip/lkp-hsw-d03/kvm-unit-tests-qemu-defaults-debian-12-x86_64-20240206.cgz-25dfc9e357af-20240918-85345-1d04uwf-5.yaml' export id='1dc618217ec8e71893f06cd6c57be07c804bf084' export queuer_version='/lkp/xsang/.src-20240916-141146' export model='Haswell' export nr_node=1 export nr_cpu=8 export memory='16G' export nr_ssd_partitions=1 export nr_hdd_partitions=4 export hdd_partitions='/dev/disk/by-id/ata-ST1000DM010-2EP102_W9APNA3R-part*' export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BB480G6_BTWA6075012T480FGN-part1' export rootfs_partition='/dev/disk/by-id/ata-INTEL_SSDSC2BB480G6_BTWA6075012T480FGN-part2' export brand='Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz' export ucode='0x28' export need_kconfig_hw='{"PTP_1588_CLOCK"=>"y"} {"E1000E"=>"y"} SATA_AHCI DRM_I915' export rootfs='debian-12-x86_64-20240206.cgz' export kconfig='x86_64-rhel-8.3-func' export enqueue_time='2024-09-18 13:53:36 +0800' export compiler='gcc-12' export _rt='/result/kvm-unit-tests-qemu/defaults/lkp-hsw-d03/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-12/25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b' export user='lkp' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20240914-225007' 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-hsw-d03/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-12/25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b/8 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-func/gcc-12/25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b/vmlinuz-6.11.0-rc5-00001-g25dfc9e357af branch=linus/master job=/lkp/jobs/scheduled/lkp-hsw-d03/kvm-unit-tests-qemu-defaults-debian-12-x86_64-20240206.cgz-25dfc9e357af-20240918-85345-1d04uwf-5.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-func commit=25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b kvm.enable_vmware_backdoor=Y intremap=posted_msi 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-12/25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b/modules.cgz' export bm_initrd='/osimage/deps/debian-12-x86_64-20240206.cgz/run-ipconfig_20240904.cgz,/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_20240908.cgz,/osimage/pkg/debian-12-x86_64-20240206.cgz/kvm-unit-tests-x86_64-8d615ae2-1_20240830.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-hsw-d03/kvm-unit-tests-qemu-defaults-debian-12-x86_64-20240206.cgz-25dfc9e357af-20240918-85345-1d04uwf-5.cgz' export last_kernel='6.11.0-rc5-00001-g25dfc9e357af' export acpi_rsdp='0x000f0490' export kbuild_queue_analysis=1 export kernel='/pkg/linux/x86_64-rhel-8.3-func/gcc-12/25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b/vmlinuz-6.11.0-rc5-00001-g25dfc9e357af' export result_root='/result/kvm-unit-tests-qemu/defaults/lkp-hsw-d03/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-12/25dfc9e357af8aed1ca79b318a73f2c59c1f0b2b/8' [ -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 $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 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 } "$@"