Bug 2224258 - fedora-review fails when using the default rawhide mock chroot
Summary: fedora-review fails when using the default rawhide mock chroot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-review
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-20 09:35 UTC by Mattias Ellert
Modified: 2023-08-04 01:28 UTC (History)
6 users (show)

Fixed In Version: fedora-review-0.10.0-2.fc38 fedora-review-0.10.0-2.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-28 02:41:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mattias Ellert 2023-07-20 09:35:37 UTC
Running fedora review fails with:

INFO: Installing built package(s)
INFO: Active plugins: Shell-api, Python, Generic
Cache-only enabled but no cache for repository "fedora"
ERROR: Exception down the road... (logs in /home/ellert/.cache/fedora-review.log)

By default fedora-review uses the fedora-rawhide-x86_64 mock config. If

$ fedora-review -b XXX -m fedora-38-x86_64

is used so that a fedora 38 mock chroot is used instead the command succeeds.

Version:
fedora-review-0.9.0-2.fc38


Reproducible: Always

Comment 1 Michal Josef Spacek 2023-07-24 10:55:15 UTC
I updated mock rawhide.
[skim@man ~]$ mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean -qn --enable-network shell 'rpm -qi dnf5'
Name        : dnf5
Version     : 5.1.0
Release     : 1.fc39
Architecture: x86_64
Install Date: Mon Jul 24 12:39:58 2023
Group       : Unspecified
Size        : 1196967
License     : GPL-2.0-or-later
Signature   : RSA/SHA256, Tue Jul 18 16:50:29 2023, Key ID 75cf5ac418b8e74c
Source RPM  : dnf5-5.1.0-1.fc39.src.rpm
Build Date  : Tue Jul 18 16:29:43 2023
Build Host  : buildvm-x86-04.iad2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://github.com/rpm-software-management/dnf5
Bug URL     : https://bugz.fedoraproject.org/dnf5
Summary     : Command-line package manager
Description :
DNF5 is a command-line package manager that automates the process of installing,
upgrading, configuring, and removing computer programs in a consistent manner.
It supports RPM packages, modulemd modules, and comps groups & environments.

[skim@man ~]$ fedora-review -b 2097813
INFO: Installing built package(s)
INFO: Active plugins: Perl, Shell-api, Generic
Cache-only enabled but no cache for repository "fedora"
ERROR: Exception down the road... (logs in /home/skim/.cache/fedora-review.log)

Log output:
07-24 12:51 root         DEBUG    Running: mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean -qn --enable-network shell dnf repoquery -C -l filesystem
07-24 12:51 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/FedoraReview/review_helper.py", line 236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.11/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.11/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.11/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.11/site-packages/FedoraReview/checks.py", line 381, in run_checks
    run_check(name)
  File "/usr/lib/python3.11/site-packages/FedoraReview/checks.py", line 356, in run_check
    check.run()
  File "/usr/lib/python3.11/site-packages/FedoraReview/check_base.py", line 266, in run
    self.run_on_applicable()
  File "/usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py", line 477, in run_on_applicable
    filesys_dirs = set(deps.list_paths("filesystem"))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/FedoraReview/deps.py", line 291, in list_paths
    paths = check_output(cmd, universal_newlines=True)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['mock', '-r', 'fedora-rawhide-x86_64', '--no-cleanup-after', '--no-clean', '-qn', '--enable-network', 'shell', 'dnf repoquery -C -l filesystem']' returned non-zero exit status 1.
07-24 12:51 root         ERROR    Exception down the road... (logs in /home/skim/.cache/fedora-review.log)
07-24 12:51 root         DEBUG    Report completed:  104.500 seconds

Comment 2 Michal Josef Spacek 2023-07-24 10:55:39 UTC
I updated mock rawhide.
[skim@man ~]$ mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean -qn --enable-network shell 'rpm -qi dnf5'
Name        : dnf5
Version     : 5.1.0
Release     : 1.fc39
Architecture: x86_64
Install Date: Mon Jul 24 12:39:58 2023
Group       : Unspecified
Size        : 1196967
License     : GPL-2.0-or-later
Signature   : RSA/SHA256, Tue Jul 18 16:50:29 2023, Key ID 75cf5ac418b8e74c
Source RPM  : dnf5-5.1.0-1.fc39.src.rpm
Build Date  : Tue Jul 18 16:29:43 2023
Build Host  : buildvm-x86-04.iad2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://github.com/rpm-software-management/dnf5
Bug URL     : https://bugz.fedoraproject.org/dnf5
Summary     : Command-line package manager
Description :
DNF5 is a command-line package manager that automates the process of installing,
upgrading, configuring, and removing computer programs in a consistent manner.
It supports RPM packages, modulemd modules, and comps groups & environments.

[skim@man ~]$ fedora-review -b 2097813
INFO: Installing built package(s)
INFO: Active plugins: Perl, Shell-api, Generic
Cache-only enabled but no cache for repository "fedora"
ERROR: Exception down the road... (logs in /home/skim/.cache/fedora-review.log)

Log output:
07-24 12:51 root         DEBUG    Running: mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean -qn --enable-network shell dnf repoquery -C -l filesystem
07-24 12:51 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/FedoraReview/review_helper.py", line 236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.11/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.11/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.11/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.11/site-packages/FedoraReview/checks.py", line 381, in run_checks
    run_check(name)
  File "/usr/lib/python3.11/site-packages/FedoraReview/checks.py", line 356, in run_check
    check.run()
  File "/usr/lib/python3.11/site-packages/FedoraReview/check_base.py", line 266, in run
    self.run_on_applicable()
  File "/usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py", line 477, in run_on_applicable
    filesys_dirs = set(deps.list_paths("filesystem"))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/FedoraReview/deps.py", line 291, in list_paths
    paths = check_output(cmd, universal_newlines=True)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['mock', '-r', 'fedora-rawhide-x86_64', '--no-cleanup-after', '--no-clean', '-qn', '--enable-network', 'shell', 'dnf repoquery -C -l filesystem']' returned non-zero exit status 1.
07-24 12:51 root         ERROR    Exception down the road... (logs in /home/skim/.cache/fedora-review.log)
07-24 12:51 root         DEBUG    Report completed:  104.500 seconds

Comment 3 Fedora Update System 2023-07-25 02:38:19 UTC
FEDORA-2023-6e77bcd1e7 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6e77bcd1e7

Comment 4 Fedora Update System 2023-07-25 02:38:36 UTC
FEDORA-2023-a62b830c9a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a62b830c9a

Comment 5 Fedora Update System 2023-07-26 01:57:23 UTC
FEDORA-2023-a62b830c9a has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a62b830c9a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a62b830c9a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-07-26 02:09:21 UTC
FEDORA-2023-6e77bcd1e7 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-6e77bcd1e7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6e77bcd1e7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-07-27 01:56:38 UTC
FEDORA-2023-a62b830c9a has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a62b830c9a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a62b830c9a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-07-27 02:55:33 UTC
FEDORA-2023-6e77bcd1e7 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-6e77bcd1e7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6e77bcd1e7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-07-28 02:41:40 UTC
FEDORA-2023-6e77bcd1e7 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Michal Josef Spacek 2023-07-28 08:41:15 UTC
The issue is gone, thank you.

Comment 11 Fedora Update System 2023-08-04 01:28:30 UTC
FEDORA-2023-a62b830c9a has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.