Project: 
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_nightly/ 
Build: 
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_nightly/3/
Build Number: 3
Build Status:  Still Failing
Triggered By: Started by timer

-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #1
No changes

Changes for Build #2
[jenkins CI] Auto create ovirt-4.3


Changes for Build #3
[jenkins CI] Auto create ovirt-4.3




-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:  
basic-suite-master.test-scenarios.002_bootstrap_pytest.test_verify_engine_backup

Error Message:
AssertionError: False != True after 600 seconds

Stack Trace:
prefix = <ovirtlago.prefix.OvirtPrefix object at 0x7fea02660cd0>

    @order_by(_TEST_LIST)
    def test_verify_engine_backup(prefix):
        engine_vm = prefix.virt_env.engine_vm()
        engine_vm.ssh(
            [
                'mkdir',
                '/var/log/ost-engine-backup',
            ],
        )
        api = prefix.virt_env.engine_vm().get_api_v4()
        engine = api.system_service()
    
        with test_utils.TestEvent(engine, [9024, 9025]): #backup started event, 
completed
            result = engine_vm.ssh(
                [
                    'engine-backup',
                    '--mode=backup',
                    '--file=/var/log/ost-engine-backup/backup.tgz',
                    '--log=/var/log/ost-engine-backup/log.txt',
                ],
            )
>           assert result.code == 0, \
                'Failed to run engine-backup with code {0}. Output: 
{1}'.format(result.code, result.out)

../basic-suite-master/test-scenarios/002_bootstrap_pytest.py:1303: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib64/python2.7/contextlib.py:35: in __exit__
    self.gen.throw(type, value, traceback)
../basic-suite-master/test_utils/__init__.py:290: in TestEvent
    lambda:
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:286: in 
assert_true_within_long
    assert_equals_within_long(func, True, allowed_exceptions)
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:273: in 
assert_equals_within_long
    func, value, LONG_TIMEOUT, allowed_exceptions=allowed_exceptions
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <function <lambda> at 0x7fea02482b90>, value = True, timeout = 600
allowed_exceptions = [], initial_wait = 0

    def assert_equals_within(
        func, value, timeout, allowed_exceptions=None, initial_wait=10
    ):
        allowed_exceptions = allowed_exceptions or []
        with utils.EggTimer(timeout) as timer:
            while not timer.elapsed():
                try:
                    res = func()
                    if res == value:
                        return
                except Exception as exc:
                    if _instance_of_any(exc, allowed_exceptions):
                        time.sleep(3)
                        continue
    
                    LOGGER.exception("Unhandled exception in %s", func)
                    raise
    
                if initial_wait == 0:
                    time.sleep(3)
                else:
                    time.sleep(initial_wait)
                    initial_wait = 0
        try:
            raise AssertionError(
>               '%s != %s after %s seconds' % (res, value, timeout)
            )
E           AssertionError: False != True after 600 seconds

/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:252: AssertionError
_______________________________________________
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/infra@ovirt.org/message/WJC2ZUCQE5ODISTUWKKUMWDFC22E3EY4/

Reply via email to