I ran it from upstream.

I rebased (was on a few versions old), now it fails on something else.

greg@pegasus1:/home/greg/projects/ovirt-system-tests % git status
# On branch master
nothing to commit, working directory clean
greg@pegasus1:/home/greg/projects/ovirt-system-tests % git log | head -10
commit 5dc6a81a86bc80182c3b76a0f9e75390ac1a84e5
Author: Sahina Bose <[email protected]>
Date:   Tue Mar 12 11:37:14 2019 +0530

    hc-suite: Update to use gluster 5

    Also removed references to gdeploy

    Change-Id: I00c45a287873f87c7aecfbdeabd5c479e67bcb9d
    Signed-off-by: Sahina Bose <[email protected]>



@ Run test: 004_basic_sanity.py: Success (in 0:05:23)
Error occured, aborting
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 383, in
do_run
    self.cli_plugins[args.ovirtverb].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/utils.py", line 549, in
wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/lago/utils.py", line 560, in
wrapper
    return func(*args, prefix=prefix, **kwargs)
  File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 107, in
do_ovirt_runtest
    raise RuntimeError('Some tests failed')
RuntimeError: Some tests failed
+ res=1
+ [[ 1 -ne 0 ]]
+ xmllint --format
/home/greg/projects/ovirt-system-tests/deployment-hc-basic-suite-master/004_basic_sanity.py.junit.xml
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="nosetests" tests="11" errors="1" failures="0" skip="2">
  <testcase classname="004_basic_sanity" name="add_vm_blank" time="17.312"/>
  <testcase classname="004_basic_sanity" name="add_nic" time="5.750"/>
  <testcase classname="004_basic_sanity" name="add_disk" time="32.699"/>
  <testcase classname="004_basic_sanity" name="snapshot_merge"
time="161.868"/>
  <testcase classname="004_basic_sanity" name="add_vm_template"
time="0.339">
    <skipped type="unittest.case.SkipTest" message="Exported domain
generation not supported yet"><![CDATA[SkipTest: Exported domain generation
not supported yet
]]></skipped>
  </testcase>
  <testcase classname="004_basic_sanity" name="vm_run" time="68.276"/>
  <testcase classname="004_basic_sanity" name="vm_migrate" time="16.008"/>
  <testcase classname="004_basic_sanity" name="snapshot_live_merge"
time="0.000">
    <skipped type="unittest.case.SkipTest" message=""><![CDATA[SkipTest
]]></skipped>
  </testcase>
  <testcase classname="004_basic_sanity" name="hotplug_nic" time="3.358"/>
  <testcase classname="004_basic_sanity" name="hotplug_disk" time="13.007"/>
  <testcase classname="004_basic_sanity" name="he_vm_migrate" time="0.783">
    <error type="ovirtsdk.infrastructure.errors.RequestError"
message="&#13;&#10;status: 409&#13;&#10;reason: Conflict&#13;&#10;detail:
Cannot migrate VM. There is no host that satisfies current scheduling
constraints. See below for details:, The host
lago-hc-basic-suite-master-host-1 did not satisfy internal filter HA
because it doesn't have a positive Hosted Engine
score.."><![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
"/home/greg/projects/ovirt-system-tests/hc-basic-suite-master/test-scenarios/004_basic_sanity.py",
line 283, in he_vm_migrate
    api.vms.get(HE_VM_NAME).migrate(migrate_params)
  File
"/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py", line
30922, in migrate
    headers={"Correlation-Id":correlation_id}
  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",
line 122, in request
    persistent_auth=self.__persistent_auth
  File
"/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py",
line 79, in do_request
    persistent_auth)
  File
"/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py",
line 162, in __do_request
    raise errors.RequestError(response_code, response_reason, response_body)
RequestError:
status: 409
reason: Conflict
detail: Cannot migrate VM. There is no host that satisfies current
scheduling constraints. See below for details:, The host
lago-hc-basic-suite-master-host-1 did not satisfy internal filter HA
because it doesn't have a positive Hosted Engine score..
]]></error>
  </testcase>
</testsuite>
+ cd -


On Fri, Mar 15, 2019 at 7:41 AM Dafna Ron <[email protected]> wrote:

> Hi Greg,
>
> I just ran it locally myself and it ran properly.
> are you running it from the ds-ovirt-system-tests project or from
> ovirt-system-tests project?
>
> Thanks,
> Dafna
>
>
> On Fri, Mar 15, 2019 at 10:45 AM Greg Sheremeta <[email protected]>
> wrote:
>
>> Hi,
>>
>> I'm trying to run OST hyperconverged master locally, but it's missing
>> some ansible inventory file and fails. Is this a known issue?
>>
>>
>> + lago copy-to-vm lago-hc-basic-suite-master-host-0
>> /home/greg/projects/ovirt-system-tests/hc-basic-suite-master/generate-hc-answerfile.sh
>> /root/generate-hc-answerfile.sh
>> @ Copy
>> /home/greg/projects/ovirt-system-tests/hc-basic-suite-master/generate-hc-answerfile.sh
>> to lago-hc-basic-suite-master-host-0:/root/generate-hc-answerfile.sh:
>> @ Copy
>> /home/greg/projects/ovirt-system-tests/hc-basic-suite-master/generate-hc-answerfile.sh
>> to lago-hc-basic-suite-master-host-0:/root/generate-hc-answerfile.sh:
>> Success (in 0:00:00)
>> + lago shell lago-hc-basic-suite-master-host-0 /root/exec_playbook.sh
>> lago-hc-basic-suite-master-host-0 lago-hc-basic-suite-master-host-1
>> lago-hc-basic-suite-master-host-2
>> */root/exec_playbook.sh: line 9:
>> /usr/share/doc/gluster.ansible/playbooks/hc-ansible-deployment/ohc_gluster_inventory.yml:
>> No such file or directory*
>> + RET_CODE=1
>> + '[' 1 -ne 0 ']'
>> + echo 'ansible setup on lago-hc-basic-suite-master-host-0 failed with
>> status 1.'
>> ansible setup on lago-hc-basic-suite-master-host-0 failed with status 1.
>> + exit 1
>> + 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-03-15 06:16:36.021775858-0400 run_suite.sh::on_exit::ERROR::
>> on_exit: Exiting with a non-zero status
>>
>>
>> --
>>
>> GREG SHEREMETA
>>
>> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>>
>> Red Hat NA
>>
>> <https://www.redhat.com/>
>>
>> [email protected]    IRC: gshereme
>> <https://red.ht/sig>
>> _______________________________________________
>> Infra mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> 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/[email protected]/message/DAXCULUHLQMNXM3CA5BXVERPBSYVKOTK/
>>
>

-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

<https://www.redhat.com/>

[email protected]    IRC: gshereme
<https://red.ht/sig>
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/V47ACX4AMWMX75PUAKSBZMND3RESGNNA/

Reply via email to