]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/upgrade/pacific-p2p: skip TestClsRbd.mirror_snapshot test 53204/head
authorIlya Dryomov <idryomov@gmail.com>
Sun, 27 Aug 2023 17:09:15 +0000 (19:09 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 29 Aug 2023 09:16:53 +0000 (11:16 +0200)
The behavior of the class method changed in reef; the change was
backported to pacific and quincy.  An older pacific binary used against
newer pacific OSDs produces an expected failure:

    [ RUN      ] TestClsRbd.mirror_snapshot
    .../ceph-16.2.7/src/test/cls_rbd/test_cls_rbd.cc:2278: Failure
    Expected equality of these values:
      -85
      mirror_image_snapshot_unlink_peer(&ioctx, oid, 1, "peer2")
        Which is: 0
    [  FAILED  ] TestClsRbd.mirror_snapshot (30 ms)

TestClsRbd.snapshots_namespaces test was removed in commit 4ad9d565a15c
("librbd: simplified retrieving snapshots from image header") many years
ago.

Fixes: https://tracker.ceph.com/issues/62586
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/suites/upgrade/pacific-p2p/pacific-p2p-parallel/point-to-point-upgrade.yaml
qa/suites/upgrade/pacific-p2p/pacific-p2p-stress-split/4-workload/rbd-cls.yaml

index ebaf84199ca3a8d903ad66f6420e883db16f4fb4..c4f6e50776cb18decf78176c056b6c41b0bc1c11 100644 (file)
@@ -123,7 +123,7 @@ workload_pacific:
          - rados/test.sh
          - cls
        env:
-         CLS_RBD_GTEST_FILTER: '*:-TestClsRbd.snapshots_namespaces'
+         CLS_RBD_GTEST_FILTER: '*:-TestClsRbd.mirror_snapshot'
    - print: "**** done rados/test.sh &  cls workload_pacific"
    - sequential:
      - rgw: [client.0]
index caaac875cbdb54198a64069dac02dd5bc4cd76a3..1233f70b07ebace2e666ed492a31091c14237fdf 100644 (file)
@@ -7,4 +7,6 @@ stress-tasks:
     clients:
       client.0:
         - cls/test_cls_rbd.sh
+    env:
+      CLS_RBD_GTEST_FILTER: '*:-TestClsRbd.mirror_snapshot'
 - print: "**** done cls/test_cls_rbd.sh 4-workload"