#!/bin/sh export_top_env() { export suite='xfstests' export testcase='xfstests' export category='functional' export need_memory='3G' export job_origin='xfstests-btrfs.yaml' export queue_cmdline_keys='branch commit force_schedule' export queue='bisect' export testbox='lkp-hsw-d01' export tbox_group='lkp-hsw-d01' export job_file='/lkp/jobs/queued/bisect/lkp-hsw-d01/xfstests-6HDD-btrfs-btrfs-052-debian-13-x86_64-20250902.cgz-50bb0fb60d1d-20260307-37605-1yrsm0j-1.yaml' export id='58dadb7b8dd504a1a041f4e8477062547f613431' export queuer_version='/zdci/src/lkp' export model='Haswell' export nr_node=1 export nr_cpu=8 export memory='8G' export nr_ssd_partitions=1 export nr_hdd_partitions=6 export hdd_partitions='/dev/disk/by-id/ata-ST4000NM0035-1V4107_ZC12HHHW-part*' export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BB800G4_PHWL42040015800RGN-part2' export swap_partitions= export rootfs_partition='/dev/disk/by-id/ata-INTEL_SSDSC2BB800G4_PHWL42040015800RGN-part1' export brand='Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz' export ucode='0x28' export need_kconfig_hw='{"PTP_1588_CLOCK"=>"y"} {"E1000E"=>"y"} {"ATA_SFF"=>"y"} {"ATA_BMDMA"=>"y"} ATA_PIIX DRM_I915' export need_kconfig='BLK_DEV_SD SCSI {"BLOCK"=>"y"} SATA_AHCI SATA_AHCI_PLATFORM ATA {"PCI"=>"y"} {"FS_ENCRYPTION"=>"y"} {"CRYPTO_HCTR2"=>"y"} {"CRYPTO_POLYVAL"=>"y"} {"DEBUG_KERNEL"=>"y"} {"FAULT_INJECTION"=>"y"} {"FAIL_MAKE_REQUEST"=>"y"} {"FAULT_INJECTION_DEBUG_FS"=>"y"} {"DM_LOG_WRITES"=>"m"} {"UNICODE"=>"m"} {"IO_URING"=>"y"} {"EXPERT"=>"y"}' export commit='50bb0fb60d1d55c7447535d17081ea009700cfd7' export kconfig='x86_64-rhel-9.4-func' export enqueue_time='2026-03-07 01:38:04 +0800' export _rt='/result/xfstests/6HDD-btrfs-btrfs-052/lkp-hsw-d01/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-func/gcc-14/50bb0fb60d1d55c7447535d17081ea009700cfd7' export compiler='gcc-14' export head_commit='a039144da4edfcefa8f7c7b86c71f981e51967cb' export base_commit='6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f' export branch='linux-devel/devel-hourly-20260302-003818' export rootfs='debian-13-x86_64-20250902.cgz' export LKP_SERVER='internal-lkp-server' export scheduler_version='/lkp/lkp/.src-20260306-174210' 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/xfstests/6HDD-btrfs-btrfs-052/lkp-hsw-d01/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-func/gcc-14/50bb0fb60d1d55c7447535d17081ea009700cfd7/0 BOOT_IMAGE=/pkg/linux/x86_64-rhel-9.4-func/gcc-14/50bb0fb60d1d55c7447535d17081ea009700cfd7/vmlinuz-7.0.0-rc1-00110-g50bb0fb60d1d branch=linux-devel/devel-hourly-20260302-003818 job=/lkp/jobs/scheduled/lkp-hsw-d01/xfstests-6HDD-btrfs-btrfs-052-debian-13-x86_64-20250902.cgz-50bb0fb60d1d-20260307-37605-1yrsm0j-1.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-9.4-func commit=50bb0fb60d1d55c7447535d17081ea009700cfd7 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/50bb0fb60d1d55c7447535d17081ea009700cfd7/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/fs_20250914.cgz,/osimage/deps/debian-13-x86_64-20250902.cgz/xfstests_20260218.cgz,/osimage/pkg/debian-13-x86_64-20250902.cgz/xfstests-x86_64-63a29724-1_20260218.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-d01/xfstests-6HDD-btrfs-btrfs-052-debian-13-x86_64-20250902.cgz-50bb0fb60d1d-20260307-37605-1yrsm0j-1.cgz' export last_kernel='4.20.0' export finish_time='2026-03-06 05:58:11 +0800' export force_schedule=1 export kernel='/pkg/linux/x86_64-rhel-9.4-func/gcc-14/50bb0fb60d1d55c7447535d17081ea009700cfd7/vmlinuz-7.0.0-rc1-00110-g50bb0fb60d1d' export result_root='/result/xfstests/6HDD-btrfs-btrfs-052/lkp-hsw-d01/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-func/gcc-14/50bb0fb60d1d55c7447535d17081ea009700cfd7/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=6 $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='btrfs-052' $LKP_SRC/bin/run-test xfstests } extract_stats() { export stats_part_begin= export stats_part_end= env test='btrfs-052' $LKP_SRC/bin/run-stats xfstests $LKP_SRC/bin/run-stats kmsg $LKP_SRC/bin/run-stats meminfo $LKP_SRC/bin/run-stats time xfstests.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 } "$@"