Bug 1369763 - Cannot delete repo due to a canceled build
Summary: Cannot delete repo due to a canceled build
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: frontend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: clime
QA Contact:
URL:
Whiteboard:
: 1336223 1371482 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-24 11:08 UTC by Kwang Moo Yi
Modified: 2016-09-21 13:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-21 13:00:02 UTC


Attachments (Terms of Use)

Description Kwang Moo Yi 2016-08-24 11:08:19 UTC
Description of problem:

I cannot delete a non functioning repo due to a build that was canceled in the middle. There is reference to a canceled build in the copr, which seems to be due to the build being canceled too quickly.

Steps to Reproduce:

1. Try to delete the repo at https://copr.fedorainfracloud.org/coprs/kmyid/python3-xlib/

Actual results:

Reference to a canceled build 439954 when trying to delete the repo, saying it's unfinished. In the monitors page, this build number shows as canceled.

Expected results:

Successfully delete the repo.

Additional info:

Comment 1 clime 2016-09-01 11:47:42 UTC
I set the remaining build_chroot in "pending" state to "cancelled" manually. You should be able to delete it now.

Comment 2 Kwang Moo Yi 2016-09-01 11:52:34 UTC
Hi, I tried deleting just now and it's still saying

"You can not delete build `439946` which is not finished. "

Should I retry it a bit later?

Thanks.

Comment 3 clime 2016-09-01 12:05:52 UTC
Oh I was only working with 439954. Didn't notice the other build has the same problem. I did the same for 439946 now so you can try to delete it.

I'll make a patch to prevent this situation from happening. Thanks for the report.

Comment 4 Kwang Moo Yi 2016-09-01 12:10:32 UTC
Now it's fixed!

Thanks!

Comment 5 clime 2016-09-01 12:11:18 UTC
*** Bug 1371482 has been marked as a duplicate of this bug. ***

Comment 6 clime 2016-09-05 15:42:11 UTC
*** Bug 1336223 has been marked as a duplicate of this bug. ***

Comment 7 clime 2016-09-20 15:20:19 UTC
Fixed by https://github.com/fedora-copr/copr/commit/d5c7955a.

Comment 8 clime 2016-09-21 13:00:02 UTC
New COPR version has been deployed (to be released).


Note You need to log in before you can comment on or make changes to this bug.