#!/bin/sh export_top_env() { export suite='lkvs' export testcase='lkvs' export category='functional' export timeout='1h' export job_origin='lkvs-new-platform.yaml' export queue_cmdline_keys='branch commit kbuild_queue_analysis' export queue='validate' export testbox='lkp-gnr-4sp1' export tbox_group='lkp-gnr-4sp1' export job_file='/lkp/jobs/queued/validate/lkp-gnr-4sp1/lkvs-rapl-server-debian-12-x86_64-20240206.cgz-4e29cc7c5c67-20241011-748126-1ks1myb-1.yaml' export id='29b671f2ed7e06bef2030ffe5720a962155d6e34' export queuer_version='/zday/lkp' export model='Granite Rapids' export nr_node=4 export nr_cpu=384 export memory='128G' export nr_ssd_partitions=3 export ssd_partitions='/dev/disk/by-id/nvme-SAMSUNG_MZQL2960HCJR-00B7C_S63WNE0T400284-part*' export rootfs_partition='/dev/disk/by-id/nvme-Micron_7450_MTFDKBG960TFR_22323F828B3C-part4' export kernel_cmdline_hw='acpi_rsdp=0x777fe014' export result_service='tmpfs' export LKP_SERVER='10.239.97.5' export avoid_nfs=1 export brand='GENUINE INTEL(R) XEON(R)' export commit='4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f' export need_kconfig='INTEL_UNCORE_FREQ_CONTROL INTEL_UNCORE_FREQ_CONTROL_TPMI INTEL_VSEC {"X86_USER_SHADOW_STACK"=>"y"} {"AS_WRUSS"=>"y"}' export initrds='linux_headers linux_selftests' export kconfig='x86_64-rhel-8.3-func' export enqueue_time='2024-10-11 02:47:42 +0800' export _rt='/result/lkvs/rapl-server/lkp-gnr-4sp1/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-12/4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f' export compiler='gcc-12' export head_commit='58ca61c1a866bfdaa5e19fb19a2416764f847d75' export base_commit='9852d85ec9d492ebef56dc5f229416c925758edc' export branch='linux-next/master' export rootfs='debian-12-x86_64-20240206.cgz' export user='lkp' export scheduler_version='/lkp/lkp/.src-20241009-232248' export arch='x86_64' export max_uptime=3600 export initrd='/osimage/debian/debian-12-x86_64-20240206.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/lkvs/rapl-server/lkp-gnr-4sp1/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-12/4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f/3 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-func/gcc-12/4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f/vmlinuz-6.11.0-rc7-01434-g4e29cc7c5c67 branch=linux-next/master job=/lkp/jobs/scheduled/lkp-gnr-4sp1/lkvs-rapl-server-debian-12-x86_64-20240206.cgz-4e29cc7c5c67-20241011-748126-1ks1myb-1.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-func commit=4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f intremap=posted_msi acpi_rsdp=0x777fe014 max_uptime=3600 LKP_SERVER=10.239.97.5 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-12/4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f/modules.cgz' export linux_headers_initrd='/pkg/linux/x86_64-rhel-8.3-func/gcc-12/4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f/linux-headers.cgz' export linux_selftests_initrd='/pkg/linux/x86_64-rhel-8.3-func/gcc-12/4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f/linux-selftests.cgz' export bm_initrd='/osimage/deps/debian-12-x86_64-20240206.cgz/run-ipconfig_20240904.cgz,/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/lkvs_20241008.cgz,/osimage/pkg/debian-12-x86_64-20240206.cgz/lkvs-x86_64-8e3b482-1_20241008.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/perf_20240901.cgz,/osimage/pkg/debian-12-x86_64-20240206.cgz/perf-x86_64-431c1646e1f8-1_20240901.cgz,/osimage/deps/debian-12-x86_64-20240206.cgz/hw_20240216.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-gnr-4sp1/lkvs-rapl-server-debian-12-x86_64-20240206.cgz-4e29cc7c5c67-20241011-748126-1ks1myb-1.cgz' export last_kernel='6.11.0-next-20240925-wt-ath-13273-g0179b7fc4d23' export acpi_rsdp='0x777fe014' export repeat_to=6 export kbuild_queue_analysis=1 export kernel='/pkg/linux/x86_64-rhel-8.3-func/gcc-12/4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f/vmlinuz-6.11.0-rc7-01434-g4e29cc7c5c67' export result_root='/result/lkvs/rapl-server/lkp-gnr-4sp1/debian-12-x86_64-20240206.cgz/x86_64-rhel-8.3-func/gcc-12/4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f/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 perf-stat 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 test='rapl-server' $LKP_SRC/tests/wrapper lkvs } extract_stats() { export stats_part_begin= export stats_part_end= env test='rapl-server' $LKP_SRC/stats/wrapper lkvs $LKP_SRC/stats/wrapper perf-stat $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time lkvs.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 } "$@"