2026-07-04 07:55:34,480 - INFO - Domain Default found not creating
2026-07-04 07:55:34,620 - INFO - Project ctest-TestBasicPolicy-58089787 not found, creating it
2026-07-04 07:55:35,104 - INFO - Created Project:ctest-TestBasicPolicy-58089787, ID : 58c713e1-0ab8-4ffc-80b9-88205c2e79e6
2026-07-04 07:55:36,540 - INFO - ================================================================================
2026-07-04 07:55:36,540 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-04 07:55:36,540 - 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-07-04 07:55:36,795 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-07-04 07:55:36,795 - INFO - Initial checks done. Running the testcase now
2026-07-04 07:55:36,795 - INFO -
2026-07-04 07:55:37,348 - DEBUG - Response for create_network : {'network': {'id': '45c25b39-226d-42ff-a8e2-8531b669647b', 'name': 'ctest-vn-93991318', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'project_id': '58c713e10ab84ffc80b988205c2e79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-vn-93991318'], 'port_security_enabled': True, 'description': ''}}
2026-07-04 07:55:37,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e26d29f5-9146-44c0-9119-fa3af1ac1f88', 'name': '', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'network_id': '45c25b39-226d-42ff-a8e2-8531b669647b', 'ip_version': 4, 'cidr': '71.238.23.192/26', 'allocation_pools': [{'start': '71.238.23.194', 'end': '71.238.23.254'}], 'gateway_ip': '71.238.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.238.23.194', 'tags': [], 'project_id': '58c713e10ab84ffc80b988205c2e79e6'}}
2026-07-04 07:55:37,504 - INFO - Created VN ctest-vn-93991318
2026-07-04 07:55:37,557 - DEBUG - VN ctest-vn-93991318 UUID is 45c25b39-226d-42ff-a8e2-8531b669647b
2026-07-04 07:55:37,858 - DEBUG - Response for create_network : {'network': {'id': '7387185f-1f50-4506-a8ce-55c50205b9a4', 'name': 'ctest-vn-39223427', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'project_id': '58c713e10ab84ffc80b988205c2e79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-vn-39223427'], 'port_security_enabled': True, 'description': ''}}
2026-07-04 07:55:38,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '094e9e78-db4f-48b9-b80b-0f98250dbaf5', 'name': '', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'network_id': '7387185f-1f50-4506-a8ce-55c50205b9a4', 'ip_version': 4, 'cidr': '104.2.223.192/26', 'allocation_pools': [{'start': '104.2.223.194', 'end': '104.2.223.254'}], 'gateway_ip': '104.2.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.2.223.194', 'tags': [], 'project_id': '58c713e10ab84ffc80b988205c2e79e6'}}
2026-07-04 07:55:38,085 - INFO - Created VN ctest-vn-39223427
2026-07-04 07:55:38,133 - DEBUG - VN ctest-vn-39223427 UUID is 7387185f-1f50-4506-a8ce-55c50205b9a4
2026-07-04 07:55:38,273 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318, 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-58089787:ctest-vn-39223427, 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-07-04 07:55:38,575 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45c25b39-226d-42ff-a8e2-8531b669647b', 'name': 'ctest-vn-93991318', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'project_id': '58c713e10ab84ffc80b988205c2e79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e26d29f5-9146-44c0-9119-fa3af1ac1f88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-vn-93991318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-policy-allow-all-46852808']], 'subnet_ipam': [{'subnet_cidr': '71.238.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-04 07:55:38,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7387185f-1f50-4506-a8ce-55c50205b9a4', 'name': 'ctest-vn-39223427', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'project_id': '58c713e10ab84ffc80b988205c2e79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['094e9e78-db4f-48b9-b80b-0f98250dbaf5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-vn-39223427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-policy-allow-all-46852808']], 'subnet_ipam': [{'subnet_cidr': '104.2.223.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-04 07:55:38,969 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-04 07:55:39,290 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-04 07:55:39,313 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24
2026-07-04 07:55:39,324 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6
2026-07-04 07:55:39,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b
2026-07-04 07:55:39,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b
2026-07-04 07:55:39,423 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764
2026-07-04 07:55:39,429 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764
2026-07-04 07:55:39,435 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/79b31894-2f48-4bff-a1b7-e203ff696469
2026-07-04 07:55:39,441 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-04 07:55:39,441 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b
2026-07-04 07:55:39,449 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764
2026-07-04 07:55:39,461 - INFO - Verified VN network id 11 for VN 45c25b39-226d-42ff-a8e2-8531b669647b
2026-07-04 07:55:39,462 - INFO - Verifications in API Server for VN ctest-vn-93991318 passed
2026-07-04 07:55:39,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b
2026-07-04 07:55:39,469 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764
2026-07-04 07:55:39,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764
2026-07-04 07:55:39,480 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/79b31894-2f48-4bff-a1b7-e203ff696469
2026-07-04 07:55:39,490 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58089787', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5026680435047744255', 'uuid-lslong': '12169435591668753531'}, 'enable': 'true', 'created': '2026-07-04T07:55:37', 'last-modified': '2026-07-04T07:55:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935501'}
2026-07-04 07:55:39,496 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-04 07:55:39,496 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93991318 passed
2026-07-04 07:55:39,497 - DEBUG - ====Verifying policy data for ctest-vn-93991318 in API_Server ======
2026-07-04 07:55:39,497 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-04 07:55:39,504 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24
2026-07-04 07:55:39,514 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6
2026-07-04 07:55:39,586 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b
2026-07-04 07:55:39,595 - DEBUG - ==>Verifying data for policy with id: f1586f6e-a081-4977-88bd-55743fa65dda, fqn: ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-policy-allow-all-46852808']
2026-07-04 07:55:39,595 - INFO - VN ctest-vn-93991318 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-04 07:55:39,595 - DEBUG - Verifying the vn in opserver
2026-07-04 07:55:39,595 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318 virtual network link through opserver 10.0.0.50
2026-07-04 07:55:39,595 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-04 07:55:40,124 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-04 07:55:40,189 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318?flat'}
2026-07-04 07:55:40,189 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318 is found in opserver
2026-07-04 07:55:40,197 - DEBUG - Do not have enough data to verify VN in agent
2026-07-04 07:55:40,201 - DEBUG - VRF ids for VN ctest-vn-93991318: {}
2026-07-04 07:55:40,201 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-04 07:55:40,205 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24
2026-07-04 07:55:40,214 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6
2026-07-04 07:55:40,281 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4
2026-07-04 07:55:40,291 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4
2026-07-04 07:55:40,299 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395
2026-07-04 07:55:40,304 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395
2026-07-04 07:55:40,309 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1833e452-9f60-4ed7-8a30-171d9367c5b5
2026-07-04 07:55:40,314 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-04 07:55:40,314 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4
2026-07-04 07:55:40,321 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395
2026-07-04 07:55:40,333 - INFO - Verified VN network id 12 for VN 7387185f-1f50-4506-a8ce-55c50205b9a4
2026-07-04 07:55:40,333 - INFO - Verifications in API Server for VN ctest-vn-39223427 passed
2026-07-04 07:55:40,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4
2026-07-04 07:55:40,340 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395
2026-07-04 07:55:40,345 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395
2026-07-04 07:55:40,350 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1833e452-9f60-4ed7-8a30-171d9367c5b5
2026-07-04 07:55:40,360 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58089787', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8324649233043965190', 'uuid-lslong': '12163753948205136292'}, 'enable': 'true', 'created': '2026-07-04T07:55:37', 'last-modified': '2026-07-04T07:55:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.583695'}
2026-07-04 07:55:40,365 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-04 07:55:40,365 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39223427 passed
2026-07-04 07:55:40,365 - DEBUG - ====Verifying policy data for ctest-vn-39223427 in API_Server ======
2026-07-04 07:55:40,365 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-04 07:55:40,370 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24
2026-07-04 07:55:40,380 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6
2026-07-04 07:55:40,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4
2026-07-04 07:55:40,453 - DEBUG - ==>Verifying data for policy with id: f1586f6e-a081-4977-88bd-55743fa65dda, fqn: ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-policy-allow-all-46852808']
2026-07-04 07:55:40,453 - INFO - VN ctest-vn-39223427 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-04 07:55:40,453 - DEBUG - Verifying the vn in opserver
2026-07-04 07:55:40,453 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427 virtual network link through opserver 10.0.0.50
2026-07-04 07:55:40,453 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-04 07:55:40,462 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427?flat'}
2026-07-04 07:55:40,462 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427 is found in opserver
2026-07-04 07:55:40,471 - DEBUG - Do not have enough data to verify VN in agent
2026-07-04 07:55:40,477 - DEBUG - VRF ids for VN ctest-vn-39223427: {}
2026-07-04 07:55:40,530 - DEBUG - Services list from nova: [