libhugetlbfs tests are getting killed by signal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libhugetlbfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
---Problem Description---
libhugetlbfs tests are getting killed by signal
---uname output---
Linux ubuntu 3.18.0-11-generic #12-Ubuntu SMP Fri Jan 23 22:45:52 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P8
---Steps to Reproduce---
Install a Power VM LPAR with Ubuntu 15.04 ISO.
Then download the libhugetlbfs tests suites and compile and execute the same on the machine.
root@ubuntu:~# git clone git://libhugetl
Cloning into 'libhugetlbfs'...
remote: Counting objects: 3598, done.
remote: Compressing objects: 100% (1047/1047), done.
remote: Total 3598 (delta 2633), reused 3445 (delta 2536)
Receiving objects: 100% (3598/3598), 857.33 KiB | 0 bytes/s, done.
Resolving deltas: 100% (2633/2633), done.
Checking connectivity... done.
root@ubuntu:~# mkdir -p /mnt/hugetlbfs
root@ubuntu:~# mount -t hugetlbfs none /mnt/hugetlbfs
root@ubuntu:~# mount | grep huge
none on /mnt/hugetlbfs type hugetlbfs (rw)
root@ubuntu:~# echo 100 > /proc/sys/
root@ubuntu:~# cat /proc/sys/
100
root@ubuntu:~# grep HugePages_Total /proc/meminfo
HugePages_Total: 100
root@ubuntu:~# cd libhugetlbfs/
root@ubuntu:
root@ubuntu:
zero_filesize_
test_root (16M: 64): PASS
meminfo_nohuge (16M: 64): PASS
gethugepagesize (16M: 64): PASS
gethugepagesizes (16M: 64): PASS
HUGETLB_VERBOSE=1 empty_mounts (16M: 64): PASS
HUGETLB_VERBOSE=1 large_mounts (16M: 64): PASS
find_path (16M: 64): PASS
unlinked_fd (16M: 64): PASS
readback (16M: 64): PASS
truncate (16M: 64): PASS
shared (16M: 64): PASS
mprotect (16M: 64): PASS
mlock (16M: 64): PASS
misalign (16M: 64): PASS
mremap-
mremap-
mremap-
ptrace-
icache-hygiene (16M: 64): PASS
slbpacaflush (16M: 64): PASS (inconclusive)
straddle_4GB_static (16M: 64): PASS
huge_at_
huge_below_
map_high_truncate_2 (16M: 64): PASS
misaligned_offset (16M: 64): PASS (inconclusive)
truncate_above_4GB (16M: 64): PASS
brk_near_huge (16M: 64): PASS
task-size-overrun (16M: 64): PASS
stack_grow_
corrupt-by-cow-opt (16M: 64): PASS
noresv-
noresv-
readahead_
madvise_reserve.sh (16M: 64): PASS
fadvise_reserve.sh (16M: 64): PASS
mremap-
mremap-
mremap-
set shmmax limit to 67108864
shm-perms (16M: 64): PASS
private (16M: 64): PASS
fork-cow (16M: 64): PASS
direct (16M: 64): PASS
malloc (16M: 64): PASS
LD_PRELOAD=
LD_PRELOAD=
LD_PRELOAD=
malloc_manysmall (16M: 64): PASS
LD_PRELOAD=
heapshrink (16M: 64): PASS
LD_PRELOAD=
LD_PRELOAD=
LD_PRELOAD=
LD_PRELOAD=
LD_PRELOAD=
HUGETLB_VERBOSE=1 HUGETLB_
HUGETLB_VERBOSE=0 linkhuge_nofd (16M: 64): PASS
LD_PRELOAD=
linkhuge (16M: 64): PASS
LD_PRELOAD=
linkhuge_rw (16M: 64): PASS
HUGETLB_ELFMAP=R linkhuge_rw (16M: 64): PASS
HUGETLB_ELFMAP=W linkhuge_rw (16M: 64):
HUGETLB_ELFMAP=RW linkhuge_rw (16M: 64):
HUGETLB_ELFMAP=no linkhuge_rw (16M: 64): PASS
HUGETLB_ELFMAP= HUGETLB_
HUGETLB_ELFMAP=W HUGETLB_
HUGETLB_ELFMAP=RW HUGETLB_
HUGETLB_SHARE=0 HUGETLB_ELFMAP=R linkhuge_rw (16M: 64): PASS
HUGETLB_SHARE=1 HUGETLB_ELFMAP=R linkhuge_rw (16M: 64): PASS
HUGETLB_SHARE=0 HUGETLB_ELFMAP=W linkhuge_rw (16M: 64):
HUGETLB_SHARE=1 HUGETLB_ELFMAP=W linkhuge_rw (16M: 64):
HUGETLB_SHARE=0 HUGETLB_ELFMAP=RW linkhuge_rw (16M: 64):
HUGETLB_SHARE=1 HUGETLB_ELFMAP=RW linkhuge_rw (16M: 64):
chunk-overcommit (16M: 64): PASS
alloc-instantia
alloc-instantia
truncate_
truncate_
get_huge_pages (16M: 64): PASS
shmoverride_linked (16M: 64): PASS
HUGETLB_SHM=yes shmoverride_linked (16M: 64): PASS
shmoverride_
HUGETLB_SHM=yes shmoverride_
LD_PRELOAD=
LD_PRELOAD=
quota.sh (16M: 64): PASS
counters.sh (16M: 64): PASS
mmap-gettest 10 100 (16M: 64): PASS
mmap-cow 99 100 (16M: 64): PASS
set shmmax limit to 1677721600
shm-fork 10 50 (16M: 64): PASS
set shmmax limit to 1677721600
shm-fork 10 100 (16M: 64): PASS
set shmmax limit to 1677721600
shm-getraw 100 /dev/full (16M: 64): PASS
********** TEST SUMMARY
* 16M
* 32-bit 64-bit
* Total testcases: 0 93
* Skipped: 0 0
* PASS: 0 87
* FAIL: 0 0
* Killed by signal: 0 6
* Bad configuration: 0 0
* Expected FAIL: 0 0
* Unexpected PASS: 0 0
* Strange test result: 0 0
**********
have executed the tests on the ubuntu 15.04 Power VM LPAR.
root@ubuntu:~# uname -a
Linux ubuntu 3.18.0-11-generic #12-Ubuntu SMP Fri Jan 23 22:45:52 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@ubuntu:~# cd libhugetlbfs/
root@ubuntu:
libhugetlbfs [ubuntu:2129]: INFO: Found pagesize 16384 kB
libhugetlbfs [ubuntu:2129]: INFO: Detected page sizes:
libhugetlbfs [ubuntu:2129]: INFO: Size: 16384 kB (default) Mount: /mnt/hugetlbfs
libhugetlbfs [ubuntu:2129]: INFO: Parsed kernel version: [3] . [18] . [0]
libhugetlbfs [ubuntu:2129]: INFO: Feature private_
libhugetlbfs [ubuntu:2129]: INFO: Feature noreserve_safe is present in this kernel
libhugetlbfs [ubuntu:2129]: INFO: Feature map_hugetlb is present in this kernel
libhugetlbfs [ubuntu:2129]: INFO: Kernel has MAP_PRIVATE reservations. Disabling heap prefaulting.
libhugetlbfs [ubuntu:2129]: INFO: Kernel supports MAP_HUGETLB
libhugetlbfs [ubuntu:2129]: INFO: HUGETLB_SHARE=0, sharing disabled
libhugetlbfs [ubuntu:2129]: INFO: HUGETLB_
libhugetlbfs [ubuntu:2129]: INFO: Segment 0 (phdr 3): 0x2ffffdb8-
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010160: 3fff90c506a0
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010168: 3fff90c6d268
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010170: 10002830
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010178: 10002834
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010180: 10002838
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010188: 1000283c
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010190: 10002840
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010198: 10002844
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101a0: 10002848
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101a8: 1000284c
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101b0: 10002850
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101b8: 10002854
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101c0: 10002858
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101c8: 1000285c
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101d0: 10002860
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101d8: 10002864
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101e0: 10002868
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101e8: 1000286c
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101f0: 10002870
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x300101f8: 10002874
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010200: 10002878
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010208: 1000287c
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010210: 10002880
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010218: 10002884
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010220: 10002888
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010228: 1000288c
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010230: 10002890
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010238: 10002894
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010240: 10002898
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010248: 1000289c
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010250: 100028a0
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010258: 100028a4
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010260: 100028a8
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010268: 100028ac
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010270: 100028b0
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010278: 100028b4
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010280: 100028b8
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010288: 100028bc
libhugetlbfs [ubuntu:2129]: DEBUG: Non-zero BSS data @ 0x30010290: 100028c0
libhugetlbfs [ubuntu:2129]: DEBUG: Total memsz = 0x204f0, memsz of largest segment = 0x204f0
libhugetlbfs [ubuntu:2129]: INFO: libhugetlbfs version: 2.18
libhugetlbfs [ubuntu:2130]: INFO: Mapped hugeseg at 0x3efffe000000. Copying 0x103a8 bytes and 0 extra bytes from 0x2ffffdb8...done
libhugetlbfs [ubuntu:2129]: INFO: Prepare succeeded
Segmentation fault (core dumped)
root@ubuntu:
libhugetlbfs [:2132]: INFO: HUGETLB_
libhugetlbfs [ubuntu:2132]: INFO: Found pagesize 16384 kB
libhugetlbfs [ubuntu:2132]: INFO: Detected page sizes:
libhugetlbfs [ubuntu:2132]: INFO: Size: 16384 kB (default) Mount: /mnt/hugetlbfs
libhugetlbfs [ubuntu:2132]: INFO: Parsed kernel version: [3] . [18] . [0]
libhugetlbfs [ubuntu:2132]: INFO: Feature private_
libhugetlbfs [ubuntu:2132]: INFO: Feature noreserve_safe is present in this kernel
libhugetlbfs [ubuntu:2132]: INFO: Feature map_hugetlb is present in this kernel
libhugetlbfs [ubuntu:2132]: INFO: Kernel has MAP_PRIVATE reservations. Disabling heap prefaulting.
libhugetlbfs [ubuntu:2132]: INFO: Kernel supports MAP_HUGETLB
libhugetlbfs [ubuntu:2132]: INFO: HUGETLB_SHARE=0, sharing disabled
libhugetlbfs [ubuntu:2132]: INFO: HUGETLB_
libhugetlbfs [ubuntu:2132]: INFO: Segment 0 (phdr 3): 0x2ffffdb8-
libhugetlbfs [ubuntu:2132]: DEBUG: Total memsz = 0x204f0, memsz of largest segment = 0x204f0
libhugetlbfs [ubuntu:2132]: INFO: libhugetlbfs version: 2.18
libhugetlbfs [ubuntu:2133]: INFO: Mapped hugeseg at 0x3efffe000000. Copying 0x103a8 bytes and 0x10148 extra bytes from 0x2ffffdb8...done
libhugetlbfs [ubuntu:2132]: INFO: Prepare succeeded
Starting testcase "./tests/
HUGETLB_ELFMAP=W
Hugepages used for: small_data big_data small_bss big_bss
PASS
tags: | added: architecture-ppc64le bugnameltc-120975 severity-high targetmilestone-inin1504 |
affects: | ubuntu → libhugetlbfs (Ubuntu) |
Changed in libhugetlbfs (Ubuntu): | |
status: | New → Fix Released |
------- Comment From <email address hidden> 2015-06-30 13:23 EDT-------
Ran the latest libhugetlb tests on mainline LE kernel and all of the tests PASSED.
********** TEST SUMMARY
* 16M
* 32-bit 64-bit
* Total testcases: 0 90
* Skipped: 0 0
* PASS: 0 90
* FAIL: 0 0
* Killed by signal: 0 0
* Bad configuration: 0 0
* Expected FAIL: 0 0
* Unexpected PASS: 0 0
* Strange test result: 0 0
**********
Though I can still see some unhandled signals for the tests, they are not causing
the tests to FAIL. Will look into this further.
[ 6134.761801] linkhuge_rw[24387]: unhandled signal 11 at 00000000100128a8 nip 0000000010001620 lr 00000000100011b8 code 30002
[ 6134.762010] linkhuge_rw[24388]: unhandled signal 11 at 00000000100028a8 nip 0000000010001620 lr 00000000100011b8 code 30002
[ 6134.762241] linkhuge_rw[24389]: unhandled signal 11 at 0000000010001820 nip 0000000010001620 lr 00000000100011b8 code 30002
[ 6134.762410] linkhuge_rw[24390]: unhandled signal 11 at 0000000010001830 nip 0000000010001620 lr 00000000100011b8 code 30002
[ 6134.767000] linkhuge_rw[24397]: unhandled signal 11 at 00000000100128a8 nip 0000000010001620 lr 00000000100011b8 code 30002
[ 6134.767286] linkhuge_rw[24398]: unhandled signal 11 at 00000000100028a8 nip 0000000010001620 lr 00000000100011b8 code 30002
[ 6134.767480] linkhuge_rw[24399]: unhandled signal 11 at 0000000010001820 nip 0000000010001620 lr 00000000100011b8 code 30002
[ 6134.767646] linkhuge_rw[24400]: unhandled signal 11 at 0000000010001830 nip 0000000010001620 lr 00000000100011b8 code 30002
[ 6134.781065] linkhuge_rw[24407]: unhandled signal 11 at 00000000100128a8 nip 0000000010001620 lr 00000000100011b8 code 30002