Skip to contentSkip to conversation

Unexpected error: httplib.BadStatusLine on create tests

DISCUSSION Murillo F. Bernardes 2 participants 3 messages Nov 22, 2005

lore
Share & tools
lore
#0 lore raw

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 [email protected]
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

Signature · 2 lines
Murillo Fernandes Bernardes
IBM Linux Technology Center
#1 lore raw
Quoted 2 lines · Murillo F. Bernardes

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.

#2 lore raw
Quoted 5 lines · Ewan Mellor
Quoted 2 lines · Murillo F. Bernardes

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.

Quoted 4 lines

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.

Signature · 2 lines
Murillo Fernandes Bernardes
IBM Linux Technology Center