#!/bin/sh export_top_env() { export suite='kvm-unit-tests-qemu' export testcase='kvm-unit-tests-qemu' export category='functional' export qemu_branch='internal-virtualization-hypervisors-server-vmm-qemu-next/next' export qemu_commit='b27a0ce51b8e742fba3225fd7fcf543f57f8a1e3' export qemu_config='x86_64-softmmu' export job_origin='kvm-unit-tests-qemu.yaml' export queue='validate' export testbox='lkp-icl-2sp4' export commit='ec4a04aa6962fff3cfa63d70536537844f7446d2' export branch='linus/master' export kconfig='x86_64-intel-next-customedconfig-dcg_x86_64_defconfig' export name='/cephfs/tmp/d20221223-30662-1p7247l/kvm-unit-tests-qemu.yaml' export kernel_cmdline= export tbox_group='lkp-icl-2sp4' export submit_id='63a90043e414c01e731b1e84' export job_file='/lkp/jobs/scheduled/lkp-icl-2sp4/kvm-unit-tests-qemu-defaults-debian-11.1-x86_64-20220510.cgz-ec4a04aa6962fff3cfa63d70536537844f7446d2-20221226-7795-1kbtwlu-4.yaml' export id='cf018260441a24b8e656f03ddb4785f8001743ae' 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_SSDSC2BB240G4_CVWL422602EB240NGN-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 ucode='0xd000363' export bisect_dmesg=true export rootfs='debian-11.1-x86_64-20220510.cgz' export enqueue_time='2022-12-26 10:00:35 +0800' export compiler='gcc-11' export _id='63a90059e414c01e731b1e85' export _rt='/result/kvm-unit-tests-qemu/defaults/lkp-icl-2sp4/debian-11.1-x86_64-20220510.cgz/x86_64-intel-next-customedconfig-dcg_x86_64_defconfig/gcc-11/ec4a04aa6962fff3cfa63d70536537844f7446d2/x86_64-softmmu/b27a0ce51b8e742fba3225fd7fcf543f57f8a1e3' export user='lkp' export LKP_SERVER='internal-lkp-server' export result_root='/result/kvm-unit-tests-qemu/defaults/lkp-icl-2sp4/debian-11.1-x86_64-20220510.cgz/x86_64-intel-next-customedconfig-dcg_x86_64_defconfig/gcc-11/ec4a04aa6962fff3cfa63d70536537844f7446d2/x86_64-softmmu/b27a0ce51b8e742fba3225fd7fcf543f57f8a1e3/3' export scheduler_version='/lkp/lkp/src' export arch='x86_64' export max_uptime=1200 export initrd='/osimage/debian/debian-11.1-x86_64-20220510.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/kvm-unit-tests-qemu/defaults/lkp-icl-2sp4/debian-11.1-x86_64-20220510.cgz/x86_64-intel-next-customedconfig-dcg_x86_64_defconfig/gcc-11/ec4a04aa6962fff3cfa63d70536537844f7446d2/x86_64-softmmu/b27a0ce51b8e742fba3225fd7fcf543f57f8a1e3/3 BOOT_IMAGE=/pkg/linux/x86_64-intel-next-customedconfig-dcg_x86_64_defconfig/gcc-11/ec4a04aa6962fff3cfa63d70536537844f7446d2/vmlinuz-6.1.0-rc4-00063-gec4a04aa6962 branch=linus/master job=/lkp/jobs/scheduled/lkp-icl-2sp4/kvm-unit-tests-qemu-defaults-debian-11.1-x86_64-20220510.cgz-ec4a04aa6962fff3cfa63d70536537844f7446d2-20221226-7795-1kbtwlu-4.yaml user=lkp ARCH=x86_64 kconfig=x86_64-intel-next-customedconfig-dcg_x86_64_defconfig commit=ec4a04aa6962fff3cfa63d70536537844f7446d2 initcall_debug acpi_rsdp=0x69ffd014 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-intel-next-customedconfig-dcg_x86_64_defconfig/gcc-11/ec4a04aa6962fff3cfa63d70536537844f7446d2/modules.cgz' export bm_initrd='/osimage/deps/debian-11.1-x86_64-20220510.cgz/lkp_20220513.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/run-ipconfig_20220515.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/rsync-rootfs_20220515.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/kvm-unit-tests-qemu_20220726.cgz,/osimage/pkg/debian-11.1-x86_64-20220510.cgz/kvm-unit-tests-x86_64-7cefda5-1_20221216.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/hw_20220526.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20220804.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='6.1.0' export repeat_to=6 export queue_cmdline_keys='branch commit kbuild_queue_analysis' export stop_repeat_if_found='dmesg.UBSAN:shift-out-of-bounds_in_drivers/mtd/spi-nor/core.c' export kbuild_queue_analysis=1 export schedule_notify_address= export kernel='/pkg/linux/x86_64-intel-next-customedconfig-dcg_x86_64_defconfig/gcc-11/ec4a04aa6962fff3cfa63d70536537844f7446d2/vmlinuz-6.1.0-rc4-00063-gec4a04aa6962' export dequeue_time='2022-12-26 10:14:36 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-icl-2sp4/kvm-unit-tests-qemu-defaults-debian-11.1-x86_64-20220510.cgz-ec4a04aa6962fff3cfa63d70536537844f7446d2-20221226-7795-1kbtwlu-4.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 $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 } "$@"