Bug 677004

Summary: [abrt] fedpkg-0.5.3.0-1.fc14: fedpkg:345:build:AttributeError: 'module' object has no attribute 'exec_info'
Product: [Fedora] Fedora Reporter: Sven Lankes <sven>
Component: fedora-packagerAssignee: David Cantrell <dcantrell>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: bjohnson, bojan, dcantrell, dennis, jreznik, jskarvad, matt, rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4dbd871e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-23 22:35: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:
Attachments:
Description Flags
File: backtrace none

Description Sven Lankes 2011-02-12 14:08:28 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/fedpkg build
component: fedora-packager
executable: /usr/bin/fedpkg
kernel: 2.6.35.11-83.fc14.x86_64
package: fedpkg-0.5.3.0-1.fc14
reason: fedpkg:345:build:AttributeError: 'module' object has no attribute 'exec_info'
release: Fedora release 14 (Laughlin)
time: 1297519613
uid: 500

backtrace
-----
fedpkg:345:build:AttributeError: 'module' object has no attribute 'exec_info'

Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 1259, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 345, in build
    log.error('Could not watch build: %s' % sys.exec_info()[0])
AttributeError: 'module' object has no attribute 'exec_info'

Local variables in innermost frame:
task_id: 2834954
chain: None
url: None
kojiconfig: None
args: Namespace(background=False, command=<function build at 0x2610578>, dist=None, nowait=False, path='/home/sven/rpmbuild/cvs/merkaartor', q=False, scratch=False, skip_tag=False, srpm=None, target=None, user=None, v=False)
user: 'slankes'
mymodule: <pyfedpkg.PackageModule instance at 0x26211b8>

How to reproduce
-----
Another incarnation of "press ctrl-c while watching a build initiated by fedpkg build".

Comment 1 Sven Lankes 2011-02-12 14:08:30 UTC
Created attachment 478382 [details]
File: backtrace

Comment 2 Jesse Keating 2011-02-12 21:17:29 UTC
I believe this is fixed in 0.5.4 or later, which will be going through soon.

Comment 3 Jaroslav Škarvada 2011-02-15 09:06:09 UTC
Package: fedpkg-0.5.3.0-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Initiated build of dosfstools by fedpkg build
2. Tried to detach by CTRL+C similary as in Koji
3. Abrt fires up


Comment
-----
It should not do that. It should detach or cleanly exit.

Comment 4 Matthew Truch 2011-02-18 18:25:32 UTC
Package: fedpkg-0.5.3.0-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Run fedpkg build after making (and comitting) changes.
2. Wait for fedpkg to call koji and the build starts.
3. After "Watching tasks (this may be safely interrupted)..." kill fedpkg with Ctrl-C.

Comment 5 Bojan Smojver 2011-02-21 00:08:20 UTC
Package: fedpkg-0.5.3.0-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Interrupted a build with Ctrl-C
2.
3.

Comment 6 Jaroslav Reznik 2011-02-21 16:59:56 UTC
Package: fedpkg-0.5.3.0-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. fedpkg build
says: "Watching tasks (this may be safely interrupted)..."
2. so Ctrl+C


Comment
-----
Just tried to interrupt build log watch (Ctrl+C).

Watching tasks (this may be safely interrupted)...
2854439 build (dist-rawhide, /kdelibs:94b1fa9628151486bfc5bd3bec93ca218ffa828a): open (x86-17.phx2.fedoraproject.org)
  2854440 buildSRPMFromSCM (/kdelibs:94b1fa9628151486bfc5bd3bec93ca218ffa828a): open (x86-01.phx2.fedoraproject.org)
  2854440 buildSRPMFromSCM (/kdelibs:94b1fa9628151486bfc5bd3bec93ca218ffa828a): open (x86-01.phx2.fedoraproject.org) -> closed
  0 free  1 open  1 done  0 failed
  2854458 buildArch (kdelibs-4.6.0-4.fc16.src.rpm, i686): free
  2854457 buildArch (kdelibs-4.6.0-4.fc16.src.rpm, x86_64): open (x86-20.phx2.fedoraproject.org)
  2854458 buildArch (kdelibs-4.6.0-4.fc16.src.rpm, i686): free -> open (x86-05.phx2.fedoraproject.org)
^CTraceback (most recent call last):
  File "/usr/bin/fedpkg", line 1259, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 345, in build
    log.error('Could not watch build: %s' % sys.exec_info()[0])
AttributeError: 'module' object has no attribute 'exec_info'

Comment 7 Bernard Johnson 2011-02-21 17:52:43 UTC
Package: fedpkg-0.5.3.0-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. fedpkg build (with intermittent internet connectivity)
2.
3.

Comment 8 Jesse Keating 2011-05-23 22:35:11 UTC
This should be fixed in the latest fedora-packager in stable repos.