<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 15, 2017 at 12:26 PM pengyixiang &lt;<a href="mailto:yxpengi386@163.com">yxpengi386@163.com</a>&gt; 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 &#39;make check&#39; 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 &#39;/root/install_script/py/vdsm/tests&#39;<br>make[1]: Leaving directory &#39;/root/install_script/py/vdsm/tests&#39;<br>make[1]: Entering directory &#39;/root/install_script/py/vdsm&#39;<br>Makefile:1002: warning: overriding recipe for target &#39;check-recursive&#39;<br>Makefile:525: warning: ignoring old recipe for target &#39;check-recursive&#39;<br>make[1]: Nothing to be done for &#39;all-am&#39;.<br>make[1]: Leaving directory &#39;/root/install_script/py/vdsm&#39;<br>out=`tox --version`; \<br>if [ $? -ne 0 ]; then \<br>    echo &quot;Error: cannot run tox, please install tox \<br>    2.5.0 or later&quot;; \<br>    exit 1; \<br>fi; \<br>version=`echo $out | cut -d&#39; &#39; -f1`; \<br>if build-aux/vercmp $version 2.5.0; then \<br>    echo &quot;Error: tox is too old, please install tox \<br>    2.5.0 or later&quot;; \<br>    exit 1; \<br>fi<br>tox -e imports<br>ERROR: invocation failed (errno 2), args: [&#39;/root/install_script/py/vdsm/.tox/imports/bin/pip&#39;, &#39;freeze&#39;], cwd: /root/install_script/py/vdsm<br>Traceback (most recent call last):<br>  File &quot;/usr/bin/tox&quot;, line 11, in &lt;module&gt;<br>    load_entry_point(&#39;tox==2.5.0&#39;, &#39;console_scripts&#39;, &#39;tox&#39;)()<br>  File &quot;/usr/lib/python3/dist-packages/tox/session.py&quot;, line 39, in main<br>    retcode = Session(config).runcommand()<br>  File &quot;/usr/lib/python3/dist-packages/tox/session.py&quot;, line 390, in runcommand<br>    return self.subcommand_test()<br>  File &quot;/usr/lib/python3/dist-packages/tox/session.py&quot;, line 555, in subcommand_test<br>    action=action)<br>  File &quot;/usr/lib/python3/dist-packages/tox/venv.py&quot;, line 384, in _pcall<br>    redirect=redirect, ignore_ret=ignore_ret)<br>  File &quot;/usr/lib/python3/dist-packages/tox/session.py&quot;, line 140, in popen<br>    stdout=stdout, stderr=STDOUT)<br>  File &quot;/usr/lib/python3/dist-packages/tox/session.py&quot;, line 228, in _popen<br>    stdout=stdout, stderr=stderr, env=env)<br>  File &quot;/usr/lib/python3.5/subprocess.py&quot;, line 676, in __init__<br>    restore_signals, start_new_session)<br>  File &quot;/usr/lib/python3.5/subprocess.py&quot;, line 1282, in _execute_child<br>    raise child_exception_type(errno_num, err_msg)<br>FileNotFoundError: [Errno 2] No such file or directory: &#39;/root/install_script/py/vdsm/.tox/imports/bin/pip&#39;<br>Makefile:972: recipe for target &#39;imports&#39; failed<br>make: *** [imports] Error 1<br><br>  but &#39;pip&#39; 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>