[opensuse-buildservice] osc error (build locally)
Saturday 11 December 2010 Hello. I can't build packages locally. osc doesn't download packages to cache. Log attached. -- WBR Kyrill
On 2010-12-11 16:15:32 +0300, Kyrill Detinov wrote:
I can't build packages locally. osc doesn't download packages to cache. Log attached.
-- GET http://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/... GET http://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/... reply: '' <SNIP> 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
Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Monday 13 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
Reproducible always in Factory. And osc works correct in oS 11.1. The same version from oS:Tools. -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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/li... 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_20101... 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... 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/li... <!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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2010-12-19 13:32:55 +0300, Kyrill Detinov wrote:
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.
Can you please post the complete traceback (from openSUSE 11.1). Can you also run the following curl command? curl -D header -o out.rpm http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/i586/li... Please post the output of the file "header" and check if "out.rpm" is a valid rpm file. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Sunday 19 December 2010 On Sun, 19 Dec 2010 13:04:39 +0100 Marcus Hüwe wrote:
Can you please post the complete traceback (from openSUSE 11.1).
openSUSE 11.1, osc-0.130.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() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 309, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 332, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 448, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1178, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 4260, in do_build return osc.build.main(self.get_api_url(), opts, args) File "/usr/lib/python2.6/site-packages/osc/build.py", line 656, in main fetcher.run(bi) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 208, in run self.fetch(i) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 149, in fetch text = '%s(%s) %s' %(prefix, pac.project, pac.filename)) File "/usr/lib/python2.6/site-packages/urlgrabber/mirror.py", line 411, in urlgrab return self._mirror_try(func, url, kw) File "/usr/lib/python2.6/site-packages/urlgrabber/mirror.py", line 397, in _mirror_try return func_ref( *(fullurl,), **kwargs ) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 41, in urlgrab for i in streamfile(url, progress_obj=self.progress_obj, text=text): File "/usr/lib/python2.6/site-packages/osc/core.py", line 4509, in streamfile f = http_meth.__call__(url, data = data) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2661, in http_GET def http_GET(*args, **kwargs): return http_request('GET', *args, **kwargs) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2649, in http_request fd = urllib2.urlopen(req, data=data) File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 395, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 508, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 427, in error result = self._call_chain(*args) File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 603, in http_error_302 return self.parent.open(new) File "/usr/lib/python2.6/urllib2.py", line 389, in open response = self._open(req, data) File "/usr/lib/python2.6/urllib2.py", line 407, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1139, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.6/urllib2.py", line 1112, in do_open r = h.getresponse() File "/usr/lib/python2.6/httplib.py", line 970, in getresponse response.begin() File "/usr/lib/python2.6/site-packages/osc/conf.py", line 462, in new_method meth(*args, **kwargs) File "/usr/lib/python2.6/httplib.py", line 390, in begin version, status, reason = self._read_status() File "/usr/lib/python2.6/httplib.py", line 354, in _read_status raise BadStatusLine(line) httplib.BadStatusLine ...
Can you also run the following curl command? curl -D header -o out.rpm http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/ i586/libgcc45-4.5.1_20101208-2.1.i586.rpm Please post the output of the file "header" and check if "out.rpm" is a valid rpm file.
header: HTTP/1.1 302 Found Date: Sun, 19 Dec 2010 12:25:16 GMT Server: Apache/2.2.10 (Linux/SUSE) Location: http://download.opensuse.org/factory/repo/oss/suse/i586/libgcc45-4.5.1_20101... Content-Length: 367 Content-Type: text/html; charset=iso-8859-1 out.rpm isn't a valid rpm file. It is a html page: <!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> -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2010-12-19 15:39:09 +0300, Kyrill Detinov wrote:
On Sun, 19 Dec 2010 13:04:39 +0100 Marcus Hüwe wrote:
Can you also run the following curl command? curl -D header -o out.rpm http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/ i586/libgcc45-4.5.1_20101208-2.1.i586.rpm Please post the output of the file "header" and check if "out.rpm" is a valid rpm file.
header:
HTTP/1.1 302 Found Date: Sun, 19 Dec 2010 12:25:16 GMT Server: Apache/2.2.10 (Linux/SUSE) Location: http://download.opensuse.org/factory/repo/oss/suse/i586/libgcc45-4.5.1_20101... Content-Length: 367 Content-Type: text/html; charset=iso-8859-1
out.rpm isn't a valid rpm file. It is a html page:
Ah sorry I forgot the "--location" option... please run curl -D header -o out.rpm --location http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/i586/li... Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Sunday 19 December 2010 On Sun, 19 Dec 2010 13:44:50 +0100 Marcus Hüwe wrote:
Ah sorry I forgot the "--location" option... please run curl -D header -o out.rpm --location http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/ i586/libgcc45-4.5.1_20101208-2.1.i586.rpm
header: HTTP/1.1 302 Found Date: Sun, 19 Dec 2010 13:56:30 GMT Server: Apache/2.2.10 (Linux/SUSE) Location: http://download.opensuse.org/factory/repo/oss/suse/i586/libgcc45-4.5.1_20101... Content-Length: 367 Content-Type: text/html; charset=iso-8859-1 HTTP/1.1 302 Found Date: Sun, 19 Dec 2010 13:56:31 GMT Server: Apache/2.2.10 (Linux/SUSE) X-Prefix: 80.251.112.0/20 X-AS: 39125 X-MirrorBrain-Mirror: mirror.z-gamez.ru X-MirrorBrain-Realm: country Location: http://mirror.suse.ru/factory/repo/oss/suse/i586/libgcc45-4.5.1_20101208-2.1... Content-Length: 360 Content-Type: text/html; charset=iso-8859-1 HTTP/1.1 200 OK Date: Sun, 19 Dec 2010 13:56:31 GMT Server: Apache/2.2.14 (Linux/SUSE) Last-Modified: Fri, 10 Dec 2010 16:09:12 GMT ETag: "c4c63b-d67b-4971093377a00" Accept-Ranges: bytes Content-Length: 54907 Connection: close Content-Type: application/x-rpm And out.rpm is a valid rpm file. -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2010-12-19 15:39:09 +0300, Kyrill Detinov wrote:
Sunday 19 December 2010
On Sun, 19 Dec 2010 13:04:39 +0100 Marcus Hüwe wrote:
Can you please post the complete traceback (from openSUSE 11.1).
openSUSE 11.1, osc-0.130.1.
I'm unable to reproduce it so far. Does it only happen if you build against factory? Does everything work if you build against openSUSE_11.3 for instance? Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Monday 20 December 2010 On Mon, 20 Dec 2010 13:15:30 +0100 Marcus Hüwe wrote:
Does it only happen if you build against factory? Does everything work if you build against openSUSE_11.3 for instance?
I can't reproduce building against openSUSE 11.3. And sometimes it works building against Factory. ... -- GET http://download.opensuse.org/repositories/openSUSE:/11.3:/Update/standard/i5... send: 'GET /repositories/openSUSE:/11.3:/Update/standard/i586/libqt4-devel-4.6.3-2.1.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 404 Not Found\r\n' header: Date: Mon, 20 Dec 2010 12:45:42 GMT header: Server: Apache/2.2.10 (Linux/SUSE) header: X-Prefix: 80.251.112.0/20 header: X-AS: 39125 header: Vary: accept-language,accept-charset header: Accept-Ranges: bytes header: Connection: close header: Transfer-Encoding: chunked header: Content-Type: text/html; charset=iso-8859-1 header: Content-Language: en Trying openSUSE Build Service server for libqt4-devel (openSUSE:11.3:Update), not found at download.opensuse.org. 1/8 ... ... -- GET http://download.opensuse.org/repositories/openSUSE:/Factory/standard/i586/li... send: 'GET /repositories/openSUSE:/Factory/standard/i586/libblkid1-2.18-11.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: Mon, 20 Dec 2010 13:13:45 GMT header: Server: Apache/2.2.10 (Linux/SUSE) header: Location: http://download.opensuse.org/factory/repo/oss/suse/i586/libblkid1-2.18-11.1.... header: Content-Length: 359 header: Connection: close header: Content-Type: text/html; charset=iso-8859-1 send: 'GET /factory/repo/oss/suse/i586/libblkid1-2.18-11.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 404 Not Found\r\n' header: Date: Mon, 20 Dec 2010 13:13:45 GMT header: Server: Apache/2.2.10 (Linux/SUSE) header: X-Prefix: 80.251.112.0/20 header: X-AS: 39125 header: Vary: accept-language,accept-charset header: Accept-Ranges: bytes header: Connection: close header: Transfer-Encoding: chunked header: Content-Type: text/html; charset=iso-8859-1 header: Content-Language: en Trying openSUSE Build Service server for libblkid1 (openSUSE:Factory), not found at download.opensuse.org. 2/86 ... ... -- GET http://download.opensuse.org/repositories/openSUSE:/Factory/standard/i586/li... send: 'GET /repositories/openSUSE:/Factory/standard/i586/libqt4-devel-4.7.1-4.2.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: Mon, 20 Dec 2010 12:55:50 GMT header: Server: Apache/2.2.10 (Linux/SUSE) header: Location: http://download.opensuse.org/factory/repo/oss/suse/i586/libqt4-devel-4.7.1-4... header: Content-Length: 362 header: Connection: close header: Content-Type: text/html; charset=iso-8859-1 send: 'GET /factory/repo/oss/suse/i586/libqt4-devel-4.7.1-4.2.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: Mon, 20 Dec 2010 12:55:50 GMT header: Server: Apache/2.2.10 (Linux/SUSE) header: X-Prefix: 80.251.112.0/20 header: X-AS: 39125 header: X-MirrorBrain-Mirror: dispenser.yandex.net header: X-MirrorBrain-Realm: country header: Location: http://77.88.19.74/opensuse/factory/repo/oss/suse/i586/libqt4-devel-4.7.1-4.... header: Content-Length: 361 header: Connection: close header: Content-Type: text/html; charset=iso-8859-1 send: 'GET /opensuse/factory/repo/oss/suse/i586/libqt4-devel-4.7.1-4.2.i586.rpm HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 77.88.19.74\r\nConnection: close\r\nUser-Agent: osc/0.130.1\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/x-redhat-package-manager header: ETag: "2206702759" header: Accept-Ranges: bytes header: Last-Modified: Mon, 13 Dec 2010 19:54:34 GMT header: Content-Length: 7321505 header: Connection: close header: Date: Mon, 20 Dec 2010 12:56:01 GMT header: Server: lighttpd/1.5.0 (openSUSE:Factory) libqt4-devel-4.7.1-4.2.i586.rpm 100% |=================================| 7.0 MB 00:06 9/89 URLs to try for package 'libQtWebKit-devel': file:///home/kent/rpmbuild/osbuild-packagecache/openSUSE:Factory/standard/i586/libQtWebKit-devel-4.7.1-4.2.i586.rpm http://download.opensuse.org/repositories/openSUSE:/Factory/standard/i586/li... -- GET http://download.opensuse.org/repositories/openSUSE:/Factory/standard/i586/li... send: 'GET /repositories/openSUSE:/Factory/standard/i586/libQtWebKit-devel-4.7.1-4.2.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: Mon, 20 Dec 2010 12:55:57 GMT header: Server: Apache/2.2.10 (Linux/SUSE) header: Location: http://download.opensuse.org/factory/repo/oss/suse/i586/libQtWebKit-devel-4.... header: Content-Length: 367 header: Connection: close header: Content-Type: text/html; charset=iso-8859-1 send: 'GET /factory/repo/oss/suse/i586/libQtWebKit-devel-4.7.1-4.2.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() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 309, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 332, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 448, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1178, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 4260, in do_build return osc.build.main(self.get_api_url(), opts, args) File "/usr/lib/python2.6/site-packages/osc/build.py", line 656, in main fetcher.run(bi) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 208, in run self.fetch(i) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 149, in fetch text = '%s(%s) %s' %(prefix, pac.project, pac.filename)) File "/usr/lib/python2.6/site-packages/urlgrabber/mirror.py", line 411, in urlgrab return self._mirror_try(func, url, kw) File "/usr/lib/python2.6/site-packages/urlgrabber/mirror.py", line 397, in _mirror_try return func_ref( *(fullurl,), **kwargs ) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 41, in urlgrab for i in streamfile(url, progress_obj=self.progress_obj, text=text): File "/usr/lib/python2.6/site-packages/osc/core.py", line 4509, in streamfile f = http_meth.__call__(url, data = data) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2661, in http_GET def http_GET(*args, **kwargs): return http_request('GET', *args, **kwargs) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2649, in http_request fd = urllib2.urlopen(req, data=data) File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 395, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 508, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 427, in error result = self._call_chain(*args) File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 603, in http_error_302 return self.parent.open(new) File "/usr/lib/python2.6/urllib2.py", line 389, in open response = self._open(req, data) File "/usr/lib/python2.6/urllib2.py", line 407, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1139, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.6/urllib2.py", line 1112, in do_open r = h.getresponse() File "/usr/lib/python2.6/httplib.py", line 970, in getresponse response.begin() File "/usr/lib/python2.6/site-packages/osc/conf.py", line 462, in new_method meth(*args, **kwargs) File "/usr/lib/python2.6/httplib.py", line 390, in begin version, status, reason = self._read_status() File "/usr/lib/python2.6/httplib.py", line 354, in _read_status raise BadStatusLine(line) httplib.BadStatusLine -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Monday 20 December 2010 On Mon, 20 Dec 2010 16:21:17 +0300 Kyrill Detinov wrote:
I can't reproduce building against openSUSE 11.3.
Now I can. osc-0.130.1 ... URLs to try for package 'acl': file:///home/kent/rpmbuild/osbuild-packagecache/openSUSE:11.3/standard/i586/acl-2.2.48-8.1.i586.rpm http://download.opensuse.org/repositories/openSUSE:/11.3/standard/i586/acl-2... -- GET http://download.opensuse.org/repositories/openSUSE:/11.3/standard/i586/acl-2... send: 'GET /repositories/openSUSE:/11.3/standard/i586/acl-2.2.48-8.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() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 309, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 332, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 448, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1178, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 4260, in do_build return osc.build.main(self.get_api_url(), opts, args) File "/usr/lib/python2.6/site-packages/osc/build.py", line 656, in main fetcher.run(bi) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 208, in run self.fetch(i) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 149, in fetch text = '%s(%s) %s' %(prefix, pac.project, pac.filename)) File "/usr/lib/python2.6/site-packages/urlgrabber/mirror.py", line 411, in urlgrab return self._mirror_try(func, url, kw) File "/usr/lib/python2.6/site-packages/urlgrabber/mirror.py", line 397, in _mirror_try return func_ref( *(fullurl,), **kwargs ) File "/usr/lib/python2.6/site-packages/osc/fetch.py", line 41, in urlgrab for i in streamfile(url, progress_obj=self.progress_obj, text=text): File "/usr/lib/python2.6/site-packages/osc/core.py", line 4509, in streamfile f = http_meth.__call__(url, data = data) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2661, in http_GET def http_GET(*args, **kwargs): return http_request('GET', *args, **kwargs) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2649, in http_request fd = urllib2.urlopen(req, data=data) File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 389, in open response = self._open(req, data) File "/usr/lib/python2.6/urllib2.py", line 407, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1139, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.6/urllib2.py", line 1112, in do_open r = h.getresponse() File "/usr/lib/python2.6/httplib.py", line 970, in getresponse response.begin() File "/usr/lib/python2.6/site-packages/osc/conf.py", line 462, in new_method meth(*args, **kwargs) File "/usr/lib/python2.6/httplib.py", line 390, in begin version, status, reason = self._read_status() File "/usr/lib/python2.6/httplib.py", line 354, in _read_status raise BadStatusLine(line) httplib.BadStatusLine ... osc-0.125.5 ... URLs to try for package 'acl': file:///home/kent/rpmbuild/osbuild-packagecache/openSUSE:11.3/standard/i586/acl-2.2.48-8.1.i586.rpm/ http://download.opensuse.org/repositories/openSUSE:/11.3/standard/i586/acl-2... https://api.opensuse.org/build/openSUSE:11.3/standard/i586/_repository/acl send: 'GET /repositories/openSUSE%3A/11.3/standard/i586/acl-2.2.48-8.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: Mon, 20 Dec 2010 14:11:11 GMT header: Server: Apache/2.2.10 (Linux/SUSE) header: Location: http://download.opensuse.org/distribution/11.3/repo/oss/suse/i586/acl-2.2.48... header: Content-Length: 364 header: Connection: close header: Content-Type: text/html; charset=iso-8859-1 send: 'GET /distribution/11.3/repo/oss/suse/i586/acl-2.2.48-8.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 acl (openSUSE:11.3), since it is not on download.opensuse.org. send: 'GET /build/openSUSE%3A11.3/standard/i586/_repository/acl 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: Mon, 20 Dec 2010 14:12:06 GMT header: Server: lighttpd/1.5.0 header: Content-Type: application/x-rpm header: Connection: close header: Content-Length: 68752 header: Via: 1.1 ICS_SERVER (iChain 2.3.419) (openSUSE:11.3) acl-2.2.48-8.1.i586.rpm 100% | ======================| 67 kB 00:01 2/6 ... -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Saturday 19 February 2011 On Sat, 11 Dec 2010 16:15:32 +0300 Kyrill Detinov wrote:
I can't build packages locally. osc doesn't download packages to cache.
It works well now. osc-0.130.1-27.1 from openSUSE:Tools. openSUSE 11.3 x86_64. -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Kyrill Detinov
-
Marcus Hüwe