[Bug 1102563] New: [Build 20180722] openQA test fails in first_boot
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563 Bug ID: 1102563 Summary: [Build 20180722] openQA test fails in first_boot Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other URL: https://openqa.opensuse.org/tests/711960/modules/first _boot/steps/21 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: guillaume.gardet@arm.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- ## Observation openQA test in scenario opensuse-Tumbleweed-DVD-aarch64-create_hdd_gnome@aarch64 fails in [first_boot](https://openqa.opensuse.org/tests/711960/modules/first_boot/steps/21) The autologin for GNOME is broken on AArch64, whereas it is fine for x86_64. ## Reproducible Fails since (at least) Build [20180603](https://openqa.opensuse.org/tests/686547) ## Expected result Last good: [20180530](https://openqa.opensuse.org/tests/685290) (or more recent) Autologin should work also for AArch64 as it did previously. ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?test=create_hdd_gnome&flavor=DVD&distri=opensuse&machine=aarch64&version=Tumbleweed&arch=aarch64) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c1
--- Comment #1 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c2
--- Comment #2 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
Alexander Graf
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c3
Oliver Kurz
/etc/sysconfig/displaymanager and /etc/gdm/custom.conf files are identical on x86_64 and aarch64.
To make autologin work on aarch64, we must edit /etc/gdm/custom.conf and uncomment the following line which force the login screen to use Xorg: WaylandEnable=false
I guess you could do that in the spec file of the package that owns this file, e.g. gdm, based on an arch-specific branch. Or require an additional fix-package which does this change? Have you checked for any upstream bugs describing this problem? Regarding the openQA test, as we have support for logging in users, e.g. see the use of the variable NOAUTOLOGIN, you might be able to detect the problem and workaround it in first_boot (or the helper function wait_boot) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
Oliver Kurz
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c4
--- Comment #4 from Guillaume GARDET
(In reply to Guillaume GARDET from comment #1)
/etc/sysconfig/displaymanager and /etc/gdm/custom.conf files are identical on x86_64 and aarch64.
To make autologin work on aarch64, we must edit /etc/gdm/custom.conf and uncomment the following line which force the login screen to use Xorg: WaylandEnable=false
I guess you could do that in the spec file of the package that owns this file, e.g. gdm, based on an arch-specific branch. Or require an additional fix-package which does this change? Have you checked for any upstream bugs describing this problem?
It is more a workaround than a fix. I did not find any upstream bug for this. Just an old openSUSE bug: https://bugzilla.suse.com/show_bug.cgi?id=1011356
Regarding the openQA test, as we have support for logging in users, e.g. see the use of the variable NOAUTOLOGIN, you might be able to detect the problem and workaround it in first_boot (or the helper function wait_boot)
Yes, I am testing an update of the first_boot test to record a soft failure for this bug, to be able to continue the tests. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c5
Michal Srb
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c6
--- Comment #6 from Guillaume GARDET
A sanity check: Does manual login work with WaylandEnable=true on AArch64?
With WaylandEnable=true on AArch64 I am able to login but loginctl still tell me that it is an X11 session.
It sounds strange that Wayland + AArch64 would somehow affect autologin. But it is fairly possible that it tries to do autologin, the session crashes and then it goes back to the login screen.
I noticed that login screen appears for 1 second, then a black screen for 1 second and the login screen appears again. It seems that login screen using Wayland is shown, crashes and the login screen using X11 is finally loaded. Is it possible? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c7
--- Comment #7 from Michal Srb
With WaylandEnable=true on AArch64 I am able to login but loginctl still tell me that it is an X11 session.
That is ok. You can log into both X11 and Wayland sessions from GDM that is itself running in Wayland mode. It seems that the default session type is a X11 session.
I noticed that login screen appears for 1 second, then a black screen for 1 second and the login screen appears again. It seems that login screen using Wayland is shown, crashes and the login screen using X11 is finally loaded. Is it possible?
Maybe yes. The black screen could be also the failed attempt for autologin. Please delete any ~/.xsession-errors* files in the home directory of the user that was supposed to be autologged-in, then reboot. When you get the login screen instead of the expected autologin, check if any such files were recreated. If yes, please attach them. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c8
--- Comment #8 from Guillaume GARDET
Please delete any ~/.xsession-errors* files in the home directory of the user that was supposed to be autologged-in, then reboot. When you get the login screen instead of the expected autologin, check if any such files were recreated. If yes, please attach them.
There is no such file. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c9
--- Comment #9 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c10
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c11
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c12
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c13
Guillaume GARDET
I came into Tumbleweed with snapshot 20180807, so you can give it a try.
I uploaded the new log. There is no more the message complaining about virtio_gpu_dri.so file missing, but auto-login is still broken. This part of the log seems to be relevant: gdm[1695]: gdm_session_handle_secret_info_query: assertion 'self->priv->user_verifier_interface != NULL' failed gdm-autologin][1723]: gkr-pam: couldn't get the password from user: Conversation error -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c14
--- Comment #14 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c27
--- Comment #27 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c28
--- Comment #28 from Guillaume GARDET
According to openQA, with an upgrade from Leap 15.0 to Tumbleweed, auto-login works: https://openqa.opensuse.org/tests/853602#step/first_boot/2
This comment is probably wrong as Leap 15.0 image has wayland disable to make auto-login works. openQA test without gnome Wayland, but only with gnome X11, autologin passes: https://openqa.opensuse.org/tests/858692 So, it is really Wayland specific. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c31
--- Comment #31 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
Yifan Jiang
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c32
--- Comment #32 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c33
--- Comment #33 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c34
--- Comment #34 from Guillaume GARDET
Maybe drm kms just load too late, as suggested here: https://nrhodes91.github.io/2018/11/25/archlinux-gnome-wayland-session/
I tried to force the load the drm/kms modules earlier and drm/kms is up after 3 seconds (vs 7 seconds previously), so way earlier before Wayland try to start. But it did not change anything. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c39
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563#c77
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1102563
Stefan Dirsch
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com