2025-06-20 10:56:35,480 - INFO - Domain Default found not creating
2025-06-20 10:56:35,641 - INFO - Project ctest-TestBasicPolicy-29287752 not found, creating it
2025-06-20 10:56:36,124 - INFO - Created Project:ctest-TestBasicPolicy-29287752, ID : 655a565b-0a25-4093-b35a-0973ac820506
2025-06-20 10:56:37,574 - INFO - ================================================================================
2025-06-20 10:56:37,574 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-06-20 10:56:37,574 - 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
2025-06-20 10:56:37,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with
2025-06-20 10:56:37,827 - INFO - Initial checks done. Running the testcase now
2025-06-20 10:56:37,827 - INFO -
2025-06-20 10:56:38,359 - DEBUG - Response for create_network : {'network': {'id': '3f6e677e-40e7-4087-a462-6c30230fc1d3', 'name': 'ctest-vn-39386809', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'project_id': '655a565b0a254093b35a0973ac820506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-vn-39386809'], 'port_security_enabled': True, 'description': ''}}
2025-06-20 10:56:38,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '01b5b6c6-f6ce-400f-9893-262a62152c0a', 'name': '', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'network_id': '3f6e677e-40e7-4087-a462-6c30230fc1d3', 'ip_version': 4, 'cidr': '106.150.101.64/26', 'allocation_pools': [{'start': '106.150.101.66', 'end': '106.150.101.126'}], 'gateway_ip': '106.150.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.150.101.66', 'tags': [], 'project_id': '655a565b0a254093b35a0973ac820506'}}
2025-06-20 10:56:38,598 - INFO - Created VN ctest-vn-39386809
2025-06-20 10:56:38,650 - DEBUG - VN ctest-vn-39386809 UUID is 3f6e677e-40e7-4087-a462-6c30230fc1d3
2025-06-20 10:56:39,062 - DEBUG - Response for create_network : {'network': {'id': '6112ccf5-95d9-4793-b426-20cc52273455', 'name': 'ctest-vn-52173383', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'project_id': '655a565b0a254093b35a0973ac820506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-vn-52173383'], 'port_security_enabled': True, 'description': ''}}
2025-06-20 10:56:39,236 - DEBUG - Response for create_subnet : {'subnet': {'id': '05276cae-c639-44e1-a3b6-6c59a35e7577', 'name': '', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'network_id': '6112ccf5-95d9-4793-b426-20cc52273455', 'ip_version': 4, 'cidr': '210.124.80.192/26', 'allocation_pools': [{'start': '210.124.80.194', 'end': '210.124.80.254'}], 'gateway_ip': '210.124.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.124.80.194', 'tags': [], 'project_id': '655a565b0a254093b35a0973ac820506'}}
2025-06-20 10:56:39,255 - INFO - Created VN ctest-vn-52173383
2025-06-20 10:56:39,309 - DEBUG - VN ctest-vn-52173383 UUID is 6112ccf5-95d9-4793-b426-20cc52273455
2025-06-20 10:56:39,462 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809, 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-29287752:ctest-vn-52173383, 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]
2025-06-20 10:56:39,765 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f6e677e-40e7-4087-a462-6c30230fc1d3', 'name': 'ctest-vn-39386809', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'project_id': '655a565b0a254093b35a0973ac820506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01b5b6c6-f6ce-400f-9893-262a62152c0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-vn-39386809'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-policy-allow-all-72440857']], 'subnet_ipam': [{'subnet_cidr': '106.150.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-06-20 10:56:40,004 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6112ccf5-95d9-4793-b426-20cc52273455', 'name': 'ctest-vn-52173383', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'project_id': '655a565b0a254093b35a0973ac820506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['05276cae-c639-44e1-a3b6-6c59a35e7577'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-vn-52173383'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-policy-allow-all-72440857']], 'subnet_ipam': [{'subnet_cidr': '210.124.80.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-06-20 10:56:40,182 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2025-06-20 10:56:40,481 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2025-06-20 10:56:40,509 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca
2025-06-20 10:56:40,524 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506
2025-06-20 10:56:40,605 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3
2025-06-20 10:56:40,618 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3
2025-06-20 10:56:40,630 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1
2025-06-20 10:56:40,639 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1
2025-06-20 10:56:40,647 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/d99e758a-13e1-48c6-b689-1cff84458fd3
2025-06-20 10:56:40,657 - DEBUG - Route Targets: ['target:64512:8000005']
2025-06-20 10:56:40,658 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3
2025-06-20 10:56:40,668 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1
2025-06-20 10:56:40,685 - INFO - Verified VN network id 8 for VN 3f6e677e-40e7-4087-a462-6c30230fc1d3
2025-06-20 10:56:40,685 - INFO - Verifications in API Server for VN ctest-vn-39386809 passed
2025-06-20 10:56:40,685 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3
2025-06-20 10:56:40,696 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1
2025-06-20 10:56:40,704 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1
2025-06-20 10:56:40,713 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/d99e758a-13e1-48c6-b689-1cff84458fd3
2025-06-20 10:56:40,726 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29287752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4570704463780069511', 'uuid-lslong': '11845148923940291027'}, 'enable': 'true', 'created': '2025-06-20T10:56:38', 'last-modified': '2025-06-20T10:56:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987593'}
2025-06-20 10:56:40,733 - DEBUG - Route Targets: ['target:64512:8000005']
2025-06-20 10:56:40,733 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39386809 passed
2025-06-20 10:56:40,734 - DEBUG - ====Verifying policy data for ctest-vn-39386809 in API_Server ======
2025-06-20 10:56:40,734 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2025-06-20 10:56:40,740 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca
2025-06-20 10:56:40,755 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506
2025-06-20 10:56:40,827 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3
2025-06-20 10:56:40,837 - DEBUG - ==>Verifying data for policy with id: dbc9c973-848f-474b-a2ef-83e50e3c633b, fqn: ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-policy-allow-all-72440857']
2025-06-20 10:56:40,837 - INFO - VN ctest-vn-39386809 Policy verification: verify_vn_policy_in_api_server, status: True
2025-06-20 10:56:40,837 - DEBUG - Verifying the vn in opserver
2025-06-20 10:56:40,837 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809 virtual network link through opserver 10.0.0.241
2025-06-20 10:56:40,837 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2025-06-20 10:56:41,128 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2025-06-20 10:56:41,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809?flat'}
2025-06-20 10:56:41,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809 is found in opserver
2025-06-20 10:56:41,195 - DEBUG - Do not have enough data to verify VN in agent
2025-06-20 10:56:41,201 - DEBUG - VRF ids for VN ctest-vn-39386809: {}
2025-06-20 10:56:41,201 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2025-06-20 10:56:41,208 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca
2025-06-20 10:56:41,223 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506
2025-06-20 10:56:41,300 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455
2025-06-20 10:56:41,313 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455
2025-06-20 10:56:41,324 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555
2025-06-20 10:56:41,334 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555
2025-06-20 10:56:41,341 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/63a04b77-320e-4032-a93d-939b68c3bd67
2025-06-20 10:56:41,349 - DEBUG - Route Targets: ['target:64512:8000006']
2025-06-20 10:56:41,349 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455
2025-06-20 10:56:41,358 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555
2025-06-20 10:56:41,372 - INFO - Verified VN network id 9 for VN 6112ccf5-95d9-4793-b426-20cc52273455
2025-06-20 10:56:41,373 - INFO - Verifications in API Server for VN ctest-vn-52173383 passed
2025-06-20 10:56:41,373 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455
2025-06-20 10:56:41,383 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555
2025-06-20 10:56:41,393 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555
2025-06-20 10:56:41,403 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/63a04b77-320e-4032-a93d-939b68c3bd67
2025-06-20 10:56:41,418 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29287752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6994878526412900243', 'uuid-lslong': '12981099037865751637'}, 'enable': 'true', 'created': '2025-06-20T10:56:39', 'last-modified': '2025-06-20T10:56:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438394'}
2025-06-20 10:56:41,425 - DEBUG - Route Targets: ['target:64512:8000006']
2025-06-20 10:56:41,425 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52173383 passed
2025-06-20 10:56:41,426 - DEBUG - ====Verifying policy data for ctest-vn-52173383 in API_Server ======
2025-06-20 10:56:41,426 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2025-06-20 10:56:41,433 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca
2025-06-20 10:56:41,449 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506
2025-06-20 10:56:41,527 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455
2025-06-20 10:56:41,537 - DEBUG - ==>Verifying data for policy with id: dbc9c973-848f-474b-a2ef-83e50e3c633b, fqn: ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-policy-allow-all-72440857']
2025-06-20 10:56:41,537 - INFO - VN ctest-vn-52173383 Policy verification: verify_vn_policy_in_api_server, status: True
2025-06-20 10:56:41,537 - DEBUG - Verifying the vn in opserver
2025-06-20 10:56:41,537 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383 virtual network link through opserver 10.0.0.241
2025-06-20 10:56:41,537 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2025-06-20 10:56:41,549 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383?flat'}
2025-06-20 10:56:41,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383 is found in opserver
2025-06-20 10:56:41,560 - DEBUG - Do not have enough data to verify VN in agent
2025-06-20 10:56:41,564 - DEBUG - VRF ids for VN ctest-vn-52173383: {}
2025-06-20 10:56:41,622 - DEBUG - Services list from nova: [