#2040 Fedora-review causes a build to fail
Closed: Fixed 2 years ago by praiskup. Opened 2 years ago by frostyx.

We introduced the fedora-review as

When submitting new package to Fedora, it needs to comply with
Fedora Packaging Guidelines. Use fedora-review tool to help you
discover packaging errors. Failing fedora-review will not fail
the build itself.

But in this case, I think the build failed because of fedora-review

https://copr.fedorainfracloud.org/coprs/sergiomb/vboxfor23/build/3196848/

Running FedoraReview tool
Running: fedora-review --no-colors --prebuilt --rpm-spec --name VirtualBox-kmod --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg

cmd: ['fedora-review', '--no-colors', '--prebuilt', '--rpm-spec', '--name', 'VirtualBox-kmod', '--mock-config', '/var/lib/copr-rpmbuild/results/configs/child.cfg']
cwd: /var/lib/copr-rpmbuild/results
rc: 1
stdout: 
stderr: INFO: Processing local files: VirtualBox-kmod
INFO: Getting .spec and .srpm Urls from : Local files in /var/lib/copr-rpmbuild/results
INFO:   --> SRPM url: file:///var/lib/copr-rpmbuild/results/VirtualBox-kmod-6.1.32-1.fc34.src.rpm
INFO: Using review directory: /var/lib/copr-rpmbuild/results/VirtualBox-kmod
WARNING: No disttag found in prebuilt packages
INFO: Use --define DISTTAG to set proper dist. e. g. --define DISTTAG fc21.
ERROR: 'No disttag in package and no DISTTAG flag. Use --define DISTTAG to set proper dist e. g., --define DISTTAG=fc21.' (logs in /var/lib/copr-rpmbuild/workspace/workdir-5b4ajkla/.cache/fedora-review.log)

Copr build error: INFO: Processing local files: VirtualBox-kmod
INFO: Getting .spec and .srpm Urls from : Local files in /var/lib/copr-rpmbuild/results
INFO:   --> SRPM url: file:///var/lib/copr-rpmbuild/results/VirtualBox-kmod-6.1.32-1.fc34.src.rpm
INFO: Using review directory: /var/lib/copr-rpmbuild/results/VirtualBox-kmod
WARNING: No disttag found in prebuilt packages
INFO: Use --define DISTTAG to set proper dist. e. g. --define DISTTAG fc21.
ERROR: 'No disttag in package and no DISTTAG flag. Use --define DISTTAG to set proper dist e. g., --define DISTTAG=fc21.' (logs in /var/lib/copr-rpmbuild/workspace/workdir-5b4ajkla/.cache/fedora-review.log)

Disabling fedora-review fixed the issue

https://copr.fedorainfracloud.org/coprs/sergiomb/vboxfor23/build/3196933/


