[Bug 1079320] New: [Build 20180203] openQA test fails in NM_wpa2_enterprise
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320 Bug ID: 1079320 Summary: [Build 20180203] openQA test fails in NM_wpa2_enterprise Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other URL: https://openqa.opensuse.org/tests/601692/modules/NM_wp a2_enterprise/steps/26 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- ## Observation openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_on_gnome@64bit fails in [NM_wpa2_enterprise](https://openqa.opensuse.org/tests/601692/modules/NM_wpa2_enterprise/steps/26) ## Reproducible Fails since (at least) Build [20170531](https://openqa.opensuse.org/tests/412233) ## Expected result Last good: (unknown) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?machine=64bit&flavor=DVD&version=Tumbleweed&distri=opensuse&test=extra_tests_on_gnome&arch=x86_64) This seems to be an interaction issue between GNOME Control Center and NetworkManager 1.10 (?) As can be seen in the screenshots, the connection has been established, just g-c-c seems not able to show the status (something which somehow I could not yet reprodcue on my own machine) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
Oliver Kurz
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c4
Oliver Kurz
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c5
Nick Singer
Hi nicksinger, you as the test writer, any ideas? Can you take a look into the logs?
This one looks really weird. Obviously the gnome-applet itself can communicate with the NM backend (it can scan networks, It sees the adapters, etc.). However, after issuing the nmcli commands all of a sudden the GNOME-NetworkManager-UI pops up (https://openqa.opensuse.org/tests/601692#step/NM_wpa2_enterprise/19). The empty "Visible Networks" section and the two empty buttons on top (https://openqa.opensuse.org/tests/601692#step/NM_wpa2_enterprise/19) give me the suspicion that the dbus communication between the gnome-network-settings and NM are somehow misbehaving. Unfortunately there are no logs available (no network on upload). (In reply to Dominique Leuenberger from comment #0)
This seems to be an interaction issue between GNOME Control Center and NetworkManager 1.10 (?)
As can be seen in the screenshots, the connection has been established, just g-c-c seems not able to show the status (something which somehow I could not yet reprodcue on my own machine)
No offense, but are you sure you tested the GNOME (control center) interface of NM or did you actually check the "native" NM-GUI on your local machine? In which screenshot did you see that the connection is established? https://openqa.opensuse.org/tests/601692#step/NM_wpa2_enterprise/24 unfortunately only shows that it clicks "connect". Afterwards I was unable to see any indication if the connection is actually established (I'm not a gnome user after all - sry). However. Since we still see the same error in the most recent snapshot (https://openqa.opensuse.org/tests/647737#step/NM_wpa2_enterprise/26) I'll try to extract more logs on a local machine and maybe even improve debugging here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c7
Dominique Leuenberger
(In reply to Dominique Leuenberger from comment #0)
This seems to be an interaction issue between GNOME Control Center and NetworkManager 1.10 (?)
As can be seen in the screenshots, the connection has been established, just g-c-c seems not able to show the status (something which somehow I could not yet reprodcue on my own machine)
No offense, but are you sure you tested the GNOME (control center) interface of NM or did you actually check the "native" NM-GUI on your local machine?
Why offense? Questions are always fair to be asked. And yes, I use gnome-control-center, not nm-connection-editor
In which screenshot did you see that the connection is established? https://openqa.opensuse.org/tests/601692#step/NM_wpa2_enterprise/24 unfortunately only shows that it clicks "connect". Afterwards I was unable to see any indication if the connection is actually established (I'm not a gnome user after all - sry).
e.g. (from recent tests): https://openqa.opensuse.org/tests/663913#step/NM_wpa2_enterprise/39 - the journal is implying it connected (activated) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c8
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
Frederic Crozat
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
Yifan Jiang
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c9
--- Comment #9 from Jonathan Kang
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c11
--- Comment #11 from Oliver Kurz
Needles in that test are still in gnome-control-center 3.20 era. We've upgrade GNOME to 3.26 for quite a long time.
I don't see what you are referring to or how that should be relevant. This is not how openQA tests work. https://openqa.opensuse.org/tests/674191#step/NM_wpa2_enterprise/26 is the latest failure on openSUSE Tumbleweed in the snapshot 20180510. And the test fails because of the errors described in this bug - the gnome control center does not show the network the system should be connected to. https://openqa.opensuse.org/tests/673837#step/NM_wpa2_enterprise/26 is the corresponding openSUSE Leap 15.0 test showing the same symptoms. So what screen have you looked at? Our reference should be https://openqa.opensuse.org/tests/589033#step/NM_wpa2_enterprise/25 from openSUSE Tumbleweed build 20180122 where the test still worked as expected. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c12
--- Comment #12 from Oliver Kurz
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c20
--- Comment #20 from Oliver Kurz
wlan1 is the radio used for connecting to "foobar", and it's placed in the second place of that tab(GtkStackSwitcher). So if you want to see connections available in wlan1, you need do one more click. […] To fix this, you can use wlan1 as "router" and wlan0 as "client". So the first tab(shown by default) shows the connections available.
@dheidler, @nsinger could one of you guys try this workaround in openQA tests please? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c21
--- Comment #21 from Dominik Heidler
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c22
--- Comment #22 from Dominique Leuenberger
According to https://openqa.opensuse.org/tests/676887/modules/hwsim_wpa2_enterprise_setup... steps/1/src (line 47) networkmanager should actually ignore wlan0.
That should probably rather be done via:
nmcli device set wlan0 managed off
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c23
--- Comment #23 from Oliver Kurz
(In reply to Dominik Heidler from comment #21)
According to https://openqa.opensuse.org/tests/676887/modules/hwsim_wpa2_enterprise_setup... steps/1/src (line 47) networkmanager should actually ignore wlan0.
That should probably rather be done via:
nmcli device set wlan0 managed off
That should have been handled already by ``` my $nm_conf = '/etc/NetworkManager/NetworkManager.conf'; assert_script_run "echo \"[keyfile]\" >> $nm_conf"; assert_script_run "echo \"unmanaged-devices=interface-name:wlan0,interface-name:hwsim*\" >> $nm_conf" ``` in the test code in https://openqa.opensuse.org/tests/677502#step/hwsim_wpa2_enterprise_setup/18 http://lord.arch/tests/latest#step/NM_wpa2_enterprise/23 shows me trying to work around by calling `nmcli device set wlan0 managed off` and it does not seem to have any effect. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320
http://bugzilla.opensuse.org/show_bug.cgi?id=1079320#c24
--- Comment #24 from Oliver Kurz
participants (1)
-
bugzilla_noreply@novell.com