pkey01 from ubuntu_ltp_syscalls failed on B-aws / B-aws-fips / X-4.15 AWS / B-oracle with "Test killed by SIGBUS!"

Bug #1849093 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

This issue was only spotted on AWS instance "i3en.24xlarge" with B-aws-fips kernel (aws-fips : 4.15.0-2002.2), test interrupted with:
    tst_test.c:1163: BROK: Test killed by SIGBUS!

Test log:
 tag=pkey01 stime=1570753169 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Fri Oct 11 00:19:29 2019'
 tst_test.c:1118: INFO: Timeout per run is 0h 05m 00s
 pkey01.c:164: INFO: Set PKEY_DISABLE_ACCESS on (MAP_ANONYMOUS|MAP_PRIVATE) buffer
 pkey01.c:187: PASS: Child ended by SIGSEGV as expected
 pkey01.c:191: INFO: Remove PKEY_DISABLE_ACCESS from the buffer
 pkey01.c:197: PASS: Read buffer success, buffer[0] = 0
 pkey01.c:164: INFO: Set PKEY_DISABLE_ACCESS on (MAP_ANONYMOUS|MAP_SHARED) buffer
 pkey01.c:187: PASS: Child ended by SIGSEGV as expected
 pkey01.c:191: INFO: Remove PKEY_DISABLE_ACCESS from the buffer
 pkey01.c:197: PASS: Read buffer success, buffer[0] = 0
 pkey01.c:164: INFO: Set PKEY_DISABLE_ACCESS on (MAP_ANONYMOUS|MAP_PRIVATE|MAP_HUGETLB) buffer
 pkey01.c:187: PASS: Child ended by SIGSEGV as expected
 pkey01.c:191: INFO: Remove PKEY_DISABLE_ACCESS from the buffer
 tst_test.c:1163: BROK: Test killed by SIGBUS!

 Summary:
 passed 5
 failed 0
 skipped 0
 warnings 0

Probably a hiccup. As this test has passed on other instances like i3en.2xlarge, c5n.xlarge, c5.large, t3.medium, r5.large

Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
tags: added: 4.15 aws bionic sru-20190930 ubuntu-ltp-syscalls
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Can be found on X-4.15 AWS (4.15.0-1056.58~16.04.1-aws) on some instances
* c5.metal
* i3en.24xlarge
* r5.metal

summary: - pkey01 from ubuntu_ltp_syscalls failed on B-aws-fips
+ pkey01 from ubuntu_ltp_syscalls failed on B-aws-fips / X-4.15 AWS
tags: added: xenial
tags: added: sru-20191111
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: pkey01 from ubuntu_ltp_syscalls failed on B-aws-fips / X-4.15 AWS

Found on 4.15.0-1033.36~16.04.1-oracle with BM.Standard2.52
    tst_test.c:1163: BROK: Test killed by SIGBUS!

tags: added: oracle
tags: added: sru-20200127
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Still can be seen on B-aws 4.15.0-1074.78
Only spotted on bare-metal nodes.

tags: added: sru-20200608
summary: - pkey01 from ubuntu_ltp_syscalls failed on B-aws-fips / X-4.15 AWS
+ pkey01 from ubuntu_ltp_syscalls failed on B-aws / B-aws-fips / X-4.15
+ AWS
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: pkey01 from ubuntu_ltp_syscalls failed on B-aws / B-aws-fips / X-4.15 AWS

This can be found on Bionic Oracle 4.15.0-1054.58 with instance BM.Standard2.52 only (passed with VM.DenseIO2.8 and VM.Standard2.1)

tags: added: sru-20200831
summary: pkey01 from ubuntu_ltp_syscalls failed on B-aws / B-aws-fips / X-4.15
- AWS
+ AWS / B-oracle
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: pkey01 from ubuntu_ltp_syscalls failed on B-aws / B-aws-fips / X-4.15 AWS / B-oracle

Didn't see this with Oracle 4.15.0-1055.59 on BM.Standard2.52, VM.DenseIO2.8 and VM.Standard2.1

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Still valid on 4.15.0-1059.65 - oracle
BM.Standard2.52 only

tags: added: sru-20201109
summary: pkey01 from ubuntu_ltp_syscalls failed on B-aws / B-aws-fips / X-4.15
- AWS / B-oracle
+ AWS / B-oracle with "Test killed by SIGBUS!"
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This is caused by move_pages12 test (bug 1831043)
If you just run these two tests on BM.Standard2.52 with 4.15.0-1031-oracle:
$ cat /home/ubuntu/syscalls
#fallocate06 fallocate06
#ioctl_sg01 ioctl_sg01
#fanotify09 fanotify09
move_pages12 move_pages12
pkey01 pkey01
$ sudo /opt/ltp/runltp -f /home/ubuntu/syscalls

You will see this test fail with "Test killed by SIGBUS!"
But if you run just this job, it will pass without any issue.

tags: added: aws-hwe sru-20210412
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on X-Oracle 4.15.0-1081.89~16.04.1 BM.Standard2.52
Manually tested to double confirm this is caused by move_pages12 mentioned in my previous comment #7

However this issue does not exist with B-oracle 4.15.0-1081.89, even with node BM.Standard2.52 failing with the move_pages12 test.

tags: added: sru-20210906
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.