Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nmutils.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1681625272.636895/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dy_2bue2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dy_2bue2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '54c37d7e7d234a3bbcceedf6d987705b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1681625272.636895/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dy_2bue2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nmutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1655769600 Wrote: /builddir/build/SRPMS/nmutils-20220621-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nmutils.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1681625272.636895/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dy_2bue2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dy_2bue2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b5d594d0d0a346849f0200cfdc927d2f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1681625272.636895/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dy_2bue2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nmutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1655769600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RfkdTi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nmutils-20220621 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nmutils-20220621.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nmutils-20220621 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f -exec bash -c 't=$(stat -c %y "$0"); /usr/bin/sed -i -e "s|/etc/nmutils|/usr/share/nmutils|g" -e "s|/usr/share/nmutils/conf|/etc/nmutils/conf|g" -e "s|/etc/NetworkManager/dispatcher.d|/usr/lib/NetworkManager/dispatcher.d|g" -e "s|/etc/NetworkManager|/etc/NetworkManager|g" "$0"; touch -d "$t" "$0"' '{}' ';' + find . -type f -name dispatcher_action -exec bash -c 't=$(stat -c %y "$0"); /usr/bin/sed -i -e "s|/usr/lib/NetworkManager/dispatcher.d|/etc/NetworkManager/dispatcher.d|g" "$0"; touch -d "$t" "$0"' '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ADaGPh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nmutils-20220621 + pushd selinux ~/build/BUILD/nmutils-20220621/selinux ~/build/BUILD/nmutils-20220621 + /usr/bin/make nmutils.pp make -f /usr/share/selinux/devel/Makefile nmutils.pp make[1]: Entering directory '/builddir/build/BUILD/nmutils-20220621/selinux' Compiling targeted nmutils module Creating targeted nmutils.pp policy package rm tmp/nmutils.mod.fc tmp/nmutils.mod make[1]: Leaving directory '/builddir/build/BUILD/nmutils-20220621/selinux' + /usr/bin/rm -f nmutils.pp.bz2 + bzip2 -9 nmutils.pp + popd ~/build/BUILD/nmutils-20220621 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2qTNdC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nmutils-20220621 + /usr/bin/install -dp /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/etc/nmutils/conf + /usr/bin/install -dp /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/nmutils + /usr/bin/install -dp /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/lib/NetworkManager/dispatcher.d + /usr/bin/install -dp /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/lib/systemd/system + /usr/bin/install -p etc/NetworkManager/dispatcher.d/08-ipv6-prefix etc/NetworkManager/dispatcher.d/09-ddns etc/NetworkManager/dispatcher.d/90-transmission etc/NetworkManager/dispatcher.d/95-radvd-gen /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/lib/NetworkManager/dispatcher.d + /usr/bin/install -p -m 0644 etc/nmutils/ddns-functions etc/nmutils/dispatcher_action etc/nmutils/general-functions etc/nmutils/ipv6_utils.sh /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/nmutils + /usr/bin/install -p -m 0644 etc/systemd/system/ddns-onboot@.service etc/systemd/system/ddns-onboot@.timer /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/lib/systemd/system + /usr/bin/install -dp /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/selinux/packages/targeted + /usr/bin/install -p -m 0644 selinux/nmutils.pp.bz2 /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/selinux/packages/targeted + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 20220621-1.fc39 --unique-debug-suffix -20220621-1.fc39.x86_64 --unique-debug-src-base nmutils-20220621-1.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/nmutils-20220621 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/NetworkManager/dispatcher.d/95-radvd-gen from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/NetworkManager/dispatcher.d/90-transmission from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/NetworkManager/dispatcher.d/09-ddns from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/NetworkManager/dispatcher.d/08-ipv6-prefix from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Fi26rT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nmutils-20220621 + /usr/bin/make SRC_ROOT=/builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64 -C test make: Entering directory '/builddir/build/BUILD/nmutils-20220621/test' bash ./general-test strict verbose ===== Loading script ===== Script general-functions loaded ===== Check version requirements ===== Version enforcement working ===== nmg_log Tests (log group) ===== L1 OK | nmg_log() - returns true L1f OK | nmg_log() - should not log L2 OK | nmg_log() - returns true L2f OK | nmg_log() - should not log L3 OK | nmg_log(debug) - when disabled, returns true L3f OK | nmg_log(debug) - when disabled, should not log L4 OK | nmg_log(debug) - when enabled, returns true L4f OK | nmg_log(debug) - when enabled, should log debug L5 OK | nmg_log(err) - returns true L5f OK | nmg_log(err) - should log err L6 OK | nmg_log(err ) - returns true L6f OK | nmg_log(err ) - should not generate output L7 OK | nmg_log(info) - returns true L7f OK | nmg_log(info) - should log info L8 OK | nmg_log(err) - with tag, returns true L8f OK | nmg_log(err) - should log with tag L9 OK | nmg_log(err) - with default logger with tag, returns true L9f OK | nmg_log(err) - should log with prio/tag L10 OK | nmg_log(info) - with default logger no tag, returns true L10f OK | nmg_log(info) - no tag, should log with prio only L11 OK | nmg_log() - to stderr with tag, returns true L11f OK | nmg_log() - should log with prio to stderr L12 OK | nmg_log(err ) - returns true L12f OK | nmg_log(err ) - should not generate output env-log OK | check config environment ===== nmg::_err Tests (err group) ===== E1 OK | nmg::_err(ignore <_nmgrc unset>) - returns true E1f OK | nmg::_err(ignore <_nmgrc unset>) - should not log E1v OK | nmg::_err(ignore <_nmgrc unset>) - should not set _nmgrc E2 OK | nmg::_err(ignore <_nmgrc=1>) - returns true E2v OK | nmg::_err(ignore <_nmgrc=1>) - sets _nmgrc=0 E2f OK | nmg::_err(ignore <_nmgrc=1>) - should not log E4 OK | nmg::_err(err ignore) - returns true E4f OK | nmg::_err(err ignore) - should not log E5 OK | nmg::_err() - returns true E5f OK | nmg::_err() - logs error E6 OK | nmg::_err() - returns true E6f OK | nmg::_err() - logs multiple errors E7 OK | nmg::_err(retvar <_nmgvar unset>) - returns true E7f OK | nmg::_err(retvar <_nmgvar unset>) - logs error E8 OK | nmg::_err(<_nmglog=info>) - returns true E8f OK | nmg::_err(<_nmglog=info>) - should log info E9 OK | nmg::_err(debug) - returns true E9f OK | nmg::_err(debug) - logs debug msg E10 OK | nmg::_err(nolog retvar) - returns true E10f OK | nmg::_err(nolog retvar) - does not log, sets _nmgvar env-err OK | check config environment ===== Command Tests (cmd group) ===== X1 OK | nmg::run() - returns 3 X1f OK | nmg::run() - should log error X2 OK | nmg::run(echo) - returns true X2v OK | nmg::run(echo) - should generate output X2f OK | nmg::run(echo) - should not log X3 OK | nmg::run() - returns 5 X3v OK | nmg::run() - should clear retvar X3f OK | nmg::run() - should log err X4 OK | nmg::run() - returns true X4v OK | nmg::run() - no output X4f OK | nmg::run() - should log debug X5 OK | nmg::run() - returns 3 X5v OK | nmg::run() - retvar cleared X5f OK | nmg::run() - should log err X11 OK | nmg_cmd() - returns 5 X11f OK | nmg_cmd() - should log error X12 OK | nmg_cmd() - returns true X12f OK | nmg_cmd() - should log info X13 OK | nmg_cmd('not-there') - returns 127 X13f OK | nmg_cmd('not-there') - should log error X14 OK | nmg_cmd(true) - returns true X14f OK | nmg_cmd(true) - should not log X21 OK | nmg_qcmd(false) - returns false X21f OK | nmg_qcmd(false) - should not log X31 OK | nmg_need_progs() - returns true X31f OK | nmg_need_progs() - does not log X32 OK | nmg_need_progs() - returns 2 X32f OK | nmg_need_progs() - logs error X41 OK | nmg_daemon() - returns 3 X41f OK | nmg_daemon() - logs error X42 OK | nmg_daemon() - returns true X42w OK | nmg_daemon() - returns 4 X42f OK | nmg_daemon() - should have output X43 OK | nmg_daemon('not-there') - returns 2 X43f OK | nmg_daemon('not-there') - logs error env-cmd OK | check config environment ===== File Tests (file group) ===== F1 OK | nmg_write() - returns 3 F1f OK | nmg_write() - logs error F2 OK | nmg_write() - returns 5 F2f OK | nmg_write() - logs error F3 OK | nmg_write() - returns true F3f OK | nmg_write() - logs info F4 OK | nmg_write() - returns 1 F4f OK | nmg_write() - logs error F5 OK | nmg_write() - returns true F5f OK | nmg_write() - should not log F5c OK | nmg_write() - file should have content F6 OK | nmg_write() - returns true F6f OK | nmg_write() - should not log F6c OK | nmg_write() - file should have content F7 OK | nmg_write() - returns false F7f OK | nmg_write() - logs error F11 OK | nmg::read() - returns 1 F11f OK | nmg::read() - logs error F12 OK | nmg::read('') - returns 1 F12v OK | nmg::read('') - should set retvar=err F12f OK | nmg::read('') - should log info F13 OK | nmg::read('not-there' ignore) - returns true F13v OK | nmg::read('not-there' ignore) - should set retvar=err F13f OK | nmg::read('not-there' ignore) - should not log F14 OK | nmg::read() - returns 1 F14f OK | nmg::read() - logs error F15 OK | nmg::read( retvar) - returns 1 F15f OK | nmg::read( retvar) - logs error F16 OK | nmg::read('not-there') - returns 2 F16v OK | nmg::read('not-there') - should clear var F16f OK | nmg::read('not-there') - should not log F17 OK | nmg::read( retvar) - returns 1 F17v OK | nmg::read( retvar) - set retvar=err F17f OK | nmg::read( retvar) - logs error F18 OK | nmg::read() - returns true F18v OK | nmg::read() - sets var to content F18f OK | nmg::read() - should not log F31 OK | nmg_remove() - returns 3 F31f OK | nmg_remove() - logs error F32 OK | nmg_remove() - returns true F32f OK | nmg_remove() - should not log F32r OK | nmg_remove() - file should be removed F41 OK | nmg::foreach_filematch() - returns 3 F41f OK | nmg::foreach_filematch() - logs error F42 OK | nmg::foreach_filematch() - returns 3 F42f OK | nmg::foreach_filematch() - logs error F43 OK | nmg::foreach_filematch() - returns 3 F43f OK | nmg::foreach_filematch() - logs error F44 OK | nmg::foreach_filematch() - returns true F44f OK | nmg::foreach_filematch() - makes no callbacks F45 OK | nmg::foreach_filematch(<2 matches>) - returns true F45f OK | nmg::foreach_filematch(<2 matches>) - makes callbacks F46 OK | nmg::foreach_filematch(<2 matches>) - returns true F46f OK | nmg::foreach_filematch(<2 matches>) - makes callbacks F47 OK | nmg::foreach_filematch() - returns true F47f OK | nmg::foreach_filematch() - makes no callbacks F48 OK | nmg::foreach_filematch(<2 matches, callback fails>) - returns fail code F48f OK | nmg::foreach_filematch(<2 matches, callback fails>) - makes 1 callback F51 OK | nmg::realpath() - returns 3 F51f OK | nmg::realpath() - logs error F52 OK | nmg::realpath(./results/file) - returns true F52v OK | nmg::realpath(./results/file) - sets var to full path F52f OK | nmg::realpath(./results/file) - does not log F53 OK | nmg::realpath() - returns 2 F53f OK | nmg::realpath() - logs error env-file OK | check config environment ===== IP Tests (ip group) ===== I1 OK | nmg::query_ips(4 eth0 192.*) - returns true I1a OK | nmg::query_ips(4 eth0 192.*) - returns address and lifetimes I1f OK | nmg::query_ips(4 eth0 192.*) - should not log I2 OK | nmg::query_ips(4 scope host) - returns true I2a OK | nmg::query_ips(4 scope host) - returns local address and lifetimes I2f OK | nmg::query_ips(4 scope host) - should not log I3 OK | nmg::query_ips(4 ethx) - returns 2 I3a OK | nmg::query_ips(4 ethx) - clears avar I3f OK | nmg::query_ips(4 ethx) - logs error I4 OK | nmg::query_ips(5) - returns 3 I4a OK | nmg::query_ips(5) - clears avar I4f OK | nmg::query_ips(5) - logs error I5 OK | nmg::query_ips(bad#name) - returns 3 I5f OK | nmg::query_ips(bad#name) - logs error I6 OK | nmg::query_ips('lo') - returns true I6a OK | nmg::query_ips('lo') - returns localhost I6f OK | nmg::query_ips('lo') - should not log I7 OK | nmg::query_ips(ethx ) - returns true I7a OK | nmg::query_ips(ethx ) - retvar contains error I7f OK | nmg::query_ips(ethx ) - does not log I8 OK | nmg::query_ips(ethx ) - returns 1 I8a OK | nmg::query_ips(ethx ) - clears retvar I8f OK | nmg::query_ips(ethx ) - does not log I9 OK | nmg::query_ips(ethx ) - returns true I9a OK | nmg::query_ips(ethx ) - clears retvar I9f OK | nmg::query_ips(ethx ) - logs debug I10 OK | nmg::query_ips() - returns true I10a OK | nmg::query_ips() - does not log I11 OK | nmg::query_ips() - w/o retvar, returns 3 I11f OK | nmg::query_ips() - logs error I12 OK | nmg::query_ips(eth1 ^50.*) - returns 2 I12a OK | nmg::query_ips(eth1 ^50.*) - clears retvar I12f OK | nmg::query_ips(eth1 ^50.*) - logs debug (none found) I13 OK | nmg::query_ips(nolog eth0 ^192.*) - returns true I13f OK | nmg::query_ips(nolog eth0 ^192.*) - logs debug I14 OK | nmg::query_ips(4a scope host) - returns true I14a OK | nmg::query_ips(4a scope host) - returns just address I15 OK | nmg::query_ips(4p scope host) - returns true I15a OK | nmg::query_ips(4p scope host) - returns all properties, no lifetimes I16 OK | nmg::query_ips(a scope host) - returns true I16a OK | nmg::query_ips(a scope host) - returns ipv4+ipv6 addresses I17 OK | nmg::query_ips() - returns true I17a OK | nmg::query_ips() - returns ipv6 addresses I17f OK | nmg::query_ips() - does not log I18 OK | nmg::query_ips() - returns true I18a OK | nmg::query_ips() - returns ipv6 addresses I18f OK | nmg::query_ips() - does not log I19 OK | nmg::query_ips() - returns 2 I19f OK | nmg::query_ips() - does not log I20 OK | nmg::query_ips() - returns true I20a OK | nmg::query_ips() - returns ipv6 addresses I20f OK | nmg::query_ips() - does not log I31 OK | nmg::mod_ip() - returns 3 I31f OK | nmg::mod_ip() - logs error I32 OK | nmg::mod_ip(add existing) - returns true I32v OK | nmg::mod_ip(add existing) - sets var to output I32f OK | nmg::mod_ip(add existing) - logs action I33 OK | nmg::mod_ip(change existing) - returns true I33v OK | nmg::mod_ip(change existing) - sets var to output I33f OK | nmg::mod_ip(change existing) - logs action I41 OK | nmg::wait_dad6() - returns 3 I41f OK | nmg::wait_dad6() - logs error I42 OK | nmg::wait_dad6(eth3) - returns 3 I42f OK | nmg::wait_dad6(eth3) - logs error I43 OK | nmg::wait_dad6(eth3 ::1 x) - returns 3 I43f OK | nmg::wait_dad6(eth3 ::1 x) - logs error I44 OK | nmg::wait_dad6(eth3 ::1) - returns 2 I44f OK | nmg::wait_dad6(eth3 ::1) - does not log I45 OK | nmg::wait_dad6(eth3 2001:db8:5::1/64) - returns 1 I45f OK | nmg::wait_dad6(eth3 2001:db8:5::1/64) - does not log I46 OK | nmg::wait_dad6(eth2 2001:db8:1::1/64 0) - returns 2 I46f OK | nmg::wait_dad6(eth2 2001:db8:1::1/64 0) - does not log I47 OK | nmg::wait_dad6(eth2 2001:db8:1::1/64 1) - returns 2 after sleeping I47f OK | nmg::wait_dad6(eth2 2001:db8:1::1/64 1) - performs sleep I48 OK | nmg::wait_dad6(eth1 2001:db8:a0b:12f0::1/64) - returns true I48f OK | nmg::wait_dad6(eth1 2001:db8:a0b:12f0::1/64) - does not log env-ip OK | check config environment ===== IP4 Tests (ip4 group) ===== V1 OK | nmg_check_ip4_addr('192.168.88.1') - returns 13 V2 OK | nmg_check_ip4_addr('192.168.88.1' 1 ) - returns true v3 OK | nmg_check_ip4_addr('172.16.1.1') - returns 13 v4 OK | nmg_check_ip4_addr() - returns true v5 OK | nmg_check_ip4_addr('127.0.0.1') - returns 11 v6 OK | nmg_check_ip4_addr('127.0.0.a') - returns 1 v7 OK | nmg_check_ip4_addr('169.254.155.1') - returns 12 V11 OK | nmg_find_ip4_addrs(10.0.*) - returns true V11f OK | nmg_find_ip4_addrs(10.0.*) - returns matching address V12 OK | nmg_find_ip4_addrs(50.*) - returns true V12f OK | nmg_find_ip4_addrs(50.*) - returns no addresses V13 OK | nmg_find_ip4_addrs(eth0) - returns true V13f OK | nmg_find_ip4_addrs(eth0) - returns matching address V14 OK | nmg_find_ip4_addrs(eth2) - returns true V14f OK | nmg_find_ip4_addrs(eth2) - returns matching addresses V21 OK | nmg_add_ip4_addr() - returns 3 V21f OK | nmg_add_ip4_addr() - logs error V22 OK | nmg_add_ip4_addr() - returns 3 V22f OK | nmg_add_ip4_addr() - logs error V23 OK | nmg_add_ip4_addr() - returns 1 V23f OK | nmg_add_ip4_addr() - logs error V24 OK | nmg_add_ip4_addr() - returns true V24f OK | nmg_add_ip4_addr() - performs replace V25 OK | nmg_add_ip4_addr() - returns true V25f OK | nmg_add_ip4_addr() - adds address with default plen V26 OK | nmg_add_ip4_addr() - returns true V26f OK | nmg_add_ip4_addr() - adds address V27 OK | nmg_add_ip4_addr() - returns 255 V27f OK | nmg_add_ip4_addr() - logs error V28 OK | nmg_add_ip4_addr() - returns true V28f OK | nmg_add_ip4_addr() - performs add with args V29 OK | nmg_add_ip4_addr( ) - returns true V29f OK | nmg_add_ip4_addr( ) - performs replace with args V31 OK | nmg_change_ip4_addr() - returns true V31f OK | nmg_change_ip4_addr() - performs change V32 OK | nmg_change_ip4_addr() - returns true V32f OK | nmg_change_ip4_addr() - performs replace V41 OK | nmg_del_ip4_addr() - returns true V41f OK | nmg_del_ip4_addr() - performs delete V42 OK | nmg_del_ip4_addr() - returns 2 V42f OK | nmg_del_ip4_addr() - performs no action env-ip4 OK | check config environment ===== IP6 Tests (ip6 group) ===== P1 OK | nmg_check_ip6_addr('fc80::1') - returns 13 P1f OK | nmg_check_ip6_addr('fc80::1') - does not log P2 OK | nmg_check_ip6_addr('fc80::1' 1) - returns true P3 OK | nmg_check_ip6_addr('ffffff::1' 1) - returns 1 P4 OK | nmg_check_ip6_addr('zz::1') - returns 1 P5 OK | nmg_check_ip6_addr('fe80::1') - returns 12 P6 OK | nmg_check_ip6_addr() - returns true P7 OK | nmg_check_ip6_addr('::1') - returns 11 P11 OK | nmg_create_ip6_host(eth0 auto) - returns true P11f OK | nmg_create_ip6_host(eth0 auto) - returns ip6 host-part P21 OK | nmg::create_ip6_prefix( ) - returns true P21v OK | nmg::create_ip6_prefix( ) - returns expected ip6 prefix P22 OK | nmg::create_ip6_prefix() - returns 3 P22f OK | nmg::create_ip6_prefix() - logs error P23 OK | nmg::create_ip6_prefix(invalid) - returns 1 P23v OK | nmg::create_ip6_prefix(invalid) - clears var P23f OK | nmg::create_ip6_prefix(invalid) - logs error P24 OK | nmg::create_ip6_prefix() - returns 3 P24v OK | nmg::create_ip6_prefix() - clears var P24f OK | nmg::create_ip6_prefix() - logs error P25 OK | nmg::create_ip6_prefix() - returns 1 P25v OK | nmg::create_ip6_prefix() - clears var P25f OK | nmg::create_ip6_prefix() - logs error P26 OK | nmg::create_ip6_prefix() - returns 1 P26v OK | nmg::create_ip6_prefix() - clears var P26f OK | nmg::create_ip6_prefix() - logs error P27 OK | nmg::create_ip6_prefix(site-len=128) - returns true P27v OK | nmg::create_ip6_prefix(site-len=128) - returns /128 prefix P28 OK | nmg::create_ip6_prefix(/48 ) - returns true P28v OK | nmg::create_ip6_prefix(/48 ) - returns /64 prefix P31 OK | nmg_create_ip6_prefix(/48 ) - returns true P31f OK | nmg_create_ip6_prefix(/48 ) - echos /64 prefix P41 OK | nmg::create_ip6_host(eth1) - returns true P41v OK | nmg::create_ip6_host(eth1) - returns link-local host-part P42 OK | nmg::create_ip6_host(eth0 auto) - returns true P42v OK | nmg::create_ip6_host(eth0 auto) - returns link-local host-part P43 OK | nmg::create_ip6_host() - returns 3 P43f OK | nmg::create_ip6_host() - logs error P44 OK | nmg::create_ip6_host(, auto) - returns 1 P44f OK | nmg::create_ip6_host(, auto) - does not log P45 OK | nmg::create_ip6_host(eth0 1) - returns true P45v OK | nmg::create_ip6_host(eth0 1) - sets retvar to 1 P46 OK | nmg::create_ip6_host() - returns 1 P46f OK | nmg::create_ip6_host() - logs error P51 OK | nmg::create_ip6_addr() - returns 3 P51f OK | nmg::create_ip6_addr() - logs error P52 OK | nmg::create_ip6_addr() - returns 3 P52f OK | nmg::create_ip6_addr() - logs error P53 OK | nmg::create_ip6_addr() - returns 3 P53f OK | nmg::create_ip6_addr() - logs error P54 OK | nmg::create_ip6_addr() - returns 3 P54f OK | nmg::create_ip6_addr() - logs error P55 OK | nmg::create_ip6_addr(pfx host) - returns true P55v OK | nmg::create_ip6_addr(pfx host) - sets retvar to lowercase addr P61 OK | nmg_find_ip6_addrs(fdac.*) - returns true P61f OK | nmg_find_ip6_addrs(fdac.*) - returns matching address P62 OK | nmg_find_ip6_addrs(2002.*) - returns true P62f OK | nmg_find_ip6_addrs(2002.*) - returns no addresses P63 OK | nmg_find_ip6_addrs(eth2) - returns true P63f OK | nmg_find_ip6_addrs(eth2) - returns matching address P64 OK | nmg_find_ip6_addrs(eth1) - returns true P64f OK | nmg_find_ip6_addrs(eth1) - returns matching addresses P71 OK | nmg::expand_ip6() - returns 1 P71v OK | nmg::expand_ip6() - clears retvar P71f OK | nmg::expand_ip6() - logs error P72 OK | nmg::expand_ip6(::1/128) - returns true P72v OK | nmg::expand_ip6(::1/128) - sets retvar P73 OK | nmg::expand_ip6(fe80::1) - returns true P73v OK | nmg::expand_ip6(fe80::1) - sets retvar P74 OK | nmg::expand_ip6(fe80:100::1) - returns true P74v OK | nmg::expand_ip6(fe80:100::1) - sets retvar P75 OK | nmg::expand_ip6(fe80:100::) - returns true P75v OK | nmg::expand_ip6(fe80:100::) - sets retvar P76 OK | nmg::expand_ip6(FE80:00::100) - returns true P76v OK | nmg::expand_ip6(FE80:00::100) - sets retvar P77 OK | nmg::expand_ip6(retval FE80::1/x) - returns 1 P77v OK | nmg::expand_ip6(retval FE80::1/x) - sets retvar to error P77f OK | nmg::expand_ip6(retval FE80::1/x) - does not log P78 OK | nmg::expand_ip6() - returns 1 P78f OK | nmg::expand_ip6() - logs error P79 OK | nmg::expand_ip6() - returns 1 P79f OK | nmg::expand_ip6() - logs error P80 OK | nmg::expand_ip6(FE80::1 %04x) - returns true P80v OK | nmg::expand_ip6(FE80::1 %04x) - sets retvar P91 OK | nmg::is_ip6_prefix(FE80::1x) - returns 1 P91f OK | nmg::is_ip6_prefix(FE80::1x) - does not log P92 OK | nmg::is_ip6_prefix(FE80::1) - returns 1 P92f OK | nmg::is_ip6_prefix(FE80::1) - does not log P93 OK | nmg::is_ip6_prefix(FE80::1/64) - returns 1 P94 OK | nmg::is_ip6_prefix(FE80::/8) - returns true env-ip6 OK | check config environment ===== Misc Tests (misc group) ===== M11 OK | nmg::2dec(0x5d) - returns true M11v OK | nmg::2dec(0x5d) - converted to 93 M12 OK | nmg::2dec(xx) - returns 1 M12v OK | nmg::2dec(xx) - clears retvar M12f OK | nmg::2dec(xx) - logs error M21 OK | nmg::2hex(93) - returns true M21v OK | nmg::2hex(93) - converted to 0x5d M22 OK | nmg::2hex(xx) - returns 1 M22v OK | nmg::2hex(xx) - clears retvar M22f OK | nmg::2hex(xx) - logs error M31 OK | nmg::require_version() - returns 3 M31f OK | nmg::require_version() - logs error M32 OK | nmg::require_version() - returns 3 M32f OK | nmg::require_version() - logs error M33 OK | nmg::require_version(>req) - returns true M34 OK | nmg::require_version(=req) - returns true M35 OK | nmg::require_version( ) - returns true M37 OK | nmg::require_version(< ) - returns 1 M38 OK | nmg::require_version(> ) - returns true M39 OK | nmg::require_version(< ) - returns 1 M40 OK | nmg::require_version(< ) - returns 1 M41 OK | nmg::require_version(> ) - returns true M51 OK | nmg::args_contains() - returns true M52 OK | nmg::args_contains('') - returns true M53 OK | nmg::args_contains('x') - returns 1 M54 OK | nmg::args_contains('x' ) - returns true M55 OK | nmg::args_contains('x' ) - returns 1 env-misc OK | check config environment ===== Property Tests (prop group) ===== N1 OK | nmg::prop_get_value() - returns 1 N1f OK | nmg::prop_get_value() - does not log N2 OK | nmg::prop_get_value() - returns 3 N2f OK | nmg::prop_get_value() - logs error N3 OK | nmg::prop_get_value( ) - returns true N3f OK | nmg::prop_get_value( ) - does not log N4 OK | nmg::prop_get_value() - returns 1 N4v OK | nmg::prop_get_value() - clears retvar N4f OK | nmg::prop_get_value() - does not log N5 OK | nmg::prop_get_value() - returns true N5v OK | nmg::prop_get_value() - sets retvar N6 OK | nmg::prop_get_value() - returns true N6v OK | nmg::prop_get_value() - clears retvar N11 OK | nmg::prop_has_value() - returns 1 N11f OK | nmg::prop_has_value() - does not log N12 OK | nmg::prop_has_value() - returns 1 N13 OK | nmg::prop_has_value() - returns 1 N14 OK | nmg::prop_has_value() - returns true N15 OK | nmg::prop_has_value( ) - returns true N16 OK | nmg::prop_has_value( ) - returns true N17 OK | nmg::prop_has_value( ) - returns 1 N21 OK | nmg::prop_has_ivalue() - returns true N22 OK | nmg::prop_has_ivalue() - returns 1 N31 OK | nmg::prop_match_values() - returns 3 N31f OK | nmg::prop_match_values() - logs error N32 OK | nmg::prop_match_values() - returns 1 N32f OK | nmg::prop_match_values() - does not log N33 OK | nmg::prop_match_values() - returns true N34 OK | nmg::prop_match_values() - returns true N35 OK | nmg::prop_match_values() - returns false N36 OK | nmg::prop_match_values() - returns false N41 OK | nmg::prop_set_value() - returns 1 N41f OK | nmg::prop_set_value() - does not log N42 OK | nmg::prop_set_value() - returns 3 N42f OK | nmg::prop_set_value() - logs error N43 OK | nmg::prop_set_value() - returns 1 N43v OK | nmg::prop_set_value() - clears retvar N43f OK | nmg::prop_set_value() - does not log N44 OK | nmg::prop_set_value() - returns 1 N44v OK | nmg::prop_set_value() - clears retvar N44f OK | nmg::prop_set_value() - does not log N45 OK | nmg::prop_set_value() - returns true N45v OK | nmg::prop_set_value() - returns original N46 OK | nmg::prop_set_value() - returns true N46v OK | nmg::prop_set_value() - returns updated props N47 OK | nmg::prop_set_value() - returns true N47v OK | nmg::prop_set_value() - returns updated props N48 OK | nmg::prop_set_value() - returns true N48v OK | nmg::prop_set_value() - returns updated props N49 OK | nmg::prop_set_value() - returns true N49v OK | nmg::prop_set_value() - returns updated props N50 OK | nmg::prop_set_value() - returns true N50v OK | nmg::prop_set_value() - returns updated props env-prop OK | check config environment ===== String Tests (string group) ===== S1 OK | nmg::transpose() - returns true S1v OK | nmg::transpose() - clears retvar S2 OK | nmg::transpose(xx) - returns true S2v OK | nmg::transpose(xx) - sets retvar S3 OK | nmg::transpose(xx xy) - returns true S3v OK | nmg::transpose(xx xy) - sets retvar S4 OK | nmg::transpose(xx xy YZ) - returns true S4v OK | nmg::transpose(xx xy YZ) - sets retvar S5 OK | nmg::transpose() - returns 3 S5f OK | nmg::transpose() - logs error S6 OK | nmg::transpose() - returns 3 S6f OK | nmg::transpose() - logs error S11 OK | nmg::uppercase(text) - returns true S11v OK | nmg::uppercase(text) - set retvar S12 OK | nmg::uppercase() - returns true S12v OK | nmg::uppercase() - clears retvar S21 OK | nmg::lowercase(text) - returns true S21v OK | nmg::lowercase(text) - set retvar S22 OK | nmg::lowercase() - returns true S22v OK | nmg::lowercase() - clears retvar S31 OK | nmg::list_match_values() - returns 3 S31f OK | nmg::list_match_values() - logs error S32 OK | nmg::list_match_values() - returns true S33 OK | nmg::list_match_values() - returns 1 S34 OK | nmg::list_match_values() - returns 1 S35 OK | nmg::list_match_values() - returns 1 S36 OK | nmg::list_match_values() - returns 1 S37 OK | nmg::list_match_values() - returns true S38 OK | nmg::list_match_values() - returns 1 S39 OK | nmg::list_match_values() - returns true S40 OK | nmg::list_match_values() - returns true env-string OK | check config environment ===== Array Tests (array group) ===== AC1 OK | nmg::array_copy() - returns 3 AC1f OK | nmg::array_copy() - logs error AC2 OK | nmg::array_copy() - returns 3 AC2f OK AC3 OK | nmg::array_copy() - returns 3 AC3f OK | nmg::array_copy() - logs error AC4 OK | nmg::array_copy() - returns 3 AC4f OK | nmg::array_copy() - logs error AC5 OK | nmg::array_copy() - returns 3 AC5f OK | nmg::array_copy() - logs error AC6 OK | nmg::array_copy() - returns true AC6f OK | nmg::array_copy() - no log AC6a OK | nmg::array_copy() - sets avar empty AC7 OK | nmg::array_copy() - returns true AC7f OK | nmg::array_copy() - no log AC7a OK | nmg::array_copy() - sets avar to aref AC8 OK | nmg::array_copy() - returns true AC8f OK | nmg::array_copy() - no log AC8a OK | nmg::array_copy() - sets avar to aref AC9 OK | nmg::array_copy() - returns 3 AC9f OK | nmg::array_copy() - logs error AC9a OK | nmg::array_copy() - clears avar A1 OK | nmg::array() - returns 3 A1f OK | nmg::array() - logs error A2 OK | nmg::array() - returns true A2v OK | nmg::array() - clears A3 OK | nmg::array(1 val) - returns true A3v OK | nmg::array(1 val) - sets 1 value A4 OK | nmg::array(2 , vals) - returns true A4v OK | nmg::array(2 , vals) - sets 2 values A5 OK | nmg::array(2 newline vals) - returns true A5v OK | nmg::array(2 newline vals) - sets 2 values A11 OK | nmg::array_unique() - returns 3 A11f OK | nmg::array_unique() - logs error A12 OK | nmg::array_unique() - returns 3 A12f OK | nmg::array_unique() - logs error A13 OK | nmg::array_unique() - returns true A13f OK | nmg::array_unique() - does not log A14 OK | nmg::array_unique() - returns true A14a OK | nmg::array_unique() - removes dups A15 OK | nmg::array_unique() - returns true A15a OK | nmg::array_unique() - clears A16 OK | nmg::array_unique(=) - returns true A16a OK | nmg::array_unique(=) - removes dups to same name array A17 OK | nmg::array_unique() - returns true A17a OK | nmg::array_unique() - removes dups A18 OK | nmg::array_unique() - returns true A18a OK | nmg::array_unique() - removes dups A21 OK | nmg::array_join() - returns 3 A21f OK | nmg::array_join() - logs error A22 OK | nmg::array_join() - returns true A22v OK | nmg::array_join() - clears retvar A23 OK | nmg::array_join(',' ) - returns true A23v OK | nmg::array_join(',' ) - sets to comma-list A24 OK | nmg::array_join() - returns true A24v OK | nmg::array_join() - list contains an empty item A41 OK | nmg::array_match_values() - returns 3 A41f OK | nmg::array_match_values() - logs error A42 OK | nmg::array_match_values(<1 arg>) - returns 3 A42f OK | nmg::array_match_values(<1 arg>) - logs error A43 OK | nmg::array_match_values( ) - returns true A44 OK | nmg::array_match_values( ) - returns true A45 OK | nmg::array_match_values(<1-item> ) - returns 1 A46 OK | nmg::array_match_values(<1-item> ) - returns 1 A47 OK | nmg::array_match_values(<1-item> ) - returns true A48 OK | nmg::array_match_values(<2-item> <1-item>) - returns 1 A49 OK | nmg::array_match_values(<2-item> <2-diff-order>) - returns true A50 OK | nmg::array_match_values(<2-item> <3-dups>) - returns true A51 OK | nmg::array_match_values(<2-same> <2-diff>) - returns 1 A52 OK | nmg::array_match_values( ) - returns true A52f OK | nmg::array_match_values( ) - does not log A53 OK | nmg::array_match_values( ) - returns true A53f OK | nmg::array_match_values( ) - does not log env-array OK | check config environment ===== Config Tests (config group) ===== C1 OK | nmg_read_config() - returns 1 C1f OK | nmg_read_config() - should not log C2 OK | nmg_read_config('not-there') - returns 1 C2f OK | nmg_read_config('not-there') - should not log C3 OK | nmg_read_config() - returns 2 C3f OK | nmg_read_config() - logs error C4 OK | nmg_read_config( nolog) - returns 2 C4f OK | nmg_read_config( nolog) - should not log C5 OK | nmg_read_config( nolog) - returns 2 C6f OK | nmg_read_config( nolog) - should not log C7 OK | nmg_read_config() - returns true C7f OK | nmg_read_config() - should not output/log C8 OK | nmg_read_config() - returns true C8v OK | nmg_read_config() - correctly load values C8f OK | nmg_read_config() - should not log C21 OK | nmg_required_config() - returns true C21v OK | nmg_required_config() - correctly load values C21f OK | nmg_required_config() - should not log C22 OK | nmg_required_config('not-there') - exits 0 C22f OK | nmg_required_config('not-there') - should not log C23 OK | nmg_required_config() - exits 2 C23f OK | nmg_required_config() - logs error env-config OK | check config environment %%%%% general-functions Test Summary %%%%% TESTS RUN: 573 TESTS PASSED: 573 bash ./ddns-test strict verbose ===== Loading script ===== Script ddns-functions loaded ===== Check version requirements ===== Version enforcement working ===== Address Function Tests (addr group) ===== A1 OK | nmddns::get_A_addrs(0) - returns true A1a OK | nmddns::get_A_addrs(0) - sets var empty A1f OK | nmddns::get_A_addrs(0) - does not log A2 OK | nmddns::get_A_addrs(1 priv) - returns true A2a OK | nmddns::get_A_addrs(1 priv) - sets var empty A2f OK | nmddns::get_A_addrs(1 priv) - does not log A3 OK | nmddns::get_A_addrs(1 priv allowed) - returns true A3a OK | nmddns::get_A_addrs(1 priv allowed) - sets address A3f OK | nmddns::get_A_addrs(1 priv allowed) - does not log A4 OK | nmddns::get_A_addrs(2 priv) - returns true A4a OK | nmddns::get_A_addrs(2 priv) - sets var empty A4f OK | nmddns::get_A_addrs(2 priv) - does not log A5 OK | nmddns::get_A_addrs(2 priv allowed) - returns true A5a OK | nmddns::get_A_addrs(2 priv allowed) - sets addresses A5f OK | nmddns::get_A_addrs(2 priv allowed) - does not log A11 OK | nmddns::get_AAAA_addrs(0) - returns true A11v OK | nmddns::get_AAAA_addrs(0) - sets var empty A11f OK | nmddns::get_AAAA_addrs(0) - does not log A12 OK | nmddns::get_AAAA_addrs(1 priv) - returns true A12a OK | nmddns::get_AAAA_addrs(1 priv) - sets var empty A12f OK | nmddns::get_AAAA_addrs(1 priv) - does not log A13 OK | nmddns::get_AAAA_addrs(1 priv allowed) - returns true A13a OK | nmddns::get_AAAA_addrs(1 priv allowed) - sets address A13f OK | nmddns::get_AAAA_addrs(1 priv allowed) - does not log A14 OK | nmddns::get_AAAA_addrs(2 pub) - returns true A14a OK | nmddns::get_AAAA_addrs(2 pub) - sets addresses A14f OK | nmddns::get_AAAA_addrs(2 pub) - does not log env-addr OK | check config environment ===== nmddns tests ===== D1 OK | nmddns_update() - returns true D1f OK | nmddns_update() - logs and removes A D2 OK | nmddns_update() - returns 25 D2f OK | nmddns_update() - logs error D3 OK | nmddns_update() - returns 5 D3f OK | nmddns_update() - logs error D4 OK | nmddns_update(A ) - returns true D4f OK | nmddns_update(A ) - logs and removes A D5 OK | nmddns_update(A ) - returns true D5f OK | nmddns_update(A ) - logs and sets A to fallback D6 OK | nmddns_update(A ) - returns true D6f OK | nmddns_update(A ) - logs and sets A (no plen) D6s OK | nmddns_update(A ) - generates state file (with plen) D7 OK | nmddns_update() - returns true D7f OK | nmddns_update() - logs error and performs action D7s OK | nmddns_update() - should not create state file D8 OK | nmddns_update() - () returns false D8f OK | nmddns_update() - logs error D9 OK | nmddns_update(A ) - returns 5 D9f OK | nmddns_update(A ) - logs error D10 OK | nmddns_update(A ) - returns true D10f OK | nmddns_update(A ) - does not log D11 OK | nmddns_update(A ) - returns true D11f OK | nmddns_update(A ) - logs and removes A D12 OK | nmddns_update(A ) - returns true D12f OK | nmddns_update(A ) - logs and adds A D13 OK | nmddns_update(A <2 pub>) - returns true D13f OK | nmddns_update(A <2 pub>) - logs and adds both A records D14 OK | nmddns_update(A <2 match>) - returns true D14f OK | nmddns_update(A <2 match>) - does not log D15 OK | nmddns_update(TXT <2 new vals>) - returns true D15f OK | nmddns_update(TXT <2 new vals>) - logs and adds both TXT records D16 OK | nmddns_update(TXT <2 old vals>) - returns true D16f OK | nmddns_update(TXT <2 old vals>) - does not log D17 OK | nmddns_update(A ) - returns true D17f OK | nmddns_update(A ) - logs and adds both A records D17s OK | nmddns_update(A ) - generates state file (intf) D18 OK | nmddns_update(AAAA ) - returns true D18f OK | nmddns_update(AAAA ) - logs and removes AAAA records D18s OK | nmddns_update(AAAA ) - generates state file (intf) D19 OK | nmddns_update(AAAA ) - returns true D19f OK | nmddns_update(AAAA ) - logs and removes AAAA records D19s OK | nmddns_update(AAAA ) - generates state file (intf) D21 OK | nmddns_update_all() - returns true D21f OK | nmddns_update_all() - performs actions D22 OK | nmddns_update_all() - returns true D22f OK | nmddns_update_all() - performs actions D31 OK | nmddns_spawn_update() - returns true D31f OK | nmddns_spawn_update() - does not log D32 OK | nmddns_spawn_update() - returns false D32f OK | nmddns_spawn_update() - logs error D32s OK | nmddns_spawn_update() - leaves state file D33 OK | nmddns_spawn_update() - returns true D33s OK | nmddns_spawn_update() - removes state file D33f OK | nmddns_spawn_update() - logs error, removes A rrec D34 OK | nmddns_spawn_update() - returns true D34f OK | nmddns_spawn_update() - does not log D34o OK | nmddns_spawn_update() - runs helper D41 OK | nmddns_spawn_update_all(up) - returns true D41f OK | nmddns_spawn_update_all(up) - removes current entry env-ddns OK | check config environment ===== 09-ddns helper tests ===== H0 OK | /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/lib/NetworkManager/dispatcher.d/09-ddns is runnable H1 OK | nmddns_spawn_update_all(up ) - returns true H1f OK | nmddns_spawn_update_all(up ) - logs and adds A/AAAA/TXT records H1i OK | nmddns_spawn_update_all(up ) - creates A state file H1j OK | nmddns_spawn_update_all(up ) - creates AAAA state file H2 OK | nmddns_spawn_update_all(up ) - returns true H2f OK | nmddns_spawn_update_all(up ) - logs and removes A/AAAA records, sets TXT H2i OK | nmddns_spawn_update_all(up ) - removes A state file H2j OK | nmddns_spawn_update_all(up ) - removes AAAA state file H3 OK | nmddns_spawn_update_all(down) - returns true H3f OK | nmddns_spawn_update_all(down) - logs and removes all records H3i OK | nmddns_spawn_update_all(down) - removes A state file H3j OK | nmddns_spawn_update_all(down) - removes AAAA state file H3k OK | nmddns_spawn_update_all(down) - removes TXT state file H11 OK | nmddns_spawn_update(up ) - returns true H11f OK | nmddns_spawn_update(up ) - logs and adds A records H11i OK | nmddns_spawn_update(up ) - creates A state file H12 OK | nmddns_spawn_update(up ) - returns true H12f OK | nmddns_spawn_update(up ) - logs and adds override TXT record H12k OK | nmddns_spawn_update(up ) - creates TXT state file env-helper OK | check config environment %%%%% ddns-functions Test Summary %%%%% TESTS RUN: 110 TESTS PASSED: 110 bash ./nm-ddns-test strict verbose ===== Loading script ===== Script 09-ddns loaded ===== Action Tests (action group) ===== A1 OK | ddns_nm_action(up) - returns true A1f OK | ddns_nm_action(up) - adds to dns A1i OK | ddns_nm_action(up) - creates A dns state A1j OK | ddns_nm_action(up) - creates AAAA dns state A2 OK | ddns_nm_action(down) - returns true A2f OK | ddns_nm_action(down) - removes from dns A2i OK | ddns_nm_action(down) - removes A dns state A2j OK | ddns_nm_action(down) - removes AAAA dns state A3 OK | ddns_nm_action(dhcp4-change) - returns true A3f OK | ddns_nm_action(dhcp4-change) - adds to dns A3i OK | ddns_nm_action(dhcp4-change) - creates A dns state A3j OK | ddns_nm_action(dhcp4-change) - does not create AAAA dns state A4 OK | ddns_nm_action(dhcp6-change) - returns true A4f OK | ddns_nm_action(dhcp6-change) - adds to dns A4i OK | ddns_nm_action(dhcp6-change) - leaves A dns state A4j OK | ddns_nm_action(dhcp6-change) - creates AAAA dns state env-action OK | check config environment ===== 09-ddns direct tests ===== D1 OK | ddns_direct() - returns true D1f OK | ddns_direct() - updates ip4 D2 OK | ddns_direct() - returns true D2f OK | ddns_direct() - sets 1 ddns2, removes ip4 D3 OK | ddns_direct() - returns true D3f OK | ddns_direct() - updates ip4, removes ddns2 D11 OK | ddns_direct(br1) - returns true D11f OK | ddns_direct(br1) - updates ip4, removes ddns2 env-direct OK | check config environment %%%%% 09-ddns Test Summary %%%%% TESTS RUN: 26 TESTS PASSED: 26 bash ./ipv6-prefix-nm-test strict verbose ===== Loading script ===== Script 08-ipv6-prefix loaded ===== LAN Dispatcher Tests (lan group) ===== L1 OK | ipv6_lan_start(<1 addr>) - returns true L1f OK | ipv6_lan_start(<1 addr>) - adds addr/dns L1d OK | ipv6_lan_start(<1 addr>) - DDNS state file created L2 OK | ipv6_lan_start(<3 addrs, 1 dep>) - returns true L2f OK | ipv6_lan_start(<3 addrs, 1 dep>) - adds addresses, dns L2d OK | ipv6_lan_start(<3 addrs, 1 dep>) - DDNS state file created L3 OK | ipv6_lan_start() - returns true L3f OK | ipv6_lan_start() - adds addr/dns L3y OK | ipv6_lan_start() - bb:1 state file updated L3d OK | ipv6_lan_start() - DDNS state file created L11 OK | ipv6_lan_stop() - returns true L11f OK | ipv6_lan_stop() - triggers radvd L11i OK | ipv6_lan_stop() - aa:1 state file remains L11j OK | ipv6_lan_stop() - bb:1 state file remains L11d OK | ipv6_lan_stop() - DDNS state file removed env-lan OK | check config environment ===== WAN Dispatcher Tests (wan group) ===== W1 OK | ipv6_wan_start() - returns true W1f OK | ipv6_wan_start() - echos stop (config requires ip) W1p OK | ipv6_wan_start() - pid file removed W1s OK | ipv6_wan_start() - conn-state file not created W2 OK | ipv6_wan_start() - returns true W2f OK | ipv6_wan_start() - echos stop (config requires public) W2p OK | ipv6_wan_start() - pid file removed W2s OK | ipv6_wan_start() - conn-state file removed W3 OK | ipv6_wan_start() - returns true W3w OK | ipv6_wan_start() - background echo completes W3f OK | ipv6_wan_start() - echos start W3s OK | ipv6_wan_start() - creates uuid file W11 OK | ipv6_wan_stop() - returns true W11f OK | ipv6_wan_stop() - echos stop W11s OK | ipv6_wan_stop() - removes state file env-wan OK | check config environment %%%%% ipv6-prefix-nm-test Summary %%%%% TESTS RUN: 32 TESTS PASSED: 32 bash ./ipv6-prefix-dhclient-test strict verbose ===== Loading script ===== Script 08-ipv6-prefix loaded ===== Lifetime Function Tests (life group) ===== S1 OK | ipv6_life_calc(0) - returns true S1v OK | ipv6_life_calc(0) - sets retvar to 0 S1f OK | ipv6_life_calc(0) - should not log S1g OK | ipv6_life_calc(0) - should set $CUR_TIME S2 OK | ipv6_life_calc( 0) - returns true S2v OK | ipv6_life_calc( 0) - sets retvar to forever S3 OK | ipv6_life_calc(0 ) - returns 1 S3f OK | ipv6_life_calc(0 ) - should not log S4 OK | ipv6_life_calc(300 ) - returns true S4v OK | ipv6_life_calc(300 ) - should return 200 S5 OK | ipv6_life_calc(50 ) - returns true S5v OK | ipv6_life_calc(50 ) - should return 0 S6 OK | ipv6_life_calc() - returns 1 env-life OK | check config environment ===== Prefix Function Tests (life group) ===== P1 OK | ipv6_prefix_overlap(0/64 0/64) - returns true P2 OK | ipv6_prefix_overlap(2/64 1/63) - returns true P3 OK | ipv6_prefix_overlap(1/64 1/64) - returns false P4 OK | ipv6_prefix_overlap(2/64 1/63) - returns true P5 OK | ipv6_prefix_overlap(4/64 1/62) - returns true P6 OK | ipv6_prefix_overlap(7/64 1/62) - returns true P7 OK | ipv6_prefix_overlap(7/64 4/62) - returns false P21 OK | ipv6_lan_node_load(br0 56) - returns true P21f OK | ipv6_lan_node_load(br0 56) - does not log P21l OK | ipv6_lan_node_load(br0 56) - sets Lans P21r OK | ipv6_lan_node_load(br0 56) - sets Reserved P22 OK | ipv6_lan_node_load(br1 56) - returns true P22f OK | ipv6_lan_node_load(br1 56) - does not log P22l OK | ipv6_lan_node_load(br1 56) - adds to Lans P22r OK | ipv6_lan_node_load(br1 56) - doesn't add to Reserved P23 OK | ipv6_lan_node_load(br0 64) - returns true P23f OK | ipv6_lan_node_load(br0 64) - log info P23l OK | ipv6_lan_node_load(br0 64) - sets Lans P23r OK | ipv6_lan_node_load(br0 64) - doesn't set Reserved P24 OK | ipv6_lan_node_load() - returns true P24f OK | ipv6_lan_node_load() - log error P24l OK | ipv6_lan_node_load() - sets Lans P24r OK | ipv6_lan_node_load() - doesn't set Reserved P25 OK | ipv6_lan_node_load() - returns true P25f OK | ipv6_lan_node_load() - log error P25l OK | ipv6_lan_node_load() - sets Lans P25r OK | ipv6_lan_node_load() - doesn't set Reserved P26 OK | ipv6_lan_node_load(<128 plen>) - returns true P26f OK | ipv6_lan_node_load(<128 plen>) - does not log P26l OK | ipv6_lan_node_load(<128 plen>) - sets Lans P26r OK | ipv6_lan_node_load(<128 plen>) - doesn't set Reserved P27 OK | ipv6_lan_node_load( 61) - returns true P27f OK | ipv6_lan_node_load( 61) - does not log P27l OK | ipv6_lan_node_load( 61) - sets Lans (site 3) P27r OK | ipv6_lan_node_load( 61) - sets Reserved P28 OK | ipv6_lan_node_load( 63) - returns true P28f OK | ipv6_lan_node_load( 63) - does not log P28l OK | ipv6_lan_node_load( 63) - sets Lans (site 0) P28r OK | ipv6_lan_node_load( 63) - sets Reserved P31 OK | ipv6_find_freesite(64 64 0/64) - returns false P31f OK | ipv6_find_freesite(64 64 0/64) - does not log P31v OK | ipv6_find_freesite(64 64 0/64) - does not set retvar P32 OK | ipv6_find_freesite(64 64) - returns true P32v OK | ipv6_find_freesite(64 64) - sets retvar 0 P33 OK | ipv6_find_freesite(62 64 <2-63>) - returns false P34 OK | ipv6_find_freesite(62 64 <1 63>) - returns true P34v OK | ipv6_find_freesite(62 64 <1 63>) - sets retvar 2 P35 OK | ipv6_find_freesite(62 64 <'1' free>) - returns true P35v OK | ipv6_find_freesite(62 64 <'1' free>) - sets retvar 1 P36 OK | ipv6_find_freesite(62 64 <'3' free>) - returns true P36v OK | ipv6_find_freesite(62 64 <'3' free>) - sets retvar 3 P37 OK | ipv6_find_freesite(64 64 ) - returns true P37v OK | ipv6_find_freesite(64 64 ) - sets retvar 0 P41 OK | ipv6_find_autosite(62 64 <0/63 reserved>) - returns true P41v OK | ipv6_find_autosite(62 64 <0/63 reserved>) - sets retvar 2 (avoids reserved) P42 OK | ipv6_find_autosite(62 64 <0/63 2/64 used, 3/64 reserved>) - returns true P42v OK | ipv6_find_autosite(62 64 <0/63 2/64 used, 3/64 reserved>) - sets retvar 3 (uses reserved) P43 OK | ipv6_find_autosite(62 63) - returns true P43v OK | ipv6_find_autosite(62 63) - sets retvar 0 P44 OK | ipv6_find_autosite(63 64 ) - returns false P44v OK | ipv6_find_autosite(63 64 ) - does not set retvar P44f OK | ipv6_find_autosite(63 64 ) - does not log P51 OK | ipv6_lan_node_calc() - returns true P51v OK | ipv6_lan_node_calc() - sets address P51s OK | ipv6_lan_node_calc() - sets site 0/63 P51f OK | ipv6_lan_node_calc() - does not log P51a OK | ipv6_lan_node_calc() - appends to Assigned P52 OK | ipv6_lan_node_calc() - returns true P52v OK | ipv6_lan_node_calc() - does not set address P52s OK | ipv6_lan_node_calc() - does not set site P52f OK | ipv6_lan_node_calc() - logs info P53 OK | ipv6_lan_node_calc() - returns true P53v OK | ipv6_lan_node_calc() - set address P53s OK | ipv6_lan_node_calc() - sets site 0/64 P53f OK | ipv6_lan_node_calc() - does not log P54 OK | ipv6_lan_node_calc() - returns true P54v OK | ipv6_lan_node_calc() - set address P54s OK | ipv6_lan_node_calc() - sets site 3/64 P54f OK | ipv6_lan_node_calc() - does not log P55 OK | ipv6_lan_node_calc() - returns true P55v OK | ipv6_lan_node_calc() - set retvar to reserved P55s OK | ipv6_lan_node_calc() - sets site 2/64 P55f OK | ipv6_lan_node_calc() - does not log P56 OK | ipv6_lan_node_calc() - returns true P56v OK | ipv6_lan_node_calc() - does not set address P56s OK | ipv6_lan_node_calc() - does not set site P56f OK | ipv6_lan_node_calc() - logs info env-prefix OK | check config environment ===== LAN Address Tests (addr group) ===== A0 OK | checking FORWARDING_PAT A0c OK | created forwarding test file A1 OK | ipv6_lan_add_addr() - returns true A1f OK | ipv6_lan_add_addr() - adds address A1w OK | ipv6_lan_add_addr() - writes 1 to forwarding file A2 OK | ipv6_lan_add_addr( ) - returns true A2f OK | ipv6_lan_add_addr( ) - adds address with lifetimes A3 OK | ipv6_lan_add_addr( ) - returns true A3f OK | ipv6_lan_add_addr( ) - does not add address A11 OK | ipv6_lan_del_addr() - returns true A11f OK | ipv6_lan_del_addr() - removes address A21 OK | ipv6_lan_read_config(br0) - returns true A21a OK | ipv6_lan_read_config(br0) - sets LAN_SITE A21b OK | ipv6_lan_read_config(br0) - sets LAN_PREFIX_LEN A21c OK | ipv6_lan_read_config(br0) - uses defaults env-addr OK | check config environment ===== LAN Prefix Assignment Tests (lan group) ===== L1 OK | checking LAN_STATE_PAT L2 OK | ipv6_dhc_bind() - returns true L2f OK | ipv6_dhc_bind() - adds address L2i OK | ipv6_dhc_bind() - creates br0 88:99 state file L2m OK | ipv6_dhc_bind() - creates brx 88:99 state file (prefix) L3 OK | ipv6_prefix_bind() - returns true L3f OK | ipv6_prefix_bind() - adds address L3j OK | ipv6_prefix_bind() - creates state file L3n OK | ipv6_prefix_bind() - creates brx 11:22 state file (prefix) L4 OK | ipv6_prefix_bind() - returns true L4f OK | ipv6_prefix_bind() - adds address L4j OK | ipv6_prefix_bind() - removes br0 11:22 state file L4l OK | ipv6_prefix_bind() - creates br1 11:22 state L4n OK | ipv6_prefix_bind() - honors brx 11:22 assignment L5 OK | ipv6_prefix_bind() - returns true L5f OK | ipv6_prefix_bind() - adds address, updates DNS L5i OK | ipv6_prefix_bind() - br0 88:99 state file should not exist L5j OK | ipv6_prefix_bind() - creates br0 11:22 state file L5k OK | ipv6_prefix_bind() - br1 88:99 state file should not exist L5l OK | ipv6_prefix_bind() - creates br1 11:22 state file L5d OK | ipv6_prefix_bind() - create ddns state file L6 OK | ipv6_prefix_bind() - returns true L6f OK | ipv6_prefix_bind() - removes old, adds new, updates DNS L6i OK | ipv6_prefix_bind() - br0 88:99 state file should not exist L6j OK | ipv6_prefix_bind() - creates br0 11:22 state file L6k OK | ipv6_prefix_bind() - br1 88:99 state file should not exist L6l OK | ipv6_prefix_bind() - creates br1 11:22 state file L6d OK | ipv6_prefix_bind() - create ddns state file L7 OK | ipv6_prefix_bind() - returns true L7f OK | ipv6_prefix_bind() - adds address, updates DNS L7i OK | ipv6_prefix_bind() - creates br0 88:99 state file L7j OK | ipv6_prefix_bind() - br0 11:22 state file remains L7k OK | ipv6_prefix_bind() - creates br1 88:99 state file L7l OK | ipv6_prefix_bind() - br1 11:22 state file remains L7d OK | ipv6_prefix_bind() - updates ddns state file L11 OK | ipv6_dhc_depref(<88:99>) - returns true L11f OK | ipv6_dhc_depref(<88:99>) - sets address lifetime 0, removes from dns L11i OK | ipv6_dhc_depref(<88:99>) - updates br0 88:99 state file L11k OK | ipv6_dhc_depref(<88:99>) - updates br1 88:99 state file with address L11m OK | ipv6_dhc_depref(<88:99>) - updates brx 88:99 state file (prefix) L11d OK | ipv6_dhc_depref(<88:99>) - updates ddns state file L12 OK | ipv6_prefix_depref() - returns true L12f OK | ipv6_prefix_depref() - sets lifetime 0, removes dead addr L12i OK | ipv6_prefix_depref() - removes br0 88:99 state file L12k OK | ipv6_prefix_depref() - updates br1 88:99 state file L12m OK | ipv6_prefix_depref() - removes brx 88:99 state file L21 OK | ipv6_dhc_release(<88:99>) - returns true L21f OK | ipv6_dhc_release(<88:99>) - removes address L21k OK | ipv6_dhc_release(<88:99>) - br1 88:99 state file removed L21d OK | ipv6_dhc_release(<88:99>) - updates ddns state file L31 OK | ipv6_prefix_flush() - returns true L31f OK | ipv6_prefix_flush() - removes address and dns L31i OK | ipv6_prefix_flush() - br0 11:22 state file removed L31k OK | ipv6_prefix_flush() - br1 11:22 state file removed L31m OK | ipv6_prefix_flush() - brx 11:22 state file removed L31d OK | ipv6_prefix_flush() - ddns state file removed env-lan OK | check config environment ===== LAN Prefix DAD Failure Tests (lan_dad group) ===== F1 OK | ipv6_dhc_bind(F1) - returns true F1f OK | ipv6_dhc_bind(F1) - adds/removes ip F1s OK | ipv6_dhc_bind(F1) - should not create state file env-lan_dad OK | check config environment ===== WAN Address DDNS Tests (wan_ddns group) ===== D0 OK | checking WAN_STATE_PAT D1 OK | ipv6_addr_bind() - returns true D1f OK | ipv6_addr_bind() - adds DNS D1y OK | ipv6_addr_bind() - creates state file D2 OK | ipv6_addr_bind(<2nd addr>) - returns true D2f OK | ipv6_addr_bind(<2nd addr>) - adds DNS D2y OK | ipv6_addr_bind(<2nd addr>) - creates 1a1a state file D2z OK | ipv6_addr_bind(<2nd addr>) - creates 2b2b state file D11 OK | ipv6_dhc_release(<1/2 removed>) - returns true D11f OK | ipv6_dhc_release(<1/2 removed>) - removes 1a1a from NM/DNS D11y OK | ipv6_dhc_release(<1/2 removed>) - 1a1a state file removed D11z OK | ipv6_dhc_release(<1/2 removed>) - 2b2b state file remains D12 OK | ipv6_addr_release(<2nd removed>) - returns true D12f OK | ipv6_addr_release(<2nd removed>) - removes 2b2b from NM/DNS D12z OK | ipv6_addr_release(<2nd removed>) - 2b2b state file removed D21 OK | ipv6_addrs_flush() - returns true D21f OK | ipv6_addrs_flush() - removes 1a1a/2b2b from NM/DNS (no apply) D21y OK | ipv6_addrs_flush() - 1a1a state file removed D21z OK | ipv6_addrs_flush() - 2b2b state file removed env-wan_ddns OK | check config environment ===== WAN Address Depref Tests (wan_depref group) ===== E0 OK | checking WAN_STATE_PAT E1 OK | ipv6_dhc_depref() - returns true E1f OK | ipv6_dhc_depref() - updates lifetimes E1s OK | ipv6_dhc_depref() - creates state file E2 OK | ipv6_addr_depref() - returns true E2f OK | ipv6_addr_depref() - updates lifetimes E2s OK | ipv6_addr_depref() - creates state file env-wan_depref OK | check config environment ===== WAN Address Assignment Tests (wan_start group) ===== W0 OK | checking WAN_STATE_PAT W1 OK | ipv6_check_nm() - returns true W1f OK | ipv6_check_nm() - does not log W1n OK | ipv6_check_nm() - NMCLI is set W11 OK | ipv6_dhc_bind() - returns true W11f OK | ipv6_dhc_bind() - does nothing W11s OK | ipv6_dhc_bind() - creates state file W12 OK | ipv6_addr_bind() - returns true W12f OK | ipv6_addr_bind() - updates lifetimes W12s OK | ipv6_addr_bind() - creates state file W13 OK | ipv6_addr_bind() - returns true W13f OK | ipv6_addr_bind() - adds, then removes new addr W13o OK | ipv6_addr_bind() - removes old state W13n OK | ipv6_addr_bind() - does not create new state W14 OK | ipv6_addr_bind() - returns true W14f OK | ipv6_addr_bind() - adds static/dhcp addrs, static dns W14s OK | ipv6_addr_bind() - creates state file W15 OK | ipv6_addr_bind() - returns true W15f OK | ipv6_addr_bind() - adds static/dhcp addrs/dns W15s OK | ipv6_addr_bind() - creates state file W16 OK | ipv6_addr_bind() - returns true W16f OK | ipv6_addr_bind() - adds static/dhcp addrs, static dns W16s OK | ipv6_addr_bind() - creates state file (with dns) W17 OK | ipv6_addr_bind() - returns true W17f OK | ipv6_addr_bind() - adds dhcp addrs/dns W17s OK | ipv6_addr_bind() - creates state file W18 OK | ipv6_addr_bind() - returns true W18f OK | ipv6_addr_bind() - updates lifetimes W18s OK | ipv6_addr_bind() - creates state file W19 OK | ipv6_addr_bind(<2nd ip>) - returns true W19f OK | ipv6_addr_bind(<2nd ip>) - updated NM, lifetimes W19s OK | ipv6_addr_bind(<2nd ip>) - creates abc state file env-wan_start OK | check config environment %%%%% ipv6-prefix-dhclient-test Summary %%%%% TESTS RUN: 240 TESTS PASSED: 240 make[1]: Entering directory '/builddir/build/BUILD/nmutils-20220621/test' Running radvd-gen test 1 make[1]: Leaving directory '/builddir/build/BUILD/nmutils-20220621/test' make[1]: Entering directory '/builddir/build/BUILD/nmutils-20220621/test' Running radvd-gen test 2 make[1]: Leaving directory '/builddir/build/BUILD/nmutils-20220621/test' make[1]: Entering directory '/builddir/build/BUILD/nmutils-20220621/test' Running radvd-gen test 3 make[1]: Leaving directory '/builddir/build/BUILD/nmutils-20220621/test' make[1]: Entering directory '/builddir/build/BUILD/nmutils-20220621/test' Running radvd-gen test 4 make[1]: Leaving directory '/builddir/build/BUILD/nmutils-20220621/test' make: Leaving directory '/builddir/build/BUILD/nmutils-20220621/test' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: nmutils-20220621-1.fc39.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.czjy1m + umask 022 + cd /builddir/build/BUILD + cd nmutils-20220621 + DOCDIR=/builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/doc/nmutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/doc/nmutils + cp -pr README.md /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/doc/nmutils + cp -pr examples /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/doc/nmutils + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.64FB0v + umask 022 + cd /builddir/build/BUILD + cd nmutils-20220621 + LICENSEDIR=/builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/licenses/nmutils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/licenses/nmutils + cp -pr LICENSE.md /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/licenses/nmutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: nmutils = 20220621-1.fc39 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(preun): /bin/sh Requires: /usr/bin/bash OrderWithRequires: systemd systemd systemd Processing files: nmutils-selinux-20220621-1.fc39.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.slsEIq + umask 022 + cd /builddir/build/BUILD + cd nmutils-20220621 + LICENSEDIR=/builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/licenses/nmutils-selinux + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/licenses/nmutils-selinux + cp -pr LICENSE.md /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64/usr/share/licenses/nmutils-selinux + RPM_EC=0 ++ jobs -p + exit 0 Provides: nmutils-selinux = 20220621-1.fc39 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh libselinux-utils policycoreutils policycoreutils-python-utils selinux-policy-base >= 38.10-1.fc39 Requires(postun): /bin/sh Requires(posttrans): /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64 Wrote: /builddir/build/RPMS/nmutils-selinux-20220621-1.fc39.noarch.rpm Wrote: /builddir/build/RPMS/nmutils-20220621-1.fc39.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Fs5Syd + umask 022 + cd /builddir/build/BUILD + cd nmutils-20220621 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nmutils-20220621-1.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.WafGFe + umask 022 + cd /builddir/build/BUILD + rm -rf nmutils-20220621 nmutils-20220621.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0