2026-01-22 02:18:53,304 - INFO - Domain Default found not creating
2026-01-22 02:18:53,507 - INFO - Project ctest-TestBasicPolicy-05042465 not found, creating it
2026-01-22 02:18:53,962 - INFO - Created Project:ctest-TestBasicPolicy-05042465, ID : b02cb656-f51b-409e-af19-4227242f6311
2026-01-22 02:18:55,554 - INFO - ================================================================================
2026-01-22 02:18:55,554 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-22 02:18:55,554 - 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-01-22 02:18:55,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.242': '0'}} with
2026-01-22 02:18:55,808 - INFO - Initial checks done. Running the testcase now
2026-01-22 02:18:55,808 - INFO -
2026-01-22 02:18:56,386 - DEBUG - Response for create_network : {'network': {'id': '5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c', 'name': 'ctest-vn-53872626', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'project_id': 'b02cb656f51b409eaf194227242f6311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-vn-53872626'], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:18:56,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '5035cb2e-9489-4236-a11e-41c90a9d3d07', 'name': '', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'network_id': '5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c', 'ip_version': 4, 'cidr': '17.177.204.0/26', 'allocation_pools': [{'start': '17.177.204.2', 'end': '17.177.204.62'}], 'gateway_ip': '17.177.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.177.204.2', 'tags': [], 'project_id': 'b02cb656f51b409eaf194227242f6311'}}
2026-01-22 02:18:56,587 - INFO - Created VN ctest-vn-53872626
2026-01-22 02:18:56,642 - DEBUG - VN ctest-vn-53872626 UUID is 5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c
2026-01-22 02:18:56,947 - DEBUG - Response for create_network : {'network': {'id': '4c23c631-4739-4a72-a7a3-3215303a49e6', 'name': 'ctest-vn-79161690', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'project_id': 'b02cb656f51b409eaf194227242f6311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-vn-79161690'], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:18:57,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '648599ee-bb94-48ae-b378-63bdb7439686', 'name': '', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'network_id': '4c23c631-4739-4a72-a7a3-3215303a49e6', 'ip_version': 4, 'cidr': '156.10.186.192/26', 'allocation_pools': [{'start': '156.10.186.194', 'end': '156.10.186.254'}], 'gateway_ip': '156.10.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.10.186.194', 'tags': [], 'project_id': 'b02cb656f51b409eaf194227242f6311'}}
2026-01-22 02:18:57,127 - INFO - Created VN ctest-vn-79161690
2026-01-22 02:18:57,186 - DEBUG - VN ctest-vn-79161690 UUID is 4c23c631-4739-4a72-a7a3-3215303a49e6
2026-01-22 02:18:57,305 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626, 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-05042465:ctest-vn-79161690, 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-01-22 02:18:57,616 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c', 'name': 'ctest-vn-53872626', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'project_id': 'b02cb656f51b409eaf194227242f6311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5035cb2e-9489-4236-a11e-41c90a9d3d07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-vn-53872626'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-policy-allow-all-38341532']], 'subnet_ipam': [{'subnet_cidr': '17.177.204.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:18:57,903 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c23c631-4739-4a72-a7a3-3215303a49e6', 'name': 'ctest-vn-79161690', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'project_id': 'b02cb656f51b409eaf194227242f6311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['648599ee-bb94-48ae-b378-63bdb7439686'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-vn-79161690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-policy-allow-all-38341532']], 'subnet_ipam': [{'subnet_cidr': '156.10.186.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:18:58,058 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-22 02:18:58,376 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-22 02:18:58,411 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340
2026-01-22 02:18:58,425 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311
2026-01-22 02:18:58,498 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c
2026-01-22 02:18:58,508 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c
2026-01-22 02:18:58,517 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de
2026-01-22 02:18:58,525 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de
2026-01-22 02:18:58,533 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/0da44010-089a-4e66-bf9f-451fff7f3dae
2026-01-22 02:18:58,541 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-22 02:18:58,541 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c
2026-01-22 02:18:58,553 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de
2026-01-22 02:18:58,568 - INFO - Verified VN network id 11 for VN 5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c
2026-01-22 02:18:58,568 - INFO - Verifications in API Server for VN ctest-vn-53872626 passed
2026-01-22 02:18:58,568 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c
2026-01-22 02:18:58,578 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de
2026-01-22 02:18:58,585 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de
2026-01-22 02:18:58,592 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/0da44010-089a-4e66-bf9f-451fff7f3dae
2026-01-22 02:18:58,604 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05042465', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6837185202304536083', 'uuid-lslong': '13318689729715204956'}, 'enable': 'true', 'created': '2026-01-22T02:18:56', 'last-modified': '2026-01-22T02:18:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005639'}
2026-01-22 02:18:58,610 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-22 02:18:58,610 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53872626 passed
2026-01-22 02:18:58,610 - DEBUG - ====Verifying policy data for ctest-vn-53872626 in API_Server ======
2026-01-22 02:18:58,610 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-22 02:18:58,616 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340
2026-01-22 02:18:58,628 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311
2026-01-22 02:18:58,701 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c
2026-01-22 02:18:58,711 - DEBUG - ==>Verifying data for policy with id: 955f0190-a996-4168-87c5-c68d31071f81, fqn: ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-policy-allow-all-38341532']
2026-01-22 02:18:58,711 - INFO - VN ctest-vn-53872626 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-22 02:18:58,711 - DEBUG - Verifying the vn in opserver
2026-01-22 02:18:58,711 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626 virtual network link through opserver 10.0.0.241
2026-01-22 02:18:58,712 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-22 02:18:59,018 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-22 02:18:59,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626?flat'}
2026-01-22 02:18:59,084 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626 is found in opserver
2026-01-22 02:18:59,093 - DEBUG - Do not have enough data to verify VN in agent
2026-01-22 02:18:59,098 - DEBUG - VRF ids for VN ctest-vn-53872626: {}
2026-01-22 02:18:59,098 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-22 02:18:59,104 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340
2026-01-22 02:18:59,116 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311
2026-01-22 02:18:59,189 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6
2026-01-22 02:18:59,202 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6
2026-01-22 02:18:59,213 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f
2026-01-22 02:18:59,221 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f
2026-01-22 02:18:59,228 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/59037316-86ee-453f-b627-10ba3b8d1cb7
2026-01-22 02:18:59,235 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-22 02:18:59,235 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6
2026-01-22 02:18:59,244 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f
2026-01-22 02:18:59,258 - INFO - Verified VN network id 12 for VN 4c23c631-4739-4a72-a7a3-3215303a49e6
2026-01-22 02:18:59,258 - INFO - Verifications in API Server for VN ctest-vn-79161690 passed
2026-01-22 02:18:59,258 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6
2026-01-22 02:18:59,266 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f
2026-01-22 02:18:59,273 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f
2026-01-22 02:18:59,280 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/59037316-86ee-453f-b627-10ba3b8d1cb7
2026-01-22 02:18:59,291 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05042465', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5486446686018030194', 'uuid-lslong': '12079553692122630630'}, 'enable': 'true', 'created': '2026-01-22T02:18:56', 'last-modified': '2026-01-22T02:18:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.459876'}
2026-01-22 02:18:59,297 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-22 02:18:59,297 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79161690 passed
2026-01-22 02:18:59,297 - DEBUG - ====Verifying policy data for ctest-vn-79161690 in API_Server ======
2026-01-22 02:18:59,297 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-22 02:18:59,303 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340
2026-01-22 02:18:59,315 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311
2026-01-22 02:18:59,391 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6
2026-01-22 02:18:59,402 - DEBUG - ==>Verifying data for policy with id: 955f0190-a996-4168-87c5-c68d31071f81, fqn: ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-policy-allow-all-38341532']
2026-01-22 02:18:59,402 - INFO - VN ctest-vn-79161690 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-22 02:18:59,402 - DEBUG - Verifying the vn in opserver
2026-01-22 02:18:59,402 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690 virtual network link through opserver 10.0.0.241
2026-01-22 02:18:59,402 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-22 02:18:59,415 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690?flat'}
2026-01-22 02:18:59,415 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690 is found in opserver
2026-01-22 02:18:59,426 - DEBUG - Do not have enough data to verify VN in agent
2026-01-22 02:18:59,431 - DEBUG - VRF ids for VN ctest-vn-79161690: {}
2026-01-22 02:18:59,498 - DEBUG - Services list from nova: [