All of lore.kernel.org
 help / color / mirror / Atom feed
* Unexpected error: httplib.BadStatusLine on create tests
@ 2005-11-22 18:04 Murillo F. Bernardes
  2005-11-22 18:11 ` Ewan Mellor
  0 siblings, 1 reply; 4+ messages in thread
From: Murillo F. Bernardes @ 2005-11-22 18:04 UTC (permalink / raw)
  To: xen-devel

For a long time I can't run xm-test completely because of that error. After 
this happen xend dies and i get only connection refused.

It use to be always on create tests, but not always in the same test.

Any ideas?

--

*** Test 10_create_fastdestroy started at Tue Nov 22 17:51:59 2005 UTC
[dom0] Running `xm create /dev/null ramdisk=../../ramdisk/initrd.img 
kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic
s=0 vcpus=1 memory=64 root=/dev/ram0'
Using config file "/dev/null".
Started domain testdomain
[dom0] Running `xm destroy testdomain'

[dom0] Running `xm create /dev/null ramdisk=../../ramdisk/initrd.img 
kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic
s=0 vcpus=1 memory=64 root=/dev/ram0'
Using config file "/dev/null".
Started domain testdomain
[dom0] Running `xm destroy testdomain'

[dom0] Running `xm create /dev/null ramdisk=../../ramdisk/initrd.img 
kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic
s=0 vcpus=1 memory=64 root=/dev/ram0'
Using config file "/dev/null".
Started domain testdomain
[dom0] Running `xm destroy testdomain'

[dom0] Running `xm create /dev/null ramdisk=../../ramdisk/initrd.img 
kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic
s=0 vcpus=1 memory=64 root=/dev/ram0'
Using config file "/dev/null".
Started domain testdomain
[dom0] Running `xm destroy testdomain'
[dom0] Running `xm create /dev/null ramdisk=../../ramdisk/initrd.img 
kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nics=0 vcpus=1 memory=64 
root=/dev/ram0'
Using config file "/dev/null".
Unexpected error: httplib.BadStatusLine

Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File 
"/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python/xen/xm/main.py", 
line 875, in main
    rc = cmd(args)
  File "<string>", line 1, in <lambda>
  File 
"/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python/xen/xm/main.py", 
line 507, in xm_subcommand
    cmd.main(["bogus"] + args)
  File 
"/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python/xen/xm/create.py", 
line 932, in main
    dom = make_domain(opts, config)
  File 
"/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python/xen/xm/create.py", 
line 810, in make_domain
    dominfo = server.xend_domain_create(config)
  File 
"/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendClient.py", 
line 207, in xend_domain_create
    {'op'      : 'create',
  File 
"/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendClient.py", 
line 153, in xendPost
    return self.client.xendPost(url, data)
  File 
"/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendProtocol.py", 
line 101, in xendPost
    return self.xendRequest(url, "POST", args)
  File 
"/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendProtocol.py", 
line 172, in xendRequest
    resp = conn.getresponse()
  File "/usr/lib/python2.3/httplib.py", line 781, in getresponse
    response.begin()
  File "/usr/lib/python2.3/httplib.py", line 273, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.3/httplib.py", line 237, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine

-- 
Murillo Fernandes Bernardes
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: Unexpected error: httplib.BadStatusLine on create tests
@ 2005-11-22 18:12 Petersson, Mats
  0 siblings, 0 replies; 4+ messages in thread
From: Petersson, Mats @ 2005-11-22 18:12 UTC (permalink / raw)
  To: Murillo F. Bernardes, xen-devel

In my experience, httplib.BadStatusLine is a result of xend dying,
rather than the other way around... 

It's possible to (sort of) debug xend by attaching a GDB to the process
running xend - start xend as usual, "ps ax|grep xend", and pick out the
process number for xend, then start gdb and do "attach X" where X is the
process ID of the xend process ["python xend start" or similar]. At
least you may have a chance of seeing why xend dies.

--
Mats  

> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com 
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of 
> Murillo F. Bernardes
> Sent: 22 November 2005 18:05
> To: xen-devel@lists.xensource.com
> Subject: [Xen-devel] Unexpected error: httplib.BadStatusLine 
> on create tests
> 
> For a long time I can't run xm-test completely because of 
> that error. After this happen xend dies and i get only 
> connection refused.
> 
> It use to be always on create tests, but not always in the same test.
> 
> Any ideas?
> 
> --
> 
> *** Test 10_create_fastdestroy started at Tue Nov 22 17:51:59 
> 2005 UTC [dom0] Running `xm create /dev/null 
> ramdisk=../../ramdisk/initrd.img 
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic s=0 
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Started domain testdomain
> [dom0] Running `xm destroy testdomain'
> 
> [dom0] Running `xm create /dev/null 
> ramdisk=../../ramdisk/initrd.img 
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic s=0 
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Started domain testdomain
> [dom0] Running `xm destroy testdomain'
> 
> [dom0] Running `xm create /dev/null 
> ramdisk=../../ramdisk/initrd.img 
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic s=0 
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Started domain testdomain
> [dom0] Running `xm destroy testdomain'
> 
> [dom0] Running `xm create /dev/null 
> ramdisk=../../ramdisk/initrd.img 
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nic s=0 
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Started domain testdomain
> [dom0] Running `xm destroy testdomain'
> [dom0] Running `xm create /dev/null 
> ramdisk=../../ramdisk/initrd.img 
> kernel=/boot/vmlinuz-2.6.12.6-xenU name=testdomain nics=0 
> vcpus=1 memory=64 root=/dev/ram0'
> Using config file "/dev/null".
> Unexpected error: httplib.BadStatusLine
> 
> Please report to xen-devel@lists.xensource.com Traceback 
> (most recent call last):
>   File "/usr/sbin/xm", line 10, in ?
>     main.main(sys.argv)
>   File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xm/main.py",
> line 875, in main
>     rc = cmd(args)
>   File "<string>", line 1, in <lambda>
>   File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xm/main.py",
> line 507, in xm_subcommand
>     cmd.main(["bogus"] + args)
>   File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xm/create.py",
> line 932, in main
>     dom = make_domain(opts, config)
>   File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xm/create.py",
> line 810, in make_domain
>     dominfo = server.xend_domain_create(config)
>   File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xend/XendClient.py",
> line 207, in xend_domain_create
>     {'op'      : 'create',
>   File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xend/XendClient.py",
> line 153, in xendPost
>     return self.client.xendPost(url, data)
>   File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xend/XendProtocol.py",
> line 101, in xendPost
>     return self.xendRequest(url, "POST", args)
>   File
> "/home/root/xen-hg/xen-unstable.hg/dist/install/usr/lib/python
> /xen/xend/XendProtocol.py",
> line 172, in xendRequest
>     resp = conn.getresponse()
>   File "/usr/lib/python2.3/httplib.py", line 781, in getresponse
>     response.begin()
>   File "/usr/lib/python2.3/httplib.py", line 273, in begin
>     version, status, reason = self._read_status()
>   File "/usr/lib/python2.3/httplib.py", line 237, in _read_status
>     raise BadStatusLine(line)
> httplib.BadStatusLine
> 
> --
> Murillo Fernandes Bernardes
> IBM Linux Technology Center
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-22 18:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22 18:04 Unexpected error: httplib.BadStatusLine on create tests Murillo F. Bernardes
2005-11-22 18:11 ` Ewan Mellor
2005-11-22 18:27   ` Murillo Bernardes
  -- strict thread matches above, loose matches on Subject: below --
2005-11-22 18:12 Petersson, Mats

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.