2026-02-11 13:44:34,090 - INFO - Domain Default found not creating
2026-02-11 13:44:34,302 - INFO - Project ctest-TestBasicPolicy-69214817 not found, creating it
2026-02-11 13:44:34,793 - INFO - Created Project:ctest-TestBasicPolicy-69214817, ID : 00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551
2026-02-11 13:44:36,458 - INFO - ================================================================================
2026-02-11 13:44:36,458 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 13:44:36,458 - 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-02-11 13:44:36,711 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with
2026-02-11 13:44:36,711 - INFO - Initial checks done. Running the testcase now
2026-02-11 13:44:36,711 - INFO -
2026-02-11 13:44:37,275 - DEBUG - Response for create_network : {'network': {'id': 'ed9eab53-2c4e-4a28-855f-17f5f1458935', 'name': 'ctest-vn-16347280', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-vn-16347280'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:44:37,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7feb8eb-d20a-4908-9e82-78ae21ba9833', 'name': '', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'network_id': 'ed9eab53-2c4e-4a28-855f-17f5f1458935', 'ip_version': 4, 'cidr': '164.74.123.0/26', 'allocation_pools': [{'start': '164.74.123.2', 'end': '164.74.123.62'}], 'gateway_ip': '164.74.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.74.123.2', 'tags': [], 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551'}}
2026-02-11 13:44:37,511 - INFO - Created VN ctest-vn-16347280
2026-02-11 13:44:37,566 - DEBUG - VN ctest-vn-16347280 UUID is ed9eab53-2c4e-4a28-855f-17f5f1458935
2026-02-11 13:44:37,860 - DEBUG - Response for create_network : {'network': {'id': '827bbe07-b627-4652-9334-5a26d8c0a39d', 'name': 'ctest-vn-41303857', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-vn-41303857'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:44:38,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f163f5dd-9db8-45a7-8e28-02c871af69d4', 'name': '', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'network_id': '827bbe07-b627-4652-9334-5a26d8c0a39d', 'ip_version': 4, 'cidr': '57.255.187.192/26', 'allocation_pools': [{'start': '57.255.187.194', 'end': '57.255.187.254'}], 'gateway_ip': '57.255.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.255.187.194', 'tags': [], 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551'}}
2026-02-11 13:44:38,027 - INFO - Created VN ctest-vn-41303857
2026-02-11 13:44:38,081 - DEBUG - VN ctest-vn-41303857 UUID is 827bbe07-b627-4652-9334-5a26d8c0a39d
2026-02-11 13:44:38,198 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280, 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-69214817:ctest-vn-41303857, 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-02-11 13:44:38,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed9eab53-2c4e-4a28-855f-17f5f1458935', 'name': 'ctest-vn-16347280', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7feb8eb-d20a-4908-9e82-78ae21ba9833'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-vn-16347280'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-policy-allow-all-05440262']], 'subnet_ipam': [{'subnet_cidr': '164.74.123.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:44:38,732 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '827bbe07-b627-4652-9334-5a26d8c0a39d', 'name': 'ctest-vn-41303857', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f163f5dd-9db8-45a7-8e28-02c871af69d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-vn-41303857'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-policy-allow-all-05440262']], 'subnet_ipam': [{'subnet_cidr': '57.255.187.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:44:38,910 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 13:44:39,207 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 13:44:39,238 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c
2026-02-11 13:44:39,250 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551
2026-02-11 13:44:39,324 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935
2026-02-11 13:44:39,338 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935
2026-02-11 13:44:39,349 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23
2026-02-11 13:44:39,359 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23
2026-02-11 13:44:39,367 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/b20584ef-5c21-411b-8bb5-8f21f52b6389
2026-02-11 13:44:39,375 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 13:44:39,375 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935
2026-02-11 13:44:39,386 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23
2026-02-11 13:44:39,404 - INFO - Verified VN network id 11 for VN ed9eab53-2c4e-4a28-855f-17f5f1458935
2026-02-11 13:44:39,404 - INFO - Verifications in API Server for VN ctest-vn-16347280 passed
2026-02-11 13:44:39,404 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935
2026-02-11 13:44:39,415 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23
2026-02-11 13:44:39,424 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23
2026-02-11 13:44:39,433 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/b20584ef-5c21-411b-8bb5-8f21f52b6389
2026-02-11 13:44:39,446 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69214817', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17122311207023168040', 'uuid-lslong': '9610426474914220341'}, 'enable': 'true', 'created': '2026-02-11T13:44:37', 'last-modified': '2026-02-11T13:44:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972795'}
2026-02-11 13:44:39,454 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 13:44:39,454 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16347280 passed
2026-02-11 13:44:39,454 - DEBUG - ====Verifying policy data for ctest-vn-16347280 in API_Server ======
2026-02-11 13:44:39,454 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 13:44:39,461 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c
2026-02-11 13:44:39,474 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551
2026-02-11 13:44:39,549 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935
2026-02-11 13:44:39,562 - DEBUG - ==>Verifying data for policy with id: 7d81d8aa-6eb1-48e3-88e8-a8ff1721ee74, fqn: ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-policy-allow-all-05440262']
2026-02-11 13:44:39,562 - INFO - VN ctest-vn-16347280 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 13:44:39,563 - DEBUG - Verifying the vn in opserver
2026-02-11 13:44:39,563 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280 virtual network link through opserver 10.0.0.141
2026-02-11 13:44:39,563 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-11 13:44:39,874 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-11 13:44:39,953 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280?flat'}
2026-02-11 13:44:39,953 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280 is found in opserver
2026-02-11 13:44:39,965 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 13:44:39,969 - DEBUG - VRF ids for VN ctest-vn-16347280: {}
2026-02-11 13:44:39,969 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 13:44:39,975 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c
2026-02-11 13:44:39,987 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551
2026-02-11 13:44:40,058 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d
2026-02-11 13:44:40,069 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d
2026-02-11 13:44:40,080 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a
2026-02-11 13:44:40,087 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a
2026-02-11 13:44:40,094 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/135a79f3-3a9b-4822-b2e8-a6463031d626
2026-02-11 13:44:40,101 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 13:44:40,101 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d
2026-02-11 13:44:40,110 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a
2026-02-11 13:44:40,124 - INFO - Verified VN network id 12 for VN 827bbe07-b627-4652-9334-5a26d8c0a39d
2026-02-11 13:44:40,124 - INFO - Verifications in API Server for VN ctest-vn-41303857 passed
2026-02-11 13:44:40,125 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d
2026-02-11 13:44:40,133 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a
2026-02-11 13:44:40,140 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a
2026-02-11 13:44:40,147 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/135a79f3-3a9b-4822-b2e8-a6463031d626
2026-02-11 13:44:40,161 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69214817', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9402317587396118098', 'uuid-lslong': '10607202145256121245'}, 'enable': 'true', 'created': '2026-02-11T13:44:37', 'last-modified': '2026-02-11T13:44:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455648'}
2026-02-11 13:44:40,167 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 13:44:40,167 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41303857 passed
2026-02-11 13:44:40,168 - DEBUG - ====Verifying policy data for ctest-vn-41303857 in API_Server ======
2026-02-11 13:44:40,168 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 13:44:40,173 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c
2026-02-11 13:44:40,183 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551
2026-02-11 13:44:40,252 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d
2026-02-11 13:44:40,264 - DEBUG - ==>Verifying data for policy with id: 7d81d8aa-6eb1-48e3-88e8-a8ff1721ee74, fqn: ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-policy-allow-all-05440262']
2026-02-11 13:44:40,264 - INFO - VN ctest-vn-41303857 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 13:44:40,264 - DEBUG - Verifying the vn in opserver
2026-02-11 13:44:40,264 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857 virtual network link through opserver 10.0.0.141
2026-02-11 13:44:40,264 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-11 13:44:40,274 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857?flat'}
2026-02-11 13:44:40,274 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857 is found in opserver
2026-02-11 13:44:40,284 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 13:44:40,289 - DEBUG - VRF ids for VN ctest-vn-41303857: {}
2026-02-11 13:44:40,352 - DEBUG - Services list from nova: [