#!/bin/sh export_top_env() { export suite='ltp' export testcase='ltp' export category='functional' export need_memory='4G' export job_origin='ltp-dio.yaml' export queue_cmdline_keys='branch commit' export queue='bisect' export testbox='lkp-ivb-d05' export tbox_group='lkp-ivb-d05' export job_file='/lkp/jobs/queued/bisect/lkp-ivb-d05/ltp-1HDD-btrfs-dio-01-debian-13-x86_64-20250902.cgz-c7fc9cde41be-20260328-23166-t7xn0h-1.yaml' export id='c3b485d518e668296710fff21904ba2f3f0e39fa' export queuer_version='/zdci/src/lkp' export model='Ivy Bridge' export nr_node=1 export nr_cpu=4 export memory='8G' export nr_ssd_partitions=1 export nr_hdd_partitions=4 export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BB012T4_BTWD422402S31P2GGN-part2' export hdd_partitions='/dev/disk/by-id/ata-ST1000DM010-2EP102_W9APNAQ6-part*' export rootfs_partition='/dev/disk/by-id/ata-INTEL_SSDSC2BB012T4_BTWD422402S31P2GGN-part1' export brand='Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz' export netconsole_port=6679 export ucode='0x21' export need_kconfig_hw='BTRFS_FS {"NET_VENDOR_REALTEK"=>"y"} {"R8169"=>"y"} SATA_AHCI DRM_I915' export need_kconfig='BLK_DEV_SD SCSI {"BLOCK"=>"y"} SATA_AHCI SATA_AHCI_PLATFORM ATA {"PCI"=>"y"} BLK_DEV_LOOP {"CAN"=>"m"} {"CAN_DEV"=>"y"} {"CAN_RAW"=>"m"} {"CAN_VCAN"=>"m"} {"MINIX_FS"=>"m"} {"EXPERT"=>"y"} {"CHECKPOINT_RESTORE"=>"y"} {"MEMCG"=>"y"}' export commit='c7fc9cde41be029cf6675befbafcbb2dab40b39b' export initrds='linux_headers linux_selftests' export kconfig='x86_64-rhel-9.4-ltp' export enqueue_time='2026-03-28 19:21:05 +0800' export _rt='/result/ltp/1HDD-btrfs-dio-01/lkp-ivb-d05/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-ltp/gcc-14/c7fc9cde41be029cf6675befbafcbb2dab40b39b' export compiler='gcc-14' export head_commit='66ba480978ce390e631e870b740a3406e3eb6b01' export base_commit='c369299895a591d96745d6492d4888259b004a9e' export branch='linux-next/master' export rootfs='debian-13-x86_64-20250902.cgz' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20260327-221558' 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/ltp/1HDD-btrfs-dio-01/lkp-ivb-d05/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-ltp/gcc-14/c7fc9cde41be029cf6675befbafcbb2dab40b39b/0 BOOT_IMAGE=/pkg/linux/x86_64-rhel-9.4-ltp/gcc-14/c7fc9cde41be029cf6675befbafcbb2dab40b39b/vmlinuz-7.0.0-rc4-00012-gc7fc9cde41be branch=linux-next/master job=/lkp/jobs/scheduled/lkp-ivb-d05/ltp-1HDD-btrfs-dio-01-debian-13-x86_64-20250902.cgz-c7fc9cde41be-20260328-23166-t7xn0h-1.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-9.4-ltp commit=c7fc9cde41be029cf6675befbafcbb2dab40b39b 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-ltp/gcc-14/c7fc9cde41be029cf6675befbafcbb2dab40b39b/modules.cgz' export linux_headers_initrd='/pkg/linux/x86_64-rhel-9.4-ltp/gcc-14/c7fc9cde41be029cf6675befbafcbb2dab40b39b/linux-headers.cgz' export linux_selftests_initrd='/pkg/linux/x86_64-rhel-9.4-ltp/gcc-14/c7fc9cde41be029cf6675befbafcbb2dab40b39b/linux-selftests.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/fs_20250914.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/ltp_20260301.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/hw_20250902.cgz' export keep_initrds='/osimage/pkg/debian-13-x86_64-20250902.cgz/ltp-x86_64-92ea0639e-1_20260301.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-ivb-d05/ltp-1HDD-btrfs-dio-01-debian-13-x86_64-20250902.cgz-c7fc9cde41be-20260328-23166-t7xn0h-1.cgz' export last_kernel='4.20.0' export finish_time='2026-03-28 04:56:54 +0800' export kernel='/pkg/linux/x86_64-rhel-9.4-ltp/gcc-14/c7fc9cde41be029cf6675befbafcbb2dab40b39b/vmlinuz-7.0.0-rc4-00012-gc7fc9cde41be' export result_root='/result/ltp/1HDD-btrfs-dio-01/lkp-ivb-d05/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-ltp/gcc-14/c7fc9cde41be029cf6675befbafcbb2dab40b39b/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 fs='btrfs' $LKP_SRC/bin/run-setup fs 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='dio-01' $LKP_SRC/bin/run-test ltp } extract_stats() { export stats_part_begin= export stats_part_end= env test='dio-01' $LKP_SRC/bin/run-stats ltp $LKP_SRC/bin/run-stats kmsg $LKP_SRC/bin/run-stats meminfo $LKP_SRC/bin/run-stats time ltp.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 } "$@"