2026-11-05 21:06:42,935 - INFO - Domain Default found not creating
2026-11-05 21:06:43,110 - INFO - Project ctest-TestBasicPolicy-59273316 not found, creating it
2026-11-05 21:06:43,569 - INFO - Created Project:ctest-TestBasicPolicy-59273316, ID : 13842577-c4f9-4158-aa6c-1bcc5d45ef94
2026-11-05 21:06:45,210 - INFO - ================================================================================
2026-11-05 21:06:45,210 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-05 21:06:45,210 - 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-11-05 21:06:45,470 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with
2026-11-05 21:06:45,470 - INFO - Initial checks done. Running the testcase now
2026-11-05 21:06:45,470 - INFO -
2026-11-05 21:06:46,074 - DEBUG - Response for create_network : {'network': {'id': '78f55b93-1a98-4749-9807-8bdfdd598cf5', 'name': 'ctest-vn-27078259', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'project_id': '13842577c4f94158aa6c1bcc5d45ef94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-vn-27078259'], 'port_security_enabled': True, 'description': ''}}
2026-11-05 21:06:46,287 - DEBUG - Response for create_subnet : {'subnet': {'id': '945c75d2-2844-440a-ad9d-27e9a523f4c6', 'name': '', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'network_id': '78f55b93-1a98-4749-9807-8bdfdd598cf5', 'ip_version': 4, 'cidr': '100.246.166.64/26', 'allocation_pools': [{'start': '100.246.166.66', 'end': '100.246.166.126'}], 'gateway_ip': '100.246.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.246.166.66', 'tags': [], 'project_id': '13842577c4f94158aa6c1bcc5d45ef94'}}
2026-11-05 21:06:46,302 - INFO - Created VN ctest-vn-27078259
2026-11-05 21:06:46,355 - DEBUG - VN ctest-vn-27078259 UUID is 78f55b93-1a98-4749-9807-8bdfdd598cf5
2026-11-05 21:06:46,669 - DEBUG - Response for create_network : {'network': {'id': 'ee808a57-0ee2-4b81-a215-07e1643da6bc', 'name': 'ctest-vn-33683752', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'project_id': '13842577c4f94158aa6c1bcc5d45ef94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-vn-33683752'], 'port_security_enabled': True, 'description': ''}}
2026-11-05 21:06:46,892 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c35f1f15-be80-40d0-8dc9-902ffd0486fb', 'name': '', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'network_id': 'ee808a57-0ee2-4b81-a215-07e1643da6bc', 'ip_version': 4, 'cidr': '45.247.107.64/26', 'allocation_pools': [{'start': '45.247.107.66', 'end': '45.247.107.126'}], 'gateway_ip': '45.247.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.247.107.66', 'tags': [], 'project_id': '13842577c4f94158aa6c1bcc5d45ef94'}}
2026-11-05 21:06:46,910 - INFO - Created VN ctest-vn-33683752
2026-11-05 21:06:46,963 - DEBUG - VN ctest-vn-33683752 UUID is ee808a57-0ee2-4b81-a215-07e1643da6bc
2026-11-05 21:06:47,111 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259, 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-59273316:ctest-vn-33683752, 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-11-05 21:06:47,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78f55b93-1a98-4749-9807-8bdfdd598cf5', 'name': 'ctest-vn-27078259', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'project_id': '13842577c4f94158aa6c1bcc5d45ef94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['945c75d2-2844-440a-ad9d-27e9a523f4c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-vn-27078259'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-policy-allow-all-28685857']], 'subnet_ipam': [{'subnet_cidr': '100.246.166.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-05 21:06:47,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee808a57-0ee2-4b81-a215-07e1643da6bc', 'name': 'ctest-vn-33683752', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'project_id': '13842577c4f94158aa6c1bcc5d45ef94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c35f1f15-be80-40d0-8dc9-902ffd0486fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-vn-33683752'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-policy-allow-all-28685857']], 'subnet_ipam': [{'subnet_cidr': '45.247.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-05 21:06:47,799 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-05 21:06:48,161 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-05 21:06:48,186 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade
2026-11-05 21:06:48,197 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94
2026-11-05 21:06:48,268 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5
2026-11-05 21:06:48,279 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5
2026-11-05 21:06:48,287 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505
2026-11-05 21:06:48,293 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505
2026-11-05 21:06:48,299 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/72a0fff3-c14b-44a7-b514-979e4cbed6eb
2026-11-05 21:06:48,304 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-05 21:06:48,304 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5
2026-11-05 21:06:48,311 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505
2026-11-05 21:06:48,322 - INFO - Verified VN network id 11 for VN 78f55b93-1a98-4749-9807-8bdfdd598cf5
2026-11-05 21:06:48,323 - INFO - Verifications in API Server for VN ctest-vn-27078259 passed
2026-11-05 21:06:48,323 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5
2026-11-05 21:06:48,330 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505
2026-11-05 21:06:48,335 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505
2026-11-05 21:06:48,342 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/72a0fff3-c14b-44a7-b514-979e4cbed6eb
2026-11-05 21:06:48,353 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59273316', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8715973341209970505', 'uuid-lslong': '10954878412209622261'}, 'enable': 'true', 'created': '2026-11-05T21:06:46', 'last-modified': '2026-11-05T21:06:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980142'}
2026-11-05 21:06:48,358 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-05 21:06:48,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27078259 passed
2026-11-05 21:06:48,359 - DEBUG - ====Verifying policy data for ctest-vn-27078259 in API_Server ======
2026-11-05 21:06:48,359 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-05 21:06:48,363 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade
2026-11-05 21:06:48,372 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94
2026-11-05 21:06:48,443 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5
2026-11-05 21:06:48,452 - DEBUG - ==>Verifying data for policy with id: 49490360-2d29-4285-93e2-7491e5dfdec1, fqn: ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-policy-allow-all-28685857']
2026-11-05 21:06:48,452 - INFO - VN ctest-vn-27078259 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-05 21:06:48,452 - DEBUG - Verifying the vn in opserver
2026-11-05 21:06:48,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259 virtual network link through opserver 10.0.0.177
2026-11-05 21:06:48,452 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-05 21:06:48,815 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-05 21:06:48,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259?flat'}
2026-11-05 21:06:48,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259 is found in opserver
2026-11-05 21:06:48,883 - DEBUG - Do not have enough data to verify VN in agent
2026-11-05 21:06:48,888 - DEBUG - VRF ids for VN ctest-vn-27078259: {}
2026-11-05 21:06:48,888 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-05 21:06:48,894 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade
2026-11-05 21:06:48,904 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94
2026-11-05 21:06:48,980 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc
2026-11-05 21:06:48,993 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc
2026-11-05 21:06:49,001 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c
2026-11-05 21:06:49,007 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c
2026-11-05 21:06:49,014 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/35a55637-148e-41d3-9e2a-cc5c2b593224
2026-11-05 21:06:49,023 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-05 21:06:49,024 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc
2026-11-05 21:06:49,032 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c
2026-11-05 21:06:49,044 - INFO - Verified VN network id 12 for VN ee808a57-0ee2-4b81-a215-07e1643da6bc
2026-11-05 21:06:49,044 - INFO - Verifications in API Server for VN ctest-vn-33683752 passed
2026-11-05 21:06:49,044 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc
2026-11-05 21:06:49,052 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c
2026-11-05 21:06:49,060 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c
2026-11-05 21:06:49,066 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/35a55637-148e-41d3-9e2a-cc5c2b593224
2026-11-05 21:06:49,078 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59273316', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17185888284562312065', 'uuid-lslong': '11679249873286047420'}, 'enable': 'true', 'created': '2026-11-05T21:06:46', 'last-modified': '2026-11-05T21:06:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468645'}
2026-11-05 21:06:49,086 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-05 21:06:49,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33683752 passed
2026-11-05 21:06:49,087 - DEBUG - ====Verifying policy data for ctest-vn-33683752 in API_Server ======
2026-11-05 21:06:49,087 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-05 21:06:49,092 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade
2026-11-05 21:06:49,101 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94
2026-11-05 21:06:49,181 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc
2026-11-05 21:06:49,192 - DEBUG - ==>Verifying data for policy with id: 49490360-2d29-4285-93e2-7491e5dfdec1, fqn: ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-policy-allow-all-28685857']
2026-11-05 21:06:49,192 - INFO - VN ctest-vn-33683752 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-05 21:06:49,192 - DEBUG - Verifying the vn in opserver
2026-11-05 21:06:49,192 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752 virtual network link through opserver 10.0.0.177
2026-11-05 21:06:49,192 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-05 21:06:49,202 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752?flat'}
2026-11-05 21:06:49,202 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752 is found in opserver
2026-11-05 21:06:49,211 - DEBUG - Do not have enough data to verify VN in agent
2026-11-05 21:06:49,215 - DEBUG - VRF ids for VN ctest-vn-33683752: {}
2026-11-05 21:06:49,279 - DEBUG - Services list from nova: [