Project

General

Profile

Actions

action #40670

closed

[sle][functional][u][medium][tools][sporadic] test fails in welcome - typos in kernel boot parameters

Added by JERiveraMoya over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 20
Start date:
2018-09-06
Due date:
% Done:

0%

Estimated time:
5.00 h
Difficulty:
medium

Description

Observation

Url is not typed correctly in boot options. A mutex_wait is right after typing it and VERY_SLOW_TYPING_SPEED is already used.

Sample from autoinst-log.txt

[2018-10-10T10:24:10.0807 CEST] [debug] <<< testapi::type_string(string=' regurl=http://Server-0421.proxy.scc.suse.de', max_interval=4, wait_screen_changes=0, wait_still_screen=0)

Sample from YaST2/y2log

2018-10-10 04:26:33 <1> install(3575) [Ruby] registration/registration.rb:277 Using custom registration URL: "http://Server-0421.proxy.scc.suse.e"

(Note: interesting date-time difference)

Reproducible

On PPC, it failed once since at Build 41.4

On x86_64, it failed at least 6 times in last 100 runs:

Acceptance criteria

  • AC1: The reason why typed characters are missing is known. fulfilled
  • AC2: Workers on OSD use at least qemu-2.11.2
  • AC3: It is not possible to reproduce the issue on 100 runs.

Suggestions

Hypotheses

  • H1.1 It is caused by os-autoinst backend (qemu). SUPPORTED BY E1.1-2
  • H2.1 It is not worker specific. SUPPORTED BY E1.1-1
  • H3.1 Making os-autoinst type even slower doesn't help. SUPPORTED BY E3.1-1
  • H3.2 Making os-autoinst type even slower doesn't solve the issue. SUPPORTED BY E3.1-1
  • H4.1 Product changes causes this issue. SUPPORTED BY E4.1-1

Experiments

  • E1.1-1 Perform statistical investigation with current qemu version (qemu 2.9.1).
  • R1.1-1 2018-09-24 100 job runs
    • 85 of 100 failed jobs. (jobs are gone, not possible to inspect logs)
    • Just space is missed, like here (...linuxYDEBUG=1 instead of ...linux YDEBUG=1);
    • Space and "Y" character are missed, like here (...linuxDEBUG=1 instead of ...linux YDEBUG=1);
  • R1.1-1 2018-10-17 101 job runs
    • 12/101 fail (The number of failures has been reduced since last time the experiment was conducted: assuming that the new qemu version released meanwhile causes these improvements)
    • QEMU emulator version 2.9.1(openSUSE Leap 42.3)
    • It fails on different workers.
    • It doesn't fail always on the same workers.
  • E1.1-2 Perform statistical investigation with a different version of qemu (2.11.2)
  • R1.1-2 2018-10-17 101 job runs
    • 0/101 fail
    • QEMU emulator version 2.11.2(openSUSE Leap 15.0)
  • E3.1-1 Try 100 job runs with slower typing.
    • use constant EXTREME_SLOW_TYPING_SPEED => 2;
    • registration_bootloader_params(utils::EXTREME_SLOW_TYPING_SPEED);
  • R3.1-1 2018-10-18 101 job runs
    • 16/101 fail
    • It is still failing
  • E4.1-1 Try with an older version of the product (SLE15-GM-668.1).
  • R4.1-1 2018-10-19 (101 job runs)[[https://openqa.suse.de/tests/overview?build=misstyped-linuxrc-poo40670-C]]
    • 0/101 fail

Expected result

Last good: 35.18 (or more recent)

Further details

Always latest result in these scenarios:

Workaround

Retrigger tests


Related issues 6 (1 open5 closed)

Related to openQA Infrastructure - action #42032: [sle][functional][u][tools] QA-power-8-*-kvm have missing keys (ninjakeys)Resolvedokurz2018-10-05

Actions
Related to openQA Infrastructure - action #139271: Repurpose PowerPC hardware in FC Basement - mania Power8 PowerPC size:MResolvedokurz2023-09-20

Actions
Has duplicate openQA Tests - action #41138: [sle][functional][u][fast] test fails in bootloader - openQA can't confirm kernel optionsRejectedzluo2018-09-25

Actions
Has duplicate openQA Tests - action #40412: [sle][functional][y] test fails in welcome - ESC triggered in GRUBRejected2018-08-292018-10-09

Actions
Has duplicate openQA Tests - action #42275: [functional][u][sporadic] test fails in bootloader with mistyped/incomplete regurl on x86_64ResolvedSLindoMansilla2018-10-10

Actions
Copied to openQA Tests - action #43655: [qe-core][functional] Increase robustness of using bootloader parameter with info-file instead of long typingWorkablebinary_sequence

Actions
Actions

Also available in: Atom PDF