WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Unexpected error: httplib.BadStatusLine on create tests

To: "Murillo F. Bernardes" <mfb@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Unexpected error: httplib.BadStatusLine on create tests
From: "Petersson, Mats" <mats.petersson@xxxxxxx>
Date: Tue, 22 Nov 2005 19:12:06 +0100
Delivery-date: Tue, 22 Nov 2005 18:15:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXvj5k5PYoDHfJJQiOeFncZTF/jxAAADVjw
Thread-topic: [Xen-devel] Unexpected error: httplib.BadStatusLine on create tests
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@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Murillo F. Bernardes
> Sent: 22 November 2005 18:05
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] Unexpected error: httplib.BadStatusLine on create tests, Petersson, Mats <=