Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qa/suites/krbd: rbd_xfstests job overhaul #17346

Merged
merged 5 commits into from Aug 29, 2017

Conversation

idryomov
Copy link
Contributor

I've been test running this for about a week. There is a small list of one-off failures that I'll keep an eye for, but I think it's reliable enough now.

./check expects FSTYP, so use that throughout.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
AFAICT ./check doesn't query EXT4_MKFS_OPTIONS or BTRFS_MKFS_OPTIONS,
We don't need anything special for xfs, so remove all of them to avoid
confusion.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
xfstests is a pain to build on trusty, xenial and centos7 with a single
script.  It is also very sensitive to dependencies, which again need to
be managed on all those distros -- different sets of supported commands
and switches, some versions have known bugs, etc.

Download a pre-built, statically linked tarball and use it instead.
The tarball was generated using xfstests-bld by Ted Ts'o, with a number
of tweaks by myself (mostly concerning the build environment).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Different filesystems (and further, different configurations of the
same filesystem) need different exclude lists.  Hard coding the list in
a wrapper script is inflexible.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
ext4 seems to be a better choice for our purposes -- less test churn,
rather small and reliable exclude list.

All excluded tests but generic/050 fail with no krbd in the mix, most
have popped up on linux-ext4 list at least once.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
@idryomov
Copy link
Contributor Author

Copy link

@dillaman dillaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dillaman dillaman merged commit 1b2f135 into ceph:master Aug 29, 2017
@idryomov idryomov deleted the wip-krbd-xfstests-update branch August 30, 2017 07:48
@vasukulkarni
Copy link
Contributor

I think we should port this to luminous, I tried to cherry-pick for a PR but strangely it doesn't apply cleanly without conflict.

@idryomov
Copy link
Contributor Author

idryomov commented Sep 6, 2017

@vasukulkarni That's the plan. I wanted to delay it until all the one-offs were sorted out though.

@idryomov
Copy link
Contributor Author

idryomov commented Sep 26, 2017

luminous backport: #17970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants