Murillo F. Bernardes
2005-Nov-22 18:04 UTC
[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
Ewan Mellor
2005-Nov-22 18:11 UTC
Re: [Xen-devel] Unexpected error: httplib.BadStatusLine on create tests
On Tue, Nov 22, 2005 at 04:04:31PM -0200, Murillo F. Bernardes wrote:> 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.Xend is crashing - bug #411. What version of Python are you using, and which hardware / kernel are you using? I''m trying to get a handle on that crash at the moment. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Petersson, Mats
2005-Nov-22 18:12 UTC
RE: [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@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 > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Murillo Bernardes
2005-Nov-22 18:27 UTC
Re: [Xen-devel] Unexpected error: httplib.BadStatusLine on create tests
On Tuesday 22 November 2005 16:11, Ewan Mellor wrote:> On Tue, Nov 22, 2005 at 04:04:31PM -0200, Murillo F. Bernardes wrote: > > 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. > > Xend is crashing - bug #411.Yeah. I saw this bug report. My xend crashes but I didn''t lose network.> > What version of Python are you using, and which hardware / kernel are you > using? I''m trying to get a handle on that crash at the moment. >Python 2.3.5 (#2, Aug 30 2005, 15:50:26) [GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2 hardware: Pentium 4 2.66GHz (IBM Thinkcentre) kernel: 2.6.12.6-xen{0,U} from xen-unstable.hg repository. -- Murillo Fernandes Bernardes IBM Linux Technology Center _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel