[ovirt-devel] run test case meet some failures

pengyixiang yxpengi386 at 163.com
Thu Aug 17 06:44:14 UTC 2017


hello, everyone!

I run
# ./run_tests.sh *.py
in
vdsm/tests/

but there's some failures as follows, What may caused it ?


======================================================================
FAIL: test_close (better_asyncore_test.TestEvent)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vdsm/tests/better_asyncore_test.py", line 38, in test_close
    self.assertFalse(event.closing)
AssertionError: True is not false

======================================================================
FAIL: test_close (better_asyncore_test.TestReactor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vdsm/tests/better_asyncore_test.py", line 68, in test_close
    self.assertFalse(reactor._wakeupEvent.closing)
AssertionError: True is not false
-------------------- >> begin captured logging << --------------------
2017-08-17 14:38:45,071 DEBUG   [root] (test ractor) START thread <Thread(test ractor, started daemon 140473908700928)> (func=<bound method Reactor.process_requests of <yajsonrpc.betterAsyncore.Reactor object at 0x7fc2a16e8190>>, args=(), kwargs={})
2017-08-17 14:38:45,072 DEBUG   [root] (test ractor) FINISH thread <Thread(test ractor, started daemon 140473908700928)>
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Verify that the connection with a valid client certificate
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vdsm/tests/ssl_test.py", line 247, in testConnectWithCertificateSucceeds
    self.assertEqual(rc, 0)
AssertionError: 1 != 0
-------------------- >> begin captured stdout << ---------------------
command=['openssl', 's_client', '-connect', '127.0.0.1:8443', '-cert', '/tmp/tmps23UUW', '-key', '/tmp/tmpvY6GzG']
rc=1
out=CONNECTED(00000003)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 289 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1502951954
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---

err=write:errno=104


--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: Verify that SSL the session identifier is preserved when
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vdsm/tests/ssl_test.py", line 269, in testSessionIsCached
    self.assertEqual(rc, 0)
AssertionError: 1 != 0
-------------------- >> begin captured stdout << ---------------------
command=['openssl', 's_client', '-connect', '127.0.0.1:8443', '-cert', '/tmp/tmpTmZHrO', '-key', '/tmp/tmpK49hsw', '-sess_out', '/tmp/tmpI9Oa_A']
rc=1
out=CONNECTED(00000003)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 289 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1502951958
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---

err=write:errno=104


--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 2866 tests in 131.761s

FAILED (SKIP=164, failures=4)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170817/01aa3791/attachment-0001.html>


More information about the Devel mailing list