Bug 1480308 - Strange error in import log
Summary: Strange error in import log
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Internal Copr
Classification: Internal
Component: builder
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-10 16:13 UTC by Alois Mahdal
Modified: 2018-09-18 08:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-18 08:57:31 UTC
Embargoed:


Attachments (Terms of Use)

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


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