2026-06-15 12:20:26,932 - INFO - Domain Default found not creating
2026-06-15 12:20:27,086 - INFO - Project ctest-TestBasicPolicy-82678562 not found, creating it
2026-06-15 12:20:27,533 - INFO - Created Project:ctest-TestBasicPolicy-82678562, ID : 0b52eb01-c0e4-43b4-b30e-8b95f95866dc
2026-06-15 12:20:29,082 - INFO - ================================================================================
2026-06-15 12:20:29,082 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-15 12:20:29,082 - 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-06-15 12:20:29,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-06-15 12:20:29,349 - INFO - Initial checks done. Running the testcase now
2026-06-15 12:20:29,349 - INFO -
2026-06-15 12:20:29,929 - DEBUG - Response for create_network : {'network': {'id': '2d22e751-6c5b-41e8-9e82-c71f2323948a', 'name': 'ctest-vn-82363619', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-vn-82363619'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 12:20:30,134 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c06d2642-b163-4dce-9700-b4b8b1807bab', 'name': '', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'network_id': '2d22e751-6c5b-41e8-9e82-c71f2323948a', 'ip_version': 4, 'cidr': '186.212.225.64/26', 'allocation_pools': [{'start': '186.212.225.66', 'end': '186.212.225.126'}], 'gateway_ip': '186.212.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.212.225.66', 'tags': [], 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc'}}
2026-06-15 12:20:30,151 - INFO - Created VN ctest-vn-82363619
2026-06-15 12:20:30,203 - DEBUG - VN ctest-vn-82363619 UUID is 2d22e751-6c5b-41e8-9e82-c71f2323948a
2026-06-15 12:20:30,522 - DEBUG - Response for create_network : {'network': {'id': 'bf4cee4a-734a-423b-b630-06e6618adbda', 'name': 'ctest-vn-14258432', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-vn-14258432'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 12:20:30,727 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c16f9ed-93c2-4069-8114-28e069f6d226', 'name': '', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'network_id': 'bf4cee4a-734a-423b-b630-06e6618adbda', 'ip_version': 4, 'cidr': '116.223.104.192/26', 'allocation_pools': [{'start': '116.223.104.194', 'end': '116.223.104.254'}], 'gateway_ip': '116.223.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.223.104.194', 'tags': [], 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc'}}
2026-06-15 12:20:30,742 - INFO - Created VN ctest-vn-14258432
2026-06-15 12:20:30,795 - DEBUG - VN ctest-vn-14258432 UUID is bf4cee4a-734a-423b-b630-06e6618adbda
2026-06-15 12:20:30,947 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619, 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-82678562:ctest-vn-14258432, 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-06-15 12:20:31,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d22e751-6c5b-41e8-9e82-c71f2323948a', 'name': 'ctest-vn-82363619', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c06d2642-b163-4dce-9700-b4b8b1807bab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-vn-82363619'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-policy-allow-all-33228326']], 'subnet_ipam': [{'subnet_cidr': '186.212.225.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 12:20:31,472 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf4cee4a-734a-423b-b630-06e6618adbda', 'name': 'ctest-vn-14258432', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c16f9ed-93c2-4069-8114-28e069f6d226'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-vn-14258432'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-policy-allow-all-33228326']], 'subnet_ipam': [{'subnet_cidr': '116.223.104.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 12:20:31,631 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-15 12:20:31,965 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-15 12:20:31,991 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf
2026-06-15 12:20:32,003 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc
2026-06-15 12:20:32,075 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a
2026-06-15 12:20:32,086 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a
2026-06-15 12:20:32,096 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85
2026-06-15 12:20:32,103 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85
2026-06-15 12:20:32,109 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/07908467-997b-4cd2-9759-92f159a52ed6
2026-06-15 12:20:32,114 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 12:20:32,114 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a
2026-06-15 12:20:32,123 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85
2026-06-15 12:20:32,137 - INFO - Verified VN network id 11 for VN 2d22e751-6c5b-41e8-9e82-c71f2323948a
2026-06-15 12:20:32,137 - INFO - Verifications in API Server for VN ctest-vn-82363619 passed
2026-06-15 12:20:32,137 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a
2026-06-15 12:20:32,145 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85
2026-06-15 12:20:32,152 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85
2026-06-15 12:20:32,158 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/07908467-997b-4cd2-9759-92f159a52ed6
2026-06-15 12:20:32,169 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82678562', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3252416217811206632', 'uuid-lslong': '11421910541512447114'}, 'enable': 'true', 'created': '2026-06-15T12:20:29', 'last-modified': '2026-06-15T12:20:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947141'}
2026-06-15 12:20:32,176 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 12:20:32,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82363619 passed
2026-06-15 12:20:32,177 - DEBUG - ====Verifying policy data for ctest-vn-82363619 in API_Server ======
2026-06-15 12:20:32,177 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-15 12:20:32,182 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf
2026-06-15 12:20:32,192 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc
2026-06-15 12:20:32,266 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a
2026-06-15 12:20:32,276 - DEBUG - ==>Verifying data for policy with id: baa3bc61-960c-4887-a456-5e436f034fa3, fqn: ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-policy-allow-all-33228326']
2026-06-15 12:20:32,276 - INFO - VN ctest-vn-82363619 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 12:20:32,276 - DEBUG - Verifying the vn in opserver
2026-06-15 12:20:32,276 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619 virtual network link through opserver 10.0.0.249
2026-06-15 12:20:32,276 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-15 12:20:32,611 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-15 12:20:32,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619?flat'}
2026-06-15 12:20:32,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619 is found in opserver
2026-06-15 12:20:32,670 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 12:20:32,674 - DEBUG - VRF ids for VN ctest-vn-82363619: {}
2026-06-15 12:20:32,674 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-15 12:20:32,679 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf
2026-06-15 12:20:32,688 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc
2026-06-15 12:20:32,758 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda
2026-06-15 12:20:32,769 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda
2026-06-15 12:20:32,779 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca
2026-06-15 12:20:32,786 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca
2026-06-15 12:20:32,792 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/74441ebc-975b-4b77-960e-75b2dd1b4f53
2026-06-15 12:20:32,797 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 12:20:32,797 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda
2026-06-15 12:20:32,805 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca
2026-06-15 12:20:32,818 - INFO - Verified VN network id 12 for VN bf4cee4a-734a-423b-b630-06e6618adbda
2026-06-15 12:20:32,818 - INFO - Verifications in API Server for VN ctest-vn-14258432 passed
2026-06-15 12:20:32,818 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda
2026-06-15 12:20:32,827 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca
2026-06-15 12:20:32,834 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca
2026-06-15 12:20:32,840 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/74441ebc-975b-4b77-960e-75b2dd1b4f53
2026-06-15 12:20:32,852 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82678562', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13784654563003482683', 'uuid-lslong': '13128000500333730778'}, 'enable': 'true', 'created': '2026-06-15T12:20:30', 'last-modified': '2026-06-15T12:20:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400308'}
2026-06-15 12:20:32,863 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 12:20:32,863 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14258432 passed
2026-06-15 12:20:32,863 - DEBUG - ====Verifying policy data for ctest-vn-14258432 in API_Server ======
2026-06-15 12:20:32,863 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-15 12:20:32,870 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf
2026-06-15 12:20:32,881 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc
2026-06-15 12:20:32,953 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda
2026-06-15 12:20:32,963 - DEBUG - ==>Verifying data for policy with id: baa3bc61-960c-4887-a456-5e436f034fa3, fqn: ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-policy-allow-all-33228326']
2026-06-15 12:20:32,963 - INFO - VN ctest-vn-14258432 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 12:20:32,963 - DEBUG - Verifying the vn in opserver
2026-06-15 12:20:32,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432 virtual network link through opserver 10.0.0.249
2026-06-15 12:20:32,963 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-15 12:20:32,972 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432?flat'}
2026-06-15 12:20:32,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432 is found in opserver
2026-06-15 12:20:32,982 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 12:20:32,986 - DEBUG - VRF ids for VN ctest-vn-14258432: {}
2026-06-15 12:20:33,047 - DEBUG - Services list from nova: [