]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client-upgrade: hammer-based test should be used on new client
authorJason Dillaman <dillaman@redhat.com>
Fri, 2 Oct 2015 16:42:48 +0000 (12:42 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 6 Nov 2015 16:54:10 +0000 (11:54 -0500)
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>
suites/upgrade/client-upgrade/hammer-client-x/basic/1-install/hammer-client-x.yaml
suites/upgrade/client-upgrade/hammer-client-x/basic/2-workload/rbd_api_tests.yaml
suites/upgrade/client-upgrade/hammer-client-x/basic/2-workload/rbd_cli_import_export.yaml

index c6dd4ed9391029bc1296c77940297e866c230226..92c186d0445b058a3dde3bee59e0409fb471ef44 100644 (file)
@@ -1,10 +1,10 @@
 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"
index 0787fb1bbcb368dee6bfc454804d4a526b9b32d5..283b45c286b331fa3eb7826a0d7675e45d15ceed 100644 (file)
@@ -1,9 +1,21 @@
 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"
index 9bb4f94f73fa1fc4a31b37e54e101d8e82c8f931..ab83df856e1dbc76ff5ca0b2e3d2d2c519644916 100644 (file)
@@ -1,9 +1,13 @@
 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"