Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhel10 flake with "The call org.fedoraproject.Anaconda.Modules.Localization.GetCompositorSelectedLayout has failed with an exception" #1235

Open
rvykydal opened this issue Jul 4, 2024 · 8 comments
Labels
test flake A test flake worth tracking (for more investigation, potenital bug, or to see if more come...)

Comments

@rvykydal
Copy link
Contributor

rvykydal commented Jul 4, 2024

06/27/2024

00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Modules.Localization.GetCompositorSelectedLayout has failed with an exception:
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:Traceback (most recent call last):
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 455, in _method_callback
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    result = self._handle_call(
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:             ^^^^^^^^^^^^^^^^^^
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 265, in _handle_call
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return handler(*parameters, **additional_args)
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/localization/localization_interface.py", line 251, in GetCompositorSelectedLayout
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return self.implementation.get_compositor_selected_layout()
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/localization/localization.py", line 338, in get_compositor_selected_layout
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return self.compositor_keyboard_manager.get_compositor_selected_layout()
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/localization/localization.py", line 327, in compositor_keyboard_manager
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    self._compositor_keyboard_manager = GkKeyboardManager()
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:                                        ^^^^^^^^^^^^^^^^^^^
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/localization/gk_keyboard_manager.py", line 33, in __init__
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    self._proxy.PropertiesChanged.connect(self._on_properties_changed)
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/proxy.py", line 161, in __getattr__
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    member = self._get_member(self._get_interface(name), name)
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:                              ^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/proxy.py", line 211, in _get_interface
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    self._handler.specification.members
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:13,998 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 212, in specification
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:    self._specification = self._get_specification()
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:                          ^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 332, in _get_specification
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:    xml = self._call_method(
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:          ^^^^^^^^^^^^^^^^^^
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return self._get_method_reply(
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return self._handle_method_error(error)
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:    raise exception from None
00:00:14,007 WARNING org.fedoraproject.Anaconda.Modules.Localization:dasbus.error.DBusError: The name is not activatable 
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Modules.Localization.GetCompositorLayouts has failed with an exception:
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:Traceback (most recent call last):
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 455, in _method_callback
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    result = self._handle_call(
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:             ^^^^^^^^^^^^^^^^^^
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 265, in _handle_call
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return handler(*parameters, **additional_args)
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/localization/localization_interface.py", line 279, in GetCompositorLayouts
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return self.implementation.get_compositor_layouts()
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/localization/localization.py", line 347, in get_compositor_layouts
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return self.compositor_keyboard_manager.get_compositor_layouts()
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/localization/localization.py", line 327, in compositor_keyboard_manager
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    self._compositor_keyboard_manager = GkKeyboardManager()
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:                                        ^^^^^^^^^^^^^^^^^^^
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/localization/gk_keyboard_manager.py", line 33, in __init__
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    self._proxy.PropertiesChanged.connect(self._on_properties_changed)
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/proxy.py", line 161, in __getattr__
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    member = self._get_member(self._get_interface(name), name)
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:                              ^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/proxy.py", line 211, in _get_interface
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    self._handler.specification.members
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 212, in specification
00:00:14,017 WARNING org.fedoraproject.Anaconda.Modules.Localization:    self._specification = self._get_specification()
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:                          ^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 332, in _get_specification
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:    xml = self._call_method(
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:          ^^^^^^^^^^^^^^^^^^
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return self._get_method_reply(
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:    return self._handle_method_error(error)
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:    raise exception from None
00:00:14,018 WARNING org.fedoraproject.Anaconda.Modules.Localization:dasbus.error.DBusError: The name is not activatable

virt-install.log
virt-install.log
virt-install.log

@rvykydal rvykydal added the test flake A test flake worth tracking (for more investigation, potenital bug, or to see if more come...) label Jul 4, 2024
@rvykydal rvykydal changed the title rhel10 flake with "The call org.fedoraproject.Anaconda.Modules.Localization.GetCompositorSelectedLayout has failed with an exception" rhel10 and daily-iso flake with "The call org.fedoraproject.Anaconda.Modules.Localization.GetCompositorSelectedLayout has failed with an exception" Jul 4, 2024
@rvykydal
Copy link
Contributor Author

rvykydal commented Jul 4, 2024

06-28-2024
virt-install.log

@rvykydal rvykydal changed the title rhel10 and daily-iso flake with "The call org.fedoraproject.Anaconda.Modules.Localization.GetCompositorSelectedLayout has failed with an exception" rhel10 flake with "The call org.fedoraproject.Anaconda.Modules.Localization.GetCompositorSelectedLayout has failed with an exception" Jul 4, 2024
@rvykydal
Copy link
Contributor Author

rvykydal commented Jul 8, 2024

Last week - 7 occurences

@rvykydal
Copy link
Contributor Author

rvykydal commented Jul 8, 2024

Classify script update: #1242

@jkonecny12
Copy link
Member

Why is this marked as a flake?

@rvykydal
Copy link
Contributor Author

Why is this marked as a flake?

Because there was not any investigation yet.

@M4rtinK
Copy link
Contributor

M4rtinK commented Jul 16, 2024

So we did see that happen in the past:
rhinstaller/anaconda#5463 (comment)
Investigation:
rhinstaller/anaconda#5463 (comment)

Overall seems like some race condition in the keyboard handling DBus API provided by GNOME Kiosk for Anaconda.

There is a tracking issue on our side: https://issues.redhat.com/browse/INSTALLER-3970

@M4rtinK
Copy link
Contributor

M4rtinK commented Jul 16, 2024

There are 3 possible solutions I can think off right now:

  • maybe look at timing of this call on Anaconda side & delay it a bit/make sure everything is up + some waiting time ?
  • fix at GNOME Kiosk side
  • switch to localed DBus API which I think might be already available in the current RHEL 10 version of GNOME Kiosk

@rvykydal
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test flake A test flake worth tracking (for more investigation, potenital bug, or to see if more come...)
Projects
None yet
Development

No branches or pull requests

3 participants