Project

General

Profile

Actions

action #65301

closed

[sle][functional][y] Fix reconnection after reboot in transactional_update

Added by JERiveraMoya about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - SLE 15 SP2
Start date:
2020-04-06
Due date:
2020-06-16
% Done:

0%

Estimated time:
5.00 h
Difficulty:

Description

Observation

We now have issue with reboot fixed, so test most likely will just work.
Whereas we need to add soft-failure for parent job, so test is executed.

openQA test in scenario sle-15-SP2-Online-s390x-transactional_server_helper_apps@s390x-kvm-sle12 fails in
transactional_update

In s390x we have a bug that the system is shutdown instead of reboot and for transactional updates we need to reboot the system several times, so when processing reboot in function process_reboot in lib/transactional.pm we need to apply/adapt workaround:

Due to bsc#1167210, the system is shut down on reboot on zkvm on SP2.
            # This is workaround to connect to the shut off machine.
            if (is_sle('>=15-sp2')) {
                record_soft_failure('bsc#1167210 - System shuts down instead of reboot on zkvm');
                console('installation')->disable_vnc_stalls;
                assert_shutdown_and_restore_system('reboot', 120);
            }
            reconnect_mgmt_console(timeout => 500);

Test suite description

Test transactional updates with Btrfs and helper applications in a transactional update server.

Reproducible

Fails since (at least) Build 164.1_jrivera_poo61991

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #67687: [functional][y] Adapt health_check test module for zkvmResolvedJERiveraMoya2020-06-032020-06-30

Actions
Actions

Also available in: Atom PDF