Project

General

Profile

Actions

action #53978

closed

[sle][security][sle12sp5] test enhancement in firefox_nss test warning

Added by bchou over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2019-07-09
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP5-Server-DVD-x86_64-fips_tests_crypt_x11@64bit fails in
firefox_nss

Test suite description

The test is currently passed, but it will affect the case if it's running after firefox_nss.

Test Sequence:

  • x11/x3270_ssl -> firefox_nss -> x11/hexchat_ssl -> x11/seahorse_sshkey (x11/hexchat_ssl - Failed)
    hexchat_ssl

  • x11/x3270_ssl -> firefox_nss -> x11/seahorse_sshkey -> x11/hexchat_ssl (x11/seahorse_sshkey - Failed)
    seahorse_sshkey

  • x11/seahorse_sshkey -> x11/x3270_ssl -> x11/hexchat_ssl -> firefox_nss (All PASSED)

Investigate the problem again, it could be the turn_off_gnome_screensaver usage error.

Test log as following

[2019-07-04T00:37:45.244 CEST] [debug] /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/fips/mozilla_nss/firefox_nss.pm:40 called x11utils::turn_off_gnome_screensaver
[2019-07-04T00:37:45.245 CEST] [debug] <<< testapi::wait_serial(expect_not_found=0, buffer_size=undef, quiet=undef, record_output=undef, regexp=qr/(?:79doZ-\d+-)/, timeout=30, no_regex=0)
[2019-07-04T00:38:16.381 CEST] [debug] >>> testapi::wait_serial: (?:79doZ-\d+-): fail

Reproducible

Fails since (at least) Build 0209

Further details

Refer to poo#53651 - [sle][security][sle12sp5] test fails in seahorse_sshkey- select root console

Actions #1

Updated by bchou over 4 years ago

firefox_nss calls x11utils::turn_off_gnome_screensaver which however is a simple script_run 'gsettings set org.gnome.desktop.session idle-delay 0';
Because no terminal is shown the string is just typed "into the void" of the desktop session therefore there is also never an output on the serial port.

We could find other calls to turn_off_gnome_screensaver either a console is selected or an xterm started if the turn off is really needed. Currently, it is not working.

Actions #2

Updated by bchou over 4 years ago

  • Status changed from New to In Progress
Actions #3

Updated by bchou over 4 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF