[    6s] /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none -cpu host -M pc,accel=kvm,usb=off,dump-guest-core=off,vmport=off -sandbox on -bios /usr/share/qemu/qboot.rom -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-pci,rng=rng0 -object iothread,id=io0 -runas qemu -net none -kernel /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/.mount/boot/kernel -initrd /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext4 rootflags=noatime elevator=noop nmi_watchdog=0 rw oops=panic panic=1 quiet console=hvc0 init=/.build/build -m 512 -drive file=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64/img,format=raw,if=none,id=disk,cache=unsafe -device virtio-blk-pci,iothread=io0,drive=disk,serial=0 -drive file=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64/swap,format=raw,if=none,id=swap,cache=unsafe -device virtio-blk-pci,iothread=io0,drive=swap,serial=1 -device virtio-serial,max_ports=2 -device virtconsole,chardev=virtiocon0 -chardev stdio,id=virtiocon0 -chardev socket,id=monitor,server=on,wait=off,path=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64/img.qemu/monitor -mon chardev=monitor,mode=readline -smp 2
[   10s] 2nd stage started in virtual machine
[   10s] machine type: x86_64
[   10s] Linux version: 5.17.4-1-default #1 SMP PREEMPT Wed Apr 20 07:43:03 UTC 2022 (75e9961)
[   10s] Increasing log level from now on...
[   10s] [    3.591596][  T351] sysrq: Changing Loglevel
[   10s] [    3.592132][  T351] sysrq: Loglevel set to 4
[   10s] Enable sysrq operations
[   10s] Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
[   10s] no label, UUID=2c31b604-3256-4d26-ae2f-19d3406b6cf9
[   10s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap]
[   10s] swapon: /dev/vdb: pagesize=4096, swapsize=1073741824, devsize=1073741824
[   10s] swapon /dev/vdb
[   10s] WARNING: udev not running, creating extra device nodes
[   11s] logging output to //.build.log...
[   11s] processing recipe /.build-srcdir/ndctl-test.spec ...
[   11s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build /.build-srcdir/ndctl-test.spec ...
[   11s] initializing rpm db...
[   11s] querying package ids...
[   14s] [1/238] keeping compat-usrmerge-tools-84.87-5.6
[   14s] [2/238] keeping crypto-policies-20210917.c9d86d1-1.5
[   14s] [3/238] keeping file-magic-5.41-4.1
[   14s] [4/238] keeping kernel-obs-build-5.17.4-1.1
[   14s] [5/238] keeping libsemanage-conf-3.3-2.3
[   14s] [6/238] keeping libssh-config-0.9.6-3.2
[   14s] [7/238] keeping pkgconf-m4-1.8.0-1.6
[   14s] [8/238] keeping python-rpm-macros-20220106.80d3756-1.4
[   14s] [9/238] keeping system-user-root-20190513-2.3
[   14s] [10/238] keeping vim-data-common-8.2.4745-2.1
[   14s] [11/238] keeping filesystem-84.87-4.1
[   14s] [12/238] keeping glibc-2.35-2.1
[   14s] [13/238] keeping diffutils-3.8-79.7
[   14s] [14/238] keeping fillup-1.42-276.9
[   14s] [15/238] keeping libacl1-2.3.1-2.1
[   14s] [16/238] keeping libalternatives1-1.2+3.b848aad-2.3
[   14s] [17/238] keeping libapparmor1-3.0.4-6.1
[   14s] [18/238] keeping libargon2-1-0.0+git20190520.62358ba-1.9
[   14s] [19/238] keeping libatomic1-12.0.1+git192423-1.2
[   14s] [20/238] keeping libattr1-2.5.1-1.17
[   14s] [21/238] keeping libaudit1-3.0.6-4.1
[   14s] [22/238] keeping libblkid1-2.37.4-1.1
[   14s] [23/238] keeping libbrotlicommon1-1.0.9-1.7
[   14s] [24/238] keeping libbz2-1-1.0.8-3.6
[   14s] [25/238] keeping libcap-ng0-0.7.11-1.5
[   14s] [26/238] keeping libcap2-2.64-1.1
[   14s] [27/238] keeping libcom_err2-1.46.5-2.1
[   14s] [28/238] keeping libcrypt1-4.4.27-1.4
[   14s] [29/238] keeping libeconf0-0.4.5+git20220406.c9658f2-1.1
[   14s] [30/238] keeping libexpat1-2.4.8-1.1
[   14s] [31/238] keeping libffi8-3.4.2-1.5
[   14s] [32/238] keeping libgcc_s1-12.0.1+git192423-1.2
[   14s] [33/238] keeping libgdbm6-1.23-1.4
[   14s] [34/238] keeping libgmp10-6.2.1-4.5
[   14s] [35/238] keeping libgomp1-12.0.1+git192423-1.2
[   14s] [36/238] keeping libgpg-error0-1.45-1.1
[   14s] [37/238] keeping libiniparser1-4.1-1.14
[   14s] [38/238] keeping libip4tc2-1.8.7-4.2
[   14s] [39/238] keeping libitm1-12.0.1+git192423-1.2
[   14s] [40/238] keeping libjson-c5-0.16-1.1
[   14s] [41/238] keeping libkeyutils1-1.6.3-3.6
[   14s] [42/238] keeping libltdl7-2.4.7-1.1
[   14s] [43/238] keeping liblua5_4-5-5.4.4-2.1
[   14s] [44/238] keeping liblz4-1-1.9.3-2.3
[   14s] [45/238] keeping liblzma5-5.2.5-3.1
[   14s] [46/238] keeping libmpdec3-2.5.1-2.6
[   14s] [47/238] keeping libnghttp2-14-1.47.0-1.2
[   14s] [48/238] keeping libnss_usrfiles2-2.27-3.5
[   14s] [49/238] keeping libonig5-6.9.7.1-1.3
[   14s] [50/238] keeping libparted-fs-resize0-3.5-1.1
[   14s] [51/238] keeping libpcre1-8.45-1.5
[   14s] [52/238] keeping libpcre2-8-0-10.40-1.1
[   14s] [53/238] keeping libpkgconf3-1.8.0-1.6
[   14s] [54/238] keeping libpopt0-1.18-2.21
[   14s] [55/238] keeping libsasl2-3-2.1.28-1.3
[   14s] [56/238] keeping libseccomp2-2.5.3-4.5
[   14s] [57/238] keeping libsepol2-3.3-1.5
[   14s] [58/238] keeping libsmartcols1-2.37.4-1.1
[   14s] [59/238] keeping libtextstyle0-0.21-4.1
[   14s] [60/238] keeping libudev1-250.4-5.1
[   14s] [61/238] keeping libunistring2-1.0-1.1
[   14s] [62/238] keeping libuuid1-2.37.4-1.1
[   14s] [63/238] keeping libverto1-0.3.1-1.20
[   14s] [64/238] keeping libyaml-0-2-0.2.5-1.7
[   14s] [65/238] keeping libz1-1.2.11-19.1
[   14s] [66/238] keeping libzstd1-1.5.2-1.3
[   14s] [67/238] keeping patch-2.7.6-4.5
[   14s] [68/238] keeping rzsz-0.12.21~rc-4.7
[   14s] [69/238] keeping update-alternatives-1.21.1-1.1
[   14s] [70/238] keeping libiniparser-devel-4.1-1.14
[   14s] [71/238] keeping netcfg-11.6-9.6
[   14s] [72/238] keeping alts-1.2+3.b848aad-2.3
[   14s] [73/238] keeping attr-2.5.1-1.17
[   14s] [74/238] keeping libbrotlidec1-1.0.9-1.7
[   14s] [75/238] keeping libctf-nobfd0-2.38-4.1
[   14s] [76/238] keeping libelf1-0.186-3.1
[   14s] [77/238] keeping libext2fs2-1.46.5-2.1
[   14s] [78/238] keeping libgcrypt20-1.9.4-3.3
[   14s] [79/238] keeping libgdbm_compat4-1.23-1.4
[   14s] [80/238] keeping libglib-2_0-0-2.72.0-2.1
[   14s] [81/238] keeping libidn2-0-2.3.2-1.4
[   14s] [82/238] keeping libisl23-0.24-1.17
[   14s] [83/238] keeping libjemalloc2-5.2.1-5.1
[   14s] [84/238] keeping libjq1-1.6-2.11
[   14s] [85/238] keeping libmpfr6-4.1.0-2.18
[   14s] [86/238] keeping libp11-kit0-0.24.1-1.1
[   14s] [87/238] keeping libselinux1-3.3-2.1
[   14s] [88/238] keeping libstdc++6-12.0.1+git192423-1.2
[   14s] [89/238] keeping perl-base-5.34.0-2.1
[   14s] [90/238] keeping pigz-2.6-1.7
[   14s] [91/238] keeping pkgconf-1.8.0-1.6
[   14s] [92/238] keeping chkstat-1599_20220309-30.1
[   14s] [93/238] keeping libfdisk1-2.37.4-1.1
[   14s] [94/238] keeping libopenssl1_1-1.1.1n-1.1
[   14s] [95/238] keeping libxml2-2-2.9.13-1.1
[   14s] [96/238] keeping libmagic1-5.41-4.1
[   14s] [97/238] keeping build-mkbaselibs-20220329-1.1
[   14s] [98/238] keeping rpm-build-perl-4.17.0-6.1
[   14s] [99/238] keeping dwz-0.14-3.3
[   14s] [100/238] keeping findutils-4.9.0-1.3
[   14s] [101/238] keeping jq-1.6-2.11
[   14s] [102/238] keeping libgmodule-2_0-0-2.72.0-2.1
[   14s] [103/238] keeping libxslt1-1.1.34-4.3
[   14s] [104/238] keeping ninja-1.10.2-2.17
[   14s] [105/238] keeping fdupes-2.1.2-2.1
[   14s] [106/238] keeping file-5.41-4.1
[   14s] [107/238] keeping libasan6-11.2.1+git1635-1.1
[   14s] [108/238] keeping libdb-4_8-4.8.30-39.1
[   14s] [109/238] keeping libldap2-2.6.1-1.1
[   14s] [110/238] keeping liblsan0-12.0.1+git192423-1.2
[   14s] [111/238] keeping libmount1-2.37.4-1.1
[   14s] [112/238] keeping libmpc3-1.2.1-1.19
[   14s] [113/238] keeping libpsl5-0.21.1-1.9
[   14s] [114/238] keeping libsource-highlight4-3.1.9-4.5
[   14s] [115/238] keeping libsubid4-4.11.1-1.3
[   14s] [116/238] keeping libtsan0-11.2.1+git1635-1.1
[   14s] [117/238] keeping libubsan1-12.0.1+git192423-1.2
[   14s] [118/238] keeping tar-1.34-6.1
[   14s] [119/238] keeping libkmod2-29-9.1
[   14s] [120/238] keeping libruby3_1-3_1-3.1.2-2.1
[   14s] [121/238] keeping krb5-1.19.3-1.1
[   14s] [122/238] keeping libdw1-0.186-3.1
[   14s] [123/238] keeping libsemanage2-3.3-2.3
[   14s] [124/238] keeping libsystemd0-250.4-5.1
[   14s] [125/238] keeping libasm1-0.186-3.1
[   14s] [126/238] keeping libexslt0-1.1.34-4.3
[   14s] [127/238] keeping libssh4-0.9.6-3.2
[   14s] [128/238] keeping babeltrace-1.5.8-3.2
[   14s] [129/238] keeping cpp11-11.2.1+git1635-1.1
[   14s] [130/238] keeping perl-5.34.0-2.1
[   14s] [131/238] keeping brp-check-suse-84.87+git20211116.6c5fe09-1.3
[   14s] [132/238] keeping libxslt-tools-1.1.34-4.3
[   14s] [133/238] keeping libcurl4-7.82.0-1.3
[   14s] [134/238] keeping libdebuginfod1-0.186-3.1
[   14s] [135/238] keeping terminfo-base-6.3.20220416-16.1
[   14s] [136/238] keeping libncurses6-6.3.20220416-16.1
[   14s] [137/238] keeping libreadline8-8.1-3.3
[   14s] [138/238] keeping ncurses-utils-6.3.20220416-16.1
[   14s] [139/238] keeping bash-5.1.16-7.1
[   14s] [140/238] keeping libxml2-tools-2.9.13-1.1
[   14s] [141/238] keeping gawk-5.1.1-3.6
[   14s] [142/238] keeping bash-sh-5.1.16-7.1
[   14s] [143/238] keeping login_defs-4.11.1-1.3
[   14s] [144/238] keeping openSUSE-release-20220424-1573.1
[   14s] [145/238] keeping sysuser-shadow-3.1-4.3
[   14s] [146/238] keeping cpio-2.13-4.5
[   14s] [147/238] keeping cpp-11-6.1
[   14s] [148/238] keeping m4-1.4.18-6.6
[   14s] [149/238] keeping make-4.3-2.39
[   14s] [150/238] keeping systemd-default-settings-0.7-2.2
[   14s] [151/238] keeping which-2.21-4.49
[   14s] [152/238] keeping bzip2-1.0.8-3.6
[   14s] [153/238] keeping grep-3.7-3.1
[   14s] [154/238] keeping gzip-1.12-1.1
[   14s] [155/238] keeping hostname-3.23-2.10
[   14s] [156/238] keeping keyutils-1.6.3-3.6
[   14s] [157/238] keeping pkgconf-pkg-config-1.8.0-1.6
[   14s] [158/238] keeping strace-5.17-1.1
[   14s] [159/238] keeping libdevmapper1_03-1.02.185-3.1
[   14s] [160/238] keeping sed-4.8-3.10
[   14s] [161/238] keeping xz-5.2.5-3.1
[   14s] [162/238] keeping elfutils-0.186-3.1
[   14s] [163/238] keeping gettext-runtime-0.21-4.1
[   14s] [164/238] keeping lua54-5.4.4-2.1
[   14s] [165/238] keeping zstd-1.5.2-1.3
[   14s] [166/238] keeping coreutils-9.0-2.3
[   14s] [167/238] keeping binutils-2.38-4.1
[   14s] [168/238] keeping vim-8.2.4745-2.1
[   14s] [169/238] keeping python38-base-3.8.13-1.2
[   14s] [170/238] keeping bash-completion-devel-2.11-152.2
[   14s] [171/238] keeping compat-usrmerge-build-84.87-5.6
[   14s] [172/238] keeping systemd-default-settings-branding-openSUSE-0.7-2.2
[   14s] [173/238] keeping systemd-rpm-macros-16-1.1
[   14s] [174/238] keeping libjson-c-devel-0.16-1.1
[   14s] [175/238] keeping libkmod-devel-29-9.1
[   14s] [176/238] keeping libpython3_8-1_0-3.8.13-1.2
[   14s] [177/238] keeping libuuid-devel-2.37.4-1.1
[   14s] [178/238] keeping libxcrypt-devel-4.4.27-1.4
[   14s] [179/238] keeping linux-glibc-devel-5.17-1.1
[   14s] [180/238] keeping meson-0.61.3-1.1
[   14s] [181/238] keeping system-group-hardware-20170617-71.55
[   14s] [182/238] keeping system-group-kvm-20170617-71.55
[   14s] [183/238] keeping autoconf-2.71-1.1
[   14s] [184/238] keeping glibc-locale-base-2.35-2.1
[   14s] [185/238] keeping libctf0-2.38-4.1
[   14s] [186/238] keeping libparted2-3.5-1.1
[   14s] [187/238] keeping perl-Bootloader-0.938-1.1
[   14s] [188/238] keeping rpm-build-python-4.17.0-6.1
[   14s] [189/238] keeping permissions-config-1599_20220309-30.1
[   14s] [190/238] keeping polkit-default-privs-1550+20220404.7b4bea2-1.1
[   14s] [191/238] keeping less-590-3.5
[   14s] [192/238] keeping e2fsprogs-1.46.5-2.1
[   14s] [193/238] keeping gettext-tools-0.21-4.1
[   14s] [194/238] keeping libcryptsetup12-2.4.3-1.2
[   14s] [195/238] keeping sgml-skel-0.7.2-1.1
[   14s] [196/238] keeping aaa_base-84.87+git20220419.bf51b75-1.1
[   14s] [197/238] keeping ruby3.1-3.1.2-2.1
[   14s] [198/238] keeping rpm-4.17.0-6.1
[   14s] [199/238] keeping aaa_base-malloccheck-84.87+git20220419.bf51b75-1.1
[   14s] [200/238] keeping permissions-20220309.1599-30.1
[   14s] [201/238] keeping glibc-devel-2.35-2.1
[   14s] [202/238] keeping rpm-config-SUSE-20220414-1.1
[   14s] [203/238] keeping ruby3.1-rubygem-asciidoctor-2.0.17-1.2
[   14s] [204/238] keeping ruby3.1-rubygem-gem2rpm-0.10.1-18.1
[   14s] [205/238] keeping automake-1.16.5-1.5
[   14s] [206/238] keeping rpmlint-mini-2.2.0+git20220419.1dbd1ae-5.13
[   14s] [207/238] keeping systemd-devel-250.4-5.1
[   14s] [208/238] keeping docbook_4-4.5-143.9
[   14s] [209/238] keeping parted-3.5-1.1
[   14s] [210/238] keeping build-compare-20220307T115648.b5abdde-1.1
[   14s] [211/238] keeping librpmbuild9-4.17.0-6.1
[   14s] [212/238] keeping suse-module-tools-16.0.19-1.3
[   14s] [213/238] keeping gdb-11.1-7.1
[   14s] [214/238] keeping nfit_test-ueficert-0-6.1
[   14s] [215/238] keeping docbook-xsl-stylesheets-1.79.2-2.10
[   14s] [216/238] keeping keyutils-devel-1.6.3-3.6
[   14s] [217/238] keeping libutempter0-1.2.0-3.19
[   14s] [218/238] keeping libtool-2.4.7-1.1
[   14s] [219/238] keeping kmod-29-9.1
[   14s] [220/238] keeping post-build-checks-84.87+git20220325.f46ef3c-1.1
[   14s] [221/238] keeping pam-1.5.2-6.1
[   14s] [222/238] keeping gcc11-11.2.1+git1635-1.1
[   14s] [223/238] keeping gcc11-PIE-11.2.1+git1635-1.1
[   14s] [224/238] keeping gcc-11-6.1
[   14s] [225/238] keeping pam_unix-1.5.2-6.1
[   14s] [226/238] keeping xmlto-0.0.28-3.13
[   14s] [227/238] keeping shadow-4.11.1-1.3
[   14s] [228/238] keeping util-linux-2.37.4-1.1
[   14s] [229/238] keeping gcc-PIE-11-6.1
[   14s] [230/238] keeping ruby-common-2.6-7.1
[   14s] [231/238] keeping systemd-250.4-5.1
[   14s] [232/238] keeping rpm-build-4.17.0-6.1
[   14s] [233/238] keeping util-linux-systemd-2.37.4-1.1
[   14s] [234/238] keeping udev-250.4-5.1
[   14s] [235/238] keeping dracut-056+suse.275.g4ce7a6a7-1.1
[   14s] [236/238] keeping dracut-mkinitrd-deprecated-056+suse.275.g4ce7a6a7-1.1
[   14s] [237/238] keeping kernel-default-5.17.4-1.1
[   14s] [238/238] keeping nfit_test-kmp-default-0_k5.17.4_1-6.1
[   14s] now finalizing build dir...
[   14s] ... running 01-add_abuild_user_to_trusted_group
[   14s] ... running 02-set_timezone_to_utc
[   14s] ... running 03-set-permissions-secure
[   14s] ... running 11-hack_uname_version_to_kernel_version
[   16s] -----------------------------------------------------------------
[   16s] I have the following modifications for ndctl-test.spec:
[   16s] -----------------------------------------------------------------
[   16s] ----- building ndctl-test.spec
[   16s] -----------------------------------------------------------------
[   16s] -----------------------------------------------------------------
[   17s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /usr/src/packages/SOURCES/ndctl-test.spec
[   17s] setting SOURCE_DATE_EPOCH=1649548800
[   17s] Executing(%prep): /usr/bin/bash -e /var/tmp/rpm-tmp.z4rmxM
[   17s] + umask 022
[   17s] + cd /usr/src/packages/BUILD
[   17s] + cd /usr/src/packages/BUILD
[   17s] + rm -rf ndctl-73
[   17s] + /usr/bin/tar -xof -
[   17s] + /usr/bin/gzip -dc /usr/src/packages/SOURCES/ndctl-73.tar.gz
[   17s] + STATUS=0
[   17s] + '[' 0 -ne 0 ']'
[   17s] + cd ndctl-73
[   17s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
[   17s] + /usr/bin/cat /usr/src/packages/SOURCES/harden_ndctl-monitor.service.patch
[   17s] + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
[   17s] + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
[   17s] + /usr/bin/cat /usr/src/packages/SOURCES/ndctl-build-Fix-systemd-unit-directory-detection.patch
[   17s] + /usr/bin/cat /usr/src/packages/SOURCES/ndctl-meson-make-modprobedatadir-an-option.patch
[   17s] + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
[   17s] + RPM_EC=0
[   17s] ++ jobs -p
[   17s] + exit 0
[   17s] Executing(%build): /usr/bin/bash -e /var/tmp/rpm-tmp.MSmhhJ
[   17s] + umask 022
[   17s] + cd /usr/src/packages/BUILD
[   17s] + /usr/bin/rm -rf /usr/src/packages/BUILDROOT/ndctl-73-0.x86_64
[   17s] ++ dirname /usr/src/packages/BUILDROOT/ndctl-73-0.x86_64
[   17s] + /usr/bin/mkdir -p /usr/src/packages/BUILDROOT
[   17s] + /usr/bin/mkdir /usr/src/packages/BUILDROOT/ndctl-73-0.x86_64
[   17s] + cd ndctl-73
[   17s] + rc=0
[   17s] + PATH=/sbin:/usr/sbin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin
[   17s] + export 'CFLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fcommon'
[   17s] + CFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fcommon'
[   17s] ++ uname -r
[   17s] + grep -E 'CONFIG_(X86_PMEM_LEGACY|ZONE_DEVICE|LIBNVDIMM|BLK_DEV_PMEM|ND_BLK|BTT|NVDIMM_PFN|NVDIMM_DAX|DEV_DAX_PMEM|ENCRYPTED_KEYS)' /boot/config-5.17.4-1-default
[   17s] CONFIG_X86_PMEM_LEGACY_DEVICE=y
[   17s] CONFIG_X86_PMEM_LEGACY=m
[   17s] CONFIG_ZONE_DEVICE=y
[   17s] CONFIG_LIBNVDIMM=m
[   17s] CONFIG_BLK_DEV_PMEM=m
[   17s] CONFIG_ND_BLK=m
[   17s] CONFIG_BTT=y
[   17s] CONFIG_NVDIMM_PFN=y
[   17s] CONFIG_NVDIMM_DAX=y
[   17s] CONFIG_DEV_DAX_PMEM=m
[   17s] CONFIG_ENCRYPTED_KEYS=y
[   17s] + lsmod
[   17s] Module                  Size  Used by
[   17s] 9pnet_virtio           20480  0
[   17s] 9p                     90112  0
[   17s] fscache               385024  1 9p
[   17s] netfs                  53248  2 9p,fscache
[   17s] 9pnet                 114688  2 9p,9pnet_virtio
[   17s] overlay               176128  0
[   17s] e1000                 172032  0
[   17s] nls_iso8859_1          16384  0
[   17s] nls_cp437              20480  0
[   17s] vfat                   20480  0
[   17s] fat                    86016  1 vfat
[   17s] virtio_rng             16384  0
[   17s] virtio_blk             24576  3
[   17s] virtio_mmio            16384  0
[   17s] xfs                  1847296  0
[   17s] btrfs                1748992  0
[   17s] blake2b_generic        20480  0
[   17s] xor                    24576  1 btrfs
[   17s] raid6_pq              122880  1 btrfs
[   17s] libcrc32c              16384  2 btrfs,xfs
[   17s] reiserfs              294912  0
[   17s] ext4                  983040  1
[   17s] crc32c_intel           24576  2
[   17s] mbcache                16384  1 ext4
[   17s] jbd2                  192512  1 ext4
[   17s] squashfs               77824  0
[   17s] fuse                  167936  0
[   17s] dm_snapshot            61440  0
[   17s] dm_bufio               36864  1 dm_snapshot
[   17s] dm_crypt               61440  0
[   17s] essiv                  16384  0
[   17s] authenc                16384  1 essiv
[   17s] trusted                45056  1 dm_crypt
[   17s] asn1_encoder           16384  1 trusted
[   17s] tee                    40960  1 trusted
[   17s] dm_mod                192512  3 dm_crypt,dm_snapshot,dm_bufio
[   17s] binfmt_misc            28672  0
[   17s] loop                   36864  0
[   17s] + rpm -ql nfit_test-kmp-default
[   17s] /usr/lib/modules/5.17.4-1-default
[   17s] /usr/lib/modules/5.17.4-1-default/updates
[   17s] /usr/lib/modules/5.17.4-1-default/updates/dax_pmem.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/device_dax.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/libnvdimm.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/nd_blk.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/nd_btt.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/nd_e820.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/nd_pmem.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/nfit.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/test
[   17s] /usr/lib/modules/5.17.4-1-default/updates/test/nfit_test.ko
[   17s] /usr/lib/modules/5.17.4-1-default/updates/test/nfit_test_iomap.ko
[   17s] ++ rpm -ql nfit_test-kmp-default
[   17s] ++ read x
[   17s] ++ grep '[.]ko$'
[   17s] ++ x=dax_pmem.ko
[   17s] ++ echo dax_pmem
[   17s] ++ read x
[   17s] ++ x=device_dax.ko
[   17s] ++ echo device_dax
[   17s] ++ read x
[   17s] ++ x=libnvdimm.ko
[   17s] ++ echo libnvdimm
[   17s] ++ read x
[   17s] ++ x=nd_blk.ko
[   17s] ++ echo nd_blk
[   17s] ++ read x
[   17s] ++ x=nd_btt.ko
[   17s] ++ echo nd_btt
[   17s] ++ read x
[   17s] ++ x=nd_e820.ko
[   17s] ++ echo nd_e820
[   17s] ++ read x
[   17s] ++ x=nd_pmem.ko
[   17s] ++ echo nd_pmem
[   17s] ++ read x
[   17s] ++ x=nfit.ko
[   17s] ++ echo nfit
[   17s] ++ read x
[   17s] ++ x=nfit_test.ko
[   17s] ++ echo nfit_test
[   17s] ++ read x
[   17s] ++ x=nfit_test_iomap.ko
[   17s] ++ echo nfit_test_iomap
[   17s] ++ read x
[   17s] + modules='dax_pmem
[   17s] device_dax
[   17s] libnvdimm
[   17s] nd_blk
[   17s] nd_btt
[   17s] nd_e820
[   17s] nd_pmem
[   17s] nfit
[   17s] nfit_test
[   17s] nfit_test_iomap'
[   17s] + for i in $modules
[   17s] ++ uname -r
[   17s] + find /lib/modules/5.17.4-1-default/kernel -name 'dax_pmem.ko*' -exec rm -v '{}' ';'
[   17s] removed '/lib/modules/5.17.4-1-default/kernel/drivers/dax/dax_pmem.ko.zst'
[   17s] + for i in $modules
[   17s] ++ uname -r
[   17s] + find /lib/modules/5.17.4-1-default/kernel -name 'device_dax.ko*' -exec rm -v '{}' ';'
[   17s] removed '/lib/modules/5.17.4-1-default/kernel/drivers/dax/device_dax.ko.zst'
[   17s] + for i in $modules
[   17s] ++ uname -r
[   17s] + find /lib/modules/5.17.4-1-default/kernel -name 'libnvdimm.ko*' -exec rm -v '{}' ';'
[   17s] removed '/lib/modules/5.17.4-1-default/kernel/drivers/nvdimm/libnvdimm.ko.zst'
[   17s] + for i in $modules
[   17s] ++ uname -r
[   17s] + find /lib/modules/5.17.4-1-default/kernel -name 'nd_blk.ko*' -exec rm -v '{}' ';'
[   17s] removed '/lib/modules/5.17.4-1-default/kernel/drivers/nvdimm/nd_blk.ko.zst'
[   17s] + for i in $modules
[   17s] ++ uname -r
[   17s] + find /lib/modules/5.17.4-1-default/kernel -name 'nd_btt.ko*' -exec rm -v '{}' ';'
[   17s] removed '/lib/modules/5.17.4-1-default/kernel/drivers/nvdimm/nd_btt.ko.zst'
[   18s] + for i in $modules
[   18s] ++ uname -r
[   18s] + find /lib/modules/5.17.4-1-default/kernel -name 'nd_e820.ko*' -exec rm -v '{}' ';'
[   18s] removed '/lib/modules/5.17.4-1-default/kernel/drivers/nvdimm/nd_e820.ko.zst'
[   18s] + for i in $modules
[   18s] ++ uname -r
[   18s] + find /lib/modules/5.17.4-1-default/kernel -name 'nd_pmem.ko*' -exec rm -v '{}' ';'
[   18s] removed '/lib/modules/5.17.4-1-default/kernel/drivers/nvdimm/nd_pmem.ko.zst'
[   18s] + for i in $modules
[   18s] ++ uname -r
[   18s] + find /lib/modules/5.17.4-1-default/kernel -name 'nfit.ko*' -exec rm -v '{}' ';'
[   18s] removed '/lib/modules/5.17.4-1-default/kernel/drivers/acpi/nfit/nfit.ko.zst'
[   18s] + for i in $modules
[   18s] ++ uname -r
[   18s] + find /lib/modules/5.17.4-1-default/kernel -name 'nfit_test.ko*' -exec rm -v '{}' ';'
[   18s] + for i in $modules
[   18s] ++ uname -r
[   18s] + find /lib/modules/5.17.4-1-default/kernel -name 'nfit_test_iomap.ko*' -exec rm -v '{}' ';'
[   18s] + modinfo crc7 dax_pmem device_dax libnvdimm nd_blk nd_btt nd_e820 nd_pmem nfit nfit_test nfit_test_iomap
[   18s] filename:       /lib/modules/5.17.4-1-default/kernel/lib/crc7.ko.zst
[   18s] license:        GPL
[   18s] description:    CRC7 calculations
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     4A994A610EF89736D603BAB
[   18s] depends:        
[   18s] retpoline:      Y
[   18s] intree:         Y
[   18s] name:           crc7
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         openSUSE Secure Boot CA
[   18s] sig_key:        FA:BE:D8:BF:40:9A:5E:64
[   18s] sig_hashalgo:   sha256
[   18s] signature:      02:41:51:23:A4:7E:FB:E9:06:A9:49:E3:70:06:AE:ED:82:4D:46:02:
[   18s] 		11:18:DF:12:32:DE:77:B1:0B:14:72:1B:7B:C9:BC:12:47:4E:5B:41:
[   18s] 		A2:8C:47:4E:39:9A:35:F2:3E:A2:85:C8:AB:76:60:BF:E7:56:14:FB:
[   18s] 		51:60:03:6A:6E:5E:01:FF:7A:51:E1:77:0B:FE:13:17:58:CF:54:1E:
[   18s] 		23:51:49:70:CF:6F:F3:74:8B:79:A4:BC:C6:46:8D:E0:14:9C:47:68:
[   18s] 		F6:C0:2A:60:3C:D9:B3:28:E7:46:F7:24:B4:3F:2D:E1:A9:8D:68:44:
[   18s] 		B8:21:30:FE:1D:C0:62:FF:DD:2F:CA:6E:CC:C4:22:0B:9A:38:F6:6B:
[   18s] 		44:12:8C:A2:E7:4F:DD:5D:48:5F:BC:4C:4B:DF:57:F3:E5:41:5D:37:
[   18s] 		B9:89:D8:77:FF:6F:BA:FE:5E:04:4E:9E:0B:D5:0F:2A:1D:17:E6:32:
[   18s] 		A8:6F:9C:32:E8:B5:5A:E3:FF:FB:F9:59:A2:3D:3A:88:49:45:83:B9:
[   18s] 		B4:D3:09:90:71:5B:A8:EF:5B:CF:6B:C5:F8:3A:BE:3D:AD:C3:64:FA:
[   18s] 		34:05:BF:CF:9B:20:53:23:A1:48:E3:66:4E:CC:C1:8B:96:4E:FD:AB:
[   18s] 		0A:89:19:B6:00:1C:B2:CB:6A:8E:4F:31:A5:08:FF:37
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/dax_pmem.ko
[   18s] alias:          nd:t7*
[   18s] author:         Intel Corporation
[   18s] license:        GPL v2
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     DF110B4AF46CAD12B1B604B
[   18s] depends:        libnvdimm,nfit_test_iomap
[   18s] retpoline:      Y
[   18s] name:           dax_pmem
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      6E:73:92:61:46:06:6F:28:CF:86:59:93:D2:20:1A:4B:0A:E7:F8:18:
[   18s] 		B1:75:B5:15:58:C0:A1:24:45:39:75:CC:A8:81:15:21:31:74:AC:9D:
[   18s] 		26:81:59:FE:64:29:75:42:F5:36:10:63:B7:AB:0F:A8:2C:CB:9D:F8:
[   18s] 		E4:13:C3:DC:12:1B:4B:E3:DA:85:A7:14:8F:69:BB:97:6B:30:55:E5:
[   18s] 		95:9B:C1:1E:FC:3C:22:FB:7C:1A:B9:3C:85:69:BC:EE:91:67:6C:36:
[   18s] 		C1:5C:CB:3E:20:95:A1:0D:DD:E8:C5:B9:86:1C:45:A3:0F:FA:B9:CB:
[   18s] 		6E:4F:7B:42:D9:2C:E9:7D:D2:99:31:91:17:B6:52:49:35:74:A1:06:
[   18s] 		65:47:39:1B:BE:AD:F9:8A:5C:DC:E1:99:4B:D0:25:7C:5F:2C:0D:88:
[   18s] 		87:E6:C6:67:D3:15:2F:4A:09:87:CE:4D:AF:EF:87:84:F3:F2:4C:C2:
[   18s] 		71:04:63:31:7E:82:5D:D1:FB:32:13:E2:80:9D:D1:C4:F2:A7:C1:EF:
[   18s] 		EA:6D:A3:56:FA:5F:60:53:4A:AF:29:4E:7E:C3:3A:08:37:91:6F:02:
[   18s] 		37:2E:78:72:C8:AC:64:DB:F6:BF:69:D6:0E:02:B3:0F:81:EF:30:BD:
[   18s] 		38:14:0D:60:63:55:6E:43:FB:8C:68:42:EE:93:3A:AF
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/device_dax.ko
[   18s] alias:          dax:t0*
[   18s] license:        GPL v2
[   18s] author:         Intel Corporation
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     8D0DEC24055D11C4E59A619
[   18s] depends:        nfit_test_iomap
[   18s] retpoline:      Y
[   18s] name:           device_dax
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      A9:DE:44:9B:1B:7B:1E:CD:28:F1:4D:6C:50:97:43:DF:47:9F:9B:1C:
[   18s] 		3E:7D:5F:74:9E:9D:D1:32:44:9A:64:07:AB:46:38:89:3D:57:8D:E0:
[   18s] 		82:BF:7D:B8:E9:34:C3:37:71:21:E0:FE:DF:45:D5:03:1E:D9:B6:99:
[   18s] 		45:FC:4D:E1:46:B4:06:85:25:40:51:5B:C7:2C:41:C0:59:82:7A:B1:
[   18s] 		8F:08:FB:12:F0:F4:D7:D8:34:BD:8C:02:2F:95:42:C0:2C:19:F4:15:
[   18s] 		C6:6C:14:39:0B:28:A1:D3:F3:94:6C:0C:B6:D3:E9:39:D5:E8:BC:40:
[   18s] 		77:69:7C:A4:14:4D:68:28:86:19:57:E8:61:0B:63:92:4C:F7:1F:D7:
[   18s] 		A2:7E:99:B3:E3:D6:C1:30:2F:20:8E:D9:19:D1:04:28:CF:51:95:0D:
[   18s] 		02:C4:E2:56:3E:BC:4C:E9:E7:97:21:E4:F1:5E:20:3D:A2:1D:AE:C7:
[   18s] 		45:AD:BC:2B:14:13:1C:A5:3B:90:D6:7C:A3:71:85:77:45:AF:02:F7:
[   18s] 		05:09:19:76:3D:08:C0:DE:6F:23:C3:EF:B2:11:29:15:BB:AC:D1:B4:
[   18s] 		EE:70:0C:5C:7A:39:B6:C2:4D:9A:28:4F:5F:54:FC:74:E6:0B:AB:13:
[   18s] 		18:72:60:6D:33:E2:2E:83:5E:4D:4E:15:92:94:31:0D
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/libnvdimm.ko
[   18s] author:         Intel Corporation
[   18s] license:        GPL v2
[   18s] alias:          nd:t1*
[   18s] alias:          nd:t3*
[   18s] alias:          nd:t2*
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     7979C2F441DB6169DFBD35D
[   18s] depends:        nfit_test_iomap
[   18s] retpoline:      Y
[   18s] name:           libnvdimm
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      90:94:56:55:B0:54:B8:0C:54:AA:B3:F8:37:A6:10:74:B5:68:61:49:
[   18s] 		FF:E1:B5:4F:86:24:4F:44:44:0A:01:D6:36:EF:05:CD:F0:34:B1:45:
[   18s] 		3B:6C:5C:38:FC:97:FB:C5:3B:DE:9F:92:0C:10:93:9B:76:A2:C7:4A:
[   18s] 		EC:61:26:2B:21:07:9D:42:A0:F1:CA:EB:8E:17:E4:20:71:E5:57:E3:
[   18s] 		A1:00:1B:92:B2:3C:7A:7F:C6:B0:C4:F2:46:8E:36:F3:9E:03:5A:A5:
[   18s] 		9B:28:24:90:EC:32:57:64:19:A4:F6:44:94:98:98:D0:18:C4:D7:50:
[   18s] 		83:AC:CC:2D:56:A7:5F:38:52:70:18:DC:19:01:8B:94:36:84:06:B5:
[   18s] 		45:5F:F4:84:8C:91:BD:DA:CC:2C:61:DB:58:75:FB:0C:A1:DE:4E:6C:
[   18s] 		6D:A9:23:37:38:27:A5:42:15:3B:6C:65:EA:41:63:01:01:42:22:34:
[   18s] 		F4:D0:FA:B0:23:86:F8:B9:E6:D2:1D:2F:62:4D:F8:31:B1:DE:BA:49:
[   18s] 		A5:97:0F:79:F2:EF:B4:5A:73:6B:AA:40:FE:44:1C:14:BB:B1:AC:27:
[   18s] 		7A:CF:0F:54:AE:52:C8:D4:F0:23:F4:44:26:81:15:54:74:B2:EF:CB:
[   18s] 		1A:CD:C0:01:50:00:57:FF:2A:22:4B:CF:38:30:7B:03
[   18s] parm:           key_revalidate:Require key validation at init. (bool)
[   18s] parm:           noblk:force disable BLK / local alias support (bool)
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/nd_blk.ko
[   18s] alias:          nd:t6*
[   18s] license:        GPL v2
[   18s] author:         Ross Zwisler <ross.zwisler@linux.intel.com>
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     3A72F6FC76BFBAD5F8FD368
[   18s] depends:        libnvdimm,nd_btt
[   18s] retpoline:      Y
[   18s] name:           nd_blk
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      31:03:96:BD:4B:AF:D8:47:2A:FC:C1:6E:69:12:E9:B5:3D:47:57:E3:
[   18s] 		16:0D:FA:59:A2:A0:B9:D2:3A:23:6C:4C:FB:8A:20:57:FE:4C:5F:D8:
[   18s] 		A0:4E:67:A5:A2:84:78:3E:1F:95:F2:70:BA:55:78:CF:F8:89:40:FD:
[   18s] 		8C:97:9A:BA:10:B3:37:82:4E:A8:0C:61:0A:F9:40:97:48:75:9E:F4:
[   18s] 		88:C7:EE:A5:36:0D:EF:7B:9E:64:7F:23:55:47:76:A8:72:00:96:1E:
[   18s] 		DB:3F:06:BC:FC:07:48:B1:E6:E9:B9:1F:C0:B5:90:30:F7:01:14:A8:
[   18s] 		4F:D4:3C:42:D2:A0:F6:AE:0C:B9:56:4A:DE:DB:29:E1:06:36:80:C1:
[   18s] 		39:A0:10:B3:79:4D:A2:53:35:4F:F8:08:23:80:EE:CB:CA:F8:F6:01:
[   18s] 		09:C9:66:94:EB:BF:CD:64:4B:76:70:A4:09:BF:B1:88:D0:1C:16:F8:
[   18s] 		B9:49:17:D6:9D:75:7A:B1:7D:1D:07:D2:AE:A7:A4:37:27:17:5C:88:
[   18s] 		46:D3:73:8F:DA:52:E8:A3:70:F5:1B:4F:29:65:E7:89:A9:BA:80:C8:
[   18s] 		DF:38:3B:22:F8:BC:6D:B0:D5:A1:16:68:99:2F:8D:A2:3A:EE:0D:30:
[   18s] 		42:3E:A3:F1:98:A1:EE:19:FE:78:3B:B6:B4:32:5E:3B
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/nd_btt.ko
[   18s] license:        GPL v2
[   18s] author:         Vishal Verma <vishal.l.verma@linux.intel.com>
[   18s] alias:          nd:tND_DEVICE_BTT*
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     6086D5F0094FD8F88E6F3F5
[   18s] depends:        libnvdimm
[   18s] retpoline:      Y
[   18s] name:           nd_btt
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      33:07:75:74:D8:F7:38:ED:07:CA:14:94:AC:28:0B:32:21:45:1C:49:
[   18s] 		FC:36:EE:82:CC:EF:57:36:EB:6F:D0:3F:65:89:47:FF:43:82:55:11:
[   18s] 		8E:B7:9C:CA:1A:CC:8E:01:E9:7E:1D:24:04:0D:43:66:A9:97:FD:6A:
[   18s] 		11:0C:75:2C:85:72:99:A1:45:1A:FB:1C:62:02:2F:DF:F1:C1:8E:80:
[   18s] 		23:D2:6F:23:01:B3:C7:A0:FF:AE:5F:00:6C:0A:6B:6D:73:01:8B:EA:
[   18s] 		17:B1:6C:5E:7A:2D:50:1C:4C:32:14:29:E9:D6:78:31:E2:CD:55:5E:
[   18s] 		4C:E3:9C:56:5B:2F:D1:A8:24:D0:58:0C:03:3E:54:3E:3D:B4:F1:6D:
[   18s] 		08:D4:66:25:28:BA:2E:7A:12:6E:84:EC:04:22:20:EF:88:FD:5F:87:
[   18s] 		60:0A:16:0A:47:79:FD:02:93:2F:EB:71:90:69:F2:E9:A5:3C:BC:46:
[   18s] 		23:66:D4:0B:ED:18:98:14:41:7C:4E:2D:82:B0:19:05:B0:A7:56:90:
[   18s] 		03:6B:F9:19:01:FA:51:96:F0:05:A3:11:77:B2:66:C9:E4:D2:05:1B:
[   18s] 		50:8E:32:48:2C:14:7C:DB:B9:7A:61:C2:25:1E:DF:B4:A5:09:CB:5F:
[   18s] 		C2:47:69:4F:CA:8D:05:9A:B3:79:BF:9A:82:DB:06:A8
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/nd_e820.ko
[   18s] author:         Intel Corporation
[   18s] license:        GPL v2
[   18s] alias:          platform:e820_pmem*
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     DD0C086278FBA71A4E0D0A7
[   18s] depends:        libnvdimm
[   18s] retpoline:      Y
[   18s] name:           nd_e820
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      88:01:9C:3A:6A:B2:7D:72:F8:FA:8A:FA:74:EC:22:B7:D6:AA:0E:12:
[   18s] 		E1:6D:82:62:EF:C8:81:47:E5:5F:CC:EB:F9:46:EA:95:C2:C1:0B:A9:
[   18s] 		1B:63:CC:3B:54:F2:2E:28:A5:13:76:42:59:97:60:1F:F1:31:81:1F:
[   18s] 		B5:FF:1E:79:39:84:39:88:9E:93:7A:6B:07:4A:BA:9F:87:B9:D3:02:
[   18s] 		E8:56:20:D1:C1:B7:C2:2F:CD:41:50:A2:3B:5E:BB:56:EA:AE:86:EE:
[   18s] 		B4:82:ED:24:D3:17:44:12:64:6F:F8:4E:F7:85:E5:9B:DF:85:F7:FF:
[   18s] 		DB:D3:FB:14:CB:87:F1:70:95:C8:4E:39:A7:69:28:8E:3B:E4:9A:81:
[   18s] 		A9:1B:F7:3A:32:5E:0D:87:CA:05:23:F5:F4:05:31:9C:37:8D:2C:66:
[   18s] 		66:C3:81:F8:CB:5D:C9:83:C1:C8:06:EC:FC:4A:FE:A6:06:22:F0:25:
[   18s] 		86:AD:DA:3F:EC:B7:3C:36:B6:B9:25:50:9D:2F:8A:B2:BF:70:44:BD:
[   18s] 		43:5A:7B:0F:D2:31:FF:D4:BF:2F:7E:39:09:42:F4:73:35:BC:EA:70:
[   18s] 		E2:B0:49:6C:64:90:E2:EE:73:04:36:AA:39:65:9D:AB:3C:7D:D7:DA:
[   18s] 		2F:86:26:BB:AB:5A:08:4F:C4:31:EC:B9:2F:AD:B6:BB
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/nd_pmem.ko
[   18s] license:        GPL v2
[   18s] author:         Ross Zwisler <ross.zwisler@linux.intel.com>
[   18s] alias:          nd:t5*
[   18s] alias:          nd:t4*
[   18s] alias:          pmem
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     D2055A058EAD68106B47915
[   18s] depends:        nfit_test_iomap,libnvdimm,nd_btt
[   18s] retpoline:      Y
[   18s] name:           nd_pmem
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      66:2A:ED:73:79:73:4F:CE:CD:46:72:15:D1:E5:C9:0C:C8:08:CF:92:
[   18s] 		87:A0:4E:4C:78:E5:93:E2:33:A1:86:4B:CA:43:AE:B4:4D:11:7F:42:
[   18s] 		43:38:FF:08:74:62:F1:5D:85:4B:EE:A8:F4:67:E8:81:96:12:80:D5:
[   18s] 		4A:28:CE:2B:52:BE:A0:07:98:4E:4B:56:A7:52:A1:23:BA:73:FA:94:
[   18s] 		48:9A:F1:20:6A:37:03:3A:DF:A1:FF:AF:03:DC:18:B2:34:EC:39:C7:
[   18s] 		2C:AE:4F:BB:E1:24:D5:FE:1F:66:D5:8D:B2:5E:E1:A4:B2:FF:C6:AE:
[   18s] 		9C:12:D7:3F:11:04:50:17:1C:2F:6E:82:50:B9:AD:C4:F1:0F:AC:2B:
[   18s] 		4A:0E:DC:66:C7:A6:92:89:45:46:A2:91:FB:01:0A:1F:43:8C:A4:F4:
[   18s] 		58:B4:76:9E:F3:2D:66:83:32:48:90:C2:B7:72:ED:DB:A8:55:38:B9:
[   18s] 		45:6E:BD:24:35:5B:8D:74:1C:8E:59:D7:5D:11:75:DA:C3:35:78:CD:
[   18s] 		39:DE:89:7C:73:FC:B9:9F:4C:98:D7:42:E7:E4:F6:20:12:5E:0E:93:
[   18s] 		11:38:92:40:E5:AB:4F:C8:43:51:BA:AE:85:2B:05:DE:86:D0:C5:02:
[   18s] 		8F:AB:38:60:01:37:BB:E3:55:63:2A:B9:EE:DC:70:B2
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/nfit.ko
[   18s] author:         Intel Corporation
[   18s] license:        GPL v2
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     22FD8D672D1712147004184
[   18s] alias:          acpi*:ACPI0012:*
[   18s] depends:        libnvdimm,nfit_test_iomap
[   18s] retpoline:      Y
[   18s] name:           nfit
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      C1:A7:C7:03:10:AB:36:7D:AC:5C:1D:0B:03:7B:53:8B:EC:59:F2:A6:
[   18s] 		57:CA:08:E9:AF:7A:29:6E:1C:73:8E:15:6C:48:A1:97:56:3D:BE:EF:
[   18s] 		FF:BC:2C:B1:B5:C1:4F:94:82:04:36:66:EB:FA:86:FE:6A:FC:82:32:
[   18s] 		4C:D2:75:DA:CE:34:41:B4:EC:E3:BC:50:A8:1F:D2:5B:53:86:95:53:
[   18s] 		04:71:EA:BD:C0:27:D8:BD:90:14:08:95:BF:30:37:68:03:E3:FD:9A:
[   18s] 		FC:21:2F:F0:58:67:64:46:3D:15:AD:85:A6:A8:87:1A:7E:B8:06:6A:
[   18s] 		C4:CE:C1:10:A8:65:07:A8:3B:ED:2A:A2:ED:A0:66:89:6D:E2:F2:B1:
[   18s] 		36:93:11:ED:E7:65:37:48:FA:70:C2:2E:73:A5:A3:E9:6B:58:78:16:
[   18s] 		4D:CF:61:A5:7D:20:3E:C5:69:41:79:68:CD:F5:AB:C4:21:67:F5:1F:
[   18s] 		A5:96:3F:5F:2F:91:55:56:CB:33:9C:70:E0:DE:9D:24:82:B9:2B:A8:
[   18s] 		31:4F:B1:ED:3F:AA:E4:79:7C:9E:7C:53:15:FF:20:50:CF:22:F3:3B:
[   18s] 		1C:49:10:DB:B8:F6:F4:AC:16:9A:0C:D9:E6:2D:A3:83:50:DA:21:E7:
[   18s] 		94:CA:19:CD:22:97:2E:7E:9C:0E:79:6B:C4:EF:F5:40
[   18s] parm:           force_enable_dimms:Ignore _STA (ACPI DIMM device) status (bool)
[   18s] parm:           disable_vendor_specific:Limit commands to the publicly specified set (bool)
[   18s] parm:           override_dsm_mask:Bitmask of allowed NVDIMM DSM functions (ulong)
[   18s] parm:           default_dsm_family:Try this DSM type first when identifying NVDIMM family (int)
[   18s] parm:           no_init_ars:Skip ARS run at nfit init time (bool)
[   18s] parm:           force_labels:Opt-in to labels despite missing methods (bool)
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/test/nfit_test.ko
[   18s] author:         Intel Corporation
[   18s] license:        GPL v2
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     789BD8068E0BE584E9DFD23
[   18s] depends:        libnvdimm,dax_pmem,device_dax,nfit,nfit_test_iomap,nd_pmem
[   18s] retpoline:      Y
[   18s] name:           nfit_test
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      A0:39:2A:E3:1D:F1:32:C4:27:27:72:3A:08:D5:A8:A3:06:0E:00:55:
[   18s] 		C8:39:D6:92:A5:94:CA:F4:DD:DE:2D:07:BD:AD:9D:E4:E4:05:40:66:
[   18s] 		6E:13:56:28:49:5F:C2:71:A9:6E:8A:35:C6:6D:FF:E8:0B:67:90:6A:
[   18s] 		FA:66:80:3C:41:26:AB:47:16:81:6B:FA:5E:3F:D0:88:D1:11:58:13:
[   18s] 		93:B1:BF:6F:C4:97:05:93:6F:3D:62:E8:97:69:8F:86:41:D9:19:69:
[   18s] 		B6:4A:3A:28:E4:E7:1A:06:68:32:97:64:05:7E:48:C6:1D:6F:E7:B6:
[   18s] 		12:A5:4A:73:71:F5:3E:CF:9D:9F:88:78:AE:11:66:08:DF:FB:F5:1E:
[   18s] 		17:CC:00:46:A3:90:B3:4A:04:B0:28:20:CF:FD:FF:B4:DE:B0:D5:35:
[   18s] 		61:CD:72:F3:62:53:BA:70:17:73:C3:FD:50:B1:7E:0F:04:16:D3:ED:
[   18s] 		E6:0D:3B:9E:6E:A0:FD:14:DE:C4:98:46:A4:A4:73:A5:73:47:6C:CA:
[   18s] 		81:B0:73:A5:8D:A7:45:0A:7E:15:02:A6:7B:80:17:3F:41:08:DF:B7:
[   18s] 		63:A0:8E:9F:5B:F8:37:8F:40:EE:E0:98:41:60:5F:44:AE:CB:8D:31:
[   18s] 		9F:74:B7:F1:98:67:03:3A:1B:7E:D7:33:2D:FA:15:F6
[   18s] filename:       /lib/modules/5.17.4-1-default/updates/test/nfit_test_iomap.ko
[   18s] license:        GPL v2
[   18s] suserelease:    openSUSE Tumbleweed
[   18s] srcversion:     534B7D5E73E88AB001556E5
[   18s] depends:        
[   18s] retpoline:      Y
[   18s] name:           nfit_test_iomap
[   18s] vermagic:       5.17.4-1-default SMP preempt mod_unload modversions 
[   18s] sig_id:         PKCS#7
[   18s] signer:         home:michals OBS Project
[   18s] sig_key:        D6:35:C9:D3:9B:A7:05:F5
[   18s] sig_hashalgo:   sha256
[   18s] signature:      35:82:E4:A3:77:59:3C:01:45:F5:60:87:07:F3:01:9A:3D:99:38:D4:
[   18s] 		88:4C:1F:D4:CF:E1:29:74:07:BB:35:F8:4E:99:90:40:67:19:6F:3D:
[   18s] 		FC:AE:B6:9D:4F:A0:15:B2:31:A5:CF:5D:E4:71:BB:C2:F0:58:4E:4D:
[   18s] 		A5:8F:12:DA:3D:CA:34:DB:FF:7F:8E:D3:83:FF:58:3A:16:76:03:72:
[   18s] 		C6:62:86:0A:24:8E:A8:40:F3:E1:30:35:4C:9C:FE:0A:EA:00:02:5F:
[   18s] 		98:17:2E:36:86:A6:15:DA:5B:7F:0B:71:29:0A:41:DD:A3:09:8B:DF:
[   18s] 		F9:C9:2A:74:AB:D9:3A:F4:59:E9:0B:51:43:4F:E1:0E:92:2B:80:5B:
[   18s] 		BC:0E:E0:45:D3:A2:1A:32:E6:41:AF:93:53:C7:F8:9A:36:7D:5C:99:
[   18s] 		26:72:A8:B2:F7:A4:9A:E1:F1:D3:BA:80:AD:F6:85:8C:64:95:48:D7:
[   18s] 		63:B3:D1:62:4B:32:33:98:08:2F:66:59:AB:4B:93:CD:CB:AE:4F:CC:
[   18s] 		77:B2:FB:88:C2:46:47:A2:C5:73:2B:F6:26:F2:2A:F9:BA:3F:AE:5E:
[   18s] 		BB:66:16:98:F2:74:3F:62:A8:B7:95:32:46:DE:4D:98:55:CE:15:03:
[   18s] 		F1:11:71:6C:B2:D8:51:C6:D4:AE:15:3A:16:CB:33:08
[   18s] + modprobe -r dax_pmem device_dax libnvdimm nd_blk nd_btt nd_e820 nd_pmem nfit nfit_test nfit_test_iomap
[   18s] + CONFIG_SHELL=/usr/bin/bash
[   18s] + export CONFIG_SHELL
[   18s] + CFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fcommon'
[   18s] + export CFLAGS
[   18s] + CXXFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g'
[   18s] + export CXXFLAGS
[   18s] + FFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g '
[   18s] + export FFLAGS
[   18s] + FCFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g '
[   18s] + export FCFLAGS
[   18s] + LDFLAGS=-flto=auto
[   18s] + export LDFLAGS
[   18s] + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-suse-linux -Dasciidoctor=enabled -Dversion-tag=73 -Dmodprobedatadir=/lib/modprobe.d
[   23s] The Meson build system
[   23s] Version: 0.61.3
[   23s] Source dir: /usr/src/packages/BUILD/ndctl-73
[   23s] Build dir: /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux
[   23s] Build type: native build
[   23s] Project name: ndctl
[   23s] Project version: 73
[   23s] C compiler for the host machine: cc (gcc 11.2.1 "cc (SUSE Linux) 11.2.1 20220420 [revision 691af15031e00227ba6d5935c1d737026cda4129]")
[   23s] C linker for the host machine: cc ld.bfd 2.38.20220411-4
[   23s] Host machine cpu family: x86_64
[   23s] Host machine cpu: x86_64
[   23s] Compiler for C supports arguments -Wall: YES 
[   23s] Compiler for C supports arguments -Wchar-subscripts: YES 
[   23s] Compiler for C supports arguments -Wformat-security: YES 
[   23s] Compiler for C supports arguments -Wmissing-declarations: YES 
[   23s] Compiler for C supports arguments -Wmissing-prototypes: YES 
[   23s] Compiler for C supports arguments -Wnested-externs : NO 
[   23s] Compiler for C supports arguments -Wshadow: YES 
[   23s] Compiler for C supports arguments -Wsign-compare: YES 
[   23s] Compiler for C supports arguments -Wstrict-prototypes: YES 
[   23s] Compiler for C supports arguments -Wtype-limits: YES 
[   23s] Compiler for C supports arguments -Wmaybe-uninitialized: YES 
[   23s] Compiler for C supports arguments -Wdeclaration-after-statement: YES 
[   23s] Compiler for C supports arguments -Wunused-result: YES 
[   23s] Compiler for C supports arguments -D_FORTIFY_SOURCE=2: YES 
[   23s] Compiler for C supports arguments -O2: YES 
[   23s] meson.build:77: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
[   23s] meson.build:77: WARNING: Consider using the built-in optimization level instead of using "-O2".
[   23s] Program git found: NO
[   23s] Program env found: YES (/usr/bin/env)
[   23s] Configuring version.h using configuration
[   23s] Found pkg-config: /usr/bin/pkg-config (1.8.0)
[   23s] Run-time dependency libkmod found: YES 29
[   23s] Run-time dependency libudev found: YES 250
[   23s] Run-time dependency uuid found: YES 2.37.4
[   23s] Run-time dependency json-c found: YES 0.16
[   23s] Program asciidoctor found: YES (/usr/bin/asciidoctor)
[   23s] Run-time dependency systemd found: YES 250
[   23s] Run-time dependency udev found: YES 250
[   23s] Library keyutils found: YES
[   23s] Library iniparser found: YES
[   23s] Has header "dlfcn.h" : YES 
[   23s] Has header "inttypes.h" : YES 
[   23s] Has header "keyutils.h" : YES 
[   23s] Has header "linux/version.h" : YES 
[   23s] Has header "memory.h" : YES 
[   23s] Has header "stdint.h" : YES 
[   23s] Has header "stdlib.h" : YES 
[   23s] Has header "strings.h" : YES 
[   23s] Has header "string.h" : YES 
[   23s] Has header "sys/stat.h" : YES 
[   23s] Has header "sys/types.h" : YES 
[   23s] Has header "unistd.h" : YES 
[   23s] Header <signal.h> has symbol "BUS_MCEERR_AR" : YES 
[   23s] Header <linux/mman.h> has symbol "MAP_SHARED_VALIDATE" : YES 
[   23s] Header <linux/mman.h> has symbol "MAP_SYNC" : YES 
[   23s] Checking for function "secure_getenv" : YES 
[   23s] Checking for function "__secure_getenv" : NO 
[   23s] Checking for function "json_object_new_uint64" with dependency json-c: YES 
[   23s] Configuring config.h using configuration
[   23s] Program create.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/create.sh)
[   23s] Program clear.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/clear.sh)
[   23s] Program pmem-errors.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/pmem-errors.sh)
[   23s] Program daxdev-errors.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/daxdev-errors.sh)
[   23s] Program multi-dax.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/multi-dax.sh)
[   23s] Program btt-check.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/btt-check.sh)
[   23s] Program label-compat.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/label-compat.sh)
[   23s] Program sector-mode.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/sector-mode.sh)
[   23s] Program inject-error.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/inject-error.sh)
[   23s] Program btt-errors.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/btt-errors.sh)
[   23s] Program btt-pad-compat.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/btt-pad-compat.sh)
[   23s] Program firmware-update.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/firmware-update.sh)
[   23s] Program rescan-partitions.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/rescan-partitions.sh)
[   23s] Program inject-smart.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/inject-smart.sh)
[   23s] Program monitor.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/monitor.sh)
[   23s] Program max_available_extent_ns.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/max_available_extent_ns.sh)
[   23s] Program pfn-meta-errors.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/pfn-meta-errors.sh)
[   23s] Program track-uuid.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/track-uuid.sh)
[   23s] Program security.sh found: YES (/usr/src/packages/BUILD/ndctl-73/test/security.sh)
[   23s] Run-time dependency bash-completion found: YES 2.11
[   23s] Build targets in project: 85
[   23s] 
[   23s] ndctl 73
[   23s] 
[   23s]   User defined options
[   23s]     auto_features  : enabled
[   23s]     bindir         : /usr/bin
[   23s]     buildtype      : plain
[   23s]     datadir        : /usr/share
[   23s]     includedir     : /usr/include
[   23s]     infodir        : /usr/share/info
[   23s]     libdir         : /usr/lib64
[   23s]     libexecdir     : /usr/libexec
[   23s]     localedir      : /usr/share/locale
[   23s]     localstatedir  : /var
[   23s]     mandir         : /usr/share/man
[   23s]     prefix         : /usr
[   23s]     sbindir        : /usr/sbin
[   23s]     sharedstatedir : /var/lib
[   23s]     sysconfdir     : /etc
[   23s]     wrap_mode      : nodownload
[   23s]     asciidoctor    : enabled
[   23s]     modprobedatadir: /lib/modprobe.d
[   23s]     version-tag    : 73
[   23s] 
[   23s] Found ninja-1.10.2 at /usr/bin/ninja
[   23s] + /usr/bin/meson test -C x86_64-suse-linux --num-processes 2 --print-errorlogs
[   24s] ninja: Entering directory `/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux'
[   24s] [1/135] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_iomem.c.o
[   24s] [2/135] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_log.c.o
[   24s] [3/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/.._.._util_log.c.o
[   24s] [4/135] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_sysfs.c.o
[   25s] [5/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/.._.._util_sysfs.c.o
[   25s] [6/135] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/libdaxctl.c.o
[   25s] [7/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/inject.c.o
[   25s] [8/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/dimm.c.o
[   25s] [9/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/nfit.c.o
[   26s] [10/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/smart.c.o
[   26s] [11/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/intel.c.o
[   26s] [12/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/hpe1.c.o
[   26s] [13/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/msft.c.o
[   26s] [14/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/hyperv.c.o
[   26s] [15/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/papr.c.o
[   27s] [16/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/firmware.c.o
[   27s] [17/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/ars.c.o
[   27s] [18/135] Compiling C object cxl/lib/libcxl.so.1.0.1.p/.._.._util_sysfs.c.o
[   27s] [19/135] Linking target daxctl/lib/libdaxctl.so.1.1.5
[   27s] [20/135] Compiling C object cxl/lib/libcxl.so.1.0.1.p/.._.._util_log.c.o
[   29s] [21/135] Compiling C object cxl/lib/libcxl.so.1.0.1.p/libcxl.c.o
[   29s] [22/135] Generating symbol file daxctl/lib/libdaxctl.so.1.1.5.p/libdaxctl.so.1.1.5.symbols
[   29s] [23/135] Compiling C object util/libutil.a.p/parse-options.c.o
[   29s] [24/135] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/libndctl.c.o
[   29s] [25/135] Compiling C object util/libutil.a.p/parse-configs.c.o
[   29s] [26/135] Compiling C object util/libutil.a.p/usage.c.o
[   30s] [27/135] Compiling C object util/libutil.a.p/size.c.o
[   30s] [28/135] Compiling C object util/libutil.a.p/main.c.o
[   30s] [29/135] Compiling C object util/libutil.a.p/help.c.o
[   31s] [30/135] Compiling C object util/libutil.a.p/strbuf.c.o
[   31s] [31/135] Compiling C object util/libutil.a.p/wrapper.c.o
[   31s] [32/135] Compiling C object util/libutil.a.p/bitmap.c.o
[   31s] [33/135] Compiling C object util/libutil.a.p/abspath.c.o
[   31s] [34/135] Compiling C object util/libutil.a.p/iomem.c.o
[   31s] [35/135] Linking static target util/libutil.a
[   32s] [36/135] Compiling C object ndctl/ndctl.p/ndctl.c.o
[   32s] [37/135] Compiling C object ndctl/ndctl.p/bus.c.o
[   33s] [38/135] Compiling C object ndctl/ndctl.p/create-nfit.c.o
[   33s] [39/135] Linking target cxl/lib/libcxl.so.1.0.1
[   34s] [40/135] Compiling C object ndctl/ndctl.p/namespace.c.o
[   34s] [41/135] Generating symbol file cxl/lib/libcxl.so.1.0.1.p/libcxl.so.1.0.1.symbols
[   34s] [42/135] Compiling C object ndctl/ndctl.p/check.c.o
[   34s] [43/135] Compiling C object ndctl/ndctl.p/region.c.o
[   35s] [44/135] Compiling C object ndctl/ndctl.p/.._util_log.c.o
[   35s] [45/135] Compiling C object ndctl/ndctl.p/.._daxctl_filter.c.o
[   35s] [46/135] Compiling C object ndctl/ndctl.p/dimm.c.o
[   35s] [47/135] Compiling C object ndctl/ndctl.p/filter.c.o
[   35s] [48/135] Compiling C object ndctl/ndctl.p/list.c.o
[   35s] [49/135] Compiling C object ndctl/ndctl.p/.._util_json.c.o
[   36s] [50/135] Compiling C object ndctl/ndctl.p/.._daxctl_json.c.o
[   36s] [51/135] Compiling C object ndctl/ndctl.p/json.c.o
[   36s] [52/135] Compiling C object ndctl/ndctl.p/json-smart.c.o
[   36s] [53/135] Compiling C object ndctl/ndctl.p/inject-error.c.o
[   36s] [54/135] Compiling C object ndctl/ndctl.p/inject-smart.c.o
[   36s] [55/135] Compiling C object ndctl/ndctl.p/monitor.c.o
[   37s] [56/135] Compiling C object ndctl/ndctl.p/keys.c.o
[   37s] [57/135] Compiling C object ndctl/ndctl.p/load-keys.c.o
[   37s] [58/135] Compiling C object daxctl/daxctl.p/daxctl.c.o
[   37s] [59/135] Compiling C object daxctl/daxctl.p/acpi.c.o
[   37s] [60/135] Compiling C object daxctl/daxctl.p/list.c.o
[   37s] [61/135] Linking target ndctl/lib/libndctl.so.6.0.20
[   37s] [62/135] Compiling C object daxctl/daxctl.p/migrate.c.o
[   38s] [63/135] Compiling C object daxctl/daxctl.p/.._util_json.c.o
[   38s] [64/135] Compiling C object daxctl/daxctl.p/device.c.o
[   38s] [65/135] Compiling C object daxctl/daxctl.p/json.c.o
[   38s] [66/135] Compiling C object daxctl/daxctl.p/filter.c.o
[   38s] [67/135] Compiling C object cxl/cxl.p/cxl.c.o
[   38s] [68/135] Compiling C object cxl/cxl.p/list.c.o
[   38s] [69/135] Compiling C object cxl/cxl.p/port.c.o
[   38s] [70/135] Compiling C object cxl/cxl.p/memdev.c.o
[   39s] [71/135] Generating symbol file ndctl/lib/libndctl.so.6.0.20.p/libndctl.so.6.0.20.symbols
[   39s] [72/135] Compiling C object cxl/cxl.p/.._util_log.c.o
[   39s] [73/135] Compiling C object cxl/cxl.p/.._util_json.c.o
[   39s] [74/135] Compiling C object cxl/cxl.p/json.c.o
[   39s] [75/135] Compiling C object cxl/cxl.p/filter.c.o
[   45s] [76/135] Linking target daxctl/daxctl
[   45s] [77/135] Compiling C object test/libndctl.p/core.c.o
[   45s] [78/135] Linking target cxl/cxl
[   45s] [79/135] Compiling C object test/libndctl.p/.._util_log.c.o
[   46s] [80/135] Compiling C object test/libndctl.p/.._util_sysfs.c.o
[   46s] [81/135] Compiling C object test/dsm-fail.p/core.c.o
[   46s] [82/135] Compiling C object test/libndctl.p/libndctl.c.o
[   46s] [83/135] Compiling C object test/dsm-fail.p/.._util_log.c.o
[   47s] [84/135] Compiling C object test/dsm-fail.p/.._util_sysfs.c.o
[   48s] [85/135] Compiling C object test/dsm-fail.p/.._ndctl_namespace.c.o
[   48s] [86/135] Linking target ndctl/ndctl
[   48s] [87/135] Compiling C object test/dsm-fail.p/.._ndctl_filter.c.o
[   48s] [88/135] Compiling C object test/dsm-fail.p/.._util_json.c.o
[   48s] [89/135] Compiling C object test/dsm-fail.p/.._ndctl_check.c.o
[   48s] [90/135] Compiling C object test/dsm-fail.p/.._daxctl_filter.c.o
[   49s] [91/135] Compiling C object test/dsm-fail.p/.._ndctl_json.c.o
[   49s] [92/135] Compiling C object test/dsm-fail.p/.._daxctl_json.c.o
[   49s] [93/135] Compiling C object test/dsm-fail.p/dsm-fail.c.o
[   49s] [94/135] Compiling C object test/hugetlb.p/core.c.o
[   49s] [95/135] Compiling C object test/hugetlb.p/.._util_log.c.o
[   49s] [96/135] Compiling C object test/hugetlb.p/.._util_sysfs.c.o
[   50s] [97/135] Compiling C object test/hugetlb.p/hugetlb.c.o
[   50s] [98/135] Compiling C object test/hugetlb.p/dax-pmd.c.o
[   50s] [99/135] Linking target test/libndctl
[   50s] [100/135] Compiling C object test/hugetlb.p/dax-poison.c.o
[   50s] [101/135] Compiling C object test/ack-shutdown-count-set.p/core.c.o
[   50s] [102/135] Compiling C object test/ack-shutdown-count-set.p/.._util_log.c.o
[   51s] [103/135] Linking target test/hugetlb
[   51s] [104/135] Compiling C object test/ack-shutdown-count-set.p/.._util_sysfs.c.o
[   51s] [105/135] Compiling C object test/ack-shutdown-count-set.p/ack-shutdown-count-set.c.o
[   51s] [106/135] Compiling C object test/dax-errors.p/dax-errors.c.o
[   52s] [107/135] Linking target test/dax-errors
[   52s] [108/135] Linking target test/ack-shutdown-count-set
[   52s] [109/135] Compiling C object test/smart-notify.p/smart-notify.c.o
[   52s] [110/135] Compiling C object test/daxdev-errors.p/daxdev-errors.c.o
[   52s] [111/135] Compiling C object test/daxdev-errors.p/.._util_log.c.o
[   52s] [112/135] Linking target test/smart-notify
[   52s] [113/135] Compiling C object test/daxdev-errors.p/.._util_sysfs.c.o
[   53s] [114/135] Compiling C object test/list-smart-dimm.p/list-smart-dimm.c.o
[   53s] [115/135] Compiling C object test/list-smart-dimm.p/.._ndctl_filter.c.o
[   53s] [116/135] Compiling C object test/list-smart-dimm.p/.._util_json.c.o
[   53s] [117/135] Linking target test/daxdev-errors
[   53s] [118/135] Linking target test/dsm-fail
[   53s] [119/135] Compiling C object test/list-smart-dimm.p/.._ndctl_json.c.o
[   53s] [120/135] Compiling C object test/list-smart-dimm.p/.._daxctl_json.c.o
[   53s] [121/135] Compiling C object test/list-smart-dimm.p/.._daxctl_filter.c.o
[   54s] [122/135] Compiling C object test/dax-dev.p/.._util_log.c.o
[   54s] [123/135] Compiling C object test/dax-dev.p/core.c.o
[   54s] [124/135] Compiling C object test/dax-dev.p/dax-dev.c.o
[   54s] [125/135] Compiling C object test/dax-dev.p/.._util_sysfs.c.o
[   54s] [126/135] Compiling C object test/dax-pmd.p/core.c.o
[   54s] [127/135] Linking target test/dax-dev
[   54s] [128/135] Compiling C object test/dax-pmd.p/.._util_log.c.o
[   55s] [129/135] Compiling C object test/dax-pmd.p/.._util_sysfs.c.o
[   55s] [130/135] Compiling C object test/dax-pmd.p/dax-pmd.c.o
[   55s] [131/135] Compiling C object test/dax-pmd.p/dax-poison.c.o
[   55s] [132/135] Compiling C object test/mmap.p/mmap.c.o
[   55s] [133/135] Linking target test/mmap
[   56s] [134/135] Linking target test/dax-pmd
[   56s] [135/135] Linking target test/list-smart-dimm
[   56s]  1/23 ndctl:ndctl / libndctl               SKIP            0.02s   exit status 77
[   56s]  2/23 ndctl:ndctl / dsm-fail               SKIP            0.02s   exit status 77
[   56s] [   49.218604][ T2105] nfit_test nfit_test.0: failed to evaluate _FIT
[   56s] [   49.235524][ T2105] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[   56s] [   49.236267][ T2105] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[   56s] [   49.498347][ T2126] nd_pmem btt1.0: init: error in meta_init: -12
[   56s]  3/23 ndctl:ndctl / create.sh              FAIL            0.51s   exit status 1
[   56s] >>> DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/create.sh
[   56s] ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
[   56s] stdout:
[   56s] test/create.sh: failed at line 35
[   56s] stderr:
[   56s] + set -e
[   56s] + SECTOR_SIZE=4096
[   56s] + rc=77
[   56s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/create.sh
[   56s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[   56s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[   56s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[   56s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[   56s] ++ NFIT_TEST_BUS0=nfit_test.0
[   56s] ++ NFIT_TEST_BUS1=nfit_test.1
[   56s] ++ ACPI_BUS=ACPI.NFIT
[   56s] ++ E820_BUS=e820
[   56s] + check_min_kver 4.5
[   56s] + local ver=4.5
[   56s] ++ uname -r
[   56s] + : 5.17.4-1-default
[   56s] + '[' -n 4.5 ']'
[   56s] ++ echo -e '4.5\n5.17.4-1-default'
[   56s] ++ head -1
[   56s] ++ sort -V
[   56s] + [[ 4.5 == \4\.\5 ]]
[   56s] + trap 'err $LINENO' ERR
[   56s] + modprobe nfit_test
[   56s] + reset
[   56s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[   56s] disabled 6 regions
[   56s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[   56s] initialized 4 nmems
[   56s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[   56s] enabled 6 regions
[   56s] + rc=1
[   56s] + dev=x
[   56s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m raw
[   56s] + json='{
[   56s]   "dev":"namespace1.0",
[   56s]   "mode":"raw",
[   56s]   "size":67108864,
[   56s]   "uuid":"5bf587a6-3136-4372-8982-f209b80e196a",
[   56s]   "sector_size":512,
[   56s]   "blockdev":"pmem1"
[   56s] }'
[   56s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"raw",' '"size":67108864,' '"uuid":"5bf587a6-3136-4372-8982-f209b80e196a",' '"sector_size":512,' '"blockdev":"pmem1"' '}'
[   56s] ++ json2var
[   56s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[   56s] + eval dev=namespace1.0 mode=raw size=67108864 uuid=5bf587a6-3136-4372-8982-f209b80e196a sector_size=512 blockdev=pmem1
[   56s] ++ dev=namespace1.0
[   56s] ++ mode=raw
[   56s] ++ size=67108864
[   56s] ++ uuid=5bf587a6-3136-4372-8982-f209b80e196a
[   56s] ++ sector_size=512
[   56s] ++ blockdev=pmem1
[   56s] + '[' namespace1.0 = x ']'
[   56s] + '[' raw '!=' raw ']'
[   56s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -m fsdax -f -e namespace1.0
[   56s] + json='{
[   56s]   "dev":"namespace1.0",
[   56s]   "mode":"fsdax",
[   56s]   "map":"dev",
[   56s]   "size":65011712,
[   56s]   "uuid":"b24343fb-86d9-4ea0-ac22-fd6e4f88cac4",
[   56s]   "sector_size":512,
[   56s]   "align":2097152,
[   56s]   "blockdev":"pmem1"
[   56s] }'
[   56s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"fsdax",' '"map":"dev",' '"size":65011712,' '"uuid":"b24343fb-86d9-4ea0-ac22-fd6e4f88cac4",' '"sector_size":512,' '"align":2097152,' '"blockdev":"pmem1"' '}'
[   56s] ++ json2var
[   56s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[   56s] + eval dev=namespace1.0 mode=fsdax map=dev size=65011712 uuid=b24343fb-86d9-4ea0-ac22-fd6e4f88cac4 sector_size=512 align=2097152 blockdev=pmem1
[   56s] ++ dev=namespace1.0
[   56s] ++ mode=fsdax
[   56s] ++ map=dev
[   56s] ++ size=65011712
[   56s] ++ uuid=b24343fb-86d9-4ea0-ac22-fd6e4f88cac4
[   56s] ++ sector_size=512
[   56s] ++ align=2097152
[   56s] ++ blockdev=pmem1
[   56s] + '[' fsdax '!=' fsdax ']'
[   56s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -m sector -l 4096 -f -e namespace1.0
[   56s] libndctl: ndctl_btt_enable: btt1.0: failed to enable
[   56s]   Error: namespace1.0: failed to enable
[   56s] 
[   56s] failed to reconfigure namespace: No such device or address
[   56s] + json=
[   56s] ++ err 35
[   56s] +++ basename /usr/src/packages/BUILD/ndctl-73/test/create.sh
[   56s] ++ echo test/create.sh: failed at line 35
[   56s] ++ '[' -n '' ']'
[   56s] ++ exit 1
[   56s] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[   56s] 
[   70s]  4/23 ndctl:ndctl / clear.sh               OK             13.71s
[   70s] [   63.382389][ T2191] nfit_test nfit_test.0: failed to evaluate _FIT
[   70s] [   63.388401][ T2191] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[   70s] [   63.389304][ T2191] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[   84s]  5/23 ndctl:ndctl / pmem-errors.sh         OK             13.67s
[   84s] [   77.029840][ T2262] nfit_test nfit_test.0: failed to evaluate _FIT
[   84s] [   77.034893][ T2262] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[   84s] [   77.035928][ T2262] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[   95s]  6/23 ndctl:dax / daxdev-errors.sh         OK             11.72s
[   96s] [   88.750611][ T2312] nfit_test nfit_test.0: failed to evaluate _FIT
[   96s] [   88.754935][ T2312] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[   96s] [   88.755256][ T2312] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[   96s]  7/23 ndctl:dax / multi-dax.sh             OK              0.67s
[   96s] [   89.417060][ T2349] nfit_test nfit_test.0: failed to evaluate _FIT
[   96s] [   89.421824][ T2349] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[   96s] [   89.422148][ T2349] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[   96s] [   89.504639][ T2356] nd_pmem btt1.0: init: error in meta_init: -12
[   96s]  8/23 ndctl:ndctl / btt-check.sh           FAIL            0.21s   exit status 1
[   96s] >>> DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/btt-check.sh
[   96s] ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
[   96s] stdout:
[   96s] test/btt-check.sh: failed at line 31
[   96s] stderr:
[   96s] disabled 6 regions
[   96s] initialized 4 nmems
[   96s] enabled 6 regions
[   96s] libndctl: ndctl_btt_enable: btt1.0: failed to enable
[   96s]   Error: namespace1.0: failed to enable
[   96s] 
[   96s] failed to create namespace: No such device or address
[   96s] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[   96s] 
[   97s]  9/23 ndctl:ndctl / label-compat.sh        OK              0.64s
[   97s] [   90.244180][ T2399] nfit_test nfit_test.0: failed to evaluate _FIT
[   97s] [   90.248848][ T2399] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[   97s] [   90.249165][ T2399] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[   97s] [   90.477299][ T2413] nd_pmem btt6.0: init: error in meta_init: -12
[   97s] 10/23 ndctl:ndctl / sector-mode.sh         FAIL            0.36s   exit status 1
[   97s] >>> DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/sector-mode.sh
[   97s] ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
[   97s] stdout:
[   97s] test/sector-mode.sh: failed at line 27
[   97s] stderr:
[   97s] + rc=77
[   97s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/sector-mode.sh
[   97s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[   97s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[   97s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[   97s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[   97s] ++ NFIT_TEST_BUS0=nfit_test.0
[   97s] ++ NFIT_TEST_BUS1=nfit_test.1
[   97s] ++ ACPI_BUS=ACPI.NFIT
[   97s] ++ E820_BUS=e820
[   97s] + check_prereq jq
[   97s] + command -v jq
[   97s] + set -e
[   97s] + trap 'err $LINENO' ERR
[   97s] ++ getconf PAGESIZE
[   97s] + ALIGN_SIZE=4096
[   97s] + modprobe nfit_test
[   97s] + reset
[   97s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[   97s] disabled 6 regions
[   97s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[   97s] initialized 4 nmems
[   97s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[   97s] enabled 6 regions
[   97s] + reset1
[   97s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[   97s] disabled 2 regions
[   97s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.1 all
[   97s] initialized 2 nmems
[   97s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.1 all
[   97s] enabled 2 regions
[   97s] + rc=1
[   97s] + query='. | sort_by(.available_size) | reverse | .[0].dev'
[   97s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -R -b nfit_test.1
[   97s] ++ jq -r '. | sort_by(.available_size) | reverse | .[0].dev'
[   97s] + REGION=region6
[   97s] + echo 0
[   97s] + echo 4096
[   97s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace --no-autolabel -r region6 -m sector -f -l 4K
[   97s] ++ jq -r .dev
[   97s] libndctl: ndctl_btt_enable: btt6.0: failed to enable
[   97s]   Error: namespace6.0: failed to enable
[   97s] 
[   97s] failed to create namespace: No such device or address
[   97s] + NAMESPACE=
[   97s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace --no-autolabel -e -m dax -f -a 4096
[   97s]   Error: unknown extra parameter "dax"
[   97s] 
[   97s] 
[   97s]  usage: ndctl create-namespace [<options>]
[   97s] 
[   97s]     -b, --bus <bus-id>    limit namespace to a bus with an id or provider of <bus-id>
[   97s]     -r, --region <region-id>
[   97s]                           limit namespace to a region with an id or name of <region-id>
[   97s]     -v, --verbose         emit extra debug messages to stderr
[   97s]     -e, --reconfig <reconfig namespace>
[   97s]                           reconfigure existing namespace
[   97s]     -u, --uuid <uuid>     specify the uuid for the namespace (default: autogenerate)
[   97s]     -n, --name <name>     specify an optional free form name for the namespace
[   97s]     -s, --size <size>     specify the namespace size in bytes (default: available capacity)
[   97s]     -m, --mode <operation-mode>
[   97s]                           specify a mode for the namespace, 'sector', 'fsdax', 'devdax' or 'raw'
[   97s]     -M, --map <memmap-location>
[   97s]                           specify 'mem' or 'dev' for the location of the memmap
[   97s]     -l, --sector-size <lba-size>
[   97s]                           specify the logical sector size in bytes
[   97s]     -t, --type <type>     specify the type of namespace to create 'pmem' or 'blk'
[   97s]     -a, --align <align>   specify the namespace alignment in bytes (default: 2M)
[   97s]     -f, --force           reconfigure namespace even if currently active
[   97s]     -L, --autolabel       automatically initialize labels
[   97s]     -c, --continue        continue creating namespaces as long as the filter criteria are met
[   97s]     -R, --autorecover     automatically cleanup on failure
[   97s] 
[   97s] ++ err 27
[   97s] +++ basename /usr/src/packages/BUILD/ndctl-73/test/sector-mode.sh
[   97s] ++ echo test/sector-mode.sh: failed at line 27
[   97s] ++ '[' -n '' ']'
[   97s] ++ exit 1
[   97s] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[   97s] 
[  110s] 11/23 ndctl:ndctl / inject-error.sh        OK             13.08s
[  111s] [  103.728704][ T2498] nfit_test nfit_test.0: failed to evaluate _FIT
[  111s] [  103.735127][ T2498] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[  111s] [  103.735446][ T2498] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[  124s] [  117.220838][ T2566] nd_pmem btt1.0: io error in READ sector 122880, len 4096,
[  131s] [  124.538621][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.538791][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.539110][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.539538][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.539672][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.540051][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.540287][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.540432][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.540620][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.540894][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.541002][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.541162][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.541341][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.541495][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.541687][ T2115] Dev pmem1s: unable to read RDB block 0
[  131s] [  124.541952][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.542123][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.542313][ T2115] nd_pmem btt1.0: io error in READ sector 24, len 4096,
[  131s] [  124.542468][ T2115] Buffer I/O error on dev pmem1s, logical block 3, async page read
[  131s] [  124.542675][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.542829][ T2115] Buffer I/O error on dev pmem1s, logical block 0, async page read
[  131s] [  124.543107][ T2115] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  131s] [  124.549666][ T2603] nd_pmem btt1.0: io error in READ sector 0, len 4096,
[  132s] 12/23 ndctl:ndctl / btt-errors.sh          OK             21.26s
[  132s] 13/23 ndctl:ndctl / hugetlb                OK              0.02s
[  132s] [  124.979347][ T2619] nfit_test nfit_test.0: failed to evaluate _FIT
[  132s] [  124.983719][ T2619] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[  132s] [  124.984065][ T2619] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[  132s] 14/23 ndctl:ndctl / btt-pad-compat.sh      SKIP            0.19s   exit status 77
[  142s] 15/23 ndctl:ndctl / firmware-update.sh     OK             10.29s
[  142s] 16/23 ndctl:ndctl / ack-shutdown-count-set SKIP            0.02s   exit status 77
[  142s] [  135.517860][ T2726] nfit_test nfit_test.0: failed to evaluate _FIT
[  142s] [  135.522453][ T2726] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[  142s] [  135.522794][ T2726] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[  149s] 17/23 ndctl:ndctl / rescan-partitions.sh   OK              7.01s
[  149s] [  142.519167][ T2800] nfit_test nfit_test.0: failed to evaluate _FIT
[  149s] [  142.523651][ T2800] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[  149s] [  142.524013][ T2800] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[  151s] 18/23 ndctl:ndctl / inject-smart.sh        OK              1.90s
[  151s] [  144.438791][ T2964] nfit_test nfit_test.0: failed to evaluate _FIT
[  151s] [  144.443116][ T2964] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[  151s] [  144.443458][ T2964] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[  158s] 19/23 ndctl:ndctl / monitor.sh             FAIL            6.43s   exit status 1
[  158s] >>> DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/monitor.sh
[  158s] ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
[  158s] Listing only the last 100 lines from a long log.
[  158s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl monitor -l /tmp/tmp.ukmEcscnHe -d nmem0
[  158s] + sleep 3
[  158s] iniparser: cannot open /etc/ndctl.conf.d
[  158s] + truncate --size 0 /tmp/tmp.ukmEcscnHe
[  158s] + call_notify
[  158s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/smart-notify nfit_test.0
[  158s] libndctl: __sysfs_device_parse: base: '/sys/class/nd' dev: 'ndctl'
[  158s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl0/device/of_node/compatible: No such file or directory
[  158s] libndctl: __sysfs_device_parse: ndctl0: processed
[  158s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/of_node/compatible: No such file or directory
[  158s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/firmware/activate: No such file or directory
[  158s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/firmware/capability: No such file or directory
[  158s] libndctl: __sysfs_device_parse: ndctl1: processed
[  158s] libndctl: __sysfs_device_parse: base: '/sys/devices/platform/nfit_test.0/ndbus0' dev: 'nmem'
[  158s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  158s] libndctl: parse_dimm_flags: nmem2: alias
[  158s] libndctl: parse_nfit_mem_flags: nmem2: smart_notify
[  158s] libndctl: __sysfs_device_parse: nmem2: processed
[  158s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  158s] libndctl: parse_dimm_flags: nmem0: alias
[  158s] libndctl: parse_nfit_mem_flags: nmem0: smart_notify
[  158s] libndctl: __sysfs_device_parse: nmem0: processed
[  158s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  158s] libndctl: parse_dimm_flags: nmem3: alias
[  158s] libndctl: parse_nfit_mem_flags: nmem3: smart_notify
[  158s] libndctl: __sysfs_device_parse: nmem3: processed
[  158s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  158s] libndctl: parse_dimm_flags: nmem1: alias
[  158s] libndctl: parse_nfit_mem_flags: nmem1: smart_notify
[  158s] libndctl: __sysfs_device_parse: nmem1: processed
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart status: 0 fw: 0 (success)
[  158s] nmem1: (smart) alarm: 0x3 mtemp: 23.00 ctemp: 25.00 spares: 75
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_thresh status: 0 fw: 0 (success)
[  158s] nmem1: (smart thresh) alarm: 0x3 mtemp: 40.00 ctemp: 30.00 spares: 5
[  158s] nmem1: supported alarms: 0x7
[  158s] nmem1: set spare threshold: 99
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem1: set mtemp threshold: 11.50
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem1: set ctemp threshold: 12.50
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem1: set thresholds back to defaults
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart status: 0 fw: 0 (success)
[  158s] nmem3: (smart) alarm: 0x3 mtemp: 23.00 ctemp: 25.00 spares: 75
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_thresh status: 0 fw: 0 (success)
[  158s] nmem3: (smart thresh) alarm: 0x3 mtemp: 40.00 ctemp: 30.00 spares: 5
[  158s] nmem3: supported alarms: 0x7
[  158s] nmem3: set spare threshold: 99
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem3: set mtemp threshold: 11.50
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem3: set ctemp threshold: 12.50
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem3: set thresholds back to defaults
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart status: 0 fw: 0 (success)
[  158s] nmem0: (smart) alarm: 0x3 mtemp: 23.00 ctemp: 25.00 spares: 75
[  158s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_thresh status: 0 fw: 0 (success)
[  158s] nmem0: (smart thresh) alarm: 0x3 mtemp: 40.00 ctemp: 30.00 spares: 5
[  158s] nmem0: supported alarms: 0x7
[  158s] nmem0: set spare threshold: 99
[  158s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem0: set mtemp threshold: 11.50
[  158s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem0: set ctemp threshold: 12.50
[  158s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem0: set thresholds back to defaults
[  158s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart status: 0 fw: 0 (success)
[  158s] nmem2: (smart) alarm: 0x3 mtemp: 23.00 ctemp: 25.00 spares: 75
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_thresh status: 0 fw: 0 (success)
[  158s] nmem2: (smart thresh) alarm: 0x3 mtemp: 40.00 ctemp: 30.00 spares: 5
[  158s] nmem2: supported alarms: 0x7
[  158s] nmem2: set spare threshold: 99
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem2: set mtemp threshold: 11.50
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem2: set ctemp threshold: 12.50
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] nmem2: set thresholds back to defaults
[  158s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  158s] libdaxctl: daxctl_unref: context 0x555ac06b7030 released
[  158s] libndctl: ndctl_unref: context 0x555ac06be230 released
[  158s] + sync
[  158s] + sleep 3
[  158s] + check_result nmem0
[  158s] ++ cat /tmp/tmp.ukmEcscnHe
[  158s] + jlog=
[  158s] ++ jq .dimm.dev
[  158s] ++ xargs
[  158s] ++ uniq
[  158s] ++ sort
[  158s] + notify_dimms=
[  158s] + [[ nmem0 == '' ]]
[  158s] ++ err 63
[  158s] +++ basename /usr/src/packages/BUILD/ndctl-73/test/monitor.sh
[  158s] ++ echo test/monitor.sh: failed at line 63
[  158s] ++ '[' -n '' ']'
[  158s] ++ exit 1
[  158s] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[  158s] 
[  158s] 20/23 ndctl:ndctl / max_extent_ns          OK              0.84s
[  159s] [  151.696953][ T3058] nfit_test nfit_test.0: failed to evaluate _FIT
[  159s] [  151.701339][ T3058] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[  159s] [  151.701850][ T3058] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[  172s] 21/23 ndctl:ndctl / pfn-meta-errors.sh     OK             13.90s
[  172s] [  165.573279][ T3107] nfit_test nfit_test.0: failed to evaluate _FIT
[  172s] [  165.577917][ T3107] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[  172s] [  165.578483][ T3107] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[  173s] 22/23 ndctl:ndctl / track-uuid.sh          OK              0.48s
[  173s] [  166.089355][ T3143] nfit_test nfit_test.0: failed to evaluate _FIT
[  173s] [  166.094169][ T3143] nfit_test nfit_test.1: Error found in NVDIMM nmem4 flags: save_fail restore_fail flush_fail not_armed
[  173s] [  166.094592][ T3143] nfit_test nfit_test.1: Error found in NVDIMM nmem5 flags: map_fail
[  175s] 23/23 ndctl:ndctl / security.sh            OK              1.76s
[  175s] 
[  175s] Summary of Failures:
[  175s] 
[  175s]  3/23 ndctl:ndctl / create.sh              FAIL            0.51s   exit status 1
[  175s]  8/23 ndctl:ndctl / btt-check.sh           FAIL            0.21s   exit status 1
[  175s] 10/23 ndctl:ndctl / sector-mode.sh         FAIL            0.36s   exit status 1
[  175s] 19/23 ndctl:ndctl / monitor.sh             FAIL            6.43s   exit status 1
[  175s] 
[  175s] 
[  175s] Ok:                 15  
[  175s] Expected Fail:      0   
[  175s] Fail:               4   
[  175s] Unexpected Pass:    0   
[  175s] Skipped:            4   
[  175s] Timeout:            0   
[  175s] 
[  175s] Full log written to /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/meson-logs/testlog.txt
[  175s] + rc=4
[  175s] + testlog=x86_64-suse-linux/meson-logs/testlog.txt
[  175s] + cat x86_64-suse-linux/meson-logs/testlog.txt
[  175s] Log of Meson test suite run on 2022-04-26T17:44:46.863815
[  175s] 
[  175s] Inherited environment: SHELL=/bin/bash RPM_SOURCE_DIR=/usr/src/packages/SOURCES XDG_CONFIG_DIRS=/etc/xdg:/usr/etc/xdg LESS='-M -I -R' MACHTYPE=x86_64-suse-linux PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig HISTSIZE=1000 HOSTNAME=naga MINICOM='-c on' PYTHONHASHSEED=0 CPU=x86_64 GPG_TTY='not a tty' FFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g ' PWD=/usr/src/packages/BUILD/ndctl-73 SOURCE_DATE_EPOCH=1649548800 LOGNAME=root SUSE_ZNOW=1 CXXFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g' RPM_ARCH=x86_64 XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB XNLSPATH=/usr/X11R6/lib/X11/nls LDFLAGS=-flto=auto HOME=/root LANG=C OSTYPE=linux LESS_ADVANCED_PREPROCESSOR=no RPM_PACKAGE_RELEASE=0 PERL_HASH_SEED=42 RPM_OS=linux SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf MALLOC_PERTURB_=69 FCFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g ' LESSCLOSE='lessclose.sh %s %s' TERM=linux HOST=naga LESSOPEN='lessopen.sh %s' USER=root SUSE_ASNEEDED=1 MORE=-sl CSHEDIT=emacs SHLVL=1 RPM_BUILD_DIR=/usr/src/packages/BUILD WINDOWMANAGER=xterm PAGER=less MALLOC_CHECK_=3 FORCE_SOURCE_DATE=1 RPM_OPT_FLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g' RPM_DOC_DIR=/usr/share/doc/packages QT_HASH_SEED=0 LC_CTYPE=C.UTF-8 RPM_PACKAGE_VERSION=73 DEBUGINFOD_URLS='https://debuginfod.opensuse.org/ ' XDG_DATA_DIRS=/usr/share PATH=/sbin:/usr/sbin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin CFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fcommon' PROFILEREAD=true MAIL=/var/spool/mail/root HOSTTYPE=x86_64 RPM_BUILD_NCPUS=2 CONFIG_SHELL=/usr/bin/bash RPM_PACKAGE_NAME=ndctl LESSKEY=/usr/etc/lesskey.bin RPM_BUILD_ROOT=/usr/src/packages/BUILDROOT/ndctl-73-0.x86_64 OLDPWD=/usr/src/packages/BUILD _=/usr/bin/meson 
[  175s] 
[  175s]  1/23 ndctl:ndctl / libndctl               SKIP            0.02s   exit status 77
[  175s] 17:44:46 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/libndctl
[  175s] ----------------------------------- output -----------------------------------
[  175s] stderr:
[  175s] test/init: ndctl_test_init: nfit.ko: appears to be production version: /lib/modules/5.17.4-1-default/updates/nfit.ko
[  175s] __ndctl_test_skip: explicit skip test_libndctl:2600
[  175s] nfit_test unavailable skipping tests
[  175s] libdaxctl: daxctl_unref: context 0x563681954050 released
[  175s] libndctl: ndctl_unref: context 0x56368195b250 released
[  175s] attempted: 1 skipped: 1
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s]  2/23 ndctl:ndctl / dsm-fail               SKIP            0.02s   exit status 77
[  175s] 17:44:46 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/dsm-fail
[  175s] ----------------------------------- output -----------------------------------
[  175s] stderr:
[  175s] test/init: ndctl_test_init: nfit.ko: appears to be production version: /lib/modules/5.17.4-1-default/updates/nfit.ko
[  175s] __ndctl_test_skip: explicit skip test_dsm_fail:352
[  175s] nfit_test unavailable skipping tests
[  175s] libdaxctl: daxctl_unref: context 0x55c0066c6050 released
[  175s] libndctl: ndctl_unref: context 0x55c0066cd250 released
[  175s] attempted: 1 skipped: 1
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s]  3/23 ndctl:ndctl / create.sh              FAIL            0.51s   exit status 1
[  175s] 17:44:46 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/create.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] test/create.sh: failed at line 35
[  175s] stderr:
[  175s] + set -e
[  175s] + SECTOR_SIZE=4096
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/create.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_min_kver 4.5
[  175s] + local ver=4.5
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.5 ']'
[  175s] ++ echo -e '4.5\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.5 == \4\.\5 ]]
[  175s] + trap 'err $LINENO' ERR
[  175s] + modprobe nfit_test
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + rc=1
[  175s] + dev=x
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m raw
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"5bf587a6-3136-4372-8982-f209b80e196a",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"raw",' '"size":67108864,' '"uuid":"5bf587a6-3136-4372-8982-f209b80e196a",' '"sector_size":512,' '"blockdev":"pmem1"' '}'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval dev=namespace1.0 mode=raw size=67108864 uuid=5bf587a6-3136-4372-8982-f209b80e196a sector_size=512 blockdev=pmem1
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=raw
[  175s] ++ size=67108864
[  175s] ++ uuid=5bf587a6-3136-4372-8982-f209b80e196a
[  175s] ++ sector_size=512
[  175s] ++ blockdev=pmem1
[  175s] + '[' namespace1.0 = x ']'
[  175s] + '[' raw '!=' raw ']'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -m fsdax -f -e namespace1.0
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"b24343fb-86d9-4ea0-ac22-fd6e4f88cac4",
[  175s]   "sector_size":512,
[  175s]   "align":2097152,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"fsdax",' '"map":"dev",' '"size":65011712,' '"uuid":"b24343fb-86d9-4ea0-ac22-fd6e4f88cac4",' '"sector_size":512,' '"align":2097152,' '"blockdev":"pmem1"' '}'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval dev=namespace1.0 mode=fsdax map=dev size=65011712 uuid=b24343fb-86d9-4ea0-ac22-fd6e4f88cac4 sector_size=512 align=2097152 blockdev=pmem1
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=fsdax
[  175s] ++ map=dev
[  175s] ++ size=65011712
[  175s] ++ uuid=b24343fb-86d9-4ea0-ac22-fd6e4f88cac4
[  175s] ++ sector_size=512
[  175s] ++ align=2097152
[  175s] ++ blockdev=pmem1
[  175s] + '[' fsdax '!=' fsdax ']'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -m sector -l 4096 -f -e namespace1.0
[  175s] libndctl: ndctl_btt_enable: btt1.0: failed to enable
[  175s]   Error: namespace1.0: failed to enable
[  175s] 
[  175s] failed to reconfigure namespace: No such device or address
[  175s] + json=
[  175s] ++ err 35
[  175s] +++ basename /usr/src/packages/BUILD/ndctl-73/test/create.sh
[  175s] ++ echo test/create.sh: failed at line 35
[  175s] ++ '[' -n '' ']'
[  175s] ++ exit 1
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s]  4/23 ndctl:ndctl / clear.sh               OK             13.71s
[  175s] 17:44:47 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/clear.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"7cf9c119-909f-4172-b067-2d10842e4fb4",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1",
[  175s]   "badblock_count":8,
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "offset":65536,
[  175s]       "length":8,
[  175s]       "dimms":[
[  175s]         "nmem3"
[  175s]       ]
[  175s]     }
[  175s]   ]
[  175s] }
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"idle",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] stderr:
[  175s] + set -e
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/clear.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_min_kver 4.6
[  175s] + local ver=4.6
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.6 ']'
[  175s] ++ sort -V
[  175s] ++ head -1
[  175s] ++ echo -e '4.6\n5.17.4-1-default'
[  175s] + [[ 4.6 == \4\.\6 ]]
[  175s] + trap 'err $LINENO' ERR
[  175s] + modprobe nfit_test
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + rc=1
[  175s] + dev=x
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m raw
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"7cf9c119-909f-4172-b067-2d10842e4fb4",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"raw",' '"size":67108864,' '"uuid":"7cf9c119-909f-4172-b067-2d10842e4fb4",' '"sector_size":512,' '"blockdev":"pmem1"' '}'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval dev=namespace1.0 mode=raw size=67108864 uuid=7cf9c119-909f-4172-b067-2d10842e4fb4 sector_size=512 blockdev=pmem1
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=raw
[  175s] ++ size=67108864
[  175s] ++ uuid=7cf9c119-909f-4172-b067-2d10842e4fb4
[  175s] ++ sector_size=512
[  175s] ++ blockdev=pmem1
[  175s] + '[' namespace1.0 = x ']'
[  175s] + '[' raw '!=' raw ']'
[  175s] + err_sector=65536
[  175s] + err_count=8
[  175s] + read sector len
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=65536 --count=8 namespace1.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl start-scrub nfit_test.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl wait-scrub nfit_test.0
[  175s] + read sector len
[  175s] + '[' 131072 -ne 131072 ']'
[  175s] + dd if=/dev/pmem1 of=/dev/null iflag=direct bs=512 skip=65536 count=8
[  175s] dd: error reading '/dev/pmem1': Input/output error
[  175s] 0+0 records in
[  175s] 0+0 records out
[  175s] 0 bytes copied, 0.0015641 s, 0.0 kB/s
[  175s] + size_raw=67108864
[  175s] + sector_raw=65536
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -m fsdax -f -e namespace1.0
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"18708fd8-c70c-4003-96df-af42cdf698b6",
[  175s]   "sector_size":512,
[  175s]   "align":2097152,
[  175s]   "blockdev":"pmem1",
[  175s]   "badblock_count":8
[  175s] }'
[  175s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"fsdax",' '"map":"dev",' '"size":65011712,' '"uuid":"18708fd8-c70c-4003-96df-af42cdf698b6",' '"sector_size":512,' '"align":2097152,' '"blockdev":"pmem1",' '"badblock_count":8' '}'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval dev=namespace1.0 mode=fsdax map=dev size=65011712 uuid=18708fd8-c70c-4003-96df-af42cdf698b6 sector_size=512 align=2097152 blockdev=pmem1 badblock_count=8
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=fsdax
[  175s] ++ map=dev
[  175s] ++ size=65011712
[  175s] ++ uuid=18708fd8-c70c-4003-96df-af42cdf698b6
[  175s] ++ sector_size=512
[  175s] ++ align=2097152
[  175s] ++ blockdev=pmem1
[  175s] ++ badblock_count=8
[  175s] + '[' fsdax '!=' fsdax ']'
[  175s] + read sector len
[  175s] + '[' 4096 -ne 4096 ']'
[  175s] + dd of=/dev/pmem1 if=/dev/zero oflag=direct bs=512 seek=61440 count=8
[  175s] 8+0 records in
[  175s] 8+0 records out
[  175s] 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000237849 s, 17.2 MB/s
[  175s] + read sector len
[  175s] + check_min_kver 4.9
[  175s] + local ver=4.9
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.9 ']'
[  175s] ++ echo -e '4.9\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.9 == \4\.\9 ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + read sector len
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s]  5/23 ndctl:ndctl / pmem-errors.sh         OK             13.67s
[  175s] 17:45:01 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/pmem-errors.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"0130aa0e-f555-43b7-a84f-ca3338ce5619",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1",
[  175s]   "badblock_count":8,
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "offset":65536,
[  175s]       "length":8,
[  175s]       "dimms":[
[  175s]         "nmem3"
[  175s]       ]
[  175s]     }
[  175s]   ]
[  175s] }
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"idle",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] Creating filesystem with 16384 4k blocks and 16384 inodes
[  175s] 
[  175s] Allocating group tables: 0/1   done                            
[  175s] Writing inode tables: 0/1   done                            
[  175s] Creating journal (1024 blocks): done
[  175s] Writing superblocks and filesystem accounting information: 0/1   done
[  175s] 
[  175s] start sector of the file is 16520
[  175s]   mmap-read failed as expected
[  175s] holepunch test: start sector: 20616
[  175s] stderr:
[  175s] + MNT=test_dax_mnt
[  175s] + FILE=image
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/pmem-errors.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_min_kver 4.7
[  175s] + local ver=4.7
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.7 ']'
[  175s] ++ echo -e '4.7\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.7 == \4\.\7 ]]
[  175s] + set -e
[  175s] + mkdir -p test_dax_mnt
[  175s] + trap 'err $LINENO cleanup' ERR
[  175s] + modprobe nfit_test
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + rc=1
[  175s] + dev=x
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m raw
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"0130aa0e-f555-43b7-a84f-ca3338ce5619",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"raw",' '"size":67108864,' '"uuid":"0130aa0e-f555-43b7-a84f-ca3338ce5619",' '"sector_size":512,' '"blockdev":"pmem1"' '}'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval dev=namespace1.0 mode=raw size=67108864 uuid=0130aa0e-f555-43b7-a84f-ca3338ce5619 sector_size=512 blockdev=pmem1
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=raw
[  175s] ++ size=67108864
[  175s] ++ uuid=0130aa0e-f555-43b7-a84f-ca3338ce5619
[  175s] ++ sector_size=512
[  175s] ++ blockdev=pmem1
[  175s] + '[' namespace1.0 = x ']'
[  175s] + '[' raw '!=' raw ']'
[  175s] + err_sector=65536
[  175s] + err_count=8
[  175s] + read sector len
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=65536 --count=8 namespace1.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl start-scrub nfit_test.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl wait-scrub nfit_test.0
[  175s] + read sector len
[  175s] + '[' 131072 -ne 131072 ']'
[  175s] + dd if=/dev/pmem1 of=/dev/null iflag=direct bs=512 skip=65536 count=8
[  175s] dd: error reading '/dev/pmem1': Input/output error
[  175s] 0+0 records in
[  175s] 0+0 records out
[  175s] 0 bytes copied, 0.00123197 s, 0.0 kB/s
[  175s] + dd of=/dev/pmem1 if=/dev/zero oflag=direct bs=512 seek=65536 count=8
[  175s] 8+0 records in
[  175s] 8+0 records out
[  175s] 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000547088 s, 7.5 MB/s
[  175s] + read sector len
[  175s] + mkfs.ext4 /dev/pmem1 -b 4096
[  175s] mke2fs 1.46.5 (30-Dec-2021)
[  175s] + mount /dev/pmem1 test_dax_mnt
[  175s] + dd if=/dev/urandom of=test_dax_mnt/image bs=4096 count=4 oflag=direct
[  175s] 4+0 records in
[  175s] 4+0 records out
[  175s] 16384 bytes (16 kB, 16 KiB) copied, 0.000505734 s, 32.4 MB/s
[  175s] ++ filefrag -v -b512 test_dax_mnt/image
[  175s] ++ cut -d. -f1
[  175s] ++ head -1
[  175s] ++ awk '{ print $4 }'
[  175s] ++ grep -E '^[ ]+[0-9]+.*'
[  175s] + start_sect=16520
[  175s] + test -n 16520
[  175s] + echo 'start sector of the file is 16520'
[  175s] + echo 16520 8
[  175s] + : The following dd is expected to hit an I/O Error
[  175s] + dd if=test_dax_mnt/image of=/dev/null iflag=direct bs=4096 count=1
[  175s] dd: error reading 'test_dax_mnt/image': Input/output error
[  175s] 0+0 records in
[  175s] 0+0 records out
[  175s] 0 bytes copied, 0.000177728 s, 0.0 kB/s
[  175s] + true
[  175s] + test -x /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/dax-errors
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/dax-errors test_dax_mnt/image
[  175s] ** Received a SIGBUS **
[  175s] Failed to read from mapped file
[  175s] + read sector len
[  175s] + dd of=/dev/pmem1 if=/dev/zero oflag=direct bs=512 seek=16520 count=8
[  175s] 8+0 records in
[  175s] 8+0 records out
[  175s] 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.00027115 s, 15.1 MB/s
[  175s] + dd if=/dev/urandom of=test_dax_mnt/image oflag=direct bs=4096 count=4
[  175s] 4+0 records in
[  175s] 4+0 records out
[  175s] 16384 bytes (16 kB, 16 KiB) copied, 0.00101969 s, 16.1 MB/s
[  175s] ++ filefrag -v -b512 test_dax_mnt/image
[  175s] ++ head -1
[  175s] ++ awk '{ print $4 }'
[  175s] ++ grep -E '^[ ]+[0-9]+.*'
[  175s] ++ cut -d. -f1
[  175s] + start_sect=20616
[  175s] + test -n 20616
[  175s] + echo 'holepunch test: start sector: 20616'
[  175s] + echo 20617 1
[  175s] + : The following dd is expected to hit an I/O Error
[  175s] + dd if=test_dax_mnt/image of=/dev/null iflag=direct bs=4096 count=1
[  175s] dd: error reading 'test_dax_mnt/image': Input/output error
[  175s] 0+0 records in
[  175s] 0+0 records out
[  175s] 0 bytes copied, 0.00017169 s, 0.0 kB/s
[  175s] + true
[  175s] + cleanup
[  175s] + '[' -n pmem1 ']'
[  175s] + umount /dev/pmem1
[  175s] + rm -rf test_dax_mnt
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s]  6/23 ndctl:dax / daxdev-errors.sh         OK             11.72s
[  175s] 17:45:14 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/daxdev-errors.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"devdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"40aa6a7a-a3ca-4383-a049-e190062f5910",
[  175s]   "chardev":"dax1.0",
[  175s]   "align":4096,
[  175s]   "badblock_count":8,
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "offset":63488,
[  175s]       "length":8,
[  175s]       "dimms":[
[  175s]         "nmem3"
[  175s]       ]
[  175s]     }
[  175s]   ]
[  175s] }
[  175s] sector: 67584 len: 8
[  175s] stderr:
[  175s] + set -e
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/daxdev-errors.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_min_kver 4.12
[  175s] + local ver=4.12
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.12 ']'
[  175s] ++ echo -e '4.12\n5.17.4-1-default'
[  175s] ++ sort -V
[  175s] ++ head -1
[  175s] + [[ 4.12 == \4\.\1\2 ]]
[  175s] + check_prereq jq
[  175s] + command -v jq
[  175s] + trap 'err $LINENO' ERR
[  175s] + modprobe nfit_test
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + rc=1
[  175s] + query='. | sort_by(.available_size) | reverse | .[0].dev'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -t pmem -Ri
[  175s] ++ jq -r '. | sort_by(.available_size) | reverse | .[0].dev'
[  175s] + region=region1
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -r region1 -t pmem -m devdax -a 4096
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"devdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"40aa6a7a-a3ca-4383-a049-e190062f5910",
[  175s]   "daxregion":{
[  175s]     "id":1,
[  175s]     "size":65011712,
[  175s]     "align":4096,
[  175s]     "devices":[
[  175s]       {
[  175s]         "chardev":"dax1.0",
[  175s]         "size":65011712,
[  175s]         "align":4096,
[  175s]         "mode":"devdax"
[  175s]       }
[  175s]     ]
[  175s]   },
[  175s]   "align":4096
[  175s] }'
[  175s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"devdax",' '"map":"dev",' '"size":65011712,' '"uuid":"40aa6a7a-a3ca-4383-a049-e190062f5910",' '"daxregion":{' '"id":1,' '"size":65011712,' '"align":4096,' '"devices":[' '{' '"chardev":"dax1.0",' '"size":65011712,' '"align":4096,' '"mode":"devdax"' '}' ']' '},' '"align":4096' '}'
[  175s] ++ jq '. | select(.mode == "devdax") | .daxregion.devices[0].chardev'
[  175s] + chardev='"dax1.0"'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 --mode=devdax --namespaces
[  175s] + json1='[
[  175s]   {
[  175s]     "dev":"namespace1.0",
[  175s]     "mode":"devdax",
[  175s]     "map":"dev",
[  175s]     "size":65011712,
[  175s]     "uuid":"40aa6a7a-a3ca-4383-a049-e190062f5910",
[  175s]     "chardev":"dax1.0",
[  175s]     "align":4096
[  175s]   }
[  175s] ]'
[  175s] ++ echo '[' '{' '"dev":"namespace1.0",' '"mode":"devdax",' '"map":"dev",' '"size":65011712,' '"uuid":"40aa6a7a-a3ca-4383-a049-e190062f5910",' '"chardev":"dax1.0",' '"align":4096' '}' ']'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval dev=namespace1.0 mode=devdax map=dev size=65011712 uuid=40aa6a7a-a3ca-4383-a049-e190062f5910 chardev=dax1.0 align=4096
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=devdax
[  175s] ++ map=dev
[  175s] ++ size=65011712
[  175s] ++ uuid=40aa6a7a-a3ca-4383-a049-e190062f5910
[  175s] ++ chardev=dax1.0
[  175s] ++ align=4096
[  175s] + nsdev=namespace1.0
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0
[  175s] + json1='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active"
[  175s]   }
[  175s] ]'
[  175s] ++ echo '[' '{' '"provider":"nfit_test.0",' '"dev":"ndbus0",' '"scrub_state":"active"' '}' ']'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval provider=nfit_test.0 dev=ndbus0 scrub_state=active
[  175s] ++ provider=nfit_test.0
[  175s] ++ dev=ndbus0
[  175s] ++ scrub_state=active
[  175s] + busdev=ndbus0
[  175s] + err_sector=63488
[  175s] + err_count=8
[  175s] + read sector len
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=63488 --count=8 namespace1.0
[  175s] + read sector len
[  175s] + echo 'sector: 67584 len: 8'
[  175s] + test -x /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/daxdev-errors
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/daxdev-errors ndbus0 region1
[  175s] check_ars_status: record[0].addr: 0x10a100000
[  175s] check_ars_status: record[0].length: 0x100
[  175s] check_ars_status: record[1].addr: 0x10a100200
[  175s] check_ars_status: record[1].length: 0x100
[  175s] check_ars_status: record[2].addr: 0x10a100400
[  175s] check_ars_status: record[2].length: 0x100
[  175s] check_ars_status: record[3].addr: 0x10a100600
[  175s] check_ars_status: record[3].length: 0x100
[  175s] check_ars_status: record[4].addr: 0x10a100800
[  175s] check_ars_status: record[4].length: 0x100
[  175s] check_ars_status: record[5].addr: 0x10a100a00
[  175s] check_ars_status: record[5].length: 0x100
[  175s] check_ars_status: record[6].addr: 0x10a100c00
[  175s] check_ars_status: record[6].length: 0x100
[  175s] check_ars_status: record[7].addr: 0x10a100e00
[  175s] check_ars_status: record[7].length: 0x100
[  175s] check_clear_error: clearing at 0x10a100000 for 4096 bytes
[  175s] + read sector len
[  175s] + '[' -n '' ']'
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s]  7/23 ndctl:dax / multi-dax.sh             OK              0.67s
[  175s] 17:45:26 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/multi-dax.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stderr:
[  175s] + set -e
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/multi-dax.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_min_kver 4.13
[  175s] + local ver=4.13
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.13 ']'
[  175s] ++ echo -e '4.13\n5.17.4-1-default'
[  175s] ++ sort -V
[  175s] ++ head -1
[  175s] + [[ 4.13 == \4\.\1\3 ]]
[  175s] + check_prereq jq
[  175s] + command -v jq
[  175s] + trap 'err $LINENO' ERR
[  175s] ++ getconf PAGESIZE
[  175s] + ALIGN_SIZE=4096
[  175s] + modprobe nfit_test
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + rc=1
[  175s] + query='. | sort_by(.available_size) | reverse | .[0].dev'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -t pmem -Ri
[  175s] ++ jq -r '. | sort_by(.available_size) | reverse | .[0].dev'
[  175s] + region=region1
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -r region1 -t pmem -m devdax -a 4096 -s 16M
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"devdax",
[  175s]   "map":"dev",
[  175s]   "size":14680064,
[  175s]   "uuid":"cd897ce4-6333-4ba1-abff-b757e8aef4b3",
[  175s]   "daxregion":{
[  175s]     "id":1,
[  175s]     "size":14680064,
[  175s]     "align":4096,
[  175s]     "devices":[
[  175s]       {
[  175s]         "chardev":"dax1.0",
[  175s]         "size":14680064,
[  175s]         "align":4096,
[  175s]         "mode":"devdax"
[  175s]       }
[  175s]     ]
[  175s]   },
[  175s]   "align":4096
[  175s] }'
[  175s] ++ echo '{' '"dev":"namespace1.0",' '"mode":"devdax",' '"map":"dev",' '"size":14680064,' '"uuid":"cd897ce4-6333-4ba1-abff-b757e8aef4b3",' '"daxregion":{' '"id":1,' '"size":14680064,' '"align":4096,' '"devices":[' '{' '"chardev":"dax1.0",' '"size":14680064,' '"align":4096,' '"mode":"devdax"' '}' ']' '},' '"align":4096' '}'
[  175s] ++ jq '. | select(.mode == "devdax") | .daxregion.devices[0].chardev'
[  175s] + chardev1='"dax1.0"'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -r region1 -t pmem -m devdax -a 4096 -s 16M
[  175s] + json='{
[  175s]   "dev":"namespace1.1",
[  175s]   "mode":"devdax",
[  175s]   "map":"dev",
[  175s]   "size":14680064,
[  175s]   "uuid":"61a7b6bd-4e79-4c59-96d6-bd959af7a079",
[  175s]   "daxregion":{
[  175s]     "id":1,
[  175s]     "size":14680064,
[  175s]     "align":4096,
[  175s]     "devices":[
[  175s]       {
[  175s]         "chardev":"dax1.1",
[  175s]         "size":14680064,
[  175s]         "align":4096,
[  175s]         "mode":"devdax"
[  175s]       }
[  175s]     ]
[  175s]   },
[  175s]   "align":4096
[  175s] }'
[  175s] ++ echo '{' '"dev":"namespace1.1",' '"mode":"devdax",' '"map":"dev",' '"size":14680064,' '"uuid":"61a7b6bd-4e79-4c59-96d6-bd959af7a079",' '"daxregion":{' '"id":1,' '"size":14680064,' '"align":4096,' '"devices":[' '{' '"chardev":"dax1.1",' '"size":14680064,' '"align":4096,' '"mode":"devdax"' '}' ']' '},' '"align":4096' '}'
[  175s] ++ jq '. | select(.mode == "devdax") | .daxregion.devices[0].chardev'
[  175s] + chardev2='"dax1.1"'
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s]  8/23 ndctl:ndctl / btt-check.sh           FAIL            0.21s   exit status 1
[  175s] 17:45:27 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/btt-check.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] test/btt-check.sh: failed at line 31
[  175s] stderr:
[  175s] disabled 6 regions
[  175s] initialized 4 nmems
[  175s] enabled 6 regions
[  175s] libndctl: ndctl_btt_enable: btt1.0: failed to enable
[  175s]   Error: namespace1.0: failed to enable
[  175s] 
[  175s] failed to create namespace: No such device or address
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s]  9/23 ndctl:ndctl / label-compat.sh        OK              0.64s
[  175s] 17:45:27 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/label-compat.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stderr:
[  175s] + set -e
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/label-compat.sh
[  175s] + BASE=/usr/src/packages/BUILD/ndctl-73/test
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_min_kver 4.11
[  175s] + local ver=4.11
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.11 ']'
[  175s] ++ echo -e '4.11\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.11 == \4\.\1\1 ]]
[  175s] + check_prereq jq
[  175s] + command -v jq
[  175s] + trap 'err $LINENO' ERR
[  175s] + modprobe nfit_test
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + query='. | sort_by(.available_size) | reverse | .[0].dev'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -t pmem -Ri
[  175s] ++ jq -r '. | sort_by(.available_size) | reverse | .[0].dev'
[  175s] + region=region1
[  175s] + query='. | .regions[0].mappings | sort_by(.dimm) | .[].dimm'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -DRi -r region1
[  175s] ++ xargs
[  175s] ++ jq -r '. | .regions[0].mappings | sort_by(.dimm) | .[].dimm'
[  175s] + dimms='nmem0 nmem1 nmem2 nmem3'
[  175s] + i=1
[  175s] + for d in $dimms
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl write-labels nmem0 -i /usr/src/packages/BUILD/ndctl-73/test/nmem1.bin
[  175s] wrote 1 nmem
[  175s] + i=2
[  175s] + for d in $dimms
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl write-labels nmem1 -i /usr/src/packages/BUILD/ndctl-73/test/nmem2.bin
[  175s] wrote 1 nmem
[  175s] + i=3
[  175s] + for d in $dimms
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl write-labels nmem2 -i /usr/src/packages/BUILD/ndctl-73/test/nmem3.bin
[  175s] wrote 1 nmem
[  175s] + i=4
[  175s] + for d in $dimms
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl write-labels nmem3 -i /usr/src/packages/BUILD/ndctl-73/test/nmem4.bin
[  175s] wrote 1 nmem
[  175s] + i=5
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -r region1 -N
[  175s] ++ jq -r length
[  175s] + len=1
[  175s] + '[' -z 1 ']'
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 10/23 ndctl:ndctl / sector-mode.sh         FAIL            0.36s   exit status 1
[  175s] 17:45:28 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/sector-mode.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] test/sector-mode.sh: failed at line 27
[  175s] stderr:
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/sector-mode.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_prereq jq
[  175s] + command -v jq
[  175s] + set -e
[  175s] + trap 'err $LINENO' ERR
[  175s] ++ getconf PAGESIZE
[  175s] + ALIGN_SIZE=4096
[  175s] + modprobe nfit_test
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + reset1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.1 all
[  175s] initialized 2 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.1 all
[  175s] enabled 2 regions
[  175s] + rc=1
[  175s] + query='. | sort_by(.available_size) | reverse | .[0].dev'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -R -b nfit_test.1
[  175s] ++ jq -r '. | sort_by(.available_size) | reverse | .[0].dev'
[  175s] + REGION=region6
[  175s] + echo 0
[  175s] + echo 4096
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace --no-autolabel -r region6 -m sector -f -l 4K
[  175s] ++ jq -r .dev
[  175s] libndctl: ndctl_btt_enable: btt6.0: failed to enable
[  175s]   Error: namespace6.0: failed to enable
[  175s] 
[  175s] failed to create namespace: No such device or address
[  175s] + NAMESPACE=
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace --no-autolabel -e -m dax -f -a 4096
[  175s]   Error: unknown extra parameter "dax"
[  175s] 
[  175s] 
[  175s]  usage: ndctl create-namespace [<options>]
[  175s] 
[  175s]     -b, --bus <bus-id>    limit namespace to a bus with an id or provider of <bus-id>
[  175s]     -r, --region <region-id>
[  175s]                           limit namespace to a region with an id or name of <region-id>
[  175s]     -v, --verbose         emit extra debug messages to stderr
[  175s]     -e, --reconfig <reconfig namespace>
[  175s]                           reconfigure existing namespace
[  175s]     -u, --uuid <uuid>     specify the uuid for the namespace (default: autogenerate)
[  175s]     -n, --name <name>     specify an optional free form name for the namespace
[  175s]     -s, --size <size>     specify the namespace size in bytes (default: available capacity)
[  175s]     -m, --mode <operation-mode>
[  175s]                           specify a mode for the namespace, 'sector', 'fsdax', 'devdax' or 'raw'
[  175s]     -M, --map <memmap-location>
[  175s]                           specify 'mem' or 'dev' for the location of the memmap
[  175s]     -l, --sector-size <lba-size>
[  175s]                           specify the logical sector size in bytes
[  175s]     -t, --type <type>     specify the type of namespace to create 'pmem' or 'blk'
[  175s]     -a, --align <align>   specify the namespace alignment in bytes (default: 2M)
[  175s]     -f, --force           reconfigure namespace even if currently active
[  175s]     -L, --autolabel       automatically initialize labels
[  175s]     -c, --continue        continue creating namespaces as long as the filter criteria are met
[  175s]     -R, --autorecover     automatically cleanup on failure
[  175s] 
[  175s] ++ err 27
[  175s] +++ basename /usr/src/packages/BUILD/ndctl-73/test/sector-mode.sh
[  175s] ++ echo test/sector-mode.sh: failed at line 27
[  175s] ++ '[' -n '' ']'
[  175s] ++ exit 1
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 11/23 ndctl:ndctl / inject-error.sh        OK             13.08s
[  175s] 17:45:28 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/inject-error.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"914b72d6-eab0-4386-9569-8ecf739ec061",
[  175s]   "sector_size":512,
[  175s]   "align":4096,
[  175s]   "blockdev":"pmem1"
[  175s] }
[  175s] Warning: Un-injecting previously injected errors here will
[  175s] not cause the kernel to 'forget' its badblock entries. Those
[  175s] have to be cleared through the normal process of writing
[  175s] the affected blocks
[  175s] 
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"914b72d6-eab0-4386-9569-8ecf739ec061",
[  175s]   "sector_size":512,
[  175s]   "align":4096,
[  175s]   "blockdev":"pmem1"
[  175s] }
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"914b72d6-eab0-4386-9569-8ecf739ec061",
[  175s]   "sector_size":512,
[  175s]   "align":4096,
[  175s]   "blockdev":"pmem1",
[  175s]   "badblock_count":8,
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "offset":42,
[  175s]       "length":8,
[  175s]       "dimms":[
[  175s]         "nmem3"
[  175s]       ]
[  175s]     }
[  175s]   ]
[  175s] }
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"idle",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] stderr:
[  175s] + dev=
[  175s] + size=
[  175s] + blockdev=
[  175s] + rc=77
[  175s] + err_block=42
[  175s] + err_count=8
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/inject-error.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_prereq jq
[  175s] + command -v jq
[  175s] + trap 'err $LINENO' ERR
[  175s] + check_min_kver 4.15
[  175s] + local ver=4.15
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.15 ']'
[  175s] ++ echo -e '4.15\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.15 == \4\.\1\5 ]]
[  175s] + modprobe nfit_test
[  175s] + rc=1
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + create
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem --align=4k
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"914b72d6-eab0-4386-9569-8ecf739ec061",
[  175s]   "sector_size":512,
[  175s]   "align":4096,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] + rc=2
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"914b72d6-eab0-4386-9569-8ecf739ec061",
[  175s]   "sector_size":512,
[  175s]   "align":4096,
[  175s]   "blockdev":"pmem1"
[  175s] ++ json2var
[  175s] }'
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=fsdax
[  175s]   map=dev
[  175s]   size=65011712
[  175s]   uuid=914b72d6-eab0-4386-9569-8ecf739ec061
[  175s]   sector_size=512
[  175s]   align=4096
[  175s]   blockdev=pmem1'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=fsdax
[  175s] ++ map=dev
[  175s] ++ size=65011712
[  175s] ++ uuid=914b72d6-eab0-4386-9569-8ecf739ec061
[  175s] ++ sector_size=512
[  175s] ++ align=4096
[  175s] ++ blockdev=pmem1
[  175s] + '[' -n namespace1.0 ']'
[  175s] + '[' -n 65011712 ']'
[  175s] + '[' -n pmem1 ']'
[  175s] + '[' 65011712 -gt 0 ']'
[  175s] + do_tests
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=42 --count=8 --no-notify namespace1.0
[  175s] + check_status 42 8
[  175s] + local sector=42
[  175s] + local count=8
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --status namespace1.0
[  175s] + json='{
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "block":42,
[  175s]       "count":8
[  175s]     }
[  175s]   ]
[  175s] }'
[  175s] ++ jq '.badblocks[0].block'
[  175s] + [[ 42 == \4\2 ]]
[  175s] ++ jq '.badblocks[0].count'
[  175s] + [[ 8 == \8 ]]
[  175s] + read -r sector len
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=42 --count=8 --uninject namespace1.0
[  175s] + check_status
[  175s] + local sector=
[  175s] + local count=
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --status namespace1.0
[  175s] + json=
[  175s] ++ jq '.badblocks[0].block'
[  175s] + [[ '' == '' ]]
[  175s] ++ jq '.badblocks[0].count'
[  175s] + [[ '' == '' ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=42 --count=8 namespace1.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl start-scrub nfit_test.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl wait-scrub nfit_test.0
[  175s] + check_status 42 8
[  175s] + local sector=42
[  175s] + local count=8
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --status namespace1.0
[  175s] + json='{
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "block":42,
[  175s]       "count":8
[  175s]     }
[  175s]   ]
[  175s] }'
[  175s] ++ jq '.badblocks[0].block'
[  175s] + [[ 42 == \4\2 ]]
[  175s] ++ jq '.badblocks[0].count'
[  175s] + [[ 8 == \8 ]]
[  175s] + read -r sector len
[  175s] + test 42 -eq 42
[  175s] + test 8 -eq 8
[  175s] + dd if=/dev/zero of=/dev/pmem1 bs=512 count=8 seek=42 oflag=direct
[  175s] 8+0 records in
[  175s] 8+0 records out
[  175s] 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000585528 s, 7.0 MB/s
[  175s] + read -r sector len
[  175s] + check_status
[  175s] + local sector=
[  175s] + local count=
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --status namespace1.0
[  175s] + json=
[  175s] ++ jq '.badblocks[0].block'
[  175s] + [[ '' == '' ]]
[  175s] ++ jq '.badblocks[0].count'
[  175s] + [[ '' == '' ]]
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 12/23 ndctl:ndctl / btt-errors.sh          OK             21.26s
[  175s] 17:45:41 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/btt-errors.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] Set namespace1.0 to raw mode: 1
[  175s] Set namespace1.0 to raw mode: 0
[  175s] Creating filesystem with 16105 4k blocks and 16112 inodes
[  175s] 
[  175s] Allocating group tables: 0/1   done                            
[  175s] Writing inode tables: 0/1   done                            
[  175s] Creating journal (1024 blocks): done
[  175s] Writing superblocks and filesystem accounting information: 0/1   done
[  175s] 
[  175s] start sector of the file is: 122880 (512B) or 15360 (4096B)
[  175s] Set namespace1.0 to raw mode: 1
[  175s] btt map starts at: 3feb000
[  175s] btt map entry location for sector 3c00: 3ffa000
[  175s] btt map entry: 0x29
[  175s] dataoff: 0x2a000
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"02b09aa7-3457-4abf-829e-7a6b196ee021",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1",
[  175s]   "badblock_count":8,
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "offset":336,
[  175s]       "length":8,
[  175s]       "dimms":[
[  175s]         "nmem3"
[  175s]       ]
[  175s]     }
[  175s]   ]
[  175s] }
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"idle",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] Set namespace1.0 to raw mode: 0
[  175s] Set namespace1.0 to raw mode: 1
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"ed84af72-586f-4b20-bb4f-589a853c4349",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1",
[  175s]   "badblock_count":9,
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "offset":336,
[  175s]       "length":8,
[  175s]       "dimms":[
[  175s]         "nmem3"
[  175s]       ]
[  175s]     },
[  175s]     {
[  175s]       "offset":130904,
[  175s]       "length":1,
[  175s]       "dimms":[
[  175s]         "nmem3"
[  175s]       ]
[  175s]     }
[  175s]   ]
[  175s] }
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"idle",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] Set namespace1.0 to raw mode: 0
[  175s] stderr:
[  175s] + MNT=test_btt_mnt
[  175s] + FILE=image
[  175s] + blockdev=
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/btt-errors.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_min_kver 4.15
[  175s] + local ver=4.15
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.15 ']'
[  175s] ++ echo -e '4.15\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.15 == \4\.\1\5 ]]
[  175s] + set -e
[  175s] + mkdir -p test_btt_mnt
[  175s] + trap 'err $LINENO cleanup' ERR
[  175s] + modprobe nfit_test
[  175s] + resetV
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -V 1.2 -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + rc=1
[  175s] + dev=x
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m sector
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"sector",
[  175s]   "size":65966080,
[  175s]   "uuid":"83e54397-5b1f-451c-b5a6-92ba4c40437c",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1s"
[  175s] }'
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"sector",
[  175s]   "size":65966080,
[  175s]   "uuid":"83e54397-5b1f-451c-b5a6-92ba4c40437c",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1s"
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] }'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=sector
[  175s]   size=65966080
[  175s]   uuid=83e54397-5b1f-451c-b5a6-92ba4c40437c
[  175s]   sector_size=4096
[  175s]   blockdev=pmem1s'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=sector
[  175s] ++ size=65966080
[  175s] ++ uuid=83e54397-5b1f-451c-b5a6-92ba4c40437c
[  175s] ++ sector_size=4096
[  175s] ++ blockdev=pmem1s
[  175s] + '[' namespace1.0 = x ']'
[  175s] + force_raw 1
[  175s] + raw=1
[  175s] + grep -q test_btt_mnt /proc/mounts
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 1'
[  175s] + [[ 1 == \1 ]]
[  175s] + raw_bdev=pmem1
[  175s] + test -b /dev/pmem1
[  175s] + read -r sector len
[  175s] + force_raw 0
[  175s] + raw=0
[  175s] + grep -q test_btt_mnt /proc/mounts
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 0'
[  175s] + [[ 0 == \1 ]]
[  175s] + raw_bdev=
[  175s] + mkfs.ext4 /dev/pmem1s -b 4096
[  175s] mke2fs 1.46.5 (30-Dec-2021)
[  175s] + mount -o nodelalloc /dev/pmem1s test_btt_mnt
[  175s] + dd if=/dev/urandom of=image bs=4096 count=1
[  175s] 1+0 records in
[  175s] 1+0 records out
[  175s] 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000453963 s, 9.0 MB/s
[  175s] + test -s image
[  175s] + cp image test_btt_mnt/image
[  175s] ++ filefrag -v -b512 test_btt_mnt/image
[  175s] ++ head -1
[  175s] ++ awk '{ print $4 }'
[  175s] ++ cut -d. -f1
[  175s] ++ grep -E '^[ ]+[0-9]+.*'
[  175s] + start_sect=122880
[  175s] + start_4k=15360
[  175s] + test -n 122880
[  175s] + echo 'start sector of the file is: 122880 (512B) or 15360 (4096B)'
[  175s] + force_raw 1
[  175s] + raw=1
[  175s] + grep -q test_btt_mnt /proc/mounts
[  175s] + umount test_btt_mnt
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 1'
[  175s] + [[ 1 == \1 ]]
[  175s] + raw_bdev=pmem1
[  175s] + test -b /dev/pmem1
[  175s] ++ hexdump -s 96 -n 4 /dev/pmem1
[  175s] ++ cut '-d ' -f2-
[  175s] ++ head -1
[  175s] + map='b000 03fe                              '
[  175s] ++ tr -d ' '
[  175s] + map=0x03feb000
[  175s] + printf 'btt map starts at: %x\n' 0x03feb000
[  175s] + map_idx=67084288
[  175s] + printf 'btt map entry location for sector %x: %x\n' 15360 67084288
[  175s] ++ hexdump -s 67084288 -n 4 /dev/pmem1
[  175s] ++ cut '-d ' -f2-
[  175s] ++ head -1
[  175s] + map_ent='0029 c000                              '
[  175s] ++ tr -d ' '
[  175s] + map_ent=0xc0000029
[  175s] + map_ent=41
[  175s] + printf 'btt map entry: 0x%x\n' 41
[  175s] + dataoff=172032
[  175s] + printf 'dataoff: 0x%x\n' 172032
[  175s] + bb_inj=336
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=336 --count=8 namespace1.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl start-scrub nfit_test.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl wait-scrub nfit_test.0
[  175s] + force_raw 0
[  175s] + raw=0
[  175s] + grep -q test_btt_mnt /proc/mounts
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 0'
[  175s] + [[ 0 == \1 ]]
[  175s] + raw_bdev=
[  175s] + mount -o nodelalloc /dev/pmem1s test_btt_mnt
[  175s] + : The following dd is expected to hit an I/O Error
[  175s] + dd if=test_btt_mnt/image of=/dev/null iflag=direct bs=4096 count=1
[  175s] dd: error reading 'test_btt_mnt/image': Input/output error
[  175s] 0+0 records in
[  175s] 0+0 records out
[  175s] 0 bytes copied, 0.00191509 s, 0.0 kB/s
[  175s] + true
[  175s] + dd if=/dev/zero of=test_btt_mnt/image oflag=direct bs=4096 count=1
[  175s] 1+0 records in
[  175s] 1+0 records out
[  175s] 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000190305 s, 21.5 MB/s
[  175s] + dd if=test_btt_mnt/image of=/dev/null iflag=direct bs=4096 count=1
[  175s] 1+0 records in
[  175s] 1+0 records out
[  175s] 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000411476 s, 10.0 MB/s
[  175s] + grep -q test_btt_mnt /proc/mounts
[  175s] + umount test_btt_mnt
[  175s] + resetV
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -V 1.2 -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + dev=x
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m sector
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"sector",
[  175s]   "size":65966080,
[  175s]   "uuid":"fef0abb3-4e54-4100-8d8a-ef099c5ffad2",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1s",
[  175s]   "badblock_count":8
[  175s] }'
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"sector",
[  175s]   "size":65966080,
[  175s]   "uuid":"fef0abb3-4e54-4100-8d8a-ef099c5ffad2",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1s",
[  175s]   "badblock_count":8
[  175s] ++ json2var
[  175s] }'
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=sector
[  175s]   size=65966080
[  175s]   uuid=fef0abb3-4e54-4100-8d8a-ef099c5ffad2
[  175s]   sector_size=4096
[  175s]   blockdev=pmem1s
[  175s]   badblock_count=8'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=sector
[  175s] ++ size=65966080
[  175s] ++ uuid=fef0abb3-4e54-4100-8d8a-ef099c5ffad2
[  175s] ++ sector_size=4096
[  175s] ++ blockdev=pmem1s
[  175s] ++ badblock_count=8
[  175s] + '[' namespace1.0 = x ']'
[  175s] + force_raw 1
[  175s] + raw=1
[  175s] + grep -q test_btt_mnt /proc/mounts
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 1'
[  175s] + [[ 1 == \1 ]]
[  175s] + raw_bdev=pmem1
[  175s] + test -b /dev/pmem1
[  175s] ++ hexdump -s 96 -n 4 /dev/pmem1
[  175s] ++ cut '-d ' -f2-
[  175s] ++ head -1
[  175s] + map='b000 03fe                              '
[  175s] ++ tr -d ' '
[  175s] + map=0x03feb000
[  175s] + bb_inj=130904
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=130904 --count=1 namespace1.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl start-scrub nfit_test.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl wait-scrub nfit_test.0
[  175s] + force_raw 0
[  175s] + raw=0
[  175s] + grep -q test_btt_mnt /proc/mounts
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 0'
[  175s] + [[ 0 == \1 ]]
[  175s] + raw_bdev=
[  175s] + : The following dd is expected to hit an I/O Error
[  175s] + dd if=/dev/pmem1s of=/dev/null iflag=direct bs=4096 count=1
[  175s] dd: error reading '/dev/pmem1s': Input/output error
[  175s] 0+0 records in
[  175s] 0+0 records out
[  175s] 0 bytes copied, 0.000686382 s, 0.0 kB/s
[  175s] + true
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + cleanup
[  175s] + grep -q test_btt_mnt /proc/mounts
[  175s] + rc=77
[  175s] + rm -rf test_btt_mnt
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 13/23 ndctl:ndctl / hugetlb                OK              0.02s
[  175s] 17:46:02 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/hugetlb
[  175s] ----------------------------------- output -----------------------------------
[  175s] stderr:
[  175s] test_hugetlb: page_size: 0x1000
[  175s] test_dax_directio: test: 0
[  175s] test_dax_directio: test: 1
[  175s] test_dax_directio: test: 2
[  175s] test_dax_directio: test: 3
[  175s] test_dax_directio: test: 4
[  175s] test_hugetlb: page_size: 0x200000
[  175s] test_dax_directio: test: 0
[  175s] test_dax_directio: test: 1
[  175s] test_dax_directio: test: 2
[  175s] test_dax_directio: test: 3
[  175s] test_dax_directio: test: 4
[  175s] test_hugetlb: page_size: 0x40000000
[  175s] test_dax_directio: failed at: 147: 0 (No such file or directory)
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 14/23 ndctl:ndctl / btt-pad-compat.sh      SKIP            0.19s   exit status 77
[  175s] 17:46:02 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/btt-pad-compat.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] kernel 5.17.4-1-default: seems to be missing the BTT compatibility fixes, skipping.
[  175s] stderr:
[  175s] + dev=
[  175s] + size=
[  175s] + blockdev=
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/btt-pad-compat.sh
[  175s] + BASE=/usr/src/packages/BUILD/ndctl-73/test
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + trap 'err $LINENO' ERR
[  175s] + modprobe nfit_test
[  175s] + check_prereq xxd
[  175s] + command -v xxd
[  175s] + rc=1
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + do_tests
[  175s] + create
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m sector
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"sector",
[  175s]   "size":65961984,
[  175s]   "uuid":"604a7a6c-f5f2-4920-9d76-3a919682d972",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1s"
[  175s] }'
[  175s] + rc=2
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"sector",
[  175s]   "size":65961984,
[  175s]   "uuid":"604a7a6c-f5f2-4920-9d76-3a919682d972",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1s"
[  175s] }'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=sector
[  175s]   size=65961984
[  175s]   uuid=604a7a6c-f5f2-4920-9d76-3a919682d972
[  175s]   sector_size=4096
[  175s]   blockdev=pmem1s'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=sector
[  175s] ++ size=65961984
[  175s] ++ uuid=604a7a6c-f5f2-4920-9d76-3a919682d972
[  175s] ++ sector_size=4096
[  175s] ++ blockdev=pmem1s
[  175s] + '[' -n namespace1.0 ']'
[  175s] + '[' -n 65961984 ']'
[  175s] + '[' -n pmem1s ']'
[  175s] + '[' 65961984 -gt 0 ']'
[  175s] ++ cat /sys/bus/nd/devices/namespace1.0/holder
[  175s] + bttdev=btt1.0
[  175s] + '[' -n btt1.0 ']'
[  175s] + '[' '!' -e /sys/kernel/debug/btt/btt1.0/arena0/log_index_0 ']'
[  175s] + do_skip 'seems to be missing the BTT compatibility fixes, skipping.'
[  175s] ++ uname -r
[  175s] + echo kernel 5.17.4-1-default: seems to be missing the BTT compatibility fixes, skipping.
[  175s] + exit 77
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 15/23 ndctl:ndctl / firmware-update.sh     OK             10.29s
[  175s] 17:46:03 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/firmware-update.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"idle",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] stderr:
[  175s] + rc=77
[  175s] + dev=
[  175s] + image=update-fw.img
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/firmware-update.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + trap 'err $LINENO' ERR
[  175s] + check_min_kver 4.16
[  175s] + local ver=4.16
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.16 ']'
[  175s] ++ echo -e '4.16\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.16 == \4\.\1\6 ]]
[  175s] + modprobe nfit_test
[  175s] + fwupd_reset
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + '[' -f update-fw.img ']'
[  175s] + detect
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl wait-scrub nfit_test.0
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -F
[  175s] ++ jq -r '.[0].firmware.activate_method'
[  175s] + fwa=suspend
[  175s] + '[' suspend = suspend ']'
[  175s] ++ jq length
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -D
[  175s] + count=4
[  175s] + '[' 4 -eq 4 ']'
[  175s] + rc=1
[  175s] + do_tests
[  175s] + truncate -s 196608 update-fw.img
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl update-firmware -b nfit_test.0 -f update-fw.img all
[  175s]   Error: update firmware: nmem2: arm aborted, tripped overflow
[  175s] 
[  175s] updated 4 nmems.
[  175s] + json='[
[  175s]   {
[  175s]     "dev":"nmem1",
[  175s]     "id":"cdab-0a-07e0-feffffff",
[  175s]     "handle":1,
[  175s]     "phys_id":1,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"armed"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem3",
[  175s]     "id":"cdab-0a-07e0-fefeffff",
[  175s]     "handle":257,
[  175s]     "phys_id":3,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"armed"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"armed"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem2",
[  175s]     "id":"cdab-0a-07e0-fffeffff",
[  175s]     "handle":256,
[  175s]     "phys_id":2,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]'
[  175s] ++ jq 'map(select(.firmware.activate_state == "armed")) | length'
[  175s] + count=3
[  175s] + '[' 3 -eq 3 ']'
[  175s] ++ jq 'map(select(.firmware.activate_state == "idle")) | length'
[  175s] + count=1
[  175s] + '[' 1 -eq 1 ']'
[  175s] ++ jq -r '.[] | select(.firmware.activate_state == "idle").dev'
[  175s] + dev=nmem2
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl update-firmware -b nfit_test.0 nmem2 -A --force
[  175s] updated 1 nmem.
[  175s] + json='[
[  175s]   {
[  175s]     "dev":"nmem2",
[  175s]     "id":"cdab-0a-07e0-fffeffff",
[  175s]     "handle":256,
[  175s]     "phys_id":2,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"armed"
[  175s]     }
[  175s]   }
[  175s] ]'
[  175s] ++ jq -r '.[0].firmware.activate_state'
[  175s] + state=armed
[  175s] + '[' armed = armed ']'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -F
[  175s] ++ jq -r '.[0].firmware.activate_state'
[  175s] + fwa=overflow
[  175s] + '[' overflow = overflow ']'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl update-firmware -b nfit_test.0 -D all
[  175s] updated 4 nmems.
[  175s] + json='[
[  175s]   {
[  175s]     "dev":"nmem1",
[  175s]     "id":"cdab-0a-07e0-feffffff",
[  175s]     "handle":1,
[  175s]     "phys_id":1,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem3",
[  175s]     "id":"cdab-0a-07e0-fefeffff",
[  175s]     "handle":257,
[  175s]     "phys_id":3,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem2",
[  175s]     "id":"cdab-0a-07e0-fffeffff",
[  175s]     "handle":256,
[  175s]     "phys_id":2,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]'
[  175s] ++ jq 'map(select(.firmware.activate_state == "idle")) | length'
[  175s] + count=4
[  175s] + '[' 4 -eq 4 ']'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -F
[  175s] ++ jq -r '.[0].firmware.activate_state'
[  175s] + fwa=idle
[  175s] + '[' idle = idle ']'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl update-firmware -b nfit_test.0 -A --force all
[  175s] updated 4 nmems.
[  175s] + json='[
[  175s]   {
[  175s]     "dev":"nmem1",
[  175s]     "id":"cdab-0a-07e0-feffffff",
[  175s]     "handle":1,
[  175s]     "phys_id":1,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"armed"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem3",
[  175s]     "id":"cdab-0a-07e0-fefeffff",
[  175s]     "handle":257,
[  175s]     "phys_id":3,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"armed"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"armed"
[  175s]     }
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem2",
[  175s]     "id":"cdab-0a-07e0-fffeffff",
[  175s]     "handle":256,
[  175s]     "phys_id":2,
[  175s]     "security":"disabled",
[  175s]     "firmware":{
[  175s]       "current_version":0,
[  175s]       "can_update":true,
[  175s]       "next_version":281474976689101,
[  175s]       "activate_state":"armed"
[  175s]     }
[  175s]   }
[  175s] ]'
[  175s] ++ jq 'map(select(.firmware.activate_state == "armed")) | length'
[  175s] + count=4
[  175s] + '[' 4 -eq 4 ']'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl activate-firmware -v nfit_test.0
[  175s] libndctl: __sysfs_device_parse: base: '/sys/class/nd' dev: 'ndctl'
[  175s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl0/device/of_node/compatible: No such file or directory
[  175s] libndctl: __sysfs_device_parse: ndctl0: processed
[  175s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/of_node/compatible: No such file or directory
[  175s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/firmware/activate: No such file or directory
[  175s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/firmware/capability: No such file or directory
[  175s] libndctl: __sysfs_device_parse: ndctl1: processed
[  175s] libndctl: __sysfs_device_parse: base: '/sys/devices/platform/nfit_test.0/ndbus0' dev: 'nmem'
[  175s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  175s] libndctl: parse_dimm_flags: nmem2: alias
[  175s] libndctl: parse_nfit_mem_flags: nmem2: smart_notify
[  175s] libndctl: __sysfs_device_parse: nmem2: processed
[  175s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  175s] libndctl: parse_dimm_flags: nmem0: alias
[  175s] libndctl: parse_nfit_mem_flags: nmem0: smart_notify
[  175s] libndctl: __sysfs_device_parse: nmem0: processed
[  175s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  175s] libndctl: parse_dimm_flags: nmem3: alias
[  175s] libndctl: parse_nfit_mem_flags: nmem3: smart_notify
[  175s] libndctl: __sysfs_device_parse: nmem3: processed
[  175s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  175s] libndctl: parse_dimm_flags: nmem1: alias
[  175s] libndctl: parse_nfit_mem_flags: nmem1: smart_notify
[  175s] libndctl: __sysfs_device_parse: nmem1: processed
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:firmware_get_info status: 0 fw: 0 (success)
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:firmware_get_info status: 0 fw: 0 (success)
[  175s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:firmware_get_info status: 0 fw: 0 (success)
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:firmware_get_info status: 0 fw: 0 (success)
[  175s] + json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"idle",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend"
[  175s]     },
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem1",
[  175s]         "id":"cdab-0a-07e0-feffffff",
[  175s]         "handle":"0x1",
[  175s]         "phys_id":"0x1",
[  175s]         "security":"disabled",
[  175s]         "firmware":{
[  175s]           "current_version":"0",
[  175s]           "can_update":true,
[  175s]           "next_version":"0xffffffffabcd",
[  175s]           "activate_state":"busy"
[  175s]         }
[  175s]       },
[  175s]       {
[  175s]         "dev":"nmem3",
[  175s]         "id":"cdab-0a-07e0-fefeffff",
[  175s]         "handle":"0x101",
[  175s]         "phys_id":"0x3",
[  175s]         "security":"disabled",
[  175s]         "firmware":{
[  175s]           "current_version":"0",
[  175s]           "can_update":true,
[  175s]           "next_version":"0xffffffffabcd",
[  175s]           "activate_state":"busy"
[  175s]         }
[  175s]       },
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":"0",
[  175s]         "phys_id":"0",
[  175s]         "security":"disabled",
[  175s]         "firmware":{
[  175s]           "current_version":"0",
[  175s]           "can_update":true,
[  175s]           "next_version":"0xffffffffabcd",
[  175s]           "activate_state":"busy"
[  175s]         }
[  175s]       },
[  175s]       {
[  175s]         "dev":"nmem2",
[  175s]         "id":"cdab-0a-07e0-fffeffff",
[  175s]         "handle":"0x100",
[  175s]         "phys_id":"0x2",
[  175s]         "security":"disabled",
[  175s]         "firmware":{
[  175s]           "current_version":"0",
[  175s]           "can_update":true,
[  175s]           "next_version":"0xffffffffabcd",
[  175s]           "activate_state":"busy"
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] ++ jq '.[].dimms | map(select(.firmware.activate_state == "idle")) | length'
[  175s] + idle_count=0
[  175s] ++ jq '.[].dimms | map(select(.firmware.activate_state == "busy")) | length'
[  175s] + busy_count=4
[  175s] + '[' 0 -eq 4 -o 4 -eq 4 ']'
[  175s] + rm -f update-fw.img
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 16/23 ndctl:ndctl / ack-shutdown-count-set SKIP            0.02s   exit status 77
[  175s] 17:46:13 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/ack-shutdown-count-set
[  175s] ----------------------------------- output -----------------------------------
[  175s] stderr:
[  175s] test/init: ndctl_test_init: nfit.ko: appears to be production version: /lib/modules/5.17.4-1-default/updates/nfit.ko
[  175s] __ndctl_test_skip: explicit skip test_ack_shutdown_count_set:105
[  175s] nfit_test unavailable skipping tests
[  175s] libdaxctl: daxctl_unref: context 0x5595b08f4050 released
[  175s] libndctl: ndctl_unref: context 0x5595b08fb250 released
[  175s] attempted: 1 skipped: 1
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 17/23 ndctl:ndctl / rescan-partitions.sh   OK              7.01s
[  175s] 17:46:13 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/rescan-partitions.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] mode: raw - partition read successful
[  175s] mode: fsdax - partition read successful
[  175s] mode: sector - partition read successful
[  175s] stderr:
[  175s] + dev=
[  175s] + size=
[  175s] + blockdev=
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/rescan-partitions.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + trap 'err $LINENO' ERR
[  175s] + check_min_kver 4.16
[  175s] + local ver=4.16
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.16 ']'
[  175s] ++ echo -e '4.16\n5.17.4-1-default'
[  175s] ++ sort -V
[  175s] ++ head -1
[  175s] + [[ 4.16 == \4\.\1\6 ]]
[  175s] + check_prereq parted
[  175s] + command -v parted
[  175s] + check_prereq blockdev
[  175s] + command -v blockdev
[  175s] + modprobe nfit_test
[  175s] + rc=1
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + test_mode raw
[  175s] + local mode=raw
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m raw
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"673c045a-8262-4971-b3d5-a400f40ead33",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] + rc=2
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"673c045a-8262-4971-b3d5-a400f40ead33",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1"
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] }'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=raw
[  175s]   size=67108864
[  175s]   uuid=673c045a-8262-4971-b3d5-a400f40ead33
[  175s]   sector_size=512
[  175s]   blockdev=pmem1'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=raw
[  175s] ++ size=67108864
[  175s] ++ uuid=673c045a-8262-4971-b3d5-a400f40ead33
[  175s] ++ sector_size=512
[  175s] ++ blockdev=pmem1
[  175s] + '[' -n namespace1.0 ']'
[  175s] + '[' -n 67108864 ']'
[  175s] + '[' -n pmem1 ']'
[  175s] + '[' 67108864 -gt 0 ']'
[  175s] + rc=1
[  175s] + parted --script /dev/pmem1 mklabel gpt mkpart primary 1MiB 10MiB
[  175s] + sleep 1
[  175s] + blockdev --rereadpt /dev/pmem1
[  175s] + sleep 1
[  175s] ++ grep -Eo pmem1.+ /proc/partitions
[  175s] + partdev=pmem1p1
[  175s] + test -b /dev/pmem1p1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + '[' -b /dev/pmem1p1 ']'
[  175s] + echo 'mode: raw - partition read successful'
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl destroy-namespace namespace1.0
[  175s] destroyed 1 namespace
[  175s] + test_mode fsdax
[  175s] + local mode=fsdax
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m fsdax
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"a30ade59-d8c2-419f-8b47-4fff741fadc9",
[  175s]   "sector_size":512,
[  175s]   "align":2097152,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] + rc=2
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"a30ade59-d8c2-419f-8b47-4fff741fadc9",
[  175s]   "sector_size":512,
[  175s]   "align":2097152,
[  175s]   "blockdev":"pmem1"
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] }'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=fsdax
[  175s]   map=dev
[  175s]   size=65011712
[  175s]   uuid=a30ade59-d8c2-419f-8b47-4fff741fadc9
[  175s]   sector_size=512
[  175s]   align=2097152
[  175s]   blockdev=pmem1'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=fsdax
[  175s] ++ map=dev
[  175s] ++ size=65011712
[  175s] ++ uuid=a30ade59-d8c2-419f-8b47-4fff741fadc9
[  175s] ++ sector_size=512
[  175s] ++ align=2097152
[  175s] ++ blockdev=pmem1
[  175s] + '[' -n namespace1.0 ']'
[  175s] + '[' -n 65011712 ']'
[  175s] + '[' -n pmem1 ']'
[  175s] + '[' 65011712 -gt 0 ']'
[  175s] + rc=1
[  175s] + parted --script /dev/pmem1 mklabel gpt mkpart primary 1MiB 10MiB
[  175s] + sleep 1
[  175s] + blockdev --rereadpt /dev/pmem1
[  175s] + sleep 1
[  175s] ++ grep -Eo pmem1.+ /proc/partitions
[  175s] + partdev=pmem1p1
[  175s] + test -b /dev/pmem1p1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + '[' -b /dev/pmem1p1 ']'
[  175s] + echo 'mode: fsdax - partition read successful'
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl destroy-namespace namespace1.0
[  175s] destroyed 1 namespace
[  175s] + test_mode sector
[  175s] + local mode=sector
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m sector
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"sector",
[  175s]   "size":65961984,
[  175s]   "uuid":"a7b53078-45c7-4b42-bd33-7335761c8379",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1s"
[  175s] }'
[  175s] + rc=2
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"sector",
[  175s]   "size":65961984,
[  175s]   "uuid":"a7b53078-45c7-4b42-bd33-7335761c8379",
[  175s]   "sector_size":4096,
[  175s]   "blockdev":"pmem1s"
[  175s] ++ json2var
[  175s] }'
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=sector
[  175s]   size=65961984
[  175s]   uuid=a7b53078-45c7-4b42-bd33-7335761c8379
[  175s]   sector_size=4096
[  175s]   blockdev=pmem1s'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=sector
[  175s] ++ size=65961984
[  175s] ++ uuid=a7b53078-45c7-4b42-bd33-7335761c8379
[  175s] ++ sector_size=4096
[  175s] ++ blockdev=pmem1s
[  175s] + '[' -n namespace1.0 ']'
[  175s] + '[' -n 65961984 ']'
[  175s] + '[' -n pmem1s ']'
[  175s] + '[' 65961984 -gt 0 ']'
[  175s] + rc=1
[  175s] + parted --script /dev/pmem1s mklabel gpt mkpart primary 1MiB 10MiB
[  175s] + sleep 1
[  175s] + blockdev --rereadpt /dev/pmem1s
[  175s] + sleep 1
[  175s] ++ grep -Eo pmem1s.+ /proc/partitions
[  175s] + partdev=pmem1s1
[  175s] + test -b /dev/pmem1s1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + '[' -b /dev/pmem1s1 ']'
[  175s] + echo 'mode: sector - partition read successful'
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl destroy-namespace namespace1.0
[  175s] destroyed 1 namespace
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 18/23 ndctl:ndctl / inject-smart.sh        OK              1.90s
[  175s] 17:46:20 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/inject-smart.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":42
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":42.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":42
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":42
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":42,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":42
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":42
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"dirty",
[  175s]       "shutdown_count":43
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":43
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"fatal",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":43
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":40.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":43
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":42.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":5,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":43
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled",
[  175s]     "health":{
[  175s]       "health_state":"non-critical",
[  175s]       "temperature_celsius":23.0,
[  175s]       "controller_temperature_celsius":25.0,
[  175s]       "spares_percentage":75,
[  175s]       "alarm_temperature":true,
[  175s]       "alarm_controller_temperature":false,
[  175s]       "alarm_spares":true,
[  175s]       "alarm_enabled_media_temperature":true,
[  175s]       "temperature_threshold":42.0,
[  175s]       "alarm_enabled_ctrl_temperature":false,
[  175s]       "alarm_enabled_spares":true,
[  175s]       "spares_threshold":42,
[  175s]       "life_used_percentage":5,
[  175s]       "shutdown_state":"clean",
[  175s]       "shutdown_count":43
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] stderr:
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/inject-smart.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + bus=nfit_test.0
[  175s] + inj_val=42
[  175s] + trap 'err $LINENO' ERR
[  175s] + check_min_kver 4.19
[  175s] + local ver=4.19
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.19 ']'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] ++ echo -e '4.19\n5.17.4-1-default'
[  175s] + [[ 4.19 == \4\.\1\9 ]]
[  175s] + check_prereq jq
[  175s] + command -v jq
[  175s] + modprobe nfit_test
[  175s] + rc=1
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/list-smart-dimm -b nfit_test.0
[  175s] + jlist='[
[  175s]   {
[  175s]     "dev":"nmem1",
[  175s]     "id":"cdab-0a-07e0-feffffff",
[  175s]     "handle":1,
[  175s]     "phys_id":1,
[  175s]     "security":"disabled"
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem3",
[  175s]     "id":"cdab-0a-07e0-fefeffff",
[  175s]     "handle":257,
[  175s]     "phys_id":3,
[  175s]     "security":"disabled"
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled"
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem2",
[  175s]     "id":"cdab-0a-07e0-fffeffff",
[  175s]     "handle":256,
[  175s]     "phys_id":2,
[  175s]     "security":"disabled"
[  175s]   }
[  175s] ]'
[  175s] ++ jq '.[]."dev"?, ."dev"?'
[  175s] ++ xargs
[  175s] ++ head -1
[  175s] ++ sort
[  175s] + dimm=nmem0
[  175s] + test -n nmem0
[  175s] + do_tests
[  175s] + fields_val=('media-temperature' 'spares')
[  175s] + local fields_val
[  175s] + fields_bool=('unsafe-shutdown' 'fatal')
[  175s] + local fields_bool
[  175s] + fields_thresh=('media-temperature-threshold' 'spares-threshold')
[  175s] + local fields_thresh
[  175s] + local field=
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 --uninject-all nmem0
[  175s]   Error: nmem0: smart inject ctrl_temperature cmd invalid: No such device or address (-6)
[  175s] 
[  175s] + for field in "${fields_val[@]}"
[  175s] + test_field media-temperature 42
[  175s] + local field=media-temperature
[  175s] + local val=42
[  175s] + local op=
[  175s] + local old_val=
[  175s] + '[' -n 42 ']'
[  175s] + inj_opt=--media-temperature=42
[  175s] ++ get_field media-temperature
[  175s] ++ local field=media-temperature
[  175s] +++ translate_field media-temperature
[  175s] +++ local in=media-temperature
[  175s] +++ case $in in
[  175s] +++ echo temperature_celsius
[  175s] ++ local smart_listing=temperature_celsius
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":42
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.temperature_celsius'
[  175s] ++ val=23
[  175s] +++ translate_val 23
[  175s] +++ local in=23
[  175s] +++ case $in in
[  175s] +++ echo 23
[  175s] ++ val=23
[  175s] ++ printf '%0.0f\n' 23
[  175s] + old_val=23
[  175s] + [[ 23 == \0 ]]
[  175s] + [[ 23 == \1 ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 nmem0 --media-temperature=42
[  175s] + verify media-temperature 42
[  175s] + local field=media-temperature
[  175s] ++ printf '%0.0f\n' 42
[  175s] + local val=42
[  175s] ++ get_field media-temperature
[  175s] ++ local field=media-temperature
[  175s] +++ translate_field media-temperature
[  175s] +++ local in=media-temperature
[  175s] +++ case $in in
[  175s] +++ echo temperature_celsius
[  175s] ++ local smart_listing=temperature_celsius
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":42.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":42
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.temperature_celsius'
[  175s] ++ val=42
[  175s] +++ translate_val 42
[  175s] +++ local in=42
[  175s] +++ case $in in
[  175s] +++ echo 42
[  175s] ++ val=42
[  175s] ++ printf '%0.0f\n' 42
[  175s] + [[ 42 == \4\2 ]]
[  175s] + [[ '' != \t\h\r\e\s\h ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 --media-temperature-uninject nmem0
[  175s] + verify media-temperature 23
[  175s] + local field=media-temperature
[  175s] ++ printf '%0.0f\n' 23
[  175s] + local val=23
[  175s] ++ get_field media-temperature
[  175s] ++ local field=media-temperature
[  175s] +++ translate_field media-temperature
[  175s] +++ local in=media-temperature
[  175s] +++ case $in in
[  175s] +++ echo temperature_celsius
[  175s] ++ local smart_listing=temperature_celsius
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":42
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.temperature_celsius'
[  175s] ++ val=23
[  175s] +++ translate_val 23
[  175s] +++ local in=23
[  175s] +++ case $in in
[  175s] +++ echo 23
[  175s] ++ val=23
[  175s] ++ printf '%0.0f\n' 23
[  175s] + [[ 23 == \2\3 ]]
[  175s] + for field in "${fields_val[@]}"
[  175s] + test_field spares 42
[  175s] + local field=spares
[  175s] + local val=42
[  175s] + local op=
[  175s] + local old_val=
[  175s] + '[' -n 42 ']'
[  175s] + inj_opt=--spares=42
[  175s] ++ get_field spares
[  175s] ++ local field=spares
[  175s] +++ translate_field spares
[  175s] +++ local in=spares
[  175s] +++ case $in in
[  175s] +++ echo spares_percentage
[  175s] ++ local smart_listing=spares_percentage
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":42
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.spares_percentage'
[  175s] ++ val=75
[  175s] +++ translate_val 75
[  175s] +++ local in=75
[  175s] +++ case $in in
[  175s] +++ echo 75
[  175s] ++ val=75
[  175s] ++ printf '%0.0f\n' 75
[  175s] + old_val=75
[  175s] + [[ 75 == \0 ]]
[  175s] + [[ 75 == \1 ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 nmem0 --spares=42
[  175s] + verify spares 42
[  175s] + local field=spares
[  175s] ++ printf '%0.0f\n' 42
[  175s] + local val=42
[  175s] ++ get_field spares
[  175s] ++ local field=spares
[  175s] +++ translate_field spares
[  175s] +++ local in=spares
[  175s] +++ case $in in
[  175s] +++ echo spares_percentage
[  175s] ++ local smart_listing=spares_percentage
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":42,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":42
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.spares_percentage'
[  175s] ++ val=42
[  175s] +++ translate_val 42
[  175s] +++ local in=42
[  175s] +++ case $in in
[  175s] +++ echo 42
[  175s] ++ val=42
[  175s] ++ printf '%0.0f\n' 42
[  175s] + [[ 42 == \4\2 ]]
[  175s] + [[ '' != \t\h\r\e\s\h ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 --spares-uninject nmem0
[  175s] + verify spares 75
[  175s] + local field=spares
[  175s] ++ printf '%0.0f\n' 75
[  175s] + local val=75
[  175s] ++ get_field spares
[  175s] ++ local field=spares
[  175s] +++ translate_field spares
[  175s] +++ local in=spares
[  175s] +++ case $in in
[  175s] +++ echo spares_percentage
[  175s] ++ local smart_listing=spares_percentage
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":42
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.spares_percentage'
[  175s] ++ val=75
[  175s] +++ translate_val 75
[  175s] +++ local in=75
[  175s] +++ case $in in
[  175s] +++ echo 75
[  175s] ++ val=75
[  175s] ++ printf '%0.0f\n' 75
[  175s] + [[ 75 == \7\5 ]]
[  175s] + for field in "${fields_bool[@]}"
[  175s] + test_field unsafe-shutdown
[  175s] + local field=unsafe-shutdown
[  175s] + local val=
[  175s] + local op=
[  175s] + local old_val=
[  175s] + '[' -n '' ']'
[  175s] + inj_opt=--unsafe-shutdown
[  175s] ++ get_field unsafe-shutdown
[  175s] ++ local field=unsafe-shutdown
[  175s] +++ translate_field unsafe-shutdown
[  175s] +++ local in=unsafe-shutdown
[  175s] +++ case $in in
[  175s] +++ echo shutdown_state
[  175s] ++ local smart_listing=shutdown_state
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":42
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.shutdown_state'
[  175s] ++ val=clean
[  175s] +++ translate_val clean
[  175s] +++ local in=clean
[  175s] +++ case $in in
[  175s] +++ echo 0
[  175s] ++ val=0
[  175s] ++ printf '%0.0f\n' 0
[  175s] + old_val=0
[  175s] + [[ 0 == \0 ]]
[  175s] + val=1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 nmem0 --unsafe-shutdown
[  175s] + verify unsafe-shutdown 1
[  175s] + local field=unsafe-shutdown
[  175s] ++ printf '%0.0f\n' 1
[  175s] + local val=1
[  175s] ++ get_field unsafe-shutdown
[  175s] ++ local field=unsafe-shutdown
[  175s] +++ translate_field unsafe-shutdown
[  175s] +++ local in=unsafe-shutdown
[  175s] +++ case $in in
[  175s] +++ echo shutdown_state
[  175s] ++ local smart_listing=shutdown_state
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"dirty",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.shutdown_state'
[  175s] ++ val=dirty
[  175s] +++ translate_val dirty
[  175s] +++ local in=dirty
[  175s] +++ case $in in
[  175s] +++ echo 1
[  175s] ++ val=1
[  175s] ++ printf '%0.0f\n' 1
[  175s] + [[ 1 == \1 ]]
[  175s] + [[ '' != \t\h\r\e\s\h ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 --unsafe-shutdown-uninject nmem0
[  175s] + verify unsafe-shutdown 0
[  175s] + local field=unsafe-shutdown
[  175s] ++ printf '%0.0f\n' 0
[  175s] + local val=0
[  175s] ++ get_field unsafe-shutdown
[  175s] ++ local field=unsafe-shutdown
[  175s] +++ translate_field unsafe-shutdown
[  175s] +++ local in=unsafe-shutdown
[  175s] +++ case $in in
[  175s] +++ echo shutdown_state
[  175s] ++ local smart_listing=shutdown_state
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.shutdown_state'
[  175s] ++ val=clean
[  175s] +++ translate_val clean
[  175s] +++ local in=clean
[  175s] +++ case $in in
[  175s] +++ echo 0
[  175s] ++ val=0
[  175s] ++ printf '%0.0f\n' 0
[  175s] + [[ 0 == \0 ]]
[  175s] + for field in "${fields_bool[@]}"
[  175s] + test_field fatal
[  175s] + local field=fatal
[  175s] + local val=
[  175s] + local op=
[  175s] + local old_val=
[  175s] + '[' -n '' ']'
[  175s] + inj_opt=--fatal
[  175s] ++ get_field fatal
[  175s] ++ local field=fatal
[  175s] +++ translate_field fatal
[  175s] +++ local in=fatal
[  175s] +++ case $in in
[  175s] +++ echo health_state
[  175s] ++ local smart_listing=health_state
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.health_state'
[  175s] ++ val=non-critical
[  175s] +++ translate_val non-critical
[  175s] +++ local in=non-critical
[  175s] +++ case $in in
[  175s] +++ echo 0
[  175s] ++ val=0
[  175s] ++ printf '%0.0f\n' 0
[  175s] + old_val=0
[  175s] + [[ 0 == \0 ]]
[  175s] + val=1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 nmem0 --fatal
[  175s] + verify fatal 1
[  175s] + local field=fatal
[  175s] ++ printf '%0.0f\n' 1
[  175s] + local val=1
[  175s] ++ get_field fatal
[  175s] ++ local field=fatal
[  175s] +++ translate_field fatal
[  175s] +++ local in=fatal
[  175s] +++ case $in in
[  175s] +++ echo health_state
[  175s] ++ local smart_listing=health_state
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"fatal",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.health_state'
[  175s] ++ val=fatal
[  175s] +++ translate_val fatal
[  175s] +++ local in=fatal
[  175s] +++ case $in in
[  175s] +++ echo 1
[  175s] ++ val=1
[  175s] ++ printf '%0.0f\n' 1
[  175s] + [[ 1 == \1 ]]
[  175s] + [[ '' != \t\h\r\e\s\h ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 --fatal-uninject nmem0
[  175s] + verify fatal 0
[  175s] + local field=fatal
[  175s] ++ printf '%0.0f\n' 0
[  175s] + local val=0
[  175s] ++ get_field fatal
[  175s] ++ local field=fatal
[  175s] +++ translate_field fatal
[  175s] +++ local in=fatal
[  175s] +++ case $in in
[  175s] +++ echo health_state
[  175s] ++ local smart_listing=health_state
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.health_state'
[  175s] ++ val=non-critical
[  175s] +++ translate_val non-critical
[  175s] +++ local in=non-critical
[  175s] +++ case $in in
[  175s] +++ echo 0
[  175s] ++ val=0
[  175s] ++ printf '%0.0f\n' 0
[  175s] + [[ 0 == \0 ]]
[  175s] + for field in "${fields_thresh[@]}"
[  175s] + test_field media-temperature-threshold 42 thresh
[  175s] + local field=media-temperature-threshold
[  175s] + local val=42
[  175s] + local op=thresh
[  175s] + local old_val=
[  175s] + '[' -n 42 ']'
[  175s] + inj_opt=--media-temperature-threshold=42
[  175s] ++ get_field media-temperature-threshold
[  175s] ++ local field=media-temperature-threshold
[  175s] +++ translate_field media-temperature-threshold
[  175s] +++ local in=media-temperature-threshold
[  175s] +++ case $in in
[  175s] +++ echo temperature_threshold
[  175s] ++ local smart_listing=temperature_threshold
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":40.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.temperature_threshold'
[  175s] ++ val=40
[  175s] +++ translate_val 40
[  175s] +++ local in=40
[  175s] +++ case $in in
[  175s] +++ echo 40
[  175s] ++ val=40
[  175s] ++ printf '%0.0f\n' 40
[  175s] + old_val=40
[  175s] + [[ 40 == \0 ]]
[  175s] + [[ 40 == \1 ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 nmem0 --media-temperature-threshold=42
[  175s] + verify media-temperature-threshold 42
[  175s] + local field=media-temperature-threshold
[  175s] ++ printf '%0.0f\n' 42
[  175s] + local val=42
[  175s] ++ get_field media-temperature-threshold
[  175s] ++ local field=media-temperature-threshold
[  175s] +++ translate_field media-temperature-threshold
[  175s] +++ local in=media-temperature-threshold
[  175s] +++ case $in in
[  175s] +++ echo temperature_threshold
[  175s] ++ local smart_listing=temperature_threshold
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":42.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.temperature_threshold'
[  175s] ++ val=42
[  175s] +++ translate_val 42
[  175s] +++ local in=42
[  175s] +++ case $in in
[  175s] +++ echo 42
[  175s] ++ val=42
[  175s] ++ printf '%0.0f\n' 42
[  175s] + [[ 42 == \4\2 ]]
[  175s] + [[ thresh != \t\h\r\e\s\h ]]
[  175s] + for field in "${fields_thresh[@]}"
[  175s] + test_field spares-threshold 42 thresh
[  175s] + local field=spares-threshold
[  175s] + local val=42
[  175s] + local op=thresh
[  175s] + local old_val=
[  175s] + '[' -n 42 ']'
[  175s] + inj_opt=--spares-threshold=42
[  175s] ++ get_field spares-threshold
[  175s] ++ local field=spares-threshold
[  175s] +++ translate_field spares-threshold
[  175s] +++ local in=spares-threshold
[  175s] +++ case $in in
[  175s] +++ echo spares_threshold
[  175s] ++ local smart_listing=spares_threshold
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":42.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":5,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.spares_threshold'
[  175s] ++ val=5
[  175s] +++ translate_val 5
[  175s] +++ local in=5
[  175s] +++ case $in in
[  175s] +++ echo 5
[  175s] ++ val=5
[  175s] ++ printf '%0.0f\n' 5
[  175s] + old_val=5
[  175s] + [[ 5 == \0 ]]
[  175s] + [[ 5 == \1 ]]
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-smart -b nfit_test.0 nmem0 --spares-threshold=42
[  175s] + verify spares-threshold 42
[  175s] + local field=spares-threshold
[  175s] ++ printf '%0.0f\n' 42
[  175s] + local val=42
[  175s] ++ get_field spares-threshold
[  175s] ++ local field=spares-threshold
[  175s] +++ translate_field spares-threshold
[  175s] +++ local in=spares-threshold
[  175s] +++ case $in in
[  175s] +++ echo spares_threshold
[  175s] ++ local smart_listing=spares_threshold
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem0 -H
[  175s] ++ json='[
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "dimms":[
[  175s]       {
[  175s]         "dev":"nmem0",
[  175s]         "id":"cdab-0a-07e0-ffffffff",
[  175s]         "handle":0,
[  175s]         "phys_id":0,
[  175s]         "security":"disabled",
[  175s]         "health":{
[  175s]           "health_state":"non-critical",
[  175s]           "temperature_celsius":23.0,
[  175s]           "controller_temperature_celsius":25.0,
[  175s]           "spares_percentage":75,
[  175s]           "alarm_temperature":true,
[  175s]           "alarm_controller_temperature":false,
[  175s]           "alarm_spares":true,
[  175s]           "alarm_enabled_media_temperature":true,
[  175s]           "temperature_threshold":42.0,
[  175s]           "alarm_enabled_ctrl_temperature":false,
[  175s]           "alarm_enabled_spares":true,
[  175s]           "spares_threshold":42,
[  175s]           "life_used_percentage":5,
[  175s]           "shutdown_state":"clean",
[  175s]           "shutdown_count":43
[  175s]         }
[  175s]       }
[  175s]     ]
[  175s]   }
[  175s] ]'
[  175s] +++ jq -r '.[].dimms[].health.spares_threshold'
[  175s] ++ val=42
[  175s] +++ translate_val 42
[  175s] +++ local in=42
[  175s] +++ case $in in
[  175s] +++ echo 42
[  175s] ++ val=42
[  175s] ++ printf '%0.0f\n' 42
[  175s] + [[ 42 == \4\2 ]]
[  175s] + [[ thresh != \t\h\r\e\s\h ]]
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 19/23 ndctl:ndctl / monitor.sh             FAIL            6.43s   exit status 1
[  175s] 17:46:22 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/monitor.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] test/monitor.sh: failed at line 63
[  175s] stderr:
[  175s] + rc=77
[  175s] + monitor_pid=65536
[  175s] + logfile=
[  175s] + conf_file=
[  175s] + monitor_dimms=
[  175s] + monitor_regions=
[  175s] + monitor_namespace=
[  175s] + smart_supported_bus=
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/monitor.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_prereq jq
[  175s] + command -v jq
[  175s] + trap 'err $LINENO' ERR
[  175s] + check_min_kver 4.15
[  175s] + local ver=4.15
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.15 ']'
[  175s] ++ echo -e '4.15\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.15 == \4\.\1\5 ]]
[  175s] + modprobe nfit_test
[  175s] + rc=1
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + set_smart_supported_bus
[  175s] + smart_supported_bus=nfit_test.0
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/list-smart-dimm -b nfit_test.0
[  175s] ++ jq -r '.[0].dev'
[  175s] + monitor_dimms=nmem1
[  175s] + '[' -z nmem1 ']'
[  175s] + do_tests
[  175s] + test_filter_dimm
[  175s] ++ get_monitor_dimm
[  175s] ++ awk '{print $1}'
[  175s] +++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/list-smart-dimm -b nfit_test.0
[  175s] ++ jlist='[
[  175s]   {
[  175s]     "dev":"nmem1",
[  175s]     "id":"cdab-0a-07e0-feffffff",
[  175s]     "handle":1,
[  175s]     "phys_id":1,
[  175s]     "security":"disabled"
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem3",
[  175s]     "id":"cdab-0a-07e0-fefeffff",
[  175s]     "handle":257,
[  175s]     "phys_id":3,
[  175s]     "security":"disabled"
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem0",
[  175s]     "id":"cdab-0a-07e0-ffffffff",
[  175s]     "handle":0,
[  175s]     "phys_id":0,
[  175s]     "security":"disabled"
[  175s]   },
[  175s]   {
[  175s]     "dev":"nmem2",
[  175s]     "id":"cdab-0a-07e0-fffeffff",
[  175s]     "handle":256,
[  175s]     "phys_id":2,
[  175s]     "security":"disabled"
[  175s]   }
[  175s] ]'
[  175s] +++ jq '.[]."dev"?, ."dev"?'
[  175s] +++ sort
[  175s] +++ uniq
[  175s] +++ xargs
[  175s] ++ monitor_dimms='nmem0 nmem1 nmem2 nmem3'
[  175s] ++ echo nmem0 nmem1 nmem2 nmem3
[  175s] + monitor_dimms=nmem0
[  175s] + start_monitor '-d nmem0'
[  175s] ++ mktemp
[  175s] + logfile=/tmp/tmp.ukmEcscnHe
[  175s] + monitor_pid=2986
[  175s] + sync
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl monitor -l /tmp/tmp.ukmEcscnHe -d nmem0
[  175s] + sleep 3
[  175s] iniparser: cannot open /etc/ndctl.conf.d
[  175s] + truncate --size 0 /tmp/tmp.ukmEcscnHe
[  175s] + call_notify
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test/smart-notify nfit_test.0
[  175s] libndctl: __sysfs_device_parse: base: '/sys/class/nd' dev: 'ndctl'
[  175s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl0/device/of_node/compatible: No such file or directory
[  175s] libndctl: __sysfs_device_parse: ndctl0: processed
[  175s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/of_node/compatible: No such file or directory
[  175s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/firmware/activate: No such file or directory
[  175s] libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl1/device/firmware/capability: No such file or directory
[  175s] libndctl: __sysfs_device_parse: ndctl1: processed
[  175s] libndctl: __sysfs_device_parse: base: '/sys/devices/platform/nfit_test.0/ndbus0' dev: 'nmem'
[  175s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  175s] libndctl: parse_dimm_flags: nmem2: alias
[  175s] libndctl: parse_nfit_mem_flags: nmem2: smart_notify
[  175s] libndctl: __sysfs_device_parse: nmem2: processed
[  175s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  175s] libndctl: parse_dimm_flags: nmem0: alias
[  175s] libndctl: parse_nfit_mem_flags: nmem0: smart_notify
[  175s] libndctl: __sysfs_device_parse: nmem0: processed
[  175s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  175s] libndctl: parse_dimm_flags: nmem3: alias
[  175s] libndctl: parse_nfit_mem_flags: nmem3: smart_notify
[  175s] libndctl: __sysfs_device_parse: nmem3: processed
[  175s] libndctl: __util_modalias_to_module: alias: nd:t1 module: libnvdimm
[  175s] libndctl: parse_dimm_flags: nmem1: alias
[  175s] libndctl: parse_nfit_mem_flags: nmem1: smart_notify
[  175s] libndctl: __sysfs_device_parse: nmem1: processed
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart status: 0 fw: 0 (success)
[  175s] nmem1: (smart) alarm: 0x3 mtemp: 23.00 ctemp: 25.00 spares: 75
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_thresh status: 0 fw: 0 (success)
[  175s] nmem1: (smart thresh) alarm: 0x3 mtemp: 40.00 ctemp: 30.00 spares: 5
[  175s] nmem1: supported alarms: 0x7
[  175s] nmem1: set spare threshold: 99
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem1: set mtemp threshold: 11.50
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem1: set ctemp threshold: 12.50
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem1: set thresholds back to defaults
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x1 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart status: 0 fw: 0 (success)
[  175s] nmem3: (smart) alarm: 0x3 mtemp: 23.00 ctemp: 25.00 spares: 75
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_thresh status: 0 fw: 0 (success)
[  175s] nmem3: (smart thresh) alarm: 0x3 mtemp: 40.00 ctemp: 30.00 spares: 5
[  175s] nmem3: supported alarms: 0x7
[  175s] nmem3: set spare threshold: 99
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem3: set mtemp threshold: 11.50
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem3: set ctemp threshold: 12.50
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem3: set thresholds back to defaults
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x101 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart status: 0 fw: 0 (success)
[  175s] nmem0: (smart) alarm: 0x3 mtemp: 23.00 ctemp: 25.00 spares: 75
[  175s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_thresh status: 0 fw: 0 (success)
[  175s] nmem0: (smart thresh) alarm: 0x3 mtemp: 40.00 ctemp: 30.00 spares: 5
[  175s] nmem0: supported alarms: 0x7
[  175s] nmem0: set spare threshold: 99
[  175s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem0: set mtemp threshold: 11.50
[  175s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem0: set ctemp threshold: 12.50
[  175s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem0: set thresholds back to defaults
[  175s] libndctl: do_cmd: bus: 0 dimm: 0 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart status: 0 fw: 0 (success)
[  175s] nmem2: (smart) alarm: 0x3 mtemp: 23.00 ctemp: 25.00 spares: 75
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_thresh status: 0 fw: 0 (success)
[  175s] nmem2: (smart thresh) alarm: 0x3 mtemp: 40.00 ctemp: 30.00 spares: 5
[  175s] nmem2: supported alarms: 0x7
[  175s] nmem2: set spare threshold: 99
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem2: set mtemp threshold: 11.50
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem2: set ctemp threshold: 12.50
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] nmem2: set thresholds back to defaults
[  175s] libndctl: do_cmd: bus: 0 dimm: 0x100 cmd: cmd_call:smart_set_thresh status: 0 fw: 0 (success)
[  175s] libdaxctl: daxctl_unref: context 0x555ac06b7030 released
[  175s] libndctl: ndctl_unref: context 0x555ac06be230 released
[  175s] + sync
[  175s] + sleep 3
[  175s] + check_result nmem0
[  175s] ++ cat /tmp/tmp.ukmEcscnHe
[  175s] + jlog=
[  175s] ++ jq .dimm.dev
[  175s] ++ xargs
[  175s] ++ uniq
[  175s] ++ sort
[  175s] + notify_dimms=
[  175s] + [[ nmem0 == '' ]]
[  175s] ++ err 63
[  175s] +++ basename /usr/src/packages/BUILD/ndctl-73/test/monitor.sh
[  175s] ++ echo test/monitor.sh: failed at line 63
[  175s] ++ '[' -n '' ']'
[  175s] ++ exit 1
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 20/23 ndctl:ndctl / max_extent_ns          OK              0.84s
[  175s] 17:46:28 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/max_available_extent_ns.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] {
[  175s]   "dev":"namespace1.3",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":14680064,
[  175s]   "uuid":"0f154d6c-800b-426f-8ab8-3575f6f39e8b",
[  175s]   "sector_size":512,
[  175s]   "align":2097152,
[  175s]   "blockdev":"pmem1.3"
[  175s] }
[  175s] stderr:
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/max_available_extent_ns.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + trap 'err $LINENO' ERR
[  175s] + check_min_kver 4.19
[  175s] + local ver=4.19
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.19 ']'
[  175s] ++ echo -e '4.19\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.19 == \4\.\1\9 ]]
[  175s] + check_prereq jq
[  175s] + command -v jq
[  175s] + modprobe nfit_test
[  175s] + rc=1
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + do_test
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -R -t pmem
[  175s] ++ head -1
[  175s] ++ jq -r 'sort_by(-.size) | .[].dev'
[  175s] + region=region1
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -r region1
[  175s] ++ jq -r '.[].available_size'
[  175s] + available_sz=67108864
[  175s] + size=16777216
[  175s] + NS=()
[  175s] + (( i=0 ))
[  175s] + (( i<3 ))
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -r region1 -t pmem -s 16777216
[  175s] ++ jq -r .dev
[  175s] + NS[$i]=namespace1.0
[  175s] + [[ -n namespace1.0 ]]
[  175s] + (( i++ ))
[  175s] + (( i<3 ))
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -r region1 -t pmem -s 16777216
[  175s] ++ jq -r .dev
[  175s] + NS[$i]=namespace1.1
[  175s] + [[ -n namespace1.1 ]]
[  175s] + (( i++ ))
[  175s] + (( i<3 ))
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -r region1 -t pmem -s 16777216
[  175s] ++ jq -r .dev
[  175s] + NS[$i]=namespace1.2
[  175s] + [[ -n namespace1.2 ]]
[  175s] + (( i++ ))
[  175s] + (( i<3 ))
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.1
[  175s] disabled 1 namespace
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl destroy-namespace namespace1.1
[  175s] destroyed 1 namespace
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -r region1 -t pmem
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 21/23 ndctl:ndctl / pfn-meta-errors.sh     OK             13.90s
[  175s] 17:46:29 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/pfn-meta-errors.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] Set namespace1.0 to raw mode: 1
[  175s] Set namespace1.0 to raw mode: 0
[  175s] Set namespace1.0 to raw mode: 1
[  175s] pfn dataoff: 200000
[  175s] {
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"139037ea-cba8-4597-96a7-4f921f326302",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1",
[  175s]   "badblock_count":32,
[  175s]   "badblocks":[
[  175s]     {
[  175s]       "offset":2040,
[  175s]       "length":32,
[  175s]       "dimms":[
[  175s]         "nmem3"
[  175s]       ]
[  175s]     }
[  175s]   ]
[  175s] }
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"active",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] [
[  175s]   {
[  175s]     "provider":"nfit_test.0",
[  175s]     "dev":"ndbus0",
[  175s]     "scrub_state":"idle",
[  175s]     "firmware":{
[  175s]       "activate_method":"suspend",
[  175s]       "activate_state":"idle"
[  175s]     }
[  175s]   }
[  175s] ]
[  175s] Set namespace1.0 to raw mode: 0
[  175s] Set namespace1.0 to raw mode: 1
[  175s] stderr:
[  175s] + blockdev=
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/pfn-meta-errors.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + check_min_kver 4.20
[  175s] + local ver=4.20
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 4.20 ']'
[  175s] ++ echo -e '4.20\n5.17.4-1-default'
[  175s] ++ head -1
[  175s] ++ sort -V
[  175s] + [[ 4.20 == \4\.\2\0 ]]
[  175s] + set -e
[  175s] + trap 'err $LINENO' ERR
[  175s] + modprobe nfit_test
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + rc=1
[  175s] + dev=x
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m fsdax
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"f66204f4-6a37-4cd9-a24b-d6ff502faa36",
[  175s]   "sector_size":512,
[  175s]   "align":2097152,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"fsdax",
[  175s]   "map":"dev",
[  175s]   "size":65011712,
[  175s]   "uuid":"f66204f4-6a37-4cd9-a24b-d6ff502faa36",
[  175s]   "sector_size":512,
[  175s]   "align":2097152,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] ++ json2var
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=fsdax
[  175s]   map=dev
[  175s]   size=65011712
[  175s]   uuid=f66204f4-6a37-4cd9-a24b-d6ff502faa36
[  175s]   sector_size=512
[  175s]   align=2097152
[  175s]   blockdev=pmem1'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=fsdax
[  175s] ++ map=dev
[  175s] ++ size=65011712
[  175s] ++ uuid=f66204f4-6a37-4cd9-a24b-d6ff502faa36
[  175s] ++ sector_size=512
[  175s] ++ align=2097152
[  175s] ++ blockdev=pmem1
[  175s] + '[' namespace1.0 = x ']'
[  175s] + force_raw 1
[  175s] + raw=1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 1'
[  175s] + [[ 1 == \1 ]]
[  175s] + raw_bdev=pmem1
[  175s] + test -b /dev/pmem1
[  175s] + read -r sector len
[  175s] + force_raw 0
[  175s] + raw=0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 0'
[  175s] + [[ 0 == \1 ]]
[  175s] + raw_bdev=
[  175s] + force_raw 1
[  175s] + raw=1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 1'
[  175s] + [[ 1 == \1 ]]
[  175s] + raw_bdev=pmem1
[  175s] + test -b /dev/pmem1
[  175s] ++ hexdump -s 4152 -n 4 /dev/pmem1
[  175s] ++ cut '-d ' -f2-
[  175s] ++ head -1
[  175s] + doff='0000 0020                              '
[  175s] ++ tr -d ' '
[  175s] + doff=0x00200000
[  175s] + printf 'pfn dataoff: %x\n' 0x00200000
[  175s] + dblk=4096
[  175s] + metaoff=0x2000
[  175s] + mblk=16
[  175s] + bb_inj=2040
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl inject-error --block=2040 --count=32 namespace1.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl start-scrub nfit_test.0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl wait-scrub nfit_test.0
[  175s] + force_raw 0
[  175s] + raw=0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 0
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 0'
[  175s] + [[ 0 == \1 ]]
[  175s] + raw_bdev=
[  175s] + force_raw 1
[  175s] + raw=1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + echo 1
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + echo 'Set namespace1.0 to raw mode: 1'
[  175s] + [[ 1 == \1 ]]
[  175s] + raw_bdev=pmem1
[  175s] + test -b /dev/pmem1
[  175s] + read -r sector len
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 22/23 ndctl:ndctl / track-uuid.sh          OK              0.48s
[  175s] 17:46:43 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/track-uuid.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stderr:
[  175s] + blockdev=
[  175s] + rc=77
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/track-uuid.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + set -e
[  175s] + trap 'err $LINENO' ERR
[  175s] + modprobe nfit_test
[  175s] + reset
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl init-labels -f -b nfit_test.0 all
[  175s] initialized 4 nmems
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-region -b nfit_test.0 all
[  175s] enabled 6 regions
[  175s] + rc=1
[  175s] + dev=x
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl create-namespace -b nfit_test.0 -t pmem -m raw
[  175s] + json='{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"8e6a8c0c-f848-4086-924e-7bcd72aecf99",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1"
[  175s] }'
[  175s] ++ echo '{
[  175s]   "dev":"namespace1.0",
[  175s]   "mode":"raw",
[  175s]   "size":67108864,
[  175s]   "uuid":"8e6a8c0c-f848-4086-924e-7bcd72aecf99",
[  175s]   "sector_size":512,
[  175s]   "blockdev":"pmem1"
[  175s] ++ json2var
[  175s] }'
[  175s] ++ sed -e 's/[{}",]//g; s/\[//g; s/\]//g; s/:/=/g'
[  175s] + eval '
[  175s]   dev=namespace1.0
[  175s]   mode=raw
[  175s]   size=67108864
[  175s]   uuid=8e6a8c0c-f848-4086-924e-7bcd72aecf99
[  175s]   sector_size=512
[  175s]   blockdev=pmem1'
[  175s] ++ dev=namespace1.0
[  175s] ++ mode=raw
[  175s] ++ size=67108864
[  175s] ++ uuid=8e6a8c0c-f848-4086-924e-7bcd72aecf99
[  175s] ++ sector_size=512
[  175s] ++ blockdev=pmem1
[  175s] + '[' namespace1.0 = x ']'
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-namespace namespace1.0
[  175s] disabled 1 namespace
[  175s] + uuidgen
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-namespace namespace1.0
[  175s] enabled 1 namespace
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 23/23 ndctl:ndctl / security.sh            OK              1.76s
[  175s] 17:46:43 DATA_PATH=/usr/src/packages/BUILD/ndctl-73/test DAXCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl TEST_PATH=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test NDCTL=/usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl /usr/src/packages/BUILD/ndctl-73/test/security.sh
[  175s] ----------------------------------- output -----------------------------------
[  175s] stdout:
[  175s] 1065000983
[  175s] Test 1, security setup and remove
[  175s] Test 2, security setup, update, and remove
[  175s] Test 3, security setup and erase
[  175s] Test 4, unlock dimm
[  175s] Test 5, freeze security
[  175s] Test 6, test load-keys
[  175s] 205592536
[  175s] 1 links removed
[  175s] 1065000983
[  175s] 1 links removed
[  175s] nvdimm master key loaded.
[  175s] 1 nvdimm keys loaded
[  175s] 870194455
[  175s] master key loaded
[  175s] 85861924
[  175s] dimm key loaded
[  175s] 85861924
[  175s] 1 links removed
[  175s] 870194455
[  175s] 1 links removed
[  175s] stderr:
[  175s] + rc=77
[  175s] + dev=
[  175s] + id=
[  175s] + keypath=/etc/ndctl/keys
[  175s] + masterkey=nvdimm-master
[  175s] + masterpath=/etc/ndctl/keys/nvdimm-master.blob
[  175s] + backup_key=0
[  175s] + backup_handle=0
[  175s] ++ dirname /usr/src/packages/BUILD/ndctl-73/test/security.sh
[  175s] + . /usr/src/packages/BUILD/ndctl-73/test/common
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/daxctl/daxctl ']'
[  175s] ++ '[' -z /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/test ']'
[  175s] ++ NFIT_TEST_BUS0=nfit_test.0
[  175s] ++ NFIT_TEST_BUS1=nfit_test.1
[  175s] ++ ACPI_BUS=ACPI.NFIT
[  175s] ++ E820_BUS=e820
[  175s] + trap 'err $LINENO' ERR
[  175s] + check_min_kver 5.0
[  175s] + local ver=5.0
[  175s] ++ uname -r
[  175s] + : 5.17.4-1-default
[  175s] + '[' -n 5.0 ']'
[  175s] ++ echo -e '5.0\n5.17.4-1-default'
[  175s] ++ sort -V
[  175s] ++ head -1
[  175s] + [[ 5.0 == \5\.\0 ]]
[  175s] ++ keyctl show
[  175s] ++ cut -d. -f2-
[  175s] ++ grep -Eo '_uid.[0-9]+'
[  175s] ++ head -1
[  175s] + uid=0
[  175s] + '[' 0 -ne 0 ']'
[  175s] + modprobe nfit_test
[  175s] + setup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + check_prereq keyctl
[  175s] + command -v keyctl
[  175s] + rc=1
[  175s] + detect
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -D
[  175s] ++ jq -r '.[0].dev'
[  175s] + dev=nmem1
[  175s] + '[' -n nmem1 ']'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -D
[  175s] ++ jq -r '.[0].id'
[  175s] + id=cdab-0a-07e0-feffffff
[  175s] + '[' -n cdab-0a-07e0-feffffff ']'
[  175s] + test_cleanup
[  175s] + keyctl search @u encrypted nvdimm:cdab-0a-07e0-feffffff
[  175s] keyctl_search: Required key not available
[  175s] + keyctl search @u user nvdimm-master
[  175s] keyctl_search: Required key not available
[  175s] ++ hostname
[  175s] + '[' -f /etc/ndctl/keys/nvdimm_cdab-0a-07e0-feffffff_naga.blob ']'
[  175s] + setup_keys
[  175s] + '[' '!' -d /etc/ndctl/keys ']'
[  175s] + '[' -f /etc/ndctl/keys/nvdimm-master.blob ']'
[  175s] + mv /etc/ndctl/keys/nvdimm-master.blob /etc/ndctl/keys/nvdimm-master.blob.bak
[  175s] + backup_key=1
[  175s] + '[' -f /etc/ndctl/keys/tpm.handle ']'
[  175s] + dd if=/dev/urandom bs=1 count=32
[  175s] + keyctl padd user nvdimm-master @u
[  175s] ++ keyctl search @u user nvdimm-master
[  175s] + keyctl pipe 1065000983
[  175s] + echo 'Test 1, security setup and remove'
[  175s] + test_1_security_setup_and_remove
[  175s] + setup_passphrase
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl setup-passphrase nmem1 -k user:nvdimm-master
[  175s] passphrase enabled for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=unlocked
[  175s] + '[' unlocked '!=' unlocked ']'
[  175s] + remove_passphrase
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl remove-passphrase nmem1
[  175s] passphrase removed for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=disabled
[  175s] + '[' disabled '!=' disabled ']'
[  175s] + echo 'Test 2, security setup, update, and remove'
[  175s] + test_2_security_setup_and_update
[  175s] + setup_passphrase
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl setup-passphrase nmem1 -k user:nvdimm-master
[  175s] passphrase enabled for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=unlocked
[  175s] + '[' unlocked '!=' unlocked ']'
[  175s] + update_security
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl update-passphrase nmem1
[  175s] passphrase updated for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] + sstate=unlocked
[  175s] + '[' unlocked '!=' unlocked ']'
[  175s] + remove_passphrase
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl remove-passphrase nmem1
[  175s] passphrase removed for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=disabled
[  175s] + '[' disabled '!=' disabled ']'
[  175s] + echo 'Test 3, security setup and erase'
[  175s] + test_3_security_setup_and_erase
[  175s] + setup_passphrase
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl setup-passphrase nmem1 -k user:nvdimm-master
[  175s] passphrase enabled for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=unlocked
[  175s] + '[' unlocked '!=' unlocked ']'
[  175s] + erase_security
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl sanitize-dimm -c nmem1
[  175s] sanitized 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=disabled
[  175s] + '[' disabled '!=' disabled ']'
[  175s] + echo 'Test 4, unlock dimm'
[  175s] + test_4_security_unlock
[  175s] + setup_passphrase
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl setup-passphrase nmem1 -k user:nvdimm-master
[  175s] passphrase enabled for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=unlocked
[  175s] + '[' unlocked '!=' unlocked ']'
[  175s] + lock_dimm
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-dimm nmem1
[  175s] disabled 1 nmem
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -b nfit_test.0 -d nmem1 -i
[  175s] ++ jq -r '.[].dimms[0].handle'
[  175s] + handle=1
[  175s] + test_dimm_path=
[  175s] + for test_dimm in /sys/devices/platform/"$NFIT_TEST_BUS0"/nfit_test_dimm/test_dimm*
[  175s] + td_handle_file=/sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimm0/handle
[  175s] + test -e /sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimm0/handle
[  175s] ++ cat /sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimm0/handle
[  175s] + td_handle=0x0
[  175s] + [[ 0x0 -eq 1 ]]
[  175s] + for test_dimm in /sys/devices/platform/"$NFIT_TEST_BUS0"/nfit_test_dimm/test_dimm*
[  175s] + td_handle_file=/sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimm1/handle
[  175s] + test -e /sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimm1/handle
[  175s] ++ cat /sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimm1/handle
[  175s] + td_handle=0x1
[  175s] + [[ 0x1 -eq 1 ]]
[  175s] + test_dimm_path=/sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimm1
[  175s] + break
[  175s] + test -d /sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimm1
[  175s] + echo 1
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=locked
[  175s] + '[' locked '!=' locked ']'
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl enable-dimm nmem1
[  175s] enabled 1 nmem
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=unlocked
[  175s] + '[' unlocked '!=' unlocked ']'
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + remove_passphrase
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl remove-passphrase nmem1
[  175s] passphrase removed for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=disabled
[  175s] + '[' disabled '!=' disabled ']'
[  175s] + echo 'Test 5, freeze security'
[  175s] + test_5_security_freeze
[  175s] + setup_passphrase
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl setup-passphrase nmem1 -k user:nvdimm-master
[  175s] passphrase enabled for 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] + sstate=unlocked
[  175s] + '[' unlocked '!=' unlocked ']'
[  175s] + freeze_security
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl freeze-security nmem1
[  175s] security froze 1 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate=unlocked
[  175s] ++ get_frozen_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security_frozen'
[  175s] + fstate=true
[  175s] + '[' true '!=' true ']'
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl remove-passphrase nmem1
[  175s] Failed remove passphrase for nmem1
[  175s] passphrase removed for 0 nmem.
[  175s] ++ get_security_state
[  175s] ++ /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl list -i -b nfit_test.0 -d nmem1
[  175s] ++ jq -r '.[].dimms[0].security'
[  175s] + sstate2=unlocked
[  175s] + '[' unlocked '!=' unlocked ']'
[  175s] + echo 'Test 6, test load-keys'
[  175s] + test_6_load_keys
[  175s] + keyctl search @u encrypted nvdimm:cdab-0a-07e0-feffffff
[  175s] ++ keyctl search @u encrypted nvdimm:cdab-0a-07e0-feffffff
[  175s] + keyctl unlink 205592536
[  175s] + keyctl search @u user nvdimm-master
[  175s] ++ keyctl search @u user nvdimm-master
[  175s] + keyctl unlink 1065000983
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl load-keys
[  175s] No TPM handle discovered.
[  175s] + keyctl search @u user nvdimm-master
[  175s] + echo 'master key loaded'
[  175s] + keyctl search @u encrypted nvdimm:cdab-0a-07e0-feffffff
[  175s] + echo 'dimm key loaded'
[  175s] + test_cleanup
[  175s] + keyctl search @u encrypted nvdimm:cdab-0a-07e0-feffffff
[  175s] ++ keyctl search @u encrypted nvdimm:cdab-0a-07e0-feffffff
[  175s] + keyctl unlink 85861924
[  175s] + keyctl search @u user nvdimm-master
[  175s] ++ keyctl search @u user nvdimm-master
[  175s] + keyctl unlink 870194455
[  175s] ++ hostname
[  175s] + '[' -f /etc/ndctl/keys/nvdimm_cdab-0a-07e0-feffffff_naga.blob ']'
[  175s] ++ hostname
[  175s] + rm -f /etc/ndctl/keys/nvdimm_cdab-0a-07e0-feffffff_naga.blob
[  175s] + post_cleanup
[  175s] + '[' -f /etc/ndctl/keys/nvdimm-master.blob ']'
[  175s] + rm -f /etc/ndctl/keys/nvdimm-master.blob
[  175s] + '[' 1 -eq 1 ']'
[  175s] + mv /etc/ndctl/keys/nvdimm-master.blob.bak /etc/ndctl/keys/nvdimm-master.blob
[  175s] + '[' 0 -eq 1 ']'
[  175s] + _cleanup
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.0 all
[  175s] disabled 6 regions
[  175s] + /usr/src/packages/BUILD/ndctl-73/x86_64-suse-linux/ndctl/ndctl disable-region -b nfit_test.1 all
[  175s] disabled 2 regions
[  175s] + modprobe -r nfit_test
[  175s] + exit 0
[  175s] ------------------------------------------------------------------------------
[  175s] 
[  175s] 
[  175s] Summary of Failures:
[  175s] 
[  175s]  3/23 ndctl:ndctl / create.sh              FAIL            0.51s   exit status 1
[  175s]  8/23 ndctl:ndctl / btt-check.sh           FAIL            0.21s   exit status 1
[  175s] 10/23 ndctl:ndctl / sector-mode.sh         FAIL            0.36s   exit status 1
[  175s] 19/23 ndctl:ndctl / monitor.sh             FAIL            6.43s   exit status 1
[  175s] 
[  175s] 
[  175s] Ok:                 15  
[  175s] Expected Fail:      0   
[  175s] Fail:               4   
[  175s] Unexpected Pass:    0   
[  175s] Skipped:            4   
[  175s] Timeout:            0   
[  175s] + grep -F 'nfit_test unavailable skipping tests' x86_64-suse-linux/meson-logs/testlog.txt
[  175s] nfit_test unavailable skipping tests
[  175s] nfit_test unavailable skipping tests
[  175s] nfit_test unavailable skipping tests
[  175s] + exit 77
[  175s] error: Bad exit status from /var/tmp/rpm-tmp.MSmhhJ (%build)
[  175s] 
[  175s] 
[  175s] RPM build errors:
[  175s]     Bad exit status from /var/tmp/rpm-tmp.MSmhhJ (%build)
[  176s] Failed to write wtmp record, ignoring: Read-only file system
[  176s] Failed to write utmp record: Read-only file system
[  176s] Powering off.
[  176s] [  168.707377][ T3269] reboot: Power down
