2025-07-16 17:16:13,187 - INFO - Domain Default found not creating 2025-07-16 17:16:13,331 - INFO - Project ctest-TestBasicPolicy-97276240 not found, creating it 2025-07-16 17:16:13,797 - INFO - Created Project:ctest-TestBasicPolicy-97276240, ID : 7c0080c3-8437-4d79-ba9a-c2e127c2ff70 2025-07-16 17:16:15,280 - INFO - ================================================================================ 2025-07-16 17:16:15,280 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-16 17:16:15,280 - 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-07-16 17:16:15,534 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.18': '0'}} with 2025-07-16 17:16:15,535 - INFO - Initial checks done. Running the testcase now 2025-07-16 17:16:15,535 - INFO - 2025-07-16 17:16:16,103 - DEBUG - Response for create_network : {'network': {'id': 'bdf5ce96-0348-43f3-87c8-a1f7addc92c8', 'name': 'ctest-vn-35405290', 'tenant_id': '7c0080c384374d79ba9ac2e127c2ff70', 'project_id': '7c0080c384374d79ba9ac2e127c2ff70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97276240', 'ctest-vn-35405290'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 17:16:16,282 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b5749d7-f294-4273-9f2b-670693672209', 'name': '', 'tenant_id': '7c0080c384374d79ba9ac2e127c2ff70', 'network_id': 'bdf5ce96-0348-43f3-87c8-a1f7addc92c8', 'ip_version': 4, 'cidr': '74.48.16.128/26', 'allocation_pools': [{'start': '74.48.16.130', 'end': '74.48.16.190'}], 'gateway_ip': '74.48.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.48.16.130', 'tags': [], 'project_id': '7c0080c384374d79ba9ac2e127c2ff70'}} 2025-07-16 17:16:16,300 - INFO - Created VN ctest-vn-35405290 2025-07-16 17:16:16,351 - DEBUG - VN ctest-vn-35405290 UUID is bdf5ce96-0348-43f3-87c8-a1f7addc92c8 2025-07-16 17:16:16,676 - DEBUG - Response for create_network : {'network': {'id': '592e5541-9071-4e80-8a4d-1c9f2af941d1', 'name': 'ctest-vn-83827956', 'tenant_id': '7c0080c384374d79ba9ac2e127c2ff70', 'project_id': '7c0080c384374d79ba9ac2e127c2ff70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97276240', 'ctest-vn-83827956'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 17:16:16,829 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e697413-9c8e-4a56-8758-dc67fd029747', 'name': '', 'tenant_id': '7c0080c384374d79ba9ac2e127c2ff70', 'network_id': '592e5541-9071-4e80-8a4d-1c9f2af941d1', 'ip_version': 4, 'cidr': '204.203.23.192/26', 'allocation_pools': [{'start': '204.203.23.194', 'end': '204.203.23.254'}], 'gateway_ip': '204.203.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.203.23.194', 'tags': [], 'project_id': '7c0080c384374d79ba9ac2e127c2ff70'}} 2025-07-16 17:16:16,848 - INFO - Created VN ctest-vn-83827956 2025-07-16 17:16:16,903 - DEBUG - VN ctest-vn-83827956 UUID is 592e5541-9071-4e80-8a4d-1c9f2af941d1 2025-07-16 17:16:17,016 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-35405290, 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-97276240:ctest-vn-83827956, 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-07-16 17:16:17,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bdf5ce96-0348-43f3-87c8-a1f7addc92c8', 'name': 'ctest-vn-35405290', 'tenant_id': '7c0080c384374d79ba9ac2e127c2ff70', 'project_id': '7c0080c384374d79ba9ac2e127c2ff70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b5749d7-f294-4273-9f2b-670693672209'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97276240', 'ctest-vn-35405290'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97276240', 'ctest-policy-allow-all-83612034']], 'subnet_ipam': [{'subnet_cidr': '74.48.16.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-16 17:16:17,568 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '592e5541-9071-4e80-8a4d-1c9f2af941d1', 'name': 'ctest-vn-83827956', 'tenant_id': '7c0080c384374d79ba9ac2e127c2ff70', 'project_id': '7c0080c384374d79ba9ac2e127c2ff70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e697413-9c8e-4a56-8758-dc67fd029747'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97276240', 'ctest-vn-83827956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97276240', 'ctest-policy-allow-all-83612034']], 'subnet_ipam': [{'subnet_cidr': '204.203.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-16 17:16:17,731 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 17:16:18,026 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 17:16:18,054 - DEBUG - Requesting: http://10.0.0.241:8082/domain/76053c12-2658-44f5-8a2e-635878ac7110 2025-07-16 17:16:18,070 - DEBUG - Requesting: http://10.0.0.241:8082/project/7c0080c3-8437-4d79-ba9a-c2e127c2ff70 2025-07-16 17:16:18,149 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/bdf5ce96-0348-43f3-87c8-a1f7addc92c8 2025-07-16 17:16:18,162 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/bdf5ce96-0348-43f3-87c8-a1f7addc92c8 2025-07-16 17:16:18,173 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c3d9f9f3-5af6-45f7-89d4-ab5a9785a2f3 2025-07-16 17:16:18,182 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c3d9f9f3-5af6-45f7-89d4-ab5a9785a2f3 2025-07-16 17:16:18,190 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/4256175e-4880-409f-9970-e5f6896280f1 2025-07-16 17:16:18,197 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-16 17:16:18,197 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/bdf5ce96-0348-43f3-87c8-a1f7addc92c8 2025-07-16 17:16:18,207 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c3d9f9f3-5af6-45f7-89d4-ab5a9785a2f3 2025-07-16 17:16:18,224 - INFO - Verified VN network id 8 for VN bdf5ce96-0348-43f3-87c8-a1f7addc92c8 2025-07-16 17:16:18,224 - INFO - Verifications in API Server for VN ctest-vn-35405290 passed 2025-07-16 17:16:18,224 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/bdf5ce96-0348-43f3-87c8-a1f7addc92c8 2025-07-16 17:16:18,236 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c3d9f9f3-5af6-45f7-89d4-ab5a9785a2f3 2025-07-16 17:16:18,244 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c3d9f9f3-5af6-45f7-89d4-ab5a9785a2f3 2025-07-16 17:16:18,253 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/4256175e-4880-409f-9970-e5f6896280f1 2025-07-16 17:16:18,265 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-35405290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97276240', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13688073786157974515', 'uuid-lslong': '9784248275608310472'}, 'enable': 'true', 'created': '2025-07-16T17:16:16', 'last-modified': '2025-07-16T17:16:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970502'} 2025-07-16 17:16:18,273 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-16 17:16:18,273 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35405290 passed 2025-07-16 17:16:18,273 - DEBUG - ====Verifying policy data for ctest-vn-35405290 in API_Server ====== 2025-07-16 17:16:18,273 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 17:16:18,279 - DEBUG - Requesting: http://10.0.0.241:8082/domain/76053c12-2658-44f5-8a2e-635878ac7110 2025-07-16 17:16:18,291 - DEBUG - Requesting: http://10.0.0.241:8082/project/7c0080c3-8437-4d79-ba9a-c2e127c2ff70 2025-07-16 17:16:18,364 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/bdf5ce96-0348-43f3-87c8-a1f7addc92c8 2025-07-16 17:16:18,374 - DEBUG - ==>Verifying data for policy with id: 5c57b758-8f53-45aa-9112-3f318d9e31c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-97276240', 'ctest-policy-allow-all-83612034'] 2025-07-16 17:16:18,374 - INFO - VN ctest-vn-35405290 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-16 17:16:18,374 - DEBUG - Verifying the vn in opserver 2025-07-16 17:16:18,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-35405290 virtual network link through opserver 10.0.0.241 2025-07-16 17:16:18,375 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-07-16 17:16:18,668 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-07-16 17:16:18,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-35405290', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-35405290?flat'} 2025-07-16 17:16:18,731 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-35405290 is found in opserver 2025-07-16 17:16:18,743 - DEBUG - Do not have enough data to verify VN in agent 2025-07-16 17:16:18,748 - DEBUG - VRF ids for VN ctest-vn-35405290: {} 2025-07-16 17:16:18,748 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 17:16:18,755 - DEBUG - Requesting: http://10.0.0.241:8082/domain/76053c12-2658-44f5-8a2e-635878ac7110 2025-07-16 17:16:18,769 - DEBUG - Requesting: http://10.0.0.241:8082/project/7c0080c3-8437-4d79-ba9a-c2e127c2ff70 2025-07-16 17:16:18,846 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/592e5541-9071-4e80-8a4d-1c9f2af941d1 2025-07-16 17:16:18,860 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/592e5541-9071-4e80-8a4d-1c9f2af941d1 2025-07-16 17:16:18,872 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/78ce11ff-5150-4fe6-9685-ecd8afd3f4c5 2025-07-16 17:16:18,882 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/78ce11ff-5150-4fe6-9685-ecd8afd3f4c5 2025-07-16 17:16:18,892 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/1d86c2c7-e77c-4d22-96f0-17691cdd04e5 2025-07-16 17:16:18,901 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-16 17:16:18,901 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/592e5541-9071-4e80-8a4d-1c9f2af941d1 2025-07-16 17:16:18,913 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/78ce11ff-5150-4fe6-9685-ecd8afd3f4c5 2025-07-16 17:16:18,933 - INFO - Verified VN network id 9 for VN 592e5541-9071-4e80-8a4d-1c9f2af941d1 2025-07-16 17:16:18,933 - INFO - Verifications in API Server for VN ctest-vn-83827956 passed 2025-07-16 17:16:18,933 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/592e5541-9071-4e80-8a4d-1c9f2af941d1 2025-07-16 17:16:18,944 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/78ce11ff-5150-4fe6-9685-ecd8afd3f4c5 2025-07-16 17:16:18,952 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/78ce11ff-5150-4fe6-9685-ecd8afd3f4c5 2025-07-16 17:16:18,960 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/1d86c2c7-e77c-4d22-96f0-17691cdd04e5 2025-07-16 17:16:18,973 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-83827956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97276240', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6426167458388856448', 'uuid-lslong': '9965653020387131857'}, 'enable': 'true', 'created': '2025-07-16T17:16:16', 'last-modified': '2025-07-16T17:16:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438662'} 2025-07-16 17:16:18,981 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-16 17:16:18,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83827956 passed 2025-07-16 17:16:18,981 - DEBUG - ====Verifying policy data for ctest-vn-83827956 in API_Server ====== 2025-07-16 17:16:18,981 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 17:16:18,987 - DEBUG - Requesting: http://10.0.0.241:8082/domain/76053c12-2658-44f5-8a2e-635878ac7110 2025-07-16 17:16:19,001 - DEBUG - Requesting: http://10.0.0.241:8082/project/7c0080c3-8437-4d79-ba9a-c2e127c2ff70 2025-07-16 17:16:19,081 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/592e5541-9071-4e80-8a4d-1c9f2af941d1 2025-07-16 17:16:19,092 - DEBUG - ==>Verifying data for policy with id: 5c57b758-8f53-45aa-9112-3f318d9e31c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-97276240', 'ctest-policy-allow-all-83612034'] 2025-07-16 17:16:19,092 - INFO - VN ctest-vn-83827956 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-16 17:16:19,092 - DEBUG - Verifying the vn in opserver 2025-07-16 17:16:19,092 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-83827956 virtual network link through opserver 10.0.0.241 2025-07-16 17:16:19,092 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-07-16 17:16:19,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-83827956', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-83827956?flat'} 2025-07-16 17:16:19,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-83827956 is found in opserver 2025-07-16 17:16:19,114 - DEBUG - Do not have enough data to verify VN in agent 2025-07-16 17:16:19,120 - DEBUG - VRF ids for VN ctest-vn-83827956: {} 2025-07-16 17:16:19,182 - DEBUG - Services list from nova: [, , ] 2025-07-16 17:16:20,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3646-1) 2025-07-16 17:16:21,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3646-1) 2025-07-16 17:16:21,431 - INFO - Waiting for VM ctest-TestBasicPolicy-97276240-10978851 to be up.. 2025-07-16 17:16:21,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-16 17:16:26,600 - DEBUG - VM is in ACTIVE state now 2025-07-16 17:16:26,600 - INFO - VM name : ctest-TestBasicPolicy-97276240-10978851 2025-07-16 17:16:26,669 - DEBUG - VM ctest-TestBasicPolicy-97276240-10978851 ID is 4be96c97-7396-4286-8e94-07626cbcf65c 2025-07-16 17:16:26,688 - DEBUG - VM ctest-TestBasicPolicy-97276240-10978851 launched on Node cn-jenkins-deploy-platform-ansible-os-3646-1 2025-07-16 17:16:26,756 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/4be96c97-7396-4286-8e94-07626cbcf65c 2025-07-16 17:16:26,765 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/1df718e0-5317-4982-9ab1-45189e3e581f 2025-07-16 17:16:30,013 - 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 1014ms') 2025-07-16 17:16:30,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97276240-10978851 failed! 2025-07-16 17:16:30,067 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97276240:ctest-vn-35405290 is 74.48.16.129 and allocation pool is NOT set 2025-07-16 17:16:32,130 - 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=2.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 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.392/1.433/2.475/1.041 ms') 2025-07-16 17:16:32,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97276240-10978851 passed 2025-07-16 17:16:32,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 17:16:32,287 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97276240-10978851, IP 74.48.16.131, Port 22 2025-07-16 17:16:32,451 - DEBUG - VM ctest-TestBasicPolicy-97276240-10978851 is ready for SSH connections 2025-07-16 17:16:32,451 - INFO - Waiting for VM ctest-TestBasicPolicy-97276240-73778463 to be up.. 2025-07-16 17:16:32,527 - DEBUG - VM is in ACTIVE state now 2025-07-16 17:16:32,527 - INFO - VM name : ctest-TestBasicPolicy-97276240-73778463 2025-07-16 17:16:32,598 - DEBUG - VM ctest-TestBasicPolicy-97276240-73778463 ID is ffd90d9e-90e4-4400-b9dc-d66b0eb9ef7d 2025-07-16 17:16:32,598 - DEBUG - VM ctest-TestBasicPolicy-97276240-73778463 launched on Node cn-jenkins-deploy-platform-ansible-os-3646-1 2025-07-16 17:16:32,672 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ffd90d9e-90e4-4400-b9dc-d66b0eb9ef7d 2025-07-16 17:16:32,681 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/b638c6da-e9c4-4d13-9921-e082d1ac206d 2025-07-16 17:16:33,928 - 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=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.608 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.608/1.615/2.623/1.007 ms') 2025-07-16 17:16:33,928 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97276240-73778463 passed 2025-07-16 17:16:34,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 17:16:34,083 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97276240-73778463, IP 204.203.23.195, Port 22 2025-07-16 17:16:34,242 - DEBUG - VM ctest-TestBasicPolicy-97276240-73778463 is ready for SSH connections 2025-07-16 17:16:34,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 17:16:34,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.203.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-16 17:16:34,243 - DEBUG - ping -s 56 -c 3 -W 1 204.203.23.195 2025-07-16 17:16:37,921 - DEBUG - PING 204.203.23.195 (204.203.23.195): 56 data bytes 64 bytes from 204.203.23.195: seq=0 ttl=63 time=3.257 ms 64 bytes from 204.203.23.195: seq=1 ttl=63 time=0.798 ms 64 bytes from 204.203.23.195: seq=2 ttl=63 time=0.806 ms --- 204.203.23.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.620/3.257 ms 2025-07-16 17:16:37,921 - INFO - Ping to IP 204.203.23.195 from VM ctest-TestBasicPolicy-97276240-10978851 passed 2025-07-16 17:16:38,107 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5c57b758-8f53-45aa-9112-3f318d9e31c8", "href": "http://10.0.0.241:8082/network-policy/5c57b758-8f53-45aa-9112-3f318d9e31c8"}} 2025-07-16 17:16:38,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 17:16:38,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.203.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-16 17:16:38,107 - DEBUG - ping -s 56 -c 3 -W 1 204.203.23.195 2025-07-16 17:16:41,316 - DEBUG - PING 204.203.23.195 (204.203.23.195): 56 data bytes --- 204.203.23.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-16 17:16:41,316 - WARNING - Ping to IP 204.203.23.195 from VM ctest-TestBasicPolicy-97276240-10978851 failed 2025-07-16 17:16:41,316 - INFO - Deleting VM ctest-TestBasicPolicy-97276240-73778463 2025-07-16 17:16:41,381 - INFO - Deleting VM ctest-TestBasicPolicy-97276240-10978851 2025-07-16 17:16:41,773 - INFO - Deleted policy ctest-policy-allow-all-83612034 2025-07-16 17:16:41,773 - INFO - Deleting VN ctest-vn-83827956 2025-07-16 17:16:41,806 - DEBUG - VN 592e5541-9071-4e80-8a4d-1c9f2af941d1 still in use: Unable to complete operation on network 592e5541-9071-4e80-8a4d-1c9f2af941d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa78a20b-b33e-4048-9608-e89783ad284e'] 2025-07-16 17:16:41,807 - WARNING - Deleting VN ctest-vn-83827956 failed..Will retry 2025-07-16 17:16:43,912 - DEBUG - Response for deleting network () 2025-07-16 17:16:43,913 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/78ce11ff-5150-4fe6-9685-ecd8afd3f4c5 2025-07-16 17:16:43,918 - DEBUG - Response Code: 404 2025-07-16 17:16:43,918 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 17:16:43,927 - DEBUG - Requesting: http://10.0.0.241:8082/domain/76053c12-2658-44f5-8a2e-635878ac7110 2025-07-16 17:16:43,980 - DEBUG - Requesting: http://10.0.0.241:8082/project/7c0080c3-8437-4d79-ba9a-c2e127c2ff70 2025-07-16 17:16:44,061 - INFO - Validated that VN ctest-vn-83827956 is not found in API Server 2025-07-16 17:16:44,074 - DEBUG - VN ctest-vn-83827956 is not present in Agent 10.0.0.241 2025-07-16 17:16:44,074 - INFO - Validated that VN ctest-vn-83827956 is not in any agent 2025-07-16 17:16:44,090 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83827956 info 2025-07-16 17:16:44,090 - INFO - Deleting VN ctest-vn-35405290 2025-07-16 17:16:44,184 - DEBUG - Response for deleting network () 2025-07-16 17:16:44,184 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c3d9f9f3-5af6-45f7-89d4-ab5a9785a2f3 2025-07-16 17:16:44,190 - DEBUG - Response Code: 404 2025-07-16 17:16:44,190 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 17:16:44,199 - DEBUG - Requesting: http://10.0.0.241:8082/domain/76053c12-2658-44f5-8a2e-635878ac7110 2025-07-16 17:16:44,252 - DEBUG - Requesting: http://10.0.0.241:8082/project/7c0080c3-8437-4d79-ba9a-c2e127c2ff70 2025-07-16 17:16:44,325 - INFO - Validated that VN ctest-vn-35405290 is not found in API Server 2025-07-16 17:16:44,336 - DEBUG - VN ctest-vn-35405290 is not present in Agent 10.0.0.241 2025-07-16 17:16:44,336 - INFO - Validated that VN ctest-vn-35405290 is not in any agent 2025-07-16 17:16:44,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35405290 info 2025-07-16 17:16:44,609 - DEBUG - No XMPP flaps were noticed during the test 2025-07-16 17:16:44,609 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-16 17:16:44,609 - INFO - -------------------------------------------------------------------------------- 2025-07-16 17:16:45,284 - INFO - Deleted project: ctest-TestBasicPolicy-97276240, ID : 7c0080c3-8437-4d79-ba9a-c2e127c2ff70