[Users] Fwd: build vdsm error at TestSuperVdsm

Yaniv Bronheim ybronhei at redhat.com
Mon Mar 4 08:00:40 EST 2013


Hey bigclouds,
I didn't notice the personal reply. Any news with the tests? did you try running the tests locally?

----- Forwarded Message -----
From: "Yaniv Bronheim" <ybronhei at redhat.com>
To: "bigclouds" <bigclouds at 163.com>
Sent: Saturday, March 2, 2013 11:45:41 AM
Subject: Re: [Users] build vdsm error  at TestSuperVdsm

OK. so first, you can work with NOSE_EXCLUDE=.* until we figure the error. try to get into vdsm/tests folder and run
./run_tests_local.sh -s superVdsmTests.py
and tell me what you've got. it runs only supervdsm tests.

if it doesn't work, check if vdsm is running, stop it and try again.
i just did the same, fetch the last code and ran with the tests and it works (with some exceptions, but works)

TestSuperVdsm
    testIsSuperUp                                               Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib64/python2.7/threading.pyc'> ignored
OK
    testKillSuper                                               Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib64/python2.7/threading.pyc'> ignored
OK
    testNoPidFile                                               Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib64/python2.7/threading.pyc'> ignored
OK

seems like its something with your environment, and we will figure what is it if you want

----- Original Message -----
From: "bigclouds" <bigclouds at 163.com>
To: "Yaniv Bronheim" <ybronhei at redhat.com>
Cc: users at ovirt.org
Sent: Friday, March 1, 2013 3:26:18 AM
Subject: Re:Re: [Users] build vdsm error  at TestSuperVdsm





i get it ' git clone http://gerrit.ovirt.org/p/vdsm.git' this morning. and make it again. error remains. 

i fellow http://www.ovirt.org/Vdsm_Developers step by step until( make rpm ).but if add ' NOSE_EXCLUDE=.* ' ,make can success 
thanks. 

error message: 

testConnectWithoutCertificateFails OK testSessionIsCached OK 
SPM_MailMonitorTests 
testThreadLeak OK 
TestSuperVdsm 
testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm 
Traceback (most recent! call last): 
File "/root/rpmbuild/BUILD/vdsm-! 4.10.3/vdsm/supervdsm.py", line 202, in launch 
utils.retry(self._connect, Exception, timeout=60, tries=3) 
File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry 
return func() 
File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in _connect 
self._manager.connect() 
File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect 
conn = Client(self._address, authkey=self._authkey) 
File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client 
c = SocketClient(address) 
File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient 
s.connect(address) 
File "<string>", line 1, in connect 
error: [Errno 111] Connection refused 
Kil! led 
[root at ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && make rpm 



At 2013-02-28 23:33:10,"Yaniv Bronheim" < ybronhei at redhat.com > wrote:
>i dont think they're related at all
>
>run it without the tests:
>./autogen.sh --system && ./configure --enable-hooks && make rpm NOSE_EXCLUDE=.*
>
>tell me what you've got..
>what vdsm branch do you compile? master or ovirt-3.2?
>
>----- Original Message -----
>From: "bigclouds" < bigclouds at 163.com >
>To: "Yaniv Bronheim" < ybronhei at redhat.com >
>Sent: Thursday, February 28, 2013 5:18:20 PM
>Subject: Re:Re: [Users] build vdsm error  at TestSuperVdsm
>
>
>
>hi, i think the error occurs when do unit test during compiling engine code. 
>my env is centos6.3,engine code is latest from git-repo. 
>
>
>
>
>
>
>
>
>At 2013-02-28 22:00:08,"Yaniv Bronheim" < ybronhei at redhat.com > wrote:
>>Hey,
>>Maybe you've got vdsm that already runs on your machine ? but it doesn't supposed to throw this exception anyway
>>/msg NickServ identify 
>>What version of vdsm do you compile?? maybe the tests couldn't create the socket for the communication between supervdsm and vdsm.. 
>>its wrong that all the compilation fails that way.. ill check it. but did you try more than once to run it?
>>
>>
>>----- Original Message -----
>>From: "bigclouds" < bigclouds at 163.com >
>>To: users at ovirt.org >>Sent: Thursday, February 28, 2013 7:47:37 AM
>>Subject: [Users] build vdsm error  at TestSuperVdsm
>>
>>
>>
>>
>>testThreadLeak OK 
>>TestSuperVdsm 
>>testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
>>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
>>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
>>ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm 
>>Traceback (most recent call last): 
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch 
>>utils.ret ry(self._connect, Exception, timeout=60, tries=3) 
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry 
>>return func() 
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in _connect 
>>self._manager.connect() 
>>File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect 
>>conn = Client(self._address, authkey=self._authkey) 
>>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client 
>>c = SocketClient(address) 
>>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient 
>>s.connect(address) 
>>File "<string>", line 1, in connect 
>>error: [Errno 111] Connection refused 
>>Killed 
>>[root at ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && make rpm 
>>
>>
>>_______________________________________________
>>Users mailing list
>> Users at ovirt.org >>http://lists.ovirt.org/mailman/listinfo/users 



More information about the Users mailing list