From 41a3a447865aed20e468df364df235f9c107ec82 Mon Sep 17 00:00:00 2001
From: =?utf8?q?C=C3=A9dric=20Ollivier?= <cedric.ollivier@orange.com>
Date: Sun, 30 Aug 2020 15:01:23 +0200
Subject: [PATCH] Skip obsolete Patrole tests
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Details: Policy action "os_compute_api:os-floating-ips" not found in policy files: [] or among registered policy in code defaults for nova service.

http://artifacts.opnfv.org/functest/OTNURZ1MTVG3/functest-opnfv-functest-smoke-latest-patrole_reader-run-86/patrole_reader/tempest-report.html

Change-Id: I678b3c10d19006d9ed978c8fa1d9eed933012b84
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
---
 docker/smoke/testcases.yaml | 3 +++
 functest/ci/testcases.yaml  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml
index ec131e33a..abd7da614 100644
--- a/docker/smoke/testcases.yaml
+++ b/docker/smoke/testcases.yaml
@@ -220,6 +220,7 @@ tiers:
                         mode: "(?!.*test_unmanage_snapshot_rbac)\
                           (?!.*test_show_auto_allocated_topology)\
                           (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*compute.test_floating_ips_rbac)\
                           (?=.*[.*\bslow\b.*])\
                           (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
                         option:
@@ -239,6 +240,7 @@ tiers:
                         mode: "(?!.*test_unmanage_snapshot_rbac)\
                           (?!.*test_show_auto_allocated_topology)\
                           (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*compute.test_floating_ips_rbac)\
                           (?=.*[.*\bslow\b.*])\
                           (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
                         option:
@@ -258,6 +260,7 @@ tiers:
                         mode: "(?!.*test_unmanage_snapshot_rbac)\
                           (?!.*test_show_auto_allocated_topology)\
                           (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*compute.test_floating_ips_rbac)\
                           (?=.*[.*\bslow\b.*])\
                           (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
                         option:
diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml
index 0837ec78a..2ccdf7af1 100644
--- a/functest/ci/testcases.yaml
+++ b/functest/ci/testcases.yaml
@@ -398,6 +398,7 @@ tiers:
                         mode: "(?!.*test_unmanage_snapshot_rbac)\
                           (?!.*test_show_auto_allocated_topology)\
                           (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*compute.test_floating_ips_rbac)\
                           (?=.*[.*\bslow\b.*])\
                           (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
                         option:
@@ -417,6 +418,7 @@ tiers:
                         mode: "(?!.*test_unmanage_snapshot_rbac)\
                           (?!.*test_show_auto_allocated_topology)\
                           (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*compute.test_floating_ips_rbac)\
                           (?=.*[.*\bslow\b.*])\
                           (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
                         option:
@@ -436,6 +438,7 @@ tiers:
                         mode: "(?!.*test_unmanage_snapshot_rbac)\
                           (?!.*test_show_auto_allocated_topology)\
                           (?!.*test_delete_auto_allocated_topology)\
+                          (?!.*compute.test_floating_ips_rbac)\
                           (?=.*[.*\bslow\b.*])\
                           (^patrole_tempest_plugin.tests.api.(compute|image|network|volume))"
                         option:
-- 
2.16.6