2025-05-14 14:51:05,338 - INFO - Domain Default found not creating 2025-05-14 14:51:05,459 - INFO - Project ctest-TestBasicPolicy-70865833 not found, creating it 2025-05-14 14:51:05,897 - INFO - Created Project:ctest-TestBasicPolicy-70865833, ID : 6c24f917-f14e-4aa0-9544-17b59f12bc49 2025-05-14 14:51:07,288 - INFO - ================================================================================ 2025-05-14 14:51:07,288 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-14 14:51:07,288 - 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-05-14 14:51:07,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-14 14:51:07,542 - INFO - Initial checks done. Running the testcase now 2025-05-14 14:51:07,542 - INFO - 2025-05-14 14:51:08,104 - DEBUG - Response for create_network : {'network': {'id': '86b8d035-6f62-4517-8079-83d48a4865cf', 'name': 'ctest-vn-48897601', 'tenant_id': '6c24f917f14e4aa0954417b59f12bc49', 'project_id': '6c24f917f14e4aa0954417b59f12bc49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70865833', 'ctest-vn-48897601'], 'port_security_enabled': True, 'description': ''}} 2025-05-14 14:51:08,319 - DEBUG - Response for create_subnet : {'subnet': {'id': '60611d57-84c5-4b6b-9cf3-9fb4351f2abf', 'name': '', 'tenant_id': '6c24f917f14e4aa0954417b59f12bc49', 'network_id': '86b8d035-6f62-4517-8079-83d48a4865cf', 'ip_version': 4, 'cidr': '169.240.185.0/26', 'allocation_pools': [{'start': '169.240.185.2', 'end': '169.240.185.62'}], 'gateway_ip': '169.240.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.240.185.2', 'tags': [], 'project_id': '6c24f917f14e4aa0954417b59f12bc49'}} 2025-05-14 14:51:08,334 - INFO - Created VN ctest-vn-48897601 2025-05-14 14:51:08,389 - DEBUG - VN ctest-vn-48897601 UUID is 86b8d035-6f62-4517-8079-83d48a4865cf 2025-05-14 14:51:08,701 - DEBUG - Response for create_network : {'network': {'id': 'e39bbbd1-b081-48f7-8f82-f1811d6f74e7', 'name': 'ctest-vn-57810891', 'tenant_id': '6c24f917f14e4aa0954417b59f12bc49', 'project_id': '6c24f917f14e4aa0954417b59f12bc49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70865833', 'ctest-vn-57810891'], 'port_security_enabled': True, 'description': ''}} 2025-05-14 14:51:08,898 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bda5a0d4-b86f-4f7a-9d22-d712c083a81a', 'name': '', 'tenant_id': '6c24f917f14e4aa0954417b59f12bc49', 'network_id': 'e39bbbd1-b081-48f7-8f82-f1811d6f74e7', 'ip_version': 4, 'cidr': '118.38.72.128/26', 'allocation_pools': [{'start': '118.38.72.130', 'end': '118.38.72.190'}], 'gateway_ip': '118.38.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.38.72.130', 'tags': [], 'project_id': '6c24f917f14e4aa0954417b59f12bc49'}} 2025-05-14 14:51:08,914 - INFO - Created VN ctest-vn-57810891 2025-05-14 14:51:08,965 - DEBUG - VN ctest-vn-57810891 UUID is e39bbbd1-b081-48f7-8f82-f1811d6f74e7 2025-05-14 14:51:09,113 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-48897601, 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-70865833:ctest-vn-57810891, 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-05-14 14:51:09,401 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '86b8d035-6f62-4517-8079-83d48a4865cf', 'name': 'ctest-vn-48897601', 'tenant_id': '6c24f917f14e4aa0954417b59f12bc49', 'project_id': '6c24f917f14e4aa0954417b59f12bc49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60611d57-84c5-4b6b-9cf3-9fb4351f2abf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70865833', 'ctest-vn-48897601'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70865833', 'ctest-policy-allow-all-90368775']], 'subnet_ipam': [{'subnet_cidr': '169.240.185.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-14 14:51:09,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e39bbbd1-b081-48f7-8f82-f1811d6f74e7', 'name': 'ctest-vn-57810891', 'tenant_id': '6c24f917f14e4aa0954417b59f12bc49', 'project_id': '6c24f917f14e4aa0954417b59f12bc49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bda5a0d4-b86f-4f7a-9d22-d712c083a81a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70865833', 'ctest-vn-57810891'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70865833', 'ctest-policy-allow-all-90368775']], 'subnet_ipam': [{'subnet_cidr': '118.38.72.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-14 14:51:09,821 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 14:51:10,120 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 14:51:10,145 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d29b6241-f05b-4555-9046-aa103b229ee3 2025-05-14 14:51:10,157 - DEBUG - Requesting: http://10.0.0.50:8082/project/6c24f917-f14e-4aa0-9544-17b59f12bc49 2025-05-14 14:51:10,236 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/86b8d035-6f62-4517-8079-83d48a4865cf 2025-05-14 14:51:10,247 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/86b8d035-6f62-4517-8079-83d48a4865cf 2025-05-14 14:51:10,255 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d84a5f5d-6d7b-4289-935c-f366529af824 2025-05-14 14:51:10,262 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d84a5f5d-6d7b-4289-935c-f366529af824 2025-05-14 14:51:10,270 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eb95dfa2-44f2-4baa-b005-ff0a19f84ed4 2025-05-14 14:51:10,276 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-14 14:51:10,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/86b8d035-6f62-4517-8079-83d48a4865cf 2025-05-14 14:51:10,285 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d84a5f5d-6d7b-4289-935c-f366529af824 2025-05-14 14:51:10,297 - INFO - Verified VN network id 8 for VN 86b8d035-6f62-4517-8079-83d48a4865cf 2025-05-14 14:51:10,297 - INFO - Verifications in API Server for VN ctest-vn-48897601 passed 2025-05-14 14:51:10,298 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/86b8d035-6f62-4517-8079-83d48a4865cf 2025-05-14 14:51:10,306 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d84a5f5d-6d7b-4289-935c-f366529af824 2025-05-14 14:51:10,312 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d84a5f5d-6d7b-4289-935c-f366529af824 2025-05-14 14:51:10,318 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eb95dfa2-44f2-4baa-b005-ff0a19f84ed4 2025-05-14 14:51:10,328 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-48897601', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70865833', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9707737924717659415', 'uuid-lslong': '9257575457913071055'}, 'enable': 'true', 'created': '2025-05-14T14:51:08', 'last-modified': '2025-05-14T14:51:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944333'} 2025-05-14 14:51:10,334 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-14 14:51:10,334 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48897601 passed 2025-05-14 14:51:10,334 - DEBUG - ====Verifying policy data for ctest-vn-48897601 in API_Server ====== 2025-05-14 14:51:10,335 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 14:51:10,339 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d29b6241-f05b-4555-9046-aa103b229ee3 2025-05-14 14:51:10,349 - DEBUG - Requesting: http://10.0.0.50:8082/project/6c24f917-f14e-4aa0-9544-17b59f12bc49 2025-05-14 14:51:10,423 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/86b8d035-6f62-4517-8079-83d48a4865cf 2025-05-14 14:51:10,432 - DEBUG - ==>Verifying data for policy with id: 4e8da9b6-6a88-4688-9bf1-39c020b3096b, fqn: ['default-domain', 'ctest-TestBasicPolicy-70865833', 'ctest-policy-allow-all-90368775'] 2025-05-14 14:51:10,432 - INFO - VN ctest-vn-48897601 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-14 14:51:10,432 - DEBUG - Verifying the vn in opserver 2025-05-14 14:51:10,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-48897601 virtual network link through opserver 10.0.0.50 2025-05-14 14:51:10,432 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-14 14:51:10,720 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-14 14:51:10,768 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-48897601', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-48897601?flat'} 2025-05-14 14:51:10,768 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-48897601 is found in opserver 2025-05-14 14:51:10,778 - DEBUG - Do not have enough data to verify VN in agent 2025-05-14 14:51:10,782 - DEBUG - VRF ids for VN ctest-vn-48897601: {} 2025-05-14 14:51:10,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 14:51:10,789 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d29b6241-f05b-4555-9046-aa103b229ee3 2025-05-14 14:51:10,798 - DEBUG - Requesting: http://10.0.0.50:8082/project/6c24f917-f14e-4aa0-9544-17b59f12bc49 2025-05-14 14:51:10,867 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e39bbbd1-b081-48f7-8f82-f1811d6f74e7 2025-05-14 14:51:10,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e39bbbd1-b081-48f7-8f82-f1811d6f74e7 2025-05-14 14:51:10,887 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d184f-2a5b-4d45-9333-66d43d9d885f 2025-05-14 14:51:10,893 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d184f-2a5b-4d45-9333-66d43d9d885f 2025-05-14 14:51:10,899 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/238dd694-c069-40ff-8553-d2ff2d51919d 2025-05-14 14:51:10,905 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-14 14:51:10,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e39bbbd1-b081-48f7-8f82-f1811d6f74e7 2025-05-14 14:51:10,913 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d184f-2a5b-4d45-9333-66d43d9d885f 2025-05-14 14:51:10,925 - INFO - Verified VN network id 9 for VN e39bbbd1-b081-48f7-8f82-f1811d6f74e7 2025-05-14 14:51:10,926 - INFO - Verifications in API Server for VN ctest-vn-57810891 passed 2025-05-14 14:51:10,926 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e39bbbd1-b081-48f7-8f82-f1811d6f74e7 2025-05-14 14:51:10,935 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d184f-2a5b-4d45-9333-66d43d9d885f 2025-05-14 14:51:10,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d184f-2a5b-4d45-9333-66d43d9d885f 2025-05-14 14:51:10,947 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/238dd694-c069-40ff-8553-d2ff2d51919d 2025-05-14 14:51:10,958 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-57810891', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70865833', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16400908977283614967', 'uuid-lslong': '10341093231242999015'}, 'enable': 'true', 'created': '2025-05-14T14:51:08', 'last-modified': '2025-05-14T14:51:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352796'} 2025-05-14 14:51:10,964 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-14 14:51:10,964 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57810891 passed 2025-05-14 14:51:10,964 - DEBUG - ====Verifying policy data for ctest-vn-57810891 in API_Server ====== 2025-05-14 14:51:10,964 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 14:51:10,968 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d29b6241-f05b-4555-9046-aa103b229ee3 2025-05-14 14:51:10,978 - DEBUG - Requesting: http://10.0.0.50:8082/project/6c24f917-f14e-4aa0-9544-17b59f12bc49 2025-05-14 14:51:11,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e39bbbd1-b081-48f7-8f82-f1811d6f74e7 2025-05-14 14:51:11,053 - DEBUG - ==>Verifying data for policy with id: 4e8da9b6-6a88-4688-9bf1-39c020b3096b, fqn: ['default-domain', 'ctest-TestBasicPolicy-70865833', 'ctest-policy-allow-all-90368775'] 2025-05-14 14:51:11,054 - INFO - VN ctest-vn-57810891 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-14 14:51:11,054 - DEBUG - Verifying the vn in opserver 2025-05-14 14:51:11,054 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-57810891 virtual network link through opserver 10.0.0.50 2025-05-14 14:51:11,054 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-14 14:51:11,063 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-57810891', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-57810891?flat'} 2025-05-14 14:51:11,063 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-57810891 is found in opserver 2025-05-14 14:51:11,074 - DEBUG - Do not have enough data to verify VN in agent 2025-05-14 14:51:11,079 - DEBUG - VRF ids for VN ctest-vn-57810891: {} 2025-05-14 14:51:11,132 - DEBUG - Services list from nova: [, , ] 2025-05-14 14:51:12,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3309-1) 2025-05-14 14:51:13,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3309-1) 2025-05-14 14:51:13,265 - INFO - Waiting for VM ctest-TestBasicPolicy-70865833-96933479 to be up.. 2025-05-14 14:51:13,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-14 14:51:18,417 - DEBUG - VM is in ACTIVE state now 2025-05-14 14:51:18,417 - INFO - VM name : ctest-TestBasicPolicy-70865833-96933479 2025-05-14 14:51:18,485 - DEBUG - VM ctest-TestBasicPolicy-70865833-96933479 ID is 44a9ac79-bcd6-4e5a-8444-69c19fc38291 2025-05-14 14:51:18,500 - DEBUG - VM ctest-TestBasicPolicy-70865833-96933479 launched on Node cn-jenkins-deploy-platform-ansible-os-3309-1 2025-05-14 14:51:18,564 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/44a9ac79-bcd6-4e5a-8444-69c19fc38291 2025-05-14 14:51:18,571 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/76dbd47d-c735-4f55-a7b0-c34e2ab32974 2025-05-14 14:51:21,810 - 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 1008ms') 2025-05-14 14:51:21,810 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70865833-96933479 failed! 2025-05-14 14:51:21,865 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70865833:ctest-vn-48897601 is 169.240.185.1 and allocation pool is NOT set 2025-05-14 14:51:23,924 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/1.674/2.942/1.268 ms') 2025-05-14 14:51:23,924 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70865833-96933479 passed 2025-05-14 14:51:24,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 14:51:24,077 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70865833-96933479, IP 169.240.185.3, Port 22 2025-05-14 14:51:24,228 - DEBUG - VM ctest-TestBasicPolicy-70865833-96933479 is ready for SSH connections 2025-05-14 14:51:24,228 - INFO - Waiting for VM ctest-TestBasicPolicy-70865833-85791859 to be up.. 2025-05-14 14:51:24,297 - DEBUG - VM is in ACTIVE state now 2025-05-14 14:51:24,297 - INFO - VM name : ctest-TestBasicPolicy-70865833-85791859 2025-05-14 14:51:24,364 - DEBUG - VM ctest-TestBasicPolicy-70865833-85791859 ID is 05ac130c-2b08-4cc2-83ca-b72c42d17474 2025-05-14 14:51:24,364 - DEBUG - VM ctest-TestBasicPolicy-70865833-85791859 launched on Node cn-jenkins-deploy-platform-ansible-os-3309-1 2025-05-14 14:51:24,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/05ac130c-2b08-4cc2-83ca-b72c42d17474 2025-05-14 14:51:24,439 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/05d950ce-60ad-418e-8562-8bac534c78b0 2025-05-14 14:51:25,676 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.357 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.357/1.691/3.026/1.334 ms') 2025-05-14 14:51:25,676 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70865833-85791859 passed 2025-05-14 14:51:25,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 14:51:25,825 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70865833-85791859, IP 118.38.72.131, Port 22 2025-05-14 14:51:25,980 - DEBUG - VM ctest-TestBasicPolicy-70865833-85791859 is ready for SSH connections 2025-05-14 14:51:25,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 14:51:25,980 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.38.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-14 14:51:25,981 - DEBUG - ping -s 56 -c 3 -W 1 118.38.72.131 2025-05-14 14:51:29,923 - DEBUG - PING 118.38.72.131 (118.38.72.131): 56 data bytes 64 bytes from 118.38.72.131: seq=0 ttl=63 time=3.540 ms 64 bytes from 118.38.72.131: seq=1 ttl=63 time=0.788 ms 64 bytes from 118.38.72.131: seq=2 ttl=63 time=0.690 ms --- 118.38.72.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/1.672/3.540 ms 2025-05-14 14:51:29,923 - INFO - Ping to IP 118.38.72.131 from VM ctest-TestBasicPolicy-70865833-96933479 passed 2025-05-14 14:51:30,093 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4e8da9b6-6a88-4688-9bf1-39c020b3096b", "href": "http://10.0.0.50:8082/network-policy/4e8da9b6-6a88-4688-9bf1-39c020b3096b"}} 2025-05-14 14:51:30,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 14:51:30,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.38.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-14 14:51:30,093 - DEBUG - ping -s 56 -c 3 -W 1 118.38.72.131 2025-05-14 14:51:33,303 - DEBUG - PING 118.38.72.131 (118.38.72.131): 56 data bytes --- 118.38.72.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-14 14:51:33,303 - WARNING - Ping to IP 118.38.72.131 from VM ctest-TestBasicPolicy-70865833-96933479 failed 2025-05-14 14:51:33,303 - INFO - Deleting VM ctest-TestBasicPolicy-70865833-85791859 2025-05-14 14:51:33,362 - INFO - Deleting VM ctest-TestBasicPolicy-70865833-96933479 2025-05-14 14:51:33,730 - INFO - Deleted policy ctest-policy-allow-all-90368775 2025-05-14 14:51:33,730 - INFO - Deleting VN ctest-vn-57810891 2025-05-14 14:51:33,765 - DEBUG - VN e39bbbd1-b081-48f7-8f82-f1811d6f74e7 still in use: Unable to complete operation on network e39bbbd1-b081-48f7-8f82-f1811d6f74e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6b43fd2-0856-40bf-be7c-d1e7f575ee59'] 2025-05-14 14:51:33,765 - WARNING - Deleting VN ctest-vn-57810891 failed..Will retry 2025-05-14 14:51:35,852 - DEBUG - Response for deleting network () 2025-05-14 14:51:35,852 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36d184f-2a5b-4d45-9333-66d43d9d885f 2025-05-14 14:51:35,860 - DEBUG - Response Code: 404 2025-05-14 14:51:35,861 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 14:51:35,865 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d29b6241-f05b-4555-9046-aa103b229ee3 2025-05-14 14:51:35,918 - DEBUG - Requesting: http://10.0.0.50:8082/project/6c24f917-f14e-4aa0-9544-17b59f12bc49 2025-05-14 14:51:35,986 - INFO - Validated that VN ctest-vn-57810891 is not found in API Server 2025-05-14 14:51:35,996 - DEBUG - VN ctest-vn-57810891 is not present in Agent 10.0.0.50 2025-05-14 14:51:35,996 - INFO - Validated that VN ctest-vn-57810891 is not in any agent 2025-05-14 14:51:36,010 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57810891 info 2025-05-14 14:51:36,010 - INFO - Deleting VN ctest-vn-48897601 2025-05-14 14:51:36,103 - DEBUG - Response for deleting network () 2025-05-14 14:51:36,103 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d84a5f5d-6d7b-4289-935c-f366529af824 2025-05-14 14:51:36,108 - DEBUG - Response Code: 404 2025-05-14 14:51:36,108 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 14:51:36,113 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d29b6241-f05b-4555-9046-aa103b229ee3 2025-05-14 14:51:36,170 - DEBUG - Requesting: http://10.0.0.50:8082/project/6c24f917-f14e-4aa0-9544-17b59f12bc49 2025-05-14 14:51:36,244 - INFO - Validated that VN ctest-vn-48897601 is not found in API Server 2025-05-14 14:51:36,256 - DEBUG - VN ctest-vn-48897601 is not present in Agent 10.0.0.50 2025-05-14 14:51:36,256 - INFO - Validated that VN ctest-vn-48897601 is not in any agent 2025-05-14 14:51:36,270 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48897601 info 2025-05-14 14:51:36,518 - DEBUG - No XMPP flaps were noticed during the test 2025-05-14 14:51:36,518 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-14 14:51:36,518 - INFO - -------------------------------------------------------------------------------- 2025-05-14 14:51:37,225 - INFO - Deleted project: ctest-TestBasicPolicy-70865833, ID : 6c24f917-f14e-4aa0-9544-17b59f12bc49