Bug 1371482

Summary: unable to delete a cancelled task
Product: [Community] Copr Reporter: Fabio Valentini <decathorpe>
Component: frontendAssignee: Miroslav Suchý <msuchy>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: clime
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-01 12:11:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fabio Valentini 2016-08-30 10:07:05 UTC
I submitted build 357662 in "decathorpe/elementary-nightly" but realised I had linked the wrong SRPM file, so I cancelled the build. Now the build is in some kind of limbo-state between pending infinitely and being cancelled, but I can't remove it and can't delete the "package" from the repository overview.

https://copr.fedorainfracloud.org/coprs/decathorpe/elementary-nightly/build/357662/

At "General Information" / "Status" it says "Cancelled", but at the bottom, at "Results", "State", it says "Pending", which is why I am unable to delete the build.

That might be the reason why I get "You can not delete build `357662` which is not finished." error when trying to delete the package from the repository.

Comment 1 clime 2016-09-01 12:11:18 UTC
I changed the status of build_chroot manually in db to "cancelled".

Also I am going to fix the problem in the code. Thanks!

*** This bug has been marked as a duplicate of bug 1369763 ***