#!/bin/sh export_top_env() { export suite='v4l2' export testcase='v4l2' export category='functional' export job_origin='/lkp/lkp/.src-20200508-142806/allot/cyclic:p2:linux-devel:devel-hourly/lkp-hsw-ep4/v4l2.yaml' export queue_cmdline_keys='branch commit queue_at_least_once' export queue='validate' export testbox='lkp-hsw-ep4' export tbox_group='lkp-hsw-ep4' export submit_id='5eb8af4759fcc457b8d33931' export job_file='/lkp/jobs/scheduled/lkp-hsw-ep4/v4l2-device-ucode=0x43-debian-x86_64-20191114.cgz-b13663bdf9701c8896bebcc7ee998f8656c1ea37-20200511-22456-10knppt-3.yaml' export id='71513b3f8314be04a566650bdc458d10ef25495f' export queuer_version='/lkp-src' export model='Haswell-EP' export nr_node=2 export nr_cpu=72 export memory='256G' export nr_hdd_partitions=1 export nr_ssd_partitions=2 export hdd_partitions='/dev/disk/by-id/ata-ST2000NM0011_Z1P67EBL-part1' export ssd_partitions='/dev/disk/by-id/nvme-INTEL_SSDPECME016T4_CVF87091000C1P6IGN-1-part1 /dev/disk/by-id/nvme-INTEL_SSDPECME016T4_CVF87091000C1P6IGN-2-part1' export swap_partitions= export rootfs_partition='/dev/disk/by-id/ata-ST1000DM003-1ER162_W4Y2NRMT-part1' export brand='Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz' export commit='b13663bdf9701c8896bebcc7ee998f8656c1ea37' export ucode='0x43' export need_kconfig_hw='CONFIG_IXGBE=y CONFIG_SATA_AHCI CONFIG_BLK_DEV_NVME' export kconfig='x86_64-rhel-7.6' export compiler='gcc-7' export enqueue_time='2020-05-11 09:50:03 +0800' export _id='5eb8af4b59fcc457b8d33932' export _rt='/result/v4l2/device-ucode=0x43/lkp-hsw-ep4/debian-x86_64-20191114.cgz/x86_64-rhel-7.6/gcc-7/b13663bdf9701c8896bebcc7ee998f8656c1ea37' export user='lkp' export head_commit='33119470d950e6fc3e228a25bdab29a12b4ff7b4' export base_commit='0e698dfa282211e414076f9dc7e83c1c288314fd' export branch='linux-devel/devel-hourly-2020050816' export rootfs='debian-x86_64-20191114.cgz' export result_root='/result/v4l2/device-ucode=0x43/lkp-hsw-ep4/debian-x86_64-20191114.cgz/x86_64-rhel-7.6/gcc-7/b13663bdf9701c8896bebcc7ee998f8656c1ea37/3' export scheduler_version='/lkp/lkp/.src-20200511-094403' export LKP_SERVER='inn' export arch='x86_64' export max_uptime=3600 export initrd='/osimage/debian/debian-x86_64-20191114.cgz' export bootloader_append='root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/lkp-hsw-ep4/v4l2-device-ucode=0x43-debian-x86_64-20191114.cgz-b13663bdf9701c8896bebcc7ee998f8656c1ea37-20200511-22456-10knppt-3.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.6 branch=linux-devel/devel-hourly-2020050816 commit=b13663bdf9701c8896bebcc7ee998f8656c1ea37 BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.6/gcc-7/b13663bdf9701c8896bebcc7ee998f8656c1ea37/vmlinuz-5.7.0-rc3-00025-gb13663bdf9701c max_uptime=3600 RESULT_ROOT=/result/v4l2/device-ucode=0x43/lkp-hsw-ep4/debian-x86_64-20191114.cgz/x86_64-rhel-7.6/gcc-7/b13663bdf9701c8896bebcc7ee998f8656c1ea37/3 LKP_SERVER=inn nokaslr selinux=0 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.6/gcc-7/b13663bdf9701c8896bebcc7ee998f8656c1ea37/modules.cgz' export bm_initrd='/osimage/deps/debian-x86_64-20180403.cgz/run-ipconfig_2018-04-03.cgz,/osimage/deps/debian-x86_64-20180403.cgz/lkp_2019-08-05.cgz,/osimage/deps/debian-x86_64-20180403.cgz/rsync-rootfs_2018-04-03.cgz,/osimage/deps/debian-x86_64-20180403.cgz/v4l2_2019-12-09.cgz,/osimage/pkg/debian-x86_64-20180403.cgz/v4l2-x86_64-51d148f9-1_20200319.cgz,/osimage/deps/debian-x86_64-20180403.cgz/hw_2020-01-02.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20191114.cgz' export lkp_initrd='/osimage/user/lkp/lkp-x86_64.cgz' export site='inn' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export last_kernel='5.7.0-rc4' export repeat_to=4 export schedule_notify_address= export queue_at_least_once=1 export kernel='/pkg/linux/x86_64-rhel-7.6/gcc-7/b13663bdf9701c8896bebcc7ee998f8656c1ea37/vmlinuz-5.7.0-rc3-00025-gb13663bdf9701c' export dequeue_time='2020-05-11 10:20:24 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-hsw-ep4/v4l2-device-ucode=0x43-debian-x86_64-20191114.cgz-b13663bdf9701c8896bebcc7ee998f8656c1ea37-20200511-22456-10knppt-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_monitor $LKP_SRC/monitors/wrapper kmsg run_monitor $LKP_SRC/monitors/wrapper heartbeat run_monitor $LKP_SRC/monitors/wrapper meminfo run_monitor $LKP_SRC/monitors/wrapper oom-killer run_monitor $LKP_SRC/monitors/plain/watchdog run_test test='device' $LKP_SRC/tests/wrapper v4l2 } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper v4l2 $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time v4l2.time $LKP_SRC/stats/wrapper dmesg $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper last_state $LKP_SRC/stats/wrapper stderr $LKP_SRC/stats/wrapper time } "$@"