Project

General

Profile

Actions

action #134474

closed

[security][maintenance] test fails in usr_sbin_smbd

Added by tjyrinki_suse 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
8.00 h
Difficulty:
Tags:

Description

openQA test in scenario sle-12-SP5-Server-DVD-Updates-x86_64-mau-apparmor_profile@64bit fails in
usr_sbin_smbd

Last good: 20230820-1 (or more recent)


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #134780: [security] test fails in apparmor_profile in usr_sbin_smbd - on 15-SP2 only not being able to connectResolvedpstivanin

Actions
Actions #1

Updated by tjyrinki_suse 8 months ago

  • Status changed from Workable to In Progress
  • Assignee set to tjyrinki_suse
  • Estimated time set to 8.00 h
Actions #3

Updated by tjyrinki_suse 8 months ago

  • % Done changed from 0 to 40

There was a code change to assert and click, while the needles valid for SLE did not support that.

I've managed to fix 12-SP3, 12-SP4, 12-SP5, but 15-X are still failing.

Actions #4

Updated by FSzekely 8 months ago

I think the test should wait for the Samba server to send some data to Nautilus.
We shall use something else then needles to check if the server is available.

If the Samba server responds then the needles should be checked more carefully, like when typing in Nuatilus:

smb://10.0.2.15

the test should wait until connection is properly established and a dir listing is returned.

Only after that it should continue searching for "testdir". I know, it's easy to say..

Actions #5

Updated by tjyrinki_suse 8 months ago

Just a sleep could also help in those cases where server is not available.

But this particular change was about not having focus in the address bar if not using Tumbleweed where the needle change was done.

Actions #6

Updated by tjyrinki_suse 8 months ago

However this example is about it failing to connect it seems https://openqa.suse.de/tests/11901893#step/usr_sbin_smbd/70 where a wait could help

Actions #7

Updated by tjyrinki_suse 8 months ago

  • Related to action #134780: [security] test fails in apparmor_profile in usr_sbin_smbd - on 15-SP2 only not being able to connect added
Actions #8

Updated by tjyrinki_suse 8 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 40 to 100

Actually it seems all other versions are happy with correct needling, even if font specifics differ a lot, but 15-SP2 seems to consistently not able to connect to smb://10.0.2.15/: https://openqa.suse.de/tests/11933010#step/usr_sbin_smbd/62

Followup in ticket #134780.

Actions

Also available in: Atom PDF