Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #3132 failed
Job: Directories times failed
user changes directory using web gui and using client1 sees that modification time has changed[1oz 1op 1oc-oneclient1]: Test case result
The below summarizes the result of the test " user changes directory using web gui and using client1 sees that modification time has changed[1oz 1op 1oc-oneclient1]" in build 3,132 of Onedata Products - mixed acceptance pkg - Directories times.
- Description
- user changes directory using web gui and using client1 sees that modification time has changed[1oz 1op 1oc-oneclient1]
- Test class
- mixed.scenarios.test_directories_times
- Method
- test_user_changes_directory_using_web_gui_and_using_client1_sees_that_modification_time_has_changed[1oz_1op_1oc-oneclient1]
- Duration
- 4 mins
- Status
- Failed (New Failure)
Error Log
ValueError: unconverted data remains: :03 request = <FixtureRequest for <Function 'test_user_changes_directory_using_web_gui_and_using_client1_sees_that_modification_time_has_changed[1oz_1op_1oc-oneclient1]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function step_func(**kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/mixed/steps/data_basic.py:578: in assert_mtime_not_earlier_than assert_mtime_not_earlier_than_op_gui(file_path, time, user, tmp_memory, <decorator-gen-835>:2: in assert_mtime_not_earlier_than_op_gui ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/gui/meta_steps/oneprovider/data.py:379: in assert_mtime_not_earlier_than_op_gui assert_item_in_file_browser_is_of_mdate(browser_id, item_name, time, tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-561>:2: in assert_item_in_file_browser_is_of_mdate ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/gui/steps/oneprovider/file_browser.py:92: in assert_item_in_file_browser_is_of_mdate item_date = datetime.strptime(browser.data[item_name].modification_date, /usr/lib/python3.8/_strptime.py:568: in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data_string = '25 Apr 2024\n23:47:03', format = '%d %b %Y %H:%M' def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"): """Return a 2-tuple consisting of a time struct and an int containing the number of microseconds based on the input string and the format string.""" for index, arg in enumerate([data_string, format]): if not isinstance(arg, str): msg = "strptime() argument {} must be str, not {}" raise TypeError(msg.format(index, type(arg))) global _TimeRE_cache, _regex_cache with _cache_lock: locale_time = _TimeRE_cache.locale_time if (_getlang() != locale_time.lang or time.tzname != locale_time.tzname or time.daylight != locale_time.daylight): _TimeRE_cache = TimeRE() _regex_cache.clear() locale_time = _TimeRE_cache.locale_time if len(_regex_cache) > _CACHE_MAX_SIZE: _regex_cache.clear() format_regex = _regex_cache.get(format) if not format_regex: try: format_regex = _TimeRE_cache.compile(format) # KeyError raised when a bad format is found; can be specified as # \\, in which case it was a stray % but with a space after it except KeyError as err: bad_directive = err.args[0] if bad_directive == "\\": bad_directive = "%" del err raise ValueError("'%s' is a bad directive in format '%s'" % (bad_directive, format)) from None # IndexError only occurs when the format string is "%" except IndexError: raise ValueError("stray %% in format '%s'" % format) from None _regex_cache[format] = format_regex found = format_regex.match(data_string) if not found: raise ValueError("time data %r does not match format %r" % (data_string, format)) if len(data_string) != found.end(): > raise ValueError("unconverted data remains: %s" % data_string[found.end():]) E ValueError: unconverted data remains: :03 /usr/lib/python3.8/_strptime.py:352: ValueError