GUI acceptance tests using environment deployed from packages.

Build: #2689 failed

Job: Transfers files failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

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

The below summarizes the result of the test " user replicates file to remote provider[1oz 2op deployed]" in build 2,689 of Onedata Products - gui acceptance pkg - Transfers files.
Description
user replicates file to remote provider[1oz 2op deployed]
Test class
gui.scenarios.test_oneprovider_transfers_files
Method
test_user_replicates_file_to_remote_provider[1oz_2op_deployed]
Jira Issue
Duration
5 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: distribution for dev-oneprovider-krakow is not entirely filled
request = <FixtureRequest for <Function 'test_user_replicates_file_to_remote_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-733>: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-459>:2: in assert_provider_chunk_in_data_distribution_filled
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="5ad2dfa3d5e4c91e2c1e1731869fe9e1")>}
browser_id = 'browser', provider = 'dev-oneprovider-krakow'
modals = <class 'tests.gui.utils.common.modals.Modals'>
hosts = {'oneprovider-1': {'container-id': '1d79ed7b30f1e3565d44c1897dd17c99da1a006a17623b3c02b7bb74a07f2603', 'hostname': 'de...1ddfd769144d3', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.0.244', '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