2026-09-16 13:08:48,873 - INFO - Domain Default found not creating
2026-09-16 13:08:49,029 - INFO - Project ctest-TestBasicPolicy-33887577 not found, creating it
2026-09-16 13:08:49,539 - INFO - Created Project:ctest-TestBasicPolicy-33887577, ID : 6b35decd-efd1-437d-8c9c-3690cd7e19e2
2026-09-16 13:08:51,285 - INFO - ================================================================================
2026-09-16 13:08:51,285 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 13:08:51,285 - 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-09-16 13:08:51,553 - DEBUG - Nothing to compare xmpp stats {'10.0.0.191': {'10.20.0.29': '0'}} with
2026-09-16 13:08:51,553 - INFO - Initial checks done. Running the testcase now
2026-09-16 13:08:51,553 - INFO -
2026-09-16 13:08:52,217 - DEBUG - Response for create_network : {'network': {'id': '2a820247-174f-4059-91dd-1d66a5422700', 'name': 'ctest-vn-52838827', 'tenant_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'project_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33887577', 'ctest-vn-52838827'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:08:52,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '59b620d7-90ec-4a0e-afe0-f874501cf4f4', 'name': '', 'tenant_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'network_id': '2a820247-174f-4059-91dd-1d66a5422700', 'ip_version': 4, 'cidr': '106.173.140.64/26', 'allocation_pools': [{'start': '106.173.140.66', 'end': '106.173.140.126'}], 'gateway_ip': '106.173.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.173.140.66', 'tags': [], 'project_id': '6b35decdefd1437d8c9c3690cd7e19e2'}}
2026-09-16 13:08:52,476 - INFO - Created VN ctest-vn-52838827
2026-09-16 13:08:52,529 - DEBUG - VN ctest-vn-52838827 UUID is 2a820247-174f-4059-91dd-1d66a5422700
2026-09-16 13:08:52,839 - DEBUG - Response for create_network : {'network': {'id': '479db3d5-72c4-46e0-85d6-b407e880c863', 'name': 'ctest-vn-60262691', 'tenant_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'project_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33887577', 'ctest-vn-60262691'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:08:53,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '506af880-592f-49ab-b7c4-e9ef0a405145', 'name': '', 'tenant_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'network_id': '479db3d5-72c4-46e0-85d6-b407e880c863', 'ip_version': 4, 'cidr': '145.48.55.64/26', 'allocation_pools': [{'start': '145.48.55.66', 'end': '145.48.55.126'}], 'gateway_ip': '145.48.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.48.55.66', 'tags': [], 'project_id': '6b35decdefd1437d8c9c3690cd7e19e2'}}
2026-09-16 13:08:53,032 - INFO - Created VN ctest-vn-60262691
2026-09-16 13:08:53,085 - DEBUG - VN ctest-vn-60262691 UUID is 479db3d5-72c4-46e0-85d6-b407e880c863
2026-09-16 13:08:53,197 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-52838827, 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-33887577:ctest-vn-60262691, 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-09-16 13:08:53,508 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a820247-174f-4059-91dd-1d66a5422700', 'name': 'ctest-vn-52838827', 'tenant_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'project_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['59b620d7-90ec-4a0e-afe0-f874501cf4f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33887577', 'ctest-vn-52838827'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33887577', 'ctest-policy-allow-all-68320726']], 'subnet_ipam': [{'subnet_cidr': '106.173.140.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:08:53,750 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '479db3d5-72c4-46e0-85d6-b407e880c863', 'name': 'ctest-vn-60262691', 'tenant_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'project_id': '6b35decdefd1437d8c9c3690cd7e19e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['506af880-592f-49ab-b7c4-e9ef0a405145'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33887577', 'ctest-vn-60262691'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33887577', 'ctest-policy-allow-all-68320726']], 'subnet_ipam': [{'subnet_cidr': '145.48.55.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:08:53,921 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-09-16 13:08:54,286 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-09-16 13:08:54,320 - DEBUG - Requesting: http://10.0.0.191:8082/domain/75ab2a26-db34-4e82-bb74-0e6976d0a601
2026-09-16 13:08:54,334 - DEBUG - Requesting: http://10.0.0.191:8082/project/6b35decd-efd1-437d-8c9c-3690cd7e19e2
2026-09-16 13:08:54,410 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2a820247-174f-4059-91dd-1d66a5422700
2026-09-16 13:08:54,423 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2a820247-174f-4059-91dd-1d66a5422700
2026-09-16 13:08:54,435 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/998747df-190c-4a9b-99aa-e45c7b4dec39
2026-09-16 13:08:54,443 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/998747df-190c-4a9b-99aa-e45c7b4dec39
2026-09-16 13:08:54,452 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/61dbb3ee-86f4-4632-b60c-5ffd2922869a
2026-09-16 13:08:54,459 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:08:54,459 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2a820247-174f-4059-91dd-1d66a5422700
2026-09-16 13:08:54,468 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/998747df-190c-4a9b-99aa-e45c7b4dec39
2026-09-16 13:08:54,483 - INFO - Verified VN network id 12 for VN 2a820247-174f-4059-91dd-1d66a5422700
2026-09-16 13:08:54,483 - INFO - Verifications in API Server for VN ctest-vn-52838827 passed
2026-09-16 13:08:54,483 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2a820247-174f-4059-91dd-1d66a5422700
2026-09-16 13:08:54,494 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/998747df-190c-4a9b-99aa-e45c7b4dec39
2026-09-16 13:08:54,502 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/998747df-190c-4a9b-99aa-e45c7b4dec39
2026-09-16 13:08:54,510 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/61dbb3ee-86f4-4632-b60c-5ffd2922869a
2026-09-16 13:08:54,525 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-52838827', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33887577', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3063013200922361945', 'uuid-lslong': '10510589432049051392'}, 'enable': 'true', 'created': '2026-09-16T13:08:52', 'last-modified': '2026-09-16T13:08:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038129'}
2026-09-16 13:08:54,532 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:08:54,532 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52838827 passed
2026-09-16 13:08:54,532 - DEBUG - ====Verifying policy data for ctest-vn-52838827 in API_Server ======
2026-09-16 13:08:54,532 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-09-16 13:08:54,538 - DEBUG - Requesting: http://10.0.0.191:8082/domain/75ab2a26-db34-4e82-bb74-0e6976d0a601
2026-09-16 13:08:54,550 - DEBUG - Requesting: http://10.0.0.191:8082/project/6b35decd-efd1-437d-8c9c-3690cd7e19e2
2026-09-16 13:08:54,622 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2a820247-174f-4059-91dd-1d66a5422700
2026-09-16 13:08:54,635 - DEBUG - ==>Verifying data for policy with id: dba5005f-dbaa-44ab-b4e0-9a588630b8ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-33887577', 'ctest-policy-allow-all-68320726']
2026-09-16 13:08:54,635 - INFO - VN ctest-vn-52838827 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:08:54,635 - DEBUG - Verifying the vn in opserver
2026-09-16 13:08:54,635 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-52838827 virtual network link through opserver 10.0.0.191
2026-09-16 13:08:54,635 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks
2026-09-16 13:08:55,009 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks
2026-09-16 13:08:55,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-52838827', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-52838827?flat'}
2026-09-16 13:08:55,073 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-52838827 is found in opserver
2026-09-16 13:08:55,084 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:08:55,089 - DEBUG - VRF ids for VN ctest-vn-52838827: {}
2026-09-16 13:08:55,089 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-09-16 13:08:55,095 - DEBUG - Requesting: http://10.0.0.191:8082/domain/75ab2a26-db34-4e82-bb74-0e6976d0a601
2026-09-16 13:08:55,105 - DEBUG - Requesting: http://10.0.0.191:8082/project/6b35decd-efd1-437d-8c9c-3690cd7e19e2
2026-09-16 13:08:55,180 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/479db3d5-72c4-46e0-85d6-b407e880c863
2026-09-16 13:08:55,195 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/479db3d5-72c4-46e0-85d6-b407e880c863
2026-09-16 13:08:55,209 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8143f564-5a19-4b9b-a9d5-99469d4f0126
2026-09-16 13:08:55,219 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8143f564-5a19-4b9b-a9d5-99469d4f0126
2026-09-16 13:08:55,229 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/1286e74d-fe4b-4c6d-a919-4b337e36d573
2026-09-16 13:08:55,238 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:08:55,238 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/479db3d5-72c4-46e0-85d6-b407e880c863
2026-09-16 13:08:55,251 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8143f564-5a19-4b9b-a9d5-99469d4f0126
2026-09-16 13:08:55,270 - INFO - Verified VN network id 13 for VN 479db3d5-72c4-46e0-85d6-b407e880c863
2026-09-16 13:08:55,270 - INFO - Verifications in API Server for VN ctest-vn-60262691 passed
2026-09-16 13:08:55,270 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/479db3d5-72c4-46e0-85d6-b407e880c863
2026-09-16 13:08:55,280 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8143f564-5a19-4b9b-a9d5-99469d4f0126
2026-09-16 13:08:55,288 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8143f564-5a19-4b9b-a9d5-99469d4f0126
2026-09-16 13:08:55,296 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/1286e74d-fe4b-4c6d-a919-4b337e36d573
2026-09-16 13:08:55,309 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-60262691', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33887577', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5160478477371328224', 'uuid-lslong': '9644093598119020643'}, 'enable': 'true', 'created': '2026-09-16T13:08:52', 'last-modified': '2026-09-16T13:08:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.587445'}
2026-09-16 13:08:55,317 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:08:55,317 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60262691 passed
2026-09-16 13:08:55,317 - DEBUG - ====Verifying policy data for ctest-vn-60262691 in API_Server ======
2026-09-16 13:08:55,317 - DEBUG - Requesting: http://10.0.0.191:8082/domains
2026-09-16 13:08:55,323 - DEBUG - Requesting: http://10.0.0.191:8082/domain/75ab2a26-db34-4e82-bb74-0e6976d0a601
2026-09-16 13:08:55,335 - DEBUG - Requesting: http://10.0.0.191:8082/project/6b35decd-efd1-437d-8c9c-3690cd7e19e2
2026-09-16 13:08:55,410 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/479db3d5-72c4-46e0-85d6-b407e880c863
2026-09-16 13:08:55,420 - DEBUG - ==>Verifying data for policy with id: dba5005f-dbaa-44ab-b4e0-9a588630b8ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-33887577', 'ctest-policy-allow-all-68320726']
2026-09-16 13:08:55,420 - INFO - VN ctest-vn-60262691 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:08:55,420 - DEBUG - Verifying the vn in opserver
2026-09-16 13:08:55,420 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-60262691 virtual network link through opserver 10.0.0.191
2026-09-16 13:08:55,420 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks
2026-09-16 13:08:55,430 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-60262691', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-60262691?flat'}
2026-09-16 13:08:55,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33887577:ctest-vn-60262691 is found in opserver
2026-09-16 13:08:55,444 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:08:55,450 - DEBUG - VRF ids for VN ctest-vn-60262691: {}
2026-09-16 13:08:55,517 - DEBUG - Services list from nova: [