Project

General

Profile

action #58697

[kernel][tools] test fails in install_ltp

Added by cfconrad over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
QE Kernel - QE Kernel Done
Start date:
2019-10-25
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

The issue happens only on arm. The idea is, that it takes to long for the here tag to setup the input.
The serial output looks mangled like this:

# cat > /tmp/scriptfY1mJ.sh << 'EOT_fY1mJ'; echo fY1mJ-$?-
grep -c 'menuentry .SLES \?12-SP5.*(ima_policy=tcb)' /boot/grub2/grub.cfg
EOT_fY1mJ
echo fY1mJ; bash -oe pipefail /tmp/scriptfY1mJ.sh ; echo SCRIPT_FINISHEDfY1mJ-$?-
> grep -c 'menuentry .SLES \?12-SP5.*(ima_policy=tcb)' /boot/grub2/grub.cfg
> EOT_fY1mJ
fY1mJ-0-
# echo fY1mJ; bash -oe pipefail /tmp/scriptfY1mJ.sh ; echo SCRIPT_FINISHEDfY1mJ-$?-
fY1mJ
3
SCRIPT_FINISHEDfY1mJ-0-

Which result in wrong return value from script_output().

openQA test in scenario sle-12-SP5-Server-DVD-aarch64-install_ltp+sle+Server-DVD+KOTD@aarch64-virtio fails in
install_ltp


Related issues

Related to openQA Tests - action #53996: [functional][u][sporadic] test fails in timezone - serial console is not reliableRejected2019-07-09

History

#1 Updated by cfconrad over 2 years ago

  • Description updated (diff)

#2 Updated by szarate about 2 years ago

  • Related to action #53996: [functional][u][sporadic] test fails in timezone - serial console is not reliable added

#3 Updated by cfconrad about 2 years ago

  • Status changed from In Progress to Feedback

Responding PR was merged. Lets see how it behave.

https://github.com/os-autoinst/os-autoinst/pull/1244

#4 Updated by cfconrad about 2 years ago

  • Status changed from Feedback to Resolved

At least two successful runs with this patch and no failures.

ssh openqa.suse.de -- \
sudo -u geekotest  psql openqa <<EOT
    SELECT id,result,test,version,build,arch,t_finished from jobs WHERE 
    test LIKE '%install_ltp%'
    AND version='12-SP5'
    AND arch='aarch64'
    ORDER BY id DESC
;
EOT
id    |       result       |                                    test                                     | version |                 build                  |  arch   |     t_finished      
---------+--------------------+-----------------------------------------------------------------------------+---------+----------------------------------------+---------+---------------------
3553562 | passed             | install_ltp+sle+Server-DVD                                                  | 12-SP5  | 0369                                   | aarch64 | 2019-11-05 01:33:54
3553509 | passed             | install_ltp+sle+Server-DVD+KOTD                                             | 12-SP5  | 0369                                   | aarch64 | 2019-11-05 02:01:35

#5 Updated by jlausuch about 2 years ago

  • Target version changed from 445 to 457

#6 Updated by pcervinka over 1 year ago

  • Target version changed from 457 to QE Kernel Done

Also available in: Atom PDF