2026-08-14 08:30:02,724 - INFO - Domain Default found not creating
2026-08-14 08:30:02,911 - INFO - Project ctest-TestBasicPolicy-90487064 not found, creating it
2026-08-14 08:30:03,456 - INFO - Created Project:ctest-TestBasicPolicy-90487064, ID : 77dba848-453c-4fda-a5cc-7adc5af591ef
2026-08-14 08:30:05,825 - INFO - ================================================================================
2026-08-14 08:30:05,825 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-14 08:30:05,825 - 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-08-14 08:30:06,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with
2026-08-14 08:30:06,083 - INFO - Initial checks done. Running the testcase now
2026-08-14 08:30:06,084 - INFO -
2026-08-14 08:30:06,667 - DEBUG - Response for create_network : {'network': {'id': '2344016e-dca6-4f25-8604-a610167b43d6', 'name': 'ctest-vn-76093321', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'project_id': '77dba848453c4fdaa5cc7adc5af591ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-vn-76093321'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 08:30:06,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b279061-4d36-490a-9c26-41ab56751324', 'name': '', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'network_id': '2344016e-dca6-4f25-8604-a610167b43d6', 'ip_version': 4, 'cidr': '47.21.65.128/26', 'allocation_pools': [{'start': '47.21.65.130', 'end': '47.21.65.190'}], 'gateway_ip': '47.21.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.21.65.130', 'tags': [], 'project_id': '77dba848453c4fdaa5cc7adc5af591ef'}}
2026-08-14 08:30:06,941 - INFO - Created VN ctest-vn-76093321
2026-08-14 08:30:06,998 - DEBUG - VN ctest-vn-76093321 UUID is 2344016e-dca6-4f25-8604-a610167b43d6
2026-08-14 08:30:07,345 - DEBUG - Response for create_network : {'network': {'id': '8f4f1e38-51ae-4902-83d9-c1a93c799162', 'name': 'ctest-vn-21249589', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'project_id': '77dba848453c4fdaa5cc7adc5af591ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-vn-21249589'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 08:30:07,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4082595-0284-460c-a39b-aa6d03efef55', 'name': '', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'network_id': '8f4f1e38-51ae-4902-83d9-c1a93c799162', 'ip_version': 4, 'cidr': '172.0.24.64/26', 'allocation_pools': [{'start': '172.0.24.66', 'end': '172.0.24.126'}], 'gateway_ip': '172.0.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.0.24.66', 'tags': [], 'project_id': '77dba848453c4fdaa5cc7adc5af591ef'}}
2026-08-14 08:30:07,566 - INFO - Created VN ctest-vn-21249589
2026-08-14 08:30:07,621 - DEBUG - VN ctest-vn-21249589 UUID is 8f4f1e38-51ae-4902-83d9-c1a93c799162
2026-08-14 08:30:07,738 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321, 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-90487064:ctest-vn-21249589, 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-08-14 08:30:08,107 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2344016e-dca6-4f25-8604-a610167b43d6', 'name': 'ctest-vn-76093321', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'project_id': '77dba848453c4fdaa5cc7adc5af591ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b279061-4d36-490a-9c26-41ab56751324'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-vn-76093321'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-policy-allow-all-50518774']], 'subnet_ipam': [{'subnet_cidr': '47.21.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 08:30:08,366 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f4f1e38-51ae-4902-83d9-c1a93c799162', 'name': 'ctest-vn-21249589', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'project_id': '77dba848453c4fdaa5cc7adc5af591ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c4082595-0284-460c-a39b-aa6d03efef55'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-vn-21249589'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-policy-allow-all-50518774']], 'subnet_ipam': [{'subnet_cidr': '172.0.24.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 08:30:08,529 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 08:30:08,863 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 08:30:08,897 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce
2026-08-14 08:30:08,911 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef
2026-08-14 08:30:08,995 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6
2026-08-14 08:30:09,007 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6
2026-08-14 08:30:09,019 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1
2026-08-14 08:30:09,028 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1
2026-08-14 08:30:09,036 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/b1421568-c198-47b4-a4cf-7f83755ae54d
2026-08-14 08:30:09,044 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-14 08:30:09,044 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6
2026-08-14 08:30:09,054 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1
2026-08-14 08:30:09,070 - INFO - Verified VN network id 11 for VN 2344016e-dca6-4f25-8604-a610167b43d6
2026-08-14 08:30:09,070 - INFO - Verifications in API Server for VN ctest-vn-76093321 passed
2026-08-14 08:30:09,070 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6
2026-08-14 08:30:09,081 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1
2026-08-14 08:30:09,091 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1
2026-08-14 08:30:09,100 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/b1421568-c198-47b4-a4cf-7f83755ae54d
2026-08-14 08:30:09,116 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90487064', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2541157665403719461', 'uuid-lslong': '9657026089016050646'}, 'enable': 'true', 'created': '2026-08-14T08:30:06', 'last-modified': '2026-08-14T08:30:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.034917'}
2026-08-14 08:30:09,124 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-14 08:30:09,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76093321 passed
2026-08-14 08:30:09,125 - DEBUG - ====Verifying policy data for ctest-vn-76093321 in API_Server ======
2026-08-14 08:30:09,125 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 08:30:09,131 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce
2026-08-14 08:30:09,143 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef
2026-08-14 08:30:09,220 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6
2026-08-14 08:30:09,230 - DEBUG - ==>Verifying data for policy with id: 18a785c2-32d1-4125-bf6d-4a1d3e6785a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-policy-allow-all-50518774']
2026-08-14 08:30:09,231 - INFO - VN ctest-vn-76093321 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 08:30:09,231 - DEBUG - Verifying the vn in opserver
2026-08-14 08:30:09,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321 virtual network link through opserver 10.0.0.251
2026-08-14 08:30:09,231 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-14 08:30:09,563 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-14 08:30:09,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321?flat'}
2026-08-14 08:30:09,627 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321 is found in opserver
2026-08-14 08:30:09,640 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 08:30:09,645 - DEBUG - VRF ids for VN ctest-vn-76093321: {}
2026-08-14 08:30:09,645 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 08:30:09,650 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce
2026-08-14 08:30:09,661 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef
2026-08-14 08:30:09,734 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162
2026-08-14 08:30:09,745 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162
2026-08-14 08:30:09,755 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3
2026-08-14 08:30:09,762 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3
2026-08-14 08:30:09,770 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/a3533317-af5d-4b44-ad0d-c3f15c162ee4
2026-08-14 08:30:09,778 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 08:30:09,778 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162
2026-08-14 08:30:09,788 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3
2026-08-14 08:30:09,804 - INFO - Verified VN network id 12 for VN 8f4f1e38-51ae-4902-83d9-c1a93c799162
2026-08-14 08:30:09,805 - INFO - Verifications in API Server for VN ctest-vn-21249589 passed
2026-08-14 08:30:09,805 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162
2026-08-14 08:30:09,816 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3
2026-08-14 08:30:09,824 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3
2026-08-14 08:30:09,832 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/a3533317-af5d-4b44-ad0d-c3f15c162ee4
2026-08-14 08:30:09,847 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90487064', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10326505697821214978', 'uuid-lslong': '9500837821523005794'}, 'enable': 'true', 'created': '2026-08-14T08:30:07', 'last-modified': '2026-08-14T08:30:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.515359'}
2026-08-14 08:30:09,854 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 08:30:09,854 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21249589 passed
2026-08-14 08:30:09,854 - DEBUG - ====Verifying policy data for ctest-vn-21249589 in API_Server ======
2026-08-14 08:30:09,854 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 08:30:09,860 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce
2026-08-14 08:30:09,870 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef
2026-08-14 08:30:09,948 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162
2026-08-14 08:30:09,958 - DEBUG - ==>Verifying data for policy with id: 18a785c2-32d1-4125-bf6d-4a1d3e6785a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-policy-allow-all-50518774']
2026-08-14 08:30:09,958 - INFO - VN ctest-vn-21249589 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 08:30:09,958 - DEBUG - Verifying the vn in opserver
2026-08-14 08:30:09,958 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589 virtual network link through opserver 10.0.0.251
2026-08-14 08:30:09,958 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-14 08:30:09,970 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589?flat'}
2026-08-14 08:30:09,970 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589 is found in opserver
2026-08-14 08:30:09,981 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 08:30:09,986 - DEBUG - VRF ids for VN ctest-vn-21249589: {}
2026-08-14 08:30:10,048 - DEBUG - Services list from nova: [