[ovirt-devel] [OST/SDK4] ValueError: urandom is not a valid RngSource
Milan Zamazal
mzamazal at redhat.com
Wed May 10 11:32:42 UTC 2017
Hi, I'm trying to run ovirt-system-tests from git master with
basic-suite-master on my RHEL machine. The tests had been failing on
missing ovirtsdk4 Python module, so I installed
python-ovirt-engine-sdk4-4.0.4-2.el7ev.x86_64 package. Now the tests
fail early and I'm getting the following error:
File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
testMethod()
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 129, in wrapped_test
test()
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 59, in wrapper
return func(get_test_prefix(), *args, **kwargs)
File "/home/pdm/ovirt/lago/ovirt-system-tests/basic-suite-master/test-scenarios/002_bootstrap.py", line 215, in add_cluster
add_cluster_4(prefix)
File "/home/pdm/ovirt/lago/ovirt-system-tests/basic-suite-master/test-scenarios/002_bootstrap.py", line 256, in add_cluster_4
ballooning_enabled=True,
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 3758, in add
return readers.ClusterReader.read_one(reader)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/readers.py", line 1740, in read_one
obj.required_rng_sources = [types.RngSource(s.lower()) for s in Reader.read_strings(reader)]
File "/usr/lib/python2.7/site-packages/enum/__init__.py", line 330, in __call__
return cls.__new__(cls, value)
File "/usr/lib/python2.7/site-packages/enum/__init__.py", line 642, in __new__
raise ValueError("%s is not a valid %s" % (value, cls.__name__))
ValueError: urandom is not a valid RngSource
Does anybody know what's wrong and how to make the tests working?
Thank you,
Milan
More information about the Devel
mailing list