<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 15, 2017 at 12:26 PM pengyixiang <<a href="mailto:yxpengi386@163.com">yxpengi386@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hello, everyone!<br> I run command 'make check' in vdsm/, but it seems failed, log as follows:<br><br>writing RSA key<br>Signature ok<br>subject=/C=US/ST=Bar/L=Foo/O=Dis/CN=::1<br>Getting Private key<br>Generating RSA private key, 2048 bit long modulus<br>......................................+++<br>....+++<br>e is 65537 (0x10001)<br>writing RSA key<br>Signature ok<br>subject=/C=US/ST=Foo/L=Bar/O=Dis/CN=::1<br>Getting Private key<br>make[2]: Leaving directory '/root/install_script/py/vdsm/tests'<br>make[1]: Leaving directory '/root/install_script/py/vdsm/tests'<br>make[1]: Entering directory '/root/install_script/py/vdsm'<br>Makefile:1002: warning: overriding recipe for target 'check-recursive'<br>Makefile:525: warning: ignoring old recipe for target 'check-recursive'<br>make[1]: Nothing to be done for 'all-am'.<br>make[1]: Leaving directory '/root/install_script/py/vdsm'<br>out=`tox --version`; \<br>if [ $? -ne 0 ]; then \<br> echo "Error: cannot run tox, please install tox \<br> 2.5.0 or later"; \<br> exit 1; \<br>fi; \<br>version=`echo $out | cut -d' ' -f1`; \<br>if build-aux/vercmp $version 2.5.0; then \<br> echo "Error: tox is too old, please install tox \<br> 2.5.0 or later"; \<br> exit 1; \<br>fi<br>tox -e imports<br>ERROR: invocation failed (errno 2), args: ['/root/install_script/py/vdsm/.tox/imports/bin/pip', 'freeze'], cwd: /root/install_script/py/vdsm<br>Traceback (most recent call last):<br> File "/usr/bin/tox", line 11, in <module><br> load_entry_point('tox==2.5.0', 'console_scripts', 'tox')()<br> File "/usr/lib/python3/dist-packages/tox/session.py", line 39, in main<br> retcode = Session(config).runcommand()<br> File "/usr/lib/python3/dist-packages/tox/session.py", line 390, in runcommand<br> return self.subcommand_test()<br> File "/usr/lib/python3/dist-packages/tox/session.py", line 555, in subcommand_test<br> action=action)<br> File "/usr/lib/python3/dist-packages/tox/venv.py", line 384, in _pcall<br> redirect=redirect, ignore_ret=ignore_ret)<br> File "/usr/lib/python3/dist-packages/tox/session.py", line 140, in popen<br> stdout=stdout, stderr=STDOUT)<br> File "/usr/lib/python3/dist-packages/tox/session.py", line 228, in _popen<br> stdout=stdout, stderr=stderr, env=env)<br> File "/usr/lib/python3.5/subprocess.py", line 676, in __init__<br> restore_signals, start_new_session)<br> File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child<br> raise child_exception_type(errno_num, err_msg)<br>FileNotFoundError: [Errno 2] No such file or directory: '/root/install_script/py/vdsm/.tox/imports/bin/pip'<br>Makefile:972: recipe for target 'imports' failed<br>make: *** [imports] Error 1<br><br> but 'pip' file is exist,<br># ls -l /root/install_script/py/vdsm/.tox/imports/bin/pip<br>-rwxr-xr-x 1 root root 224 6月 28 09:14 /root/install_script/py/vdsm/.tox/imports/bin/pip<br>what may caused it ?<br></div></div></blockquote><div><br></div><div>I have no idea :-)</div><div><br></div><div>This is known to work on rhel 7.x, Centos 7.x, Fedora 25, 26, and 27:</div><div><br></div><div> ./autogen.sh --system</div><div> make</div><div> make check<br></div><div><br></div><div>See tests/README for more options, for example running only one test</div><div>module or selecting specific tests.</div><div><br></div><div>If you have trouble, you can also use vdsm container to run the tests:</div><div><br></div><div>docker run --privileged --rm -it -v `pwd`:/vdsm:Z ovirtorg/vdsm-test-fedora-25 bash<br></div><div><br></div><div>Should work from the root of a vdsm tree, mounting the source at /vdsm inside</div><div>the container.</div><div><br></div><div>Nir</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><br><br><br><br><br><br></div></div><br><br><span title="neteasefooter"><p> </p></span>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a></blockquote></div></div>