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

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

Test results

  • 412 tests in total
  • 4 tests failed
  • 4 failures are new
  • 2 tests were fixed
  • 1 test was quarantined / skipped
  • 562 minutes taken in total.
New test failures 4
Status Test View job Duration
Collapse Failed 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]
Chrome directories times tests 2 mins
AssertionError: Time comparison failed.  Time1: modification = 2021-09-24 23:52:43  Time2: access = 2021-09-24 23:52:44  Comparator: equal
request = <FixtureRequest for <Function 'test_user_changes_directory_using_client2_and_using_client1_sees_that_modification_time_has_changed[1oz_1op_1oc-REST-web GUI-equal to]'>>

    @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: 
(49 more lines...)
Collapse Failed 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]
Chrome directories times tests 1 min
RuntimeError: no "dir2" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user_changes_directory_using_client2_and_using_client1_sees_that_modification_time_has_changed[1oz_1op_1oc-oneclient1-web GUI-equal to]'>>

    @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: 
(51 more lines...)
Collapse Failed 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]
Chrome onepanel tests 8 mins
AssertionError: not found "dir2" in browser
request = <FixtureRequest for <Function '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]'>>

    @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...)
Collapse Failed test_onepanel_basic test_files_tree_with_specified_depth_is_imported_to_space_after_changing_max_depth_option[1oz_1op_1oc-web GUI-REST]
Chrome onepanel tests 7 mins
AssertionError: file browser in files tab in op should be empty but is not
subtree = ['dir21', 'dir22', {'file1.txt': 22222}], user = 'user1'
tmp_memory = defaultdict(<class 'dict'>, {'onepanel': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...zI2MTM2MTEKMDAyZnNpZ25hdHVyZSAzoJIlMIZu02X5qSM02XTDTV1T6kws4Qdz5h7r8md01316Qo'}, 'oz': {}, 'window': {'modal': None}}})
cwd = '/dir2'
selenium = {'browsers': <selenium.webdriver.chrome.webdriver.WebDriver (session="feb0c56af3d026c0a8e5e7828307e9ac")>, 'onepanel':...e7828307e9ac")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="79fcd07170984f981b9e7031b6a6939c")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_files_tree_with_specified1')
which_browser = 'file browser'
(67 more lines...)
Fixed tests 2
Status Test Failing since View job Duration
Successful test_nested_directories test_user_removes_nonempty_directory_using_client2_and_using_client1_sees_that_they_have_disappeared[1oz_1op_1oc-oneclient1-web GUI]
Failing since build #1895 (Child of ODSRV-OPRPM-1995) Chrome nested directories tests 2 mins
Successful test_nested_directories test_user_create_directory_structure_using_client1_and_using_client2_sees_that_it_has_appeared[1oz_1op_1oc-oneclient1-web GUI]
Failing since build #1895 (Child of ODSRV-OPRPM-1995) Chrome nested directories tests 2 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 2 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...)