Mailinglist Archive: opensuse-buildservice (158 mails)

< Previous Next >
Re: [opensuse-buildservice] osc error (build locally)
  • From: Kyrill Detinov <lazy.kent@xxxxxxxxxxxx>
  • Date: Sun, 19 Dec 2010 13:32:55 +0300
  • Message-id: <201012191332.55838.lazy.kent@xxxxxxxxxxxx>

Sunday 19 December 2010

On Mon, 13 Dec 2010 00:19:44 +0100 Marcus Hüwe wrote:

  File "/usr/lib64/python2.7/httplib.py", line 1025, in getresponse
    response.begin()
  File "/usr/lib64/python2.7/httplib.py", line 401, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python2.7/httplib.py", line 365, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''

Are you able to reproduce the problem? The error indicates that you
got an invalid http response from download.opensuse.org

Updated to osc-0.130.1. Running in oS 11.1. The same problem.

...
-- GET
http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/i586/libgcc45-4.5.1_20101208-2.1.i586.rpm
send: 'GET
/repositories/openSUSE:/Factory/snapshot/i586/libgcc45-4.5.1_20101208-2.1.i586.rpm
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
download.opensuse.org\r\nConnection: close\r\nUser-Agent: osc/0.130.1\r\n\r\n'
reply: 'HTTP/1.1 302 Found\r\n'
header: Date: Sun, 19 Dec 2010 09:52:44 GMT
header: Server: Apache/2.2.10 (Linux/SUSE)
header: Location:
http://download.opensuse.org/factory/repo/oss/suse/i586/libgcc45-4.5.1_20101208-2.1.i586.rpm
header: Content-Length: 367
header: Connection: close
header: Content-Type: text/html; charset=iso-8859-1
send: 'GET /factory/repo/oss/suse/i586/libgcc45-4.5.1_20101208-2.1.i586.rpm
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
download.opensuse.org\r\nConnection:
close\r\nUser-Agent: osc/0.130.1\r\n\r\n'
Traceback (most recent call last):
File "/usr/bin/osc", line 21, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 50, in run
return prg.main()
...

Then installed osc-0.125.5. Running in oS 11.1.

...
send: 'GET
/repositories/openSUSE%3A/Factory/snapshot/i586/gcc45-4.5.1_20101208-2.1.i586.rpm
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
download.opensuse.org\r\nConnection: close\r\nUser-Agent: osbuild/0.1\r\n\r\n'
reply: 'HTTP/1.1 302 Found\r\n'
header: Date: Sun, 19 Dec 2010 10:01:30 GMT
header: Server: Apache/2.2.10 (Linux/SUSE)
header: Location:
http://download.opensuse.org/factory/repo/oss/suse/i586/gcc45-4.5.1_20101208-2.1.i586.rpm
header: Content-Length: 364
header: Connection: close
header: Content-Type: text/html; charset=iso-8859-1
send: 'GET /factory/repo/oss/suse/i586/gcc45-4.5.1_20101208-2.1.i586.rpm
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
download.opensuse.org\r\nConnection:
close\r\nUser-Agent: osbuild/0.1\r\n\r\n'
reply: ''
Trying openSUSE Build Service server for gcc45 (openSUSE:Factory), since it is
not on download.opensuse.org.
send: 'GET /build/openSUSE%3AFactory/snapshot/i586/_repository/gcc45
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: api.opensuse.org\r\nConnection:
close\r\nUser-Agent: osbuild/0.1\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: no-cache
header: Date: Sun, 19 Dec 2010 10:02:04 GMT
header: Server: lighttpd/1.5.0
header: Content-Type: application/x-rpm
header: Connection: close
header: Content-Length: 5141633
header: Via: 1.1 ICS_SERVER (iChain 2.3.419)
(openSUSE:Factory) gcc45-4.5.1_20101208-2.1.i586.rpm 100%
|=================================| 4.9 MB 00:07
...

The difference is older versions trying openSUSE Build Service server
to download a package when can't do from download.opensuse.org.
And the latest version doesn't.


% curl
http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/i586/libgcc45-4.5.1_20101208-2.1.i586.rpm
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a
href="http://download.opensuse.org/factory/repo/oss/suse/i586/libgcc45-4.5.1_20101208-2.1.i586.rpm";>here</a>.</p>
<hr>
<address>Apache/2.2.10 (Linux/SUSE) Server at download.opensuse.org Port
80</address>
</body></html>

Something wrong with mirrors?


--
WBR
Kyrill
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups