2025-08-10 20:43:00,223 - INFO - Domain Default found not creating 2025-08-10 20:43:00,332 - INFO - Project ctest-TestBasicPolicy-54661723 not found, creating it 2025-08-10 20:43:00,832 - INFO - Created Project:ctest-TestBasicPolicy-54661723, ID : a1b778a0-3cd9-4564-b17b-2d99ca8fea23 2025-08-10 20:43:02,193 - INFO - ================================================================================ 2025-08-10 20:43:02,193 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-10 20:43:02,193 - 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-08-10 20:43:02,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-08-10 20:43:02,440 - INFO - Initial checks done. Running the testcase now 2025-08-10 20:43:02,440 - INFO - 2025-08-10 20:43:02,953 - DEBUG - Response for create_network : {'network': {'id': 'e00fc3a2-92e3-4812-bbb9-86a00f73b6bc', 'name': 'ctest-vn-76611390', 'tenant_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'project_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54661723', 'ctest-vn-76611390'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:43:03,095 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab73e402-985f-4af3-8d1a-17a74a945af7', 'name': '', 'tenant_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'network_id': 'e00fc3a2-92e3-4812-bbb9-86a00f73b6bc', 'ip_version': 4, 'cidr': '158.246.35.192/26', 'allocation_pools': [{'start': '158.246.35.194', 'end': '158.246.35.254'}], 'gateway_ip': '158.246.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.246.35.194', 'tags': [], 'project_id': 'a1b778a03cd94564b17b2d99ca8fea23'}} 2025-08-10 20:43:03,110 - INFO - Created VN ctest-vn-76611390 2025-08-10 20:43:03,160 - DEBUG - VN ctest-vn-76611390 UUID is e00fc3a2-92e3-4812-bbb9-86a00f73b6bc 2025-08-10 20:43:03,454 - DEBUG - Response for create_network : {'network': {'id': '94240b36-0743-43ac-a513-3d8710377830', 'name': 'ctest-vn-21213699', 'tenant_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'project_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54661723', 'ctest-vn-21213699'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:43:03,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '691143e8-0f4f-4596-a4d1-97e6fa7bb6bc', 'name': '', 'tenant_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'network_id': '94240b36-0743-43ac-a513-3d8710377830', 'ip_version': 4, 'cidr': '48.31.13.192/26', 'allocation_pools': [{'start': '48.31.13.194', 'end': '48.31.13.254'}], 'gateway_ip': '48.31.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.31.13.194', 'tags': [], 'project_id': 'a1b778a03cd94564b17b2d99ca8fea23'}} 2025-08-10 20:43:03,630 - INFO - Created VN ctest-vn-21213699 2025-08-10 20:43:03,684 - DEBUG - VN ctest-vn-21213699 UUID is 94240b36-0743-43ac-a513-3d8710377830 2025-08-10 20:43:03,828 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-76611390, 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-54661723:ctest-vn-21213699, 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-08-10 20:43:04,107 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e00fc3a2-92e3-4812-bbb9-86a00f73b6bc', 'name': 'ctest-vn-76611390', 'tenant_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'project_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab73e402-985f-4af3-8d1a-17a74a945af7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54661723', 'ctest-vn-76611390'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54661723', 'ctest-policy-allow-all-43341635']], 'subnet_ipam': [{'subnet_cidr': '158.246.35.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:43:04,330 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '94240b36-0743-43ac-a513-3d8710377830', 'name': 'ctest-vn-21213699', 'tenant_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'project_id': 'a1b778a03cd94564b17b2d99ca8fea23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['691143e8-0f4f-4596-a4d1-97e6fa7bb6bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54661723', 'ctest-vn-21213699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54661723', 'ctest-policy-allow-all-43341635']], 'subnet_ipam': [{'subnet_cidr': '48.31.13.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:43:04,496 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-10 20:43:04,785 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-10 20:43:04,811 - DEBUG - Requesting: http://10.0.0.57:8082/domain/603f953e-f3df-4038-9b2b-21482e2b3f5a 2025-08-10 20:43:04,822 - DEBUG - Requesting: http://10.0.0.57:8082/project/a1b778a0-3cd9-4564-b17b-2d99ca8fea23 2025-08-10 20:43:04,895 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/e00fc3a2-92e3-4812-bbb9-86a00f73b6bc 2025-08-10 20:43:04,905 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/e00fc3a2-92e3-4812-bbb9-86a00f73b6bc 2025-08-10 20:43:04,913 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1fa7e02f-8d98-4945-81ff-33ac7e12dbb1 2025-08-10 20:43:04,919 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1fa7e02f-8d98-4945-81ff-33ac7e12dbb1 2025-08-10 20:43:04,925 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/f07da330-2eba-4781-9851-84f49028492b 2025-08-10 20:43:04,931 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-10 20:43:04,931 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/e00fc3a2-92e3-4812-bbb9-86a00f73b6bc 2025-08-10 20:43:04,939 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1fa7e02f-8d98-4945-81ff-33ac7e12dbb1 2025-08-10 20:43:04,952 - INFO - Verified VN network id 12 for VN e00fc3a2-92e3-4812-bbb9-86a00f73b6bc 2025-08-10 20:43:04,952 - INFO - Verifications in API Server for VN ctest-vn-76611390 passed 2025-08-10 20:43:04,952 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/e00fc3a2-92e3-4812-bbb9-86a00f73b6bc 2025-08-10 20:43:04,961 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1fa7e02f-8d98-4945-81ff-33ac7e12dbb1 2025-08-10 20:43:04,966 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1fa7e02f-8d98-4945-81ff-33ac7e12dbb1 2025-08-10 20:43:04,972 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/f07da330-2eba-4781-9851-84f49028492b 2025-08-10 20:43:04,983 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-76611390', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54661723', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16145338292163004434', 'uuid-lslong': '13526990977796126396'}, 'enable': 'true', 'created': '2025-08-10T20:43:02', 'last-modified': '2025-08-10T20:43:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897047'} 2025-08-10 20:43:04,988 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-10 20:43:04,988 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76611390 passed 2025-08-10 20:43:04,989 - DEBUG - ====Verifying policy data for ctest-vn-76611390 in API_Server ====== 2025-08-10 20:43:04,989 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-10 20:43:04,993 - DEBUG - Requesting: http://10.0.0.57:8082/domain/603f953e-f3df-4038-9b2b-21482e2b3f5a 2025-08-10 20:43:05,003 - DEBUG - Requesting: http://10.0.0.57:8082/project/a1b778a0-3cd9-4564-b17b-2d99ca8fea23 2025-08-10 20:43:05,069 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/e00fc3a2-92e3-4812-bbb9-86a00f73b6bc 2025-08-10 20:43:05,078 - DEBUG - ==>Verifying data for policy with id: dcbe9c19-f6dd-4aab-9885-773ace82b31a, fqn: ['default-domain', 'ctest-TestBasicPolicy-54661723', 'ctest-policy-allow-all-43341635'] 2025-08-10 20:43:05,078 - INFO - VN ctest-vn-76611390 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-10 20:43:05,078 - DEBUG - Verifying the vn in opserver 2025-08-10 20:43:05,078 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-76611390 virtual network link through opserver 10.0.0.57 2025-08-10 20:43:05,079 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-10 20:43:05,364 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-10 20:43:05,411 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-76611390', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-76611390?flat'} 2025-08-10 20:43:05,411 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-76611390 is found in opserver 2025-08-10 20:43:05,420 - DEBUG - Do not have enough data to verify VN in agent 2025-08-10 20:43:05,425 - DEBUG - VRF ids for VN ctest-vn-76611390: {} 2025-08-10 20:43:05,425 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-10 20:43:05,430 - DEBUG - Requesting: http://10.0.0.57:8082/domain/603f953e-f3df-4038-9b2b-21482e2b3f5a 2025-08-10 20:43:05,440 - DEBUG - Requesting: http://10.0.0.57:8082/project/a1b778a0-3cd9-4564-b17b-2d99ca8fea23 2025-08-10 20:43:05,508 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94240b36-0743-43ac-a513-3d8710377830 2025-08-10 20:43:05,519 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94240b36-0743-43ac-a513-3d8710377830 2025-08-10 20:43:05,527 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3389c942-db17-4b4c-80a9-6efc82fa552a 2025-08-10 20:43:05,533 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3389c942-db17-4b4c-80a9-6efc82fa552a 2025-08-10 20:43:05,539 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/785b170d-ee51-4254-929d-8574df2435b8 2025-08-10 20:43:05,545 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-10 20:43:05,545 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94240b36-0743-43ac-a513-3d8710377830 2025-08-10 20:43:05,553 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3389c942-db17-4b4c-80a9-6efc82fa552a 2025-08-10 20:43:05,565 - INFO - Verified VN network id 13 for VN 94240b36-0743-43ac-a513-3d8710377830 2025-08-10 20:43:05,565 - INFO - Verifications in API Server for VN ctest-vn-21213699 passed 2025-08-10 20:43:05,565 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94240b36-0743-43ac-a513-3d8710377830 2025-08-10 20:43:05,573 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3389c942-db17-4b4c-80a9-6efc82fa552a 2025-08-10 20:43:05,579 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3389c942-db17-4b4c-80a9-6efc82fa552a 2025-08-10 20:43:05,585 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/785b170d-ee51-4254-929d-8574df2435b8 2025-08-10 20:43:05,595 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-21213699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54661723', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10674669343452906412', 'uuid-lslong': '11894918691117561904'}, 'enable': 'true', 'created': '2025-08-10T20:43:03', 'last-modified': '2025-08-10T20:43:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.285011'} 2025-08-10 20:43:05,601 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-10 20:43:05,601 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21213699 passed 2025-08-10 20:43:05,601 - DEBUG - ====Verifying policy data for ctest-vn-21213699 in API_Server ====== 2025-08-10 20:43:05,601 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-10 20:43:05,605 - DEBUG - Requesting: http://10.0.0.57:8082/domain/603f953e-f3df-4038-9b2b-21482e2b3f5a 2025-08-10 20:43:05,615 - DEBUG - Requesting: http://10.0.0.57:8082/project/a1b778a0-3cd9-4564-b17b-2d99ca8fea23 2025-08-10 20:43:05,684 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94240b36-0743-43ac-a513-3d8710377830 2025-08-10 20:43:05,693 - DEBUG - ==>Verifying data for policy with id: dcbe9c19-f6dd-4aab-9885-773ace82b31a, fqn: ['default-domain', 'ctest-TestBasicPolicy-54661723', 'ctest-policy-allow-all-43341635'] 2025-08-10 20:43:05,693 - INFO - VN ctest-vn-21213699 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-10 20:43:05,693 - DEBUG - Verifying the vn in opserver 2025-08-10 20:43:05,694 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-21213699 virtual network link through opserver 10.0.0.57 2025-08-10 20:43:05,694 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-10 20:43:05,703 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-21213699', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-21213699?flat'} 2025-08-10 20:43:05,703 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-21213699 is found in opserver 2025-08-10 20:43:05,713 - DEBUG - Do not have enough data to verify VN in agent 2025-08-10 20:43:05,718 - DEBUG - VRF ids for VN ctest-vn-21213699: {} 2025-08-10 20:43:05,770 - DEBUG - Services list from nova: [, , ] 2025-08-10 20:43:06,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3789-1) 2025-08-10 20:43:07,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3789-1) 2025-08-10 20:43:07,738 - INFO - Waiting for VM ctest-TestBasicPolicy-54661723-72874898 to be up.. 2025-08-10 20:43:07,801 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 20:43:12,864 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:43:12,864 - INFO - VM name : ctest-TestBasicPolicy-54661723-72874898 2025-08-10 20:43:12,925 - DEBUG - VM ctest-TestBasicPolicy-54661723-72874898 ID is 1ae9e7ba-0176-453b-aacd-d795535ecbf1 2025-08-10 20:43:12,941 - DEBUG - VM ctest-TestBasicPolicy-54661723-72874898 launched on Node cn-jenkins-deploy-platform-ansible-os-3789-1 2025-08-10 20:43:12,994 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1ae9e7ba-0176-453b-aacd-d795535ecbf1 2025-08-10 20:43:13,002 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/165da06f-9c33-4a54-a123-b592edd9abd0 2025-08-10 20:43:16,240 - 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 1007ms') 2025-08-10 20:43:16,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54661723-72874898 failed! 2025-08-10 20:43:16,292 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54661723:ctest-vn-76611390 is 158.246.35.193 and allocation pool is NOT set 2025-08-10 20:43:18,345 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.350 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.350/1.467/2.585/1.117 ms') 2025-08-10 20:43:18,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54661723-72874898 passed 2025-08-10 20:43:18,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:43:18,492 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54661723-72874898, IP 158.246.35.195, Port 22 2025-08-10 20:43:18,643 - DEBUG - VM ctest-TestBasicPolicy-54661723-72874898 is ready for SSH connections 2025-08-10 20:43:18,643 - INFO - Waiting for VM ctest-TestBasicPolicy-54661723-25240270 to be up.. 2025-08-10 20:43:18,705 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:43:18,705 - INFO - VM name : ctest-TestBasicPolicy-54661723-25240270 2025-08-10 20:43:18,763 - DEBUG - VM ctest-TestBasicPolicy-54661723-25240270 ID is bdbe6ce4-cfd7-4aff-b6d8-bfcc8a9ed655 2025-08-10 20:43:18,763 - DEBUG - VM ctest-TestBasicPolicy-54661723-25240270 launched on Node cn-jenkins-deploy-platform-ansible-os-3789-1 2025-08-10 20:43:18,817 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/bdbe6ce4-cfd7-4aff-b6d8-bfcc8a9ed655 2025-08-10 20:43:18,827 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/b5c0dd06-86cc-4dbb-a6b9-e11a235d156f 2025-08-10 20:43:20,054 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.349/1.882/3.415/1.533 ms') 2025-08-10 20:43:20,054 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54661723-25240270 passed 2025-08-10 20:43:20,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:43:20,200 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54661723-25240270, IP 48.31.13.195, Port 22 2025-08-10 20:43:20,355 - DEBUG - VM ctest-TestBasicPolicy-54661723-25240270 is ready for SSH connections 2025-08-10 20:43:20,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:43:20,356 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.31.13.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 20:43:20,356 - DEBUG - ping -s 56 -c 3 -W 1 48.31.13.195 2025-08-10 20:43:24,271 - DEBUG - PING 48.31.13.195 (48.31.13.195): 56 data bytes 64 bytes from 48.31.13.195: seq=0 ttl=63 time=2.876 ms 64 bytes from 48.31.13.195: seq=1 ttl=63 time=0.606 ms 64 bytes from 48.31.13.195: seq=2 ttl=63 time=0.607 ms --- 48.31.13.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.606/1.363/2.876 ms 2025-08-10 20:43:24,271 - INFO - Ping to IP 48.31.13.195 from VM ctest-TestBasicPolicy-54661723-72874898 passed 2025-08-10 20:43:24,444 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dcbe9c19-f6dd-4aab-9885-773ace82b31a", "href": "http://10.0.0.57:8082/network-policy/dcbe9c19-f6dd-4aab-9885-773ace82b31a"}} 2025-08-10 20:43:24,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:43:24,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.31.13.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 20:43:24,444 - DEBUG - ping -s 56 -c 3 -W 1 48.31.13.195 2025-08-10 20:43:27,631 - DEBUG - PING 48.31.13.195 (48.31.13.195): 56 data bytes 64 bytes from 48.31.13.195: seq=0 ttl=63 time=1.362 ms --- 48.31.13.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.362/1.362/1.362 ms 2025-08-10 20:43:27,631 - WARNING - Ping to IP 48.31.13.195 from VM ctest-TestBasicPolicy-54661723-72874898 failed 2025-08-10 20:43:27,631 - INFO - Deleting VM ctest-TestBasicPolicy-54661723-25240270 2025-08-10 20:43:27,689 - INFO - Deleting VM ctest-TestBasicPolicy-54661723-72874898 2025-08-10 20:43:28,024 - INFO - Deleted policy ctest-policy-allow-all-43341635 2025-08-10 20:43:28,024 - INFO - Deleting VN ctest-vn-21213699 2025-08-10 20:43:28,052 - DEBUG - VN 94240b36-0743-43ac-a513-3d8710377830 still in use: Unable to complete operation on network 94240b36-0743-43ac-a513-3d8710377830. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-57b8645a-0a32-4bce-8bac-7978c88d9ee9'] 2025-08-10 20:43:28,053 - WARNING - Deleting VN ctest-vn-21213699 failed..Will retry 2025-08-10 20:43:30,157 - DEBUG - Response for deleting network () 2025-08-10 20:43:30,157 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/3389c942-db17-4b4c-80a9-6efc82fa552a 2025-08-10 20:43:30,163 - DEBUG - Response Code: 404 2025-08-10 20:43:30,163 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-10 20:43:30,168 - DEBUG - Requesting: http://10.0.0.57:8082/domain/603f953e-f3df-4038-9b2b-21482e2b3f5a 2025-08-10 20:43:30,224 - DEBUG - Requesting: http://10.0.0.57:8082/project/a1b778a0-3cd9-4564-b17b-2d99ca8fea23 2025-08-10 20:43:30,291 - INFO - Validated that VN ctest-vn-21213699 is not found in API Server 2025-08-10 20:43:30,301 - DEBUG - VN ctest-vn-21213699 is not present in Agent 10.0.0.57 2025-08-10 20:43:30,301 - INFO - Validated that VN ctest-vn-21213699 is not in any agent 2025-08-10 20:43:30,314 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21213699 info 2025-08-10 20:43:30,314 - INFO - Deleting VN ctest-vn-76611390 2025-08-10 20:43:30,397 - DEBUG - Response for deleting network () 2025-08-10 20:43:30,397 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1fa7e02f-8d98-4945-81ff-33ac7e12dbb1 2025-08-10 20:43:30,405 - DEBUG - Response Code: 404 2025-08-10 20:43:30,405 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-10 20:43:30,409 - DEBUG - Requesting: http://10.0.0.57:8082/domain/603f953e-f3df-4038-9b2b-21482e2b3f5a 2025-08-10 20:43:30,460 - DEBUG - Requesting: http://10.0.0.57:8082/project/a1b778a0-3cd9-4564-b17b-2d99ca8fea23 2025-08-10 20:43:30,528 - INFO - Validated that VN ctest-vn-76611390 is not found in API Server 2025-08-10 20:43:30,538 - DEBUG - VN ctest-vn-76611390 is not present in Agent 10.0.0.57 2025-08-10 20:43:30,538 - INFO - Validated that VN ctest-vn-76611390 is not in any agent 2025-08-10 20:43:30,553 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76611390 info 2025-08-10 20:43:30,809 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 20:43:30,809 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-08-10 20:43:30,809 - INFO - -------------------------------------------------------------------------------- 2025-08-10 20:43:31,471 - INFO - Deleted project: ctest-TestBasicPolicy-54661723, ID : a1b778a0-3cd9-4564-b17b-2d99ca8fea23