GUI acceptance tests using environment deployed from packages.

Build: #1825 failed Child of ODSRV-OZP-1665

Test results

  • 590 tests in total
  • 5 tests failed
  • 13 tests were quarantined / skipped
  • 1113 minutes taken in total.
Existing test failures 5
Status Test Failing since View job Duration
collection failure
ImportError while importing test module '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-CODTT/onedata/tests/gui/scenarios/test_oneprovider_data_tab.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.6/dist-packages/_pytest/python.py:423: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/local/lib/python3.6/dist-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
(9 more lines...)
collection failure
ImportError while importing test module '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-CODT/onedata/tests/gui/scenarios/test_oneprovider_datasets.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.6/dist-packages/_pytest/python.py:423: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/local/lib/python3.6/dist-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
(9 more lines...)
collection failure
ImportError while importing test module '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COHBT/onedata/tests/gui/scenarios/test_onezone_harvesters_basic.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.6/dist-packages/_pytest/python.py:423: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/local/lib/python3.6/dist-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
(9 more lines...)
collection failure
ImportError while importing test module '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COAT/onedata/tests/gui/scenarios/test_oneprovider_archives.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.6/dist-packages/_pytest/python.py:423: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/local/lib/python3.6/dist-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
(9 more lines...)
collection failure
ImportError while importing test module '/mnt/storage/bamboo-agent-home/xml-data/build-dir/ODSRV-GAPT-COUT/onedata/tests/gui/scenarios/test_oneprovider_upload.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.6/dist-packages/_pytest/python.py:423: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/local/lib/python3.6/dist-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
(9 more lines...)
Quarantined tests 13
Status Test Failing since Quarantined by View job Duration
Collapse Failed test_multiprovider_qos test_a_qos_requirement_is_met_after_removing_the_parameter_and_adding_it_again[1oz_2op_deployed]
Failing since build #1541 (Child of ODSRV-OZP-1575) Not quarantined Chrome multiprovider QoS tests 8 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="423b06570dec135b545f4fb6c43c0432", element="63ece21a-60cc-4fa3-ab86-ff25c83115a5")>
css_sel = '.qos-status-impossible'
err_msg = 'no  item found in Requirement in Quality of Service modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(302 more lines...)
Collapse Failed test_multiprovider_qos test_file_is_replicated_after_migration_from_one_storage_with_qos_requirement[1oz_2op_deployed]
Not quarantined Chrome multiprovider QoS tests 4 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_file_is_replicated_after_migration_from_one_storage_with_qos_requirement[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: 
(172 more lines...)
Successful test_oneprovider_transfers test_user_migrates_directory_to_remote_provider[1oz_2op_deployed]
Not quarantined Chrome transfers tests 2 mins
Successful test_oneprovider_transfers test_user_migrates_file_to_remote_provider[1oz_2op_deployed]
Not quarantined Chrome transfers tests 2 mins
Successful test_oneprovider_transfers test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Not quarantined Chrome transfers tests 2 mins
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #1447 (Child of ODSRV-OZP-1532) Not quarantined Chrome transfers tests 5 mins
RuntimeError: Index out of bound. Requested item at 0 while limit is 0 in _TransfersTab in Oneprovider page
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_file_to_too_small_space_on_remote_provider[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: 
(31 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_replicate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #1447 (Child of ODSRV-OZP-1532) Not quarantined Chrome transfers tests 5 mins
RuntimeError: Index out of bound. Requested item at 0 while limit is 0 in _TransfersTab in Oneprovider page
request = <FixtureRequest for <Function 'test_user_tries_to_replicate_file_to_too_small_space_on_remote_provider[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: 
(31 more lines...)
Successful test_oneprovider_transfers_multi test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Not quarantined Chrome transfers multi browser tests 3 mins
Successful test_oneprovider_transfers_multi test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]
Not quarantined Chrome transfers multi browser tests 2 mins
Collapse Failed test_onezone_basic test_user_deregisters_dead_duplicated_provider[1oz_1op_deployed]
Failing since build #1823 (Manual run by Michał Wrzeszcz) Not quarantined Chrome onezone basic tests 3 mins
AssertionError: Expected 1 dev-oneprovider-krakow record but got 0
request = <FixtureRequest for <Function 'test_user_deregisters_dead_duplicated_provider[1oz_1op_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: 
(31 more lines...)
Collapse Failed test_onezone_basic test_user_sees_all_your_providers_are_offline_message_when_no_provider_is_online[1oz_1op_deployed]
Failing since build #1823 (Manual run by Michał Wrzeszcz) Not quarantined Chrome onezone basic tests 7 secs
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='dev-oneprovider-krakow.default.svc.cluster.local', port=9443): Max retries exceeded with url: /api/v3/onepanel/provider/storages (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f348f0953c8>: Failed to establish a new connection: [Errno 113] No route to host',))
zone_hostname = 'dev-onezone.default.svc.cluster.local'
onepanel_credentials = <tests.utils.user_utils.AdminUser object at 0x7f348f08af28>
owner_credentials = <tests.utils.user_utils.User object at 0x7f348f095f28>
space_id = 'f98f3d87dad818c98c8a22ed7b255ad8chd8ae'
storages_db = {'dev-oneprovider-krakow': {}}
hosts = {'elasticsearch': {'container-id': '346797db3e145b0c8938f839d67a4ad6fbcfbc368fea413e82006de65ba75afa', 'ip': '172.17.0...5d846a1d7ca6b6e', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.9', 'name': 'dev-onezone', ...}}
providers = [{'oneprovider-1': {'size': 1000000, 'storage': 'posix'}}]
(956 more lines...)
Successful test_onezone_basic test_user_sees_that_group_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Not quarantined Chrome onezone basic tests 1 min
Successful test_onezone_basic test_user_sees_that_user_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Not quarantined Chrome onezone basic tests 2 mins