#!/bin/sh export_top_env() { export suite='ftq' export testcase='ftq' export category='noise-benchmark' export nr_task=192 export samples='100000ss' export job_origin='/lkp/lkp/.src-20181026-121544/allot/cyclic:default:linux-devel:devel-hourly/lkp-bdw-ex1/ftq.yaml' export queue='validate' export testbox='lkp-bdw-ex1' export tbox_group='lkp-bdw-ex1' export submit_id='5bd5a0fb0b9a9331294c68f2' export job_file='/lkp/jobs/scheduled/lkp-bdw-ex1/ftq-100%-100000ss-add-1000-ucode=0xb00002e-performance-debian-x86_64-2018-04-03.cgz-8dab1f5c1e6a0b2cb17237035efaf019553d79ea-20181028-78121-19na4op-8.yaml' export id='bea1dbc7110a966efff2f2f3b54839090bb88889' export model='Broadwell-EX' export nr_node=4 export nr_cpu=192 export memory='512G' export swap_partitions= export rootfs_partition= export brand='Intel(R) Xeon(R) CPU E7-8890 v4 @ 2.20GHz' export ucode='0xb00002e' export commit='8dab1f5c1e6a0b2cb17237035efaf019553d79ea' export kconfig='x86_64-rhel-7.2' export compiler='gcc-7' export rootfs='debian-x86_64-2018-04-03.cgz' export enqueue_time='2018-10-28 19:43:56 +0800' export _id='5bd5a0fc0b9a9331294c68f9' export _rt='/result/ftq/100%-100000ss-add-1000-ucode=0xb00002e-performance/lkp-bdw-ex1/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/8dab1f5c1e6a0b2cb17237035efaf019553d79ea' export user='lkp' export head_commit='16aa49806a18f7a3b7944e20b51c135b307168c8' export base_commit='84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d' export branch='linux-devel/devel-hourly-2018102705' export result_root='/result/ftq/100%-100000ss-add-1000-ucode=0xb00002e-performance/lkp-bdw-ex1/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/8dab1f5c1e6a0b2cb17237035efaf019553d79ea/8' export LKP_SERVER='inn' export max_uptime=3600 export initrd='/osimage/debian/debian-x86_64-2018-04-03.cgz' export bootloader_append='root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/lkp-bdw-ex1/ftq-100%-100000ss-add-1000-ucode=0xb00002e-performance-debian-x86_64-2018-04-03.cgz-8dab1f5c1e6a0b2cb17237035efaf019553d79ea-20181028-78121-19na4op-8.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.2 branch=linux-devel/devel-hourly-2018102705 commit=8dab1f5c1e6a0b2cb17237035efaf019553d79ea BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.2/gcc-7/8dab1f5c1e6a0b2cb17237035efaf019553d79ea/vmlinuz-4.17.0-rc7-00044-g8dab1f5 max_uptime=3600 RESULT_ROOT=/result/ftq/100%-100000ss-add-1000-ucode=0xb00002e-performance/lkp-bdw-ex1/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/8dab1f5c1e6a0b2cb17237035efaf019553d79ea/8 LKP_SERVER=inn 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-7.2/gcc-7/8dab1f5c1e6a0b2cb17237035efaf019553d79ea/modules.cgz' export bm_initrd='/osimage/deps/debian-x86_64-2018-04-03.cgz/run-ipconfig_2018-04-03.cgz,/osimage/deps/debian-x86_64-2018-04-03.cgz/lkp_2018-04-03.cgz,/osimage/deps/debian-x86_64-2018-04-03.cgz/rsync-rootfs_2018-04-03.cgz,/osimage/pkg/debian-x86_64-2018-04-03.cgz/ftq-x86_64-0833481_2018-05-18.cgz,/osimage/deps/debian-x86_64-2018-04-03.cgz/hw+lkp-run-on-qemu.cgz' export lkp_initrd='/lkp/lkp/lkp-x86_64.cgz' export site='inn' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export repeat_to=12 export kernel='/pkg/linux/x86_64-rhel-7.2/gcc-7/8dab1f5c1e6a0b2cb17237035efaf019553d79ea/vmlinuz-4.17.0-rc7-00044-g8dab1f5' export dequeue_time='2018-10-29 02:17:56 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-bdw-ex1/ftq-100%-100000ss-add-1000-ucode=0xb00002e-performance-debian-x86_64-2018-04-03.cgz-8dab1f5c1e6a0b2cb17237035efaf019553d79ea-20181028-78121-19na4op-8.cgz' [ -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/cpufreq_governor 'performance' run_monitor $LKP_SRC/monitors/wrapper oom-killer run_monitor $LKP_SRC/monitors/plain/watchdog run_test test='add' freq=1000 $LKP_SRC/tests/wrapper ftq } extract_stats() { $LKP_SRC/stats/wrapper ftq $LKP_SRC/stats/wrapper time ftq.time $LKP_SRC/stats/wrapper time $LKP_SRC/stats/wrapper dmesg $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper stderr $LKP_SRC/stats/wrapper last_state } "$@"