#!/bin/sh export_top_env() { export suite='boot' export testcase='boot' export category='functional' export timeout='10m' export job_origin='boot.yaml' export queue_cmdline_keys='force_schedule force_reboot' export queue='int' export testbox='lkp-csl-2sp7' export tbox_group='lkp-csl-2sp7' export branch='linux-review/Tony-Lindgren/serial-core-Controller-id-cannot-be-negative/20230725-134452' export commit='4de64f4800a581e7eeba6392b3b2ce2131195145' export kconfig='x86_64-rhel-8.3' export submit_id='64c9b6f30b9a9310542c85ff' export job_file='/lkp/jobs/queued/int/lkp-csl-2sp7/boot-1-debian-11.1-x86_64-20220510.cgz-4de64f4800a5-20230802-4180-1mgl0lw-1.yaml' export id='484beeb7c4d24d451be55f4e31cf35a7b2d8c5f6' export queuer_version='/lkp/xsang/.src-20230802-085129' export model='Cascade Lake' export nr_node=2 export nr_cpu=96 export memory='512G' export nr_hdd_partitions=1 export nr_ssd_partitions=1 export hdd_partitions='/dev/disk/by-id/ata-ST1000NM0055-1V410C_ZBS1K5E0-part1' export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BB800G4_PHWL4204000G800RGN-part1' export swap_partitions= export rootfs_partition='/dev/disk/by-id/ata-ST1000NM0055-1V410C_ZBS1K5E0-part2' export brand='Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz' export ucode='0x5003303' export need_kconfig_hw='{"I40E"=>"y"} SATA_AHCI' export rootfs='debian-11.1-x86_64-20220510.cgz' export enqueue_time='2023-08-02 09:52:51 +0800' export compiler='gcc-12' export _id='64c9b6f40b9a9310542c8600' export _rt='/result/boot/1/lkp-csl-2sp7/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3/gcc-12/4de64f4800a581e7eeba6392b3b2ce2131195145' export user='lkp' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20230802-000231' export arch='x86_64' export max_uptime=600 export initrd='/osimage/debian/debian-11.1-x86_64-20220510.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/boot/1/lkp-csl-2sp7/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3/gcc-12/4de64f4800a581e7eeba6392b3b2ce2131195145/3 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3/gcc-12/4de64f4800a581e7eeba6392b3b2ce2131195145/vmlinuz-6.5.0-rc2-00003-g4de64f4800a5 branch=linux-review/Tony-Lindgren/serial-core-Controller-id-cannot-be-negative/20230725-134452 job=/lkp/jobs/scheduled/lkp-csl-2sp7/boot-1-debian-11.1-x86_64-20220510.cgz-4de64f4800a5-20230802-4180-1mgl0lw-1.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3 commit=4de64f4800a581e7eeba6392b3b2ce2131195145 nmi_watchdog=0 max_uptime=600 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/gcc-12/4de64f4800a581e7eeba6392b3b2ce2131195145/modules.cgz' export bm_initrd='/osimage/deps/debian-11.1-x86_64-20220510.cgz/run-ipconfig_20220515.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/lkp_20220513.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/rsync-rootfs_20220515.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/hw_20220526.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20230406.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-csl-2sp7/boot-1-debian-11.1-x86_64-20220510.cgz-4de64f4800a5-20230802-4180-1mgl0lw-1.cgz' export last_kernel='6.5.0-rc2-00005-gc7d05fde5ab9' export acpi_rsdp='0x000f0510' export force_schedule=true export force_reboot=1 export kernel='/pkg/linux/x86_64-rhel-8.3/gcc-12/4de64f4800a581e7eeba6392b3b2ce2131195145/vmlinuz-6.5.0-rc2-00003-g4de64f4800a5' export result_root='/result/boot/1/lkp-csl-2sp7/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3/gcc-12/4de64f4800a581e7eeba6392b3b2ce2131195145/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/one-shot/wrapper boot-slabinfo run_monitor $LKP_SRC/monitors/one-shot/wrapper boot-meminfo run_monitor $LKP_SRC/monitors/one-shot/wrapper memmap run_monitor $LKP_SRC/monitors/no-stdout/wrapper boot-time 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 sleep 1 } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper boot-slabinfo $LKP_SRC/stats/wrapper boot-meminfo $LKP_SRC/stats/wrapper memmap $LKP_SRC/stats/wrapper boot-memory $LKP_SRC/stats/wrapper boot-time $LKP_SRC/stats/wrapper kernel-size $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper sleep $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper kmemleak $LKP_SRC/stats/wrapper time sleep.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 } "$@"