xfs fill_fs test in fallocate06 from ubuntu_ltp_syscalls failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
New
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Won't Fix
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== SRU Justification ==
The fill_fs test for XFS in fallocate06 from ubuntu_ltp_syscalls will fail on X/B/D/E:
tst_test.c:1290: INFO: Testing on xfs
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with xfs opts='' extra opts=''
tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
fallocate06.c:117: INFO: Copy-on-write is not supported
fallocate06.c:168: INFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(
fallocate06.c:237: PASS: fallocate(
fallocate06.c:168: INFO: Case 2. Fill FS: yes; Use copy on write: no
tst_fill_fs.c:32: INFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:32: INFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:32: INFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:32: INFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:32: INFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:32: INFO: Creating file mntpoint/file5 size 4807935
tst_fill_fs.c:32: INFO: Creating file mntpoint/file6 size 90739786
tst_fill_fs.c:32: INFO: Creating file mntpoint/file7 size 76896492
tst_fill_fs.c:32: INFO: Creating file mntpoint/file8 size 72228649
tst_fill_fs.c:32: INFO: Creating file mntpoint/file9 size 36207821
tst_fill_fs.c:32: INFO: Creating file mntpoint/file10 size 81483962
tst_fill_fs.c:32: INFO: Creating file mntpoint/file11 size 92198827
tst_fill_fs.c:59: INFO: write(): ENOSPC (28)
fallocate06.c:153: FAIL: Unexpected return value from write(): 7680 (expected 8192)
fallocate06.c:157: PASS: fallocate(
fallocate06.c:237: PASS: fallocate(
== Fix ==
* e093c4be (xfs: Fix tail rounding in xfs_alloc_
This patch can be cherry-picked in D/E and needs some minor context adjustmest on X/B.
== Test ==
Test kernels can be found here:
https:/
All patched kernels are working as expected, this issue will no longer
exist on XFS:
tst_test.c:1290: INFO: Testing on xfs
tst_mkfs.c:90: INFO: Formatting /dev/loop5 with xfs opts='' extra opts=''
tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
fallocate06.c:117: INFO: Copy-on-write is not supported
fallocate06.c:168: INFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(
fallocate06.c:237: PASS: fallocate(
fallocate06.c:168: INFO: Case 2. Fill FS: yes; Use copy on write: no
tst_fill_fs.c:32: INFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:32: INFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:32: INFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:32: INFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:32: INFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:32: INFO: Creating file mntpoint/file5 size 4807935
tst_fill_fs.c:32: INFO: Creating file mntpoint/file6 size 90739786
tst_fill_fs.c:32: INFO: Creating file mntpoint/file7 size 76896492
tst_fill_fs.c:32: INFO: Creating file mntpoint/file8 size 72228649
tst_fill_fs.c:32: INFO: Creating file mntpoint/file9 size 36207821
tst_fill_fs.c:32: INFO: Creating file mntpoint/file10 size 81483962
tst_fill_fs.c:32: INFO: Creating file mntpoint/file11 size 92198827
tst_fill_fs.c:59: INFO: write(): ENOSPC (28)
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(
fallocate06.c:237: PASS: fallocate(
== Regression Potential ==
Low, this ensures all the blocks are properly allocated and it's only affecting the allocation on XFS.
== Original Bug Report ==
Test failure in fallocate06 was composed by two issues, one is btrfs fill_fs test issue addressed in bug 1866323.
Another is this one, this is the case 2 of xfs (fill_fs):
tst_test.c:1290: INFO: Testing on xfs
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with xfs opts='' extra opts=''
tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
fallocate06.c:117: INFO: Copy-on-write is not supported
fallocate06.c:168: INFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(
fallocate06.c:237: PASS: fallocate(
fallocate06.c:168: INFO: Case 2. Fill FS: yes; Use copy on write: no
tst_fill_fs.c:32: INFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:32: INFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:32: INFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:32: INFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:32: INFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:32: INFO: Creating file mntpoint/file5 size 4807935
tst_fill_fs.c:32: INFO: Creating file mntpoint/file6 size 90739786
tst_fill_fs.c:32: INFO: Creating file mntpoint/file7 size 76896492
tst_fill_fs.c:32: INFO: Creating file mntpoint/file8 size 72228649
tst_fill_fs.c:32: INFO: Creating file mntpoint/file9 size 36207821
tst_fill_fs.c:32: INFO: Creating file mntpoint/file10 size 81483962
tst_fill_fs.c:32: INFO: Creating file mntpoint/file11 size 92198827
tst_fill_fs.c:59: INFO: write(): ENOSPC (28)
fallocate06.c:153: FAIL: Unexpected return value from write(): 7680 (expected 8192)
fallocate06.c:157: PASS: fallocate(
fallocate06.c:237: PASS: fallocate(
This test failures can be found from X to E
X - 2 failures reported:
fallocate06.c:153: FAIL: Unexpected return value from write(): 7680 (expected 8192)
fallocate06.c:146: FAIL: fallocate(
Test terminates with:
tst_test.c:1274: BROK: Test killed by SIGIOT/SIGABRT!
https:/
B - 2 failures reported:
fallocate06.c:153: FAIL: Unexpected return value from write(): 7680 (expected 8192)
fallocate06.c:146: FAIL: fallocate(
Test terminates with:
tst_test.c:1274: BROK: Test killed by SIGIOT/SIGABRT!
https:/
D - 2 failures reported:
fallocate06.c:153: FAIL: Unexpected return value from write(): 7680 (expected 8192)
fallocate06.c:146: FAIL: fallocate(
Test terminates with:
tst_test.c:1274: BROK: Test killed by SIGIOT/SIGABRT!
https:/
E - 2 failures reported:
fallocate06.c:151: FAIL: Unexpected return value from write(): 7680 (expected 8192)
fallocate06.c:146: FAIL: fallocate(
Test terminates with:
tst_test.c:1274: BROK: Test killed by SIGIOT/SIGABRT!
tags: | added: 4.15 gcp ubuntu-ltp-syscalls xenial |
summary: |
- fallocate06 from ubuntu_ltp_syscalls failed on X-GCP-4.15 + fallocate06 from ubuntu_ltp_syscalls failed |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu Disco): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Eoan): | |
status: | Incomplete → Confirmed |
tags: | added: 5.0 5.3 |
tags: | added: bionic disco eoan |
Changed in linux (Ubuntu Xenial): | |
status: | New → Confirmed |
description: | updated |
tags: | added: kqa-blocker |
Changed in linux (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Disco): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
summary: |
- fallocate06 from ubuntu_ltp_syscalls failed + xfs fill_fs test in fallocate06 from ubuntu_ltp_syscalls failed |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Eoan): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
Changed in linux (Ubuntu Disco): | |
status: | Fix Committed → Won't Fix |
tags: | added: 5.4 |
tags: | added: sru-20200629 |
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 1865967
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.