Project

General

Profile

Actions

action #107248

closed

[qe-core] test fails in vnc_two_passwords: 'vncserver' no longer existing

Added by dimstar about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2022-02-22
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_gnome@64bit fails in
vnc_two_passwords

the vncserver helper script no longer exists, see

https://github.com/TigerVNC/tigervnc/blob/master/unix/vncserver/HOWTO.md

Our test should be re-worked to follow the suggestions in this HOWTO

Test suite description

Maintainer: QE Core, asmorodskyi. Extra tests which were designed to run on gnome

Reproducible

Fails since (at least) Build 20220214

Expected result

Last good: 20220213 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by dimstar about 2 years ago

  • Subject changed from test fails in vnc_two_passwords: 'vncserver' no longer eixtsing to test fails in vnc_two_passwords: 'vncserver' no longer existing
Actions #2

Updated by szarate about 2 years ago

  • Subject changed from test fails in vnc_two_passwords: 'vncserver' no longer existing to [qe-core] test fails in vnc_two_passwords: 'vncserver' no longer existing
Actions #3

Updated by pherranz about 2 years ago

  • Status changed from New to In Progress
  • Assignee set to pherranz
Actions #4

Updated by pherranz about 2 years ago

  • Status changed from In Progress to Blocked

As the guide states, I cannot find a file named vncserver.users anywhere in the system. I've tried to clean install SLE15_SP3, Leap 15.3 and Tumbleweed and then zypper install tigervnc but the folder /etc/tigervnc is not created.

I've asked the package maintainer (Jason Sikes) for additional information.

Actions #5

Updated by dimstar about 2 years ago

pablo.herranz wrote:

As the guide states, I cannot find a file named vncserver.users anywhere in the system. I've tried to clean install SLE15_SP3, Leap 15.3 and Tumbleweed and then zypper install tigervnc but the folder /etc/tigervnc is not created.

I've asked the package maintainer (Jason Sikes) for additional information.

$ rpm -q xorg-x11-Xvnc -l
/etc/pam.d/tigervnc
/etc/tigervnc
/etc/tigervnc/vncserver-config-defaults
/etc/tigervnc/vncserver-config-mandatory
/etc/tigervnc/vncserver.users

Actions #6

Updated by pherranz about 2 years ago

dimstar wrote:

pablo.herranz wrote:

As the guide states, I cannot find a file named vncserver.users anywhere in the system. I've tried to clean install SLE15_SP3, Leap 15.3 and Tumbleweed and then zypper install tigervnc but the folder /etc/tigervnc is not created.

I've asked the package maintainer (Jason Sikes) for additional information.

$ rpm -q xorg-x11-Xvnc -l
/etc/pam.d/tigervnc
/etc/tigervnc
/etc/tigervnc/vncserver-config-defaults
/etc/tigervnc/vncserver-config-mandatory
/etc/tigervnc/vncserver.users

Sorry but the folder is not present in Leap:

# cat /etc/os-release 
NAME="openSUSE Leap"
VERSION="15.3"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.3"
PRETTY_NAME="openSUSE Leap 15.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

# rpm -q tigervnc 
tigervnc-1.9.0-19.9.1.x86_64

# rpm -q xorg-x11-Xvnc
xorg-x11-Xvnc-1.9.0-19.9.1.x86_64

