Bug 2268578 - anaconda installer using vnc crashes in automated test with "pyanaconda.ui.gui.xkl_wrapper.XklWrapperError: Failed to initialize layouts" [NEEDINFO]
Summary: anaconda installer using vnc crashes in automated test with "pyanaconda.ui.gu...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-08 12:12 UTC by Radek Vykydal
Modified: 2024-03-26 15:22 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
rvykydal: needinfo? (mclasen)


Attachments (Terms of Use)

Description Radek Vykydal 2024-03-08 12:12:39 UTC
The issue is described in https://github.com/rhinstaller/kickstart-tests/issues/1060


Reproducible: Sometimes

Steps to Reproduce:
1. Start automated installation using rawhide boot.iso installer image with this kickstart:

url --url=https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/
lang en
keyboard us
vnc

2.
3.
Actual Results:  
The installation crashes with this traceback:

pyanaconda.ui.gui.xkl_wrapper.XklWrapperError: Failed to initialize layouts
2024-02-19 23:20:18,467 INFO: RESULT:ui_vnc:f5539215ba17:FAILED:Test failed on line: 23:20:07,835 CRIT anaconda:anaconda: exception: Traceback (most recent call last):

  File "/sbin/anaconda", line 585, in <module>
    anaconda.intf.run()

  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/__init__.py", line 705, in run
    self._currentAction.refresh()

  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 367, in refresh
    self._createBox()

  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 143, in _createBox
    spoke = spokeClass(self.data, self.storage, self.payload)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/spokes/keyboard.py", line 320, in __init__
    self._xkl_wrapper = XklWrapper.get_instance()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/xkl_wrapper.py", line 84, in get_instance
    XklWrapper._instance = XklWrapper()
                           ^^^^^^^^^^^^

  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/xkl_wrapper.py", line 118, in __init__
    raise XklWrapperError("Failed to initialize layouts")

pyanaconda.ui.gui.xkl_wrapper.XklWrapperError: Failed to initialize layouts

Expected Results:  
The installation finishes

Additional information:

In daily kickstart tests happens in 1/4 cases.
With the reproducer kickstart ^^ used in a VM I hit the issue in ~1/2 cases.
It affects kickstart tests using vnc in kickstart.

The installer image package diff (available in https://github.com/rhinstaller/kickstart-tests/issues/1060) suggests the issue started to appear on change of Gnome 46 Alpha -> Beta.

Comment 2 Martin Kolman 2024-03-26 15:19:08 UTC
Still happening on latest Rawhide image with Mutter 46.0-1.


Note You need to log in before you can comment on or make changes to this bug.