Project

General

Profile

Actions

Bug #52397

closed

pacific: qa: test_acls (tasks.cephfs.test_acls.TestACLs) failed

Added by Ramana Raja over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
Labels (FS):
qa
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

See this in Yuri's latest pacific run,
https://pulpito.ceph.com/yuriw-2021-08-23_19:33:26-fs-wip-yuri4-testing-2021-08-23-0812-pacific-distro-basic-smithi/6354753/

2021-08-24T09:26:00.556 INFO:tasks.cephfs_test_runner:test_acls (tasks.cephfs.test_acls.TestACLs) ... ERROR
2021-08-24T09:26:00.557 INFO:tasks.cephfs_test_runner:
2021-08-24T09:26:00.557 INFO:tasks.cephfs_test_runner:======================================================================
2021-08-24T09:26:00.558 INFO:tasks.cephfs_test_runner:ERROR: test_acls (tasks.cephfs.test_acls.TestACLs)
2021-08-24T09:26:00.558 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-08-24T09:26:00.558 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2021-08-24T09:26:00.559 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_20e257e138851c8cfc5bbfcef07d1f8e68373538/qa/tasks/cephfs/xfstests_dev.py", line 18, in setUp
2021-08-24T09:26:00.559 INFO:tasks.cephfs_test_runner:    self.prepare_xfstests_dev()
2021-08-24T09:26:00.560 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_20e257e138851c8cfc5bbfcef07d1f8e68373538/qa/tasks/cephfs/xfstests_dev.py", line 31, in prepare_xfstests_dev
2021-08-24T09:26:00.560 INFO:tasks.cephfs_test_runner:    stderr=BytesIO())
2021-08-24T09:26:00.560 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_321319b12ea4ff9b63c7655015a3156de2c3b279/teuthology/orchestra/remote.py", line 509, in run
2021-08-24T09:26:00.560 INFO:tasks.cephfs_test_runner:    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
2021-08-24T09:26:00.561 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_321319b12ea4ff9b63c7655015a3156de2c3b279/teuthology/orchestra/run.py", line 455, in run
2021-08-24T09:26:00.561 INFO:tasks.cephfs_test_runner:    r.wait()
2021-08-24T09:26:00.561 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_321319b12ea4ff9b63c7655015a3156de2c3b279/teuthology/orchestra/run.py", line 161, in wait
2021-08-24T09:26:00.562 INFO:tasks.cephfs_test_runner:    self._raise_for_status()
2021-08-24T09:26:00.562 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_321319b12ea4ff9b63c7655015a3156de2c3b279/teuthology/orchestra/run.py", line 183, in _raise_for_status
2021-08-24T09:26:00.562 INFO:tasks.cephfs_test_runner:    node=self.hostname, label=self.label
2021-08-24T09:26:00.562 INFO:tasks.cephfs_test_runner:teuthology.exceptions.CommandFailedError: Command failed on smithi039 with status 2: '(cd /tmp/tmp.iCXhpyFlITxfstests-dev && exec sudo make)'

And see this earlier failure when compiling xfstests-dev,

2021-08-24T09:26:00.162 INFO:teuthology.orchestra.run.smithi039.stdout:Building idmapped-mounts
2021-08-24T09:26:00.167 INFO:teuthology.orchestra.run.smithi039.stdout:    [CC]    idmapped-mounts
2021-08-24T09:26:00.346 INFO:teuthology.orchestra.run.smithi039.stderr:idmapped-mounts.c: In function 'btrfs_delete_subvolume_id':
2021-08-24T09:26:00.346 INFO:teuthology.orchestra.run.smithi039.stderr:idmapped-mounts.c:9730:6: error: 'struct btrfs_ioctl_vol_args_v2' has no member named 'subvolid'
2021-08-24T09:26:00.346 INFO:teuthology.orchestra.run.smithi039.stderr:  args.subvolid = subvolid;
2021-08-24T09:26:00.347 INFO:teuthology.orchestra.run.smithi039.stderr:      ^
2021-08-24T09:26:00.553 INFO:teuthology.orchestra.run.smithi039.stderr:gmake[4]: *** [Makefile:30: idmapped-mounts] Error 1
2021-08-24T09:26:00.553 INFO:teuthology.orchestra.run.smithi039.stderr:gmake[3]: *** [../include/buildrules:31: idmapped-mounts] Error 2
2021-08-24T09:26:00.553 INFO:teuthology.orchestra.run.smithi039.stderr:gmake[2]: *** [include/buildrules:31: src] Error 2
2021-08-24T09:26:00.554 INFO:teuthology.orchestra.run.smithi039.stderr:make[1]: *** [Makefile:51: default] Error 2
2021-08-24T09:26:00.554 INFO:teuthology.orchestra.run.smithi039.stderr:make: *** [Makefile:49: default] Error 2

Actions #1

Updated by Xiubo Li over 2 years ago

  • Assignee set to Xiubo Li
Actions #2

Updated by Xiubo Li over 2 years ago

  • Status changed from New to Resolved

This has been fixed by the following commit in git://git.ceph.com/xfstests-dev.git:

commit 90199d8061509a02d514dbdcc930928ce3fc8b1c
Author: Darrick J. Wong <djwong@kernel.org>
Date:   Mon Aug 23 11:21:38 2021 -0700

    idmap: override btrfs_ioctl_vol_args_v2 if system header doesn't have subvolid

    The struct btrfs_ioctl_vol_args_v2 in /usr/include/linux/btrfs.h on
    my system predates the inclusion of the "subvolid" field.  This
    causes the following build failure:

    idmapped-mounts.c: In function 'btrfs_delete_subvolume_id':
    idmapped-mounts.c:9730:6: error: 'struct btrfs_ioctl_vol_args_v2' has no member named 'subvolid'
     9730 |  args.subvolid = subvolid;
          |      ^

    Since this source file contains its own more uptodate copy of that
    structure, add some more autoconf/cpp magic so that we can override
    the struct definition if the system header doesn't have the desired
    field.

    Signed-off-by: Darrick J. Wong <djwong@kernel.org>
    Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
    Reviewed-by: Zorro Lang <zlang@redhat.com>
    Reviewed-by: Anju T Sudhakar<anju@linux.vnet.ibm.com>
    Signed-off-by: Eryu Guan <guaneryu@gmail.com>

Actions

Also available in: Atom PDF