Avoid attempting to test new release features that are not available
on older hammer OSDs.
Fixes: #13304
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
tasks:
- install:
- branch: hammer
+ branch: hammer
- print: "**** done install hammer"
-- install.upgrade:
- exclude_packages: ['ceph-test', 'ceph-test-dbg']
- client.0:
-- print: "**** done install.upgrade client.0"
-- ceph:
-- print: "**** done ceph"
+upgrade_workload:
+ sequential:
+ - install.upgrade:
+ exclude_packages: ['ceph-test', 'ceph-test-dbg']
+ client.0:
+ - print: "**** done install.upgrade client.0"
tasks:
+- exec:
+ client.0:
+ - "cp $(which ceph_test_librbd_api) $TESTDIR/ceph_test_librbd_api"
+- sequential:
+ - upgrade_workload
+- ceph:
+- print: "**** done ceph"
+- exec:
+ client.0:
+ - "cp --force $TESTDIR/ceph_test_librbd_api $(which ceph_test_librbd_api)"
+ - "rm -rf $TESTDIR/ceph_test_librbd_api"
+- print: "**** done reverting to hammer ceph_test_librbd_api"
- workunit:
branch: hammer
clients:
client.0:
- - rbd/test_librbd_api.sh
+ - rbd/test_librbd_api.sh
env:
RBD_FEATURES: "13"
- print: "**** done rbd/test_librbd_api.sh"
tasks:
+- sequential:
+ - upgrade_workload
+- ceph:
+- print: "**** done ceph"
- workunit:
branch: hammer
clients:
client.0:
- - rbd/import_export.sh
+ - rbd/import_export.sh
env:
RBD_CREATE_ARGS: --new-format
- print: "**** done rbd/import_export.sh"