GUI acceptance tests using environment deployed from packages.

Build: #2236 failed

Job: Multiprovider basic failed

Stages & jobs

  1. Acceptance Test

user uploads file on one provider sees its distribution writes to it using cdmi on other provider and sees its distribution[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user uploads file on one provider sees its distribution writes to it using cdmi on other provider and sees its distribution[1oz 2op deployed]" in build 2,236 of Onedata Products - gui acceptance pkg - Chrome multiprovider basic tests.
Description
user uploads file on one provider sees its distribution writes to it using cdmi on other provider and sees its distribution[1oz 2op deployed]
Test class
gui.scenarios.test_multiprovider_basic
Method
test_user_uploads_file_on_one_provider_sees_its_distribution_writes_to_it_using_cdmi_on_other_provider_and_sees_its_distribution[1oz_2op_deployed]
Jira Issue
Duration
9 mins
Status
Failed (New Failure)

Error Log

AssertionError: displayed chunk (0.0, 16.6875) instead of expected (0, 20)
request = <FixtureRequest for <Function 'test_user_uploads_file_on_one_provider_sees_its_distribution_writes_to_it_using_cdmi_on_other_provider_and_sees_its_distribution[1oz_2op_deployed]'>>

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

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.6/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)
<decorator-gen-743>:2: in assert_provider_chunks_in_data_distribution
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="38400ea0a785134751631c8f5a108327")>}
browser_id = 'browser', chunks = '(0, 20)', provider = 'dev-oneprovider-krakow'
modals = <class 'tests.gui.utils.common.modals.Modals'>
hosts = {'oneprovider-1': {'container-id': '84721ebb62dcbe3009d3154bdbf64b7225ec95e30770f3058bcff502ff9af7e9', 'hostname': 'de...9c83cf5229923cf', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.8', 'name': 'dev-onezone', ...}}

    @wt(parsers.parse('user of {browser_id} sees {chunks} chunk(s) for provider '
                      '"{provider}" in chunk bar'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_provider_chunks_in_data_distribution(selenium, browser_id, chunks,
                                                    provider, modals, hosts):
        driver = selenium[browser_id]
        provider = hosts[provider]['name']
        data_distribution = modals(driver).data_distribution
        distribution = data_distribution.providers[provider].distribution
        size = data_distribution.size()
        displayed_chunks = distribution.chunks(size)
        expected_chunks = parse_seq(chunks, pattern=r'\(.+?\)')
        assert len(displayed_chunks) == len(
            expected_chunks), 'displayed {} chunks instead of expected {}'.format(
            len(displayed_chunks), len(expected_chunks))
        for chunk1, chunk2 in zip(displayed_chunks, expected_chunks):
            assert all(round(x - z) == 0 for x, z in zip(chunk1, parse_seq(chunk2,
                                                                           pattern='\d+',
                                                                           default=int))), 'displayed chunk {} instead of expected {}'.format(
>               chunk1, chunk2)
E           AssertionError: displayed chunk (0.0, 16.6875) instead of expected (0, 20)

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