GUI acceptance tests using environment deployed from packages.

Build: #2684 failed

Job: Transfers multi browser failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

user migrates file from remote provider to current provider[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user migrates file from remote provider to current provider[1oz 2op deployed]" in build 2,684 of Onedata Products - gui acceptance pkg - Transfers multi browser.
Description
user migrates file from remote provider to current provider[1oz 2op deployed]
Test class
gui.scenarios.test_oneprovider_transfers_multi
Method
test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]
Jira Issue
Duration
3 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: distribution for dev-oneprovider-krakow is not entirely filled
request = <FixtureRequest for <Function 'test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function
    step_func(**kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/meta_steps/oneprovider/common.py:103: in wt_assert_file_chunks
    _assert_file_chunks(selenium, browser_id, hosts, desc, modals)
<decorator-gen-935>:2: in _assert_file_chunks
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/meta_steps/oneprovider/common.py:118: in _assert_file_chunks
    assert_provider_chunk_in_data_distribution_filled(selenium,
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-455>:2: in assert_provider_chunk_in_data_distribution_filled
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="25074333145977aa0a3f8c9879491bbf")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="e7769a82a835d2fe17208999c7597a67")>}
browser_id = 'browser1', provider = 'dev-oneprovider-krakow'
modals = <class 'tests.gui.utils.common.modals.Modals'>
hosts = {'oneprovider-1': {'container-id': 'd3760366058d8be8d86715016d426cf2fa55d34b0609cff81c412afad707e8d0', 'hostname': 'de...53df354b732983', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.10', 'name': 'dev-onezone', ...}}

    @wt(parsers.parse('user of {browser_id} sees that chunk bar for provider '
                      '"{provider}" is entirely filled'))
    @repeat_failed(timeout=WAIT_BACKEND*2)
    def assert_provider_chunk_in_data_distribution_filled(selenium, browser_id,
                                                          provider, modals, hosts):
        driver = selenium[browser_id]
        provider = hosts[provider]['name']
        data_distribution = modals(driver).details_modal.data_distribution
        distribution = data_distribution.providers[provider].distribution
        size = data_distribution.size()
        chunks = distribution.chunks(size)
>       assert len(chunks) == 1, (f'distribution for {provider} is not '
                                  f'entirely filled')
E       AssertionError: distribution for dev-oneprovider-krakow is not entirely filled

tests/gui/steps/oneprovider/data_tab.py:420: AssertionError