2026-06-15 17:46:40,400 - INFO - Domain Default found not creating
2026-06-15 17:46:40,527 - INFO - Project ctest-TestBasicPolicy-81488537 not found, creating it
2026-06-15 17:46:40,946 - INFO - Created Project:ctest-TestBasicPolicy-81488537, ID : 2940888b-08b1-4339-8137-d011aa79f061
2026-06-15 17:46:42,370 - INFO - ================================================================================
2026-06-15 17:46:42,370 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-15 17:46:42,370 - 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 17:46:42,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-06-15 17:46:42,632 - INFO - Initial checks done. Running the testcase now
2026-06-15 17:46:42,632 - INFO -
2026-06-15 17:46:43,199 - DEBUG - Response for create_network : {'network': {'id': '858525f1-6ff3-43ed-855d-72908abeed0f', 'name': 'ctest-vn-95980263', 'tenant_id': '2940888b08b143398137d011aa79f061', 'project_id': '2940888b08b143398137d011aa79f061', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81488537', 'ctest-vn-95980263'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 17:46:43,354 - DEBUG - Response for create_subnet : {'subnet': {'id': '0febce7c-afab-486b-bb89-f6c67939c7b5', 'name': '', 'tenant_id': '2940888b08b143398137d011aa79f061', 'network_id': '858525f1-6ff3-43ed-855d-72908abeed0f', 'ip_version': 4, 'cidr': '97.207.124.64/26', 'allocation_pools': [{'start': '97.207.124.66', 'end': '97.207.124.126'}], 'gateway_ip': '97.207.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.207.124.66', 'tags': [], 'project_id': '2940888b08b143398137d011aa79f061'}}
2026-06-15 17:46:43,366 - INFO - Created VN ctest-vn-95980263
2026-06-15 17:46:43,417 - DEBUG - VN ctest-vn-95980263 UUID is 858525f1-6ff3-43ed-855d-72908abeed0f
2026-06-15 17:46:43,736 - DEBUG - Response for create_network : {'network': {'id': 'fba7f701-78eb-4acb-8121-f62cf9939db9', 'name': 'ctest-vn-69606380', 'tenant_id': '2940888b08b143398137d011aa79f061', 'project_id': '2940888b08b143398137d011aa79f061', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81488537', 'ctest-vn-69606380'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 17:46:43,935 - DEBUG - Response for create_subnet : {'subnet': {'id': '77d94d53-9de9-46da-9b4d-13ea11c9e860', 'name': '', 'tenant_id': '2940888b08b143398137d011aa79f061', 'network_id': 'fba7f701-78eb-4acb-8121-f62cf9939db9', 'ip_version': 4, 'cidr': '122.185.158.0/26', 'allocation_pools': [{'start': '122.185.158.2', 'end': '122.185.158.62'}], 'gateway_ip': '122.185.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.185.158.2', 'tags': [], 'project_id': '2940888b08b143398137d011aa79f061'}}
2026-06-15 17:46:43,949 - INFO - Created VN ctest-vn-69606380
2026-06-15 17:46:43,997 - DEBUG - VN ctest-vn-69606380 UUID is fba7f701-78eb-4acb-8121-f62cf9939db9
2026-06-15 17:46:44,141 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-95980263, 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-81488537:ctest-vn-69606380, 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 17:46:44,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '858525f1-6ff3-43ed-855d-72908abeed0f', 'name': 'ctest-vn-95980263', 'tenant_id': '2940888b08b143398137d011aa79f061', 'project_id': '2940888b08b143398137d011aa79f061', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0febce7c-afab-486b-bb89-f6c67939c7b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81488537', 'ctest-vn-95980263'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81488537', 'ctest-policy-allow-all-38746665']], 'subnet_ipam': [{'subnet_cidr': '97.207.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 17:46:44,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fba7f701-78eb-4acb-8121-f62cf9939db9', 'name': 'ctest-vn-69606380', 'tenant_id': '2940888b08b143398137d011aa79f061', 'project_id': '2940888b08b143398137d011aa79f061', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77d94d53-9de9-46da-9b4d-13ea11c9e860'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81488537', 'ctest-vn-69606380'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81488537', 'ctest-policy-allow-all-38746665']], 'subnet_ipam': [{'subnet_cidr': '122.185.158.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 17:46:44,801 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-15 17:46:45,119 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-15 17:46:45,142 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6ee94fda-81d7-4925-a024-805f1fa5078a
2026-06-15 17:46:45,152 - DEBUG - Requesting: http://10.0.0.22:8082/project/2940888b-08b1-4339-8137-d011aa79f061
2026-06-15 17:46:45,227 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/858525f1-6ff3-43ed-855d-72908abeed0f
2026-06-15 17:46:45,236 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/858525f1-6ff3-43ed-855d-72908abeed0f
2026-06-15 17:46:45,243 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/282cee94-2c6e-4cda-9d01-7bbaf1a43266
2026-06-15 17:46:45,248 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/282cee94-2c6e-4cda-9d01-7bbaf1a43266
2026-06-15 17:46:45,253 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/aa970a76-3ec3-4714-962f-f8ac6260728f
2026-06-15 17:46:45,258 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 17:46:45,258 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/858525f1-6ff3-43ed-855d-72908abeed0f
2026-06-15 17:46:45,264 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/282cee94-2c6e-4cda-9d01-7bbaf1a43266
2026-06-15 17:46:45,275 - INFO - Verified VN network id 11 for VN 858525f1-6ff3-43ed-855d-72908abeed0f
2026-06-15 17:46:45,275 - INFO - Verifications in API Server for VN ctest-vn-95980263 passed
2026-06-15 17:46:45,275 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/858525f1-6ff3-43ed-855d-72908abeed0f
2026-06-15 17:46:45,282 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/282cee94-2c6e-4cda-9d01-7bbaf1a43266
2026-06-15 17:46:45,287 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/282cee94-2c6e-4cda-9d01-7bbaf1a43266
2026-06-15 17:46:45,292 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/aa970a76-3ec3-4714-962f-f8ac6260728f
2026-06-15 17:46:45,301 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-95980263', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81488537', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9621137897842492397', 'uuid-lslong': '9609963145007131919'}, 'enable': 'true', 'created': '2026-06-15T17:46:43', 'last-modified': '2026-06-15T17:46:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899620'}
2026-06-15 17:46:45,306 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 17:46:45,306 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95980263 passed
2026-06-15 17:46:45,306 - DEBUG - ====Verifying policy data for ctest-vn-95980263 in API_Server ======
2026-06-15 17:46:45,306 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-15 17:46:45,310 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6ee94fda-81d7-4925-a024-805f1fa5078a
2026-06-15 17:46:45,317 - DEBUG - Requesting: http://10.0.0.22:8082/project/2940888b-08b1-4339-8137-d011aa79f061
2026-06-15 17:46:45,385 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/858525f1-6ff3-43ed-855d-72908abeed0f
2026-06-15 17:46:45,392 - DEBUG - ==>Verifying data for policy with id: 5e057b3a-e151-459f-9743-3436c04f4750, fqn: ['default-domain', 'ctest-TestBasicPolicy-81488537', 'ctest-policy-allow-all-38746665']
2026-06-15 17:46:45,392 - INFO - VN ctest-vn-95980263 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 17:46:45,392 - DEBUG - Verifying the vn in opserver
2026-06-15 17:46:45,392 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-95980263 virtual network link through opserver 10.0.0.22
2026-06-15 17:46:45,392 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-15 17:46:45,708 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-15 17:46:45,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-95980263', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-95980263?flat'}
2026-06-15 17:46:45,755 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-95980263 is found in opserver
2026-06-15 17:46:45,763 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 17:46:45,767 - DEBUG - VRF ids for VN ctest-vn-95980263: {}
2026-06-15 17:46:45,767 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-15 17:46:45,772 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6ee94fda-81d7-4925-a024-805f1fa5078a
2026-06-15 17:46:45,782 - DEBUG - Requesting: http://10.0.0.22:8082/project/2940888b-08b1-4339-8137-d011aa79f061
2026-06-15 17:46:45,856 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fba7f701-78eb-4acb-8121-f62cf9939db9
2026-06-15 17:46:45,873 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fba7f701-78eb-4acb-8121-f62cf9939db9
2026-06-15 17:46:45,880 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c7782e26-70f2-4816-8f04-5edc1a1c9afd
2026-06-15 17:46:45,885 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c7782e26-70f2-4816-8f04-5edc1a1c9afd
2026-06-15 17:46:45,890 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9c54fce5-c945-4031-aa0f-14ee76cc3283
2026-06-15 17:46:45,896 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 17:46:45,896 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fba7f701-78eb-4acb-8121-f62cf9939db9
2026-06-15 17:46:45,905 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c7782e26-70f2-4816-8f04-5edc1a1c9afd
2026-06-15 17:46:45,917 - INFO - Verified VN network id 12 for VN fba7f701-78eb-4acb-8121-f62cf9939db9
2026-06-15 17:46:45,917 - INFO - Verifications in API Server for VN ctest-vn-69606380 passed
2026-06-15 17:46:45,917 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fba7f701-78eb-4acb-8121-f62cf9939db9
2026-06-15 17:46:45,924 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c7782e26-70f2-4816-8f04-5edc1a1c9afd
2026-06-15 17:46:45,931 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c7782e26-70f2-4816-8f04-5edc1a1c9afd
2026-06-15 17:46:45,936 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9c54fce5-c945-4031-aa0f-14ee76cc3283
2026-06-15 17:46:45,946 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-69606380', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81488537', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18133734010326305483', 'uuid-lslong': '9304988978150350265'}, 'enable': 'true', 'created': '2026-06-15T17:46:43', 'last-modified': '2026-06-15T17:46:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331408'}
2026-06-15 17:46:45,952 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 17:46:45,952 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69606380 passed
2026-06-15 17:46:45,952 - DEBUG - ====Verifying policy data for ctest-vn-69606380 in API_Server ======
2026-06-15 17:46:45,952 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-15 17:46:45,958 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6ee94fda-81d7-4925-a024-805f1fa5078a
2026-06-15 17:46:45,969 - DEBUG - Requesting: http://10.0.0.22:8082/project/2940888b-08b1-4339-8137-d011aa79f061
2026-06-15 17:46:46,038 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fba7f701-78eb-4acb-8121-f62cf9939db9
2026-06-15 17:46:46,045 - DEBUG - ==>Verifying data for policy with id: 5e057b3a-e151-459f-9743-3436c04f4750, fqn: ['default-domain', 'ctest-TestBasicPolicy-81488537', 'ctest-policy-allow-all-38746665']
2026-06-15 17:46:46,045 - INFO - VN ctest-vn-69606380 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 17:46:46,045 - DEBUG - Verifying the vn in opserver
2026-06-15 17:46:46,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-69606380 virtual network link through opserver 10.0.0.22
2026-06-15 17:46:46,045 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-15 17:46:46,052 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-69606380', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-69606380?flat'}
2026-06-15 17:46:46,052 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81488537:ctest-vn-69606380 is found in opserver
2026-06-15 17:46:46,060 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 17:46:46,064 - DEBUG - VRF ids for VN ctest-vn-69606380: {}
2026-06-15 17:46:46,111 - DEBUG - Services list from nova: [