Hi Experts,
I am trying to run ovirt-system-test in my local lab, which need proxy
to access internet. ovirt cannot work with proxy to access ovirt glance
repository, whose URL is:
http://glance.ovirt.org:9292, a related
bugzilla was filed by someone and in open status:
https://bugzilla.redhat.com/show_bug.cgi?id=1362433
Some ovirt system tests depend on ovirt glance repository for VM images,
these tests either skipped or failed, then subsequent VM related tests
cannot be run. Here is the test file:
https://github.com/oVirt/ovirt-system-tests/blob/master/basic-suite-4.2/t...,
and the verify_glance_import failed, then other test blocked too.
Below is exception message and details test log see attachment.
Running test scenario 004_basic_sanity.py
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="nosetests" tests="3" errors="1"
failures="0" skip="1">
<testcase classname="004_basic_sanity" name="add_blank_vms"
time="2.473"/>
<testcase classname="004_basic_sanity"
name="verify_glance_import"
time="0.050">
<skipped type="unittest.case.SkipTest" message="Glance is not
available"><![CDATA[SkipTest: Glance is not available
]]></skipped>
</testcase>
<testcase classname="004_basic_sanity"
name="add_vm1_from_template"
time="0.266">
<error type="exceptions.IndexError" message="list index out of
range"><![CDATA[Traceback (most recent call last):
File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
testMethod()
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in
runTest
self.test(*self.arg)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
142, in wrapped_test
test()
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
60, in wrapper
return func(get_test_prefix(), *args, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
79, in wrapper
prefix.virt_env.engine_vm().get_api(api_ver=4), *args, **kwargs
File
"/mnt/zz/bak/ovirt-system-tests-master/basic-suite-4.2/test-scenarios/004_basic_sanity.py",
line 748, in add_vm1_from_template
)[0]
IndexError: list index out of range
]]></error>
</testcase>
</testsuite>
Thanks,
Xu