#!/bin/sh export_top_env() { export suite='stress-ng' export testcase='stress-ng' export category='benchmark' export nr_threads=192 export testtime=60 export job_origin='stress-ng-part3.yaml' export queue_cmdline_keys= export queue='vip' export testbox='lkp-srf-2sp3' export tbox_group='lkp-srf-2sp3' export job_file='/lkp/jobs/queued/vip/lkp-srf-2sp3/stress-ng-performance-100%-pthread-60s-debian-13-x86_64-20250902.cgz-802182490445-20260305-626224-96md0r-6.yaml' export id='d056ff7f891eec7d0e0c5f5df3991185f5828e52' export queuer_version='/lkp/xsang/.src-20260305-141524' export model='Sierra Forest' export nr_node=2 export nr_cpu=192 export memory='256G' export nr_ssd_partitions=3 export ssd_partitions='/dev/disk/by-id/nvme-INTEL_SSDPF2KX019T1M_PHAX404006J61P9BGN-part5 /dev/disk/by-id/nvme-INTEL_SSDPF2KX019T1M_PHAX404006J61P9BGN-part6 /dev/disk/by-id/nvme-INTEL_SSDPF2KX019T1M_PHAX404006J61P9BGN-part7' export rootfs_partition='/dev/disk/by-id/nvme-INTEL_SSDPF2KX019T1M_PHAX404006J61P9BGN-part5' export kernel_cmdline_hw='acpi_rsdp=0x65a3f014' export brand='Intel(R) Xeon(R) 6740E CPU @ 2.4GHz' export ucode='0x3000330' export need_kconfig=\{\"XFS_ONLINE_SCRUB_STATS\"\=\>\"n\"\}' '\{\"XFS_DEBUG\"\=\>\"n\"\}' '\{\"XFS_WARN\"\=\>\"y\"\}' '\{\"PM_DEBUG\"\=\>\"n\"\}' '\{\"PM_SLEEP_DEBUG\"\=\>\"n\"\}' '\{\"DEBUG_ATOMIC_SLEEP\"\=\>\"n\"\}' '\{\"DEBUG_SPINLOCK_SLEEP\"\=\>\"n\"\}' '\{\"CIFS_DEBUG\"\=\>\"n\"\}' '\{\"SCSI_DEBUG\"\=\>\"n\"\}' '\{\"NFS_DEBUG\"\=\>\"n\"\}' '\{\"SUNRPC_DEBUG\"\=\>\"n\"\}' '\{\"DM_DEBUG\"\=\>\"n\"\}' '\{\"DEBUG_SHIRQ\"\=\>\"n\"\}' '\{\"OCFS2_DEBUG_MASKLOG\"\=\>\"n\"\}' '\{\"DEBUG_MEMORY_INIT\"\=\>\"n\"\}' '\{\"BUG_ON_DATA_CORRUPTION\"\=\>\"n\"\}' '\{\"DEBUG_LIST\"\=\>\"n\"\}' '\{\"DEBUG_PLIST\"\=\>\"n\"\}' '\{\"EXPERT\"\=\>\"y\"\}' '\{\"PREEMPT_NONE\"\=\>\"n\"\}' '\{\"PREEMPT\"\=\>\"n\"\}' '\{\"PREEMPT_RT\"\=\>\"n\"\}' '\{\"PREEMPT_DYNAMIC\"\=\>\"n\"\} export commit='802182490445f6bcf5de0e0518fb967c2afb6da1' export kconfig='x86_64-rhel-9.4' export enqueue_time='2026-03-05 15:23:08 +0800' export _rt='/result/stress-ng/performance-100%-pthread-60s/lkp-srf-2sp3/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4/gcc-14/802182490445f6bcf5de0e0518fb967c2afb6da1' export compiler='gcc-14' export head_commit='9152bc8cebcb14dc16b03ec81f2377ee8ce12268' export base_commit='05f7e89ab9731565d8a62e3b5d1ec206485eeb0b' export branch='linux-next/master' export rootfs='debian-13-x86_64-20250902.cgz' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20260305-082135' export arch='x86_64' export max_uptime=14400 export initrd='/osimage/debian/debian-13-x86_64-20250902.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/stress-ng/performance-100%-pthread-60s/lkp-srf-2sp3/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4/gcc-14/802182490445f6bcf5de0e0518fb967c2afb6da1/0 BOOT_IMAGE=/pkg/linux/x86_64-rhel-9.4/gcc-14/802182490445f6bcf5de0e0518fb967c2afb6da1/vmlinuz-6.19.0-rc1-00033-g802182490445 branch=linux-next/master job=/lkp/jobs/scheduled/lkp-srf-2sp3/stress-ng-performance-100%-pthread-60s-debian-13-x86_64-20250902.cgz-802182490445-20260305-626224-96md0r-6.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-9.4 commit=802182490445f6bcf5de0e0518fb967c2afb6da1 intremap=posted_msi acpi_rsdp=0x65a3f014 max_uptime=14400 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/gcc-14/802182490445f6bcf5de0e0518fb967c2afb6da1/modules.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/stress-ng_20251230.cgz,/osimage/pkg/debian-13-x86_64-20250902.cgz/stress-ng-x86_64-30f8b2f05-1_20251212.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/iostat_20251229.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/turbostat_20251231.cgz,/osimage/pkg/debian-13-x86_64-20250902.cgz/turbostat-x86_64-0739473694c4-1_20251011.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/perf_20251230.cgz,/osimage/pkg/debian-13-x86_64-20250902.cgz/perf-x86_64-0739473694c4-1_20251010.cgz,/osimage/pkg/debian-13-x86_64-20250902.cgz/sar-x86_64-eb341c2e-1_20251011.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/hw_20250902.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-srf-2sp3/stress-ng-performance-100%-pthread-60s-debian-13-x86_64-20250902.cgz-802182490445-20260305-626224-96md0r-6.cgz' export last_kernel='6.1.0-32-amd64' export finish_time='2026-02-22 01:51:21 +0800' export kbuild_queue_analysis=1 export kernel='/pkg/linux/x86_64-rhel-9.4/gcc-14/802182490445f6bcf5de0e0518fb967c2afb6da1/vmlinuz-6.19.0-rc1-00033-g802182490445' export result_root='/result/stress-ng/performance-100%-pthread-60s/lkp-srf-2sp3/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4/gcc-14/802182490445f6bcf5de0e0518fb967c2afb6da1/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 cpufreq_governor 'performance' run_setup $LKP_SRC/bin/run-setup sanity-check run_monitor $LKP_SRC/bin/run-monitor kmsg run_monitor $LKP_SRC/bin/run-no-stdout-monitor boot-time run_monitor $LKP_SRC/bin/run-monitor uptime run_monitor $LKP_SRC/bin/run-monitor iostat run_monitor $LKP_SRC/bin/run-monitor heartbeat run_monitor $LKP_SRC/bin/run-monitor vmstat run_monitor $LKP_SRC/bin/run-monitor numa-numastat run_monitor $LKP_SRC/bin/run-monitor numa-vmstat run_monitor $LKP_SRC/bin/run-monitor numa-meminfo run_monitor $LKP_SRC/bin/run-monitor proc-vmstat run_monitor $LKP_SRC/bin/run-monitor proc-stat run_monitor $LKP_SRC/bin/run-monitor meminfo run_monitor $LKP_SRC/bin/run-monitor slabinfo run_monitor $LKP_SRC/bin/run-monitor interrupts run_monitor $LKP_SRC/bin/run-monitor lock_stat run_monitor lite_mode=1 $LKP_SRC/bin/run-monitor perf-sched run_monitor $LKP_SRC/bin/run-monitor softirqs run_monitor $LKP_SRC/bin/run-one-shot-monitor bdi_dev_mapping run_monitor $LKP_SRC/bin/run-monitor diskstats run_monitor $LKP_SRC/bin/run-monitor nfsstat run_monitor $LKP_SRC/bin/run-monitor cpuidle run_monitor $LKP_SRC/bin/run-monitor cpufreq-stats run_monitor $LKP_SRC/bin/run-monitor turbostat run_monitor $LKP_SRC/bin/run-monitor sched_debug run_monitor $LKP_SRC/bin/run-monitor perf-stat run_monitor $LKP_SRC/bin/run-monitor mpstat run_monitor debug_mode=0 $LKP_SRC/bin/run-no-stdout-monitor perf-c2c run_monitor debug_mode=0 $LKP_SRC/bin/run-no-stdout-monitor perf-profile run_monitor $LKP_SRC/bin/run-monitor oom-killer run_monitor $LKP_SRC/bin/run-plain-monitor watchdog run_test test='pthread' $LKP_SRC/bin/run-test stress-ng } extract_stats() { export stats_part_begin= export stats_part_end= env test='pthread' $LKP_SRC/bin/run-stats stress-ng $LKP_SRC/bin/run-stats kmsg $LKP_SRC/bin/run-stats boot-time $LKP_SRC/bin/run-stats uptime $LKP_SRC/bin/run-stats iostat $LKP_SRC/bin/run-stats vmstat $LKP_SRC/bin/run-stats numa-numastat $LKP_SRC/bin/run-stats numa-vmstat $LKP_SRC/bin/run-stats numa-meminfo $LKP_SRC/bin/run-stats proc-vmstat $LKP_SRC/bin/run-stats meminfo $LKP_SRC/bin/run-stats slabinfo $LKP_SRC/bin/run-stats interrupts $LKP_SRC/bin/run-stats lock_stat env lite_mode=1 $LKP_SRC/bin/run-stats perf-sched $LKP_SRC/bin/run-stats softirqs $LKP_SRC/bin/run-stats diskstats $LKP_SRC/bin/run-stats nfsstat $LKP_SRC/bin/run-stats cpuidle $LKP_SRC/bin/run-stats cpufreq-stats $LKP_SRC/bin/run-stats turbostat $LKP_SRC/bin/run-stats sched_debug $LKP_SRC/bin/run-stats perf-stat $LKP_SRC/bin/run-stats mpstat env debug_mode=0 $LKP_SRC/bin/run-stats perf-c2c env debug_mode=0 $LKP_SRC/bin/run-stats perf-profile $LKP_SRC/bin/run-stats time stress-ng.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 } "$@"