#12483 NORM 13.1.0: XO-4 C1 problem executing yum/curl Python code

Zarro Boogs per Child bugtracker at laptop.org
Sat Jan 19 12:03:38 EST 2013

#12483: XO-4 C1 problem executing yum/curl Python code
 Reporter:  dsd           |                 Owner:  dsd          
     Type:  defect        |                Status:  new          
 Priority:  normal        |             Milestone:  13.1.0       
Component:  not assigned  |               Version:  not specified
 Keywords:                |           Next_action:  diagnose     
 Verified:  0             |   Deployment_affected:               
Blockedby:                |              Blocking:               
 Manuel's XO-4 C1 (SHC247006C0) can't run yum, it fails every time with:

 Error: cannot retrive metalink for repository: fedora/18/armhfp. Please
 verify its path and try again

 The exception is: [Errno 14] curl#6 - "Couldn't resolve host" and the URL
 is https://mirrors.fedoraproject.org/metalink?repo=fedora-18&arch=armhfp

 The exception comes from curl at the C level.

 Adding prints into the Python code here causes it to reliably work, so
 this smells similar to #12164.

 Simplifying it down, I get to this program:

 from urlgrabber.grabber import URLGrabber
 url = "http://download.laptop.org/"
 ug = URLGrabber()
 #print "foo"
 result = ug.urlgrab(url, "foo")

 This fails about 50% of the time, less often when the print is
 uncommented. Not as clear-cut as the original yum test case, but still
 quite indicative of the problem.

 Need to see if digging deeper lower level tells us anything interesting.

Ticket URL: <http://dev.laptop.org/ticket/12483>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list