GUI acceptance tests using environment deployed from packages.

Build: #1084 failed Child of ODSRV-OPRPM-1688

Test results

  • 531 tests in total
  • 30 tests failed
  • 2 failures are new
  • 1 test was fixed
  • 8 tests were quarantined / skipped
  • 892 minutes taken in total.
New test failures 2
Status Test View job Duration
Collapse Failed test_onezone_basic test_group_succeeds_to_join_space_invite_token_with_consumer_caveat_set_for_any_group[1oz_1op_deployed]
Chrome onezone basic tests 1 min
RuntimeError: no "Group" found in Consumer caveat popup
request = <FixtureRequest for <Function 'test_group_succeeds_to_join_space_invite_token_with_consumer_caveat_set_for_any_group[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: 
(43 more lines...)
Collapse Failed test_storage_sync test_user_does_not_see_files_and_directories_that_have_been_removed_in_storage_mount_point_when_delete_option_was_enabled[1oz_1op_deployed]
Chrome storage sync tests 6 mins
AssertionError: not found "dir211" in file browser
subtree = ['dir211', {'file2.txt': 11111}], user = 'browser2'
tmp_memory = defaultdict(<class 'dict'>, {'browser1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...': {'modal': None}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fb7162f3c18>}})
cwd = '/dir2/dir21'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="93cc12f2e6850cde8613eaf82ac63861")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="866a64d66459acdb3a8cfb74aaaa1726")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_does_not_see_files_a1')

(65 more lines...)
Existing test failures 28
Status Test Failing since View job Duration
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_fails_to_consume_revoked_token[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: 
(44 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_cleans_up_obsolete_tokens[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: 
(44 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_consumes_harvester_to_space_invite_token_until_usage_limit_is_not_expired[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: 
(45 more lines...)
RuntimeError: no "Group" found in Consumer caveat popup
request = <FixtureRequest for <Function 'test_group_succeeds_to_join_space_using_invite_token_with_consumer_caveat_set_for_it[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: 
(43 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_fails_to_consume_deleted_token[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: 
(44 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_group_has_default_harvester_member_privileges_after_user_consumes_group_to_harvester_invite_token_with_default_settings[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: 
(44 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_creates_new_harvester[1oz_1op_elasticsearch]'>>

    @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: 
(28 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_creates_index_in_harvester[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_removes_space_with_remove_space_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_adds_space_to_harvester_with_invitation_token[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_views_privileges_with_view_privileges_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_sets_privileges_with_set_privileges_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_fails_to_see_harvester_without_view_harvester_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_renames_harvester_with_modify_harvester_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_checks_harvesting_progress[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_leaves_harvester[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_adds_space_with_add_space_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_adds_group_to_harvester_with_add_group_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_generates_invitation_token_for_user_with_add_user_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_removes_user_from_harvester_with_remove_user_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_adds_space_to_harvester_using_available_spaces_dropdown[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_removes_harvester_with_remove_harvester_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_removes_group_from_harvester_with_remove_group_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_adds_user_to_harvester[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_renames_harvester[1oz_1op_elasticsearch]'>>

    @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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_adds_one_of_his_harvesters_to_space_and_another_user_deletes_this_harvester[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: 
(36 more lines...)
KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_adds_two_harvesters_to_space_using_invitation_tokens_and_removes_them_from_it[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: 
(36 more lines...)
AssertionError: displayed 802 as number of inserted files on sync chart instead of expected 501
request = <FixtureRequest for <Function 'test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[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: 
(34 more lines...)
Fixed tests 1
Status Test Failing since View job Duration
Successful test_onezone_basic test_group_fails_to_join_space_using_invite_token_with_consumer_caveat_set_not_for_it[1oz_1op_deployed]
Failing since build #1083 (Child of ODSRV-OZP-1410) Chrome onezone basic tests 2 mins
Quarantined tests 8
Status Test Failing since Quarantined by View job Duration
Successful test_metadata test_delete_all_basic_metadata_entries_after_saving_it[1oz_1op_deployed-Directory metadata-dir1]
Not quarantined Chrome metadata test 44 secs
Successful test_metadata test_delete_all_basic_metadata_entries_after_saving_it[1oz_1op_deployed-File metadata-file1]
Not quarantined Chrome metadata test 45 secs
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #883 (Changes by Jakub Liput) Not quarantined Chrome transfers tests 6 mins
AssertionError: Transfer transferred is 50 MiB instead of 0 B in ended
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_directory_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: 
(36 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #883 (Changes by Jakub Liput) Not quarantined Chrome transfers tests 5 mins
AssertionError: Transfer transferred is 50 MiB instead of 0 B in ended
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: 
(36 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_replicate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #883 (Changes by Jakub Liput) Not quarantined Chrome transfers tests 5 mins
AssertionError: Transfer transferred is 50 MiB instead of 0 B in ended
request = <FixtureRequest for <Function 'test_user_tries_to_replicate_directory_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: 
(36 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 #883 (Changes by Jakub Liput) Not quarantined Chrome transfers tests 5 mins
AssertionError: Transfer transferred is 50 MiB instead of 0 B in ended
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: 
(36 more lines...)
Collapse Failed test_onezone_basic test_user_fails_to_view_group_after_leaving_it[1oz_1op_deployed]
Failing since build #880 (Child of ODSRV-OZP-1345) Not quarantined Chrome onezone basic tests 1 min
RuntimeError: no  item found in GroupDetailsPage in GroupsPage in Onezone page
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="808c1cd60fc6688723bba3efb118d567", element="c90c6871-cd15-4974-9e36-2a22ee10bd76")>
css_sel = '.content-info-content-container h1'
err_msg = 'no  item found in GroupDetailsPage in GroupsPage in Onezone page'

    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_onezone_basic test_user_fails_to_view_group_he_does_not_belong_to[1oz_1op_deployed]
Failing since build #880 (Child of ODSRV-OZP-1345) Not quarantined Chrome onezone basic tests 1 min
RuntimeError: no  item found in GroupDetailsPage in GroupsPage in Onezone page
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="4489d2b9e08094d159155112b18a1e70", element="f50d799c-dc77-4884-8cfb-b0f45f2ae8a9")>
css_sel = '.content-info-content-container h1'
err_msg = 'no  item found in GroupDetailsPage in GroupsPage in Onezone page'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(302 more lines...)