2026-02-04 20:30:32,695 - INFO - Domain Default found not creating
2026-02-04 20:30:32,855 - INFO - Project ctest-TestBasicPolicy-65052735 not found, creating it
2026-02-04 20:30:33,285 - INFO - Created Project:ctest-TestBasicPolicy-65052735, ID : 90f77789-ab37-4a5d-b27f-84ede89875d5
2026-02-04 20:30:34,729 - INFO - ================================================================================
2026-02-04 20:30:34,729 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-04 20:30:34,730 - 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-04 20:30:34,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with
2026-02-04 20:30:34,985 - INFO - Initial checks done. Running the testcase now
2026-02-04 20:30:34,985 - INFO -
2026-02-04 20:30:35,511 - DEBUG - Response for create_network : {'network': {'id': '7c4cac52-3aa3-408d-a506-6dfed406d6de', 'name': 'ctest-vn-70695352', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'project_id': '90f77789ab374a5db27f84ede89875d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-vn-70695352'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 20:30:35,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c8a74c4-5fe3-4efb-a1a7-3ac32ef77a69', 'name': '', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'network_id': '7c4cac52-3aa3-408d-a506-6dfed406d6de', 'ip_version': 4, 'cidr': '1.68.54.64/26', 'allocation_pools': [{'start': '1.68.54.66', 'end': '1.68.54.126'}], 'gateway_ip': '1.68.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.68.54.66', 'tags': [], 'project_id': '90f77789ab374a5db27f84ede89875d5'}}
2026-02-04 20:30:35,694 - INFO - Created VN ctest-vn-70695352
2026-02-04 20:30:35,749 - DEBUG - VN ctest-vn-70695352 UUID is 7c4cac52-3aa3-408d-a506-6dfed406d6de
2026-02-04 20:30:36,061 - DEBUG - Response for create_network : {'network': {'id': 'e3673262-bfc8-41ad-b653-f9efbed6508d', 'name': 'ctest-vn-14805105', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'project_id': '90f77789ab374a5db27f84ede89875d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-vn-14805105'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 20:30:36,207 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bde813fd-7123-4c84-bde3-f622fb8a6db5', 'name': '', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'network_id': 'e3673262-bfc8-41ad-b653-f9efbed6508d', 'ip_version': 4, 'cidr': '23.237.186.64/26', 'allocation_pools': [{'start': '23.237.186.66', 'end': '23.237.186.126'}], 'gateway_ip': '23.237.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.237.186.66', 'tags': [], 'project_id': '90f77789ab374a5db27f84ede89875d5'}}
2026-02-04 20:30:36,226 - INFO - Created VN ctest-vn-14805105
2026-02-04 20:30:36,276 - DEBUG - VN ctest-vn-14805105 UUID is e3673262-bfc8-41ad-b653-f9efbed6508d
2026-02-04 20:30:36,384 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352, 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-65052735:ctest-vn-14805105, 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-04 20:30:36,658 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c4cac52-3aa3-408d-a506-6dfed406d6de', 'name': 'ctest-vn-70695352', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'project_id': '90f77789ab374a5db27f84ede89875d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c8a74c4-5fe3-4efb-a1a7-3ac32ef77a69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-vn-70695352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-policy-allow-all-97716103']], 'subnet_ipam': [{'subnet_cidr': '1.68.54.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 20:30:36,872 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3673262-bfc8-41ad-b653-f9efbed6508d', 'name': 'ctest-vn-14805105', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'project_id': '90f77789ab374a5db27f84ede89875d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bde813fd-7123-4c84-bde3-f622fb8a6db5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-vn-14805105'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-policy-allow-all-97716103']], 'subnet_ipam': [{'subnet_cidr': '23.237.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 20:30:37,041 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-04 20:30:37,337 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-04 20:30:37,366 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d
2026-02-04 20:30:37,379 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5
2026-02-04 20:30:37,447 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de
2026-02-04 20:30:37,457 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de
2026-02-04 20:30:37,465 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913
2026-02-04 20:30:37,472 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913
2026-02-04 20:30:37,478 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/87c00907-64b7-4210-92e3-1ea5e6ee2d41
2026-02-04 20:30:37,483 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 20:30:37,483 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de
2026-02-04 20:30:37,491 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913
2026-02-04 20:30:37,504 - INFO - Verified VN network id 11 for VN 7c4cac52-3aa3-408d-a506-6dfed406d6de
2026-02-04 20:30:37,504 - INFO - Verifications in API Server for VN ctest-vn-70695352 passed
2026-02-04 20:30:37,504 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de
2026-02-04 20:30:37,512 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913
2026-02-04 20:30:37,518 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913
2026-02-04 20:30:37,523 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/87c00907-64b7-4210-92e3-1ea5e6ee2d41
2026-02-04 20:30:37,533 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65052735', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8956723228104147085', 'uuid-lslong': '11891312807364712158'}, 'enable': 'true', 'created': '2026-02-04T20:30:35', 'last-modified': '2026-02-04T20:30:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888909'}
2026-02-04 20:30:37,538 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 20:30:37,538 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70695352 passed
2026-02-04 20:30:37,538 - DEBUG - ====Verifying policy data for ctest-vn-70695352 in API_Server ======
2026-02-04 20:30:37,538 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-04 20:30:37,545 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d
2026-02-04 20:30:37,554 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5
2026-02-04 20:30:37,623 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de
2026-02-04 20:30:37,631 - DEBUG - ==>Verifying data for policy with id: dacd82bd-4365-4652-902c-090d7b627d12, fqn: ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-policy-allow-all-97716103']
2026-02-04 20:30:37,631 - INFO - VN ctest-vn-70695352 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 20:30:37,631 - DEBUG - Verifying the vn in opserver
2026-02-04 20:30:37,631 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352 virtual network link through opserver 10.0.0.23
2026-02-04 20:30:37,632 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-04 20:30:37,923 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-04 20:30:37,978 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352?flat'}
2026-02-04 20:30:37,978 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352 is found in opserver
2026-02-04 20:30:37,988 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 20:30:37,991 - DEBUG - VRF ids for VN ctest-vn-70695352: {}
2026-02-04 20:30:37,991 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-04 20:30:37,996 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d
2026-02-04 20:30:38,005 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5
2026-02-04 20:30:38,071 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d
2026-02-04 20:30:38,081 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d
2026-02-04 20:30:38,090 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29
2026-02-04 20:30:38,096 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29
2026-02-04 20:30:38,102 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6278faad-b991-49ee-82bc-269a46326cc1
2026-02-04 20:30:38,107 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 20:30:38,107 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d
2026-02-04 20:30:38,117 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29
2026-02-04 20:30:38,128 - INFO - Verified VN network id 12 for VN e3673262-bfc8-41ad-b653-f9efbed6508d
2026-02-04 20:30:38,128 - INFO - Verifications in API Server for VN ctest-vn-14805105 passed
2026-02-04 20:30:38,128 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d
2026-02-04 20:30:38,136 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29
2026-02-04 20:30:38,141 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29
2026-02-04 20:30:38,146 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6278faad-b991-49ee-82bc-269a46326cc1
2026-02-04 20:30:38,155 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65052735', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16386121168916595117', 'uuid-lslong': '13138119346064085133'}, 'enable': 'true', 'created': '2026-02-04T20:30:36', 'last-modified': '2026-02-04T20:30:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.301832'}
2026-02-04 20:30:38,161 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 20:30:38,161 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14805105 passed
2026-02-04 20:30:38,161 - DEBUG - ====Verifying policy data for ctest-vn-14805105 in API_Server ======
2026-02-04 20:30:38,161 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-04 20:30:38,167 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d
2026-02-04 20:30:38,177 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5
2026-02-04 20:30:38,246 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d
2026-02-04 20:30:38,253 - DEBUG - ==>Verifying data for policy with id: dacd82bd-4365-4652-902c-090d7b627d12, fqn: ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-policy-allow-all-97716103']
2026-02-04 20:30:38,253 - INFO - VN ctest-vn-14805105 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 20:30:38,253 - DEBUG - Verifying the vn in opserver
2026-02-04 20:30:38,253 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105 virtual network link through opserver 10.0.0.23
2026-02-04 20:30:38,254 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-04 20:30:38,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105?flat'}
2026-02-04 20:30:38,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105 is found in opserver
2026-02-04 20:30:38,270 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 20:30:38,274 - DEBUG - VRF ids for VN ctest-vn-14805105: {}
2026-02-04 20:30:38,325 - DEBUG - Services list from nova: [