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

Build: #1875 failed Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>

Test results

  • 412 tests in total
  • 3 tests failed
  • 3 failures are new
  • 6 tests were fixed
  • 1 test was quarantined / skipped
  • 545 minutes taken in total.
New test failures 3
Status Test View job Duration
Collapse Failed test_nested_directories test_user_removes_nonempty_directory_using_client2_and_using_client1_sees_that_they_have_disappeared[1oz_1op_1oc-REST-web GUI]
Chrome nested directories tests 5 mins
AssertionError: not found "dir_child2" in browser
subtree = ['dir_child2'], user = 'user1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...ile_browser._FileBrowser object at 0x7fb0138d8f60>}, 'config': '- dir1:\n    - dir_child1\n- dir2:\n    - dir_child2'})
cwd = '/dir2'
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="eaeaa87c18c47860eb04e540cb916120")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="eaeaa87c18c47860eb04e540cb916120")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_removes_nonempty_dir1')
which_browser = 'file browser'
(75 more lines...)
Collapse Failed test_nested_directories test_user_create_directory_structure_using_client1_and_using_client2_sees_that_it_has_appeared[1oz_1op_1oc-oneclient1-web GUI]
Chrome nested directories tests 6 mins
AssertionError: not found "20B-0.txt" in browser
subtree = ['20B-0.txt', '20B-1.txt', {'dir5': [{'dir6': ['dir7']}]}]
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 = '/dir1/dir2/dir4'
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="df2f05632dd122ada90a6e76ba85eeee")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="df2f05632dd122ada90a6e76ba85eeee")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_create_directory_str11')
(80 more lines...)
Collapse Failed test_nested_directories test_user_create_directory_structure_using_client1_and_using_client2_sees_that_it_has_appeared[1oz_1op_1oc-web GUI-oneclient1]
Chrome nested directories tests 15 mins
AssertionError: dir3 not found in space1/dir1/dir2
subtree = ['dir3', {'dir4': ['20B-0.txt', '20B-1.txt', {'dir5': [{'dir6': [...]}]}]}]
children = ['dir4'], cwd = 'space1/dir1/dir2'
ls_fun = functools.partial(<function ls_dir_in_op_oneclient at 0x7fb014753730>, user='user1', users={'admin': <tests.utils.user....AdminUser object at 0x7fb0137ec048>, 'user1': <tests.utils.user_utils.User object at 0x7fb013585a58>}, host='client1')
assert_file_content_fun = functools.partial(<function assert_file_content_in_op_oneclient at 0x7fb0147536a8>, user='user1', users={'admin': <tes....AdminUser object at 0x7fb0137ec048>, 'user1': <tests.utils.user_utils.User object at 0x7fb013585a58>}, host='client1')

    def check_files_tree(subtree, children, cwd, ls_fun, assert_file_content_fun):
        """This function recursively checks files tree:
(65 more lines...)
Fixed tests 6
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 #1872 (Child of ODSRV-OPV-1321) Chrome directories times tests 1 min
Successful test_directories_times test_user_changes_directory_using_client2_and_using_client1_sees_that_modification_time_has_changed[1oz_1op_1oc-oneclient1-web GUI-equal to]
Failing since build #1873 (Child of ODSRV-OPRPM-1990) Chrome directories times tests 1 min
Successful test_onepanel_basic test_files_tree_with_specified_depth_is_imported_to_space_after_changing_import_depth_and_enable_delete_detection_option[1oz_1op_1oc-web GUI-REST]
Failing since build #1873 (Child of ODSRV-OPRPM-1990) Chrome onepanel tests 3 mins
Successful test_onepanel_basic test_files_tree_with_specified_depth_is_imported_to_space_after_changing_max_depth_option[1oz_1op_1oc-web GUI-REST]
Failing since build #1872 (Child of ODSRV-OPV-1321) Chrome onepanel tests 3 mins
Successful test_onepanel_basic test_files_tree_with_specified_depth_is_imported_to_space_after_changing_max_depth_enabling_delete_and_disabling_modification_detection[1oz_1op_1oc-web GUI-REST]
Failing since build #1873 (Child of ODSRV-OPRPM-1990) Chrome onepanel tests 3 mins
Successful test_onepanel_basic test_user_does_not_see_files_tree_changes_after_disabling_continuous_scan_option[1oz_1op_1oc-web GUI-REST]
Failing since build #1872 (Child of ODSRV-OPV-1321) Chrome onepanel 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 #1870 (Child of ODSRV-OPRPM-1989) Not quarantined Chrome file content tests 2 mins
AssertionError: Expected file named space1/file1 content to be TEST TEXT ONEDATA but found
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...)