Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELN builds failing on copr #1238

Closed
Tracked by #1245
lsm5 opened this issue Oct 9, 2023 · 13 comments · Fixed by #1239
Closed
Tracked by #1245

ELN builds failing on copr #1238

lsm5 opened this issue Oct 9, 2023 · 13 comments · Fixed by #1239

Comments

@lsm5
Copy link

lsm5 commented Oct 9, 2023

Short description of the problem

ELN builds on copr are failing consistently:

  1. https://copr.fedorainfracloud.org/coprs/packit/containers-crun-1321/build/6508068/
  2. https://copr.fedorainfracloud.org/coprs/packit/containers-buildah-5081/build/6507964/

Output of rpm -q mock

ELN environments on COPR

Steps to reproduce issue

  1. any ELN build triggered via packit

Do not forget to mention full commandline with the mock command you executed.

Any additional notes

Error: 
 Problem: cannot install both python3-3.12.0-2.eln131.x86_64 from eln-baseos and python3-3.11.5-1.fc38.x86_64 from @System
  - package python3-dnf-4.17.0-6.fc38.noarch from @System requires python(abi) = 3.11, but none of the providers can be installed
  - package python3-dnf-plugins-core-4.4.3-1.eln131.noarch from eln-baseos requires python(abi) = 3.12, but none of the providers can be installed
  - cannot install the best candidate for the job
@praiskup
Copy link
Member

praiskup commented Oct 9, 2023

Thank you for the report. The problem is that we use the container image fedora:latest while building for fedora:eln, this is per Mock default. and is probably wrong. Work-around should be to turn off bootstrap.

@praiskup
Copy link
Member

praiskup commented Oct 9, 2023

ELN Image request: fedora-eln/eln#164

@lsm5
Copy link
Author

lsm5 commented Oct 9, 2023

Thanks @praiskup for the quick response and the ELN image request. That will hopefully keep us from disabling ELN tasks in packit.

@praiskup
Copy link
Member

praiskup commented Oct 9, 2023

@lsm5 work-around is to switch to switch bootstrap configuration from "default" to "Enable" in Copr chroot config, this will turn off bootstrap image feature for you.

@lsm5
Copy link
Author

lsm5 commented Oct 9, 2023

@lsm5 work-around is to switch to switch bootstrap configuration from "default" to "Enable" in Copr chroot config, this will turn off bootstrap image feature for you.

hmm, is that doable in ephemeral copr builds triggered by packit?

@praiskup
Copy link
Member

praiskup commented Oct 9, 2023

I'm not 100% sure, @lachmanfrantisek can you answer this question?

@praiskup
Copy link
Member

Ok, ELN folks actually provide ELN container, per the linked issue!

Fedora Copr should be fixed: https://pagure.io/fedora-infra/ansible/c/c27aab6c3bbafd31649a84a663ce61b52c1087cb

praiskup added a commit to praiskup/mock that referenced this issue Oct 12, 2023
@lachmanfrantisek
Copy link
Contributor

I'm not 100% sure, @lachmanfrantisek can you answer this question?

Ups, sorry for missing the ping.

So, is the ask for Packit to set the Copr config option and/or make it configurable via Packit config?

If it's in the Copr's API, we can try, but chroot-specific options are not as simple to use as the project ones.

@lsm5
Copy link
Author

lsm5 commented Oct 12, 2023

Ok, ELN folks actually provide ELN container, per the linked issue!

Fedora Copr should be fixed: https://pagure.io/fedora-infra/ansible/c/c27aab6c3bbafd31649a84a663ce61b52c1087cb

@praiskup has the change landed already?

@praiskup
Copy link
Member

Yes.

@lsm5
Copy link
Author

lsm5 commented Oct 12, 2023

Yes.

eln failed few minutes ago on packit triggered build: https://copr.fedorainfracloud.org/coprs/packit/containers-aardvark-dns-394/build/6520711/

@lsm5
Copy link
Author

lsm5 commented Oct 12, 2023

ohh nvm, looks like some other unrelated issue.

@lsm5
Copy link
Author

lsm5 commented Oct 12, 2023

ELN builds succeeded at: containers/skopeo#1960 . Closing this issue. Thanks!

@lsm5 lsm5 closed this as completed Oct 12, 2023
praiskup added a commit that referenced this issue Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants