#!/bin/sh export_top_env() { export suite='mdadm-selftests' export testcase='mdadm-selftests' export category='functional' export need_memory='1G' export force_reboot=1 export job_origin='mdadm-selftests.yaml' export queue_cmdline_keys='branch commit' export queue='bisect' export testbox='lkp-hsw-d03' export tbox_group='lkp-hsw-d03' export job_file='/lkp/jobs/queued/bisect/lkp-hsw-d03/mdadm-selftests-1HDD-19repair-does-not-destroy-debian-13-x86_64-20250902.cgz-45cd1cd31c81-20260525-10672-1lvajpy-0.yaml' export id='cfaaf05f277f2ffab34b610d191f4f7a45227058' export queuer_version='/zdci/src/lkp' export model='Haswell' export nr_node=1 export nr_cpu=8 export memory='16G' export nr_ssd_partitions=1 export nr_hdd_partitions=4 export hdd_partitions='/dev/disk/by-id/ata-ST1000DM010-2EP102_W9APNA3R-part*' export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BB480G6_BTWA6075012T480FGN-part1' export rootfs_partition='/dev/disk/by-id/ata-INTEL_SSDSC2BB480G6_BTWA6075012T480FGN-part2' export brand='Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz' export ucode='0x28' export need_kconfig_hw='{"PTP_1588_CLOCK"=>"y"} {"E1000E"=>"y"} SATA_AHCI DRM_I915' export need_kconfig='BLK_DEV_SD SCSI {"BLOCK"=>"y"} SATA_AHCI SATA_AHCI_PLATFORM ATA {"PCI"=>"y"} {"MD"=>"y"} BLK_DEV_MD MD_LINEAR MD_RAID0 MD_RAID1 MD_RAID10 MD_RAID456 MD_MULTIPATH BLK_DEV_LOOP {"EXT4_FS"=>"y"} {"EXT4_FS_POSIX_ACL"=>"y"} {"EXT4_FS_SECURITY"=>"y"}' export commit='45cd1cd31c81786e8c8965e6b7304bef6a3e3965' export kconfig='x86_64-rhel-9.4-func' export enqueue_time='2026-05-25 15:05:02 +0800' export _rt='/result/mdadm-selftests/1HDD-19repair-does-not-destroy/lkp-hsw-d03/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-func/gcc-14/45cd1cd31c81786e8c8965e6b7304bef6a3e3965' export compiler='gcc-14' export head_commit='5ea5ab6d95cf21790a4579569fc48c1d142e997c' export base_commit='5200f5f493f79f14bbdc349e402a40dfb32f23c8' export branch='linux-devel/devel-hourly-20260520-052757' export rootfs='debian-13-x86_64-20250902.cgz' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20260524-173710' export arch='x86_64' export max_uptime=14400 export initrd='/osimage/debian/debian-13-x86_64-20250902.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/mdadm-selftests/1HDD-19repair-does-not-destroy/lkp-hsw-d03/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-func/gcc-14/45cd1cd31c81786e8c8965e6b7304bef6a3e3965/0 BOOT_IMAGE=/pkg/linux/x86_64-rhel-9.4-func/gcc-14/45cd1cd31c81786e8c8965e6b7304bef6a3e3965/vmlinuz-7.1.0-rc2+ branch=linux-devel/devel-hourly-20260520-052757 job=/lkp/jobs/scheduled/lkp-hsw-d03/mdadm-selftests-1HDD-19repair-does-not-destroy-debian-13-x86_64-20250902.cgz-45cd1cd31c81-20260525-10672-1lvajpy-0.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-9.4-func commit=45cd1cd31c81786e8c8965e6b7304bef6a3e3965 intremap=posted_msi max_uptime=14400 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 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-9.4-func/gcc-14/45cd1cd31c81786e8c8965e6b7304bef6a3e3965/modules.cgz' export bm_initrd='/osimage/deps/debian-13-x86_64-20250902.cgz/lkp_20251225.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/run-ipconfig_20251230.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/mdadm-selftests_20251230.cgz,/osimage/pkg/debian-13-x86_64-20250902.cgz/mdadm-selftests-x86_64-3822896a-1_20251102.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/hw_20250902.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20250523.cgz' export lkp_initrd='/osimage/user/lkp/lkp-x86_64.cgz' export site='shz' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export job_initrd='/lkp/jobs/scheduled/lkp-hsw-d03/mdadm-selftests-1HDD-19repair-does-not-destroy-debian-13-x86_64-20250902.cgz-45cd1cd31c81-20260525-10672-1lvajpy-0.cgz' export last_kernel='4.20.0' export finish_time='2026-05-23 21:24:40 +0800' export kernel='/pkg/linux/x86_64-rhel-9.4-func/gcc-14/45cd1cd31c81786e8c8965e6b7304bef6a3e3965/vmlinuz-7.1.0-rc2+' export result_root='/result/mdadm-selftests/1HDD-19repair-does-not-destroy/lkp-hsw-d03/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-func/gcc-14/45cd1cd31c81786e8c8965e6b7304bef6a3e3965/0' export user='lkp' [ -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/bin/run-setup disk run_setup $LKP_SRC/bin/run-setup sanity-check run_monitor $LKP_SRC/bin/run-monitor kmsg run_monitor $LKP_SRC/bin/run-monitor heartbeat run_monitor $LKP_SRC/bin/run-monitor meminfo run_monitor $LKP_SRC/bin/run-monitor oom-killer run_monitor $LKP_SRC/bin/run-plain-monitor watchdog run_test test_prefix='19repair-does-not-destroy' $LKP_SRC/bin/run-test mdadm-selftests } extract_stats() { export stats_part_begin= export stats_part_end= env test_prefix='19repair-does-not-destroy' $LKP_SRC/bin/run-stats mdadm-selftests $LKP_SRC/bin/run-stats kmsg $LKP_SRC/bin/run-stats meminfo $LKP_SRC/bin/run-stats time mdadm-selftests.time $LKP_SRC/bin/run-stats dmesg $LKP_SRC/bin/run-stats kmsg $LKP_SRC/bin/run-stats last_state $LKP_SRC/bin/run-stats stderr $LKP_SRC/bin/run-stats time } "$@"