2025-09-21 15:06:24,753 - INFO - Domain Default found not creating 2025-09-21 15:06:24,922 - INFO - Project ctest-TestBasicPolicy-20882062 not found, creating it 2025-09-21 15:06:25,384 - INFO - Created Project:ctest-TestBasicPolicy-20882062, ID : 1b846ddf-f9d3-4153-a17c-27d5f39c7b23 2025-09-21 15:06:26,789 - INFO - ================================================================================ 2025-09-21 15:06:26,789 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-21 15:06:26,789 - 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-09-21 15:06:27,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-21 15:06:27,046 - INFO - Initial checks done. Running the testcase now 2025-09-21 15:06:27,046 - INFO - 2025-09-21 15:06:27,568 - DEBUG - Response for create_network : {'network': {'id': '2638da64-d891-406f-a57b-efe6d4f7864e', 'name': 'ctest-vn-45087490', 'tenant_id': '1b846ddff9d34153a17c27d5f39c7b23', 'project_id': '1b846ddff9d34153a17c27d5f39c7b23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20882062', 'ctest-vn-45087490'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 15:06:27,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb3d79ef-e44e-4fb2-8c28-f9970fcaf694', 'name': '', 'tenant_id': '1b846ddff9d34153a17c27d5f39c7b23', 'network_id': '2638da64-d891-406f-a57b-efe6d4f7864e', 'ip_version': 4, 'cidr': '163.255.51.128/26', 'allocation_pools': [{'start': '163.255.51.130', 'end': '163.255.51.190'}], 'gateway_ip': '163.255.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.255.51.130', 'tags': [], 'project_id': '1b846ddff9d34153a17c27d5f39c7b23'}} 2025-09-21 15:06:27,744 - INFO - Created VN ctest-vn-45087490 2025-09-21 15:06:27,797 - DEBUG - VN ctest-vn-45087490 UUID is 2638da64-d891-406f-a57b-efe6d4f7864e 2025-09-21 15:06:28,078 - DEBUG - Response for create_network : {'network': {'id': '5db5f649-f557-4563-a9b0-92f11f422133', 'name': 'ctest-vn-21696383', 'tenant_id': '1b846ddff9d34153a17c27d5f39c7b23', 'project_id': '1b846ddff9d34153a17c27d5f39c7b23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20882062', 'ctest-vn-21696383'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 15:06:28,234 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac8b16ce-9074-4ad0-bf4b-00d14fd39690', 'name': '', 'tenant_id': '1b846ddff9d34153a17c27d5f39c7b23', 'network_id': '5db5f649-f557-4563-a9b0-92f11f422133', 'ip_version': 4, 'cidr': '175.26.78.192/26', 'allocation_pools': [{'start': '175.26.78.194', 'end': '175.26.78.254'}], 'gateway_ip': '175.26.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.26.78.194', 'tags': [], 'project_id': '1b846ddff9d34153a17c27d5f39c7b23'}} 2025-09-21 15:06:28,253 - INFO - Created VN ctest-vn-21696383 2025-09-21 15:06:28,305 - DEBUG - VN ctest-vn-21696383 UUID is 5db5f649-f557-4563-a9b0-92f11f422133 2025-09-21 15:06:28,483 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-45087490, 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-20882062:ctest-vn-21696383, 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-09-21 15:06:28,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2638da64-d891-406f-a57b-efe6d4f7864e', 'name': 'ctest-vn-45087490', 'tenant_id': '1b846ddff9d34153a17c27d5f39c7b23', 'project_id': '1b846ddff9d34153a17c27d5f39c7b23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb3d79ef-e44e-4fb2-8c28-f9970fcaf694'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20882062', 'ctest-vn-45087490'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20882062', 'ctest-policy-allow-all-74660568']], 'subnet_ipam': [{'subnet_cidr': '163.255.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-21 15:06:29,005 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5db5f649-f557-4563-a9b0-92f11f422133', 'name': 'ctest-vn-21696383', 'tenant_id': '1b846ddff9d34153a17c27d5f39c7b23', 'project_id': '1b846ddff9d34153a17c27d5f39c7b23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac8b16ce-9074-4ad0-bf4b-00d14fd39690'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20882062', 'ctest-vn-21696383'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20882062', 'ctest-policy-allow-all-74660568']], 'subnet_ipam': [{'subnet_cidr': '175.26.78.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-21 15:06:29,165 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-21 15:06:29,457 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-21 15:06:29,484 - DEBUG - Requesting: http://10.0.0.48:8082/domain/a8c8cfdf-5dfd-4fc5-b9f3-3d0b11d31fdc 2025-09-21 15:06:29,495 - DEBUG - Requesting: http://10.0.0.48:8082/project/1b846ddf-f9d3-4153-a17c-27d5f39c7b23 2025-09-21 15:06:29,562 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2638da64-d891-406f-a57b-efe6d4f7864e 2025-09-21 15:06:29,571 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2638da64-d891-406f-a57b-efe6d4f7864e 2025-09-21 15:06:29,579 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f9694959-3107-44c3-ac1d-9f5c1cc04aa6 2025-09-21 15:06:29,585 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f9694959-3107-44c3-ac1d-9f5c1cc04aa6 2025-09-21 15:06:29,591 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/03c8ce46-7a13-41e7-8832-e2d9e516b1be 2025-09-21 15:06:29,597 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-21 15:06:29,597 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2638da64-d891-406f-a57b-efe6d4f7864e 2025-09-21 15:06:29,605 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f9694959-3107-44c3-ac1d-9f5c1cc04aa6 2025-09-21 15:06:29,618 - INFO - Verified VN network id 9 for VN 2638da64-d891-406f-a57b-efe6d4f7864e 2025-09-21 15:06:29,618 - INFO - Verifications in API Server for VN ctest-vn-45087490 passed 2025-09-21 15:06:29,618 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2638da64-d891-406f-a57b-efe6d4f7864e 2025-09-21 15:06:29,626 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f9694959-3107-44c3-ac1d-9f5c1cc04aa6 2025-09-21 15:06:29,632 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f9694959-3107-44c3-ac1d-9f5c1cc04aa6 2025-09-21 15:06:29,637 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/03c8ce46-7a13-41e7-8832-e2d9e516b1be 2025-09-21 15:06:29,647 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-45087490', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20882062', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2754191298802040943', 'uuid-lslong': '11924388213088028238'}, 'enable': 'true', 'created': '2025-09-21T15:06:27', 'last-modified': '2025-09-21T15:06:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889527'} 2025-09-21 15:06:29,653 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-21 15:06:29,653 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45087490 passed 2025-09-21 15:06:29,654 - DEBUG - ====Verifying policy data for ctest-vn-45087490 in API_Server ====== 2025-09-21 15:06:29,654 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-21 15:06:29,658 - DEBUG - Requesting: http://10.0.0.48:8082/domain/a8c8cfdf-5dfd-4fc5-b9f3-3d0b11d31fdc 2025-09-21 15:06:29,667 - DEBUG - Requesting: http://10.0.0.48:8082/project/1b846ddf-f9d3-4153-a17c-27d5f39c7b23 2025-09-21 15:06:29,735 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2638da64-d891-406f-a57b-efe6d4f7864e 2025-09-21 15:06:29,744 - DEBUG - ==>Verifying data for policy with id: 6b4bb960-0561-4349-97fd-325fcd515b8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-20882062', 'ctest-policy-allow-all-74660568'] 2025-09-21 15:06:29,744 - INFO - VN ctest-vn-45087490 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-21 15:06:29,744 - DEBUG - Verifying the vn in opserver 2025-09-21 15:06:29,744 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-45087490 virtual network link through opserver 10.0.0.48 2025-09-21 15:06:29,745 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-21 15:06:30,050 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-21 15:06:30,147 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-45087490', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-45087490?flat'} 2025-09-21 15:06:30,147 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-45087490 is found in opserver 2025-09-21 15:06:30,156 - DEBUG - Do not have enough data to verify VN in agent 2025-09-21 15:06:30,161 - DEBUG - VRF ids for VN ctest-vn-45087490: {} 2025-09-21 15:06:30,161 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-21 15:06:30,174 - DEBUG - Requesting: http://10.0.0.48:8082/domain/a8c8cfdf-5dfd-4fc5-b9f3-3d0b11d31fdc 2025-09-21 15:06:30,237 - DEBUG - Requesting: http://10.0.0.48:8082/project/1b846ddf-f9d3-4153-a17c-27d5f39c7b23 2025-09-21 15:06:30,326 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5db5f649-f557-4563-a9b0-92f11f422133 2025-09-21 15:06:30,346 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5db5f649-f557-4563-a9b0-92f11f422133 2025-09-21 15:06:30,363 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/34a9f3e3-c7bc-4d18-844b-4f93772b3075 2025-09-21 15:06:30,371 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/34a9f3e3-c7bc-4d18-844b-4f93772b3075 2025-09-21 15:06:30,387 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/042fb485-ba7e-41e3-948f-1ed6fef1d5d9 2025-09-21 15:06:30,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-21 15:06:30,397 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5db5f649-f557-4563-a9b0-92f11f422133 2025-09-21 15:06:30,406 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/34a9f3e3-c7bc-4d18-844b-4f93772b3075 2025-09-21 15:06:30,438 - INFO - Verified VN network id 10 for VN 5db5f649-f557-4563-a9b0-92f11f422133 2025-09-21 15:06:30,438 - INFO - Verifications in API Server for VN ctest-vn-21696383 passed 2025-09-21 15:06:30,438 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5db5f649-f557-4563-a9b0-92f11f422133 2025-09-21 15:06:30,451 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/34a9f3e3-c7bc-4d18-844b-4f93772b3075 2025-09-21 15:06:30,458 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/34a9f3e3-c7bc-4d18-844b-4f93772b3075 2025-09-21 15:06:30,469 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/042fb485-ba7e-41e3-948f-1ed6fef1d5d9 2025-09-21 15:06:30,491 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-21696383', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20882062', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6752574013821109603', 'uuid-lslong': '12227434552620097843'}, 'enable': 'true', 'created': '2025-09-21T15:06:28', 'last-modified': '2025-09-21T15:06:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.508485'} 2025-09-21 15:06:30,497 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-21 15:06:30,498 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21696383 passed 2025-09-21 15:06:30,498 - DEBUG - ====Verifying policy data for ctest-vn-21696383 in API_Server ====== 2025-09-21 15:06:30,498 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-21 15:06:30,508 - DEBUG - Requesting: http://10.0.0.48:8082/domain/a8c8cfdf-5dfd-4fc5-b9f3-3d0b11d31fdc 2025-09-21 15:06:30,550 - DEBUG - Requesting: http://10.0.0.48:8082/project/1b846ddf-f9d3-4153-a17c-27d5f39c7b23 2025-09-21 15:06:30,657 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5db5f649-f557-4563-a9b0-92f11f422133 2025-09-21 15:06:30,675 - DEBUG - ==>Verifying data for policy with id: 6b4bb960-0561-4349-97fd-325fcd515b8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-20882062', 'ctest-policy-allow-all-74660568'] 2025-09-21 15:06:30,676 - INFO - VN ctest-vn-21696383 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-21 15:06:30,676 - DEBUG - Verifying the vn in opserver 2025-09-21 15:06:30,676 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-21696383 virtual network link through opserver 10.0.0.48 2025-09-21 15:06:30,676 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-21 15:06:30,689 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-21696383', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-21696383?flat'} 2025-09-21 15:06:30,689 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-21696383 is found in opserver 2025-09-21 15:06:30,706 - DEBUG - Do not have enough data to verify VN in agent 2025-09-21 15:06:30,710 - DEBUG - VRF ids for VN ctest-vn-21696383: {} 2025-09-21 15:06:30,780 - DEBUG - Services list from nova: [, , ] 2025-09-21 15:06:31,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4158-1) 2025-09-21 15:06:32,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4158-1) 2025-09-21 15:06:32,924 - INFO - Waiting for VM ctest-TestBasicPolicy-20882062-95530816 to be up.. 2025-09-21 15:06:33,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-21 15:06:38,082 - DEBUG - VM is in ACTIVE state now 2025-09-21 15:06:38,082 - INFO - VM name : ctest-TestBasicPolicy-20882062-95530816 2025-09-21 15:06:38,149 - DEBUG - VM ctest-TestBasicPolicy-20882062-95530816 ID is 1add1b4d-d67d-4367-aab2-e1d2289db337 2025-09-21 15:06:38,169 - DEBUG - VM ctest-TestBasicPolicy-20882062-95530816 launched on Node cn-jenkins-deploy-platform-ansible-os-4158-1 2025-09-21 15:06:38,240 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1add1b4d-d67d-4367-aab2-e1d2289db337 2025-09-21 15:06:38,248 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/a0bd982a-c036-4e7d-aaaf-81918e1d2064 2025-09-21 15:06:41,502 - 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 1015ms') 2025-09-21 15:06:41,502 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20882062-95530816 failed! 2025-09-21 15:06:41,557 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20882062:ctest-vn-45087490 is 163.255.51.129 and allocation pool is NOT set 2025-09-21 15:06:43,618 - 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=4.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.853 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.853/2.920/4.987/2.067 ms') 2025-09-21 15:06:43,618 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20882062-95530816 passed 2025-09-21 15:06:43,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:06:43,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20882062-95530816, IP 163.255.51.131, Port 22 2025-09-21 15:06:43,924 - DEBUG - VM ctest-TestBasicPolicy-20882062-95530816 is ready for SSH connections 2025-09-21 15:06:43,924 - INFO - Waiting for VM ctest-TestBasicPolicy-20882062-02215717 to be up.. 2025-09-21 15:06:44,003 - DEBUG - VM is in ACTIVE state now 2025-09-21 15:06:44,004 - INFO - VM name : ctest-TestBasicPolicy-20882062-02215717 2025-09-21 15:06:44,085 - DEBUG - VM ctest-TestBasicPolicy-20882062-02215717 ID is ab6fb295-dedc-4651-8a67-7bc6e3e086c2 2025-09-21 15:06:44,085 - DEBUG - VM ctest-TestBasicPolicy-20882062-02215717 launched on Node cn-jenkins-deploy-platform-ansible-os-4158-1 2025-09-21 15:06:44,176 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ab6fb295-dedc-4651-8a67-7bc6e3e086c2 2025-09-21 15:06:44,186 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b5887a1d-52c3-4748-b224-3cfadc8f9bbb 2025-09-21 15:06:45,422 - 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=5.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.833 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.833/3.293/5.753/2.460 ms') 2025-09-21 15:06:45,422 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20882062-02215717 passed 2025-09-21 15:06:45,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:06:45,573 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20882062-02215717, IP 175.26.78.195, Port 22 2025-09-21 15:06:45,732 - DEBUG - VM ctest-TestBasicPolicy-20882062-02215717 is ready for SSH connections 2025-09-21 15:06:45,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:06:45,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.26.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-21 15:06:45,732 - DEBUG - ping -s 56 -c 3 -W 1 175.26.78.195 2025-09-21 15:06:49,524 - DEBUG - PING 175.26.78.195 (175.26.78.195): 56 data bytes 64 bytes from 175.26.78.195: seq=0 ttl=63 time=4.470 ms 64 bytes from 175.26.78.195: seq=1 ttl=63 time=0.853 ms 64 bytes from 175.26.78.195: seq=2 ttl=63 time=1.015 ms --- 175.26.78.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/2.112/4.470 ms 2025-09-21 15:06:49,524 - INFO - Ping to IP 175.26.78.195 from VM ctest-TestBasicPolicy-20882062-95530816 passed 2025-09-21 15:06:49,701 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6b4bb960-0561-4349-97fd-325fcd515b8a", "href": "http://10.0.0.48:8082/network-policy/6b4bb960-0561-4349-97fd-325fcd515b8a"}} 2025-09-21 15:06:49,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:06:49,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.26.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-21 15:06:49,701 - DEBUG - ping -s 56 -c 3 -W 1 175.26.78.195 2025-09-21 15:06:52,900 - DEBUG - PING 175.26.78.195 (175.26.78.195): 56 data bytes --- 175.26.78.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-21 15:06:52,900 - WARNING - Ping to IP 175.26.78.195 from VM ctest-TestBasicPolicy-20882062-95530816 failed 2025-09-21 15:06:52,900 - INFO - Deleting VM ctest-TestBasicPolicy-20882062-02215717 2025-09-21 15:06:52,973 - INFO - Deleting VM ctest-TestBasicPolicy-20882062-95530816 2025-09-21 15:06:53,337 - INFO - Deleted policy ctest-policy-allow-all-74660568 2025-09-21 15:06:53,337 - INFO - Deleting VN ctest-vn-21696383 2025-09-21 15:06:53,377 - DEBUG - VN 5db5f649-f557-4563-a9b0-92f11f422133 still in use: Unable to complete operation on network 5db5f649-f557-4563-a9b0-92f11f422133. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-68bef3b5-81fd-4c17-9ce1-6de149048537'] 2025-09-21 15:06:53,377 - WARNING - Deleting VN ctest-vn-21696383 failed..Will retry 2025-09-21 15:06:55,471 - DEBUG - Response for deleting network () 2025-09-21 15:06:55,471 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/34a9f3e3-c7bc-4d18-844b-4f93772b3075 2025-09-21 15:06:55,477 - DEBUG - Response Code: 404 2025-09-21 15:06:55,477 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-21 15:06:55,482 - DEBUG - Requesting: http://10.0.0.48:8082/domain/a8c8cfdf-5dfd-4fc5-b9f3-3d0b11d31fdc 2025-09-21 15:06:55,535 - DEBUG - Requesting: http://10.0.0.48:8082/project/1b846ddf-f9d3-4153-a17c-27d5f39c7b23 2025-09-21 15:06:55,605 - INFO - Validated that VN ctest-vn-21696383 is not found in API Server 2025-09-21 15:06:55,614 - DEBUG - VN ctest-vn-21696383 is not present in Agent 10.0.0.48 2025-09-21 15:06:55,614 - INFO - Validated that VN ctest-vn-21696383 is not in any agent 2025-09-21 15:06:55,628 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21696383 info 2025-09-21 15:06:55,628 - INFO - Deleting VN ctest-vn-45087490 2025-09-21 15:06:55,733 - DEBUG - Response for deleting network () 2025-09-21 15:06:55,733 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f9694959-3107-44c3-ac1d-9f5c1cc04aa6 2025-09-21 15:06:55,738 - DEBUG - Response Code: 404 2025-09-21 15:06:55,738 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-21 15:06:55,742 - DEBUG - Requesting: http://10.0.0.48:8082/domain/a8c8cfdf-5dfd-4fc5-b9f3-3d0b11d31fdc 2025-09-21 15:06:55,794 - DEBUG - Requesting: http://10.0.0.48:8082/project/1b846ddf-f9d3-4153-a17c-27d5f39c7b23 2025-09-21 15:06:55,866 - INFO - Validated that VN ctest-vn-45087490 is not found in API Server 2025-09-21 15:06:55,875 - DEBUG - VN ctest-vn-45087490 is not present in Agent 10.0.0.48 2025-09-21 15:06:55,875 - INFO - Validated that VN ctest-vn-45087490 is not in any agent 2025-09-21 15:06:55,890 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45087490 info 2025-09-21 15:06:56,142 - DEBUG - No XMPP flaps were noticed during the test 2025-09-21 15:06:56,142 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-21 15:06:56,142 - INFO - -------------------------------------------------------------------------------- 2025-09-21 15:06:56,799 - INFO - Deleted project: ctest-TestBasicPolicy-20882062, ID : 1b846ddf-f9d3-4153-a17c-27d5f39c7b23