Bug 1480308

Summary: Strange error in import log
Product: [Internal] Red Hat Internal Copr Reporter: Alois Mahdal <amahdal>
Component: builderAssignee: Pavel Raiskup <praiskup>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jmazanek
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: 2018-09-18 08:57:31 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:
Embargoed:

Description Alois Mahdal 2017-08-10 16:13:06 UTC
I got this strange (to me, anyway :)) build[1] error recently:

    2. Task: 13490-fedora/26, importing the package: https://copr.devel.redhat.com/tmp/tmpvGUgx7/shellfu-0.9.6-1.fc25.src.rpm
    downloading package https://copr.devel.redhat.com/tmp/tmpvGUgx7/shellfu-0.9.6-1.fc25.src.rpm
    Verifying packagage, getting  name and version.
    make sure repos exist: amahdal/rhtools/shellfu
    cmd: ['/usr/share/dist-git/setup_git_package', 'amahdal/rhtools/shellfu'], rc: 128, msg: ERROR: Package module amahdal/rhtools/shellfu already exists!

    Package already exists...continuing
    cmd: ['/usr/share/dist-git/mkbranch', u'fedora/26', 'amahdal/rhtools/shellfu'], rc: 128, msg: IGNORING: Package module amahdal/rhtools/shellfu already has a branch fedora/26

    Branch already exists...continuing
    [...]

It happened only in one of 7 chroots, while nothing in the project seems relevant to arch or distro (it's noarch, bash-related).  Re-build succeeded.

  [1]: https://copr.devel.redhat.com/coprs/amahdal/rhtools/build/13490/

So probably an one-off thing (rare race condition) but I figured I'd rather report it anyway.

Comment 1 Pavel Raiskup 2018-09-18 08:57:31 UTC
Ouch, sorry I totally missed this, but thanks a lot for the report.

That code has been reworked a lot [1] and the error unlikely to repeat.

[1] https://pagure.io/copr/copr/pull-request/70