#!/bin/sh export_top_env() { export suite='perf-sanity-tests' export testcase='perf-sanity-tests' export category='functional' export need_memory='2G' export job_origin='perf-sanity-tests.yaml' export queue_cmdline_keys='branch commit' export queue='bisect' export testbox='lkp-cml-d02' export tbox_group='lkp-cml-d02' export job_file='/lkp/jobs/queued/bisect/lkp-cml-d02/perf-sanity-tests-group-00-gcc-debian-13-x86_64-20250902.cgz-166f10836a65-20260914-9381-2fwcfj-0.yaml' export id='0780428708c07d558f97d8675b106b439f4c4353' export queuer_version='/zdci/src/lkp' export model='Commet Lake' export nr_node=1 export nr_cpu=20 export memory='16G' export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BA800G4_BTHV61840945800OGN-part4' export rootfs_partition='/dev/disk/by-id/ata-INTEL_SSDSC2BA800G4_BTHV61840945800OGN-part3' export kernel_cmdline_hw='acpi_rsdp=0x9b0fe014' export netconsole_port=6683 export ucode='0xc2' export stepping='06-a5-01' export need_kconfig_hw='{"PTP_1588_CLOCK"=>"y"} {"IGB"=>"y"} {"E1000E"=>"y"} SATA_AHCI DRM_I915 {"IGC"=>"y"}' export initrds='linux_perf' export commit='166f10836a653dfa280d4335603b52f685b8b1ef' export kconfig='x86_64-rhel-9.4-bpf' export enqueue_time='2026-09-14 17:55:11 +0800' export _rt='/result/perf-sanity-tests/group-00-gcc/lkp-cml-d02/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-bpf/gcc-14/166f10836a653dfa280d4335603b52f685b8b1ef' export compiler='gcc-14' export head_commit='c531d346f08841ca13fb2faae3c9cbab5ceae3f2' export base_commit='df2908090cda368b01ff43709f51890076c56157' export branch='internal-devel/devel-hourly-20260910-204209' export rootfs='debian-13-x86_64-20250902.cgz' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20260914-105110' export arch='x86_64' export max_uptime=3600 export initrd='/osimage/debian/debian-13-x86_64-20250902.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/perf-sanity-tests/group-00-gcc/lkp-cml-d02/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-bpf/gcc-14/166f10836a653dfa280d4335603b52f685b8b1ef/0 BOOT_IMAGE=/pkg/linux/x86_64-rhel-9.4-bpf/gcc-14/166f10836a653dfa280d4335603b52f685b8b1ef/vmlinuz-7.2.0-rc1+ branch=internal-devel/devel-hourly-20260910-204209 job=/lkp/jobs/scheduled/lkp-cml-d02/perf-sanity-tests-group-00-gcc-debian-13-x86_64-20250902.cgz-166f10836a65-20260914-9381-2fwcfj-0.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-9.4-bpf commit=166f10836a653dfa280d4335603b52f685b8b1ef intremap=posted_msi acpi_rsdp=0x9b0fe014 max_uptime=3600 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-9.4-bpf/gcc-14/166f10836a653dfa280d4335603b52f685b8b1ef/modules.cgz' export linux_perf_initrd='/pkg/linux/x86_64-rhel-9.4-bpf/gcc-14/166f10836a653dfa280d4335603b52f685b8b1ef/linux-perf.cgz' export bm_initrd='/osimage/deps/debian-13-x86_64-20250902.cgz/lkp_20251225.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/run-ipconfig_20251230.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/perf_20260912.cgz,/osimage/pkg/debian-13-x86_64-20250902.cgz/perf-x86_64-cba2348ab114-1_20260912.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/hw_20260715.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20250523.cgz' export lkp_initrd='/osimage/user/lkp/lkp-x86_64.cgz' export site='shz' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export job_initrd='/lkp/jobs/scheduled/lkp-cml-d02/perf-sanity-tests-group-00-gcc-debian-13-x86_64-20250902.cgz-166f10836a65-20260914-9381-2fwcfj-0.cgz' export last_kernel='5.9.0-0.bpo.5-amd64' export finish_time='2026-09-13 01:48:31 +0800' export kernel='/pkg/linux/x86_64-rhel-9.4-bpf/gcc-14/166f10836a653dfa280d4335603b52f685b8b1ef/vmlinuz-7.2.0-rc1+' export result_root='/result/perf-sanity-tests/group-00-gcc/lkp-cml-d02/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-bpf/gcc-14/166f10836a653dfa280d4335603b52f685b8b1ef/0' export user='lkp' [ -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/bin/run-setup sanity-check run_monitor $LKP_SRC/bin/run-monitor kmsg run_monitor $LKP_SRC/bin/run-monitor heartbeat run_monitor $LKP_SRC/bin/run-monitor meminfo run_monitor $LKP_SRC/bin/run-monitor oom-killer run_monitor $LKP_SRC/bin/run-plain-monitor watchdog run_test perf_compiler='gcc' group='group-00' $LKP_SRC/bin/run-test perf-sanity-tests } extract_stats() { export stats_part_begin= export stats_part_end= env perf_compiler='gcc' group='group-00' $LKP_SRC/bin/run-stats perf-sanity-tests $LKP_SRC/bin/run-stats kmsg $LKP_SRC/bin/run-stats meminfo $LKP_SRC/bin/run-stats time perf-sanity-tests.time $LKP_SRC/bin/run-stats dmesg $LKP_SRC/bin/run-stats kmsg $LKP_SRC/bin/run-stats last_state $LKP_SRC/bin/run-stats stderr $LKP_SRC/bin/run-stats time } "$@"