# rpm -ql xorg-x11-Xvnc
/etc/pam.d/vnc
/etc/slp.reg.d
/etc/slp.reg.d/vnc.reg
/etc/vnc
/etc/vnc/tls.cert
/etc/vnc/tls.key
/usr/bin/Xvnc
/usr/bin/vncconfig
/usr/bin/vncpasswd
/usr/bin/vncpasswd.arg
/usr/bin/vncserver
/usr/bin/x0vncserver
/usr/lib/firewalld
/usr/lib/firewalld/services
/usr/lib/firewalld/services/tigervnc-https.xml
/usr/lib/firewalld/services/tigervnc.xml
/usr/lib/systemd/system/xvnc.socket
/usr/lib/systemd/system/xvnc.target
/usr/lib/systemd/system/xvnc@.service
/usr/lib/vnc
/usr/lib/vnc/with-vnc-key.sh
/usr/sbin/rcxvnc
/usr/share/doc/packages/xorg-x11-Xvnc
/usr/share/doc/packages/xorg-x11-Xvnc/LICENCE.TXT
/usr/share/doc/packages/xorg-x11-Xvnc/README.rst
/usr/share/man/man1/Xvnc.1.gz
/usr/share/man/man1/vncconfig.1.gz
/usr/share/man/man1/vncpasswd.1.gz
/usr/share/man/man1/vncserver.1.gz
/usr/share/man/man1/x0vncserver.1.gz

# rpm -ql tigervnc 
/etc/alternatives/vncviewer
/etc/alternatives/vncviewer.1.gz
/usr/bin/vncviewer
/usr/bin/vncviewer-tigervnc
/usr/share/applications/vncviewer.desktop
/usr/share/doc/packages/tigervnc
/usr/share/doc/packages/tigervnc/LICENCE.TXT
/usr/share/doc/packages/tigervnc/README.rst
/usr/share/icons/hicolor/16x16
/usr/share/icons/hicolor/16x16/apps
/usr/share/icons/hicolor/16x16/apps/tigervnc.png
/usr/share/icons/hicolor/22x22
/usr/share/icons/hicolor/22x22/apps
/usr/share/icons/hicolor/22x22/apps/tigervnc.png
/usr/share/icons/hicolor/24x24
/usr/share/icons/hicolor/24x24/apps
/usr/share/icons/hicolor/24x24/apps/tigervnc.png
/usr/share/icons/hicolor/32x32
/usr/share/icons/hicolor/32x32/apps
/usr/share/icons/hicolor/32x32/apps/tigervnc.png
/usr/share/icons/hicolor/48x48
/usr/share/icons/hicolor/48x48/apps
/usr/share/icons/hicolor/48x48/apps/tigervnc.png
/usr/share/icons/hicolor/scalable
/usr/share/icons/hicolor/scalable/apps
/usr/share/icons/hicolor/scalable/apps/tigervnc.svg
/usr/share/locale/bg/LC_MESSAGES/tigervnc.mo
/usr/share/locale/cs/LC_MESSAGES/tigervnc.mo
/usr/share/locale/da/LC_MESSAGES/tigervnc.mo
/usr/share/locale/de/LC_MESSAGES/tigervnc.mo
/usr/share/locale/el/LC_MESSAGES/tigervnc.mo
/usr/share/locale/eo/LC_MESSAGES/tigervnc.mo
/usr/share/locale/es/LC_MESSAGES/tigervnc.mo
/usr/share/locale/fi/LC_MESSAGES/tigervnc.mo
/usr/share/locale/fr/LC_MESSAGES/tigervnc.mo
/usr/share/locale/hu/LC_MESSAGES/tigervnc.mo
/usr/share/locale/id/LC_MESSAGES/tigervnc.mo
/usr/share/locale/it/LC_MESSAGES/tigervnc.mo
/usr/share/locale/nl/LC_MESSAGES/tigervnc.mo
/usr/share/locale/pl/LC_MESSAGES/tigervnc.mo
/usr/share/locale/pt_BR/LC_MESSAGES/tigervnc.mo
/usr/share/locale/ru/LC_MESSAGES/tigervnc.mo
/usr/share/locale/sk/LC_MESSAGES/tigervnc.mo
/usr/share/locale/sr/LC_MESSAGES/tigervnc.mo
/usr/share/locale/sv/LC_MESSAGES/tigervnc.mo
/usr/share/locale/tr/LC_MESSAGES/tigervnc.mo
/usr/share/locale/uk/LC_MESSAGES/tigervnc.mo
/usr/share/locale/vi/LC_MESSAGES/tigervnc.mo
/usr/share/locale/zh_CN/LC_MESSAGES/tigervnc.mo
/usr/share/man/man1/vncviewer-tigervnc.1.gz
/usr/share/man/man1/vncviewer.1.gz
Actions #7

