#!/bin/sh export_top_env() { export suite='igt' export testcase='igt' export category='functional' export job_origin='/lkp-src/allot/cyclic:p2:linux-devel:devel-hourly/lkp-bdw-de1/igt.yaml' export queue_cmdline_keys='branch commit queue_at_least_once' export queue='validate' export testbox='lkp-bdw-de1' export tbox_group='lkp-bdw-de1' export kconfig='x86_64-rhel-8.3' export submit_id='5f2f7cee1eaf2e2bdad698cd' export job_file='/lkp/jobs/scheduled/lkp-bdw-de1/igt-group_04-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-c3b790ea07a13da0c46816bda6b04abef346af15-20200809-11226-1vkszm8-2.yaml' export id='a7fc2d9a6df31974384c225c0c05c03914030feb' export queuer_version='/lkp-src' export model='Broadwell-DE' export nr_node=1 export nr_cpu=16 export memory='48G' export nr_hdd_partitions=1 export nr_ssd_partitions=1 export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BA800G4_BTHV410402GY800OGN-part2' export hdd_partitions='/dev/disk/by-id/ata-ST9500620NS_9XF26EB5-part1' export swap_partitions= export rootfs_partition='/dev/disk/by-id/ata-INTEL_SSDSC2BA800G4_BTHV410402GY800OGN-part1' export kernel_cmdline_hw='console=ttyS1,115200 console=tty0' export brand='Intel(R) Xeon(R) CPU D-1541 @ 2.10GHz' export commit='c3b790ea07a13da0c46816bda6b04abef346af15' export netconsole_port=6649 export ucode='0x7000019' export need_kconfig_hw='CONFIG_IGB=y CONFIG_NETDEVICES=y CONFIG_ETHERNET=y CONFIG_NET_VENDOR_INTEL=y CONFIG_PCI=y CONFIG_SATA_AHCI CONFIG_SATA_AHCI_PLATFORM CONFIG_ATA CONFIG_HAS_DMA=y' export enqueue_time='2020-08-09 12:34:54 +0800' export _id='5f2f7cf01eaf2e2bdad698ce' export _rt='/result/igt/group_04-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/c3b790ea07a13da0c46816bda6b04abef346af15' export user='lkp' export compiler='gcc-9' export head_commit='ea334ee2cfe45f1619d72eb40e857603f5b96032' export base_commit='bcf876870b95592b52519ed4aafcf9d95999bc9c' export branch='linus/master' export rootfs='debian-10.4-x86_64-20200603.cgz' export result_root='/result/igt/group_04-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/c3b790ea07a13da0c46816bda6b04abef346af15/3' export scheduler_version='/lkp/lkp/.src-20200805-150518' export LKP_SERVER='inn' export arch='x86_64' export max_uptime=3600 export initrd='/osimage/debian/debian-10.4-x86_64-20200603.cgz' export bootloader_append='root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/lkp-bdw-de1/igt-group_04-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-c3b790ea07a13da0c46816bda6b04abef346af15-20200809-11226-1vkszm8-2.yaml ARCH=x86_64 kconfig=x86_64-rhel-8.3 branch=linus/master commit=c3b790ea07a13da0c46816bda6b04abef346af15 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3/gcc-9/c3b790ea07a13da0c46816bda6b04abef346af15/vmlinuz-5.6.0-rc5-01611-gc3b790ea07a13 console=ttyS1,115200 console=tty0 max_uptime=3600 RESULT_ROOT=/result/igt/group_04-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/c3b790ea07a13da0c46816bda6b04abef346af15/3 LKP_SERVER=inn 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 earlyprintk=ttyS1,115200 systemd.log_level=err console=ttyS1,115200 console=tty0 rw' export modules_initrd='/pkg/linux/x86_64-rhel-8.3/gcc-9/c3b790ea07a13da0c46816bda6b04abef346af15/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_20200709.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/rsync-rootfs_20200608.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/igt_20200716.cgz,/osimage/pkg/debian-10.4-x86_64-20200603.cgz/igt-x86_64-c18a9c10-1_20200716.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/hw_20200715.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20200610.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.8.0' export repeat_to=4 export schedule_notify_address= export queue_at_least_once=1 export kernel='/pkg/linux/x86_64-rhel-8.3/gcc-9/c3b790ea07a13da0c46816bda6b04abef346af15/vmlinuz-5.6.0-rc5-01611-gc3b790ea07a13' export dequeue_time='2020-08-09 12:43:02 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-bdw-de1/igt-group_04-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-c3b790ea07a13da0c46816bda6b04abef346af15-20200809-11226-1vkszm8-2.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 group='group_04' $LKP_SRC/tests/wrapper igt } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper igt $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time igt.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 } "$@"