2026-04-28 13:06:55,268 - INFO - Domain Default found not creating
2026-04-28 13:06:55,442 - INFO - Project ctest-TestBasicPolicy-08347018 not found, creating it
2026-04-28 13:06:55,904 - INFO - Created Project:ctest-TestBasicPolicy-08347018, ID : 2d7b4839-8285-40e3-8ec3-2bac408864a5
2026-04-28 13:06:57,386 - INFO - ================================================================================
2026-04-28 13:06:57,386 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-28 13:06:57,386 - 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-04-28 13:06:57,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.14': '0'}} with
2026-04-28 13:06:57,639 - INFO - Initial checks done. Running the testcase now
2026-04-28 13:06:57,639 - INFO -
2026-04-28 13:06:58,183 - DEBUG - Response for create_network : {'network': {'id': '960a3b1e-f216-4690-9ee7-656afbc405cf', 'name': 'ctest-vn-29696504', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'project_id': '2d7b4839828540e38ec32bac408864a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-vn-29696504'], 'port_security_enabled': True, 'description': ''}}
2026-04-28 13:06:58,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '417368a6-5529-4f48-9ae0-9f0245b1d775', 'name': '', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'network_id': '960a3b1e-f216-4690-9ee7-656afbc405cf', 'ip_version': 4, 'cidr': '191.113.28.192/26', 'allocation_pools': [{'start': '191.113.28.194', 'end': '191.113.28.254'}], 'gateway_ip': '191.113.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.113.28.194', 'tags': [], 'project_id': '2d7b4839828540e38ec32bac408864a5'}}
2026-04-28 13:06:58,417 - INFO - Created VN ctest-vn-29696504
2026-04-28 13:06:58,475 - DEBUG - VN ctest-vn-29696504 UUID is 960a3b1e-f216-4690-9ee7-656afbc405cf
2026-04-28 13:06:58,796 - DEBUG - Response for create_network : {'network': {'id': 'bef80955-6fa7-4290-9229-d8f9eb7d2f19', 'name': 'ctest-vn-29041003', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'project_id': '2d7b4839828540e38ec32bac408864a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-vn-29041003'], 'port_security_enabled': True, 'description': ''}}
2026-04-28 13:06:58,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '48dac573-8e92-43a6-94d7-e325ab28482d', 'name': '', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'network_id': 'bef80955-6fa7-4290-9229-d8f9eb7d2f19', 'ip_version': 4, 'cidr': '124.252.136.64/26', 'allocation_pools': [{'start': '124.252.136.66', 'end': '124.252.136.126'}], 'gateway_ip': '124.252.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.252.136.66', 'tags': [], 'project_id': '2d7b4839828540e38ec32bac408864a5'}}
2026-04-28 13:06:59,000 - INFO - Created VN ctest-vn-29041003
2026-04-28 13:06:59,051 - DEBUG - VN ctest-vn-29041003 UUID is bef80955-6fa7-4290-9229-d8f9eb7d2f19
2026-04-28 13:06:59,202 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504, 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-08347018:ctest-vn-29041003, 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-04-28 13:06:59,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '960a3b1e-f216-4690-9ee7-656afbc405cf', 'name': 'ctest-vn-29696504', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'project_id': '2d7b4839828540e38ec32bac408864a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['417368a6-5529-4f48-9ae0-9f0245b1d775'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-vn-29696504'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-policy-allow-all-27832291']], 'subnet_ipam': [{'subnet_cidr': '191.113.28.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-28 13:06:59,716 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bef80955-6fa7-4290-9229-d8f9eb7d2f19', 'name': 'ctest-vn-29041003', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'project_id': '2d7b4839828540e38ec32bac408864a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48dac573-8e92-43a6-94d7-e325ab28482d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-vn-29041003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-policy-allow-all-27832291']], 'subnet_ipam': [{'subnet_cidr': '124.252.136.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-28 13:06:59,882 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-04-28 13:07:00,177 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-04-28 13:07:00,215 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857
2026-04-28 13:07:00,230 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5
2026-04-28 13:07:00,303 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf
2026-04-28 13:07:00,314 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf
2026-04-28 13:07:00,323 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c
2026-04-28 13:07:00,331 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c
2026-04-28 13:07:00,339 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/6061c98a-dfac-49b1-acc0-84c33a79eed5
2026-04-28 13:07:00,345 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-28 13:07:00,345 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf
2026-04-28 13:07:00,355 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c
2026-04-28 13:07:00,369 - INFO - Verified VN network id 12 for VN 960a3b1e-f216-4690-9ee7-656afbc405cf
2026-04-28 13:07:00,369 - INFO - Verifications in API Server for VN ctest-vn-29696504 passed
2026-04-28 13:07:00,369 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf
2026-04-28 13:07:00,378 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c
2026-04-28 13:07:00,387 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c
2026-04-28 13:07:00,394 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/6061c98a-dfac-49b1-acc0-84c33a79eed5
2026-04-28 13:07:00,409 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08347018', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10811518859552900752', 'uuid-lslong': '11450232087777641935'}, 'enable': 'true', 'created': '2026-04-28T13:06:58', 'last-modified': '2026-04-28T13:06:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940587'}
2026-04-28 13:07:00,418 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-28 13:07:00,418 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29696504 passed
2026-04-28 13:07:00,418 - DEBUG - ====Verifying policy data for ctest-vn-29696504 in API_Server ======
2026-04-28 13:07:00,418 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-04-28 13:07:00,424 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857
2026-04-28 13:07:00,435 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5
2026-04-28 13:07:00,504 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf
2026-04-28 13:07:00,513 - DEBUG - ==>Verifying data for policy with id: 82f4c4c6-9948-42ce-962c-af016e8d5743, fqn: ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-policy-allow-all-27832291']
2026-04-28 13:07:00,513 - INFO - VN ctest-vn-29696504 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-28 13:07:00,513 - DEBUG - Verifying the vn in opserver
2026-04-28 13:07:00,513 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504 virtual network link through opserver 10.0.0.56
2026-04-28 13:07:00,514 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2026-04-28 13:07:00,813 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2026-04-28 13:07:00,889 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504?flat'}
2026-04-28 13:07:00,889 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504 is found in opserver
2026-04-28 13:07:00,901 - DEBUG - Do not have enough data to verify VN in agent
2026-04-28 13:07:00,907 - DEBUG - VRF ids for VN ctest-vn-29696504: {}
2026-04-28 13:07:00,907 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-04-28 13:07:00,914 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857
2026-04-28 13:07:00,927 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5
2026-04-28 13:07:00,995 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19
2026-04-28 13:07:01,007 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19
2026-04-28 13:07:01,017 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7
2026-04-28 13:07:01,024 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7
2026-04-28 13:07:01,030 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/a0db3486-e65a-4d43-b803-c3b35b10f3ac
2026-04-28 13:07:01,037 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-28 13:07:01,037 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19
2026-04-28 13:07:01,047 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7
2026-04-28 13:07:01,062 - INFO - Verified VN network id 13 for VN bef80955-6fa7-4290-9229-d8f9eb7d2f19
2026-04-28 13:07:01,063 - INFO - Verifications in API Server for VN ctest-vn-29041003 passed
2026-04-28 13:07:01,063 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19
2026-04-28 13:07:01,071 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7
2026-04-28 13:07:01,078 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7
2026-04-28 13:07:01,085 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/a0db3486-e65a-4d43-b803-c3b35b10f3ac
2026-04-28 13:07:01,097 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08347018', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13760758923980653200', 'uuid-lslong': '10532187771491921689'}, 'enable': 'true', 'created': '2026-04-28T13:06:58', 'last-modified': '2026-04-28T13:06:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408926'}
2026-04-28 13:07:01,103 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-28 13:07:01,103 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29041003 passed
2026-04-28 13:07:01,103 - DEBUG - ====Verifying policy data for ctest-vn-29041003 in API_Server ======
2026-04-28 13:07:01,103 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-04-28 13:07:01,109 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857
2026-04-28 13:07:01,120 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5
2026-04-28 13:07:01,189 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19
2026-04-28 13:07:01,199 - DEBUG - ==>Verifying data for policy with id: 82f4c4c6-9948-42ce-962c-af016e8d5743, fqn: ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-policy-allow-all-27832291']
2026-04-28 13:07:01,199 - INFO - VN ctest-vn-29041003 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-28 13:07:01,199 - DEBUG - Verifying the vn in opserver
2026-04-28 13:07:01,199 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003 virtual network link through opserver 10.0.0.56
2026-04-28 13:07:01,199 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2026-04-28 13:07:01,210 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003?flat'}
2026-04-28 13:07:01,210 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003 is found in opserver
2026-04-28 13:07:01,219 - DEBUG - Do not have enough data to verify VN in agent
2026-04-28 13:07:01,224 - DEBUG - VRF ids for VN ctest-vn-29041003: {}
2026-04-28 13:07:01,291 - DEBUG - Services list from nova: [