#!/bin/sh export_top_env() { export suite='ftq' export testcase='ftq' export category='noise-benchmark' export nr_task=192 export samples='6000ss' export job_origin='/lkp/lkp/.src-20181129-145544/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='5c01b0710b9a9399a7ada267' export job_file='/lkp/jobs/scheduled/lkp-bdw-ex1/ftq-100%-6000ss-cache-20-ucode=0xb00002e-powersave-debian-x86_64-2018-04-03.cgz-b885537f7e920dd4e72e6170cf39f7117465d3f9-20181201-39335-1exb2w9-3.yaml' export id='27f05a19f9a4835d70aaeafdf21bcfbc55927da6' 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='b885537f7e920dd4e72e6170cf39f7117465d3f9' export kconfig='x86_64-rhel-7.2' export compiler='gcc-7' export rootfs='debian-x86_64-2018-04-03.cgz' export enqueue_time='2018-12-01 05:49:37 +0800' export _id='5c01b0710b9a9399a7ada268' export _rt='/result/ftq/100%-6000ss-cache-20-ucode=0xb00002e-powersave/lkp-bdw-ex1/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/b885537f7e920dd4e72e6170cf39f7117465d3f9' export user='lkp' export head_commit='5d9b5e5f9462205355f43a735c19093788801eb5' export base_commit='2e6e902d185027f8e3cb8b7305238f7e35d6a436' export branch='linux-devel/devel-hourly-2018112806' export result_root='/result/ftq/100%-6000ss-cache-20-ucode=0xb00002e-powersave/lkp-bdw-ex1/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/b885537f7e920dd4e72e6170cf39f7117465d3f9/3' 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%-6000ss-cache-20-ucode=0xb00002e-powersave-debian-x86_64-2018-04-03.cgz-b885537f7e920dd4e72e6170cf39f7117465d3f9-20181201-39335-1exb2w9-3.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.2 branch=linux-devel/devel-hourly-2018112806 commit=b885537f7e920dd4e72e6170cf39f7117465d3f9 BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.2/gcc-7/b885537f7e920dd4e72e6170cf39f7117465d3f9/vmlinuz-4.20.0-rc2-00034-gb885537 max_uptime=3600 RESULT_ROOT=/result/ftq/100%-6000ss-cache-20-ucode=0xb00002e-powersave/lkp-bdw-ex1/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/b885537f7e920dd4e72e6170cf39f7117465d3f9/3 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/b885537f7e920dd4e72e6170cf39f7117465d3f9/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_2016-11-15.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=18 export kernel='/pkg/linux/x86_64-rhel-7.2/gcc-7/b885537f7e920dd4e72e6170cf39f7117465d3f9/vmlinuz-4.20.0-rc2-00034-gb885537' export dequeue_time='2018-12-01 07:03:25 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-bdw-ex1/ftq-100%-6000ss-cache-20-ucode=0xb00002e-powersave-debian-x86_64-2018-04-03.cgz-b885537f7e920dd4e72e6170cf39f7117465d3f9-20181201-39335-1exb2w9-3.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 'powersave' run_monitor $LKP_SRC/monitors/wrapper oom-killer run_monitor $LKP_SRC/monitors/plain/watchdog run_test test='cache' freq=20 $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 } "$@"