Bug 1304012 - Can't see logs on failed build
Summary: Can't see logs on failed 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:
: 1304695 1306183 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-02 16:48 UTC by Tom "spot" Callaway
Modified: 2016-03-29 12:22 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-29 12:22:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Tom "spot" Callaway 2016-02-02 16:48:07 UTC
https://copr.fedorainfracloud.org/coprs/spot/chromium/build/156327/

All the links are 404...

Comment 1 clime 2016-02-05 14:11:18 UTC
The builds

Comment 2 clime 2016-02-05 14:14:36 UTC
...got deleted. Failed builds are pruned every day, which is too often and will be subject to change. 

Related to: Bug 1304695

Comment 3 Jens Petersen 2016-02-14 12:36:21 UTC
I think you'll find that there were never any files written unless they're always being removed within seconds of failure.

Comment 4 Sergio Basto 2016-02-15 17:32:38 UTC
(In reply to Tom "spot" Callaway from comment #0)
> https://copr.fedorainfracloud.org/coprs/spot/chromium/build/156327/
> 
> All the links are 404...

the links are :
https://copr-be.cloud.fedoraproject.org/results/spot/chromium/fedora-22-x86_64/00156327-native_client

shouldn't be copr.fedorainfracloud.org ? 

I also have some 404 but on my case , for example: 
https://copr.fedorainfracloud.org/coprs/sergiomb/buildsforF21/package/azureus/

this link 
https://copr.fedorainfracloud.org/coprs//buildsforF21/build/147223/ 
gives 404

because the correct is : 
https://copr.fedorainfracloud.org/coprs/sergiomb/buildsforF21/build/146116/

url don't have miss my username. 

in https://copr.fedorainfracloud.org/coprs/sergiomb/buildsforF21/monitor/ 
links are correct. 

BTW monitor webpage, reports azureus as failed when it was succeeded (other bug)

Comment 5 clime 2016-02-29 13:02:51 UTC
In reply to Jens Petersen from comment #3)
> I think you'll find that there were never any files written unless they're
> always being removed within seconds of failure.

That is the case for SRPM import failures (into dist-git). If that happens, no directory for build results is even created and the link to the build results should be disabled in UI (so no 404s).

The only way, that I currently know of, to get empty white page from copr-be machine with just 404 error is for the build directory to get deleted by the prunning script.

Comment 6 clime 2016-02-29 13:09:35 UTC
(In reply to Sergio Monteiro Basto from comment #4)
> (In reply to Tom "spot" Callaway from comment #0)
> > https://copr.fedorainfracloud.org/coprs/spot/chromium/build/156327/
> > 
> > All the links are 404...
> 
> the links are :
> https://copr-be.cloud.fedoraproject.org/results/spot/chromium/fedora-22-
> x86_64/00156327-native_client
> 
> shouldn't be copr.fedorainfracloud.org ?

No, the build results are stored on a separate copr-be machine.

> I also have some 404 but on my case , for example: 
> https://copr.fedorainfracloud.org/coprs/sergiomb/buildsforF21/package/
> azureus/
> 
> this link 
> https://copr.fedorainfracloud.org/coprs//buildsforF21/build/147223/ 
> gives 404
> 
> because the correct is : 
> https://copr.fedorainfracloud.org/coprs/sergiomb/buildsforF21/build/146116/
> 
> url don't have miss my username. 

This is a separate issue. It has been fixed by fce4438bba.

> in https://copr.fedorainfracloud.org/coprs/sergiomb/buildsforF21/monitor/ 
> links are correct. 
> 
> BTW monitor webpage, reports azureus as failed when it was succeeded (other
> bug)

Please, look into the list of COPR bugs and report this one if it has not been reported yet.

Comment 7 clime 2016-02-29 13:10:34 UTC
Fixed by a5c93116e2.

Comment 8 clime 2016-03-04 07:24:25 UTC
*** Bug 1304695 has been marked as a duplicate of this bug. ***

Comment 9 clime 2016-03-04 07:26:18 UTC
*** Bug 1306183 has been marked as a duplicate of this bug. ***

Comment 10 Jakub Kadlčík 2016-03-15 08:47:13 UTC
Code with this fix is currently deployed on testing server.
You can test it before it will be deployed to production.
Please see: http://copr-fe-dev.cloud.fedoraproject.org

Comment 11 Jakub Kadlčík 2016-03-29 12:22:18 UTC
Copr production machines were upgraded to version containing a fix to this issue.
If you are not satisfied with provided solution, please feel free to reopen this.


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