Bug 675593

Summary: [abrt] fedpkg-0.5.2.0-2.fc13: socket.py:500:create_connection:gaierror: [Errno -2] Name or service not known
Product: [Fedora] Fedora Reporter: Thomas Spura <tomspur>
Component: fedora-packagerAssignee: David Cantrell <dcantrell>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13CC: dcantrell, dennis
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:bee80115
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-17 16:28:37 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 Thomas Spura 2011-02-06 21:27:02 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/fedpkg build
comment: I was building a package and while watching the koji builds the crash appears, because my internet connection got lost for a sec.
component: fedora-packager
executable: /usr/bin/fedpkg
kernel: 2.6.34.7-66.fc13.x86_64
package: fedpkg-0.5.2.0-2.fc13
reason: socket.py:500:create_connection:gaierror: [Errno -2] Name or service not known
release: Fedora release 13 (Goddard)
time: 1297027498
uid: 500

backtrace
-----
socket.py:500:create_connection:gaierror: [Errno -2] Name or service not known

Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 1250, in <module>
    args.command(args)
  File "/usr/bin/fedpkg", line 342, in build
    return _watch_koji_tasks(mymodule.kojisession, [task_id], quiet=args.q)
  File "/usr/bin/fedpkg", line 213, in _watch_koji_tasks
    changed = task.update()
  File "/usr/bin/fedpkg", line 96, in update
    self.info = self.session.getTaskInfo(self.id, request=True)
  File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1510, in __call__
    return self.__func(self.__name,args,opts)
  File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1740, in _callMethod
    return proxy.__getattr__(name)(*args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/usr/lib64/python2.6/httplib.py", line 892, in endheaders
    self._send_output()
  File "/usr/lib64/python2.6/httplib.py", line 764, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.6/httplib.py", line 723, in send
    self.connect()
  File "/usr/lib64/python2.6/httplib.py", line 704, in connect
    self.timeout)
  File "/usr/lib64/python2.6/socket.py", line 500, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known

Local variables in innermost frame:
msg: 'getaddrinfo returns an empty list'
host: 'koji.fedoraproject.org'
port: 80
timeout: <object object at 0x7f88c30e8090>
address: ('koji.fedoraproject.org', 80)

How to reproduce
-----
1. fedpkg build
2. loose internet connection

Comment 1 Thomas Spura 2011-02-06 21:27:05 UTC
Created attachment 477334 [details]
File: backtrace

Comment 2 Jesse Keating 2011-02-07 18:30:16 UTC
Pretty sure this is fixed in 0.5.3 which is in updates-testing.  Can you give that a try?

Comment 3 Thomas Spura 2011-02-17 16:28:37 UTC
(In reply to comment #2)
> Pretty sure this is fixed in 0.5.3 which is in updates-testing.  Can you give
> that a try?

Hmm, can't reproduce it anymore...
Will reopen, when it happens again...

Thanks.