Bug 2291493
Summary: | F41FailsToInstall: bodhi-composer, bodhi-server. TypeError: EnumSymbol.__init__() missing 2 required positional arguments: 'value' and 'description' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
Component: | bodhi-server | Assignee: | Mattia Verga <mattia.verga> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | aurelien, lenka, mattia.verga, mhroncok, thrcka |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | bodhi-server-8.1.1-1.fc41 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-06-24 08:17:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2245641, 2291658, 2291872, 2291873, 2291874, 2291971, 2291973 | ||
Bug Blocks: | 2260877, 2244836 |
Description
Fedora Fails To Install
2024-06-12 11:16:49 UTC
==================================== ERRORS ==================================== ___________________ ERROR collecting tests/test___init__.py ____________________ /usr/lib/python3.13/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.13/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.13/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.13/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.13/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.13/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.13/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.13/site-packages/_pytest/pathlib.py:567: in import_path importlib.import_module(module_name) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) <frozen importlib._bootstrap>:1387: in _gcd_import ??? <frozen importlib._bootstrap>:1360: in _find_and_load ??? <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:935: in _load_unlocked ??? /usr/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) tests/test___init__.py:25: in <module> from bodhi.server import models bodhi/server/models.py:204: in <module> class DeclEnum(metaclass=EnumMeta): bodhi/server/models.py:190: in __init__ sym = reg[v[0]] = EnumSymbol(cls, k, *v) E TypeError: EnumSymbol.__init__() missing 2 required positional arguments: 'value' and 'description' ... =========================== short test summary info ============================ ERROR tests/test___init__.py - TypeError: EnumSymbol.__init__() missing 2 req... ERROR tests/test_bugs.py - TypeError: EnumSymbol.__init__() missing 2 require... ERROR tests/test_mail.py - TypeError: EnumSymbol.__init__() missing 2 require... ERROR tests/test_metadata.py - TypeError: EnumSymbol.__init__() missing 2 req... ERROR tests/test_models.py - TypeError: EnumSymbol.__init__() missing 2 requi... ERROR tests/test_notifications.py - TypeError: EnumSymbol.__init__() missing ... ERROR tests/test_push.py - TypeError: EnumSymbol.__init__() missing 2 require... ERROR tests/test_renderers.py - TypeError: EnumSymbol.__init__() missing 2 re... ERROR tests/test_schemas.py - TypeError: EnumSymbol.__init__() missing 2 requ... ERROR tests/test_security.py - TypeError: EnumSymbol.__init__() missing 2 req... ERROR tests/test_util.py - TypeError: EnumSymbol.__init__() missing 2 require... ERROR tests/test_validators.py - TypeError: EnumSymbol.__init__() missing 2 r... ERROR tests/auth/test_fedora.py - TypeError: EnumSymbol.__init__() missing 2 ... ERROR tests/auth/test_oauth.py - TypeError: EnumSymbol.__init__() missing 2 r... ERROR tests/auth/test_utils.py - TypeError: EnumSymbol.__init__() missing 2 r... ERROR tests/auth/test_views.py - TypeError: EnumSymbol.__init__() missing 2 r... ERROR tests/consumers/test_automatic_updates.py - TypeError: EnumSymbol.__ini... ERROR tests/consumers/test_ci.py - TypeError: EnumSymbol.__init__() missing 2... ERROR tests/consumers/test_consumers.py - TypeError: EnumSymbol.__init__() mi... ERROR tests/consumers/test_resultsdb.py - TypeError: EnumSymbol.__init__() mi... ERROR tests/consumers/test_signed.py - TypeError: EnumSymbol.__init__() missi... ERROR tests/consumers/test_waiverdb.py - TypeError: EnumSymbol.__init__() mis... ERROR tests/functional/test_packages.py - TypeError: EnumSymbol.__init__() mi... ERROR tests/functional/test_users.py - TypeError: EnumSymbol.__init__() missi... ERROR tests/scripts/test_compat.py - TypeError: EnumSymbol.__init__() missing... ERROR tests/scripts/test_initializedb.py - TypeError: EnumSymbol.__init__() m... ERROR tests/scripts/test_sar.py - TypeError: EnumSymbol.__init__() missing 2 ... ERROR tests/scripts/test_untag_branched.py - TypeError: EnumSymbol.__init__()... ERROR tests/services/test_builds.py - TypeError: EnumSymbol.__init__() missin... ERROR tests/services/test_comments.py - TypeError: EnumSymbol.__init__() miss... ERROR tests/services/test_composes.py - TypeError: EnumSymbol.__init__() miss... ERROR tests/services/test_csrf.py - TypeError: EnumSymbol.__init__() missing ... ERROR tests/services/test_errors.py - TypeError: EnumSymbol.__init__() missin... ERROR tests/services/test_overrides.py - TypeError: EnumSymbol.__init__() mis... ERROR tests/services/test_releases.py - TypeError: EnumSymbol.__init__() miss... ERROR tests/services/test_schemas.py - TypeError: EnumSymbol.__init__() missi... ERROR tests/services/test_updates.py - TypeError: EnumSymbol.__init__() missi... ERROR tests/tasks/test_approve_testing.py - TypeError: EnumSymbol.__init__() ... ERROR tests/tasks/test_check_policies.py - TypeError: EnumSymbol.__init__() m... ERROR tests/tasks/test_check_signed_builds.py - TypeError: EnumSymbol.__init_... ERROR tests/tasks/test_clean_old_composes.py - TypeError: EnumSymbol.__init__... ERROR tests/tasks/test_composer.py - TypeError: EnumSymbol.__init__() missing... ERROR tests/tasks/test_expire_overrides.py - TypeError: EnumSymbol.__init__()... ERROR tests/tasks/test_fetch_test_cases.py - TypeError: EnumSymbol.__init__()... ERROR tests/tasks/test_handle_side_and_related_tags.py - TypeError: EnumSymbo... ERROR tests/tasks/test_tag_update_builds.py - TypeError: EnumSymbol.__init__(... ERROR tests/tasks/test_work_on_bugs.py - TypeError: EnumSymbol.__init__() mis... ERROR tests/views/test_generic.py - TypeError: EnumSymbol.__init__() missing ... !!!!!!!!!!!!!!!!!!! Interrupted: 48 errors during collection !!!!!!!!!!!!!!!!!!! ================== 4 warnings, 48 errors in 105.85s (0:01:45) ================== See https://github.com/fedora-infra/bodhi/pull/5686 Do you think it's the correct way to handle it? (a local rebuild passes) I have no idea what is the code trying to achieve. But if it makes the tests pass 🤷 Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. I've merged the PR upstream. I was planning to make a 8.1.1 bugfix release with some other fixes, but it's taking longer than expected, so I think I'll simply backport a couple of urgent patches and fix the FTB/FTI. FEDORA-2024-fea3f9f3f1 (bodhi-server-8.1.1-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-fea3f9f3f1 FEDORA-2024-fea3f9f3f1 (bodhi-server-8.1.1-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |