Bug 620595

Summary: [abrt] crash in fedora-packager-0.5.1.0-1.fc13: __init__.py:797:build:FedpkgError: There are unpushed changes in your repo
Product: [Fedora] Fedora Reporter: Neal Becker <ndbecker2>
Component: fedora-packagerAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dcantrell, dennis, jmoskovc, mads, pwouters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:257cd831
Fixed In Version: fedora-packager-0.5.1.2-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-17 05:36:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Neal Becker 2010-08-02 23:12:56 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/fedpkg build
comment: See above
component: fedora-packager
executable: /usr/bin/fedpkg
kernel: 2.6.33.6-147.fc13.x86_64
package: fedora-packager-0.5.1.0-1.fc13
reason: __init__.py:797:build:FedpkgError: There are unpushed changes in your repo
release: Fedora release 13 (Goddard)

backtrace
-----
__init__.py:797:build:FedpkgError: There are unpushed changes in your repo

Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 319, in build
    url, chain)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 797, in build
    raise FedpkgError('There are unpushed changes in your repo')
FedpkgError: There are unpushed changes in your repo

Local variables in innermost frame:
remote: 'origin/master'
branch: <git.Head "refs/heads/master">
chain: None
url: None
scratch: False
self: <pyfedpkg.PackageModule instance at 0x1d95560>
cmd: ['koji']
skip_tag: False
background: False

How to reproduce
-----
1.
2.
3.
fedpkg build
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 319, in build
    url, chain)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 797, in build
    raise FedpkgError('There are unpushed changes in your repo')
pyfedpkg.FedpkgError: There are unpushed changes in your repo

Comment 1 Neal Becker 2010-08-02 23:12:59 UTC
Created attachment 436154 [details]
File: backtrace

Comment 2 Jesse Keating 2010-08-03 00:15:06 UTC
This is telling you the right thing and correctly exiting, however I need to trap that traceback and exit more gracefully.

Comment 3 Mads Kiilerich 2010-08-08 21:42:02 UTC
Package: fedora-packager-0.5.1.0-1.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
run "fedpkg build" with unpushed changes

Comment 4 Jesse Keating 2010-08-12 06:49:52 UTC
Trapped now in next version.

Comment 5 Jesse Keating 2010-08-12 07:24:46 UTC
*** Bug 622921 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2010-08-12 19:53:16 UTC
python-kitchen-0.2-0.1.a2.el5,fedora-packager-0.5.1.2-1.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/python-kitchen-0.2-0.1.a2.el5,fedora-packager-0.5.1.2-1.el5

Comment 7 Fedora Update System 2010-08-12 19:56:53 UTC
fedora-packager-0.5.1.2-1.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/fedora-packager-0.5.1.2-1.fc14

Comment 8 Fedora Update System 2010-08-12 20:01:21 UTC
fedora-packager-0.5.1.2-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/fedora-packager-0.5.1.2-1.fc13

Comment 9 Fedora Update System 2010-08-12 20:07:16 UTC
fedora-packager-0.5.1.2-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/fedora-packager-0.5.1.2-1.fc12

Comment 10 Fedora Update System 2010-08-13 21:06:14 UTC
fedora-packager-0.5.1.2-2.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update fedora-packager'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/fedora-packager-0.5.1.2-2.fc13

Comment 11 Fedora Update System 2010-08-13 22:38:51 UTC
fedora-packager-0.5.1.2-2.el5, python-kitchen-0.2-0.1.a2.el5 has been pushed to the Fedora EPEL 5 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update fedora-packager python-kitchen'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/python-kitchen-0.2-0.1.a2.el5,fedora-packager-0.5.1.2-2.el5

Comment 12 Fedora Update System 2010-08-17 05:35:43 UTC
fedora-packager-0.5.1.2-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2010-08-24 21:08:59 UTC
fedora-packager-0.5.1.2-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2010-08-24 23:03:26 UTC
fedora-packager-0.5.1.2-2.el5, python-kitchen-0.2-0.1.a2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2010-08-25 01:19:12 UTC
fedora-packager-0.5.1.2-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.