#!/bin/sh export_top_env() { export suite='blktests' export testcase='blktests' export category='functional' export need_memory='3G' export job_origin='/lkp-src/allot/cyclic:p2:linux-devel:devel-hourly/lkp-bdw-de1/blktests-sd-2.yaml' export queue_cmdline_keys='branch commit queue_at_least_once' export queue='validate' export testbox='lkp-bdw-de1' export tbox_group='lkp-bdw-de1' export kconfig='x86_64-rhel-8.3' export submit_id='5f4c74b4d6d7527703e84314' export job_file='/lkp/jobs/scheduled/lkp-bdw-de1/blktests-1HDD-block-027-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-13f0f97539f654419d844e6f11766fc7f9c4baf5-20200831-30467-1py1x9k-9.yaml' export id='c2a94a93003e5e46d436042c0363e51e408fc738' export queuer_version='/lkp-src' export model='Broadwell-DE' export nr_node=1 export nr_cpu=16 export memory='48G' export nr_hdd_partitions=1 export nr_ssd_partitions=1 export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BA800G4_BTHV410402GY800OGN-part2' export hdd_partitions='/dev/disk/by-id/ata-ST9500620NS_9XF26EB5-part1' export swap_partitions= export rootfs_partition='/dev/disk/by-id/ata-INTEL_SSDSC2BA800G4_BTHV410402GY800OGN-part1' export brand='Intel(R) Xeon(R) CPU D-1541 @ 2.10GHz' 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_NBD=m CONFIG_NVME_MULTIPATH=y CONFIG_NVME_TARGET=m CONFIG_NVME_TARGET_LOOP=m CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=y CONFIG_BLK_DEV_ZONED=y ~ ">= v4.10-rc1" CONFIG_INFINIBAND=m CONFIG_INFINIBAND_IPOIB=m CONFIG_INFINIBAND_SRP=m CONFIG_INFINIBAND_SRPT=m CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_INFINIBAND_ADDR_TRANS ~ ">= v4.17-rc1" CONFIG_RDMA_RXE=m ~ ">= v4.8-rc1" CONFIG_RDMA_SIW=m ~ ">= v5.3-rc1" CONFIG_BTRFS_FS=m CONFIG_BTRFS_FS_POSIX_ACL=y' export commit='13f0f97539f654419d844e6f11766fc7f9c4baf5' export ucode='0x7000019' export need_kconfig_hw='CONFIG_IGB=y CONFIG_NETDEVICES=y CONFIG_ETHERNET=y CONFIG_NET_VENDOR_INTEL=y CONFIG_PCI=y CONFIG_SATA_AHCI CONFIG_SATA_AHCI_PLATFORM CONFIG_ATA CONFIG_HAS_DMA=y' export kernel_cmdline='cgroup_no_v1=all' export enqueue_time='2020-08-31 11:55:33 +0800' export _id='5f4c74bad6d7527703e84319' export _rt='/result/blktests/1HDD-block-027-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/13f0f97539f654419d844e6f11766fc7f9c4baf5' export user='lkp' export compiler='gcc-9' export head_commit='fdca951a421e6a34dfa726b93790576e8e2e8a5f' export base_commit='d012a7190fc1fd72ed48911e77ca97ba4521bccd' export branch='linux-review/Ming-Lei/percpu_ref-block-reduce-memory-footprint-of-percpu_ref-in-fast-path/20200825-181448' export rootfs='debian-10.4-x86_64-20200603.cgz' export result_root='/result/blktests/1HDD-block-027-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/13f0f97539f654419d844e6f11766fc7f9c4baf5/8' export scheduler_version='/lkp/lkp/.src-20200828-133014' export LKP_SERVER='inn' export arch='x86_64' export max_uptime=3600 export initrd='/osimage/debian/debian-10.4-x86_64-20200603.cgz' export bootloader_append='root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/lkp-bdw-de1/blktests-1HDD-block-027-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-13f0f97539f654419d844e6f11766fc7f9c4baf5-20200831-30467-1py1x9k-9.yaml ARCH=x86_64 kconfig=x86_64-rhel-8.3 branch=linux-review/Ming-Lei/percpu_ref-block-reduce-memory-footprint-of-percpu_ref-in-fast-path/20200825-181448 commit=13f0f97539f654419d844e6f11766fc7f9c4baf5 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3/gcc-9/13f0f97539f654419d844e6f11766fc7f9c4baf5/vmlinuz-5.8.0-00001-g13f0f97539f65 cgroup_no_v1=all max_uptime=3600 RESULT_ROOT=/result/blktests/1HDD-block-027-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/13f0f97539f654419d844e6f11766fc7f9c4baf5/8 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 earlyprintk=ttyS0,115200 systemd.log_level=err console=ttyS0,115200 console=tty0 rw' export modules_initrd='/pkg/linux/x86_64-rhel-8.3/gcc-9/13f0f97539f654419d844e6f11766fc7f9c4baf5/modules.cgz' export bm_initrd='/osimage/deps/debian-10.4-x86_64-20200603.cgz/run-ipconfig_20200608.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/lkp_20200709.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/rsync-rootfs_20200608.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/blktests_20200721.cgz,/osimage/pkg/debian-10.4-x86_64-20200603.cgz/blktests-x86_64-2298414-1_20200713.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/hw_20200715.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20200610.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='4.20.0' export repeat_to=12 export schedule_notify_address= export queue_at_least_once=1 export kernel='/pkg/linux/x86_64-rhel-8.3/gcc-9/13f0f97539f654419d844e6f11766fc7f9c4baf5/vmlinuz-5.8.0-00001-g13f0f97539f65' export dequeue_time='2020-08-31 12:02:29 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-bdw-de1/blktests-1HDD-block-027-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-13f0f97539f654419d844e6f11766fc7f9c4baf5-20200831-30467-1py1x9k-9.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_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='block-027' $LKP_SRC/tests/wrapper blktests } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper blktests $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time blktests.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 } "$@"