#!/bin/sh export_top_env() { export suite='piglit' export testcase='piglit' export category='functional' export timeout='15m' export job_origin='/lkp/lkp/.src-20170216-111753/allot/cyclic:internal-devel:devel-hourly/lkp-skl-d01/piglit-igt-basic.yaml' export queue='bisect' export testbox='lkp-skl-d01' export tbox_group='lkp-skl-d01' export submit_id='58a8362c673d49fa810a5bf4' export job_file='/lkp/scheduled/lkp-skl-d01/piglit-igt-basic-debian-x86_64-2016-08-31.cgz-5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e-20170218-64129-i25pc8-0.yaml' export id='cc724867dd47ac550e53d47a232b2908d819cebc' export model='Skylake' export nr_cpu=8 export memory='8G' export nr_hdd_partitions=1 export hdd_partitions='/dev/disk/by-id/ata-WDC_WD10EZEX-75WN4A0_WD-WCC6Y2JD9SLU-part1' export swap_partitions='/dev/disk/by-id/ata-WDC_WD10EZEX-75WN4A0_WD-WCC6Y2JD9SLU-part3' export rootfs_partition='/dev/disk/by-id/ata-WDC_WD10EZEX-75WN4A0_WD-WCC6Y2JD9SLU-part2' export brand='Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz' export cpu_info='skylake i7-6700' export bios_version='1.2.8' export commit='5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e' export run_on_local_disk=true export kconfig='x86_64-rhel-7.2' export compiler='gcc-6' export rootfs='debian-x86_64-2016-08-31.cgz' export enqueue_time='2017-02-18 19:55:24 +0800' export _id='58a8362c673d49fa810a5bf4' export user='lkp' export head_commit='75b3442032a9b7c1fb3802e63e77355143fa32aa' export base_commit='7089db84e356562f8ba737c29e472cc42d530dbc' export branch='internal-devel/devel-hourly-2017021613-internal' export result_root='/result/piglit/igt-basic/lkp-skl-d01/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-6/5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e/0' export LKP_SERVER='inn' export max_uptime=900 export initrd='/osimage/debian/debian-x86_64-2016-08-31.cgz' export bootloader_append='root=/dev/ram0 user=lkp job=/lkp/scheduled/lkp-skl-d01/piglit-igt-basic-debian-x86_64-2016-08-31.cgz-5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e-20170218-64129-i25pc8-0.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.2 branch=internal-devel/devel-hourly-2017021613-internal commit=5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.2/gcc-6/5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e/vmlinuz-4.10.0-rc5-01362-g5a4c6f1 max_uptime=900 RESULT_ROOT=/result/piglit/igt-basic/lkp-skl-d01/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-6/5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e/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 drbd.minor_count=8 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/5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e/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/deps/debian-x86_64-2016-08-31.cgz/piglit_2016-11-15.cgz,/osimage/pkg/debian-x86_64-2016-08-31.cgz/piglit-x86_64_2016-10-31.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 kernel='/pkg/linux/x86_64-rhel-7.2/gcc-6/5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e/vmlinuz-4.10.0-rc5-01362-g5a4c6f1' export dequeue_time='2017-02-18 20:10:59 +0800' export job_initrd='/lkp/scheduled/lkp-skl-d01/piglit-igt-basic-debian-x86_64-2016-08-31.cgz-5a4c6f1b1b2d91c5252cedf1c7b68a894c3f117e-20170218-64129-i25pc8-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 kmsg run_monitor $LKP_SRC/monitors/wrapper heartbeat 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 group='igt-basic' $LKP_SRC/tests/wrapper piglit } extract_stats() { $LKP_SRC/stats/wrapper piglit $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper time piglit.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 } "$@"