Acceptance tests using different clients concurrently. Environment deployed from packages.

Build: #1902 failed Child of ODSRV-OPV-1330

Test results

  • 412 tests in total
  • 2 tests failed
  • 3 tests were fixed
  • 1 test was quarantined / skipped
  • 556 minutes taken in total.
Existing test failures 2
Status Test Failing since View job Duration
AssertionError: not found "dir1" in browser
request = <FixtureRequest for <Function 'test_user_create_directory_structure_using_client1_and_using_client2_sees_that_it_has_appeared[1oz_1op_1oc-oneclient1-web GUI]'>>

    @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: 
(54 more lines...)
AssertionError: not found "20B-0.txt" in browser
subtree = ['20B-0.txt', {'dir1': [{'dir2': ['dir3', {'dir4': [...]}]}, 'dir8', '20B-0.txt', '20B-1.txt', {'dir9': ['20B-0.txt']}]}, 'dir0']
user = 'user1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...\n                    - dir7\n    - dir8\n    - 20B-0.txt\n    - 20B-1.txt\n    - dir9:\n        - 20B-0.txt\n- dir0'})
cwd = ''
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="2f99386c665a9f54d3dfda017b33cf31")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="2f99386c665a9f54d3dfda017b33cf31")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_create_directory_str1')
(74 more lines...)
Fixed tests 3
Status Test Failing since View job Duration
Successful test_directories_times test_user_changes_directory_using_client2_and_using_client1_sees_that_modification_time_has_changed[1oz_1op_1oc-REST-web GUI-equal to]
Failing since build #1901 (Child of ODSRV-OPRPM-1998) Chrome directories times tests 48 secs
Successful test_nested_directories test_user_create_directory_structure_using_client1_and_using_client2_sees_that_it_has_appeared_v2[1oz_1op_1oc-oneclient1-web GUI]
Failing since build #1901 (Child of ODSRV-OPRPM-1998) Chrome nested directories tests 6 mins
Successful test_nested_directories test_user_removes_empty_directory_and_its_parents_using_client2_and_using_client1_sees_that_they_have_disappeared[1oz_1op_1oc-oneclient1-web GUI]
Failing since build #1901 (Child of ODSRV-OPRPM-1998) Chrome nested directories tests 3 mins
Quarantined tests 1
Status Test Failing since Quarantined by View job Duration
Collapse Failed test_file_content test_user_writes_to_file_using_client2_and_using_client1_sees_that_files_content_has_changed[1oz_1op_1oc-REST-oneclient1-REST]
Failing since build #1884 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Not quarantined Chrome file content tests 3 mins
AssertionError: Expected file named space1/file1 content to be TEST TEXT ONEDATA but found TE
request = <FixtureRequest for <Function 'test_user_writes_to_file_using_client2_and_using_client1_sees_that_files_content_has_changed[1oz_1op_1oc-REST-oneclient1-REST]'>>

    @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: 
(24 more lines...)