Learn more about these different git repos.
Other Git URLs
This has happened to me for third time now.
The first 3-5 builds remain pending. Presumably forever.
See here. The very bottom build of python-hypothesis is the build from (1).
<img alt="png" src="/copr/copr/issue/raw/files/afad2b7ddc1afa4b3becde8a41033f6f457fc65ef103379cc86d105bc69b201a-png" />
Previously, I've canceled them and started them again. THis time, I leave them pending for investigation. https://copr.fedorainfracloud.org/coprs/churchyard/hypothesis-6.39.1/builds/
Interesting, thank you Miro for the report.
The reason is that batch 28829 is "empty" (no assigned build). Seems like you removed the build(s) inside that batch? We need to handle this case but I'm curious how this happened?
Seems like you removed the build(s) inside that batch?
I haven't removed, deleted nor canceled any builds in this copr project.
Metadata Update from @praiskup: - Issue tagged with: bug
I think I see the issue then.
I submit a copr build and note down the ID I submit several (20+) copr builds with --after-build-id from (1) and --background
This creates 20+ batches. And the batch create is logic is racy (bug) ... https://pagure.io/copr/copr/blob/5e4efa97c1a1db5fb8a42ce7f4fc5413e0767b7a/f/frontend/coprs_frontend/coprs/logic/batches_logic.py#_17-23
I suppose you create all those buidls in 2) by some script. So the first N builds race against each other and all of them create a new branch for the build from 1). But eventually, each build can be assigned only to a single batch - so the batches become orphaned.
This deserves fixes on multiple places, please allow us some time :-)
Otherwise, I think you want something like: 1. submit the FIRST build 2. submit SECOND build --after-build-id FIRST 3. submit the rest of the builds --with-build-id SECOND
This way you create just two batches with the same semantics?
Work-around is to put some "sleep" command after the first build is submitted.
I suppose you create all those buidls in 2) by some script.
Yes, by parallel copr build-package $COPR --nowait --background --after-build-id 3597090 --name -- <pkg1> <pkg2> ...
parallel copr build-package $COPR --nowait --background --after-build-id 3597090 --name -- <pkg1> <pkg2> ...
https://copr.fedorainfracloud.org/coprs/churchyard/hypothesis-6.39.1/ interestingly appears to be a "temporary project: will be deleted ASAP" forever. May I kill the builds and let it be deleted?
Metadata Update from @praiskup: - Issue assigned to frostyx
Metadata Update from @praiskup: - Assignee reset
Metadata Update from @praiskup: - Issue assigned to praiskup
This issue has been migrated to GitHub: https://github.com/fedora-copr/copr/issues/2107
Metadata Update from @nikromen: - Issue close_status updated to: MIGRATED - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.