Project

General

Profile

Actions

action #54191

closed

[kernel][ltp][ppc64le] mkswap01_sh sometimes fails on ppc64le on SLE

Added by pvorel almost 5 years ago. Updated over 3 years ago.

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

0%

Estimated time:
Difficulty:

Description

mkswap01_sh test (mkswap01.sh script) sometimes fails on ppc64le on both SLE12 and SLE15 on timeout.

https://openqa.suse.de/tests/3044443#step/mkswap01_sh/7
https://openqa.suse.de/tests/3037297#step/mkswap01_sh/7
https://openqa.suse.de/tests/2922520#step/mkswap01_sh/7

mkswap01 8 TBROK: "check_for_file /dev/disk/by-uuid/cd2f0192-bb94-4907-ac3f-f099baede452" timed out

Manual testing on arm machine (don't have ppc atm) showed that timeout is close to achieve in TST_RETRY_FN_EXP_BACKOFF.
IMHO this function should use LTP_TIMEOUT_MUL as other library functions which have timeout.

NOTE: for arm bug has been reported before, but that's for older version of code
https://bugzilla.suse.com/show_bug.cgi?id=1073300
https://bugzilla.suse.com/show_bug.cgi?id=1034157

It's a question whether timeout does not indicate some hidden bug (but it'd be then also for arm).

Actions #1

Updated by pvorel almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by pvorel over 4 years ago

  • Assignee changed from pvorel to cfconrad
Actions #3

Updated by pvorel over 4 years ago

  • Description updated (diff)
Actions #4

Updated by cfconrad over 4 years ago

Show all current failing mkswap01_sh jobs

JOB_NAME=${1:-mkswap01_sh}
VERSION=${2:-12-SP5}
ssh openqa.suse.de -- \
sudo -u geekotest  psql openqa <<EOT
   SELECT id,result,test,version,build,t_finished from jobs where result='failed' AND id in
      (SELECT job_id from job_modules WHERE name='$JOB_NAME' ORDER BY job_id DESC)
   AND version='$VERSION'
   ORDER BY t_finished DESC
;
EOT

Result:

id result test version build t_finished
3320832 failed ltp_commands 12-SP5 0303 2019-09-03 21:43:26
3203661 failed ltp_commands 12-SP5 0256 2019-08-02 18:49:54
Actions #7

Updated by okurz over 4 years ago

  • Category set to Bugs in existing tests
Actions #8

Updated by cfconrad over 4 years ago

After general TST_TIMEOUT patch was merged:
v4 send https://patchwork.ozlabs.org/project/ltp/list/?series=137043

Actions #9

Updated by cfconrad over 4 years ago

  • Status changed from In Progress to Resolved

adopted/merged by pvorel

c83b8aaf9 - (HEAD -> master, upstream/master) doc: Adopt TST_RETRY_FUNC for LTP_TIMEOUT_MUL (2 hours ago)
1681f9519 - tst_common.h: Use tst_multiply_timeout in TST_RETRY_FN() (2 hours ago)
56aa438e3 - tst_test.c: Add tst_multiply_timeout() (2 hours ago)
1071d38ec - tst_test.sh: Use LTP_TIMEOUT_MUL in TST_RETRY_FN() (2 hours ago)

Actions #10

Updated by jlausuch over 4 years ago

  • Target version changed from 445 to 457
Actions #11

Updated by pvorel over 4 years ago

Just for a record, unrelated issue (but might happen in the future) has been reported for mkswap01_sh
https://github.com/linux-test-project/ltp/issues/458

Actions #12

Updated by pcervinka over 3 years ago

  • Target version changed from 457 to QE Kernel Done
Actions

Also available in: Atom PDF