https://bugzilla.novell.com/show_bug.cgi?id=466997 Summary: "osc ci" fails uploading large files to Provo BuildService Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: cgardner@novell.com QAContact: adrian@novell.com CC: ajorgensen@novell.com, sshaw@novell.com, bwhiteley@novell.com Found By: --- osc clients on opensuse 11.1 can't upload certain files to Provo BuildService (PBS). The same client can successfully upload to OBS, no problems. The problem seems to be isolated to PBS. PBS is running buildservice svn revision 5959+ (1.5+), on SLES10, i586. Uploads of specfiles don't fail. Uploads of things a bit larger fail. The problem only occurs using osc. If I upload the same file using the webclient, there is no problem. I discussed this with darix and Peter Poeml back on 12 Dec and 17 Dec 2008, but no more discussion and debugging has happened since then. To properly track this and work on a fix, now filing the bug report. Back on 17 Dec, Peter seemed to think that the problem was with the variable way that osc uploads files. For smaller files it uses one method, but for larger files it uses a different method. Maybe something to do with python 2.6. Darix looked at PBS's lighttpd configuration, and he reported that the problem does not appear to be related to lighttpd. # ls -l foo-0.2.0.tar.gz -rw-r--r-- 1 root root 53819 2009-01-16 11:35 foo-0.2.0.tar.gz # osc -A http://autobuild.provo.novell.com:8081 ci foo-0.2.0.tar.gz Sending foo-0.2.0.tar.gz Transmitting file data . Committed revision 4. # ls -l bar-0.9.39.tar.bz2 -rw-r--r-- 1 root root 12161652 2009-01-16 11:27 bar-0.9.39.tar.bz2 # osc -A http://autobuild.provo.novell.com:8081 ci bar-0.9.39.tar.bz2 Sending bar-0.9.39.tar.bz2 Transmitting file data .Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 40, in run return prg.main() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 1337, in do_commit p.commit(msg) File "/usr/lib/python2.6/site-packages/osc/core.py", line 751, in commit self.put_source_file(filename) File "/usr/lib/python2.6/site-packages/osc/core.py", line 705, in put_source_file http_PUT(u, file = os.path.join(self.dir, n)) File "/usr/lib/python2.6/site-packages/osc/core.py", line 1491, in http_PUT def http_PUT(*args, **kwargs): return http_request('PUT', *args, **kwargs) File "/usr/lib/python2.6/site-packages/osc/core.py", line 1475, in http_request fd = urllib2.urlopen(req, data=data) File "/usr/lib64/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.6/urllib2.py", line 395, in open response = meth(req, response) File "/usr/lib64/python2.6/urllib2.py", line 508, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.6/urllib2.py", line 427, in error result = self._call_chain(*args) File "/usr/lib64/python2.6/urllib2.py", line 367, in _call_chain result = func(*args) File "/usr/lib64/python2.6/urllib2.py", line 847, in http_error_401 url, req, headers) File "/usr/lib64/python2.6/urllib2.py", line 825, in http_error_auth_reqed return self.retry_http_basic_auth(host, req, realm) File "/usr/lib64/python2.6/urllib2.py", line 835, in retry_http_basic_auth return self.parent.open(req) File "/usr/lib64/python2.6/urllib2.py", line 389, in open response = self._open(req, data) File "/usr/lib64/python2.6/urllib2.py", line 407, in _open '_open', req) File "/usr/lib64/python2.6/urllib2.py", line 367, in _call_chain result = func(*args) File "/usr/lib64/python2.6/urllib2.py", line 1139, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib64/python2.6/urllib2.py", line 1112, in do_open r = h.getresponse() File "/usr/lib64/python2.6/httplib.py", line 970, in getresponse response.begin() File "/usr/lib64/python2.6/httplib.py", line 390, in begin version, status, reason = self._read_status() File "/usr/lib64/python2.6/httplib.py", line 354, in _read_status raise BadStatusLine(line) httplib.BadStatusLine -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.