action #38531
closed[tw][desktop] test fails in sshd
0%
Description
Observation¶
openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_in_textmode@64bit fails in
sshd
Description¶
I migrate "console_setup" from "extra_test_on_" to the "create_hdd_" in order to setup in advance and don't have to test on extra_test_on_* every time. Please ref: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5387
By the way, I delete the "x11/x11_setup" from "extra_test_on_*", because the "console_setup" had done all the stuff in "x11/x11_setup".
However, I got some problems. After "console_setup", the /dev/ttyS0 would belongs to the tty group, and also changed the bernhard's group to tty group. When I use this created qcow2 to reboot the system, the bernhard's group still belongs to tty but /dev/ttyS0 belongs to the dialout group. It caused the permission denied when echo
something to the /dev/ttyS0. For example in this case.
There is a same problem happened in "window_system" case when I working on poo#23884(https://progress.opensuse.org/issues/23884). You can also take look into my test run: http://10.67.19.67/tests/344#
This problem only happened in Tumbleweed. Please compare with the SLE(They do the same job):
qam-regression-installation: http://openqa.suse.de/tests/1836147
qam-regression-other: http://openqa.suse.de/tests/1836152
Workaround¶
After reboot to the desktop first time, and then run the x11/x11_setup case to make sure /dev/ttyS0 and bernhard belongs to the same group.