inotify08 in LTP syscall test failed with X/X-LTS/X-HWE/A/B kernel

Bug #1775784 reported by Po-Hsu Lin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
AceLan Kao
linux (Ubuntu)
Fix Released
Medium
Unassigned
Xenial
Won't Fix
Medium
AceLan Kao
Artful
Won't Fix
Medium
Unassigned
Bionic
Fix Released
Medium
Unassigned

Bug Description

<<<test_start>>>
tag=inotify08 stime=1527762360
cmdline="inotify08"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1015: INFO: Timeout per run is 0h 05m 00s
inotify08.c:201: INFO: ovl/test_file ino=27918358, dev=8:1
inotify08.c:212: INFO: ovl/test_file ino=27918363, dev=8:1
inotify08.c:150: FAIL: didn't get event: mask=4
inotify08.c:150: FAIL: didn't get event: mask=20
inotify08.c:150: FAIL: didn't get event: mask=8

Summary:
passed 0
failed 3
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
<<<test_end>>>

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.15.0-22-generic 4.15.0-22.24~16.04.1
ProcVersionSignature: User Name 4.15.0-22.24~16.04.1-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Fri Jun 8 08:08:27 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-signed-hwe-edge
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
summary: - inotify08 in LTP syscall test failed with X/X-LTS/X-HWE/A kernel Edit
+ inotify08 in LTP syscall test failed with X/X-LTS/X-HWE/A kernel
Po-Hsu Lin (cypressyew)
summary: - inotify08 in LTP syscall test failed with X/X-LTS/X-HWE/A kernel
+ inotify08 in LTP syscall test failed with X/X-LTS/X-HWE/A/B kernel
affects: linux-signed-hwe-edge (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1775784

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
tags: added: artful bionic
Changed in linux (Ubuntu Xenial):
importance: Undecided → Medium
Changed in linux (Ubuntu Artful):
importance: Undecided → Medium
Changed in linux (Ubuntu Bionic):
importance: Undecided → Medium
Changed in linux (Ubuntu Xenial):
status: New → Triaged
Changed in linux (Ubuntu Artful):
status: New → Triaged
Changed in linux (Ubuntu Bionic):
status: New → Triaged
Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
Revision history for this message
Andy Whitcroft (apw) wrote : Closing unsupported series nomination.

This bug was nominated against a series that is no longer supported, ie artful. The bug task representing the artful nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Artful):
status: Triaged → Won't Fix
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

For the commit mentioned in the test case:
 * The problem has been fixed by commit:
 * 764baba80168 "ovl: hash non-dir by lower inode for fsnotify"

In commit 764baba80168, it stated that:
    The issue dates back to initial version of overlayfs, but this
    patch depends on ovl_inode code that was introduced in kernel v4.13.

So it would probably not suitable for X.

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

Didn't see this on C P8/P9 anymore.

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Passed with X-4.15 Azure
 tst_test.c:1108: INFO: Timeout per run is 0h 05m 00s
 inotify08.c:149: INFO: mntpoint/ovl/test_file ino=45058, dev=0:49
 inotify08.c:160: INFO: mntpoint/ovl/test_file ino=45058, dev=0:49
 inotify08.c:111: PASS: get event: wd=1 mask=00000004 cookie=0 len=0
 inotify08.c:111: PASS: get event: wd=1 mask=00000020 cookie=0 len=0
 inotify08.c:111: PASS: get event: wd=1 mask=00000008 cookie=0 len=0

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in linux (Ubuntu Bionic):
status: Triaged → Fix Released
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-ltp-syscalls
AceLan Kao (acelankao)
Changed in linux (Ubuntu Xenial):
assignee: nobody → AceLan Kao (acelankao)
Revision history for this message
AceLan Kao (acelankao) wrote :

The issue tested by LTP testcase inotify08 has been fixed by commit:
   764baba80168 ("ovl: hash non-dir by lower inode for fsnotify")

>From this upstream commit:
"The issue dates back to initial version of overlayfs, but this
patch depends on ovl_inode code that was introduced in kernel v4.13."

Our Xenial 4.4 kernel doesn't have the ovl_inode code, so blacklist this
testcase for kernels older than 4.13.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
assignee: nobody → AceLan Kao (acelankao)
status: New → Fix Released
Changed in linux (Ubuntu):
status: Triaged → Fix Released
Changed in linux (Ubuntu Xenial):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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