Hi Raymond,

What release rpm did you install?
is the one from the document? or 
https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm

Can you update what are the exact steps you performed in order to configure the environment?

Regards,
Galit

On Wed, Oct 16, 2019 at 5:02 PM <raymond.francis@oracle.com> wrote:
I am currently setting up the Ovirt System Tests using the guide

https://ovirt-system-tests.readthedocs.io/en/latest/general/running_tests/index.html

So we get to the run_suite.sh part. This calls a python script called put_host_image.py which tries to create a symlink to the current repo  but hits an issue where the file (internal_repo/host_image)  is said to not exist at the time. Output below

 python /Ray/ovirt-system-tests/common/scripts/put_host_image.py /Ray/ovirt-system-tests/deployment-basic-suite-4.3 /Ray/ovirt-system-tests/deployment-basic-suite-4.3/current/internal_repo/host_image
Backing file path is /var/lib/lago/store/phx_repo:el7.6-base-5:v1 dest is /Ray/ovirt-system-tests/deployment-basic-suite-4.3/current/internal_repo/host_image
Traceback (most recent call last):
  File "/Ray/ovirt-system-tests/common/scripts/put_host_image.py", line 66, in <module>
    main()
  File "/Ray/ovirt-system-tests/common/scripts/put_host_image.py", line 63, in main
    add_host_image_to_dest(prefix_path=sys.argv[1], dest=sys.argv[2])
  File "/Ray/ovirt-system-tests/common/scripts/put_host_image.py", line 55, in add_host_image_to_dest
    symlink(backing_file_path, dest)
OSError: [Errno 2] No such file or directory
+ on_exit
+ [[ 1 -ne 0 ]]
+ logger.error 'on_exit: Exiting with a non-zero status'
+ logger.log ERROR 'on_exit: Exiting with a non-zero status'
+ set +x
2019-10-16 14:50:14.980898261+0100 run_suite.sh::on_exit::ERROR:: on_exit: Exiting with a non-zero status
+ logger.info 'Dumping lago env status'
+ logger.log INFO 'Dumping lago env status'
+ set +x
2019-10-16 14:50:14.986356383+0100 run_suite.sh::on_exit::INFO:: Dumping lago env status
+ env_status
+ cd /Ray/ovirt-system-tests/deployment-basic-suite-4.3
+ lago status
[Prefix]:
    Base directory: /Ray/ovirt-system-tests/deployment-basic-suite-4.3/default
    [Networks]:
        [lago-basic-suite-4-3-net-bonding]:
            gateway: 192.168.203.1
            management: False
            status: down
        [lago-basic-suite-4-3-net-management]:
            gateway: 192.168.205.1
            management: True
            status: down
        [lago-basic-suite-4-3-net-storage]:
            gateway: 192.168.204.1
            management: False
            status: down
    UUID: d6b67236f01b11e988fc002128a2f0d8
    [VMs]:
        [lago-basic-suite-4-3-engine]:
            [NICs]:
                [eth0]:
                    ip: 192.168.205.2
                    network: lago-basic-suite-4-3-net-management
                [eth1]:
                    ip: 192.168.204.2
                    network: lago-basic-suite-4-3-net-storage
            distro: el7
            [metadata]:
                deploy-scripts:
                    $LAGO_PREFIX_PATH/scripts/_Ray_ovirt-system-tests_basic-suite-4.3_deploy-scripts_add_local_repo_no_ext_access.sh
                    $LAGO_PREFIX_PATH/scripts/_Ray_ovirt-system-tests_basic-suite-4.3_deploy-scripts_setup_engine.sh
                ovirt-engine-password: 123
            root password: 123456
            status: down
        [lago-basic-suite-4-3-host-0]:
            [NICs]:
                [eth0]:
                    ip: 192.168.205.4
                    network: lago-basic-suite-4-3-net-management
                [eth1]:
                    ip: 192.168.204.4
                    network: lago-basic-suite-4-3-net-storage
                [eth2]:
                    ip: 192.168.203.4
                    network: lago-basic-suite-4-3-net-bonding
                [eth3]:
                    ip: 192.168.203.5
                    network: lago-basic-suite-4-3-net-bonding
            distro: el7
            [metadata]:
                deploy-scripts:
                    $LAGO_PREFIX_PATH/scripts/_Ray_ovirt-system-tests_basic-suite-4.3_deploy-scripts_add_local_repo_no_ext_access.sh
                    $LAGO_PREFIX_PATH/scripts/_Ray_ovirt-system-tests_basic-suite-4.3_deploy-scripts_setup_host_el7.sh
                    $LAGO_PREFIX_PATH/scripts/_Ray_ovirt-system-tests_basic-suite-4.3_deploy-scripts_setup_1st_host_el7.sh
            root password: 123456
            status: down
        [lago-basic-suite-4-3-host-1]:
            [NICs]:
                [eth0]:
                    ip: 192.168.205.3
                    network: lago-basic-suite-4-3-net-management
                [eth1]:
                    ip: 192.168.204.3
                    network: lago-basic-suite-4-3-net-storage
                [eth2]:
                    ip: 192.168.203.2
                    network: lago-basic-suite-4-3-net-bonding
                [eth3]:
                    ip: 192.168.203.3
                    network: lago-basic-suite-4-3-net-bonding
            distro: el7
            [metadata]:
                deploy-scripts:
                    $LAGO_PREFIX_PATH/scripts/_Ray_ovirt-system-tests_basic-suite-4.3_deploy-scripts_add_local_repo_no_ext_access.sh
                    $LAGO_PREFIX_PATH/scripts/_Ray_ovirt-system-tests_basic-suite-4.3_deploy-scripts_setup_host_el7.sh
            root password: 123456
            status: down
+ cd -
/Ray/ovirt-system-tests
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/742OVY5YGA6HWBRQ3MQYBUQDPLDSYWOW/


--

GALIT ROSENTHAL

SOFTWARE ENGINEER

Red Hat 

galit@redhat.com    T: 972-9-7692230