Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/swid-tools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660649796.882180/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.64_1y5pu:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.64_1y5pu:/etc/resolv.conf', '--bind=/dev/btrfs-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', '72443da2f2dc41589b9598a8f8cdf687', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660649796.882180/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.64_1y5pu:/etc/resolv.conf', '--bind=/dev/btrfs-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/swid-tools.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=1658534400 Wrote: /builddir/build/SRPMS/swid-tools-0.8.15-3.fc38.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/swid-tools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660649796.882180/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.64_1y5pu:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.64_1y5pu:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'd87aaf574fc54315ab2aad113e7ba05c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660649796.882180/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.64_1y5pu:/etc/resolv.conf', '--bind=/dev/btrfs-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/swid-tools.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0PkRPK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpm2swidtag-0.8.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rpm2swidtag-0.8.15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpm2swidtag-0.8.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BgMSzG + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/rpm2swidtag-0.8.15/.package_note-swid-tools-0.8.15-3.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh swid-tools 0.8.15-3.fc38 x86_64 + cd rpm2swidtag-0.8.15 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + 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 -Wl,-dT,/builddir/build/BUILD/rpm2swidtag-0.8.15/.package_note-swid-tools-0.8.15-3.fc38.x86_64.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/dnf-plugins copying lib/dnf-plugins/swidtags.py -> build/lib/dnf-plugins creating build/lib/rpm2swidtag copying lib/rpm2swidtag/rpm.py -> build/lib/rpm2swidtag copying lib/rpm2swidtag/repodata.py -> build/lib/rpm2swidtag copying lib/rpm2swidtag/payload.py -> build/lib/rpm2swidtag copying lib/rpm2swidtag/__init__.py -> build/lib/rpm2swidtag creating build/lib/swidq copying lib/swidq/__init__.py -> build/lib/swidq running build_scripts creating build/scripts-3.11 copying and adjusting bin/rpm2swidtag -> build/scripts-3.11 copying bin/dnf-plugin-swidtags-update-from-0.7 -> build/scripts-3.11 copying and adjusting bin/swidq -> build/scripts-3.11 changing mode of build/scripts-3.11/rpm2swidtag from 644 to 755 changing mode of build/scripts-3.11/swidq from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SciLDS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/rpm2swidtag-0.8.15/.package_note-swid-tools-0.8.15-3.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rpm2swidtag-0.8.15 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + 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 -Wl,-dT,/builddir/build/BUILD/rpm2swidtag-0.8.15/.package_note-swid-tools-0.8.15-3.fc38.x86_64.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64 --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/swidq copying build/lib/swidq/__init__.py -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/swidq creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag copying build/lib/rpm2swidtag/__init__.py -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag copying build/lib/rpm2swidtag/payload.py -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag copying build/lib/rpm2swidtag/repodata.py -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag copying build/lib/rpm2swidtag/rpm.py -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/dnf-plugins copying build/lib/dnf-plugins/swidtags.py -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/dnf-plugins byte-compiling /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/swidq/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag/payload.py to payload.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag/repodata.py to repodata.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag/rpm.py to rpm.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/dnf-plugins/swidtags.py to swidtags.cpython-311.pyc writing byte-compilation script '/tmp/tmp68npkltz.py' /usr/bin/python3 /tmp/tmp68npkltz.py removing /tmp/tmp68npkltz.py running install_data creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag copying rpm2swidtag.conf -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag copying swidtag-template.xml -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag copying swidtag.xslt -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag copying rpm2swidtag.xslt -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag copying rpm2swidtag-tagid.xslt -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-rawhide.conf -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-36.conf -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-35.conf -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-34.conf -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-33.conf -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/rpm2swidtag/rpm2swidtag.conf.d creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/swid copying swidq.conf -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/swid creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/swid/swidtags.d creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/swidq creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/swidq/stylesheets copying swidq-info.xslt -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/swidq/stylesheets copying swidq-dump.xslt -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/swidq/stylesheets copying swidq-files.xslt -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/swidq/stylesheets copying swidq-xml.xslt -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/swidq/stylesheets creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/dnf creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/dnf/plugins copying dnf/plugins/swidtags.conf -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/etc/dnf/plugins running install_egg_info running egg_info writing lib/rpm2swidtag.egg-info/PKG-INFO writing dependency_links to lib/rpm2swidtag.egg-info/dependency_links.txt writing requirements to lib/rpm2swidtag.egg-info/requires.txt writing top-level names to lib/rpm2swidtag.egg-info/top_level.txt reading manifest file 'lib/rpm2swidtag.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'lib/rpm2swidtag.egg-info/SOURCES.txt' Copying lib/rpm2swidtag.egg-info to /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11/site-packages/rpm2swidtag-0.8.15-py3.11.egg-info running install_scripts creating /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/bin copying build/scripts-3.11/swidq -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/bin copying build/scripts-3.11/dnf-plugin-swidtags-update-from-0.7 -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/bin copying build/scripts-3.11/rpm2swidtag -> /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/bin/swidq to 755 changing mode of /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/bin/dnf-plugin-swidtags-update-from-0.7 to 755 changing mode of /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/bin/rpm2swidtag to 755 + rm -rfv /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.8.15-3.fc38 --unique-debug-suffix -0.8.15-3.fc38.x86_64 --unique-debug-src-base swid-tools-0.8.15-3.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rpm2swidtag-0.8.15 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/bin/dnf-plugin-swidtags-update-from-0.7 from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.M3KLcO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/rpm2swidtag-0.8.15/.package_note-swid-tools-0.8.15-3.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh swid-tools 0.8.15-3.fc38 x86_64 + cd rpm2swidtag-0.8.15 + ./test.sh + '[' -L tests/swiddata1/symlinked ']' + rm -rf tests/swiddata1/symlinked + ln -s ../swiddata3/b.test tests/swiddata1/symlinked + mkdir -p tmp + '[' '' = true ']' + export PYTHONPATH=lib + PYTHONPATH=lib + BIN=./bin + RPM2SWIDTAG_OPTS=--config=tests/rpm2swidtag.conf ++ pwd + RPM2SWIDTAG_OPTS2=--config=/builddir/build/BUILD/rpm2swidtag-0.8.15/tests/rpm2swidtag.conf + RPM2SWIDTAG_OPTS3='--config ./tests/rpm2swidtag.conf' + DNF_ROOT=tmp/dnfroot ++ pwd + DNF_OPTS='--installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf' + cp -rp tests/dnf-plugins-conf tmp + DNF_PLUGIN_CONF=tmp/dnf-plugins-conf/swidtags.conf + cp -f tmp/dnf-plugins-conf/swidtags.conf.in tmp/dnf-plugins-conf/swidtags.conf + RPM2SWIDTAG_XSLT1=tests/xslt/swidtag.xslt + RPM2SWIDTAG_XSLT2=tests/xslt/swidtag-fail.xslt + SWIDQ_STYLESHEET_DIR1=. ++ pwd + SWIDQ_STYLESHEET_DIR2=/builddir/build/BUILD/rpm2swidtag-0.8.15 + SWIDQ_OPTS='-c tests/swidq.conf' + SWIDQ_OPTS2='-c tests/swidq.conf' ++ pwd + SWIDQ_OPTS3='-c /builddir/build/BUILD/rpm2swidtag-0.8.15/tests/swidq.conf' + SWIDQ_STYLESHEET_SUP=tests/swidq-xml-supplemental-structure.xslt + '[' 1000 '!=' 0 ']' + FAKEROOT=fakeroot + FAKECHROOT=fakechroot + ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf -p tests/rpms/x86_64/pkg1-1.2.0-1.fc28.x86_64.rpm + normalize + sed 's/$##' tmp/output-dir/signed-internal/test.example.pkg1-1.2.0-1.fc28.x86_64-rpm-fc67230522bd0a0d030568a8cfb108419cd51f173753ff2ef618a42bbfa29096.swidtag tmp/output-dir/signed-internal/test.example.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag tmp/output-dir/signed-internal/test.example.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag tmp/output-dir/signed-internal/test.example.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag ++ pwd + _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/rpmdb + ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf --tag-creator=example.test --output-dir=tmp/output-dir/sign-input/. -a --preserve-signing-template --authoritative + mkdir tmp/output-dir/signed-pkcs12 tmp/output-dir/signed-pem + cd tmp/output-dir/sign-input + read i + ls + xmlsec1 --sign --pkcs12 tests/signing/test.pkcs12 --pwd password8263 --enabled-reference-uris empty tmp/output-dir/sign-input/test.example.pkg1-1.2.0-1.fc28.x86_64-rpm-fc67230522bd0a0d030568a8cfb108419cd51f173753ff2ef618a42bbfa29096.swidtag + xmllint --format - + xmlsec1 --sign --privkey-pem tests/signing/test.key,tests/signing/test-ca.crt,tests/signing/test.crt --enabled-reference-uris empty tmp/output-dir/sign-input/test.example.pkg1-1.2.0-1.fc28.x86_64-rpm-fc67230522bd0a0d030568a8cfb108419cd51f173753ff2ef618a42bbfa29096.swidtag + xmllint --format - + read i + xmlsec1 --sign --pkcs12 tests/signing/test.pkcs12 --pwd password8263 --enabled-reference-uris empty tmp/output-dir/sign-input/test.example.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag + xmllint --format - + xmlsec1 --sign --privkey-pem tests/signing/test.key,tests/signing/test-ca.crt,tests/signing/test.crt --enabled-reference-uris empty tmp/output-dir/sign-input/test.example.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag + xmllint --format - + read i + xmlsec1 --sign --pkcs12 tests/signing/test.pkcs12 --pwd password8263 --enabled-reference-uris empty tmp/output-dir/sign-input/test.example.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag + xmllint --format - + xmlsec1 --sign --privkey-pem tests/signing/test.key,tests/signing/test-ca.crt,tests/signing/test.crt --enabled-reference-uris empty tmp/output-dir/sign-input/test.example.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag + xmllint --format - + read i + xmlsec1 --sign --pkcs12 tests/signing/test.pkcs12 --pwd password8263 --enabled-reference-uris empty tmp/output-dir/sign-input/test.example.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag + xmllint --format - + xmlsec1 --sign --privkey-pem tests/signing/test.key,tests/signing/test-ca.crt,tests/signing/test.crt --enabled-reference-uris empty tmp/output-dir/sign-input/test.example.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag + xmllint --format - + read i + for i in tmp/output-dir/signed-internal/* + xmlsec1 --verify --trusted-pem tests/signing/test-ca.crt tmp/output-dir/signed-internal/test.example.pkg1-1.2.0-1.fc28.x86_64-rpm-fc67230522bd0a0d030568a8cfb108419cd51f173753ff2ef618a42bbfa29096.swidtag OK SignedInfo References (ok/all): 1/1 Manifests References (ok/all): 0/0 + for i in tmp/output-dir/signed-internal/* + xmlsec1 --verify --trusted-pem tests/signing/test-ca.crt tmp/output-dir/signed-internal/test.example.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag OK SignedInfo References (ok/all): 1/1 Manifests References (ok/all): 0/0 + for i in tmp/output-dir/signed-internal/* + xmlsec1 --verify --trusted-pem tests/signing/test-ca.crt tmp/output-dir/signed-internal/test.example.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag OK SignedInfo References (ok/all): 1/1 Manifests References (ok/all): 0/0 + for i in tmp/output-dir/signed-internal/* + xmlsec1 --verify --trusted-pem tests/signing/test-ca.crt tmp/output-dir/signed-internal/test.example.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag OK SignedInfo References (ok/all): 1/1 Manifests References (ok/all): 0/0 + diff -ru tmp/output-dir/signed-internal tests/pkg-signed + diff -ru tmp/output-dir/signed-pkcs12 tests/pkg-signed + diff -ru tmp/output-dir/signed-pem tests/pkg-signed + rm -rf tmp/output-dir ++ pwd + _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/rpmdb + ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf --tag-creator=loong-tag-creator-regid-resulting-filename-will-fit-max-filename-length-on-fuse-overlayfs-of-251-bytes --output-dir=tmp/output-dir pkg1-1.3.0 ++ pwd + _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/rpmdb + ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf --tag-creator=loong-tag-creator-regid-result-filename-would-exceed-max-filename-length-on-fuse-overlayfs-of-251-bytes --output-dir=tmp/output-dir pkg1-1.3.0 + test -f tmp/output-dir/loong-tag-creator-regid-resulting-filename-will-fit-max-filename-length-on-fuse-overlayfs-of-251-bytes/loong-tag-creator-regid-resulting-filename-will-fit-max-filename-length-on-fuse-overlayfs-of-251-bytes.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag + test -f tmp/output-dir/loong-tag-creator-regid-result-filename-would-exceed-max-filename-length-on-fuse-overlayfs-of-251-bytes/loong-tag-creator-regid-result-filename-would-exceed-max-filename-length-on-fuse-overlayfs-of-251-bytes.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag + test -f tmp/output-dir/loong-tag-creator-regid-result-filename-would-exceed-max-filename-length-on-fuse-overlayfs-of-251-bytes/5769b46cd9b19414d6b9b4cf266afd4585116122987f592d44e19b3b8b5c982c-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag +++ pwd ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/rpmdb ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf --print-tagid pkg1 + OUT='unavailable.invalid.pkg1-1.2.0-1.fc28.x86_64 unavailable.invalid.pkg1-1.3.0-1.fc28.x86_64 + unavailable.invalid.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64' ++ echo -e 'unavailable.invalid.pkg1-1.2.0-1.fc28.x86_64\nunavailable.invalid.pkg1-1.3.0-1.fc28.x86_64\n+ unavailable.invalid.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64' + test 'unavailable.invalid.pkg1-1.2.0-1.fc28.x86_64 unavailable.invalid.pkg1-1.3.0-1.fc28.x86_64 + unavailable.invalid.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64' == 'unavailable.invalid.pkg1-1.2.0-1.fc28.x86_64 unavailable.invalid.pkg1-1.3.0-1.fc28.x86_64 + unavailable.invalid.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64' + set +e ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf -p nonexistent + OUT='./bin/rpm2swidtag: Error reading rpm file [nonexistent]: No such file or directory' + ERR=3 + set -e + test 3 -eq 3 + test './bin/rpm2swidtag: Error reading rpm file [nonexistent]: No such file or directory' == './bin/rpm2swidtag: Error reading rpm file [nonexistent]: No such file or directory' + set +e ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf -p /dev/null + OUT='./bin/rpm2swidtag: Error reading rpm file [/dev/null]: error reading package header' + ERR=3 + set -e + test 3 -eq 3 + test './bin/rpm2swidtag: Error reading rpm file [/dev/null]: error reading package header' == './bin/rpm2swidtag: Error reading rpm file [/dev/null]: error reading package header' + set +e ++ RPM2SWIDTAG_XSLT=nonexistent ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf -p tests/rpms/x86_64/pkg1-1.2.0-1.fc28.x86_64.rpm + OUT='./bin/rpm2swidtag: Error reading processing XSLT file [nonexistent]: Error reading file '\''nonexistent'\'': failed to load external entity "nonexistent"' + ERR=5 + set -e + test 5 -eq 5 + test './bin/rpm2swidtag: Error reading processing XSLT file [nonexistent]: Error reading file '\''nonexistent'\'': failed to load external entity "nonexistent"' == './bin/rpm2swidtag: Error reading processing XSLT file [nonexistent]: Error reading file '\''nonexistent'\'': failed to load external entity "nonexistent"' + set +e ++ RPM2SWIDTAG_XSLT=tests/xslt/swidtag-fail.xslt ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf -p tests/rpms/x86_64/pkg1-1.2.0-1.fc28.x86_64.rpm + OUT='./bin/rpm2swidtag: Error generating SWID tag for file [tests/rpms/x86_64/pkg1-1.2.0-1.fc28.x86_64.rpm]: Unknown header tag [broken] requested by XSLT stylesheet: unknown header tag' + ERR=6 + set -e + test 6 -eq 6 + test './bin/rpm2swidtag: Error generating SWID tag for file [tests/rpms/x86_64/pkg1-1.2.0-1.fc28.x86_64.rpm]: Unknown header tag [broken] requested by XSLT stylesheet: unknown header tag' == './bin/rpm2swidtag: Error generating SWID tag for file [tests/rpms/x86_64/pkg1-1.2.0-1.fc28.x86_64.rpm]: Unknown header tag [broken] requested by XSLT stylesheet: unknown header tag' + set +e +++ pwd ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/rpmdb ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf x + OUT='./bin/rpm2swidtag: No package [x] found in database' + ERR=7 + set -e + test 7 -eq 7 + test './bin/rpm2swidtag: No package [x] found in database' == './bin/rpm2swidtag: No package [x] found in database' + set +e +++ pwd ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/rpmdb ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf 'pkg*' + OUT='./bin/rpm2swidtag: No package [pkg*] found in database' + ERR=7 + set -e + test 7 -eq 7 + test './bin/rpm2swidtag: No package [pkg*] found in database' == './bin/rpm2swidtag: No package [pkg*] found in database' + set +e +++ pwd ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/rpmdb ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf -a 'x*' + OUT='./bin/rpm2swidtag: No package [x*] found in database' + ERR=7 + set -e + test 7 -eq 7 + test './bin/rpm2swidtag: No package [x*] found in database' == './bin/rpm2swidtag: No package [x*] found in database' + set +e +++ pwd ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/rpmdb ++ ./bin/rpm2swidtag --config=tests/rpm2swidtag.conf pkg1 x pkg2 + OUT='./bin/rpm2swidtag: No package [x] found in database' + ERR=7 + set -e + test 7 -eq 7 + normalize_i /tmp/pkg-generated.swidtag + sed -i 's/ Starting dependency resolution ---> Package pkg1.x86_64 1.2.0-1.fc28 will be installed ---> Package pkgdep.noarch 1.0.0-1.fc28 will be installed --> Finished dependency resolution timer: depsolve: 4 ms Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: pkg1 x86_64 1.2.0-1.fc28 local 8.4 k Installing dependencies: pkgdep noarch 1.0.0-1.fc28 local 6.5 k Transaction Summary ================================================================================ Install 2 Packages Total size: 15 k Installed size: 177 Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. timer: transaction test: 2 ms Running transaction RPMDB altered outside of DNF. RPM transaction start. Preparing : 1/1 Installed: pkgdep-1.0.0-1.fc28.noarch Installing : pkgdep-1.0.0-1.fc28.noarch 1/2 Installed: pkg1-1.2.0-1.fc28.x86_64 Installing : pkg1-1.2.0-1.fc28.x86_64 2/2 RPM transaction over. Verifying : pkg1-1.2.0-1.fc28.x86_64 1/2 Verifying : pkgdep-1.0.0-1.fc28.noarch 2/2 timer: verify transaction: 1 ms timer: transaction: 11 ms Installed: pkg1-1.2.0-1.fc28.x86_64 Installed: pkgdep-1.0.0-1.fc28.noarch Installed: pkg1-1.2.0-1.fc28.x86_64 pkgdep-1.0.0-1.fc28.noarch Complete! Cleaning up. + test -L tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + test -d tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + sed -i 's/^# rpm2swidtag_command/rpm2swidtag_command/' tmp/dnf-plugins-conf/swidtags.conf + fakeroot dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf swidtags sync Unable to detect release version (use '--releasever' to specify release version) timer: config: 2 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf swidtags sync Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: swidtags Extra commands: ['--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', 'swidtags', 'sync'] User-Agent: constructed: 'libdnf (Fedora Linux 38; generic; Linux.x86_64)' timer: sack setup: 7 ms Running bin/rpm2swidtag --config=tests/rpm2swidtag.conf for ['pkgdep-1.0.0-1.fc28.noarch', 'pkg1-1.2.0-1.fc28.x86_64'] ... Cleaning up. + test -L tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + test -d tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + echo 'f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 tmp/dnfroot/usr/share/testdir/testfile' + sha256sum -c tmp/dnfroot/usr/share/testdir/testfile: OK + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkg1-1.2.0-1.fc28.x86_64-rpm-fc67230522bd0a0d030568a8cfb108419cd51f173753ff2ef618a42bbfa29096.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + fakeroot dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf swidtags purge Unable to detect release version (use '--releasever' to specify release version) timer: config: 2 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf swidtags purge Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: swidtags Extra commands: ['--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', 'swidtags', 'purge'] User-Agent: constructed: 'libdnf (Fedora Linux 38; generic; Linux.x86_64)' timer: sack setup: 7 ms Removed 3 generated files from /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated Cleaning up. + test -L tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + test -d tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated + fakeroot dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf swidtags purge + grep Failed + fakeroot dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf swidtags sync Unable to detect release version (use '--releasever' to specify release version) timer: config: 3 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf swidtags sync Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: swidtags Extra commands: ['--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', 'swidtags', 'sync'] User-Agent: constructed: 'libdnf (Fedora Linux 38; generic; Linux.x86_64)' timer: sack setup: 6 ms Running bin/rpm2swidtag --config=tests/rpm2swidtag.conf for ['pkgdep-1.0.0-1.fc28.noarch', 'pkg1-1.2.0-1.fc28.x86_64'] ... Cleaning up. + test -L tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkg1-1.2.0-1.fc28.x86_64-rpm-fc67230522bd0a0d030568a8cfb108419cd51f173753ff2ef618a42bbfa29096.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag ++ ls -i tmp/repo/repodata/repomd.xml + REPOMD_INODE='17063 tmp/repo/repodata/repomd.xml' + touch tmp/repo/repodata/z-swidtags.xml.gz + sleep 1.5 + touch tmp/repo/repodata/a-swidtags.xml.gz + sleep 1.5 + touch tmp/repo/repodata/c-swidtags.xml.gz + umask 022 + ./bin/rpm2swidtag --repo=tmp/repo --config=tests/rpm2swidtag.conf --authoritative --tag-creator 'example/test Example Org.' --software-creator 'other.test Other Org.' --sign-pem=tests/signing/test.key,tests/signing/test-ca.crt,tests/signing/test.crt --retain-old-md 2 + zcat tmp/repo/repodata/d1f2d9adca07c9a728096e749eac546664dd61adf677ff9effe56015536ef69b-swidtags.xml.gz + diff tests/repodata-swidtags.xml tmp/repo/swidtags.xml ++ ls -i tmp/repo/repodata/repomd.xml + test '17063 tmp/repo/repodata/repomd.xml' '!=' '17151 tmp/repo/repodata/repomd.xml' + ls -l tmp/repo/repodata/repomd.xml + grep '^-rw-r--r--' -rw-r--r--. 1 mockbuild mock 3534 Aug 16 11:38 tmp/repo/repodata/repomd.xml + test -f tmp/repo/repodata/z-swidtags.xml.gz + test -f tmp/repo/repodata/a-swidtags.xml.gz + test -f tmp/repo/repodata/c-swidtags.xml.gz + ./bin/rpm2swidtag --repo=tmp/repo --config=tests/rpm2swidtag.conf --authoritative --tag-creator 'example/test Example Org.' --software-creator 'other.test Other Org.' --sign-pem=tests/signing/test.key,tests/signing/test-ca.crt,tests/signing/test.crt + zcat tmp/repo/repodata/d1f2d9adca07c9a728096e749eac546664dd61adf677ff9effe56015536ef69b-swidtags.xml.gz + diff tests/repodata-swidtags.xml tmp/repo/swidtags.xml + test -f tmp/repo/repodata/a-swidtags.xml.gz + test -f tmp/repo/repodata/c-swidtags.xml.gz + fakechroot fakeroot dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf clean expire-cache Unable to detect release version (use '--releasever' to specify release version) timer: config: 2 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf clean expire-cache Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: clean Extra commands: ['--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', 'clean', 'expire-cache'] Cleaning data: expire-cache Cache was expired 0 files removed Cleaning up. + fakechroot fakeroot dnf --forcearch=x86_64 --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf --repofrompath local,tmp/repo upgrade -y Unable to detect release version (use '--releasever' to specify release version) timer: config: 2 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --forcearch=x86_64 --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf --repofrompath local,tmp/repo upgrade -y Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: upgrade Extra commands: ['--forcearch=x86_64', '--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', '--repofrompath', 'local,tmp/repo', 'upgrade', '-y'] Added local repo from tmp/repo Will ask for SWID tags download for ['file:///builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/repo'] User-Agent: constructed: 'libdnf (Fedora Linux 38; generic; Linux.x86_64)' local 3.4 MB/s | 3.5 kB 00:00 reviving: failed for 'local', mismatched repomd. repo: downloading from remote: local local 11 MB/s | 12 kB 00:00 local: using metadata from Tue Aug 16 11:38:03 2022. timer: sack setup: 11 ms --> Starting dependency resolution ---> Package pkg1.x86_64 1.2.0-1.fc28 will be upgraded ---> Package pkg1.x86_64 1.3.0-1.fc28 will be an upgrade --> Finished dependency resolution timer: depsolve: 1 ms Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Upgrading: pkg1 x86_64 1.3.0-1.fc28 local 7.7 k Transaction Summary ================================================================================ Upgrade 1 Package Total size: 7.7 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. timer: transaction test: 1 ms Running transaction RPM transaction start. Preparing : 1/1 Upgrade: pkg1-1.3.0-1.fc28.x86_64 Upgrading : pkg1-1.3.0-1.fc28.x86_64 1/2 Upgraded: pkg1-1.2.0-1.fc28.x86_64 Cleanup : pkg1-1.2.0-1.fc28.x86_64 2/2 RPM transaction over. Verifying : pkg1-1.3.0-1.fc28.x86_64 1/2 Verifying : pkg1-1.2.0-1.fc28.x86_64 2/2 timer: verify transaction: 1 ms timer: transaction: 9 ms Retrieved SWID tag from repodata for pkg1-1.3.0-1.fc28.x86_64: example/test.pkg1-1.3.0-1.fc28.x86_64 Retrieved SWID tag from repodata for pkg1-1.3.0-1.fc28.x86_64: example/test.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64 Upgraded: pkg1-1.3.0-1.fc28.x86_64 Upgraded: pkg1-1.3.0-1.fc28.x86_64 Complete! Cleaning up. + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + test -f 'tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/*.pkg1-1.2.0-1.fc28.x86_64-rpm-fc67230522bd0a0d030568a8cfb108419cd51f173753ff2ef618a42bbfa29096.swidtag' + test -f 'tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/*.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' + test -f 'tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/*.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' + test -d 'tmp/dnfroot/var/lib/swidtag/example^2ftest' + wc -l + ls -l 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' + grep '^2$' + tee /dev/stderr tee: /dev/stderr: Permission denied 2 + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' + wc -l + grep '^2$' + tee /dev/stderr tee: /dev/stderr: Permission denied + ls -l 'tmp/dnfroot/etc/swid/swidtags.d/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' 'tmp/dnfroot/etc/swid/swidtags.d/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' 2 + for i in $DNF_ROOT/usr/lib/swidtag/example^2ftest/* + xmlsec1 --verify --trusted-pem tests/signing/test-ca.crt 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' OK SignedInfo References (ok/all): 1/1 Manifests References (ok/all): 0/0 + for i in $DNF_ROOT/usr/lib/swidtag/example^2ftest/* + xmlsec1 --verify --trusted-pem tests/signing/test-ca.crt 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' OK SignedInfo References (ok/all): 1/1 Manifests References (ok/all): 0/0 + fakechroot fakeroot dnf --forcearch=x86_64 --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf install -y tmp/repo-base/pkg2-0.0.1-1.git0f5628a6.fc28.x86_64.rpm Unable to detect release version (use '--releasever' to specify release version) timer: config: 2 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --forcearch=x86_64 --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf install -y tmp/repo-base/pkg2-0.0.1-1.git0f5628a6.fc28.x86_64.rpm Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: install Extra commands: ['--forcearch=x86_64', '--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', 'install', '-y', 'tmp/repo-base/pkg2-0.0.1-1.git0f5628a6.fc28.x86_64.rpm'] User-Agent: constructed: 'libdnf (Fedora Linux 38; generic; Linux.x86_64)' timer: sack setup: 6 ms --> Starting dependency resolution ---> Package pkg2.x86_64 13:0.0.1-1.git0f5628a6.fc28 will be installed --> Finished dependency resolution timer: depsolve: 1 ms Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: pkg2 x86_64 13:0.0.1-1.git0f5628a6.fc28 @commandline 6.1 k Transaction Summary ================================================================================ Install 1 Package Total size: 6.1 k Installed size: 0 Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. timer: transaction test: 1 ms Running transaction RPM transaction start. Preparing : 1/1 Installed: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Installing : pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 1/1 RPM transaction over. Verifying : pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 1/1 timer: verify transaction: 1 ms timer: transaction: 5 ms Running bin/rpm2swidtag --config=tests/rpm2swidtag.conf for ['pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64'] ... Installed: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Installed: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Complete! Cleaning up. + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag + wc -l + ls -l 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' + grep '^2$' + tee /dev/stderr tee: /dev/stderr: Permission denied 2 + fakechroot fakeroot dnf --forcearch=x86_64 --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf --repofrompath local,tmp/repo reinstall -y pkg2 Unable to detect release version (use '--releasever' to specify release version) timer: config: 2 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --forcearch=x86_64 --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf --repofrompath local,tmp/repo reinstall -y pkg2 Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: reinstall Extra commands: ['--forcearch=x86_64', '--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', '--repofrompath', 'local,tmp/repo', 'reinstall', '-y', 'pkg2'] Added local repo from tmp/repo Will ask for SWID tags download for ['file:///builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/repo'] User-Agent: constructed: 'libdnf (Fedora Linux 38; generic; Linux.x86_64)' repo: using cache for: local local: using metadata from Tue Aug 16 11:38:03 2022. Last metadata expiration check: 0:00:01 ago on Tue Aug 16 11:38:03 2022. timer: sack setup: 11 ms --> Starting dependency resolution ---> Package pkg2.x86_64 13:0.0.1-1.git0f5628a6.fc28 will be reinstalled --> Finished dependency resolution timer: depsolve: 2 ms Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Reinstalling: pkg2 x86_64 13:0.0.1-1.git0f5628a6.fc28 local 6.1 k Transaction Summary ================================================================================ Total size: 6.1 k Installed size: 0 Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. timer: transaction test: 1 ms Running transaction RPM transaction start. Preparing : 1/1 Reinstall: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Reinstalling : pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 1/2 Reinstalled: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Cleanup : pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 2/2 RPM transaction over. Verifying : pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 1/2 Verifying : pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 2/2 timer: verify transaction: 2 ms timer: transaction: 10 ms Retrieved SWID tag from repodata for pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64: example/test.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Reinstalled: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Reinstalled: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Complete! Cleaning up. + test -f 'tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/*.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag' + ls -l 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag' + grep '^3$' + wc -l + tee /dev/stderr tee: /dev/stderr: Permission denied 3 + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag' + fakechroot fakeroot dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf remove -y pkg1 Unable to detect release version (use '--releasever' to specify release version) timer: config: 3 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf remove -y pkg1 Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: remove Extra commands: ['--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', 'remove', '-y', 'pkg1'] User-Agent: constructed: 'libdnf (Fedora Linux 38; generic; Linux.x86_64)' timer: sack setup: 7 ms --> Starting dependency resolution --> Finding unneeded leftover dependencies ---> Package pkg1.x86_64 1.3.0-1.fc28 will be erased --> Finished dependency resolution timer: depsolve: 2 ms Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Removing: pkg1 x86_64 1.3.0-1.fc28 @local 27 Transaction Summary ================================================================================ Remove 1 Package Freed space: 27 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. timer: transaction test: 2 ms Running transaction RPM transaction start. Preparing : 1/1 Erase: pkg1-1.3.0-1.fc28.x86_64 Erasing : pkg1-1.3.0-1.fc28.x86_64 1/1 RPM transaction over. Verifying : pkg1-1.3.0-1.fc28.x86_64 1/1 timer: verify transaction: 2 ms timer: transaction: 11 ms Removed: pkg1-1.3.0-1.fc28.x86_64 Removed: pkg1-1.3.0-1.fc28.x86_64 Complete! Cleaning up. + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + ls -l 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag' + grep '^1$' + wc -l + tee /dev/stderr tee: /dev/stderr: Permission denied 1 + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-85a1c1a1f8ce5e66c4371d518dd716b2c289c5dea15bed8a3046970d02566e1a.swidtag' + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag' + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/d87aaf574fc54315ab2aad113e7ba05c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag + echo need-regen + grep -r need-regen 'tmp/dnfroot/usr/lib/swidtag/example^2ftest' tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag:need-regen + fakeroot dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf --repofrompath local,tmp/repo swidtags sync Unable to detect release version (use '--releasever' to specify release version) timer: config: 2 ms Loaded plugins: swidtags DNF version: 4.13.0 Command: dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf --repofrompath local,tmp/repo swidtags sync Installroot: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/cache/dnf Base command: swidtags Extra commands: ['--setopt=reposdir=/dev/null', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot', '--config=tests/dnf.conf', '--repofrompath', 'local,tmp/repo', 'swidtags', 'sync'] Added local repo from tmp/repo Will ask for SWID tags download for ['file:///builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/repo'] User-Agent: constructed: 'libdnf (Fedora Linux 38; generic; Linux.x86_64)' repo: using cache for: local local: using metadata from Tue Aug 16 11:38:03 2022. Last metadata expiration check: 0:00:02 ago on Tue Aug 16 11:38:03 2022. timer: sack setup: 8 ms Removed 2 generated files from /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated Retrieved SWID tag from repodata for pkgdep-1.0.0-1.fc28.noarch: example/test.pkgdep-1.0.0-1.fc28.noarch Retrieved SWID tag from repodata for pkgdep-1.0.0-1.fc28.noarch: example/test.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64 Retrieved SWID tag from repodata for pkg2-0.0.1-1.git0f5628a6.fc28.x86_64: example/test.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Cleaning up. + '[' '' = true ']' + test -L tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + test -d tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + grep '^3$' + ls -l 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64-rpm-a837a0715aeebaae7125ae56bcd1e347146cbc4cfc24aef99837ca693182166f.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkgdep-1.0.0-1.fc28.noarch-rpm-e68d051de967c5db82e1f00c8bc8510acaed3855b1cc19b2a81eb1a353eedcf0.swidtag' + wc -l + tee /dev/stderr tee: /dev/stderr: Permission denied 3 + grep -r need-regen 'tmp/dnfroot/usr/lib/swidtag/example^2ftest' + diff -u /dev/fd/63 /dev/fd/62 ++ sed -n '/SWID/,/^optional/!b;/^optional\|General DNF options/q;p' ++ sed -n '/^Maintain SWID tags/,/positional/{/positional/T;p}' README.md ++ PYTHONPATH=lib ++ dnf --setopt=reposdir=/dev/null --installroot /builddir/build/BUILD/rpm2swidtag-0.8.15/tmp/dnfroot --config=tests/dnf.conf swidtags --help Unable to detect release version (use '--releasever' to specify release version) OK. + echo OK. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: swid-tools-0.8.15-3.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mF7mRR + umask 022 + cd /builddir/build/BUILD + cd rpm2swidtag-0.8.15 + DOCDIR=/builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/doc/swid-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/doc/swid-tools + cp -pr README.md /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/doc/swid-tools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oAuBbr + umask 022 + cd /builddir/build/BUILD + cd rpm2swidtag-0.8.15 + LICENSEDIR=/builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/licenses/swid-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/licenses/swid-tools + cp -pr LICENSE /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64/usr/share/licenses/swid-tools + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(swid-tools) = 0.8.15-3.fc38 python3.11dist(rpm2swidtag) = 0.8.15 python3dist(rpm2swidtag) = 0.8.15 rpm2swidtag = 0.8.15-3.fc38 swid-tools = 0.8.15-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.11 python3.11dist(lxml) python3.11dist(rpm) Obsoletes: rpm2swidtag < 0.7.2 Processing files: dnf-plugin-swidtags-0.8.15-3.fc38.noarch Provides: config(dnf-plugin-swidtags) = 0.8.15-3.fc38 dnf-plugin-swidtags = 0.8.15-3.fc38 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /usr/bin/bash python(abi) = 3.11 Recommends: dnf Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64 Wrote: /builddir/build/RPMS/dnf-plugin-swidtags-0.8.15-3.fc38.noarch.rpm Wrote: /builddir/build/RPMS/swid-tools-0.8.15-3.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4WBhjf + umask 022 + cd /builddir/build/BUILD + cd rpm2swidtag-0.8.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/swid-tools-0.8.15-3.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Fn5IlM + umask 022 + cd /builddir/build/BUILD + rm -rf rpm2swidtag-0.8.15 rpm2swidtag-0.8.15.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0