]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/upgrade/quincy-p2p: skip TestClsRbd.mirror_snapshot test 53338/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 8 Sep 2023 11:52:34 +0000 (13:52 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 8 Sep 2023 14:52:28 +0000 (16:52 +0200)
The behavior of the class method changed in reef; the change was
backported to pacific and quincy.  An older quincy binary used against
newer quincy OSDs produces an expected failure:

    [ RUN      ] TestClsRbd.mirror_snapshot
    .../ceph-17.2.0/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 (49 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/62773
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/suites/upgrade/quincy-p2p/quincy-p2p-parallel/point-to-point-upgrade.yaml
qa/suites/upgrade/quincy-p2p/quincy-p2p-stress-split/4-workload/rbd-cls.yaml

index 160f1cd624b524e26ba4092310f7d6a59bf6cbff..558735533cbdbeb76234ecb564e2c6f96d2fdc4d 100644 (file)
@@ -124,7 +124,7 @@ workload_quincy:
          - 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_quincy"
    - sequential:
      - rgw: [client.0]
index 3d01d37aeed45ecf9fc8e325f4d68c1cfce0d8ae..4674dc6da38ed30f53c9037a5b8c366be4928004 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"