noresv-preserve-resv-page test in libhugetlbfs failed on Trusty arm64

Bug #1747823 reported by Po-Hsu Lin on 2018-02-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
linux (Ubuntu)
Medium
Unassigned

Bug Description

Steps:
1. Deploy an ARM64 system with Trusty
2. Install necessary packages
3. git clone --depth=1 -b next https://github.com/libhugetlbfs/libhugetlbfs.git
4. make BUILDTYPE=NATIVEONLY
5. execute the run_test.py in tests directory

Result:
* The noresv-preserve-resv-page test case will fail

Output with sudo ./run_test.py -v:
noresv-preserve-resv-page (2M: 64): Starting testcase "noresv-preserve-resv-page", pid 16071
Reserve all hugepages 31935
Write to 0x2f97e00000 to steal reserved page
FAIL Steal reserved page

Output with sudo ./run_test.py -V
noresv-preserve-resv-page (2M: 64): libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: Found pagesize 2048 kB
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: Parsed kernel version: [3] . [13] . [0]
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: Feature private_reservations is present in this kernel
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: Feature noreserve_safe is present in this kernel
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: Feature map_hugetlb is present in this kernel
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: Kernel has MAP_PRIVATE reservations. Disabling heap prefaulting.
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: Kernel supports MAP_HUGETLB
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: HUGETLB_SHARE=0, sharing disabled
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: HUGETLB_NO_RESERVE=no, reservations enabled
libhugetlbfs [ms10-34-mcdivittB0-kernel:19589]: INFO: No segments were appropriate for remapping
FAIL Steal reserved page

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-141-generic 3.13.0-141.190
ProcVersionSignature: User Name 3.13.0-141.190-generic 3.13.11-ckt39
Uname: Linux 3.13.0-141-generic aarch64
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.14.1-0ubuntu3.27
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
CRDA: Error: [Errno 2] No such file or directory: 'iw'
Date: Wed Feb 7 03:11:38 2018
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: console=ttyS0,9600n8r ro
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-141-generic N/A
 linux-backports-modules-3.13.0-141-generic N/A
 linux-firmware 1.127.24
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)

Po-Hsu Lin (cypressyew) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Po-Hsu Lin (cypressyew) on 2018-02-07
description: updated
Po-Hsu Lin (cypressyew) on 2018-02-07
description: updated
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Sean Feole (sfeole) wrote :

very old bug, with no action on it, marking bug as incomplete and will
close in 5 days if no update.

Changed in ubuntu-kernel-tests:
status: New → Incomplete
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Po-Hsu Lin (cypressyew) wrote :

09/12 11:27:53 DEBUG| utils:0153| [stdout] noresv-preserve-resv-page (2M: 64): FAIL Steal reserved page

Bug is still valid.
http://10.246.72.4/test-results/3.13.0-158.208-generic/ms10-35-mcdivittB0-kernel__3.13.0-158.208__2018-09-12_11-15-00/libhugetlbfs/results/libhugetlbfs/debug/libhugetlbfs.DEBUG.html

Changed in ubuntu-kernel-tests:
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Po-Hsu Lin (cypressyew) on 2019-09-16
tags: added: libhugetlbfs
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers