2025-10-22 08:26:00,480 - INFO - Domain Default found not creating 2025-10-22 08:26:00,641 - INFO - Project ctest-TestBasicPolicy-04762940 not found, creating it 2025-10-22 08:26:01,151 - INFO - Created Project:ctest-TestBasicPolicy-04762940, ID : 88e8b6dd-2263-4574-81c9-d39ace497807 2025-10-22 08:26:02,587 - INFO - ================================================================================ 2025-10-22 08:26:02,587 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 08:26:02,587 - 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-10-22 08:26:02,840 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-22 08:26:02,840 - INFO - Initial checks done. Running the testcase now 2025-10-22 08:26:02,841 - INFO - 2025-10-22 08:26:03,390 - DEBUG - Response for create_network : {'network': {'id': '0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74', 'name': 'ctest-vn-38821319', 'tenant_id': '88e8b6dd2263457481c9d39ace497807', 'project_id': '88e8b6dd2263457481c9d39ace497807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04762940', 'ctest-vn-38821319'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:26:03,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '43c36b8c-d4d0-4d67-ac60-29b77ce6186c', 'name': '', 'tenant_id': '88e8b6dd2263457481c9d39ace497807', 'network_id': '0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74', 'ip_version': 4, 'cidr': '135.179.121.0/26', 'allocation_pools': [{'start': '135.179.121.2', 'end': '135.179.121.62'}], 'gateway_ip': '135.179.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.179.121.2', 'tags': [], 'project_id': '88e8b6dd2263457481c9d39ace497807'}} 2025-10-22 08:26:03,590 - INFO - Created VN ctest-vn-38821319 2025-10-22 08:26:03,643 - DEBUG - VN ctest-vn-38821319 UUID is 0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74 2025-10-22 08:26:03,974 - DEBUG - Response for create_network : {'network': {'id': '54b5e7f4-40cd-460d-ba73-5d28b8b3eb19', 'name': 'ctest-vn-88123184', 'tenant_id': '88e8b6dd2263457481c9d39ace497807', 'project_id': '88e8b6dd2263457481c9d39ace497807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04762940', 'ctest-vn-88123184'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:26:04,197 - DEBUG - Response for create_subnet : {'subnet': {'id': '59e97e6b-1302-4a1e-897d-0d48f853f52b', 'name': '', 'tenant_id': '88e8b6dd2263457481c9d39ace497807', 'network_id': '54b5e7f4-40cd-460d-ba73-5d28b8b3eb19', 'ip_version': 4, 'cidr': '84.235.198.128/26', 'allocation_pools': [{'start': '84.235.198.130', 'end': '84.235.198.190'}], 'gateway_ip': '84.235.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.235.198.130', 'tags': [], 'project_id': '88e8b6dd2263457481c9d39ace497807'}} 2025-10-22 08:26:04,216 - INFO - Created VN ctest-vn-88123184 2025-10-22 08:26:04,267 - DEBUG - VN ctest-vn-88123184 UUID is 54b5e7f4-40cd-460d-ba73-5d28b8b3eb19 2025-10-22 08:26:04,379 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-38821319, 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-04762940:ctest-vn-88123184, 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-10-22 08:26:04,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74', 'name': 'ctest-vn-38821319', 'tenant_id': '88e8b6dd2263457481c9d39ace497807', 'project_id': '88e8b6dd2263457481c9d39ace497807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43c36b8c-d4d0-4d67-ac60-29b77ce6186c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04762940', 'ctest-vn-38821319'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04762940', 'ctest-policy-allow-all-62351219']], 'subnet_ipam': [{'subnet_cidr': '135.179.121.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:26:04,915 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54b5e7f4-40cd-460d-ba73-5d28b8b3eb19', 'name': 'ctest-vn-88123184', 'tenant_id': '88e8b6dd2263457481c9d39ace497807', 'project_id': '88e8b6dd2263457481c9d39ace497807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59e97e6b-1302-4a1e-897d-0d48f853f52b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04762940', 'ctest-vn-88123184'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04762940', 'ctest-policy-allow-all-62351219']], 'subnet_ipam': [{'subnet_cidr': '84.235.198.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:26:05,083 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 08:26:05,378 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 08:26:05,412 - DEBUG - Requesting: http://10.0.0.141:8082/domain/df5e11c4-a1d4-42ad-a3e9-10e45e18461a 2025-10-22 08:26:05,425 - DEBUG - Requesting: http://10.0.0.141:8082/project/88e8b6dd-2263-4574-81c9-d39ace497807 2025-10-22 08:26:05,499 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74 2025-10-22 08:26:05,511 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74 2025-10-22 08:26:05,520 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1cb2c54c-e121-40b9-be3c-97169e77b0a9 2025-10-22 08:26:05,528 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1cb2c54c-e121-40b9-be3c-97169e77b0a9 2025-10-22 08:26:05,535 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/a412f97c-0d62-4599-9bc6-9694dbac9647 2025-10-22 08:26:05,542 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 08:26:05,542 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74 2025-10-22 08:26:05,551 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1cb2c54c-e121-40b9-be3c-97169e77b0a9 2025-10-22 08:26:05,568 - INFO - Verified VN network id 11 for VN 0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74 2025-10-22 08:26:05,568 - INFO - Verifications in API Server for VN ctest-vn-38821319 passed 2025-10-22 08:26:05,568 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74 2025-10-22 08:26:05,579 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1cb2c54c-e121-40b9-be3c-97169e77b0a9 2025-10-22 08:26:05,587 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1cb2c54c-e121-40b9-be3c-97169e77b0a9 2025-10-22 08:26:05,598 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/a412f97c-0d62-4599-9bc6-9694dbac9647 2025-10-22 08:26:05,613 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-38821319', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04762940', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '738423036503476290', 'uuid-lslong': '11868774242681904500'}, 'enable': 'true', 'created': '2025-10-22T08:26:03', 'last-modified': '2025-10-22T08:26:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945752'} 2025-10-22 08:26:05,621 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 08:26:05,621 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38821319 passed 2025-10-22 08:26:05,621 - DEBUG - ====Verifying policy data for ctest-vn-38821319 in API_Server ====== 2025-10-22 08:26:05,621 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 08:26:05,627 - DEBUG - Requesting: http://10.0.0.141:8082/domain/df5e11c4-a1d4-42ad-a3e9-10e45e18461a 2025-10-22 08:26:05,638 - DEBUG - Requesting: http://10.0.0.141:8082/project/88e8b6dd-2263-4574-81c9-d39ace497807 2025-10-22 08:26:05,708 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0a3f67d6-e0c1-4842-a4b6-5b4a4e5c5d74 2025-10-22 08:26:05,718 - DEBUG - ==>Verifying data for policy with id: 9463e628-acdc-4209-b7e4-54a7a951aa67, fqn: ['default-domain', 'ctest-TestBasicPolicy-04762940', 'ctest-policy-allow-all-62351219'] 2025-10-22 08:26:05,718 - INFO - VN ctest-vn-38821319 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 08:26:05,718 - DEBUG - Verifying the vn in opserver 2025-10-22 08:26:05,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-38821319 virtual network link through opserver 10.0.0.141 2025-10-22 08:26:05,718 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-22 08:26:06,012 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-22 08:26:06,074 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-38821319', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-38821319?flat'} 2025-10-22 08:26:06,074 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-38821319 is found in opserver 2025-10-22 08:26:06,084 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 08:26:06,088 - DEBUG - VRF ids for VN ctest-vn-38821319: {} 2025-10-22 08:26:06,089 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 08:26:06,094 - DEBUG - Requesting: http://10.0.0.141:8082/domain/df5e11c4-a1d4-42ad-a3e9-10e45e18461a 2025-10-22 08:26:06,105 - DEBUG - Requesting: http://10.0.0.141:8082/project/88e8b6dd-2263-4574-81c9-d39ace497807 2025-10-22 08:26:06,174 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/54b5e7f4-40cd-460d-ba73-5d28b8b3eb19 2025-10-22 08:26:06,186 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/54b5e7f4-40cd-460d-ba73-5d28b8b3eb19 2025-10-22 08:26:06,195 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2db4d6e0-1cb0-4502-9dd6-f5c3ad62e6f9 2025-10-22 08:26:06,202 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2db4d6e0-1cb0-4502-9dd6-f5c3ad62e6f9 2025-10-22 08:26:06,211 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f3acd4e0-42a5-4b3c-bb15-6c3917ade9c7 2025-10-22 08:26:06,219 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 08:26:06,219 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/54b5e7f4-40cd-460d-ba73-5d28b8b3eb19 2025-10-22 08:26:06,229 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2db4d6e0-1cb0-4502-9dd6-f5c3ad62e6f9 2025-10-22 08:26:06,247 - INFO - Verified VN network id 12 for VN 54b5e7f4-40cd-460d-ba73-5d28b8b3eb19 2025-10-22 08:26:06,247 - INFO - Verifications in API Server for VN ctest-vn-88123184 passed 2025-10-22 08:26:06,247 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/54b5e7f4-40cd-460d-ba73-5d28b8b3eb19 2025-10-22 08:26:06,256 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2db4d6e0-1cb0-4502-9dd6-f5c3ad62e6f9 2025-10-22 08:26:06,262 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2db4d6e0-1cb0-4502-9dd6-f5c3ad62e6f9 2025-10-22 08:26:06,270 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f3acd4e0-42a5-4b3c-bb15-6c3917ade9c7 2025-10-22 08:26:06,283 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-88123184', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04762940', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6104039906215806477', 'uuid-lslong': '13435184542855195417'}, 'enable': 'true', 'created': '2025-10-22T08:26:03', 'last-modified': '2025-10-22T08:26:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386898'} 2025-10-22 08:26:06,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 08:26:06,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88123184 passed 2025-10-22 08:26:06,290 - DEBUG - ====Verifying policy data for ctest-vn-88123184 in API_Server ====== 2025-10-22 08:26:06,291 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 08:26:06,298 - DEBUG - Requesting: http://10.0.0.141:8082/domain/df5e11c4-a1d4-42ad-a3e9-10e45e18461a 2025-10-22 08:26:06,309 - DEBUG - Requesting: http://10.0.0.141:8082/project/88e8b6dd-2263-4574-81c9-d39ace497807 2025-10-22 08:26:06,383 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/54b5e7f4-40cd-460d-ba73-5d28b8b3eb19 2025-10-22 08:26:06,393 - DEBUG - ==>Verifying data for policy with id: 9463e628-acdc-4209-b7e4-54a7a951aa67, fqn: ['default-domain', 'ctest-TestBasicPolicy-04762940', 'ctest-policy-allow-all-62351219'] 2025-10-22 08:26:06,393 - INFO - VN ctest-vn-88123184 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 08:26:06,393 - DEBUG - Verifying the vn in opserver 2025-10-22 08:26:06,393 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-88123184 virtual network link through opserver 10.0.0.141 2025-10-22 08:26:06,393 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-22 08:26:06,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-88123184', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-88123184?flat'} 2025-10-22 08:26:06,404 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-88123184 is found in opserver 2025-10-22 08:26:06,413 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 08:26:06,418 - DEBUG - VRF ids for VN ctest-vn-88123184: {} 2025-10-22 08:26:06,478 - DEBUG - Services list from nova: [, , ] 2025-10-22 08:26:07,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4415-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4415-1) 2025-10-22 08:26:08,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4415-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4415-1) 2025-10-22 08:26:08,718 - INFO - Waiting for VM ctest-TestBasicPolicy-04762940-03992746 to be up.. 2025-10-22 08:26:08,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 08:26:13,890 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:26:13,890 - INFO - VM name : ctest-TestBasicPolicy-04762940-03992746 2025-10-22 08:26:13,975 - DEBUG - VM ctest-TestBasicPolicy-04762940-03992746 ID is 483d679d-4058-47f8-a815-804e654cbf99 2025-10-22 08:26:13,995 - DEBUG - VM ctest-TestBasicPolicy-04762940-03992746 launched on Node cn-jenkins-deploy-platform-ansible-os-4415-1 2025-10-22 08:26:14,074 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/483d679d-4058-47f8-a815-804e654cbf99 2025-10-22 08:26:14,084 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/609dc1f1-e948-46c9-80c9-9c174c5e280b 2025-10-22 08:26:17,338 - 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 1010ms') 2025-10-22 08:26:17,338 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04762940-03992746 failed! 2025-10-22 08:26:17,395 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04762940:ctest-vn-38821319 is 135.179.121.1 and allocation pool is NOT set 2025-10-22 08:26:19,461 - 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=9.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.095/5.088/9.081/3.993 ms') 2025-10-22 08:26:19,461 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04762940-03992746 passed 2025-10-22 08:26:19,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:26:19,611 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04762940-03992746, IP 135.179.121.3, Port 22 2025-10-22 08:26:19,766 - DEBUG - VM ctest-TestBasicPolicy-04762940-03992746 is ready for SSH connections 2025-10-22 08:26:19,766 - INFO - Waiting for VM ctest-TestBasicPolicy-04762940-48346626 to be up.. 2025-10-22 08:26:19,842 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:26:19,842 - INFO - VM name : ctest-TestBasicPolicy-04762940-48346626 2025-10-22 08:26:19,914 - DEBUG - VM ctest-TestBasicPolicy-04762940-48346626 ID is 1691a7a3-0c9a-407c-82ce-afa4feebd32c 2025-10-22 08:26:19,914 - DEBUG - VM ctest-TestBasicPolicy-04762940-48346626 launched on Node cn-jenkins-deploy-platform-ansible-os-4415-1 2025-10-22 08:26:19,993 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1691a7a3-0c9a-407c-82ce-afa4feebd32c 2025-10-22 08:26:20,002 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9d4c782e-46d2-44c5-b3c2-104b85adb276 2025-10-22 08:26:21,241 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/1.986/3.414/1.427 ms') 2025-10-22 08:26:21,241 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04762940-48346626 passed 2025-10-22 08:26:21,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:26:21,391 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04762940-48346626, IP 84.235.198.131, Port 22 2025-10-22 08:26:21,547 - DEBUG - VM ctest-TestBasicPolicy-04762940-48346626 is ready for SSH connections 2025-10-22 08:26:21,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:26:21,547 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.235.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 08:26:21,547 - DEBUG - ping -s 56 -c 3 -W 1 84.235.198.131 2025-10-22 08:26:25,625 - DEBUG - PING 84.235.198.131 (84.235.198.131): 56 data bytes 64 bytes from 84.235.198.131: seq=0 ttl=63 time=3.725 ms 64 bytes from 84.235.198.131: seq=1 ttl=63 time=1.096 ms 64 bytes from 84.235.198.131: seq=2 ttl=63 time=0.838 ms --- 84.235.198.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.886/3.725 ms 2025-10-22 08:26:25,626 - INFO - Ping to IP 84.235.198.131 from VM ctest-TestBasicPolicy-04762940-03992746 passed 2025-10-22 08:26:25,803 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9463e628-acdc-4209-b7e4-54a7a951aa67", "href": "http://10.0.0.141:8082/network-policy/9463e628-acdc-4209-b7e4-54a7a951aa67"}} 2025-10-22 08:26:25,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:26:25,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.235.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 08:26:25,803 - DEBUG - ping -s 56 -c 3 -W 1 84.235.198.131 2025-10-22 08:26:29,013 - DEBUG - PING 84.235.198.131 (84.235.198.131): 56 data bytes --- 84.235.198.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 08:26:29,013 - WARNING - Ping to IP 84.235.198.131 from VM ctest-TestBasicPolicy-04762940-03992746 failed 2025-10-22 08:26:29,013 - INFO - Deleting VM ctest-TestBasicPolicy-04762940-48346626 2025-10-22 08:26:29,088 - INFO - Deleting VM ctest-TestBasicPolicy-04762940-03992746 2025-10-22 08:26:29,488 - INFO - Deleted policy ctest-policy-allow-all-62351219 2025-10-22 08:26:29,488 - INFO - Deleting VN ctest-vn-88123184 2025-10-22 08:26:29,536 - DEBUG - VN 54b5e7f4-40cd-460d-ba73-5d28b8b3eb19 still in use: Unable to complete operation on network 54b5e7f4-40cd-460d-ba73-5d28b8b3eb19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-53e98e99-d36d-431d-b591-eca826823345'] 2025-10-22 08:26:29,536 - WARNING - Deleting VN ctest-vn-88123184 failed..Will retry 2025-10-22 08:26:31,637 - DEBUG - Response for deleting network () 2025-10-22 08:26:31,637 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2db4d6e0-1cb0-4502-9dd6-f5c3ad62e6f9 2025-10-22 08:26:31,648 - DEBUG - Response Code: 404 2025-10-22 08:26:31,648 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 08:26:31,654 - DEBUG - Requesting: http://10.0.0.141:8082/domain/df5e11c4-a1d4-42ad-a3e9-10e45e18461a 2025-10-22 08:26:31,708 - DEBUG - Requesting: http://10.0.0.141:8082/project/88e8b6dd-2263-4574-81c9-d39ace497807 2025-10-22 08:26:31,776 - INFO - Validated that VN ctest-vn-88123184 is not found in API Server 2025-10-22 08:26:31,786 - DEBUG - VN ctest-vn-88123184 is not present in Agent 10.0.0.141 2025-10-22 08:26:31,786 - INFO - Validated that VN ctest-vn-88123184 is not in any agent 2025-10-22 08:26:31,800 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88123184 info 2025-10-22 08:26:31,800 - INFO - Deleting VN ctest-vn-38821319 2025-10-22 08:26:31,903 - DEBUG - Response for deleting network () 2025-10-22 08:26:31,903 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1cb2c54c-e121-40b9-be3c-97169e77b0a9 2025-10-22 08:26:31,912 - DEBUG - Response Code: 404 2025-10-22 08:26:31,912 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 08:26:31,918 - DEBUG - Requesting: http://10.0.0.141:8082/domain/df5e11c4-a1d4-42ad-a3e9-10e45e18461a 2025-10-22 08:26:31,972 - DEBUG - Requesting: http://10.0.0.141:8082/project/88e8b6dd-2263-4574-81c9-d39ace497807 2025-10-22 08:26:32,048 - INFO - Validated that VN ctest-vn-38821319 is not found in API Server 2025-10-22 08:26:32,059 - DEBUG - VN ctest-vn-38821319 is not present in Agent 10.0.0.141 2025-10-22 08:26:32,059 - INFO - Validated that VN ctest-vn-38821319 is not in any agent 2025-10-22 08:26:32,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38821319 info 2025-10-22 08:26:32,328 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 08:26:32,328 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-22 08:26:32,328 - INFO - -------------------------------------------------------------------------------- 2025-10-22 08:26:33,000 - INFO - Deleted project: ctest-TestBasicPolicy-04762940, ID : 88e8b6dd-2263-4574-81c9-d39ace497807