#!/bin/sh export_top_env() { export suite='nvml' export testcase='nvml' export category='functional' export branch='tip/x86/apic' export test='pmem' export group='unicode' export mount_option='dax' export job_origin='/lkp-src/allot/cyclic:p2:linux-devel:devel-hourly/lkp-bdw-de1/nvml-dax.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='5fa08b0f1937a91f973860b5' export job_file='/lkp/jobs/scheduled/lkp-bdw-de1/nvml-32G_4G-ext4-unicode-dax-1-pmem-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-b643128b917ca8f1c8b1e14af64ebdc81147b2d1-20201103-8087-115i8kp-2.yaml' export id='7df52c1f1eba055d428e446ca2971954252d1b04' 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_NVDIMM_PFN=y CONFIG_FS_DAX=y CONFIG_LIBNVDIMM CONFIG_BTT CONFIG_BLK_DEV_PMEM CONFIG_X86_PMEM_LEGACY CONFIG_EXT4_FS' export commit='b643128b917ca8f1c8b1e14af64ebdc81147b2d1' 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 enqueue_time='2020-11-03 06:41:19 +0800' export _id='5fa08b131937a91f973860b6' export _rt='/result/nvml/32G_4G-ext4-unicode-dax-1-pmem-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/b643128b917ca8f1c8b1e14af64ebdc81147b2d1' export user='lkp' export compiler='gcc-9' export head_commit='c7780bf9a74b0cfc6cd21ca76b2dbb9316b6c448' export base_commit='3650b228f83adda7e5ee532e2b90429c03f7b9ec' export rootfs='debian-10.4-x86_64-20200603.cgz' export result_root='/result/nvml/32G_4G-ext4-unicode-dax-1-pmem-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/b643128b917ca8f1c8b1e14af64ebdc81147b2d1/3' export scheduler_version='/lkp/lkp/.src-20201102-230049' export LKP_SERVER='internal-lkp-server' 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/nvml-32G_4G-ext4-unicode-dax-1-pmem-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-b643128b917ca8f1c8b1e14af64ebdc81147b2d1-20201103-8087-115i8kp-2.yaml ARCH=x86_64 kconfig=x86_64-rhel-8.3 branch=tip/x86/apic commit=b643128b917ca8f1c8b1e14af64ebdc81147b2d1 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3/gcc-9/b643128b917ca8f1c8b1e14af64ebdc81147b2d1/vmlinuz-5.10.0-rc1-00029-gb643128b917c memmap=32G!4G max_uptime=3600 RESULT_ROOT=/result/nvml/32G_4G-ext4-unicode-dax-1-pmem-ucode=0x7000019/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/b643128b917ca8f1c8b1e14af64ebdc81147b2d1/3 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/gcc-9/b643128b917ca8f1c8b1e14af64ebdc81147b2d1/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/nvml_20201008.cgz,/osimage/pkg/debian-10.4-x86_64-20200603.cgz/nvml-x86_64-9a558d859-1_20201008.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/fs_20200714.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=4 export schedule_notify_address= export queue_at_least_once=1 export kernel='/pkg/linux/x86_64-rhel-8.3/gcc-9/b643128b917ca8f1c8b1e14af64ebdc81147b2d1/vmlinuz-5.10.0-rc1-00029-gb643128b917c' export dequeue_time='2020-11-03 06:53:30 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-bdw-de1/nvml-32G_4G-ext4-unicode-dax-1-pmem-ucode=0x7000019-debian-10.4-x86_64-20200603.cgz-b643128b917ca8f1c8b1e14af64ebdc81147b2d1-20201103-8087-115i8kp-2.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_pmem=1 $LKP_SRC/setup/disk run_setup fs='ext4' $LKP_SRC/setup/fs run_setup bp_memmap='32G!4G' $LKP_SRC/setup/boot_params 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 $LKP_SRC/tests/wrapper nvml } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper nvml $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time nvml.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 } "$@"