Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rpm2swidtag.spec'], chrootPath='/var/lib/mock/881288-fedora-rawhide-i386-1554878501.059451/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ym8yrip_:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fd6b925fd689488c99299282b5fd1598', '-D', '/var/lib/mock/881288-fedora-rawhide-i386-1554878501.059451/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ym8yrip_:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rpm2swidtag.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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/rpm2swidtag-0.7.4-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/rpm2swidtag.spec'], chrootPath='/var/lib/mock/881288-fedora-rawhide-i386-1554878501.059451/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ym8yrip_:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7edd8f18bda44d429a94cf738d28cc6c', '-D', '/var/lib/mock/881288-fedora-rawhide-i386-1554878501.059451/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ym8yrip_:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/rpm2swidtag.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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9QXigw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpm2swidtag-0.7.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpm2swidtag-0.7.4.tar.gz + /usr/bin/tar -xvvof - drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/ -rw-rw-r-- root/root 299 2019-04-10 06:40 rpm2swidtag-0.7.4/setup.cfg drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/bin/ -rwxrwxr-x root/root 7252 2019-04-10 06:38 rpm2swidtag-0.7.4/bin/swidq -rwxrwxr-x root/root 8923 2019-04-10 06:38 rpm2swidtag-0.7.4/bin/rpm2swidtag -rw-rw-r-- root/root 6361 2019-04-10 06:38 rpm2swidtag-0.7.4/README.md -rw-rw-r-- root/root 10629 2019-04-10 06:38 rpm2swidtag-0.7.4/swidtag.xslt drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/ drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/rpm2swidtag.egg-info/ -rw-r--r-- root/root 9 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/rpm2swidtag.egg-info/requires.txt -rw-r--r-- root/root 30 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/rpm2swidtag.egg-info/top_level.txt -rw-r--r-- root/root 1 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/rpm2swidtag.egg-info/dependency_links.txt -rw-r--r-- root/root 886 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/rpm2swidtag.egg-info/PKG-INFO -rw-r--r-- root/root 5198 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/rpm2swidtag.egg-info/SOURCES.txt drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/dnf-plugins/ -rw-rw-r-- root/root 9909 2019-04-10 06:38 rpm2swidtag-0.7.4/lib/dnf-plugins/swidtags.py drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/swidq/ -rw-rw-r-- root/root 11046 2019-04-10 06:38 rpm2swidtag-0.7.4/lib/swidq/__init__.py drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/lib/rpm2swidtag/ -rw-rw-r-- root/root 3219 2019-04-10 06:38 rpm2swidtag-0.7.4/lib/rpm2swidtag/__init__.py -rw-rw-r-- root/root 2538 2019-04-10 06:38 rpm2swidtag-0.7.4/lib/rpm2swidtag/payload.py -rw-rw-r-- root/root 7152 2019-04-10 06:38 rpm2swidtag-0.7.4/lib/rpm2swidtag/repodata.py -rw-rw-r-- root/root 1263 2019-04-10 06:38 rpm2swidtag-0.7.4/lib/rpm2swidtag/rpm.py drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/dnf/ drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/dnf/plugins/ -rw-rw-r-- root/root 19 2019-04-10 06:38 rpm2swidtag-0.7.4/dnf/plugins/swidtags.conf drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/ drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata2/ -rw-rw-r-- root/root 461 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata2/distro-minor-supplemental.info -rw-rw-r-- root/root 590 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata2/missing-tag-supplemental.swidtag -rw-rw-r-- root/root 552 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata2/distro-minor-supplemental-2.swidtag -rw-rw-r-- root/root 1027 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata2/qkg1.swidtag -rw-rw-r-- root/root 576 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata2/distro-minor-supplemental.swidtag -rw-rw-r-- root/root 1050 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata2/pkg3.swidtag drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/pkg-signed/ -rw-rw-r-- root/root 7776 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg-signed/test.example.pkg1-1.2.0-1.fc28.x86_64.swidtag -rw-rw-r-- root/root 6332 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg-signed/test.example.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag -rw-rw-r-- root/root 5881 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg-signed/test.example.pkg1-1.3.0-1.fc28.x86_64-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag -rw-rw-r-- root/root 7336 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg-signed/test.example.pkg1-1.3.0-1.fc28.x86_64.swidtag -rwxrwxr-x root/root 196 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/build.sh drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/dnf-plugins-conf/ -rw-rw-r-- root/root 115 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/dnf-plugins-conf/swidtags.conf drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata3/ drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata3/c.test/ -rw-rw-r-- root/root 1023 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata3/c.test/pkg3.swidtag drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata3/b.test/ -rw-rw-r-- root/root 1023 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata3/b.test/pkg3.swidtag -rw-rw-r-- root/root 48 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/dnf-swidq.conf drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/xslt/ -rw-rw-r-- root/root 724 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/xslt/swidtag.xslt -rw-rw-r-- root/root 335 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/xslt/swidtag-fail.xslt drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/hello-rpm/ -rw-rw-r-- root/root 9915 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/hello-rpm/hello-2.0-1.x86_64-signed.rpm -rw-rw-r-- root/root 4410 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/hello-rpm/hello-1.0-1.i386.rpm -rw-rw-r-- root/root 1740 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/hello-rpm/hello-2.0-1.x86_64-signed.swidtag -rw-rw-r-- root/root 1463 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/hello-rpm/hello-1.0-1.i386.swidtag drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swid_generator/ -rw-rw-r-- root/root 4060 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swid_generator/rpm2swidtag_bash.files -rw-rw-r-- root/root 19699 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swid_generator/swid_generator_bash.swidtag -rw-rw-r-- root/root 23080 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swid_generator/swid_generator_hierarchic_bash.swidtag -rw-rw-r-- root/root 6322 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swid_generator/swid_generator_hierarchic_bash.files -rw-rw-r-- root/root 5405 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swid_generator/swid_generator_bash.files -rw-rw-r-- root/root 20621 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swid_generator/rpm2swidtag_bash.swidtag -rwxrwxr-x root/root 1468 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/build-rpms.sh drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/signing/ -rw-rw-r-- root/root 1626 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/signing/test.csr -rw-rw-r-- root/root 41 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/signing/test-ca.srl -rw-rw-r-- root/root 3272 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/signing/test.key -rw-rw-r-- root/root 6870 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/signing/test-ca.crt -rw-rw-r-- root/root 3272 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/signing/test-ca.key -rw-rw-r-- root/root 5453 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/signing/test.pkcs12 -rw-rw-r-- root/root 201 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/signing/code-signing.config -rw-rw-r-- root/root 7141 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/signing/test.crt drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata1/ drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata1/sup/ -rw-rw-r-- root/root 664 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/s12.swidtag -rw-rw-r-- root/root 1272 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/sup.info -rw-rw-r-- root/root 899 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/s11.swidtag -rw-rw-r-- root/root 855 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/s2.swidtag -rw-rw-r-- root/root 1034 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/s1.swidtag -rw-rw-r-- root/root 606 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/p2.swidtag -rw-rw-r-- root/root 12016 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/sup.xml -rw-rw-r-- root/root 8936 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/sup.dump -rw-rw-r-- root/root 236 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/sup/p1.swidtag drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata1/symlinked/ -rw-rw-r-- root/root 1023 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/symlinked/pkg3.swidtag drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata1/a.test/ -rw-rw-r-- root/root 3039 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/pkg1-1.2.0-1.fc28.x86_64.dump -rw-rw-r-- root/root 181 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/minimal.info -rw-rw-r-- root/root 444 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/pkg1-1.2.0-1.fc28.x86_64.files -rw-rw-r-- root/root 240 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/minimal.swidtag -rw-rw-r-- root/root 360 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/distro.info -rw-rw-r-- root/root 664 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/distro.swidtag -rw-rw-r-- root/root 428 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/pkg1-1.2.0-1.fc28.x86_64.debug -rw-rw-r-- root/root 225 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/minimal.dump -rw-rw-r-- root/root 587 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/pkg1-1.2.0-1.fc28.x86_64.info -rw-rw-r-- root/root 1067 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/qkg1.swidtag -rw-rw-r-- root/root 1023 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/pkg3.swidtag -rw-rw-r-- root/root 2698 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata1/a.test/pkg1-1.2.0-1.fc28.x86_64.swidtag -rw-rw-r-- root/root 86 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/dnf.conf -rw-rw-r-- root/root 451 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swidq-xml-supplemental-structure.xslt -rw-rw-r-- root/root 67 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swidq.conf -rw-rw-r-- root/root 82 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swidtag-template-minimal.xml -rw-rw-r-- root/root 32 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpm2swidtag.conf -rw-rw-r-- root/root 1354 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swidq-swiddata1-swiddata2.out drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/gnupg/ -rw-rw-r-- root/root 1263 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/gnupg/secring.gpg drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/swiddata-wrong/ -rw-rw-r-- root/root 477 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata-wrong/wrong-schema.xml -rw-rw-r-- root/root 700 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata-wrong/SoftwareIdentity-in-SoftwareIdentity.swidtag -rw-rw-r-- root/root 431 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata-wrong/supplemental-without-attribute.swidtag -rw-rw-r-- root/root 603 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata-wrong/missing-tagId.xml -rw-rw-r-- root/root 376 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata-wrong/supplemental-without-link.swidtag -rw-rw-r-- root/root 190 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata-wrong/wrong-root.xml -rw-rw-r-- root/root 633 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swiddata-wrong/missing-name.xml -rw-rw-r-- root/root 970 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swidq-swiddata1.out drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/pkg2/ -rw-rw-r-- root/root 1254 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg2/pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag -rw-rw-r-- root/root 299 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg2/pkg2.spec -rw-rw-r-- root/root 285 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swidq-swiddata2.out -rw-rw-r-- root/root 107 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/Dockerfile -rw-rw-r-- root/root 952 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/swidtag-template-extra.xml drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/pkg1/ -rw-rw-r-- root/root 5 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/testfile -rw-rw-r-- root/root 748 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.3.0-1.fc28.x86_64.swidtag.supplemental-component-of-distro -rw-rw-r-- root/root 1545 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0.spec -rw-rw-r-- root/root 2707 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.deviceid.swidtag -rw-rw-r-- root/root 2756 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag.software-creator-regid -rw-rw-r-- root/root 2636 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.auth.xmlns.swidtag -rw-rw-r-- root/root 2811 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag.extra -rw-rw-r-- root/root 348 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag.minimal -rw-rw-r-- root/root 1145 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.3.0.spec -rw-rw-r-- root/root 2258 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.3.0-1.fc28.x86_64.swidtag -rw-rw-r-- root/root 2778 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag.software-regid-name-ref -rw-rw-r-- root/root 2679 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag.custom-tagid -rw-rw-r-- root/root 2694 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag.regid-name-ref -rw-rw-r-- root/root 2684 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag.regid -rw-rw-r-- root/root 2697 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag.regid-name -rw-rw-r-- root/root 1300 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.src.swidtag -rw-rw-r-- root/root 2698 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.swidtag -rw-rw-r-- root/root 2636 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkg1/pkg1-1.2.0-1.fc28.x86_64.auth.swidtag drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/rpm2swidtag.conf.d/ -rw-rw-r-- root/root 156 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpm2swidtag.conf.d/Example-OS.conf -rw-rw-r-- root/root 135 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpm2swidtag.conf.d/Some-Other-OS.conf -rw-rw-r-- root/root 54898 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/repodata-swidtags.xml drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/rpms/ drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/rpms/noarch/ -rw-rw-r-- root/root 6652 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpms/noarch/pkgdep-1.0.0-1.fc28.noarch.rpm drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/rpms/src/ -rw-rw-r-- root/root 6144 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpms/src/pkg2-0.0.1-1.git0f5628a6.fc28.src.rpm -rw-rw-r-- root/root 6193 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpms/src/pkgdep-1.0.0-1.fc28.src.rpm -rw-rw-r-- root/root 6636 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpms/src/pkg1-1.2.0-1.fc28.src.rpm -rw-rw-r-- root/root 6514 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpms/src/pkg1-1.3.0-1.fc28.src.rpm drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/rpms/x86_64/ -rw-rw-r-- root/root 7868 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpms/x86_64/pkg1-1.3.0-1.fc28.x86_64.rpm -rw-rw-r-- root/root 6236 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpms/x86_64/pkg2-0.0.1-1.git0f5628a6.fc28.x86_64.rpm -rw-rw-r-- root/root 8648 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/rpms/x86_64/pkg1-1.2.0-1.fc28.x86_64.rpm drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/tests/pkgdep/ -rw-rw-r-- root/root 441 2019-04-10 06:38 rpm2swidtag-0.7.4/tests/pkgdep/pkgdep.spec -rw-rw-r-- root/root 1676 2019-04-10 06:38 rpm2swidtag-0.7.4/swidtag-template.xml -rwxrwxr-x root/root 33157 2019-04-10 06:38 rpm2swidtag-0.7.4/test.sh -rw-rw-r-- root/root 39 2019-04-10 06:38 rpm2swidtag-0.7.4/swidq.conf -rw-rw-r-- root/root 859 2019-04-10 06:38 rpm2swidtag-0.7.4/rpm2swidtag-tagid.xslt -rw-rw-r-- root/root 48 2019-04-10 06:38 rpm2swidtag-0.7.4/rpm2swidtag.conf -rw-rw-r-- root/root 10215 2019-04-10 06:38 rpm2swidtag-0.7.4/swidq-info.xslt -rw-rw-r-- root/root 1662 2019-04-10 06:38 rpm2swidtag-0.7.4/setup.py -rw-r--r-- root/root 886 2019-04-10 06:40 rpm2swidtag-0.7.4/PKG-INFO -rw-rw-r-- root/root 2716 2019-04-10 06:38 rpm2swidtag-0.7.4/rpm2swidtag.xslt -rw-rw-r-- root/root 50 2019-04-10 06:38 rpm2swidtag-0.7.4/MANIFEST.in -rw-rw-r-- root/root 2115 2019-04-10 06:38 rpm2swidtag-0.7.4/swidq-files.xslt drwxr-xr-x root/root 0 2019-04-10 06:40 rpm2swidtag-0.7.4/rpm2swidtag.conf.d/ -rw-rw-r-- root/root 221 2019-04-10 06:38 rpm2swidtag-0.7.4/rpm2swidtag.conf.d/fedora-30.conf -rw-rw-r-- root/root 221 2019-04-10 06:38 rpm2swidtag-0.7.4/rpm2swidtag.conf.d/fedora-28.conf -rw-rw-r-- root/root 236 2019-04-10 06:38 rpm2swidtag-0.7.4/rpm2swidtag.conf.d/fedora-rawhide.conf -rw-rw-r-- root/root 221 2019-04-10 06:38 rpm2swidtag-0.7.4/rpm2swidtag.conf.d/fedora-29.conf -rw-rw-r-- root/root 3571 2019-04-10 06:38 rpm2swidtag-0.7.4/swidq-dump.xslt -rw-rw-r-- root/root 11358 2019-04-10 06:38 rpm2swidtag-0.7.4/LICENSE -rw-rw-r-- root/root 1506 2019-04-10 06:38 rpm2swidtag-0.7.4/swidq-xml.xslt + STATUS=0 + '[' 0 -ne 0 ']' + cd rpm2swidtag-0.7.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iRBHSt + umask 022 + cd /builddir/build/BUILD + cd rpm2swidtag-0.7.4 + python3 setup.py build running build running build_py BUILDSTDERR: package init file 'lib/dnf-plugins/__init__.py' not found (or not a regular file) 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.7 copying and adjusting bin/rpm2swidtag -> build/scripts-3.7 copying and adjusting bin/swidq -> build/scripts-3.7 changing mode of build/scripts-3.7/rpm2swidtag from 644 to 755 changing mode of build/scripts-3.7/swidq from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aMSyzx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386 + cd rpm2swidtag-0.7.4 + python3 setup.py install --single-version-externally-managed --single-version-externally-managed -O1 --root=/builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386 --record=INSTALLED_FILES running install running build running build_py BUILDSTDERR: package init file 'lib/dnf-plugins/__init__.py' not found (or not a regular file) running build_scripts running install_lib creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7 creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/swidq copying build/lib/swidq/__init__.py -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/swidq creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag copying build/lib/rpm2swidtag/__init__.py -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag copying build/lib/rpm2swidtag/payload.py -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag copying build/lib/rpm2swidtag/repodata.py -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag copying build/lib/rpm2swidtag/rpm.py -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/dnf-plugins copying build/lib/dnf-plugins/swidtags.py -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/dnf-plugins byte-compiling /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/swidq/__init__.py to __init__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag/__init__.py to __init__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag/payload.py to payload.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag/repodata.py to repodata.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag/rpm.py to rpm.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/dnf-plugins/swidtags.py to swidtags.cpython-37.pyc writing byte-compilation script '/tmp/tmpa5pxhihd.py' /usr/bin/python3 /tmp/tmpa5pxhihd.py removing /tmp/tmpa5pxhihd.py running install_data creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag copying rpm2swidtag.conf -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag copying swidtag-template.xml -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag copying swidtag.xslt -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag copying rpm2swidtag.xslt -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag copying rpm2swidtag-tagid.xslt -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-rawhide.conf -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-30.conf -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-29.conf -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag/rpm2swidtag.conf.d copying rpm2swidtag.conf.d/fedora-28.conf -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/rpm2swidtag/rpm2swidtag.conf.d creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/swid copying swidq.conf -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/swid creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/swid/swidtags.d creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/share creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/share/swidq creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/share/swidq/stylesheets copying swidq-info.xslt -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/share/swidq/stylesheets copying swidq-dump.xslt -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/share/swidq/stylesheets copying swidq-files.xslt -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/share/swidq/stylesheets copying swidq-xml.xslt -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/share/swidq/stylesheets creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/dnf creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/etc/dnf/plugins copying dnf/plugins/swidtags.conf -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/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' writing manifest file 'lib/rpm2swidtag.egg-info/SOURCES.txt' Copying lib/rpm2swidtag.egg-info to /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7/site-packages/rpm2swidtag-0.7.4-py3.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/bin copying build/scripts-3.7/swidq -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/bin copying build/scripts-3.7/rpm2swidtag -> /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/bin changing mode of /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/bin/swidq to 755 changing mode of /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/bin/rpm2swidtag to 755 writing list of installed files to 'INSTALLED_FILES' + sed -i 's#^/etc#%config(noreplace) /etc#' INSTALLED_FILES + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.7.4-1.fc31 --unique-debug-suffix -0.7.4-1.fc31.i386 --unique-debug-src-base rpm2swidtag-0.7.4-1.fc31.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpm2swidtag-0.7.4 BUILDSTDERR: 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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386/usr/lib/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.k7cJkv + umask 022 + cd /builddir/build/BUILD + cd rpm2swidtag-0.7.4 + ./test.sh + '[' -L tests/swiddata1/symlinked ']' + rm -rf tests/swiddata1/symlinked + ln -s ../swiddata3/b.test tests/swiddata1/symlinked + mkdir -p tmp + export PYTHONPATH=lib + PYTHONPATH=lib + 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.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.swidtag tmp/output-dir/signed-internal/test.example.pkg1-1.3.0-1.fc28.x86_64.swidtag tmp/output-dir/signed-internal/test.example.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag BUILDSTDERR: ++ pwd + _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.7.4/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 + ls + read i + 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.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.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.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.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.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.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.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.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.swidtag BUILDSTDERR: OK BUILDSTDERR: SignedInfo References (ok/all): 1/1 BUILDSTDERR: 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.swidtag BUILDSTDERR: OK BUILDSTDERR: SignedInfo References (ok/all): 1/1 BUILDSTDERR: 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.swidtag BUILDSTDERR: OK BUILDSTDERR: SignedInfo References (ok/all): 1/1 BUILDSTDERR: 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.swidtag BUILDSTDERR: OK BUILDSTDERR: SignedInfo References (ok/all): 1/1 BUILDSTDERR: 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 BUILDSTDERR: +++ pwd BUILDSTDERR: ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/rpmdb BUILDSTDERR: ++ bin/rpm2swidtag --config=tests/rpm2swidtag.conf --print-tagid pkg1 + OUT='unavailable.invalid.pkg1-1.2.0-1.fc28.x86_64 BUILDSTDERR: 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' BUILDSTDERR: ++ 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 BUILDSTDERR: 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 BUILDSTDERR: 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 BUILDSTDERR: ++ 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 BUILDSTDERR: ++ 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 BUILDSTDERR: ++ RPM2SWIDTAG_XSLT=nonexistent BUILDSTDERR: ++ 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 BUILDSTDERR: ++ RPM2SWIDTAG_XSLT=tests/xslt/swidtag-fail.xslt BUILDSTDERR: ++ 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 BUILDSTDERR: +++ pwd BUILDSTDERR: ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/rpmdb BUILDSTDERR: ++ 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 BUILDSTDERR: +++ pwd BUILDSTDERR: ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/rpmdb BUILDSTDERR: ++ 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 BUILDSTDERR: +++ pwd BUILDSTDERR: ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/rpmdb BUILDSTDERR: ++ 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 BUILDSTDERR: +++ pwd BUILDSTDERR: ++ _RPM2SWIDTAG_RPMDBPATH=/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/rpmdb BUILDSTDERR: ++ 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/ tmp/repo/repodata.old.821.20190410064233.985194: No such file or directory BUILDSTDERR: 06:42:33: Renamed tmp/repo/.repodata/ -> tmp/repo/repodata/ BUILDSTDERR: 06:42:33: Memory cleanup BUILDSTDERR: 06:42:33: All done + rm -rf tmp/dnfroot + FAKEROOT= + FAKECHROOT= + '[' 1001 '!=' 0 ']' + FAKEROOT=fakeroot + FAKECHROOT=fakechroot BUILDSTDERR: ++ pwd + fakeroot dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf list installed BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 266 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf list installed Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: list Extra commands: ['--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', 'list', 'installed'] No module defaults found timer: sack setup: 4 ms Cleaning up. BUILDSTDERR: ++ pwd BUILDSTDERR: ++ pwd + rpm --dbpath /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/lib/rpm --import /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/key-19D5C7DD.gpg BUILDSTDERR: ++ pwd + fakeroot dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf swidtags regen BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 89 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf swidtags regen Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: swidtags Extra commands: ['--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', 'swidtags', 'regen'] No module defaults found timer: sack setup: 3 ms Cleaning up. + test -L tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + test -d tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated BUILDSTDERR: ++ pwd + fakechroot fakeroot dnf --forcearch=x86_64 --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf --repofrompath local,tmp/repo install -y pkg1-1.2.0 BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 91 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --forcearch=x86_64 --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf --repofrompath local,tmp/repo install -y pkg1-1.2.0 Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: install Extra commands: ['--forcearch=x86_64', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', '--repofrompath', 'local,tmp/repo', 'install', '-y', 'pkg1-1.2.0'] Added local repo from tmp/repo Will ask for SWID tags download for ['file:///builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/repo'] repo: downloading from remote: local local 1.3 MB/s | 2.3 kB 00:00 not found other for: not found modules for: not found deltainfo for: not found updateinfo for: local: using metadata from Wed Apr 10 06:42:33 2019. Last metadata expiration check: 0:00:01 ago on Wed Apr 10 06:42:35 2019. No module defaults found timer: sack setup: 178 ms --> 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: 124 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: 50 ms Running transaction RPMDB altered outside of DNF. RPM transaction start. Preparing : 1/1 Installing : pkgdep-1.0.0-1.fc28.noarch 1/2 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: 2 ms timer: transaction: 306 ms Running bin/rpm2swidtag --config=tests/rpm2swidtag.conf for ['pkg1-1.2.0-1.fc28.x86_64', 'pkgdep-1.0.0-1.fc28.noarch'] ... 7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64 /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64.swidtag 7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag Installed: pkg1-1.2.0-1.fc28.x86_64 pkgdep-1.0.0-1.fc28.noarch Complete! Cleaning up. + echo 'f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 tmp/dnfroot/usr/share/testdir/testfile' + sha256sum -c tmp/dnfroot/usr/share/testdir/testfile: OK + tee /dev/stderr + grep '^3$' + wc -l + ls -l tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 2736 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 793 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 1479 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag 3 + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag BUILDSTDERR: ++ pwd + fakeroot dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf swidtags purge BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 92 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf swidtags purge Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: swidtags Extra commands: ['--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', 'swidtags', 'purge'] No module defaults found timer: sack setup: 5 ms Removed 3 generated files from /builddir/build/BUILD/rpm2swidtag-0.7.4/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 + grep Failed BUILDSTDERR: ++ pwd + fakeroot dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf swidtags purge BUILDSTDERR: ++ pwd + fakeroot dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf swidtags regen BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 91 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf swidtags regen Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: swidtags Extra commands: ['--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', 'swidtags', 'regen'] No module defaults found timer: sack setup: 4 ms Running bin/rpm2swidtag --config=tests/rpm2swidtag.conf for ['pkgdep-1.0.0-1.fc28.noarch', 'pkg1-1.2.0-1.fc28.x86_64'] ... 7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64 /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64.swidtag 7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag Cleaning up. + test -L tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + ls -l tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag + tee /dev/stderr + wc -l + grep '^3$' BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 2736 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg1-1.2.0-1.fc28.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 793 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 1479 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag 3 + 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/ecbcb6d7907ae8865001c4dcd4709dde17cfef7ae8e64dd00fdf855da6591a2e-swidtags.xml.gz + diff tests/repodata-swidtags.xml tmp/repo/swidtags.xml + rpm -q dnf + grep '^dnf-4' dnf-4.2.2-2.fc31.noarch BUILDSTDERR: ++ pwd + fakechroot fakeroot dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf clean expire-cache BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 93 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf clean expire-cache Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: clean Extra commands: ['--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', 'clean', 'expire-cache'] Cleaning data: expire-cache Cache was expired 0 files removed Cleaning up. BUILDSTDERR: ++ pwd + fakechroot fakeroot dnf --forcearch=x86_64 --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf --repofrompath local,tmp/repo upgrade -y BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 93 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --forcearch=x86_64 --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf --repofrompath local,tmp/repo upgrade -y Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: upgrade Extra commands: ['--forcearch=x86_64', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--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.7.4/tmp/repo'] local 3.4 MB/s | 3.5 kB 00:00 reviving: failed for 'local', mismatched repomd. repo: downloading from remote: local local 5.0 MB/s | 12 kB 00:00 not found other for: not found modules for: not found deltainfo for: not found updateinfo for: local: using metadata from Wed Apr 10 06:42:40 2019. No module defaults found timer: sack setup: 386 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: 123 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: 48 ms Running transaction RPM transaction start. Preparing : 1/1 Upgrading : pkg1-1.3.0-1.fc28.x86_64 1/2 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: 2 ms timer: transaction: 720 ms Will remove SWID tag for pkg1-1.2.0-1.fc28.x86_64 Retrieved SWID tag from repodata for pkg1-1.3.0-1.fc28.x86_64: example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64 Retrieved SWID tag from repodata for pkg1-1.3.0-1.fc28.x86_64: example^2ftest/example^2ftest.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 Complete! Cleaning up. + ls -l tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag + wc -l + grep '^2$' + tee /dev/stderr BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 793 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 1479 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag 2 + test -f 'tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/*.pkg1-1.2.0-1.fc28.x86_64.swidtag' + test -f 'tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/*.pkg1-1.3.0-1.fc28.x86_64.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.swidtag' + test -d 'tmp/dnfroot/var/lib/swidtag/example^2ftest' + 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.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64.swidtag' + grep '^2$' + wc -l + tee /dev/stderr BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 5885 Apr 10 06:42 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.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 7340 Apr 10 06:42 tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64.swidtag 2 + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64.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.swidtag' + for i in tmp/dnfroot/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.swidtag' BUILDSTDERR: OK BUILDSTDERR: SignedInfo References (ok/all): 1/1 BUILDSTDERR: Manifests References (ok/all): 0/0 + for i in tmp/dnfroot/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.swidtag' BUILDSTDERR: OK BUILDSTDERR: SignedInfo References (ok/all): 1/1 BUILDSTDERR: Manifests References (ok/all): 0/0 BUILDSTDERR: ++ pwd + fakechroot fakeroot dnf --forcearch=x86_64 --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf install -y tmp/repo-base/pkg2-0.0.1-1.git0f5628a6.fc28.x86_64.rpm BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 90 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --forcearch=x86_64 --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --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.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: install Extra commands: ['--forcearch=x86_64', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', 'install', '-y', 'tmp/repo-base/pkg2-0.0.1-1.git0f5628a6.fc28.x86_64.rpm'] No module defaults found timer: sack setup: 4 ms --> Starting dependency resolution ---> Package pkg2.x86_64 13:0.0.1-1.git0f5628a6.fc28 will be installed --> Finished dependency resolution timer: depsolve: 84 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: 47 ms Running transaction RPM transaction start. Preparing : 1/1 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: 2 ms timer: transaction: 137 ms Running bin/rpm2swidtag --config=tests/rpm2swidtag.conf for ['pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64'] ... 7edd8f18bda44d429a94cf738d28cc6c.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag Installed: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Complete! Cleaning up. + ls -l tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag + grep '^3$' + wc -l + tee /dev/stderr BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 1292 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 793 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 1479 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag 3 + tee /dev/stderr + 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.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64.swidtag' + wc -l + grep '^2$' BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 5885 Apr 10 06:42 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.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 7340 Apr 10 06:42 tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64.swidtag 2 BUILDSTDERR: ++ pwd + fakechroot fakeroot dnf --forcearch=x86_64 --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf --repofrompath local,tmp/repo reinstall -y pkg2 BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 91 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --forcearch=x86_64 --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf --repofrompath local,tmp/repo reinstall -y pkg2 Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: reinstall Extra commands: ['--forcearch=x86_64', '--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--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.7.4/tmp/repo'] repo: using cache for: local not found other for: not found modules for: not found deltainfo for: not found updateinfo for: local: using metadata from Wed Apr 10 06:42:40 2019. Last metadata expiration check: 0:00:04 ago on Wed Apr 10 06:42:41 2019. No module defaults found timer: sack setup: 10 ms --> Starting dependency resolution ---> Package pkg2.x86_64 13:0.0.1-1.git0f5628a6.fc28 will be reinstalled --> Finished dependency resolution timer: depsolve: 123 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: 48 ms Running transaction RPM transaction start. Preparing : 1/1 Reinstalling : pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 1/2 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: 3 ms timer: transaction: 146 ms Will remove SWID tag for pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Retrieved SWID tag from repodata for pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64: example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Reinstalled: pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Complete! Cleaning up. + tee /dev/stderr + ls -l tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag + wc -l BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 793 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 1479 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag + grep '^2$' 2 + 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.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag' + tee /dev/stderr BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 5885 Apr 10 06:42 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.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 7340 Apr 10 06:42 tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 6416 Apr 10 06:42 tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag + wc -l + grep '^3$' 3 BUILDSTDERR: ++ pwd + fakechroot fakeroot dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf remove -y pkg1 BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 91 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf remove -y pkg1 Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: remove Extra commands: ['--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', 'remove', '-y', 'pkg1'] No module defaults found timer: sack setup: 4 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: 125 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: 47 ms Running transaction RPM transaction start. Preparing : 1/1 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: 3 ms timer: transaction: 550 ms Will remove SWID tag for pkg1-1.3.0-1.fc28.x86_64 Removed: pkg1-1.3.0-1.fc28.x86_64 Complete! Cleaning up. + ls -l tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag + grep '^2$' + wc -l + tee /dev/stderr BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 793 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 1479 Apr 10 06:42 tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag 2 + ls -l 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag' + tee /dev/stderr + grep '^1$' + wc -l BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 6416 Apr 10 06:42 tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag 1 + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg1-1.3.0-1.fc28.x86_64.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.swidtag' + test -f 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag' + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch.swidtag + test -f tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/7edd8f18bda44d429a94cf738d28cc6c.pkgdep-1.0.0-1.fc28.noarch-component-of-test.a.Example-OS-Distro-3.x86_64.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.swidtag:need-regen BUILDSTDERR: ++ pwd + fakeroot dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf --repofrompath local,tmp/repo swidtags regen BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) timer: config: 91 ms Loaded plugins: swidtags DNF version: 4.2.2 Command: dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf --repofrompath local,tmp/repo swidtags regen Installroot: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot Releasever: None cachedir: /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/cache/dnf Base command: swidtags Extra commands: ['--installroot', '/builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot', '--setopt=reposdir=/dev/null', '--config=tests/dnf.conf', '--repofrompath', 'local,tmp/repo', 'swidtags', 'regen'] Added local repo from tmp/repo Will ask for SWID tags download for ['file:///builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/repo'] repo: using cache for: local not found other for: not found modules for: not found deltainfo for: not found updateinfo for: local: using metadata from Wed Apr 10 06:42:40 2019. Last metadata expiration check: 0:00:07 ago on Wed Apr 10 06:42:41 2019. No module defaults found timer: sack setup: 11 ms Removed 2 generated files from /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated Retrieved SWID tag from repodata for pkgdep-1.0.0-1.fc28.noarch: example^2ftest/example^2ftest.pkgdep-1.0.0-1.fc28.noarch Retrieved SWID tag from repodata for pkgdep-1.0.0-1.fc28.noarch: example^2ftest/example^2ftest.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^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64 Cleaning up. + test -L tmp/dnfroot/etc/swid/swidtags.d/rpm2swidtag-generated + ls -l 'tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/*' + grep '^0$' + tee /dev/stderr BUILDSTDERR: ls: cannot access 'tmp/dnfroot/var/lib/swidtag/rpm2swidtag-generated/*': No such file or directory + wc -l 0 + ls -l 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.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.swidtag' 'tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkgdep-1.0.0-1.fc28.noarch.swidtag' + tee /dev/stderr + grep '^3$' + wc -l BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 6416 Apr 10 06:42 tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkg2-13:0.0.1-1.git0f5628a6.fc28.x86_64.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 5891 Apr 10 06:42 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.swidtag BUILDSTDERR: -rw-r--r--. 1 mockbuild mock 6523 Apr 10 06:42 tmp/dnfroot/usr/lib/swidtag/example^2ftest/example^2ftest.pkgdep-1.0.0-1.fc28.noarch.swidtag 3 + grep -r need-regen 'tmp/dnfroot/usr/lib/swidtag/example^2ftest' BUILDSTDERR: ++ bin/swidq -h + diff -u /dev/fd/63 /dev/fd/62 BUILDSTDERR: ++ sed -n '/^usage: swidq/,/```/{/```/T;p}' README.md + diff -u /dev/fd/63 /dev/fd/62 BUILDSTDERR: ++ sed -n '/^Generate/,/```/{/```/T;p}' README.md BUILDSTDERR: ++ sed -n '/SWID/,/^optional/!b;/^optional/b;p' BUILDSTDERR: +++ pwd BUILDSTDERR: ++ PYTHONPATH=lib BUILDSTDERR: ++ dnf --installroot /builddir/build/BUILD/rpm2swidtag-0.7.4/tmp/dnfroot --setopt=reposdir=/dev/null --config=tests/dnf.conf swidtags --help BUILDSTDERR: Unable to detect release version (use '--releasever' to specify release version) + echo OK. OK. + exit 0 Processing files: rpm2swidtag-0.7.4-1.fc31.noarch Provides: config(rpm2swidtag) = 0.7.4-1.fc31 rpm2swidtag = 0.7.4-1.fc31 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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386 Wrote: /builddir/build/RPMS/rpm2swidtag-0.7.4-1.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7Aj66w + umask 022 + cd /builddir/build/BUILD + cd rpm2swidtag-0.7.4 + rm -rf /builddir/build/BUILDROOT/rpm2swidtag-0.7.4-1.fc31.i386 + exit 0 Child return code was: 0