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

Packit build failures after merge #2884

Closed
praiskup opened this issue Aug 22, 2023 · 9 comments
Closed

Packit build failures after merge #2884

praiskup opened this issue Aug 22, 2023 · 9 comments
Assignees

Comments

@praiskup
Copy link
Member

We have "negative" CI karma for quite some time:
https://github.com/fedora-copr/copr/commits/main

What if we disabled Packit for the time being for pushes?

cc @lachmanfrantisek @lbarcziova

@lbarcziova
Copy link
Contributor

hi @praiskup ! Are all the failures false positives?

@nikromen
Copy link
Member

nikromen commented Aug 22, 2023

I can see failed builds since fc73a83

perhaps it's due to the ~~dev change we did in copr-common version

edit: I guess grep '"%version"' setup.py fails when build is submitted by packit

@nikromen
Copy link
Member

So it seems like parsed spec file in https://download.copr.fedorainfracloud.org/results/packit/copr/fedora-39-x86_64/06266070-python-copr-common/ and its SRPM is different (look to the spec file in SRPM and spec file inside .tar.gz in SRPM - their version differs) - that's responsible for the majority of errors

another bug I found (some time ago) and is responsible for the first fail in https://copr.fedorainfracloud.org/coprs/packit/copr/package/python-copr-common/ is that versions in spec file in SRPM and in tar.gz (inside SRPM) sometimes differ - usually when I submit a PR with new pkg version then it has still its lower version and one more push to PR/new PR to catch up/refresh the version is needed

but I have no idea whether this is our or packit/specfile issue

@nikromen
Copy link
Member

also, I don't think it's a ci-blocker since we have our CI still running in parallel

@praiskup
Copy link
Member Author

edit: I guess grep '"%version"' setup.py fails when build is submitted by packit

For some reason, Packit generates version 0.20.1, while our specfile has 0.20.

also, I don't think it's a ci-blocker since we have our CI still running in parallel

Well I need to have green CI mark in recent commits, otherwise it blocks my brain. :-)

@praiskup
Copy link
Member Author

E.g. here it seems that wait-for-copr doesn't actually wait? Because copr-backend is built before python-copr-common.

@praiskup praiskup moved this from Needs triage to In Progress in CPT Kanban Aug 31, 2023
@praiskup praiskup self-assigned this Aug 31, 2023
@praiskup
Copy link
Member Author

#2956 likely fixes this!

@praiskup
Copy link
Member Author

And all green, finally!

@praiskup
Copy link
Member Author

Thanks @lachmanfrantisek :)

@praiskup praiskup moved this from In Progress to Done in CPT Kanban Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants