openSUSE Project Management Tool: Issues
https://progress.opensuse.org/
https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?1582917784
2021-02-10T04:46:56Z
openSUSE Project Management Tool
Redmine
openQA Project - action #88514 (New): [virtualization][ipmi] Test incomplete sometimes due to de-...
https://progress.opensuse.org/issues/88514
2021-02-10T04:46:56Z
XGWang0
xgwang@suse.com
<p>Sometimes, the test is failed by incomplete, because ipmi backend executes deactivate operation on a "deactivate" status SUT.</p>
<p>Error info "Reason: backend died: ipmitool -I lanplus -H 10.67.135.44 -U root -P susetesting sol deactivate: Info: SOL payload already de-activated at /usr/lib/os-autoinst/backend/ipmi.pm line 65. "</p>
<p>Test case:<a href="http://openqa.qa2.suse.asia/tests/28722" class="external">http://openqa.qa2.suse.asia/tests/28722</a></p>
openQA Tests - action #40364 (Resolved): [functional][y] boot_from_pxe.pm broken host installati...
https://progress.opensuse.org/issues/40364
2018-08-29T05:27:26Z
XGWang0
xgwang@suse.com
<p>The PR ([[<a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5537]]" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5537]]</a>) caused hang to host installation by autoyast method on ipmi backend, the root cause is subroutine bootmenu_default_params and autoyast_boot_params both added <em>autoyast=</em> kernel parameters for host installation and second subroutine inputted incorrect url address for autoyast file.</p>
<p>Related code content for both subroutine:<br>
=========bootmenu_default_params============== <br>
377 if (!get_var("NICEVIDEO")) {<br>
378 if (is_caasp) {<br>
379 bootmenu_type_console_params $args{baud_rate};<br>
380 }<br>
381 elsif (!is_jeos) {<br>
382 # make plymouth go graphical<br>
383 type_string_very_slow "plymouth.ignore-serial-consoles " unless $args{pxe};<br>
384 type_string_very_slow "linuxrc.log=/dev/$serialdev ";<br>
385 bootmenu_type_console_params $args{baud_rate};<br>
386 # Do not assert on pxe boot as it's unreliable due to multiline input<br>
387 assert_screen "inst-consolesettingstyped", 30 unless $args{pxe};<br>
388 <br>
389 # Enable linuxrc core dumps <a href="https://en.opensuse.org/SDB:Linuxrc#p_linuxrccore" class="external">https://en.opensuse.org/SDB:Linuxrc#p_linuxrccore</a><br>
390 type_string_very_slow "linuxrc.core=/dev/$serialdev ";<br>
391 type_string_very_slow "linuxrc.debug=4,trace ";<br>
392 }<br>
393 bootmenu_type_extra_boot_params; # <strong>This api type <em>autoyast=</em> to boot prompt</strong><br>
394 }<br>
395 }</p>
<p>=========autoyast_boot_params============== <br>
491 sub autoyast_boot_params {<br>
492 my $ay_var = get_var("AUTOYAST");<br>
493 return '' unless $ay_var;<br>
494 <br>
495 my $autoyast_args = 'autoyast=';<br>
496 # In case of SUPPORT_SERVER, profiles are available on another VM<br>
497 if (get_var('USE_SUPPORT_SERVER')) {<br>
498 my $proto = get_var("PROTO") || 'http';<br>
499 $autoyast_args .= "$proto://10.0.2.1/";<br>
500 $autoyast_args .= 'data/' if $ay_var !~ /<sup>aytests\//;</sup><br>
501 $autoyast_args .= $ay_var;<br>
502 } elsif ($ay_var !~ /<sup>slp$|:\/\//)</sup> {<br>
503 $autoyast_args .= data_url($ay_var); # Getting profile from the worker as openQA asset<br>
504 } else {<br>
505 $autoyast_args .= $ay_var; # Getting profile by direct url or slp<br>
506 }<br>
507 return $autoyast_args . " ";<br>
508 }</p>
<p>Failed cases url : <a href="https://openqa.suse.de/tests/2007109" class="external">https://openqa.suse.de/tests/2007109</a> ,<a href="https://openqa.suse.de/tests/2007108" class="external">https://openqa.suse.de/tests/2007108</a>, <a href="https://openqa.suse.de/tests/2007152" class="external">https://openqa.suse.de/tests/2007152</a><br>
PR of github : <a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5537" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5537</a></p>