@frostyx what is the progress here (you've assigned this to yourself)

Ping, I've got several reports during the last two weeks.

A similar report on IRC

[21:32] <salimma> hi folks - fedora-review in COPR seems to be broken today?
[21:32] <salimma> it fails for this:
https://copr.fedorainfracloud.org/coprs/salimma/nu-wip/build/4164488/
-- but the packages seem to install fine and there's no indication
what's wrong (the log is not kept)

I didn't examine the particular fedora-review failures yet but they will no longer cause the builds to fail thanks to PR#2165 (once it is merged, and deployed, ...)

[21:32] <salimma> hi folks - fedora-review in COPR seems to be broken today?

There is ERROR: Exception down the road... (logs in /var/lib/copr-rpmbuild/workspace/workdir-pq4nhism/.cache/fedora-review.log) in the log but we don't have this log available, so I reproduced this manually on a builder and here is the output:

04-10 22:30 root         DEBUG    fedora-review 0.7.6 b083f91 2020-11-10 21:23:00 -0500 started
04-10 22:30 root         DEBUG    Command  line: /usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name rust-im --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg
04-10 22:30 root         INFO     Processing local files: rust-im
04-10 22:30 root         DEBUG    Active settings after processing options
04-10 22:30 root         DEBUG        bz_url: https://bugzilla.redhat.com
04-10 22:30 root         DEBUG        _con_handler: <StreamHandler <stderr> (INFO)>
04-10 22:30 root         DEBUG        _log_config_done: True
04-10 22:30 root         DEBUG        cache: False
04-10 22:30 root         DEBUG        resultdir: None
04-10 22:30 root         DEBUG        init_done: True
04-10 22:30 root         DEBUG        uniqueext: None
04-10 22:30 root         DEBUG        configdir: None
04-10 22:30 root         DEBUG        log_level: 20
04-10 22:30 root         DEBUG        prebuilt: True
04-10 22:30 root         DEBUG        verbose: False
04-10 22:30 root         DEBUG        name: rust-im
04-10 22:30 root         DEBUG        use_colors: False
04-10 22:30 root         DEBUG        session_log: /var/lib/copr-rpmbuild/workspace/workdir-o1zlbo86/.cache/fedora-review.log
04-10 22:30 root         DEBUG        bug: None
04-10 22:30 root         DEBUG        url: None
04-10 22:30 root         DEBUG        copr_build_descriptor: None
04-10 22:30 root         DEBUG        list_checks: False
04-10 22:30 root         DEBUG        list_flags: False
04-10 22:30 root         DEBUG        list_plugins: False
04-10 22:30 root         DEBUG        version: False
04-10 22:30 root         DEBUG        flags: []
04-10 22:30 root         DEBUG        repo: None
04-10 22:30 root         DEBUG        mock_config: /var/lib/copr-rpmbuild/results/configs/child.cfg
04-10 22:30 root         DEBUG        no_report: False
04-10 22:30 root         DEBUG        nobuild: False
04-10 22:30 root         DEBUG        mock_options: --no-bootstrap-chroot --no-cleanup-after --no-clean
04-10 22:30 root         DEBUG        other_bz: None
04-10 22:30 root         DEBUG        plugins_arg: None
04-10 22:30 root         DEBUG        single: None
04-10 22:30 root         DEBUG        rpm_spec: True
04-10 22:30 root         DEBUG        exclude: None
04-10 22:30 root         DEBUG        checksum: sha256
04-10 22:30 root         DEBUG        plugins: {}
04-10 22:30 root         INFO     Getting .spec and .srpm Urls from : Local files in /var/lib/copr-rpmbuild/results
04-10 22:30 root         INFO       --> SRPM url: file:///var/lib/copr-rpmbuild/results/rust-im-15.0.0-1.fc35.src.rpm
04-10 22:30 root         INFO     Using review directory: /var/lib/copr-rpmbuild/results/rust-im
04-10 22:30 root         DEBUG    find_urls completed: 0.015
04-10 22:30 root         DEBUG    Avoiding init of working mock root
04-10 22:30 root         DEBUG    Url download completed: 1.839
04-10 22:30 root         DEBUG      --> /var/lib/copr-rpmbuild/results/rust-im/upstream : https://crates.io/api/v1/crates/im/15.0.0/download#/im-15.0.0.crate
04-10 22:30 root         INFO     Downloading (Source0): https://crates.io/api/v1/crates/im/15.0.0/download#/im-15.0.0.crate
04-10 22:30 root         INFO     Running checks and generating report
04-10 22:30 root         DEBUG    Running check: CheckResultdir
04-10 22:30 root         DEBUG        CheckResultdir completed: 0.000 seconds
04-10 22:30 root         DEBUG    Running check: CheckBuild
04-10 22:30 root         DEBUG    Running: rpm -ql --dump --nosignature -p /var/lib/copr-rpmbuild/results/rust-im-devel-15.0.0-1.fc35.noarch.rpm
04-10 22:30 root         DEBUG    Running: rpm -ql --dump --nosignature -p /var/lib/copr-rpmbuild/results/rust-im+default-devel-15.0.0-1.fc35.noarch.rpm
04-10 22:30 root         DEBUG    Running: rpm -ql --dump --nosignature -p /var/lib/copr-rpmbuild/results/rust-im+debug-devel-15.0.0-1.fc35.noarch.rpm
04-10 22:30 root         DEBUG    Running: rpm -ql --dump --nosignature -p /var/lib/copr-rpmbuild/results/rust-im+rayon-devel-15.0.0-1.fc35.noarch.rpm
04-10 22:30 root         DEBUG    Running: rpm -ql --dump --nosignature -p /var/lib/copr-rpmbuild/results/rust-im+serde-devel-15.0.0-1.fc35.noarch.rpm
04-10 22:30 root         DEBUG        CheckBuild completed: 0.036 seconds
04-10 22:30 root         DEBUG    Running check: CheckRpmlint
04-10 22:30 root         DEBUG    Run command: rpmlint -f /tmp/tmpdohm7_sh /var/lib/copr-rpmbuild/results/rust-im-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im+default-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im+debug-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im+rayon-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im+serde-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im-15.0.0-1.fc35.src.rpm
04-10 22:30 root         DEBUG    Cannot parse rpmlint output: Checking: rust-im-devel-15.0.0-1.fc35.noarch.rpm
          rust-im+default-devel-15.0.0-1.fc35.noarch.rpm
          rust-im+debug-devel-15.0.0-1.fc35.noarch.rpm
          rust-im+rayon-devel-15.0.0-1.fc35.noarch.rpm
          rust-im+serde-devel-15.0.0-1.fc35.noarch.rpm
          rust-im-15.0.0-1.fc35.src.rpm


04-10 22:30 root         DEBUG        CheckRpmlint completed: 0.120 seconds
04-10 22:30 root         DEBUG    Running check: CheckPackageInstalls
04-10 22:30 root         DEBUG    Init command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --init
04-10 22:31 root         DEBUG    Init output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start(bootstrap): init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: clean chroot
INFO: unmounting tmpfs.
Finish: clean chroot
Start(bootstrap): chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64-bootstrap/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64-bootstrap/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish(bootstrap): chroot init
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Start: dnf install
Finish: dnf install
Start: creating root cache
Finish: creating root cache
Finish: chroot init
INFO: Installed packages:
INFO: libblkid-2.37.4-1.fc35.x86_64
libeconf-0.4.0-2.fc35.x86_64
libssh-config-0.9.6-1.fc35.noarch
lua-libs-5.4.4-1.fc35.x86_64
libxml2-2.9.13-1.fc35.x86_64
libcap-ng-0.8.2-8.fc35.x86_64
p11-kit-0.23.22-4.fc35.x86_64
coreutils-common-8.32-33.fc35.x86_64
crypto-policies-20210819-1.gitd0fdcfb.fc35.noarch
libcurl-7.79.1-1.fc35.x86_64
fedora-repos-35-1.noarch
libsigsegv-2.13-3.fc35.x86_64
libstdc++-11.2.1-9.fc35.x86_64
diffutils-3.8-1.fc35.x86_64
file-5.40-9.fc35.x86_64
pkgconf-pkg-config-1.8.0-1.fc35.x86_64
which-2.21-27.fc35.x86_64
file-libs-5.40-9.fc35.x86_64
bzip2-libs-1.0.8-9.fc35.x86_64
elfutils-libs-0.186-1.fc35.x86_64
pkgconf-1.8.0-1.fc35.x86_64
bzip2-1.0.8-9.fc35.x86_64
rpmautospec-rpm-macros-0.2.5-1.fc35.noarch
util-linux-2.37.4-1.fc35.x86_64
libverto-0.3.2-2.fc35.x86_64
unzip-6.0-53.fc35.x86_64
fedora-gpg-keys-35-1.noarch
pcre2-syntax-10.39-1.fc35.noarch
gawk-5.1.0-4.fc35.x86_64
sqlite-libs-3.36.0-3.fc35.x86_64
binutils-2.37-10.fc35.x86_64
fedora-release-identity-basic-35-36.noarch
libarchive-3.5.3-1.fc35.x86_64
fpc-srpm-macros-1.3-4.fc35.noarch
pcre2-10.39-1.fc35.x86_64
ca-certificates-2021.2.52-1.0.fc35.noarch
readline-8.1-3.fc35.x86_64
findutils-4.8.0-4.fc35.x86_64
glibc-gconv-extra-2.34-29.fc35.x86_64
libgpg-error-1.43-1.fc35.x86_64
libcom_err-1.46.3-1.fc35.x86_64
libssh-0.9.6-1.fc35.x86_64
cyrus-sasl-lib-2.1.27-14.fc35.x86_64
zlib-1.2.11-30.fc35.x86_64
filesystem-3.14-7.fc35.x86_64
xz-5.2.5-7.fc35.x86_64
glibc-common-2.34-29.fc35.x86_64
zstd-1.5.2-1.fc35.x86_64
elfutils-debuginfod-client-0.186-1.fc35.x86_64
grep-3.6-4.fc35.x86_64
tar-1.34-2.fc35.x86_64
openldap-2.4.59-3.fc35.x86_64
dwz-0.14-2.fc35.x86_64
krb5-libs-1.19.2-6.fc35.x86_64
libzstd-1.5.2-1.fc35.x86_64
libtasn1-4.16.0-6.fc35.x86_64
libbrotli-1.0.9-6.fc35.x86_64
sed-4.8-8.fc35.x86_64
rpm-4.17.0-4.fc35.x86_64
openblas-srpm-macros-2-10.fc35.noarch
perl-srpm-macros-1-42.fc35.noarch
tzdata-2021e-1.fc35.noarch
gdbm-libs-1.22-1.fc35.x86_64
libnsl2-1.3.0-4.fc35.x86_64
gnat-srpm-macros-4-14.fc35.noarch
pcre-8.45-1.fc35.x86_64
libselinux-3.3-1.fc35.x86_64
keyutils-libs-1.6.1-3.fc35.x86_64
glibc-minimal-langpack-2.34-29.fc35.x86_64
alternatives-1.19-1.fc35.x86_64
elfutils-libelf-0.186-1.fc35.x86_64
binutils-gold-2.37-10.fc35.x86_64
info-6.8-2.fc35.x86_64
libcap-2.48-3.fc35.x86_64
pkgconf-m4-1.8.0-1.fc35.noarch
lua-srpm-macros-1-5.fc35.noarch
libgcc-11.2.1-9.fc35.x86_64
elfutils-default-yama-scope-0.186-1.fc35.noarch
publicsuffix-list-dafsa-20210518-2.fc35.noarch
cracklib-2.9.6-27.fc35.x86_64
libacl-2.3.1-2.fc35.x86_64
fedora-release-35-36.noarch
libdb-5.3.28-50.fc35.x86_64
nim-srpm-macros-3-5.fc35.noarch
ghc-srpm-macros-1.5.0-5.fc35.noarch
util-linux-core-2.37.4-1.fc35.x86_64
pam-1.5.2-7.fc35.x86_64
cpio-2.13-11.fc35.x86_64
libgomp-11.2.1-9.fc35.x86_64
rpm-build-4.17.0-4.fc35.x86_64
libutempter-1.2.1-5.fc35.x86_64
popt-1.18-6.fc35.x86_64
libtirpc-1.3.2-1.fc35.x86_64
ocaml-srpm-macros-6-5.fc35.noarch
debugedit-5.0-2.fc35.x86_64
gzip-1.10-5.fc35.x86_64
ncurses-base-6.2-8.20210508.fc35.noarch
fedora-release-common-35-36.noarch
shadow-utils-4.9-9.fc35.x86_64
xz-libs-5.2.5-7.fc35.x86_64
xxhash-libs-0.8.1-1.fc35.x86_64
libsmartcols-2.37.4-1.fc35.x86_64
systemd-libs-249.11-1.fc35.x86_64
libpkgconf-1.8.0-1.fc35.x86_64
fonts-srpm-macros-2.0.5-6.fc35.noarch
redhat-rpm-config-199-1.fc35.noarch
zip-3.0-31.fc35.x86_64
gdb-minimal-11.2-2.fc35.x86_64
openssl-libs-1.1.1n-1.fc35.x86_64
libsemanage-3.3-1.fc35.x86_64
libuuid-2.37.4-1.fc35.x86_64
glibc-2.34-29.fc35.x86_64
libpsl-0.21.1-4.fc35.x86_64
audit-libs-3.0.8-1.fc35.x86_64
patch-2.7.6-15.fc35.x86_64
libunistring-0.9.10-14.fc35.x86_64
libmount-2.37.4-1.fc35.x86_64
kernel-srpm-macros-1.0-6.fc35.noarch
lz4-libs-1.9.3-3.fc35.x86_64
elfutils-0.186-1.fc35.x86_64
libffi-3.1-29.fc35.x86_64
mpfr-4.1.0-8.fc35.x86_64
gmp-6.2.0-7.fc35.x86_64
libpwquality-1.4.4-6.fc35.x86_64
p11-kit-trust-0.23.22-4.fc35.x86_64
rpm-libs-4.17.0-4.fc35.x86_64
basesystem-11-12.fc35.noarch
libxcrypt-4.4.28-1.fc35.x86_64
libnghttp2-1.45.1-1.fc35.x86_64
curl-7.79.1-1.fc35.x86_64
gpg-pubkey-9867c58f-601c49ca
setup-2.13.9.1-2.fc35.noarch
rpm-build-libs-4.17.0-4.fc35.x86_64
go-srpm-macros-3.0.15-1.fc35.noarch
libattr-2.5.1-3.fc35.x86_64
libgcrypt-1.9.4-1.fc35.x86_64
libfdisk-2.37.4-1.fc35.x86_64
bash-5.1.8-2.fc35.x86_64
coreutils-8.32-33.fc35.x86_64
ncurses-libs-6.2-8.20210508.fc35.x86_64
ed-1.14.2-11.fc35.x86_64
qt5-srpm-macros-5.15.2-3.fc35.noarch
libsepol-3.3-2.fc35.x86_64
libidn2-2.3.2-3.fc35.x86_64
rust-srpm-macros-21-1.fc35.noarch
efi-srpm-macros-5-4.fc35.noarch
python-srpm-macros-3.10-11.fc35.noarch
Finish: run
 None
NoneType: None
04-10 22:31 root         INFO     Installing built package(s)
04-10 22:31 root         DEBUG    --init command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, --init
04-10 22:31 root         DEBUG    --init output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
Finish: run
 None
NoneType: None
04-10 22:31 root         DEBUG    is_installed: Tested rust-im+serde-devel, result: 1
04-10 22:31 root         DEBUG    is_installed: Tested rust-im+default-devel, result: 1
04-10 22:31 root         DEBUG    is_installed: Tested rust-im+rayon-devel, result: 1
04-10 22:31 root         DEBUG    is_installed: Tested rust-im+debug-devel, result: 1
04-10 22:31 root         DEBUG    is_installed: Tested rust-im-devel, result: 1
04-10 22:31 root         DEBUG     command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, --shell, 'rm -f /var/lib/rpm/__db*'
04-10 22:31 root         DEBUG     output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Finish: chroot init
Start: shell
/bin/sh: line 1: rm -f /var/lib/rpm/__db*: No such file or directory
Finish: shell
 None
NoneType: None
04-10 22:31 root         DEBUG    Install command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, install, /var/lib/copr-rpmbuild/results/rust-im+serde-devel-15.0.0-1.fc35.noarch.rpm, /var/lib/copr-rpmbuild/results/rust-im+default-devel-15.0.0-1.fc35.noarch.rpm, /var/lib/copr-rpmbuild/results/rust-im+rayon-devel-15.0.0-1.fc35.noarch.rpm, /var/lib/copr-rpmbuild/results/rust-im+debug-devel-15.0.0-1.fc35.noarch.rpm, /var/lib/copr-rpmbuild/results/rust-im-devel-15.0.0-1.fc35.noarch.rpm
04-10 22:31 root         DEBUG    Install output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
INFO: installing package(s): /var/lib/copr-rpmbuild/results/rust-im+serde-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im+default-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im+rayon-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im+debug-devel-15.0.0-1.fc35.noarch.rpm /var/lib/copr-rpmbuild/results/rust-im-devel-15.0.0-1.fc35.noarch.rpm
INFO: 
Finish: run
 None
NoneType: None
04-10 22:31 root         DEBUG        CheckPackageInstalls completed: 45.065 seconds
04-10 22:31 root         DEBUG    Running check: CheckRpmlintInstalled
04-10 22:31 root         DEBUG    --init command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, --init
04-10 22:31 root         DEBUG    --init output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
Finish: run
 None
NoneType: None
04-10 22:31 root         DEBUG    is_installed: Tested rpmlint, result: 1
04-10 22:31 root         DEBUG     command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, --shell, 'rm -f /var/lib/rpm/__db*'
04-10 22:31 root         DEBUG     output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Finish: chroot init
Start: shell
/bin/sh: line 1: rm -f /var/lib/rpm/__db*: No such file or directory
Finish: shell
 None
NoneType: None
04-10 22:31 root         DEBUG    Install command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, install, rpmlint
04-10 22:31 root         DEBUG    Install output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
INFO: installing package(s): rpmlint
INFO: 
Finish: run
 None
NoneType: None
04-10 22:31 root         DEBUG    Script output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start(bootstrap): init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64-bootstrap/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64-bootstrap/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish(bootstrap): chroot init
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
INFO: Running in chroot: ["echo 'rpmlint:'; rpmlint rust-im+serde-devel rust-im+debug-devel rust-im-devel rust-im+rayon-devel rust-im+default-devel; echo 'rpmlint-done:'"]
Start: chroot ["echo 'rpmlint:'; rpmlint rust-im+serde-devel rust-im+debug-devel rust-im-devel rust-im+rayon-devel rust-im+default-devel; echo 'rpmlint-done:'"]
rpmlint:
The file or directory 'rust-im+serde-devel' does not exist
The file or directory 'rust-im+debug-devel' does not exist
The file or directory 'rust-im-devel' does not exist
The file or directory 'rust-im+rayon-devel' does not exist
The file or directory 'rust-im+default-devel' does not exist
rpmlint-done:
Finish: chroot ["echo 'rpmlint:'; rpmlint rust-im+serde-devel rust-im+debug-devel rust-im-devel rust-im+rayon-devel rust-im+default-devel; echo 'rpmlint-done:'"]

04-10 22:31 root         DEBUG    Cannot parse rpmlint output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start(bootstrap): init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64-bootstrap/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64-bootstrap/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish(bootstrap): chroot init
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
INFO: Running in chroot: ["echo 'rpmlint:'; rpmlint rust-im+serde-devel rust-im+debug-devel rust-im-devel rust-im+rayon-devel rust-im+default-devel; echo 'rpmlint-done:'"]
Start: chroot ["echo 'rpmlint:'; rpmlint rust-im+serde-devel rust-im+debug-devel rust-im-devel rust-im+rayon-devel rust-im+default-devel; echo 'rpmlint-done:'"]
rpmlint:
The file or directory 'rust-im+serde-devel' does not exist
The file or directory 'rust-im+debug-devel' does not exist
The file or directory 'rust-im-devel' does not exist
The file or directory 'rust-im+rayon-devel' does not exist
The file or directory 'rust-im+default-devel' does not exist
rpmlint-done:
Finish: chroot ["echo 'rpmlint:'; rpmlint rust-im+serde-devel rust-im+debug-devel rust-im-devel rust-im+rayon-devel rust-im+default-devel; echo 'rpmlint-done:'"]

04-10 22:31 root         DEBUG        CheckRpmlintInstalled completed: 14.756 seconds
04-10 22:31 root         DEBUG    Running check: CheckRpmlintDebuginfo
04-10 22:31 root         DEBUG        CheckRpmlintDebuginfo completed: 0.001 seconds
04-10 22:31 root         DEBUG    Running check: CheckInitDeps
04-10 22:32 root         DEBUG        CheckInitDeps completed: 8.561 seconds
04-10 22:32 root         DEBUG    Running check: CheckBuildCompleted
04-10 22:32 root         DEBUG    Mock command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, --chroot, --, rm -rf $(rpm --eval %_builddir)/*
04-10 22:32 root         DEBUG    Mock output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
INFO: Running in chroot: ['rm -rf $(rpm --eval %_builddir)/*']
Start: chroot ['rm -rf $(rpm --eval %_builddir)/*']
Finish: chroot ['rm -rf $(rpm --eval %_builddir)/*']
 None
NoneType: None
04-10 22:32 root         DEBUG    Mock command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, --copyin, /var/lib/copr-rpmbuild/results/rust-im-15.0.0-1.fc35.src.rpm, rust-im-15.0.0-1.fc35.src.rpm
04-10 22:32 root         DEBUG    Mock output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
INFO: copying /var/lib/copr-rpmbuild/results/rust-im-15.0.0-1.fc35.src.rpm to /var/lib/mock/fedora-35-x86_64/root/rust-im-15.0.0-1.fc35.src.rpm
Finish: run
 None
NoneType: None
04-10 22:32 root         DEBUG    Mock command: mock, -r, /var/lib/copr-rpmbuild/results/configs/child.cfg, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/var/lib/copr-rpmbuild/results/rust-im/results, --chroot, --, rpm -i rust-im-15.0.0-1.fc35.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/rust-im.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :
04-10 22:32 root         DEBUG    Mock output: INFO: mock.py version 3.0 starting (python version = 3.10.2, NVR = mock-3.0-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: reusing tmpfs at /var/lib/mock/fedora-35-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 3.0
INFO: Mock Version: 3.0
Finish: chroot init
INFO: Running in chroot: ['rpm -i rust-im-15.0.0-1.fc35.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/rust-im.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
Start: chroot ['rpm -i rust-im-15.0.0-1.fc35.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/rust-im.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
setting SOURCE_DATE_EPOCH=1649548800
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NAYsJY
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf im-15.0.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/im-15.0.0.crate
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd im-15.0.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/im-fix-metadata.diff
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /builddir/build/SOURCES/im-fix_for_rand_xoshiro_060.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ %cargo_prep
/var/tmp/rpm-tmp.NAYsJY: line 52: fg: no job control


RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.NAYsJY (%prep)
    Bad exit status from /var/tmp/rpm-tmp.NAYsJY (%prep)
Finish: chroot ['rpm -i rust-im-15.0.0-1.fc35.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/rust-im.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
 None
NoneType: None
04-10 22:32 root         DEBUG    _topdir: /builddir/build
04-10 22:32 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 99, in _do_report
    self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 117, in _run_checks
    self.checks.run_checks(output=output, writedown=not Settings.no_report)
  File "/usr/lib/python3.10/site-packages/FedoraReview/checks.py", line 382, in run_checks
    run_check(name)
  File "/usr/lib/python3.10/site-packages/FedoraReview/checks.py", line 357, in run_check
    check.run()
  File "/usr/lib/python3.10/site-packages/FedoraReview/plugins/generic_build.py", line 429, in run
    os.symlink(Mock.get_builddir("BUILD"), "BUILD")
  File "/usr/lib/python3.10/site-packages/FedoraReview/mock.py", line 355, in get_builddir
    p = self._get_dir(os.path.join("root", self._topdir[1:]))
  File "/usr/lib/python3.10/site-packages/FedoraReview/mock.py", line 196, in _get_dir
    self._get_root()
  File "/usr/lib/python3.10/site-packages/FedoraReview/mock.py", line 181, in _get_root
    config_opts = mockbuild.config.load_config(mockdir, config, None, "unknown",  get_paths()['purelib'])
  File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
TypeError: load_config() takes 3 positional arguments but 5 were given
04-10 22:32 root         ERROR    Exception down the road... (logs in /var/lib/copr-rpmbuild/workspace/workdir-o1zlbo86/.cache/fedora-review.log)
04-10 22:32 root         DEBUG    Report completed:  78.116 seconds

Sorry for pasting such a long output but pagure doesn't allow attaching files, so this was the easiest way.

Commit 27cb8f7 relates to this ticket

Now the issue is fixed upstream, can the bug https://bugzilla.redhat.com/show_bug.cgi?id=2052084 be closed?

 On Monday, 11 April, 2022, 03:53:59 pm IST, Pavel Raiskup <pagure@pagure.io> wrote:

The status of the issue: Fedora-review causes a build to fail of project: copr/copr has been updated to: Closed as Fixed by praiskup.

https://pagure.io/copr/copr/issue/2040

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2167 Merged 2 years ago
  • #2165 Merged 2 years ago