#!/bin/sh export_top_env() { export suite='kunit' export testcase='kunit' export category='functional' export kernel_cmdline='kunit.enable=1' export job_origin='kunit-group-03.yaml' export queue_cmdline_keys='branch commit kbuild_queue_analysis' export queue='validate' export testbox='lkp-bdw-de1' export tbox_group='lkp-bdw-de1' export job_file='/lkp/jobs/queued/validate/lkp-bdw-de1/kunit-group-03-debian-12-x86_64-20240206.cgz-93533996100c-20240414-50889-442m4d-3.yaml' export id='4106eca5dd4b2da1ea111410cf892f3b8d67ebd1' export queuer_version='/zday/lkp' 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 brand='Intel(R) Xeon(R) CPU D-1541 @ 2.10GHz' export commit='93533996100c60ea6d4342c454752c0eb1e4b6b1' export ucode='0x700001c' export need_kconfig_hw='{"PTP_1588_CLOCK"=>"y"} {"IGB"=>"y"} {"NETDEVICES"=>"y"} {"ETHERNET"=>"y"} {"NET_VENDOR_INTEL"=>"y"} {"PCI"=>"y"} SATA_AHCI SATA_AHCI_PLATFORM ATA {"HAS_DMA"=>"y"}' export need_kconfig='{"DRM_KUNIT_TEST"=>"m"} DRM' export kconfig='x86_64-rhel-8.3-kunit' export enqueue_time='2024-04-14 15:45:06 +0800' export _rt='/result/kunit/group-03/lkp-bdw-de1/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-kunit/gcc-13/93533996100c60ea6d4342c454752c0eb1e4b6b1' export compiler='gcc-13' export head_commit='287d72d68392e344c56e51ea14ce870d793f3e4b' export base_commit='fec50db7033ea478773b159e0e2efb135270e3b7' export branch='linux-next/master' export rootfs='debian-12-x86_64-20240206.cgz' export user='lkp' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20240412-094317' export arch='x86_64' export max_uptime=6000 export initrd='/osimage/debian/debian-12-x86_64-20240206.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/kunit/group-03/lkp-bdw-de1/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-kunit/gcc-13/93533996100c60ea6d4342c454752c0eb1e4b6b1/3 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-kunit/gcc-13/93533996100c60ea6d4342c454752c0eb1e4b6b1/vmlinuz-6.9.0-rc1-00004-g93533996100c branch=linux-next/master job=/lkp/jobs/scheduled/lkp-bdw-de1/kunit-group-03-debian-12-x86_64-20240206.cgz-93533996100c-20240414-50889-442m4d-3.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-kunit commit=93533996100c60ea6d4342c454752c0eb1e4b6b1 kunit.enable=1 nmi_watchdog=0 intremap=posted_msi max_uptime=6000 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 earlyprintk=ttyS0,115200 systemd.log_level=err console=ttyS0,115200 console=tty0 rw' export modules_initrd='/pkg/linux/x86_64-rhel-8.3-kunit/gcc-13/93533996100c60ea6d4342c454752c0eb1e4b6b1/modules.cgz' export bm_initrd='/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/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-bdw-de1/kunit-group-03-debian-12-x86_64-20240206.cgz-93533996100c-20240414-50889-442m4d-3.cgz' export last_kernel='6.9.0-rc3' export acpi_rsdp='0x000f0580' export repeat_to=6 export kbuild_queue_analysis=1 export kernel='/pkg/linux/x86_64-rhel-8.3-kunit/gcc-13/93533996100c60ea6d4342c454752c0eb1e4b6b1/vmlinuz-6.9.0-rc1-00004-g93533996100c' export result_root='/result/kunit/group-03/lkp-bdw-de1/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-kunit/gcc-13/93533996100c60ea6d4342c454752c0eb1e4b6b1/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/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 group='group-03' $LKP_SRC/tests/wrapper kunit } extract_stats() { export stats_part_begin= export stats_part_end= env group='group-03' $LKP_SRC/stats/wrapper kunit $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper kmemleak $LKP_SRC/stats/wrapper time kunit.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 } "$@"