2025-11-04 17:10:55,913 - INFO - Domain Default found not creating 2025-11-04 17:10:56,092 - INFO - Project ctest-TestBasicPolicy-44832134 not found, creating it 2025-11-04 17:10:56,601 - INFO - Created Project:ctest-TestBasicPolicy-44832134, ID : e4c8ec22-a318-4706-ba5d-2de571703310 2025-11-04 17:10:58,317 - INFO - ================================================================================ 2025-11-04 17:10:58,317 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 17:10:58,317 - 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-11-04 17:10:58,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 17:10:58,576 - INFO - Initial checks done. Running the testcase now 2025-11-04 17:10:58,576 - INFO - 2025-11-04 17:10:59,194 - DEBUG - Response for create_network : {'network': {'id': '8c68cacc-ea5a-44cd-9e39-a30184900e6f', 'name': 'ctest-vn-96603331', 'tenant_id': 'e4c8ec22a3184706ba5d2de571703310', 'project_id': 'e4c8ec22a3184706ba5d2de571703310', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44832134', 'ctest-vn-96603331'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:10:59,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d443562-7b66-4518-b30f-2d4de0b43514', 'name': '', 'tenant_id': 'e4c8ec22a3184706ba5d2de571703310', 'network_id': '8c68cacc-ea5a-44cd-9e39-a30184900e6f', 'ip_version': 4, 'cidr': '105.107.233.128/26', 'allocation_pools': [{'start': '105.107.233.130', 'end': '105.107.233.190'}], 'gateway_ip': '105.107.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.107.233.130', 'tags': [], 'project_id': 'e4c8ec22a3184706ba5d2de571703310'}} 2025-11-04 17:10:59,352 - INFO - Created VN ctest-vn-96603331 2025-11-04 17:10:59,402 - DEBUG - VN ctest-vn-96603331 UUID is 8c68cacc-ea5a-44cd-9e39-a30184900e6f 2025-11-04 17:10:59,736 - DEBUG - Response for create_network : {'network': {'id': '15639464-b2cf-4b9a-8478-10fc9c4634c5', 'name': 'ctest-vn-27027023', 'tenant_id': 'e4c8ec22a3184706ba5d2de571703310', 'project_id': 'e4c8ec22a3184706ba5d2de571703310', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44832134', 'ctest-vn-27027023'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:10:59,981 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e63897d3-3929-4ffd-b5df-d9fe8d552079', 'name': '', 'tenant_id': 'e4c8ec22a3184706ba5d2de571703310', 'network_id': '15639464-b2cf-4b9a-8478-10fc9c4634c5', 'ip_version': 4, 'cidr': '103.210.171.128/26', 'allocation_pools': [{'start': '103.210.171.130', 'end': '103.210.171.190'}], 'gateway_ip': '103.210.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.210.171.130', 'tags': [], 'project_id': 'e4c8ec22a3184706ba5d2de571703310'}} 2025-11-04 17:11:00,001 - INFO - Created VN ctest-vn-27027023 2025-11-04 17:11:00,059 - DEBUG - VN ctest-vn-27027023 UUID is 15639464-b2cf-4b9a-8478-10fc9c4634c5 2025-11-04 17:11:00,218 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-96603331, 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-44832134:ctest-vn-27027023, 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-11-04 17:11:00,524 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c68cacc-ea5a-44cd-9e39-a30184900e6f', 'name': 'ctest-vn-96603331', 'tenant_id': 'e4c8ec22a3184706ba5d2de571703310', 'project_id': 'e4c8ec22a3184706ba5d2de571703310', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d443562-7b66-4518-b30f-2d4de0b43514'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44832134', 'ctest-vn-96603331'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44832134', 'ctest-policy-allow-all-08130462']], 'subnet_ipam': [{'subnet_cidr': '105.107.233.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:11:00,776 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15639464-b2cf-4b9a-8478-10fc9c4634c5', 'name': 'ctest-vn-27027023', 'tenant_id': 'e4c8ec22a3184706ba5d2de571703310', 'project_id': 'e4c8ec22a3184706ba5d2de571703310', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e63897d3-3929-4ffd-b5df-d9fe8d552079'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44832134', 'ctest-vn-27027023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44832134', 'ctest-policy-allow-all-08130462']], 'subnet_ipam': [{'subnet_cidr': '103.210.171.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:11:00,962 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 17:11:01,330 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 17:11:01,360 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f621e2ac-adf7-47be-9301-a10f72eb5b78 2025-11-04 17:11:01,371 - DEBUG - Requesting: http://10.0.0.50:8082/project/e4c8ec22-a318-4706-ba5d-2de571703310 2025-11-04 17:11:01,445 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c68cacc-ea5a-44cd-9e39-a30184900e6f 2025-11-04 17:11:01,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c68cacc-ea5a-44cd-9e39-a30184900e6f 2025-11-04 17:11:01,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ecb4cb7c-a03c-4b5f-a2c4-95dee026624a 2025-11-04 17:11:01,471 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ecb4cb7c-a03c-4b5f-a2c4-95dee026624a 2025-11-04 17:11:01,477 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0a81a925-c4a3-4cf9-8f4c-b375a1b4a321 2025-11-04 17:11:01,483 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 17:11:01,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c68cacc-ea5a-44cd-9e39-a30184900e6f 2025-11-04 17:11:01,491 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ecb4cb7c-a03c-4b5f-a2c4-95dee026624a 2025-11-04 17:11:01,504 - INFO - Verified VN network id 11 for VN 8c68cacc-ea5a-44cd-9e39-a30184900e6f 2025-11-04 17:11:01,504 - INFO - Verifications in API Server for VN ctest-vn-96603331 passed 2025-11-04 17:11:01,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c68cacc-ea5a-44cd-9e39-a30184900e6f 2025-11-04 17:11:01,513 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ecb4cb7c-a03c-4b5f-a2c4-95dee026624a 2025-11-04 17:11:01,519 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ecb4cb7c-a03c-4b5f-a2c4-95dee026624a 2025-11-04 17:11:01,526 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0a81a925-c4a3-4cf9-8f4c-b375a1b4a321 2025-11-04 17:11:01,536 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-96603331', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44832134', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10117559544341742797', 'uuid-lslong': '11401323158579449455'}, 'enable': 'true', 'created': '2025-11-04T17:10:59', 'last-modified': '2025-11-04T17:11:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.036137'} 2025-11-04 17:11:01,542 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 17:11:01,542 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96603331 passed 2025-11-04 17:11:01,543 - DEBUG - ====Verifying policy data for ctest-vn-96603331 in API_Server ====== 2025-11-04 17:11:01,543 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 17:11:01,549 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f621e2ac-adf7-47be-9301-a10f72eb5b78 2025-11-04 17:11:01,559 - DEBUG - Requesting: http://10.0.0.50:8082/project/e4c8ec22-a318-4706-ba5d-2de571703310 2025-11-04 17:11:01,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c68cacc-ea5a-44cd-9e39-a30184900e6f 2025-11-04 17:11:01,638 - DEBUG - ==>Verifying data for policy with id: 5935322b-dbf8-4614-9269-e6b753b7e415, fqn: ['default-domain', 'ctest-TestBasicPolicy-44832134', 'ctest-policy-allow-all-08130462'] 2025-11-04 17:11:01,638 - INFO - VN ctest-vn-96603331 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 17:11:01,639 - DEBUG - Verifying the vn in opserver 2025-11-04 17:11:01,639 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-96603331 virtual network link through opserver 10.0.0.50 2025-11-04 17:11:01,639 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 17:11:02,004 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 17:11:02,062 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-96603331', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-96603331?flat'} 2025-11-04 17:11:02,062 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-96603331 is found in opserver 2025-11-04 17:11:02,071 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 17:11:02,076 - DEBUG - VRF ids for VN ctest-vn-96603331: {} 2025-11-04 17:11:02,076 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 17:11:02,081 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f621e2ac-adf7-47be-9301-a10f72eb5b78 2025-11-04 17:11:02,092 - DEBUG - Requesting: http://10.0.0.50:8082/project/e4c8ec22-a318-4706-ba5d-2de571703310 2025-11-04 17:11:02,162 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15639464-b2cf-4b9a-8478-10fc9c4634c5 2025-11-04 17:11:02,175 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15639464-b2cf-4b9a-8478-10fc9c4634c5 2025-11-04 17:11:02,185 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2485e357-4d74-4563-bb47-e839ab108fe5 2025-11-04 17:11:02,194 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2485e357-4d74-4563-bb47-e839ab108fe5 2025-11-04 17:11:02,201 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b24fd88a-cf19-49b6-ba8d-f475ee851d21 2025-11-04 17:11:02,208 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 17:11:02,208 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15639464-b2cf-4b9a-8478-10fc9c4634c5 2025-11-04 17:11:02,216 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2485e357-4d74-4563-bb47-e839ab108fe5 2025-11-04 17:11:02,229 - INFO - Verified VN network id 12 for VN 15639464-b2cf-4b9a-8478-10fc9c4634c5 2025-11-04 17:11:02,230 - INFO - Verifications in API Server for VN ctest-vn-27027023 passed 2025-11-04 17:11:02,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15639464-b2cf-4b9a-8478-10fc9c4634c5 2025-11-04 17:11:02,239 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2485e357-4d74-4563-bb47-e839ab108fe5 2025-11-04 17:11:02,246 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2485e357-4d74-4563-bb47-e839ab108fe5 2025-11-04 17:11:02,254 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b24fd88a-cf19-49b6-ba8d-f475ee851d21 2025-11-04 17:11:02,267 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-27027023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44832134', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1541238657708411802', 'uuid-lslong': '9545398087351416005'}, 'enable': 'true', 'created': '2025-11-04T17:10:59', 'last-modified': '2025-11-04T17:11:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523212'} 2025-11-04 17:11:02,272 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 17:11:02,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27027023 passed 2025-11-04 17:11:02,273 - DEBUG - ====Verifying policy data for ctest-vn-27027023 in API_Server ====== 2025-11-04 17:11:02,273 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 17:11:02,278 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f621e2ac-adf7-47be-9301-a10f72eb5b78 2025-11-04 17:11:02,288 - DEBUG - Requesting: http://10.0.0.50:8082/project/e4c8ec22-a318-4706-ba5d-2de571703310 2025-11-04 17:11:02,361 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15639464-b2cf-4b9a-8478-10fc9c4634c5 2025-11-04 17:11:02,370 - DEBUG - ==>Verifying data for policy with id: 5935322b-dbf8-4614-9269-e6b753b7e415, fqn: ['default-domain', 'ctest-TestBasicPolicy-44832134', 'ctest-policy-allow-all-08130462'] 2025-11-04 17:11:02,370 - INFO - VN ctest-vn-27027023 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 17:11:02,370 - DEBUG - Verifying the vn in opserver 2025-11-04 17:11:02,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-27027023 virtual network link through opserver 10.0.0.50 2025-11-04 17:11:02,370 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 17:11:02,380 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-27027023', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-27027023?flat'} 2025-11-04 17:11:02,380 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-27027023 is found in opserver 2025-11-04 17:11:02,389 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 17:11:02,393 - DEBUG - VRF ids for VN ctest-vn-27027023: {} 2025-11-04 17:11:02,447 - DEBUG - Services list from nova: [, , ] 2025-11-04 17:11:03,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4618-1) 2025-11-04 17:11:04,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4618-1) 2025-11-04 17:11:04,877 - INFO - Waiting for VM ctest-TestBasicPolicy-44832134-73864049 to be up.. 2025-11-04 17:11:04,956 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 17:11:10,033 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:11:10,033 - INFO - VM name : ctest-TestBasicPolicy-44832134-73864049 2025-11-04 17:11:10,108 - DEBUG - VM ctest-TestBasicPolicy-44832134-73864049 ID is f3387224-239b-4456-bfaf-a95332ca9365 2025-11-04 17:11:10,129 - DEBUG - VM ctest-TestBasicPolicy-44832134-73864049 launched on Node cn-jenkins-deploy-platform-ansible-os-4618-1 2025-11-04 17:11:10,200 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f3387224-239b-4456-bfaf-a95332ca9365 2025-11-04 17:11:10,208 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fce8e733-3344-44fd-9bd8-37c05fda2b2d 2025-11-04 17:11:13,448 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2025-11-04 17:11:13,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44832134-73864049 failed! 2025-11-04 17:11:13,502 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44832134:ctest-vn-96603331 is 105.107.233.129 and allocation pool is NOT set 2025-11-04 17:11:15,563 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.613 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.613/1.984/3.355/1.371 ms') 2025-11-04 17:11:15,564 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44832134-73864049 passed 2025-11-04 17:11:15,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:11:15,719 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44832134-73864049, IP 105.107.233.131, Port 22 2025-11-04 17:11:15,873 - DEBUG - VM ctest-TestBasicPolicy-44832134-73864049 is ready for SSH connections 2025-11-04 17:11:15,873 - INFO - Waiting for VM ctest-TestBasicPolicy-44832134-34415119 to be up.. 2025-11-04 17:11:15,950 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:11:15,950 - INFO - VM name : ctest-TestBasicPolicy-44832134-34415119 2025-11-04 17:11:16,023 - DEBUG - VM ctest-TestBasicPolicy-44832134-34415119 ID is 410bd2b7-a170-42a0-9b58-96d0288c7467 2025-11-04 17:11:16,023 - DEBUG - VM ctest-TestBasicPolicy-44832134-34415119 launched on Node cn-jenkins-deploy-platform-ansible-os-4618-1 2025-11-04 17:11:16,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/410bd2b7-a170-42a0-9b58-96d0288c7467 2025-11-04 17:11:16,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ca0ceb66-3f41-40b5-9d94-4bd6cc88b29d 2025-11-04 17:11:17,335 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.456/1.964/3.473/1.508 ms') 2025-11-04 17:11:17,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44832134-34415119 passed 2025-11-04 17:11:17,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:11:17,486 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44832134-34415119, IP 103.210.171.131, Port 22 2025-11-04 17:11:17,642 - DEBUG - VM ctest-TestBasicPolicy-44832134-34415119 is ready for SSH connections 2025-11-04 17:11:17,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:11:17,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.210.171.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 17:11:17,642 - DEBUG - ping -s 56 -c 3 -W 1 103.210.171.131 2025-11-04 17:11:21,690 - DEBUG - PING 103.210.171.131 (103.210.171.131): 56 data bytes 64 bytes from 103.210.171.131: seq=0 ttl=63 time=4.665 ms 64 bytes from 103.210.171.131: seq=1 ttl=63 time=1.668 ms 64 bytes from 103.210.171.131: seq=2 ttl=63 time=0.983 ms --- 103.210.171.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/2.438/4.665 ms 2025-11-04 17:11:21,690 - INFO - Ping to IP 103.210.171.131 from VM ctest-TestBasicPolicy-44832134-73864049 passed 2025-11-04 17:11:21,870 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5935322b-dbf8-4614-9269-e6b753b7e415", "href": "http://10.0.0.50:8082/network-policy/5935322b-dbf8-4614-9269-e6b753b7e415"}} 2025-11-04 17:11:21,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:11:21,870 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.210.171.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 17:11:21,871 - DEBUG - ping -s 56 -c 3 -W 1 103.210.171.131 2025-11-04 17:11:24,998 - DEBUG - PING 103.210.171.131 (103.210.171.131): 56 data bytes --- 103.210.171.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 17:11:24,998 - WARNING - Ping to IP 103.210.171.131 from VM ctest-TestBasicPolicy-44832134-73864049 failed 2025-11-04 17:11:24,998 - INFO - Deleting VM ctest-TestBasicPolicy-44832134-34415119 2025-11-04 17:11:25,070 - INFO - Deleting VM ctest-TestBasicPolicy-44832134-73864049 2025-11-04 17:11:25,421 - INFO - Deleted policy ctest-policy-allow-all-08130462 2025-11-04 17:11:25,421 - INFO - Deleting VN ctest-vn-27027023 2025-11-04 17:11:25,453 - DEBUG - VN 15639464-b2cf-4b9a-8478-10fc9c4634c5 still in use: Unable to complete operation on network 15639464-b2cf-4b9a-8478-10fc9c4634c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-582eb1b6-cfb4-40d1-ae0a-8722c7c69514'] 2025-11-04 17:11:25,453 - WARNING - Deleting VN ctest-vn-27027023 failed..Will retry 2025-11-04 17:11:27,552 - DEBUG - Response for deleting network () 2025-11-04 17:11:27,553 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2485e357-4d74-4563-bb47-e839ab108fe5 2025-11-04 17:11:27,563 - DEBUG - Response Code: 404 2025-11-04 17:11:27,563 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 17:11:27,570 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f621e2ac-adf7-47be-9301-a10f72eb5b78 2025-11-04 17:11:27,623 - DEBUG - Requesting: http://10.0.0.50:8082/project/e4c8ec22-a318-4706-ba5d-2de571703310 2025-11-04 17:11:27,696 - INFO - Validated that VN ctest-vn-27027023 is not found in API Server 2025-11-04 17:11:27,706 - DEBUG - VN ctest-vn-27027023 is not present in Agent 10.0.0.50 2025-11-04 17:11:27,706 - INFO - Validated that VN ctest-vn-27027023 is not in any agent 2025-11-04 17:11:27,720 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27027023 info 2025-11-04 17:11:27,720 - INFO - Deleting VN ctest-vn-96603331 2025-11-04 17:11:27,842 - DEBUG - Response for deleting network () 2025-11-04 17:11:27,842 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ecb4cb7c-a03c-4b5f-a2c4-95dee026624a 2025-11-04 17:11:27,848 - DEBUG - Response Code: 404 2025-11-04 17:11:27,848 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 17:11:27,854 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f621e2ac-adf7-47be-9301-a10f72eb5b78 2025-11-04 17:11:27,908 - DEBUG - Requesting: http://10.0.0.50:8082/project/e4c8ec22-a318-4706-ba5d-2de571703310 2025-11-04 17:11:27,978 - INFO - Validated that VN ctest-vn-96603331 is not found in API Server 2025-11-04 17:11:27,988 - DEBUG - VN ctest-vn-96603331 is not present in Agent 10.0.0.50 2025-11-04 17:11:27,988 - INFO - Validated that VN ctest-vn-96603331 is not in any agent 2025-11-04 17:11:28,001 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96603331 info 2025-11-04 17:11:28,256 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 17:11:28,256 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-04 17:11:28,256 - INFO - -------------------------------------------------------------------------------- 2025-11-04 17:11:29,008 - INFO - Deleted project: ctest-TestBasicPolicy-44832134, ID : e4c8ec22-a318-4706-ba5d-2de571703310