Project

General

Profile

Actions

action #58697

closed

[kernel][tools] test fails in install_ltp

Added by cfconrad about 5 years ago. Updated about 4 years 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by cfconrad about 5 years ago

  • Description updated (diff)
Actions #2

Updated by szarate about 5 years ago

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

Updated by cfconrad about 5 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

Actions #4

Updated by cfconrad about 5 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
Actions #5

Updated by jlausuch about 5 years ago

  • Target version changed from 445 to 457
Actions #6

Updated by pcervinka about 4 years ago

  • Target version changed from 457 to QE Kernel Done
Actions

Also available in: Atom PDF