#!/bin/sh export_top_env() { export suite='blktests' export testcase='blktests' export category='functional' export need_memory='1G' export job_origin='blktests-scsi.yaml' export queue_cmdline_keys='branch commit' export queue='bisect' export testbox='lkp-bdw-de1' export tbox_group='lkp-bdw-de1' export submit_id='642da590dbc6477425420043' export job_file='/lkp/jobs/scheduled/lkp-bdw-de1/blktests-1HDD-scsi-group-00-debian-11.1-x86_64-20220510.cgz-f28c8a7d0f7a705395439889a52b09e2b61ea422-20230406-29733-10yql1z-0.yaml' export id='7eb8556333f8b1d8cce67a2fc69068cf12ae94e5' export queuer_version='/zday/lkp' 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='BLK_DEV_SD SCSI {"BLOCK"=>"y"} SATA_AHCI SATA_AHCI_PLATFORM ATA {"PCI"=>"y"} {"BLK_DEV_NULL_BLK_FAULT_INJECTION"=>"y"} {"RDMA_RXE"=>"m, x86_64"} {"RDMA_SIW"=>"m, x86_64"} {"BTRFS_FS"=>"m"} {"BTRFS_FS_POSIX_ACL"=>"y"}' export commit='f28c8a7d0f7a705395439889a52b09e2b61ea422' export ucode='0x700001c' export need_kconfig_hw='{"PTP_1588_CLOCK"=>"y"} {"IGB"=>"y"} {"NETDEVICES"=>"y"} {"ETHERNET"=>"y"} {"NET_VENDOR_INTEL"=>"y"} {"PCI"=>"y"} SATA_AHCI SATA_AHCI_PLATFORM ATA {"HAS_DMA"=>"y"}' export kconfig='x86_64-rhel-8.3-func' export enqueue_time='2023-04-06 00:45:05 +0800' export _id='642da590dbc6477425420043' export _rt='/result/blktests/1HDD-scsi-group-00/lkp-bdw-de1/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3-func/gcc-11/f28c8a7d0f7a705395439889a52b09e2b61ea422' export user='lkp' export compiler='gcc-11' export LKP_SERVER='internal-lkp-server' export head_commit='b24c612c81563dec719ead2d727ef48058eaedfc' export base_commit='7e364e56293bb98cae1b55fd835f5991c4e96e7d' export branch='linux-devel/devel-hourly-20230403-084246' export rootfs='debian-11.1-x86_64-20220510.cgz' export result_root='/result/blktests/1HDD-scsi-group-00/lkp-bdw-de1/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3-func/gcc-11/f28c8a7d0f7a705395439889a52b09e2b61ea422/0' export scheduler_version='/lkp/lkp/.src-20230403-092309' export arch='x86_64' export max_uptime=1200 export initrd='/osimage/debian/debian-11.1-x86_64-20220510.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/blktests/1HDD-scsi-group-00/lkp-bdw-de1/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3-func/gcc-11/f28c8a7d0f7a705395439889a52b09e2b61ea422/0 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-func/gcc-11/f28c8a7d0f7a705395439889a52b09e2b61ea422/vmlinuz-6.3.0-rc1-00188-gf28c8a7d0f7a branch=linux-devel/devel-hourly-20230403-084246 job=/lkp/jobs/scheduled/lkp-bdw-de1/blktests-1HDD-scsi-group-00-debian-11.1-x86_64-20220510.cgz-f28c8a7d0f7a705395439889a52b09e2b61ea422-20230406-29733-10yql1z-0.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-func commit=f28c8a7d0f7a705395439889a52b09e2b61ea422 initcall_debug nmi_watchdog=0 max_uptime=1200 LKP_SERVER=internal-lkp-server 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-func/gcc-11/f28c8a7d0f7a705395439889a52b09e2b61ea422/modules.cgz' export bm_initrd='/osimage/deps/debian-11.1-x86_64-20220510.cgz/run-ipconfig_20220515.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/lkp_20220513.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/rsync-rootfs_20220515.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/blktests_20230228.cgz,/osimage/pkg/debian-11.1-x86_64-20220510.cgz/blktests-x86_64-676d42c-1_20230323.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/hw_20220526.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20220804.cgz' export lkp_initrd='/osimage/user/lkp/lkp-x86_64.cgz' export site='lkp-wsx01' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export last_kernel='6.3.0-rc5' export schedule_notify_address= export kernel='/pkg/linux/x86_64-rhel-8.3-func/gcc-11/f28c8a7d0f7a705395439889a52b09e2b61ea422/vmlinuz-6.3.0-rc1-00188-gf28c8a7d0f7a' export dequeue_time='2023-04-06 01:20:43 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-bdw-de1/blktests-1HDD-scsi-group-00-debian-11.1-x86_64-20220510.cgz-f28c8a7d0f7a705395439889a52b09e2b61ea422-20230406-29733-10yql1z-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_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='scsi-group-00' $LKP_SRC/tests/wrapper blktests } extract_stats() { export stats_part_begin= export stats_part_end= env test='scsi-group-00' $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 } "$@"