<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 1:32 PM, Milan Zamazal <span dir="ltr"><<a href="mailto:mzamazal@redhat.com" target="_blank">mzamazal@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, I'm trying to run ovirt-system-tests from git master with<br>
basic-suite-master on my RHEL machine. The tests had been failing on<br>
missing ovirtsdk4 Python module, so I installed<br>
python-ovirt-engine-sdk4-4.0.<wbr>4-2.el7ev.x86_64 package. Now the tests<br>
fail early and I'm getting the following error:<br>
<br>
File "/usr/lib64/python2.7/<wbr>unittest/case.py", line 369, in run<br>
testMethod()<br>
File "/usr/lib/python2.7/site-<wbr>packages/nose/case.py", line 197, in runTest<br>
self.test(*self.arg)<br>
File "/usr/lib/python2.7/site-<wbr>packages/ovirtlago/testlib.py"<wbr>, line 129, in wrapped_test<br>
test()<br>
File "/usr/lib/python2.7/site-<wbr>packages/ovirtlago/testlib.py"<wbr>, line 59, in wrapper<br>
return func(get_test_prefix(), *args, **kwargs)<br>
File "/home/pdm/ovirt/lago/ovirt-<wbr>system-tests/basic-suite-<wbr>master/test-scenarios/002_<wbr>bootstrap.py", line 215, in add_cluster<br>
add_cluster_4(prefix)<br>
File "/home/pdm/ovirt/lago/ovirt-<wbr>system-tests/basic-suite-<wbr>master/test-scenarios/002_<wbr>bootstrap.py", line 256, in add_cluster_4<br>
ballooning_enabled=True,<br>
File "/usr/lib64/python2.7/site-<wbr>packages/ovirtsdk4/services.<wbr>py", line 3758, in add<br>
return readers.ClusterReader.read_<wbr>one(reader)<br>
File "/usr/lib64/python2.7/site-<wbr>packages/ovirtsdk4/readers.py"<wbr>, line 1740, in read_one<br>
obj.required_rng_sources = [types.RngSource(s.lower()) for s in Reader.read_strings(reader)]<br>
File "/usr/lib/python2.7/site-<wbr>packages/enum/__init__.py", line 330, in __call__<br>
return cls.__new__(cls, value)<br>
File "/usr/lib/python2.7/site-<wbr>packages/enum/__init__.py", line 642, in __new__<br>
raise ValueError("%s is not a valid %s" % (value, cls.__name__))<br>
ValueError: urandom is not a valid RngSource<br>
<br>
Does anybody know what's wrong and how to make the tests working?<br></blockquote><div><br></div><div>Yes, this was bug[1] in Python SDK. It's fixed in Pyhon SDK version 4.1.2.<br><br>[1] <a href="https://gerrit.ovirt.org/#/c/73301/">https://gerrit.ovirt.org/#/c/73301/</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thank you,<br>
Milan<br>
______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
</blockquote></div><br></div></div>