
From a first look, lt looks like libvirtd isn't running or configured
Hey Marc, Thanks for trying out OST! properly. oVirt system tests rely on Lago to work, have you gone through the install steps to make sure Lago is installed properly? You can check out recent documentation at [1] or [2]. Once you have Lago up and running, you can run OST. [1] http://lago.readthedocs.io/en/stable/ [2] http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/installation... On Fri, Jul 14, 2017 at 1:56 PM, Marc Young <3vilpenguin@gmail.com> wrote:
I'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'm not familiar enough to know if it's something I set up incorrectly, a real failure, etc. Git ref is a3b1753
Shortened error below [2] full Output far below[3]
[1] http://ovirt-system-tests.readthedocs.io/en/latest/docs/ general/running_tests.html
[2]
libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result) # Missing current link, setting it to default @ Initialize and populate prefix: ERROR (in 0:02:12) Error occured, aborting Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 954, in main cli_plugins[args.verb].do_run(args) File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run self._do_run(**vars(args)) File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 190, in do_init do_build=not skip_build, File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1089, in virt_conf_from_stream do_build=do_build File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1214, in virt_conf net_specs=conf['nets'], File "/usr/lib/python2.7/site-packages/lago/virt.py", line 90, in __init__ libvirt_url=libvirt_url, File "/usr/lib/python2.7/site-packages/lago/providers/libvirt/utils.py", line 87, in get_libvirt_connection LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 105, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)
[3]
[myoung@server ovirt-system-tests]$ ./run_suite.sh basic-suite-4.1 + CLI=lago + DO_CLEANUP=false + RECOMMENDED_RAM_IN_MB=8196 + EXTRA_SOURCES=() + RPMS_TO_INSTALL=() ++ 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=' -- '\''basic-suite-4.1'\''' + [[ 0 != \0 ]] + eval set -- ' -- '\''basic-suite-4.1'\''' ++ set -- -- basic-suite-4.1 + true + case $1 in + shift + break + [[ -z basic-suite-4.1 ]] + export OST_REPO_ROOT=/home/myoung/ovirt-system-tests + OST_REPO_ROOT=/home/myoung/ovirt-system-tests ++ realpath basic-suite-4.1 + export SUITE=/home/myoung/ovirt-system-tests/basic-suite-4.1 + SUITE=/home/myoung/ovirt-system-tests/basic-suite-4.1 + '[' -z '' ']' + export PREFIX=/home/myoung/ovirt-system-tests/deployment-basic-suite-4.1 + PREFIX=/home/myoung/ovirt-system-tests/deployment-basic-suite-4.1 + false + [[ -d /home/myoung/ovirt-system-tests/basic-suite-4.1 ]] + echo '################# lago version' ################# lago version
+ lago --version
lago 0.40.0 + echo '#################' ################# + check_ram 8196 + local recommended=8196 ++ free -m ++ grep Mem
++ awk '{print $2}' + local cur_ram=7812 + [[ 7812 -lt 8196 ]] + echo 'It'\''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)' It'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) + echo 'Running suite found in /home/myoung/ovirt-system- tests/basic-suite-4.1' Running suite found in /home/myoung/ovirt-system-tests/basic-suite-4.1 + echo 'Environment will be deployed at /home/myoung/ovirt-system- tests/deployment-basic-suite-4.1' Environment will be deployed at /home/myoung/ovirt-system- tests/deployment-basic-suite-4.1 + rm -rf /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1 + export PYTHONPATH=:/home/myoung/ovirt-system-tests/basic-suite-4.1 + PYTHONPATH=:/home/myoung/ovirt-system-tests/basic-suite-4.1 + source /home/myoung/ovirt-system-tests/basic-suite-4.1/control.sh + prep_suite '' '' '' + local suite_name=basic-suite-4.1 + suite_name=basic-suite-4-1 + local engine hosts + source /home/myoung/ovirt-system-tests/basic-suite-4.1/templates ++ engine=el7.3-base ++ hosts=el7.3-base + sed -r -e s,__ENGINE__,lago-basic-suite-4-1-engine,g -e 's,__HOST([0-9]+)__,lago-basic-suite-4-1-host\1,g' -e 's,__LAGO_NET_([A-Za-z0-9]*)__,lago-basic-suite-4-1-net-\L\1,g' -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 + env_init '' /home/myoung/ovirt-system-tests/basic-suite-4.1/LagoInitFile + ci_msg_if_fails env_init + msg_if_fails 'Failed to prepare environment on step env_init, please contact the CI team.' ++ dirname /home/myoung/ovirt-system-tests/basic-suite-4.1 + local repo_root_dir=/home/myoung/ovirt-system-tests + echo 'Failed to prepare environment on step env_init, please contact the CI team.'
+ echo '#########################' ######################### + local template_repo=/home/myoung/ovirt-system-tests/basic- suite-4.1/template-repo.json + local initfile=/home/myoung/ovirt-system-tests/basic-suite-4.1/ LagoInitFile + 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 @ Initialize and populate prefix: # Initialize prefix: * Create prefix dirs: * Create prefix dirs: Success (in 0:00:00) * Generate prefix uuid: * Generate prefix uuid: Success (in 0:00:00) * Create ssh keys: * Create ssh keys: Success (in 0:00:00) * Tag prefix as initialized: * Tag prefix as initialized: Success (in 0:00:00) # Initialize prefix: Success (in 0:00:00) # Create disks for VM lago-basic-suite-4-1-engine: * Create disk root: - Template phx_repo:el7.3-base:v1 not in cache, downloading Downloading 382982 Kilobytes from http://templates.ovirt.org/ repo/el7.3-base.xz 100.0% complete (382984 Kilobytes)
* Create disk root: Success (in 0:02:11)
* Create disk nfs: * Create disk nfs: Success (in 0:00:00) * Create disk iscsi: * Create disk iscsi: Success (in 0:00:00) # Create disks for VM lago-basic-suite-4-1-engine: Success (in 0:02:12) # Create disks for VM lago-basic-suite-4-1-host1: * Create disk root:
* Create disk root: Success (in 0:00:00) # Create disks for VM lago-basic-suite-4-1-host1: Success (in 0:00:00) # Create disks for VM lago-basic-suite-4-1-host0: * Create disk root: * Create disk root: Success (in 0:00:00) # Create disks for VM lago-basic-suite-4-1-host0: Success (in 0:00:00) # Copying any deploy scripts: # Copying any deploy scripts: Success (in 0:00:00) libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result) # Missing current link, setting it to default @ Initialize and populate prefix: ERROR (in 0:02:12) Error occured, aborting Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 954, in main cli_plugins[args.verb].do_run(args) File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run self._do_run(**vars(args)) File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 190, in do_init do_build=not skip_build, File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1089, in virt_conf_from_stream do_build=do_build
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1214, in virt_conf
net_specs=conf['nets'], File "/usr/lib/python2.7/site-packages/lago/virt.py", line 90, in __init__ libvirt_url=libvirt_url, File "/usr/lib/python2.7/site-packages/lago/providers/libvirt/utils.py", line 87, in get_libvirt_connection LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 105, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Eyal edri ASSOCIATE MANAGER RHV DevOps EMEA VIRTUALIZATION R&D Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)