2026-06-23 08:02:40,985 - INFO - Domain Default found not creating
2026-06-23 08:02:41,142 - INFO - Project ctest-TestBasicPolicy-76732022 not found, creating it
2026-06-23 08:02:41,587 - INFO - Created Project:ctest-TestBasicPolicy-76732022, ID : 0b212ed8-73f6-4761-a17d-9af587261da2
2026-06-23 08:02:43,066 - INFO - ================================================================================
2026-06-23 08:02:43,066 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-23 08:02:43,066 - 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-23 08:02:43,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-23 08:02:43,333 - INFO - Initial checks done. Running the testcase now
2026-06-23 08:02:43,333 - INFO -
2026-06-23 08:02:43,895 - DEBUG - Response for create_network : {'network': {'id': 'b3c25696-2b3c-4e6a-9fc0-e003d0340c16', 'name': 'ctest-vn-16752254', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'project_id': '0b212ed873f64761a17d9af587261da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-vn-16752254'], 'port_security_enabled': True, 'description': ''}}
2026-06-23 08:02:44,106 - DEBUG - Response for create_subnet : {'subnet': {'id': '697efc46-6daf-4434-ae45-22270ed12b1d', 'name': '', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'network_id': 'b3c25696-2b3c-4e6a-9fc0-e003d0340c16', 'ip_version': 4, 'cidr': '17.42.49.128/26', 'allocation_pools': [{'start': '17.42.49.130', 'end': '17.42.49.190'}], 'gateway_ip': '17.42.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.42.49.130', 'tags': [], 'project_id': '0b212ed873f64761a17d9af587261da2'}}
2026-06-23 08:02:44,122 - INFO - Created VN ctest-vn-16752254
2026-06-23 08:02:44,172 - DEBUG - VN ctest-vn-16752254 UUID is b3c25696-2b3c-4e6a-9fc0-e003d0340c16
2026-06-23 08:02:44,483 - DEBUG - Response for create_network : {'network': {'id': '743a3ca3-ce55-44dd-83b0-13cd962204c7', 'name': 'ctest-vn-67783325', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'project_id': '0b212ed873f64761a17d9af587261da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-vn-67783325'], 'port_security_enabled': True, 'description': ''}}
2026-06-23 08:02:44,683 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcb13412-ebd5-452e-ba36-01a8f20bef51', 'name': '', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'network_id': '743a3ca3-ce55-44dd-83b0-13cd962204c7', 'ip_version': 4, 'cidr': '88.52.83.128/26', 'allocation_pools': [{'start': '88.52.83.130', 'end': '88.52.83.190'}], 'gateway_ip': '88.52.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.52.83.130', 'tags': [], 'project_id': '0b212ed873f64761a17d9af587261da2'}}
2026-06-23 08:02:44,698 - INFO - Created VN ctest-vn-67783325
2026-06-23 08:02:44,748 - DEBUG - VN ctest-vn-67783325 UUID is 743a3ca3-ce55-44dd-83b0-13cd962204c7
2026-06-23 08:02:44,888 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254, 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-76732022:ctest-vn-67783325, 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-23 08:02:45,172 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3c25696-2b3c-4e6a-9fc0-e003d0340c16', 'name': 'ctest-vn-16752254', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'project_id': '0b212ed873f64761a17d9af587261da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['697efc46-6daf-4434-ae45-22270ed12b1d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-vn-16752254'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-policy-allow-all-99784457']], 'subnet_ipam': [{'subnet_cidr': '17.42.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-23 08:02:45,396 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '743a3ca3-ce55-44dd-83b0-13cd962204c7', 'name': 'ctest-vn-67783325', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'project_id': '0b212ed873f64761a17d9af587261da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fcb13412-ebd5-452e-ba36-01a8f20bef51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-vn-67783325'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-policy-allow-all-99784457']], 'subnet_ipam': [{'subnet_cidr': '88.52.83.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-23 08:02:45,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 08:02:45,874 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 08:02:45,898 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4
2026-06-23 08:02:45,909 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2
2026-06-23 08:02:45,976 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16
2026-06-23 08:02:45,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16
2026-06-23 08:02:45,993 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea
2026-06-23 08:02:45,999 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea
2026-06-23 08:02:46,004 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ccbf4e4b-3b18-4a27-a29e-1c35ae2eb427
2026-06-23 08:02:46,008 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-23 08:02:46,008 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16
2026-06-23 08:02:46,014 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea
2026-06-23 08:02:46,027 - INFO - Verified VN network id 10 for VN b3c25696-2b3c-4e6a-9fc0-e003d0340c16
2026-06-23 08:02:46,027 - INFO - Verifications in API Server for VN ctest-vn-16752254 passed
2026-06-23 08:02:46,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16
2026-06-23 08:02:46,035 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea
2026-06-23 08:02:46,041 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea
2026-06-23 08:02:46,047 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ccbf4e4b-3b18-4a27-a29e-1c35ae2eb427
2026-06-23 08:02:46,059 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76732022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12953010681241423466', 'uuid-lslong': '11511446954541583382'}, 'enable': 'true', 'created': '2026-06-23T08:02:43', 'last-modified': '2026-06-23T08:02:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907799'}
2026-06-23 08:02:46,064 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-23 08:02:46,064 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16752254 passed
2026-06-23 08:02:46,064 - DEBUG - ====Verifying policy data for ctest-vn-16752254 in API_Server ======
2026-06-23 08:02:46,064 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 08:02:46,069 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4
2026-06-23 08:02:46,080 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2
2026-06-23 08:02:46,153 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16
2026-06-23 08:02:46,161 - DEBUG - ==>Verifying data for policy with id: 8cba7026-7934-45df-8aab-ca21fb192346, fqn: ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-policy-allow-all-99784457']
2026-06-23 08:02:46,161 - INFO - VN ctest-vn-16752254 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-23 08:02:46,161 - DEBUG - Verifying the vn in opserver
2026-06-23 08:02:46,161 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254 virtual network link through opserver 10.0.0.50
2026-06-23 08:02:46,161 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-23 08:02:46,481 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-23 08:02:46,534 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254?flat'}
2026-06-23 08:02:46,534 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254 is found in opserver
2026-06-23 08:02:46,542 - DEBUG - Do not have enough data to verify VN in agent
2026-06-23 08:02:46,546 - DEBUG - VRF ids for VN ctest-vn-16752254: {}
2026-06-23 08:02:46,546 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 08:02:46,553 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4
2026-06-23 08:02:46,567 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2
2026-06-23 08:02:46,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7
2026-06-23 08:02:46,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7
2026-06-23 08:02:46,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d
2026-06-23 08:02:46,675 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d
2026-06-23 08:02:46,681 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1e3ea8eb-6e93-4669-889d-7337e6f95e97
2026-06-23 08:02:46,686 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-23 08:02:46,686 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7
2026-06-23 08:02:46,694 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d
2026-06-23 08:02:46,706 - INFO - Verified VN network id 11 for VN 743a3ca3-ce55-44dd-83b0-13cd962204c7
2026-06-23 08:02:46,706 - INFO - Verifications in API Server for VN ctest-vn-67783325 passed
2026-06-23 08:02:46,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7
2026-06-23 08:02:46,713 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d
2026-06-23 08:02:46,718 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d
2026-06-23 08:02:46,724 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1e3ea8eb-6e93-4669-889d-7337e6f95e97
2026-06-23 08:02:46,736 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76732022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8375073131287889117', 'uuid-lslong': '9489106188577670343'}, 'enable': 'true', 'created': '2026-06-23T08:02:44', 'last-modified': '2026-06-23T08:02:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361640'}
2026-06-23 08:02:46,742 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-23 08:02:46,742 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67783325 passed
2026-06-23 08:02:46,742 - DEBUG - ====Verifying policy data for ctest-vn-67783325 in API_Server ======
2026-06-23 08:02:46,742 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-23 08:02:46,747 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4
2026-06-23 08:02:46,756 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2
2026-06-23 08:02:46,823 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7
2026-06-23 08:02:46,830 - DEBUG - ==>Verifying data for policy with id: 8cba7026-7934-45df-8aab-ca21fb192346, fqn: ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-policy-allow-all-99784457']
2026-06-23 08:02:46,830 - INFO - VN ctest-vn-67783325 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-23 08:02:46,830 - DEBUG - Verifying the vn in opserver
2026-06-23 08:02:46,830 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325 virtual network link through opserver 10.0.0.50
2026-06-23 08:02:46,830 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-23 08:02:46,838 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325?flat'}
2026-06-23 08:02:46,838 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325 is found in opserver
2026-06-23 08:02:46,846 - DEBUG - Do not have enough data to verify VN in agent
2026-06-23 08:02:46,850 - DEBUG - VRF ids for VN ctest-vn-67783325: {}
2026-06-23 08:02:46,906 - DEBUG - Services list from nova: [