[opensuse-buildservice] buildservice currently broken?
Hi I'm wondering whether the buildservice is currently broken ?!? osc no longer works for me. I'm using osc 0.99 from SVN. Latest changelog entry: ------------------------------------------------------------------------ r3642 | dirkmueller | 2008-04-07 11:55:11 +0200 (Mo, 07 Apr 2008) | 1 line fix latent file descriptor leak in get_source_file() sndirsch@shannon:~/pkgs/openSUSE/X11:intel-backport/intel-i810-drm> osc diff Traceback (most recent call last): File "/usr/local/bin/osc", line 10, in <module> sys.exit( osc.main() ) File "/mounts/users-space/sndirsch/projects/osc/osc/cmdln.py", line 256, in main return self.cmd(args) File "/mounts/users-space/sndirsch/projects/osc/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/mounts/users-space/sndirsch/projects/osc/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/mounts/users-space/sndirsch/projects/osc/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/mounts/users-space/sndirsch/projects/osc/osc/commandline.py", line 711, in do_diff diff += ''.join(make_diff(pac, rev1)) File "/mounts/users-space/sndirsch/projects/osc/osc/core.py", line 2171, in make_diff init_package_dir(wc.apiurl, wc.prjname, wc.name, tmpdir, wc.rev) File "/mounts/users-space/sndirsch/projects/osc/osc/core.py", line 1484, in init_package_dir f.write(''.join(show_files_meta(apiurl, project, package, revision))) File "/mounts/users-space/sndirsch/projects/osc/osc/core.py", line 1759, in show_files_meta f = http_GET(makeurl(apiurl, ['source', prj, pac], query=query)) File "/mounts/users-space/sndirsch/projects/osc/osc/core.py", line 1433, in http_GET def http_GET(*args, **kwargs): return http_request('GET', *args, **kwargs) File "/mounts/users-space/sndirsch/projects/osc/osc/core.py", line 1388, in http_request fd = urllib2.urlopen(req, data=data) File "/usr/lib64/python2.5/urllib2.py", line 124, in urlopen return _opener.open(url, data) File "/usr/lib64/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/lib64/python2.5/urllib2.py", line 498, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.5/urllib2.py", line 419, in error result = self._call_chain(*args) File "/usr/lib64/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib64/python2.5/urllib2.py", line 823, in http_error_401 url, req, headers) File "/usr/lib64/python2.5/urllib2.py", line 801, in http_error_auth_reqed return self.retry_http_basic_auth(host, req, realm) File "/usr/lib64/python2.5/urllib2.py", line 811, in retry_http_basic_auth return self.parent.open(req) File "/usr/lib64/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/lib64/python2.5/urllib2.py", line 498, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.5/urllib2.py", line 425, in error return self._call_chain(*args) File "/usr/lib64/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib64/python2.5/urllib2.py", line 506, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 500: Internal Server Error sndirsch@shannon:~/pkgs/openSUSE/X11:intel-backport/intel-i810-drm> Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-04-08 12:14:41 +0200, Stefan Dirsch wrote:
I'm wondering whether the buildservice is currently broken ?!? osc no longer works for me. I'm using osc 0.99 from SVN. Latest changelog entry:
rm ~/.osc_cookiejar -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Apr 08, 2008 at 12:13:20PM +0200, Marcus Rueckert wrote:
On 2008-04-08 12:14:41 +0200, Stefan Dirsch wrote:
I'm wondering whether the buildservice is currently broken ?!? osc no longer works for me. I'm using osc 0.99 from SVN. Latest changelog entry:
rm ~/.osc_cookiejar
Thanks. That fixed it. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I would guess that osc could automatically take care of removing that file if it needed. Wade On Tue, 2008-04-08 at 12:42 +0200, Stefan Dirsch wrote:
On Tue, Apr 08, 2008 at 12:13:20PM +0200, Marcus Rueckert wrote:
On 2008-04-08 12:14:41 +0200, Stefan Dirsch wrote:
I'm wondering whether the buildservice is currently broken ?!? osc no longer works for me. I'm using osc 0.99 from SVN. Latest changelog entry:
rm ~/.osc_cookiejar
Thanks. That fixed it.
Best regards, Stefan
Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-04-08 16:07:52 -0700, Wade Berrier wrote:
I would guess that osc could automatically take care of removing that file if it needed.
not really. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Apr 08, 2008 at 04:07:52PM -0700, Wade Berrier wrote:
I would guess that osc could automatically take care of removing that file if it needed.
There is not really a way for osc to know that it should discard its cookies. The usual way is that the server replies with a cookie that superseeds the one that the client has. If the api decides to become incompatible to itself and choke on the cookies that it gave out in the past, and replies with a "500 Internal Server Error", it is a bug there. Normally, it should answer with "401 Unauthorized", which triggers a code path in the client which makes it reauthenticate (and save the new cookie). A 500 leads to a "give up" response in the client. There is no provision to retry things if a 500 is encountered. Adrian added a workaround to osc on the weekend. It is committed to svn and to the openSUSE:Tools package. However, it would be better to fix the api, because that would also help those users that didn't update their osc package so far. (Or those that use the Factory osc package, or any other released one). Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
participants (4)
-
Dr. Peter Poeml
-
Marcus Rueckert
-
Stefan Dirsch
-
Wade Berrier