Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 634946
Summary: | [abrt] fedpkg-0.5.1.4-1.fc13: __init__.py:1718:_callMethod:AuthError: Invalid session or bad credentials | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> | ||||
Component: | fedora-packager | Assignee: | David Cantrell <dcantrell> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | dcantrell, dennis, dwayne, rjones | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | abrt_hash:aba3d935 | ||||||
Fixed In Version: | fedora-packager-0.5.2.0-2.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 668889 (view as bug list) | Environment: | |||||
Last Closed: | 2011-01-19 21:05:11 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 668889 | ||||||
Attachments: |
|
Description
Peter Robinson
2010-09-17 12:11:02 UTC
Created attachment 447985 [details]
File: backtrace
The output on the command line was: [perobinson@neo gupnp-av]$ fedpkg build Building gupnp-av-0.6.0-1.fc14 for dist-f14-updates-candidate Created task: 2472802 Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2472802 Watching tasks (this may be safely interrupted)... 2472802 build (dist-f14-updates-candidate, /gupnp-av:bd938d2ad825391efa3a58af51e4522d9de5319c): free 2472802 build (dist-f14-updates-candidate, /gupnp-av:bd938d2ad825391efa3a58af51e4522d9de5319c): free -> open (x86-07.phx2.fedoraproject.org) 2472803 buildSRPMFromSCM (/gupnp-av:bd938d2ad825391efa3a58af51e4522d9de5319c): open (x86-11.phx2.fedoraproject.org) 2472803 buildSRPMFromSCM (/gupnp-av:bd938d2ad825391efa3a58af51e4522d9de5319c): open (x86-11.phx2.fedoraproject.org) -> closed 0 free 1 open 1 done 0 failed 2472807 buildArch (gupnp-av-0.6.0-1.fc14.src.rpm, i686): open (x86-11.phx2.fedoraproject.org) 2472806 buildArch (gupnp-av-0.6.0-1.fc14.src.rpm, x86_64): open (x86-04.phx2.fedoraproject.org) Traceback (most recent call last): File "/usr/bin/fedpkg", line 1086, in <module> args.command(args) File "/usr/bin/fedpkg", line 335, in build return _watch_koji_tasks(mymodule.kojisession, [task_id], quiet=args.q) File "/usr/bin/fedpkg", line 211, in _watch_koji_tasks for child in session.getTaskChildren(task_id): File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1468, in __call__ return self.__func(self.__name,args,opts) File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1718, in _callMethod raise err koji.AuthError: Invalid session or bad credentials [perobinson@neo gupnp-av]$ As discussed, I need to catch this error and report it rather than tracing back. Will look at /usr/bin/koji to see how they do it. Committed some code upstream to fix this in fedpkg. koji suffers the same problem, discussing fix there. Package: fedpkg-0.5.1.4-5.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. Not sure how to reproduce 2. 3. fedora-packager-0.5.2.0-2.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/fedora-packager-0.5.2.0-2.el5 fedora-packager-0.5.2.0-2.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/fedora-packager-0.5.2.0-2.fc13 fedora-packager-0.5.2.0-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/fedora-packager-0.5.2.0-2.fc14 fedora-packager-0.5.2.0-2.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'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/fedora-packager-0.5.2.0-2.el5 Package: fedpkg-0.5.1.4-5.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. fedpkg build 2. database crashed / outage 3. __init__.py:1718:_callMethod:ServerOffline: database outage Traceback (most recent call last): File "/usr/bin/fedpkg", line 1086, in <module> args.command(args) File "/usr/bin/fedpkg", line 335, in build return _watch_koji_tasks(mymodule.kojisession, [task_id], quiet=args.q) File "/usr/bin/fedpkg", line 201, in _watch_koji_tasks changed = task.update() File "/usr/bin/fedpkg", line 88, in update self.info = self.session.getTaskInfo(self.id, request=True) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1468, in __call__ return self.__func(self.__name,args,opts) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1718, in _callMethod raise err ServerOffline: database outage Local variables in innermost frame: args: (2715998, {'__starstar': True, 'request': True}) name: 'getTaskInfo' err: ServerOffline('database outage',) url: 'https://koji.fedoraproject.org/kojihub?session-id=4489827&session-key=458-kHtYl9AMk1hZakwogn5&callnum=222' fault: <Fault 1014: 'database outage'> self: <koji.ClientSession object at 0x150c090> interval: 20 tries: 1 max_retries: 30 proxy: <ServerProxy for koji.fedoraproject.org/kojihub?session-id=4489827&session-key=458-kHtYl9AMk1hZakwogn5&callnum=222> kwargs: {'request': True} debug: False sinfo: {'session-id': 4489827, 'session-key': '458-kHtYl9AMk1hZakwogn5', 'callnum': 222} Ugh, that's cute abrt. That traceback is different. Time to clone... fedora-packager-0.5.2.0-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.2.0-2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.2.0-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |