Project

General

Profile

Actions

action #71779

closed

[sle][security][sle15sp3][backlog]test fails in pam_mount due to race condition within expect script

Added by rfan1 over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-09-24
Due date:
% Done:

100%

Estimated time:
40.00 h
Difficulty:
Tags:

Description

The issue is very sticky, it can not be reproduced stably (so far 50% on x86_64, but not seen on other platforms). re-run the test can fix the issue.

but based on the test result, I can get some clue:
https://openqa.suse.de/tests/4725995#step/pam_mount/24

We can see, when the expect script get the "passphase", then it should input the password. however, the input text was typed out prior to the expected value.

It most likes a time racing issue, I don't think I can do much here,may be I can file a bug to "expect" package? anyway, the issue can go away after re-run.

I will try to monitor it for some builds,and may need change the expect script to openqa utils "script_run_interactive".

Observation

openQA test in scenario sle-15-SP3-Online-x86_64-security_pam@64bit fails in
pam_mount

Test suite description

Reproducible

Fails since (at least) Build 44.1 (current job)

Expected result

Last good: 43.1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by rfan1 over 3 years ago

  • Subject changed from [sle][security][sle15sp3]test fails in pam_mount due to race condition within expect script to [sle][security][sle15sp3][backlog]test fails in pam_mount due to race condition within expect script
Actions #2

Updated by rfan1 over 3 years ago

  • Tags set to backlog
Actions #3

Updated by rfan1 over 3 years ago

  • Status changed from Workable to Resolved
  • % Done changed from 10 to 100

fixed the issue via poo#72322

Actions

Also available in: Atom PDF