#!/bin/sh export_top_env() { export suite='xsave-test' export testcase='xsave-test' export category='functional' export job_origin='xsave-test.yaml' export queue_cmdline_keys='branch commit' export queue='validate' export testbox='lkp-snr-a1' export tbox_group='lkp-snr-a1' export kconfig='x86_64-rhel-8.3-func' export submit_id='623e17c6b3bef55c6d822e08' export job_file='/lkp/jobs/scheduled/lkp-snr-a1/xsave-test-ucode=0x9c02000e-debian-10.4-x86_64-20200603.cgz-3c238fa8a9b19d96892d6de4be1a4a6353515b50-20220326-23661-1t9mmih-1.yaml' export id='f498bfd16b853eb9998f9ad774e1a48b327189e2' export queuer_version='/lkp-src' export model='Snow Ridge' export nr_node=1 export nr_cpu=24 export memory='64G' export nr_ssd_partitions=2 export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BB480G7_PHDV7245002F480BGN-part*' export rootfs_partition='/dev/disk/by-id/ata-SanDisk_SSD_PLUS_480_GB_180504800057-part3' export kernel_cmdline_hw='acpi_rsdp=0x693fd014' export brand='Intel Atom(R) P5362 processor' export commit='3c238fa8a9b19d96892d6de4be1a4a6353515b50' export netconsole_port=6688 export ucode='0x9c02000e' export bisect_dmesg=true export enqueue_time='2022-03-26 03:28:06 +0800' export _id='623e17c6b3bef55c6d822e08' export _rt='/result/xsave-test/ucode=0x9c02000e/lkp-snr-a1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/3c238fa8a9b19d96892d6de4be1a4a6353515b50' export user='lkp' export compiler='gcc-9' export LKP_SERVER='internal-lkp-server' export head_commit='cd4e77cb2e7023233a6c5118a4f5fd0fd01eec65' export base_commit='f443e374ae131c168a065ea1748feac6b2e76613' export branch='tglx-devel/x86/fpu' export rootfs='debian-10.4-x86_64-20200603.cgz' export result_root='/result/xsave-test/ucode=0x9c02000e/lkp-snr-a1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/3c238fa8a9b19d96892d6de4be1a4a6353515b50/3' export scheduler_version='/lkp/lkp/.src-20220325-204520' 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/xsave-test/ucode=0x9c02000e/lkp-snr-a1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/3c238fa8a9b19d96892d6de4be1a4a6353515b50/3 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-func/gcc-9/3c238fa8a9b19d96892d6de4be1a4a6353515b50/vmlinuz-5.17.0-02181-g3c238fa8a9b1 branch=tglx-devel/x86/fpu job=/lkp/jobs/scheduled/lkp-snr-a1/xsave-test-ucode=0x9c02000e-debian-10.4-x86_64-20200603.cgz-3c238fa8a9b19d96892d6de4be1a4a6353515b50-20220326-23661-1t9mmih-1.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-func commit=3c238fa8a9b19d96892d6de4be1a4a6353515b50 acpi_rsdp=0x693fd014 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/3c238fa8a9b19d96892d6de4be1a4a6353515b50/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/xsave-test_20210618.cgz,/osimage/pkg/debian-10.4-x86_64-20200603.cgz/xsave-test-x86_64-3cc5e47-1_20210719.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='5.17.0-rc7-wt-ath-08424-gbde8146e03ae' export repeat_to=6 export schedule_notify_address= export kernel='/pkg/linux/x86_64-rhel-8.3-func/gcc-9/3c238fa8a9b19d96892d6de4be1a4a6353515b50/vmlinuz-5.17.0-02181-g3c238fa8a9b1' export dequeue_time='2022-03-26 04:47:48 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-snr-a1/xsave-test-ucode=0x9c02000e-debian-10.4-x86_64-20200603.cgz-3c238fa8a9b19d96892d6de4be1a4a6353515b50-20220326-23661-1t9mmih-1.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 xsave-test } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper xsave-test $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time xsave-test.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 } "$@"