Updated by dimstar about 2 years ago

pablo.herranz wrote:

dimstar wrote:

pablo.herranz wrote:

As the guide states, I cannot find a file named vncserver.users anywhere in the system. I've tried to clean install SLE15_SP3, Leap 15.3 and Tumbleweed and then zypper install tigervnc but the folder /etc/tigervnc is not created.

I've asked the package maintainer (Jason Sikes) for additional information.

$ rpm -q xorg-x11-Xvnc -l
/etc/pam.d/tigervnc
/etc/tigervnc
/etc/tigervnc/vncserver-config-defaults
/etc/tigervnc/vncserver-config-mandatory
/etc/tigervnc/vncserver.users

Sorry but the folder is not present in Leap:

Not surprised - This ticket is about VNC on Tumbleweed, after the upgrade to tigervnc 1.12 (preparing for the future)
The test likely will have to cater for both versions of tigervnc (< 1.12 for SLE/Leap up to CODE 15, incl. maintenance, and newer distros like TW, ALP with tigervnc >= 1.12

Actions #8

Updated by sndirsch about 2 years ago

These config files in /etc/tigervnc/* are new. Therefore they are still missing in installation-images package, which controls which files are on the installation system. I suggest to develop your test on an installed system with all files installed, then afterwards also test it during installation. And then add the still missing files to installation-images package. But you need to rewrite /etc/tigervnc/vncserver.users, so this needs to be marked as writable somehow.

Actions #9

Updated by dimstar about 2 years ago

sndirsch wrote:

These config files in /etc/tigervnc/* are new. Therefore they are still missing in installation-images package, which controls which files are on the installation system. I suggest to develop your test on an installed system with all files installed, then afterwards also test it during installation. And then add the still missing files to installation-images package. But you need to rewrite /etc/tigervnc/vncserver.users, so this needs to be marked as writable somehow.

https://openqa.opensuse.org/tests/2201648/modules/vnc_two_passwords/steps/53 is a test running on top of an installed gnome setup, not in inst-sys (inst-sys with VNC is already fixed since yast no longer passes the invalid param)

Actions #10

Updated by openqa_review about 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: extra_tests_gnome
https://openqa.opensuse.org/tests/2258575

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released" or "EOL" (End-of-Life)
  3. The bugref in the openQA scenario is removed or replaced, e.g. label:wontfix:boo1234

Expect the next reminder at the earliest in 28 days if nothing changes in this ticket.

Actions #11

Updated by pherranz about 2 years ago

  • Status changed from Blocked to In Progress

The changes have been done and the PR is ready to be reviewed and merged.

Actions #12

Updated by pherranz about 2 years ago

  • Status changed from In Progress to Resolved
Actions #13

Updated by openqa_review almost 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: extra_tests_gnome@svirt-xen-pv
https://openqa.suse.de/tests/8558479#step/vnc_two_passwords/1

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released" or "EOL" (End-of-Life)
  3. The bugref in the openQA scenario is removed or replaced, e.g. label:wontfix:boo1234

Expect the next reminder at the earliest in 28 days if nothing changes in this ticket.

Actions #14

Updated by openqa_review almost 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: extra_tests_gnome@svirt-xen-pv
https://openqa.suse.de/tests/8752681#step/vnc_two_passwords/1

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released" or "EOL" (End-of-Life)
  3. The bugref in the openQA scenario is removed or replaced, e.g. label:wontfix:boo1234

Expect the next reminder at the earliest in 56 days if nothing changes in this ticket.

Actions

Also available in: Atom PDF