2026-08-25 14:56:09,886 - INFO - Domain Default found not creating
2026-08-25 14:56:10,047 - INFO - Project ctest-TestBasicPolicy-11093668 not found, creating it
2026-08-25 14:56:10,562 - INFO - Created Project:ctest-TestBasicPolicy-11093668, ID : 778bc48e-58a3-472c-8207-8aa04edbf21e
2026-08-25 14:56:12,165 - INFO - ================================================================================
2026-08-25 14:56:12,165 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-25 14:56:12,166 - 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-08-25 14:56:12,434 - DEBUG - Nothing to compare xmpp stats {'10.0.0.187': {'10.20.0.254': '0'}} with
2026-08-25 14:56:12,434 - INFO - Initial checks done. Running the testcase now
2026-08-25 14:56:12,434 - INFO -
2026-08-25 14:56:13,049 - DEBUG - Response for create_network : {'network': {'id': 'a710936f-a727-4e60-88b3-724804b8cae8', 'name': 'ctest-vn-50742109', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'project_id': '778bc48e58a3472c82078aa04edbf21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-vn-50742109'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 14:56:13,229 - DEBUG - Response for create_subnet : {'subnet': {'id': '11ebf6c6-51f1-49a8-a15d-76a453af052b', 'name': '', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'network_id': 'a710936f-a727-4e60-88b3-724804b8cae8', 'ip_version': 4, 'cidr': '145.242.126.128/26', 'allocation_pools': [{'start': '145.242.126.130', 'end': '145.242.126.190'}], 'gateway_ip': '145.242.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.242.126.130', 'tags': [], 'project_id': '778bc48e58a3472c82078aa04edbf21e'}}
2026-08-25 14:56:13,246 - INFO - Created VN ctest-vn-50742109
2026-08-25 14:56:13,295 - DEBUG - VN ctest-vn-50742109 UUID is a710936f-a727-4e60-88b3-724804b8cae8
2026-08-25 14:56:13,639 - DEBUG - Response for create_network : {'network': {'id': '46c89198-0810-44b2-bba9-e4161cfa7b3c', 'name': 'ctest-vn-96909396', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'project_id': '778bc48e58a3472c82078aa04edbf21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-vn-96909396'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 14:56:13,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e950ce68-53dc-43bf-aa79-55b93312b0ff', 'name': '', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'network_id': '46c89198-0810-44b2-bba9-e4161cfa7b3c', 'ip_version': 4, 'cidr': '199.155.76.192/26', 'allocation_pools': [{'start': '199.155.76.194', 'end': '199.155.76.254'}], 'gateway_ip': '199.155.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.155.76.194', 'tags': [], 'project_id': '778bc48e58a3472c82078aa04edbf21e'}}
2026-08-25 14:56:13,828 - INFO - Created VN ctest-vn-96909396
2026-08-25 14:56:13,887 - DEBUG - VN ctest-vn-96909396 UUID is 46c89198-0810-44b2-bba9-e4161cfa7b3c
2026-08-25 14:56:14,002 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109, 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-11093668:ctest-vn-96909396, 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-08-25 14:56:14,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a710936f-a727-4e60-88b3-724804b8cae8', 'name': 'ctest-vn-50742109', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'project_id': '778bc48e58a3472c82078aa04edbf21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11ebf6c6-51f1-49a8-a15d-76a453af052b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-vn-50742109'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-policy-allow-all-41940629']], 'subnet_ipam': [{'subnet_cidr': '145.242.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-25 14:56:14,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46c89198-0810-44b2-bba9-e4161cfa7b3c', 'name': 'ctest-vn-96909396', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'project_id': '778bc48e58a3472c82078aa04edbf21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e950ce68-53dc-43bf-aa79-55b93312b0ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-vn-96909396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-policy-allow-all-41940629']], 'subnet_ipam': [{'subnet_cidr': '199.155.76.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-25 14:56:14,744 - DEBUG - Requesting: http://10.0.0.187:8082/domains
2026-08-25 14:56:15,066 - DEBUG - Requesting: http://10.0.0.187:8082/domains
2026-08-25 14:56:15,094 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a
2026-08-25 14:56:15,108 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e
2026-08-25 14:56:15,185 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8
2026-08-25 14:56:15,200 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8
2026-08-25 14:56:15,213 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7
2026-08-25 14:56:15,223 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7
2026-08-25 14:56:15,233 - DEBUG - Requesting: http://10.0.0.187:8082/route-target/3965f3c1-7bb1-481e-b213-e6d659c3cfa4
2026-08-25 14:56:15,244 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-25 14:56:15,244 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8
2026-08-25 14:56:15,255 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7
2026-08-25 14:56:15,272 - INFO - Verified VN network id 11 for VN a710936f-a727-4e60-88b3-724804b8cae8
2026-08-25 14:56:15,272 - INFO - Verifications in API Server for VN ctest-vn-50742109 passed
2026-08-25 14:56:15,272 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8
2026-08-25 14:56:15,284 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7
2026-08-25 14:56:15,292 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7
2026-08-25 14:56:15,302 - DEBUG - Requesting: http://10.0.0.187:8082/route-target/3965f3c1-7bb1-481e-b213-e6d659c3cfa4
2026-08-25 14:56:15,318 - DEBUG - Control-node 10.0.0.187 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11093668', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12038283911716359776', 'uuid-lslong': '9850342463631837928'}, 'enable': 'true', 'created': '2026-08-25T14:56:13', 'last-modified': '2026-08-25T14:56:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023258'}
2026-08-25 14:56:15,327 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-25 14:56:15,327 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50742109 passed
2026-08-25 14:56:15,327 - DEBUG - ====Verifying policy data for ctest-vn-50742109 in API_Server ======
2026-08-25 14:56:15,327 - DEBUG - Requesting: http://10.0.0.187:8082/domains
2026-08-25 14:56:15,334 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a
2026-08-25 14:56:15,347 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e
2026-08-25 14:56:15,425 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8
2026-08-25 14:56:15,438 - DEBUG - ==>Verifying data for policy with id: 441ac4b6-3cfb-4778-822a-94477da1811c, fqn: ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-policy-allow-all-41940629']
2026-08-25 14:56:15,438 - INFO - VN ctest-vn-50742109 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-25 14:56:15,438 - DEBUG - Verifying the vn in opserver
2026-08-25 14:56:15,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109 virtual network link through opserver 10.0.0.187
2026-08-25 14:56:15,438 - DEBUG - Requesting: http://10.0.0.187:8081/analytics/uves/virtual-networks
2026-08-25 14:56:15,779 - DEBUG - Requesting: http://10.0.0.187:8081/analytics/uves/virtual-networks
2026-08-25 14:56:15,842 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109', 'href': 'http://10.0.0.187:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109?flat'}
2026-08-25 14:56:15,842 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109 is found in opserver
2026-08-25 14:56:15,853 - DEBUG - Do not have enough data to verify VN in agent
2026-08-25 14:56:15,858 - DEBUG - VRF ids for VN ctest-vn-50742109: {}
2026-08-25 14:56:15,858 - DEBUG - Requesting: http://10.0.0.187:8082/domains
2026-08-25 14:56:15,864 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a
2026-08-25 14:56:15,877 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e
2026-08-25 14:56:15,958 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c
2026-08-25 14:56:15,972 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c
2026-08-25 14:56:15,984 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d
2026-08-25 14:56:15,993 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d
2026-08-25 14:56:16,003 - DEBUG - Requesting: http://10.0.0.187:8082/route-target/76e21895-0bdf-4d4e-9e27-f9ff39bddb8a
2026-08-25 14:56:16,012 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-25 14:56:16,012 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c
2026-08-25 14:56:16,023 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d
2026-08-25 14:56:16,041 - INFO - Verified VN network id 12 for VN 46c89198-0810-44b2-bba9-e4161cfa7b3c
2026-08-25 14:56:16,041 - INFO - Verifications in API Server for VN ctest-vn-96909396 passed
2026-08-25 14:56:16,041 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c
2026-08-25 14:56:16,052 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d
2026-08-25 14:56:16,061 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d
2026-08-25 14:56:16,069 - DEBUG - Requesting: http://10.0.0.187:8082/route-target/76e21895-0bdf-4d4e-9e27-f9ff39bddb8a
2026-08-25 14:56:16,085 - DEBUG - Control-node 10.0.0.187 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11093668', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5100486660153427122', 'uuid-lslong': '13522590139783215932'}, 'enable': 'true', 'created': '2026-08-25T14:56:13', 'last-modified': '2026-08-25T14:56:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.547335'}
2026-08-25 14:56:16,093 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-25 14:56:16,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96909396 passed
2026-08-25 14:56:16,094 - DEBUG - ====Verifying policy data for ctest-vn-96909396 in API_Server ======
2026-08-25 14:56:16,094 - DEBUG - Requesting: http://10.0.0.187:8082/domains
2026-08-25 14:56:16,101 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a
2026-08-25 14:56:16,113 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e
2026-08-25 14:56:16,190 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c
2026-08-25 14:56:16,200 - DEBUG - ==>Verifying data for policy with id: 441ac4b6-3cfb-4778-822a-94477da1811c, fqn: ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-policy-allow-all-41940629']
2026-08-25 14:56:16,200 - INFO - VN ctest-vn-96909396 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-25 14:56:16,200 - DEBUG - Verifying the vn in opserver
2026-08-25 14:56:16,201 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396 virtual network link through opserver 10.0.0.187
2026-08-25 14:56:16,201 - DEBUG - Requesting: http://10.0.0.187:8081/analytics/uves/virtual-networks
2026-08-25 14:56:16,211 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396', 'href': 'http://10.0.0.187:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396?flat'}
2026-08-25 14:56:16,211 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396 is found in opserver
2026-08-25 14:56:16,222 - DEBUG - Do not have enough data to verify VN in agent
2026-08-25 14:56:16,226 - DEBUG - VRF ids for VN ctest-vn-96909396: {}
2026-08-25 14:56:16,291 - DEBUG - Services list from nova: [