#!/bin/sh export_top_env() { export suite='ftq' export testcase='ftq' export category='noise-benchmark' export nr_task=8 export samples='6000ss' export job_origin='/lkp/renyl/.src-20161206-143714/allot/cyclic:linux-devel:devel-hourly/lkp-hsw-d01/ftq.yaml' export queue='bisect' export testbox='lkp-hsw-d01' export tbox_group='lkp-hsw-d01' export submit_id='584aff400b9a931fc9fa535b' export job_file='/lkp/scheduled/lkp-hsw-d01/ftq-100%-6000ss-cache-20-powersave-debian-x86_64-2016-08-31.cgz-4e5160766fcc9f41bbd38bac11f92dce993644aa-20161210-73673-193f4jt-0.yaml' export id='72f430f88790d964127a1252c266d9ec2d7648ee' export model='Haswell' export nr_cpu=8 export memory='8G' export hdd_partitions= export swap_partitions= export rootfs_partition= export brand='Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz' export commit='4e5160766fcc9f41bbd38bac11f92dce993644aa' export pxe_user='renyl' export kconfig='x86_64-rhel-7.2' export compiler='gcc-6' export rootfs='debian-x86_64-2016-08-31.cgz' export enqueue_time='2016-12-10 03:00:17 +0800' export _id='584aff400b9a931fc9fa535b' export user='renyl' export head_commit='3928fb7685add09bc3c3e04085510a0ecbea2bbc' export base_commit='3e5de27e940d00d8d504dfb96625fb654f641509' export branch='linux-devel/devel-hourly-2016120819' export result_root='/result/ftq/100%-6000ss-cache-20-powersave/lkp-hsw-d01/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-6/4e5160766fcc9f41bbd38bac11f92dce993644aa/0' export LKP_SERVER='inn' export max_uptime=3600 export initrd='/osimage/debian/debian-x86_64-2016-08-31.cgz' export bootloader_append='root=/dev/ram0 user=renyl job=/lkp/scheduled/lkp-hsw-d01/ftq-100%-6000ss-cache-20-powersave-debian-x86_64-2016-08-31.cgz-4e5160766fcc9f41bbd38bac11f92dce993644aa-20161210-73673-193f4jt-0.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.2 branch=linux-devel/devel-hourly-2016120819 commit=4e5160766fcc9f41bbd38bac11f92dce993644aa BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.2/gcc-6/4e5160766fcc9f41bbd38bac11f92dce993644aa/vmlinuz-4.9.0-rc5-00198-g4e51607 max_uptime=3600 RESULT_ROOT=/result/ftq/100%-6000ss-cache-20-powersave/lkp-hsw-d01/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-6/4e5160766fcc9f41bbd38bac11f92dce993644aa/0 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 systemd.log_level=err ignore_loglevel earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 vga=normal rw' export lkp_initrd='/lkp/renyl/lkp-x86_64.cgz' export modules_initrd='/pkg/linux/x86_64-rhel-7.2/gcc-6/4e5160766fcc9f41bbd38bac11f92dce993644aa/modules.cgz' export bm_initrd='/osimage/deps/debian-x86_64-2016-08-31.cgz/lkp_2016-11-15.cgz,/osimage/deps/debian-x86_64-2016-08-31.cgz/rsync-rootfs_2016-11-15.cgz,/osimage/deps/debian-x86_64-2016-08-31.cgz/run-ipconfig_2016-11-15.cgz,/osimage/pkg/debian-x86_64-2016-08-31.cgz/ftq-x86_64_2016-11-17.cgz,/osimage/deps/debian-x86_64-2016-08-31.cgz/hw_2016-11-15.cgz' export site='inn' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export repeat_to=2 export kernel='/pkg/linux/x86_64-rhel-7.2/gcc-6/4e5160766fcc9f41bbd38bac11f92dce993644aa/vmlinuz-4.9.0-rc5-00198-g4e51607' export dequeue_time='2016-12-10 03:04:49 +0800' export job_initrd='/lkp/scheduled/lkp-hsw-d01/ftq-100%-6000ss-cache-20-powersave-debian-x86_64-2016-08-31.cgz-4e5160766fcc9f41bbd38bac11f92dce993644aa-20161210-73673-193f4jt-0.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_monitor $LKP_SRC/monitors/wrapper nfs-hang 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 } "$@"