2026-02-19 11:17:29,800 - INFO - Domain Default found not creating
2026-02-19 11:17:29,949 - INFO - Project ctest-TestBasicPolicy-01808518 not found, creating it
2026-02-19 11:17:30,401 - INFO - Created Project:ctest-TestBasicPolicy-01808518, ID : 52aec6a0-449d-4b18-a728-e67f564602e1
2026-02-19 11:17:31,789 - INFO - ================================================================================
2026-02-19 11:17:31,790 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 11:17:31,790 - 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-19 11:17:32,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-02-19 11:17:32,048 - INFO - Initial checks done. Running the testcase now
2026-02-19 11:17:32,048 - INFO -
2026-02-19 11:17:32,581 - DEBUG - Response for create_network : {'network': {'id': '50d9e5c2-52a9-4e62-beaf-b28f9f63a132', 'name': 'ctest-vn-80091465', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'project_id': '52aec6a0449d4b18a728e67f564602e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-vn-80091465'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 11:17:32,764 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab35e10a-aa79-4b77-886e-b0bb9da10471', 'name': '', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'network_id': '50d9e5c2-52a9-4e62-beaf-b28f9f63a132', 'ip_version': 4, 'cidr': '64.68.1.0/26', 'allocation_pools': [{'start': '64.68.1.2', 'end': '64.68.1.62'}], 'gateway_ip': '64.68.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.68.1.2', 'tags': [], 'project_id': '52aec6a0449d4b18a728e67f564602e1'}}
2026-02-19 11:17:32,781 - INFO - Created VN ctest-vn-80091465
2026-02-19 11:17:32,831 - DEBUG - VN ctest-vn-80091465 UUID is 50d9e5c2-52a9-4e62-beaf-b28f9f63a132
2026-02-19 11:17:33,178 - DEBUG - Response for create_network : {'network': {'id': '65f89435-ff9e-4702-84fa-6513488c5f22', 'name': 'ctest-vn-58313186', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'project_id': '52aec6a0449d4b18a728e67f564602e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-vn-58313186'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 11:17:33,351 - DEBUG - Response for create_subnet : {'subnet': {'id': '389c358c-e327-436c-8f47-d10293159ec4', 'name': '', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'network_id': '65f89435-ff9e-4702-84fa-6513488c5f22', 'ip_version': 4, 'cidr': '47.239.145.192/26', 'allocation_pools': [{'start': '47.239.145.194', 'end': '47.239.145.254'}], 'gateway_ip': '47.239.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.239.145.194', 'tags': [], 'project_id': '52aec6a0449d4b18a728e67f564602e1'}}
2026-02-19 11:17:33,368 - INFO - Created VN ctest-vn-58313186
2026-02-19 11:17:33,423 - DEBUG - VN ctest-vn-58313186 UUID is 65f89435-ff9e-4702-84fa-6513488c5f22
2026-02-19 11:17:33,575 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465, 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-01808518:ctest-vn-58313186, 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-19 11:17:33,857 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50d9e5c2-52a9-4e62-beaf-b28f9f63a132', 'name': 'ctest-vn-80091465', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'project_id': '52aec6a0449d4b18a728e67f564602e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab35e10a-aa79-4b77-886e-b0bb9da10471'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-vn-80091465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-policy-allow-all-28011084']], 'subnet_ipam': [{'subnet_cidr': '64.68.1.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 11:17:34,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65f89435-ff9e-4702-84fa-6513488c5f22', 'name': 'ctest-vn-58313186', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'project_id': '52aec6a0449d4b18a728e67f564602e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['389c358c-e327-436c-8f47-d10293159ec4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-vn-58313186'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-policy-allow-all-28011084']], 'subnet_ipam': [{'subnet_cidr': '47.239.145.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 11:17:34,267 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-19 11:17:34,563 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-19 11:17:34,590 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e
2026-02-19 11:17:34,601 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1
2026-02-19 11:17:34,672 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132
2026-02-19 11:17:34,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132
2026-02-19 11:17:34,693 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c
2026-02-19 11:17:34,700 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c
2026-02-19 11:17:34,706 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/57f7c753-4186-40f8-b949-43e2bf2d65c2
2026-02-19 11:17:34,712 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 11:17:34,712 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132
2026-02-19 11:17:34,721 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c
2026-02-19 11:17:34,734 - INFO - Verified VN network id 12 for VN 50d9e5c2-52a9-4e62-beaf-b28f9f63a132
2026-02-19 11:17:34,735 - INFO - Verifications in API Server for VN ctest-vn-80091465 passed
2026-02-19 11:17:34,735 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132
2026-02-19 11:17:34,743 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c
2026-02-19 11:17:34,749 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c
2026-02-19 11:17:34,755 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/57f7c753-4186-40f8-b949-43e2bf2d65c2
2026-02-19 11:17:34,767 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01808518', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5825940215753690722', 'uuid-lslong': '13740397318054846770'}, 'enable': 'true', 'created': '2026-02-19T11:17:32', 'last-modified': '2026-02-19T11:17:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927450'}
2026-02-19 11:17:34,774 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 11:17:34,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80091465 passed
2026-02-19 11:17:34,774 - DEBUG - ====Verifying policy data for ctest-vn-80091465 in API_Server ======
2026-02-19 11:17:34,774 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-19 11:17:34,779 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e
2026-02-19 11:17:34,787 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1
2026-02-19 11:17:34,858 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132
2026-02-19 11:17:34,867 - DEBUG - ==>Verifying data for policy with id: e133320a-8dd0-4ddb-a657-c94a3f5191a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-policy-allow-all-28011084']
2026-02-19 11:17:34,867 - INFO - VN ctest-vn-80091465 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 11:17:34,867 - DEBUG - Verifying the vn in opserver
2026-02-19 11:17:34,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465 virtual network link through opserver 10.0.0.33
2026-02-19 11:17:34,868 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-19 11:17:35,157 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-19 11:17:35,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465?flat'}
2026-02-19 11:17:35,213 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465 is found in opserver
2026-02-19 11:17:35,222 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 11:17:35,227 - DEBUG - VRF ids for VN ctest-vn-80091465: {}
2026-02-19 11:17:35,227 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-19 11:17:35,232 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e
2026-02-19 11:17:35,241 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1
2026-02-19 11:17:35,310 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22
2026-02-19 11:17:35,319 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22
2026-02-19 11:17:35,327 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14
2026-02-19 11:17:35,333 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14
2026-02-19 11:17:35,339 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b24991a1-1f46-4422-b456-eca09adfdd03
2026-02-19 11:17:35,345 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 11:17:35,345 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22
2026-02-19 11:17:35,354 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14
2026-02-19 11:17:35,367 - INFO - Verified VN network id 13 for VN 65f89435-ff9e-4702-84fa-6513488c5f22
2026-02-19 11:17:35,367 - INFO - Verifications in API Server for VN ctest-vn-58313186 passed
2026-02-19 11:17:35,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22
2026-02-19 11:17:35,376 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14
2026-02-19 11:17:35,382 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14
2026-02-19 11:17:35,388 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b24991a1-1f46-4422-b456-eca09adfdd03
2026-02-19 11:17:35,399 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01808518', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7347785751697704706', 'uuid-lslong': '9582082290680094498'}, 'enable': 'true', 'created': '2026-02-19T11:17:33', 'last-modified': '2026-02-19T11:17:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343860'}
2026-02-19 11:17:35,405 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 11:17:35,405 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58313186 passed
2026-02-19 11:17:35,406 - DEBUG - ====Verifying policy data for ctest-vn-58313186 in API_Server ======
2026-02-19 11:17:35,406 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-19 11:17:35,411 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e
2026-02-19 11:17:35,420 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1
2026-02-19 11:17:35,488 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22
2026-02-19 11:17:35,496 - DEBUG - ==>Verifying data for policy with id: e133320a-8dd0-4ddb-a657-c94a3f5191a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-policy-allow-all-28011084']
2026-02-19 11:17:35,496 - INFO - VN ctest-vn-58313186 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 11:17:35,496 - DEBUG - Verifying the vn in opserver
2026-02-19 11:17:35,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186 virtual network link through opserver 10.0.0.33
2026-02-19 11:17:35,497 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-19 11:17:35,506 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186?flat'}
2026-02-19 11:17:35,506 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186 is found in opserver
2026-02-19 11:17:35,514 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 11:17:35,518 - DEBUG - VRF ids for VN ctest-vn-58313186: {}
2026-02-19 11:17:35,572 - DEBUG - Services list from nova: [