2026-08-14 11:51:40,301 - INFO - Domain Default found not creating
2026-08-14 11:51:40,463 - INFO - Project ctest-TestBasicPolicy-99032806 not found, creating it
2026-08-14 11:51:40,951 - INFO - Created Project:ctest-TestBasicPolicy-99032806, ID : 4c19e1e9-beee-437d-b0c4-a7793a06e93b
2026-08-14 11:51:42,505 - INFO - ================================================================================
2026-08-14 11:51:42,505 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-14 11:51:42,505 - 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 11:51:42,763 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with
2026-08-14 11:51:42,763 - INFO - Initial checks done. Running the testcase now
2026-08-14 11:51:42,763 - INFO -
2026-08-14 11:51:43,318 - DEBUG - Response for create_network : {'network': {'id': 'e5027ce5-7cc3-4a46-b692-f7b1a8456374', 'name': 'ctest-vn-35933578', 'tenant_id': '4c19e1e9beee437db0c4a7793a06e93b', 'project_id': '4c19e1e9beee437db0c4a7793a06e93b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99032806', 'ctest-vn-35933578'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 11:51:43,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fb83094-a453-49a1-a537-45cb98401be0', 'name': '', 'tenant_id': '4c19e1e9beee437db0c4a7793a06e93b', 'network_id': 'e5027ce5-7cc3-4a46-b692-f7b1a8456374', 'ip_version': 4, 'cidr': '206.173.237.64/26', 'allocation_pools': [{'start': '206.173.237.66', 'end': '206.173.237.126'}], 'gateway_ip': '206.173.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.173.237.66', 'tags': [], 'project_id': '4c19e1e9beee437db0c4a7793a06e93b'}}
2026-08-14 11:51:43,553 - INFO - Created VN ctest-vn-35933578
2026-08-14 11:51:43,609 - DEBUG - VN ctest-vn-35933578 UUID is e5027ce5-7cc3-4a46-b692-f7b1a8456374
2026-08-14 11:51:43,949 - DEBUG - Response for create_network : {'network': {'id': '0b8f561f-27b2-40d4-9bd5-03e93b57c7fb', 'name': 'ctest-vn-58718755', 'tenant_id': '4c19e1e9beee437db0c4a7793a06e93b', 'project_id': '4c19e1e9beee437db0c4a7793a06e93b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99032806', 'ctest-vn-58718755'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 11:51:44,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcf5b257-f269-417e-8a06-4fb90b234caa', 'name': '', 'tenant_id': '4c19e1e9beee437db0c4a7793a06e93b', 'network_id': '0b8f561f-27b2-40d4-9bd5-03e93b57c7fb', 'ip_version': 4, 'cidr': '222.76.119.128/26', 'allocation_pools': [{'start': '222.76.119.130', 'end': '222.76.119.190'}], 'gateway_ip': '222.76.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.76.119.130', 'tags': [], 'project_id': '4c19e1e9beee437db0c4a7793a06e93b'}}
2026-08-14 11:51:44,205 - INFO - Created VN ctest-vn-58718755
2026-08-14 11:51:44,257 - DEBUG - VN ctest-vn-58718755 UUID is 0b8f561f-27b2-40d4-9bd5-03e93b57c7fb
2026-08-14 11:51:44,401 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-35933578, 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-99032806:ctest-vn-58718755, 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 11:51:44,713 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e5027ce5-7cc3-4a46-b692-f7b1a8456374', 'name': 'ctest-vn-35933578', 'tenant_id': '4c19e1e9beee437db0c4a7793a06e93b', 'project_id': '4c19e1e9beee437db0c4a7793a06e93b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5fb83094-a453-49a1-a537-45cb98401be0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99032806', 'ctest-vn-35933578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99032806', 'ctest-policy-allow-all-49364443']], 'subnet_ipam': [{'subnet_cidr': '206.173.237.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 11:51:44,974 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b8f561f-27b2-40d4-9bd5-03e93b57c7fb', 'name': 'ctest-vn-58718755', 'tenant_id': '4c19e1e9beee437db0c4a7793a06e93b', 'project_id': '4c19e1e9beee437db0c4a7793a06e93b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fcf5b257-f269-417e-8a06-4fb90b234caa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99032806', 'ctest-vn-58718755'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99032806', 'ctest-policy-allow-all-49364443']], 'subnet_ipam': [{'subnet_cidr': '222.76.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 11:51:45,145 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 11:51:45,463 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 11:51:45,490 - DEBUG - Requesting: http://10.0.0.250:8082/domain/2007d935-593d-4a8a-919b-988e508c07f9
2026-08-14 11:51:45,504 - DEBUG - Requesting: http://10.0.0.250:8082/project/4c19e1e9-beee-437d-b0c4-a7793a06e93b
2026-08-14 11:51:45,579 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e5027ce5-7cc3-4a46-b692-f7b1a8456374
2026-08-14 11:51:45,590 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e5027ce5-7cc3-4a46-b692-f7b1a8456374
2026-08-14 11:51:45,597 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/18121c44-8af4-4a2d-98cf-8af80709e615
2026-08-14 11:51:45,604 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/18121c44-8af4-4a2d-98cf-8af80709e615
2026-08-14 11:51:45,610 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/13805672-8c6b-4705-a63a-ce0b1b4ac260
2026-08-14 11:51:45,615 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-14 11:51:45,615 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e5027ce5-7cc3-4a46-b692-f7b1a8456374
2026-08-14 11:51:45,623 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/18121c44-8af4-4a2d-98cf-8af80709e615
2026-08-14 11:51:45,635 - INFO - Verified VN network id 11 for VN e5027ce5-7cc3-4a46-b692-f7b1a8456374
2026-08-14 11:51:45,635 - INFO - Verifications in API Server for VN ctest-vn-35933578 passed
2026-08-14 11:51:45,635 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e5027ce5-7cc3-4a46-b692-f7b1a8456374
2026-08-14 11:51:45,642 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/18121c44-8af4-4a2d-98cf-8af80709e615
2026-08-14 11:51:45,648 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/18121c44-8af4-4a2d-98cf-8af80709e615
2026-08-14 11:51:45,654 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/13805672-8c6b-4705-a63a-ce0b1b4ac260
2026-08-14 11:51:45,665 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-35933578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99032806', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16501889309721446982', 'uuid-lslong': '13155849803907031924'}, 'enable': 'true', 'created': '2026-08-14T11:51:43', 'last-modified': '2026-08-14T11:51:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971398'}
2026-08-14 11:51:45,672 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-14 11:51:45,672 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35933578 passed
2026-08-14 11:51:45,672 - DEBUG - ====Verifying policy data for ctest-vn-35933578 in API_Server ======
2026-08-14 11:51:45,672 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 11:51:45,678 - DEBUG - Requesting: http://10.0.0.250:8082/domain/2007d935-593d-4a8a-919b-988e508c07f9
2026-08-14 11:51:45,687 - DEBUG - Requesting: http://10.0.0.250:8082/project/4c19e1e9-beee-437d-b0c4-a7793a06e93b
2026-08-14 11:51:45,754 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e5027ce5-7cc3-4a46-b692-f7b1a8456374
2026-08-14 11:51:45,764 - DEBUG - ==>Verifying data for policy with id: 28d80bf5-b93f-4ea7-9e8f-ce5db2396949, fqn: ['default-domain', 'ctest-TestBasicPolicy-99032806', 'ctest-policy-allow-all-49364443']
2026-08-14 11:51:45,764 - INFO - VN ctest-vn-35933578 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 11:51:45,764 - DEBUG - Verifying the vn in opserver
2026-08-14 11:51:45,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-35933578 virtual network link through opserver 10.0.0.250
2026-08-14 11:51:45,764 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-08-14 11:51:46,088 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-08-14 11:51:46,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-35933578', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-35933578?flat'}
2026-08-14 11:51:46,130 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-35933578 is found in opserver
2026-08-14 11:51:46,140 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 11:51:46,145 - DEBUG - VRF ids for VN ctest-vn-35933578: {}
2026-08-14 11:51:46,145 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 11:51:46,151 - DEBUG - Requesting: http://10.0.0.250:8082/domain/2007d935-593d-4a8a-919b-988e508c07f9
2026-08-14 11:51:46,162 - DEBUG - Requesting: http://10.0.0.250:8082/project/4c19e1e9-beee-437d-b0c4-a7793a06e93b
2026-08-14 11:51:46,235 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/0b8f561f-27b2-40d4-9bd5-03e93b57c7fb
2026-08-14 11:51:46,247 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/0b8f561f-27b2-40d4-9bd5-03e93b57c7fb
2026-08-14 11:51:46,255 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b923117f-b0b2-46de-aa0f-fccff793fe44
2026-08-14 11:51:46,261 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b923117f-b0b2-46de-aa0f-fccff793fe44
2026-08-14 11:51:46,267 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/756bf554-b408-4ef4-8e53-418e554666fc
2026-08-14 11:51:46,272 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 11:51:46,272 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/0b8f561f-27b2-40d4-9bd5-03e93b57c7fb
2026-08-14 11:51:46,280 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b923117f-b0b2-46de-aa0f-fccff793fe44
2026-08-14 11:51:46,292 - INFO - Verified VN network id 12 for VN 0b8f561f-27b2-40d4-9bd5-03e93b57c7fb
2026-08-14 11:51:46,292 - INFO - Verifications in API Server for VN ctest-vn-58718755 passed
2026-08-14 11:51:46,292 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/0b8f561f-27b2-40d4-9bd5-03e93b57c7fb
2026-08-14 11:51:46,300 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b923117f-b0b2-46de-aa0f-fccff793fe44
2026-08-14 11:51:46,306 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b923117f-b0b2-46de-aa0f-fccff793fe44
2026-08-14 11:51:46,314 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/756bf554-b408-4ef4-8e53-418e554666fc
2026-08-14 11:51:46,324 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-58718755', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99032806', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '832979147896799444', 'uuid-lslong': '11228885546176071675'}, 'enable': 'true', 'created': '2026-08-14T11:51:43', 'last-modified': '2026-08-14T11:51:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.385479'}
2026-08-14 11:51:46,331 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 11:51:46,331 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58718755 passed
2026-08-14 11:51:46,331 - DEBUG - ====Verifying policy data for ctest-vn-58718755 in API_Server ======
2026-08-14 11:51:46,331 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 11:51:46,337 - DEBUG - Requesting: http://10.0.0.250:8082/domain/2007d935-593d-4a8a-919b-988e508c07f9
2026-08-14 11:51:46,347 - DEBUG - Requesting: http://10.0.0.250:8082/project/4c19e1e9-beee-437d-b0c4-a7793a06e93b
2026-08-14 11:51:46,423 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/0b8f561f-27b2-40d4-9bd5-03e93b57c7fb
2026-08-14 11:51:46,431 - DEBUG - ==>Verifying data for policy with id: 28d80bf5-b93f-4ea7-9e8f-ce5db2396949, fqn: ['default-domain', 'ctest-TestBasicPolicy-99032806', 'ctest-policy-allow-all-49364443']
2026-08-14 11:51:46,431 - INFO - VN ctest-vn-58718755 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 11:51:46,432 - DEBUG - Verifying the vn in opserver
2026-08-14 11:51:46,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-58718755 virtual network link through opserver 10.0.0.250
2026-08-14 11:51:46,432 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-08-14 11:51:46,441 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-58718755', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-58718755?flat'}
2026-08-14 11:51:46,441 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99032806:ctest-vn-58718755 is found in opserver
2026-08-14 11:51:46,450 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 11:51:46,456 - DEBUG - VRF ids for VN ctest-vn-58718755: {}
2026-08-14 11:51:46,512 - DEBUG - Services list from nova: [