Bug 54292 - appcenter/resolve: RuntimeError: Could not get lock in -5.837275107722917e-13 seconds
appcenter/resolve: RuntimeError: Could not get lock in -5.837275107722917e-13...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-01-03 09:23 CET by Maximilian Janßen
Modified: 2023-07-07 17:44 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021122921000523, 2022090921000084
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2022-01-03 09:23:15 CET
Version: 5.0-1 errata177

Error: 
Internal server error during "appcenter/resolve".
Request: appcenter/resolve

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 180, in _response
    request.options = sanitize_args(sanitizer, 'request.options', {'request.options': request.options})
  File "%PY3%/univention/management/console/modules/decorators.py", line 189, in sanitize_args
    return sanitizer.sanitize(name, args)
  File "%PY3%/univention/management/console/modules/sanitizers.py", line 205, in sanitize
    new_value = self._sanitize(value, name, further_arguments)
  File "%PY3%/univention/management/console/modules/sanitizers.py", line 302, in _sanitize
    altered_value[attr] = sanitizer.sanitize(attr, value)
  File "%PY3%/univention/management/console/modules/sanitizers.py", line 205, in sanitize
    new_value = self._sanitize(value, name, further_arguments)
  File "%PY3%/univention/management/console/modules/sanitizers.py", line 359, in _sanitize
    altered_value.append(self.sanitizer.sanitize(name, {name: item}))
  File "%PY3%/univention/management/console/modules/sanitizers.py", line 205, in sanitize
    new_value = self._sanitize(value, name, further_arguments)
  File "%PY3%/univention/management/console/modules/appcenter/sanitizers.py", line 72, in _sanitize
    app = Apps.find_by_string(value)
  File "%PY3%/univention/appcenter/app_cache.py", line 560, in find_by_string
    return cache.find(app_id, app_version=app_version)
  File "%PY3%/univention/appcenter/app_cache.py", line 84, in find
    apps = self.get_all_apps_with_id(app_id)
  File "%PY3%/univention/appcenter/app_cache.py", line 71, in get_all_apps_with_id
    for app in self.get_every_single_app():
  File "%PY3%/univention/appcenter/app_cache.py", line 501, in get_every_single_app
    ret.extend(app_cache.get_every_single_app())
  File "%PY3%/univention/appcenter/app_cache.py", line 343, in get_every_single_app
    with self._locked():
  File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "%PY3%/univention/appcenter/app_cache.py", line 333, in _locked
    raise RuntimeError('Could not get lock in %s seconds' % timeout)
RuntimeError: Could not get lock in -5.837275107722917e-13 seconds

Role: domaincontroller_master