action #10164

action #9716: livecdreboot - rename and tidy

bootmenu/grub2 timeout expire before needle matching

Added by dmaiocchi over 4 years ago. Updated about 4 years ago.

Status:ResolvedStart date:07/01/2016
Priority:UrgentDue date:
Assignee:dmaiocchi% Done:

100%

Category:Bugs in existing tests
Target version:openQA Project - Milestone 1
Difficulty:
Duration:

Description

openqa needles matching at the moment on grub2 boot (timeout 8 sec.) is to slow comparing to 8 seconds for grub.
The result is that needle will not found, because timeout has expired, or we don't go on boot-read-only-snapshot.

At the moment we have many needles that are potential candidates;
My suggestions are:
- clean up needles. ( i don't see a stable solution, because needles could grow in future and we will have same issue.
- stop the grub2 timeout, only for the reboot_after_install/first boot test.
- modify the api or adapt this test in a special way for this.


Checklist

  • SLE 12
  • Tumbleweed
  • Leap

Subtasks

action #10142: migration zdup offline fails rebootingRejected

History

#1 Updated by dmaiocchi over 4 years ago

  • Subject changed from needles bootmenu/grub2 need to be reduced to bootmenu/grub2 timeout expire before needle matching
  • Target version set to 154

#2 Updated by RBrownSUSE about 4 years ago

  • Category set to Bugs in existing tests

#3 Updated by RBrownSUSE about 4 years ago

  • Checklist set to [ ] SLE 12, [ ] Tumbleweed, [ ] Leap
  • Target version changed from 154 to 162

#4 Updated by okurz about 4 years ago

  • Assignee set to dmaiocchi
  • Parent task set to #9716

dmaiocchi is working on #9716 so he is probably touching this already

#5 Updated by dmaiocchi about 4 years ago

yes, that's true. so i check the timeout in after_install/migration test-case, so i don't know if we use in another scenarios. I know that Richard has changed the timeout globally in tests. so we can assume is already done.

#6 Updated by okurz about 4 years ago

#7 Updated by dmaiocchi about 4 years ago

  • Status changed from New to Resolved

#8 Updated by okurz about 4 years ago

  • Status changed from Resolved to Feedback

I don't think we can regard this as resolved as long as there is no change in the tests. Reference the merged commit or PR if this is done.

#9 Updated by okurz about 4 years ago

  • Status changed from Feedback to Resolved

I consider this solved since
commit 0457bfa08bc810caedaf87f21f16c719658ec3e0
Author: Max Lin mlin@suse.com
Date: Fri Jan 22 13:09:23 2016 +0800

Send 'up' key in order to prevent grub2 timeout before boot_snapshot entry found

dmaiocchi changed the 'up' to 'esc' but seems to still work ;-)

#10 Updated by dmaiocchi about 4 years ago

yop, how can we close the task?. Up were a little critical since for any bug grub would start from 2nd menu-entry, up would go to 1one. so esc might be better. :)

#11 Updated by dmaiocchi about 4 years ago

  • Checklist set to [x] SLE 12

#12 Updated by dmaiocchi about 4 years ago

  • Checklist set to [x] Tumbleweed

#13 Updated by dmaiocchi about 4 years ago

  • Checklist set to [x] Leap

#14 Updated by okurz about 4 years ago

ok, so 'esc' is actually a better choice. This task is "resolved", i.e. equivalent to being closed

#15 Updated by okurz about 4 years ago

  • Target version changed from 162 to Milestone 1

Also available in: Atom PDF