Bug 2223275

Summary: Copr plugin looks for incorrect chroot
Product: [Fedora] Fedora Reporter: Iñaki Ucar <i.ucar86>
Component: dnf5Assignee: rpm-software-management
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 39CC: amatej, jkolarik, nsella, pkratoch, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Iñaki Ucar 2023-07-17 08:22:11 UTC
I use the rawhide docker image in a workflow [1] that has been failing for a couple of weeks. The error has to do with the Copr plugin, when I try to enable a project, then it looks for fedora-39-x86_64 (which obviously doesn't exist yet), instead of fedora-rawhide-x86_64.

[1] https://github.com/Enchufa2/cran2copr/actions/runs/5572019730/jobs/10177631078

Reproducible: Always

Steps to Reproduce:
$ podman run --rm -it fedora:rawhide
$ dnf5 -y copr enable iucar/cran
 https://copr.fedorainfracloud.org/api_3/rpmrepo/iucar/cran/fedora-39/                    100% | 874.0   B/s | 328.0   B |  00m00sChroot not found in the given Copr project (fedora-39-x86_64).
You can choose one of the avaiable chroots explicitly:
 fedora-36-x86_64
 fedora-37-x86_64
 fedora-38-x86_64
 fedora-rawhide-x86_64



$ dnf5 --version
dnf5 version 5.0.15
dnf5 plugin API version 1.0
libdnf5 version 5.0.15
libdnf5 plugin API version 1.0

Loaded dnf5 plugins:
  name: builddep
  version: 1.0.0
  API version: 1.0

  name: changelog
  version: 1.0.0
  API version: 1.0

  name: copr
  version: 0.1.0
  API version: 1.0

  name: repoclosure
  version: 1.0.0
  API version: 1.0

Comment 1 amatej 2023-07-18 04:43:31 UTC
We are tracking this also in an upstream issue: https://github.com/rpm-software-management/dnf5/issues/706

Comment 2 Fedora Release Engineering 2023-08-16 08:07:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.