Bug 1324514 - copr createrepo error messages
Summary: copr createrepo error messages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: clime
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 13:56 UTC by clime
Modified: 2016-05-05 13:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-05 13:06:38 UTC


Attachments (Terms of Use)
Example log with the error messages (71.98 KB, text/plain)
2016-04-08 10:11 UTC, clime
no flags Details

Description clime 2016-04-06 13:56:57 UTC
The repository metadata are being recreated but with large amount of error messages as a side product. There are two types:

1)
(appstream-builder:31529): As-DEBUG: Failed to add package /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64/00155449-slurm/build.info: No idea how to handle /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64/00155449-slurm/build.info
(appstream-builder:31529): As-DEBUG: Failed to add package /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64/00155449-slurm/mockchain.log.gz: No idea how to handle /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64/00155449-slurm/mockchain.log.gz
(appstream-builder:31529): As-DEBUG: Failed to add package /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64/00155449-slurm/build-00155449.rsync.log: No idea how to handle /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64/00155449-slurm/build-00155449.rsync.log
(appstream-builder:31529): As-DEBUG: Failed to add package /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64/00155449-slurm/success: No idea how to handle /var/lib
...

2)
[2016-04-06 05:58:26,956][ ERROR][PID:13339] Error making local repo: /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64
Traceback (most recent call last):
  File "/usr/share/copr/backend/mockremote/__init__.py", line 238, in do_createrepo
    projectname=self.job.project_name,
  File "/usr/share/copr/backend/createrepo.py", line 160, in createrepo
    out_ad = add_appdata(path, username, projectname)
  File "/usr/share/copr/backend/createrepo.py", line 131, in add_appdata
    .format(**kwargs), os.path.join(path, "createrepo.lock"))
  File "/usr/share/copr/backend/createrepo.py", line 34, in run_cmd_unsafe
    stdout=out, stderr=err)
CreateRepoError: exit code != 0
return code 1 after invocation of: chmod -R +rX /var/lib/copr/public_html/results/verdurin/slurm/epel-7-x86_64 
stderr: 
...


Mainly the second type needs fixing.

Comment 1 clime 2016-04-08 10:11:17 UTC
Created attachment 1145081 [details]
Example log with the error messages

Comment 2 clime 2016-04-08 11:41:32 UTC
Fixed by 991d0e58 & 6ab0fb55.

Comment 3 Miroslav Suchý 2016-05-05 13:06:38 UTC
Package including this fix has been deployed on production instance of Copr.


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