#!/bin/sh export_top_env() { export suite='ltp' export testcase='ltp' export category='functional' export need_modules=true export ltp_commit='e816127e5d8efbff5ae53e9c2292fae22f36838b' export ltp_branch='ltp/master' export job_origin='/lkp/lkp/.src-20181017-163631/allot/cyclic:default:linux-devel:devel-hourly/lkp-skl-d01/ltp-1hdd.yaml' export queue='validate' export testbox='lkp-skl-d01' export tbox_group='lkp-skl-d01' export submit_id='5bc8dc4a0b9a93260fdb0dc3' export job_file='/lkp/jobs/scheduled/lkp-skl-d01/ltp-1HDD-btrfs-dio-01-debian-x86_64-2018-04-03.cgz-262bd453bf5f9a2a3d54eb50607000c06bfd2ef0-20181019-9743-5zyw8v-3.yaml' export id='197b95c74e0862fd1f6282023282f67e8ad2d4d0' 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 need_kconfig='CONFIG_BLK_DEV_SD CONFIG_SCSI CONFIG_BLOCK=y CONFIG_SATA_AHCI CONFIG_SATA_AHCI_PLATFORM CONFIG_ATA CONFIG_PCI=y CONFIG_BLK_DEV_LOOP CONFIG_CAN=m CONFIG_CAN_RAW=m CONFIG_CAN_VCAN=m CONFIG_IPV6_VTI=m CONFIG_MINIX_FS=m CONFIG_BTRFS_FS' export commit='262bd453bf5f9a2a3d54eb50607000c06bfd2ef0' export kconfig='x86_64-rhel-7.2' export compiler='gcc-7' export rootfs='debian-x86_64-2018-04-03.cgz' export enqueue_time='2018-10-19 03:17:31 +0800' export _id='5bc8dc4b0b9a93260fdb0dc5' export _rt='/result/ltp/1HDD-btrfs-dio-01/lkp-skl-d01/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/262bd453bf5f9a2a3d54eb50607000c06bfd2ef0/e816127e5d8efbff5ae53e9c2292fae22f36838b' export user='lkp' export head_commit='0425a38ce872b1aff69d91ecbc644ed0fbfef510' export base_commit='35a7f35ad1b150ddf59a41dcac7b2fa32982be0e' export branch='linux-devel/devel-hourly-2018101804' export result_root='/result/ltp/1HDD-btrfs-dio-01/lkp-skl-d01/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/262bd453bf5f9a2a3d54eb50607000c06bfd2ef0/e816127e5d8efbff5ae53e9c2292fae22f36838b/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-skl-d01/ltp-1HDD-btrfs-dio-01-debian-x86_64-2018-04-03.cgz-262bd453bf5f9a2a3d54eb50607000c06bfd2ef0-20181019-9743-5zyw8v-3.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.2 branch=linux-devel/devel-hourly-2018101804 commit=262bd453bf5f9a2a3d54eb50607000c06bfd2ef0 BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.2/gcc-7/262bd453bf5f9a2a3d54eb50607000c06bfd2ef0/vmlinuz-4.19.0-rc5-01116-g262bd45 max_uptime=3600 RESULT_ROOT=/result/ltp/1HDD-btrfs-dio-01/lkp-skl-d01/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.2/gcc-7/262bd453bf5f9a2a3d54eb50607000c06bfd2ef0/e816127e5d8efbff5ae53e9c2292fae22f36838b/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/262bd453bf5f9a2a3d54eb50607000c06bfd2ef0/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/deps/debian-x86_64-2018-04-03.cgz/fs_2018-06-12.cgz,/osimage/deps/debian-x86_64-2018-04-03.cgz/ltp_2018-10-10.cgz,/osimage/pkg/debian-x86_64-2018-04-03.cgz/ltp-x86_64-b49c79a29_2018-08-24.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=4 export kernel='/pkg/linux/x86_64-rhel-7.2/gcc-7/262bd453bf5f9a2a3d54eb50607000c06bfd2ef0/vmlinuz-4.19.0-rc5-01116-g262bd45' export dequeue_time='2018-10-19 03:37:36 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-skl-d01/ltp-1HDD-btrfs-dio-01-debian-x86_64-2018-04-03.cgz-262bd453bf5f9a2a3d54eb50607000c06bfd2ef0-20181019-9743-5zyw8v-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 nr_hdd=1 $LKP_SRC/setup/disk run_setup fs='btrfs' $LKP_SRC/setup/fs 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_test test='dio-01' $LKP_SRC/tests/wrapper ltp } extract_stats() { $LKP_SRC/stats/wrapper ltp $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper time ltp.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 } "$@"