#!/bin/sh export_top_env() { export suite='phoronix-test-suite' export testcase='phoronix-test-suite' export rootfs='inn:/export/debian-full-x86_64' export job_origin='/lkp/lkp/.src-20161027-210327/allot/cyclic:linux-devel:devel-hourly/lkp-ne02/phoronix-test-suite.yaml' export queue='bisect' export testbox='lkp-ne02' export tbox_group='lkp-ne02' export submit_id='581b29600b9a930ae1ce86b6' export job_file='/lkp/scheduled/lkp-ne02/phoronix-test-suite-dbench-1.0.0-debian-full-x86_64-e7aefd26508f4ae464d960c798c15fd06a6c0279-20161103-2785-9conv5-0.yaml' export id='f9687c44ca193cdec13daeb3977f4c1aadcacdb9' export model='Nehalem-EP' export nr_node=2 export nr_cpu=16 export memory='5G' export nr_hdd_partitions=3 export hdd_partitions='/dev/disk/by-id/ata-HGST_HTS721010A9E630_JR10006P0NZTSF-part1' export swap_partitions='/dev/disk/by-id/ata-HDT722516DLA380_VDSD1DTCEMUZLJ-part1' export rootfs_partition='/dev/disk/by-id/ata-HGST_HTS721010A9E630_JR10006P0NZTSF-part2' export commit='e7aefd26508f4ae464d960c798c15fd06a6c0279' export run_on_local_disk=true export kconfig='x86_64-rhel-7.2' export compiler='gcc-6' export enqueue_time='2016-11-03 20:11:12 +0800' export _id='581b29600b9a930ae1ce86b6' export user='lkp' export head_commit='9625422afcd1daf32642f08eca9dd6ab8878bc8c' export base_commit='a909d3e636995ba7c349e2ca5dbb528154d4ac30' export branch='linux-devel/devel-hourly-2016110118' export result_root='/result/phoronix-test-suite/dbench-1.0.0/lkp-ne02/debian-full-x86_64/x86_64-rhel-7.2/gcc-6/e7aefd26508f4ae464d960c798c15fd06a6c0279/0' export LKP_SERVER='inn' export max_uptime=3600 export initrd='/osimage/initramfs/initramfs.cgz' export bootloader_append='root=/dev/disk/by-id/ata-HGST_HTS721010A9E630_JR10006P0NZTSF-part2 rootflags=subvol=debian-full-x86_64 remote_rootfs=inn:/export/debian-full-x86_64 user=lkp job=/lkp/scheduled/lkp-ne02/phoronix-test-suite-dbench-1.0.0-debian-full-x86_64-e7aefd26508f4ae464d960c798c15fd06a6c0279-20161103-2785-9conv5-0.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.2 branch=linux-devel/devel-hourly-2016110118 commit=e7aefd26508f4ae464d960c798c15fd06a6c0279 BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.2/gcc-6/e7aefd26508f4ae464d960c798c15fd06a6c0279/vmlinuz-4.9.0-rc3-00021-ge7aefd26 max_uptime=3600 RESULT_ROOT=/result/phoronix-test-suite/dbench-1.0.0/lkp-ne02/debian-full-x86_64/x86_64-rhel-7.2/gcc-6/e7aefd26508f4ae464d960c798c15fd06a6c0279/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/lkp/lkp-x86_64.cgz' export modules_initrd='/pkg/linux/x86_64-rhel-7.2/gcc-6/e7aefd26508f4ae464d960c798c15fd06a6c0279/modules.cgz' export site='inn' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export kernel='/pkg/linux/x86_64-rhel-7.2/gcc-6/e7aefd26508f4ae464d960c798c15fd06a6c0279/vmlinuz-4.9.0-rc3-00021-ge7aefd26' export dequeue_time='2016-11-03 20:20:25 +0800' export job_initrd='/lkp/scheduled/lkp-ne02/phoronix-test-suite-dbench-1.0.0-debian-full-x86_64-e7aefd26508f4ae464d960c798c15fd06a6c0279-20161103-2785-9conv5-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_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='dbench-1.0.0' $LKP_SRC/tests/wrapper phoronix-test-suite } extract_stats() { $LKP_SRC/stats/wrapper phoronix-test-suite $LKP_SRC/stats/wrapper time phoronix-test-suite.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 } "$@"