<p dir="ltr">I did set up libvirtd per docs but I&#39;ll double check to make sure human error isn&#39;t the problem</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 14, 2017, 6:33 AM Eyal Edri &lt;<a href="mailto:eedri@redhat.com">eedri@redhat.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 dir="ltr">Hey Marc,<div><br></div><div>Thanks for trying out OST!<br>From a first look, lt looks like libvirtd isn&#39;t running or configured properly.<br></div><div>oVirt system tests rely on Lago to work, have you gone through the install steps to make sure Lago is installed properly?</div><div><br></div><div><br></div><div>You can check out recent documentation at [1] or [2]. Once you have Lago up and running, you can run OST.</div><div><br></div><div>[1] <a href="http://lago.readthedocs.io/en/stable/" target="_blank">http://lago.readthedocs.io/en/stable/</a></div><div>[2] <a href="http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/installation.html" target="_blank">http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/installation.html</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 14, 2017 at 1:56 PM, Marc Young <span dir="ltr">&lt;<a href="mailto:3vilpenguin@gmail.com" target="_blank">3vilpenguin@gmail.com</a>&gt;</span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;m following the introduction docs[1] to get familiar with the ovirt-system-tests and encountered a failure on first run. I dug around but I&#39;m not familiar enough to know if it&#39;s something I set up incorrectly, a real failure, etc. Git ref is a3b1753<div><br></div><div>Shortened error below [2]</div><div>full Output far below[3]</div><div><br></div><div>[1] <a href="http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/running_tests.html" target="_blank">http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/running_tests.html</a></div><div><br></div><div><br></div><div><div>[2]</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div><div>  # Missing current link, setting it to default</div><div>@ Initialize and populate prefix: ERROR (in 0:02:12)</div><div>Error occured, aborting</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/cmd.py&quot;, line 954, in main</div><div>    cli_plugins[args.verb].do_run(args)</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/plugins/cli.py&quot;, line 184, in do_run</div><div>    self._do_run(**vars(args))</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/cmd.py&quot;, line 190, in do_init</div><div>    do_build=not skip_build,</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/prefix.py&quot;, line 1089, in virt_conf_from_stream</div><div>    do_build=do_build</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/prefix.py&quot;, line 1214, in virt_conf</div><div>    net_specs=conf[&#39;nets&#39;],</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/virt.py&quot;, line 90, in __init__</div><div>    libvirt_url=libvirt_url,</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/providers/libvirt/utils.py&quot;, line 87, in get_libvirt_connection</div><div>    LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth)</div><div>  File &quot;/usr/lib64/python2.7/site-packages/libvirt.py&quot;, line 105, in openAuth</div><div>    if ret is None:raise libvirtError(&#39;virConnectOpenAuth() failed&#39;)</div><div>libvirtError: authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div></blockquote></div></div><div><br></div><div>[3]</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>[myoung@server ovirt-system-tests]$ ./run_suite.sh basic-suite-4.1<br></div><div>+ CLI=lago</div></div><div><div>+ DO_CLEANUP=false</div><div>+ RECOMMENDED_RAM_IN_MB=8196</div><div>+ EXTRA_SOURCES=()</div><div>+ RPMS_TO_INSTALL=()</div><div>++ getopt -o ho:e:n:b:cs:r:l:i --long help,output:,engine:,node:,boot-iso:,cleanup,images --long extra-rpm-source,reposync-config:,local-rpms: -n run_suite.sh -- basic-suite-4.1                                                            + options=&#39; -- &#39;\&#39;&#39;basic-suite-4.1&#39;\&#39;&#39;&#39;</div><div>+ [[ 0 != \0 ]]</div><div>+ eval set -- &#39; -- &#39;\&#39;&#39;basic-suite-4.1&#39;\&#39;&#39;&#39;</div><div>++ set -- -- basic-suite-4.1</div><div>+ true</div><div>+ case $1 in</div><div>+ shift</div><div>+ break</div><div>+ [[ -z basic-suite-4.1 ]]</div><div>+ export OST_REPO_ROOT=/home/myoung/ovirt-system-tests</div><div>+ OST_REPO_ROOT=/home/myoung/ovirt-system-tests</div><div>++ realpath basic-suite-4.1</div><div>+ export SUITE=/home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ SUITE=/home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ &#39;[&#39; -z &#39;&#39; &#39;]&#39;</div><div>+ export PREFIX=/home/myoung/ovirt-system-tests/deployment-basic-suite-4.1</div><div>+ PREFIX=/home/myoung/ovirt-system-tests/deployment-basic-suite-4.1</div><div>+ false</div><div>+ [[ -d /home/myoung/ovirt-system-tests/basic-suite-4.1 ]]</div><div>+ echo &#39;################# lago version&#39;</div><div>################# lago version                                                                                                                                                                                                               + lago --version                                                                                                                                                                                                                             lago 0.40.0</div><div>+ echo &#39;#################&#39;</div></div><div><div>#################</div><div>+ check_ram 8196</div><div>+ local recommended=8196</div><div>++ free -m</div><div>++ grep Mem                                                                                                                                                                                                                                  ++ awk &#39;{print $2}&#39;</div><div>+ local cur_ram=7812</div><div>+ [[ 7812 -lt 8196 ]]</div><div>+ echo &#39;It&#39;\&#39;&#39;s recommended to have at least 8196MB of RAM&#39; &#39;installed on the system to run the system tests, if you find&#39; &#39;issues while running them, consider upgrading your system.&#39; &#39;(only detected 7812MB installed)&#39;</div><div>It&#39;s recommended to have at least 8196MB of RAM installed on the system to run the system tests, if you find issues while running them, consider upgrading your system. (only detected 7812MB installed)</div><div>+ echo &#39;Running suite found in /home/myoung/ovirt-system-tests/basic-suite-4.1&#39;</div><div>Running suite found in /home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ echo &#39;Environment will be deployed at /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1&#39;</div><div>Environment will be deployed at /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1</div><div>+ rm -rf /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1</div><div>+ export PYTHONPATH=:/home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ PYTHONPATH=:/home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ source /home/myoung/ovirt-system-tests/basic-suite-4.1/control.sh</div><div>+ prep_suite &#39;&#39; &#39;&#39; &#39;&#39;</div><div>+ local suite_name=basic-suite-4.1</div><div>+ suite_name=basic-suite-4-1</div><div>+ local engine hosts</div><div>+ source /home/myoung/ovirt-system-tests/basic-suite-4.1/templates</div><div>++ engine=el7.3-base</div><div>++ hosts=el7.3-base</div><div>+ sed -r -e s,__ENGINE__,lago-basic-suite-4-1-engine,g -e &#39;s,__HOST([0-9]+)__,lago-basic-suite-4-1-host\1,g&#39; -e &#39;s,__LAGO_NET_([A-Za-z0-9]*)__,lago-basic-suite-4-1-net-\L\1,g&#39; -e s,__STORAGE__,lago-basic-suite-4-1-storage,g -e s,__ENGINE_TEMPLATE__,el7.3-base,g -e s,__HOSTS_TEMPLATE__,el7.3-base,g                                                                                                                                                                                + run_suite</div><div>+ env_init &#39;&#39; /home/myoung/ovirt-system-tests/basic-suite-4.1/LagoInitFile</div></div><div><div>+ ci_msg_if_fails env_init</div><div>+ msg_if_fails &#39;Failed to prepare environment on step env_init, please contact the CI team.&#39;</div><div>++ dirname /home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ local repo_root_dir=/home/myoung/ovirt-system-tests</div><div>+ echo &#39;Failed to prepare environment on step env_init, please contact the CI team.&#39;                                                                                                                                                         + echo &#39;#########################&#39;</div><div>#########################</div><div>+ local template_repo=/home/myoung/ovirt-system-tests/basic-suite-4.1/template-repo.json</div><div>+ local initfile=/home/myoung/ovirt-system-tests/basic-suite-4.1/LagoInitFile</div><div>+ lago init /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1 /home/myoung/ovirt-system-tests/basic-suite-4.1/LagoInitFile --template-repo-path /home/myoung/ovirt-system-tests/basic-suite-4.1/template-repo.json</div><div>@ Initialize and populate prefix:</div><div>  # Initialize prefix:</div><div>    * Create prefix dirs:</div><div>    * Create prefix dirs: Success (in 0:00:00)</div><div>    * Generate prefix uuid:</div><div>    * Generate prefix uuid: Success (in 0:00:00)</div><div>    * Create ssh keys:</div><div>    * Create ssh keys: Success (in 0:00:00)</div><div>    * Tag prefix as initialized:</div><div>    * Tag prefix as initialized: Success (in 0:00:00)</div><div>  # Initialize prefix: Success (in 0:00:00)</div><div>  # Create disks for VM lago-basic-suite-4-1-engine:</div><div>    * Create disk root:</div><div>      - Template phx_repo:el7.3-base:v1 not in cache, downloading</div><div>Downloading 382982 Kilobytes from <a href="http://templates.ovirt.org/repo/el7.3-base.xz" target="_blank">http://templates.ovirt.org/repo/el7.3-base.xz</a></div><div> 100.0% complete (382984 Kilobytes)                                                                                                                                                                                                              * Create disk root: Success (in 0:02:11)                                                                                                                                                                                                     * Create disk nfs:</div><div>    * Create disk nfs: Success (in 0:00:00)</div></div><div><div>    * Create disk iscsi:</div><div>    * Create disk iscsi: Success (in 0:00:00)</div><div>  # Create disks for VM lago-basic-suite-4-1-engine: Success (in 0:02:12)</div><div>  # Create disks for VM lago-basic-suite-4-1-host1:</div><div>    * Create disk root:                                                                                                                                                                                                                          * Create disk root: Success (in 0:00:00)</div><div>  # Create disks for VM lago-basic-suite-4-1-host1: Success (in 0:00:00)</div><div>  # Create disks for VM lago-basic-suite-4-1-host0:</div><div>    * Create disk root:</div><div>    * Create disk root: Success (in 0:00:00)</div><div>  # Create disks for VM lago-basic-suite-4-1-host0: Success (in 0:00:00)</div><div>  # Copying any deploy scripts:</div><div>  # Copying any deploy scripts: Success (in 0:00:00)</div><div>libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div><div>  # Missing current link, setting it to default</div><div>@ Initialize and populate prefix: ERROR (in 0:02:12)</div><div>Error occured, aborting</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/cmd.py&quot;, line 954, in main</div><div>    cli_plugins[args.verb].do_run(args)</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/plugins/cli.py&quot;, line 184, in do_run</div><div>    self._do_run(**vars(args))</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/cmd.py&quot;, line 190, in do_init</div><div>    do_build=not skip_build,</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/prefix.py&quot;, line 1089, in virt_conf_from_stream</div><div>    do_build=do_build                                                                                                                                                                                                                          File &quot;/usr/lib/python2.7/site-packages/lago/prefix.py&quot;, line 1214, in virt_conf                                                                                                                                                                net_specs=conf[&#39;nets&#39;],</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/virt.py&quot;, line 90, in __init__</div></div><div><div>    libvirt_url=libvirt_url,</div><div>  File &quot;/usr/lib/python2.7/site-packages/lago/providers/libvirt/utils.py&quot;, line 87, in get_libvirt_connection</div><div>    LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth)</div><div>  File &quot;/usr/lib64/python2.7/site-packages/libvirt.py&quot;, line 105, in openAuth</div><div>    if ret is None:raise libvirtError(&#39;virConnectOpenAuth() failed&#39;)                                                                                                                                                                         libvirtError: authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div></div></blockquote></div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-336121203563175481gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="font-family:overpass,sans-serif;margin:0px;padding:0px;font-size:14px;text-transform:uppercase;font-weight:bold"><font color="#cc0000">Eyal edri</font></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><br></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">ASSOCIATE MANAGER</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">RHV DevOps</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">EMEA VIRTUALIZATION R&amp;D</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><br></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat EMEA</a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" style="color:rgb(17,85,204)" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></td></tr></tbody></table></div><div>phone: +972-9-7692018<br>irc: eedri (on #tlv #rhev-dev #rhev-integ)</div></div></div></div></div></div></div></div></div>
</div>
</blockquote></div>