Actions
Bug #58760
closedkclient: xfstests-dev generic/317 failed
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v18.0.0-2695-g1426cdfaabd
Released In:
v19.2.0~2782
Upkeep Timestamp:
2025-07-12T18:42:42+00:00
Description
2023-02-16T02:47:46.428 INFO:teuthology.orchestra.run.smithi149.stdout:generic/317 - output mismatch (see /tmp/tmp.WJWgscIHu0xfstests-dev/results//generic/317.out.bad) 2023-02-16T02:47:46.438 INFO:teuthology.orchestra.run.smithi149.stdout: --- tests/generic/317.out 2023-02-16 01:53:04.378954349 +0000 2023-02-16T02:47:46.438 INFO:teuthology.orchestra.run.smithi149.stdout: +++ /tmp/tmp.WJWgscIHu0xfstests-dev/results//generic/317.out.bad 2023-02-16 02:47:46.424478624 +0000 2023-02-16T02:47:46.438 INFO:teuthology.orchestra.run.smithi149.stdout: @@ -4,9 +4,7 @@ 2023-02-16T02:47:46.439 INFO:teuthology.orchestra.run.smithi149.stdout: Size: 0 Filetype: Regular File 2023-02-16T02:47:46.439 INFO:teuthology.orchestra.run.smithi149.stdout: Mode: (0644/-rw-r--r--) Uid: (qa_user) Gid: (qa_user) 2023-02-16T02:47:46.439 INFO:teuthology.orchestra.run.smithi149.stdout: From user_ns 2023-02-16T02:47:46.439 INFO:teuthology.orchestra.run.smithi149.stdout: - File: "$SCRATCH_MNT/file1" 2023-02-16T02:47:46.439 INFO:teuthology.orchestra.run.smithi149.stdout: - Size: 0 Filetype: Regular File 2023-02-16T02:47:46.439 INFO:teuthology.orchestra.run.smithi149.stdout: - Mode: (0644/-rw-r--r--) Uid: (0) Gid: (0) 2023-02-16T02:47:46.439 INFO:teuthology.orchestra.run.smithi149.stdout: +execvp: Permission denied 2023-02-16T02:47:46.440 INFO:teuthology.orchestra.run.smithi149.stdout: ... 2023-02-16T02:47:46.440 INFO:teuthology.orchestra.run.smithi149.stdout: (Run 'diff -u /tmp/tmp.WJWgscIHu0xfstests-dev/tests/generic/317.out /tmp/tmp.WJWgscIHu0xfstests-dev/results//generic/317.out.bad' to see the entire diff) 2023-02-16T02:47:47.651 INFO:teuthology.orchestra.run.smithi149.stdout:generic/318 1s 2023-02-16T02:47:48.589 INFO:teuthology.orchestra.run.smithi149.stdout:generic/319 1s
Updated by Xiubo Li about 3 years ago
I reproduced it by:
$ chmod g-rwx,o-rwx xfstests-dev/
$ cd xfstests-dev/
$ ./check generic/317
FSTYP -- ceph
PLATFORM -- Linux/x86_64 lxbceph1 6.2.0-rc7-00074-gd9ba97321a89 #211 SMP PREEMPT_DYNAMIC Wed Feb 22 14:28:15 CST 2023
MKFS_OPTIONS -- 10.72.47.117:40602:/testB
MOUNT_OPTIONS -- -o test_dummy_encryption,name=admin,nowsync,copyfrom,rasize=4096,context=system_u:object_r:root_t:s0 -o context=system_u:object_r:root_t:s0 10.72.47.117:40602:/testB /mnt/kcephfs.B
generic/317 3s ... - output mismatch (see /data/xfstests-dev/results//generic/317.out.bad)
--- tests/generic/317.out 2022-04-07 21:42:10.266031987 +0800
+++ /data/xfstests-dev/results//generic/317.out.bad 2023-02-23 10:22:01.252640859 +0800
@@ -4,9 +4,7 @@
Size: 0 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (qa_user) Gid: (qa_user)
From user_ns
- File: "$SCRATCH_MNT/file1"
- Size: 0 Filetype: Regular File
- Mode: (0644/-rw-r--r--) Uid: (0) Gid: (0)
+execvp: Permission denied
*** Remounting ***
@@ -15,6 +13,4 @@
Size: 0 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (qa_user) Gid: (qa_user)
From user_ns
- File: "$SCRATCH_MNT/file1"
- Size: 0 Filetype: Regular File
- Mode: (0644/-rw-r--r--) Uid: (0) Gid: (0)
+execvp: Permission denied
Ran: generic/317
Failures: generic/317
Failed 1 of 1 tests
And also when clone the xfstests-dev.git repo for the qa test it will make one temporary directory, which the mode is drwx------, so the the user namespace as the other user it couldn't access the temporary dirctory:
drwx------. 18 ubuntu ubuntu 4096 Feb 22 14:49 tmp.Xg4r1SWWuNxfstests-dev
Updated by Venky Shankar about 3 years ago
qa changes are: https://github.com/ceph/ceph/pull/50217
Updated by Xiubo Li about 3 years ago
- Project changed from Linux kernel client to CephFS
- Pull request ID set to 50217
Updated by Venky Shankar almost 3 years ago
Xiubo, does this need backporting? (and other xfstests-dev related changes)
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 1426cdfaabd5cfc47602448b287885ffc1394601
- Fixed In set to v18.0.0-2695-g1426cdfaabd
- Released In set to v19.2.0~2782
- Upkeep Timestamp set to 2025-07-12T18:42:42+00:00
Actions