2026-10-27 20:31:33,369 - INFO - Domain Default found not creating
2026-10-27 20:31:33,579 - INFO - Project ctest-TestBasicPolicy-90404927 not found, creating it
2026-10-27 20:31:34,467 - INFO - Created Project:ctest-TestBasicPolicy-90404927, ID : b998476a-81e1-472f-85b0-a4803293d99d
2026-10-27 20:31:36,648 - INFO - ================================================================================
2026-10-27 20:31:36,648 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-27 20:31:36,648 - INFO - TEST DESCRIPTION :
Create 2 Vns and allow icmp traffic between them and validate with pings
Update the policy to deny the same traffic
Check that pings fail
2026-10-27 20:31:36,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-10-27 20:31:36,931 - INFO - Initial checks done. Running the testcase now
2026-10-27 20:31:36,931 - INFO -
2026-10-27 20:31:37,732 - DEBUG - Response for create_network : {'network': {'id': 'a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2', 'name': 'ctest-vn-76508362', 'tenant_id': 'b998476a81e1472f85b0a4803293d99d', 'project_id': 'b998476a81e1472f85b0a4803293d99d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90404927', 'ctest-vn-76508362'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:31:37,960 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e1a1491-fd42-4e41-82f5-d43ce82e3c27', 'name': '', 'tenant_id': 'b998476a81e1472f85b0a4803293d99d', 'network_id': 'a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2', 'ip_version': 4, 'cidr': '52.135.251.64/26', 'allocation_pools': [{'start': '52.135.251.66', 'end': '52.135.251.126'}], 'gateway_ip': '52.135.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.135.251.66', 'tags': [], 'project_id': 'b998476a81e1472f85b0a4803293d99d'}}
2026-10-27 20:31:37,983 - INFO - Created VN ctest-vn-76508362
2026-10-27 20:31:38,035 - DEBUG - VN ctest-vn-76508362 UUID is a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2
2026-10-27 20:31:38,368 - DEBUG - Response for create_network : {'network': {'id': '538f00ca-31a2-4439-be8c-00b6ed84430c', 'name': 'ctest-vn-45301565', 'tenant_id': 'b998476a81e1472f85b0a4803293d99d', 'project_id': 'b998476a81e1472f85b0a4803293d99d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90404927', 'ctest-vn-45301565'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:31:38,621 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b945edf-b25b-4e97-bccd-8af4f433948f', 'name': '', 'tenant_id': 'b998476a81e1472f85b0a4803293d99d', 'network_id': '538f00ca-31a2-4439-be8c-00b6ed84430c', 'ip_version': 4, 'cidr': '214.70.97.64/26', 'allocation_pools': [{'start': '214.70.97.66', 'end': '214.70.97.126'}], 'gateway_ip': '214.70.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.70.97.66', 'tags': [], 'project_id': 'b998476a81e1472f85b0a4803293d99d'}}
2026-10-27 20:31:38,646 - INFO - Created VN ctest-vn-45301565
2026-10-27 20:31:38,703 - DEBUG - VN ctest-vn-45301565 UUID is 538f00ca-31a2-4439-be8c-00b6ed84430c
2026-10-27 20:31:38,820 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-76508362, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-45301565, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None]
2026-10-27 20:31:39,160 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2', 'name': 'ctest-vn-76508362', 'tenant_id': 'b998476a81e1472f85b0a4803293d99d', 'project_id': 'b998476a81e1472f85b0a4803293d99d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8e1a1491-fd42-4e41-82f5-d43ce82e3c27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90404927', 'ctest-vn-76508362'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90404927', 'ctest-policy-allow-all-70051317']], 'subnet_ipam': [{'subnet_cidr': '52.135.251.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:31:39,431 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '538f00ca-31a2-4439-be8c-00b6ed84430c', 'name': 'ctest-vn-45301565', 'tenant_id': 'b998476a81e1472f85b0a4803293d99d', 'project_id': 'b998476a81e1472f85b0a4803293d99d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3b945edf-b25b-4e97-bccd-8af4f433948f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90404927', 'ctest-vn-45301565'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90404927', 'ctest-policy-allow-all-70051317']], 'subnet_ipam': [{'subnet_cidr': '214.70.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:31:39,618 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-27 20:31:40,005 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-27 20:31:40,039 - DEBUG - Requesting: http://10.0.0.189:8082/domain/060b4943-16b6-4fe0-9f76-5a7c59eb1104
2026-10-27 20:31:40,055 - DEBUG - Requesting: http://10.0.0.189:8082/project/b998476a-81e1-472f-85b0-a4803293d99d
2026-10-27 20:31:40,134 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2
2026-10-27 20:31:40,147 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2
2026-10-27 20:31:40,162 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f8e030ff-cdfb-4925-b7e8-9bf8ac9762ba
2026-10-27 20:31:40,170 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f8e030ff-cdfb-4925-b7e8-9bf8ac9762ba
2026-10-27 20:31:40,179 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/f3237044-db9d-4df4-8e52-99219717d081
2026-10-27 20:31:40,189 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-27 20:31:40,189 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2
2026-10-27 20:31:40,202 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f8e030ff-cdfb-4925-b7e8-9bf8ac9762ba
2026-10-27 20:31:40,225 - INFO - Verified VN network id 12 for VN a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2
2026-10-27 20:31:40,225 - INFO - Verifications in API Server for VN ctest-vn-76508362 passed
2026-10-27 20:31:40,225 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2
2026-10-27 20:31:40,240 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f8e030ff-cdfb-4925-b7e8-9bf8ac9762ba
2026-10-27 20:31:40,253 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f8e030ff-cdfb-4925-b7e8-9bf8ac9762ba
2026-10-27 20:31:40,262 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/f3237044-db9d-4df4-8e52-99219717d081
2026-10-27 20:31:40,281 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-76508362', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90404927', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12132976486662423090', 'uuid-lslong': '10090300571178234802'}, 'enable': 'true', 'created': '2026-10-27T20:31:37', 'last-modified': '2026-10-27T20:31:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.148529'}
2026-10-27 20:31:40,290 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-27 20:31:40,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76508362 passed
2026-10-27 20:31:40,290 - DEBUG - ====Verifying policy data for ctest-vn-76508362 in API_Server ======
2026-10-27 20:31:40,290 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-27 20:31:40,298 - DEBUG - Requesting: http://10.0.0.189:8082/domain/060b4943-16b6-4fe0-9f76-5a7c59eb1104
2026-10-27 20:31:40,316 - DEBUG - Requesting: http://10.0.0.189:8082/project/b998476a-81e1-472f-85b0-a4803293d99d
2026-10-27 20:31:40,405 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a860fdd4-d3ae-4232-8c07-f2e8a5fff3b2
2026-10-27 20:31:40,418 - DEBUG - ==>Verifying data for policy with id: eb1da5a1-c6d2-41fe-af05-f2ebf95be906, fqn: ['default-domain', 'ctest-TestBasicPolicy-90404927', 'ctest-policy-allow-all-70051317']
2026-10-27 20:31:40,418 - INFO - VN ctest-vn-76508362 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-27 20:31:40,418 - DEBUG - Verifying the vn in opserver
2026-10-27 20:31:40,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-76508362 virtual network link through opserver 10.0.0.189
2026-10-27 20:31:40,418 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-10-27 20:31:40,820 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-10-27 20:31:40,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-76508362', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-76508362?flat'}
2026-10-27 20:31:40,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-76508362 is found in opserver
2026-10-27 20:31:40,908 - DEBUG - Do not have enough data to verify VN in agent
2026-10-27 20:31:40,918 - DEBUG - VRF ids for VN ctest-vn-76508362: {}
2026-10-27 20:31:40,918 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-27 20:31:40,927 - DEBUG - Requesting: http://10.0.0.189:8082/domain/060b4943-16b6-4fe0-9f76-5a7c59eb1104
2026-10-27 20:31:40,946 - DEBUG - Requesting: http://10.0.0.189:8082/project/b998476a-81e1-472f-85b0-a4803293d99d
2026-10-27 20:31:41,037 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/538f00ca-31a2-4439-be8c-00b6ed84430c
2026-10-27 20:31:41,050 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/538f00ca-31a2-4439-be8c-00b6ed84430c
2026-10-27 20:31:41,063 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/ba01d368-4a0c-427f-a4da-d30ac912d152
2026-10-27 20:31:41,072 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/ba01d368-4a0c-427f-a4da-d30ac912d152
2026-10-27 20:31:41,081 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/8d5dc1a8-1835-4c94-96af-d934d094d206
2026-10-27 20:31:41,089 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-27 20:31:41,089 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/538f00ca-31a2-4439-be8c-00b6ed84430c
2026-10-27 20:31:41,100 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/ba01d368-4a0c-427f-a4da-d30ac912d152
2026-10-27 20:31:41,118 - INFO - Verified VN network id 13 for VN 538f00ca-31a2-4439-be8c-00b6ed84430c
2026-10-27 20:31:41,118 - INFO - Verifications in API Server for VN ctest-vn-45301565 passed
2026-10-27 20:31:41,118 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/538f00ca-31a2-4439-be8c-00b6ed84430c
2026-10-27 20:31:41,130 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/ba01d368-4a0c-427f-a4da-d30ac912d152
2026-10-27 20:31:41,139 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/ba01d368-4a0c-427f-a4da-d30ac912d152
2026-10-27 20:31:41,147 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/8d5dc1a8-1835-4c94-96af-d934d094d206
2026-10-27 20:31:41,167 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-45301565', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90404927', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6021032095233754169', 'uuid-lslong': '13730350149614715660'}, 'enable': 'true', 'created': '2026-10-27T20:31:38', 'last-modified': '2026-10-27T20:31:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.759707'}
2026-10-27 20:31:41,175 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-27 20:31:41,175 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45301565 passed
2026-10-27 20:31:41,175 - DEBUG - ====Verifying policy data for ctest-vn-45301565 in API_Server ======
2026-10-27 20:31:41,175 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-27 20:31:41,182 - DEBUG - Requesting: http://10.0.0.189:8082/domain/060b4943-16b6-4fe0-9f76-5a7c59eb1104
2026-10-27 20:31:41,195 - DEBUG - Requesting: http://10.0.0.189:8082/project/b998476a-81e1-472f-85b0-a4803293d99d
2026-10-27 20:31:41,282 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/538f00ca-31a2-4439-be8c-00b6ed84430c
2026-10-27 20:31:41,296 - DEBUG - ==>Verifying data for policy with id: eb1da5a1-c6d2-41fe-af05-f2ebf95be906, fqn: ['default-domain', 'ctest-TestBasicPolicy-90404927', 'ctest-policy-allow-all-70051317']
2026-10-27 20:31:41,296 - INFO - VN ctest-vn-45301565 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-27 20:31:41,296 - DEBUG - Verifying the vn in opserver
2026-10-27 20:31:41,296 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-45301565 virtual network link through opserver 10.0.0.189
2026-10-27 20:31:41,296 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-10-27 20:31:41,308 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-45301565', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-45301565?flat'}
2026-10-27 20:31:41,308 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90404927:ctest-vn-45301565 is found in opserver
2026-10-27 20:31:41,323 - DEBUG - Do not have enough data to verify VN in agent
2026-10-27 20:31:41,330 - DEBUG - VRF ids for VN ctest-vn-45301565: {}
2026-10-27 20:31:41,416 - DEBUG - Services list from nova: [