2025-10-09 05:52:05,339 - INFO - Domain Default found not creating 2025-10-09 05:52:05,504 - INFO - Project ctest-TestBasicPolicy-32907526 not found, creating it 2025-10-09 05:52:05,951 - INFO - Created Project:ctest-TestBasicPolicy-32907526, ID : 6100fb29-7d23-4e5f-bc29-2186c4fa9220 2025-10-09 05:52:07,550 - INFO - ================================================================================ 2025-10-09 05:52:07,550 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 05:52:07,550 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-09 05:52:07,805 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 05:52:07,805 - INFO - Initial checks done. Running the testcase now 2025-10-09 05:52:07,805 - INFO - 2025-10-09 05:52:08,402 - DEBUG - Response for create_network : {'network': {'id': '877c6bde-01f6-4eaf-9379-9ad2ecbba2b7', 'name': 'ctest-vn-26977935', 'tenant_id': '6100fb297d234e5fbc292186c4fa9220', 'project_id': '6100fb297d234e5fbc292186c4fa9220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32907526', 'ctest-vn-26977935'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 05:52:08,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a959e34-d359-40a0-9f5b-e4f240a65b3b', 'name': '', 'tenant_id': '6100fb297d234e5fbc292186c4fa9220', 'network_id': '877c6bde-01f6-4eaf-9379-9ad2ecbba2b7', 'ip_version': 4, 'cidr': '209.75.21.192/26', 'allocation_pools': [{'start': '209.75.21.194', 'end': '209.75.21.254'}], 'gateway_ip': '209.75.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.75.21.194', 'tags': [], 'project_id': '6100fb297d234e5fbc292186c4fa9220'}} 2025-10-09 05:52:08,609 - INFO - Created VN ctest-vn-26977935 2025-10-09 05:52:08,661 - DEBUG - VN ctest-vn-26977935 UUID is 877c6bde-01f6-4eaf-9379-9ad2ecbba2b7 2025-10-09 05:52:08,949 - DEBUG - Response for create_network : {'network': {'id': 'f81a529f-de2c-4a2d-a39b-333e1d71d2ad', 'name': 'ctest-vn-39839078', 'tenant_id': '6100fb297d234e5fbc292186c4fa9220', 'project_id': '6100fb297d234e5fbc292186c4fa9220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32907526', 'ctest-vn-39839078'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 05:52:09,156 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b00e4a1-0cc8-4bac-b8c7-8fe8d69ea5b6', 'name': '', 'tenant_id': '6100fb297d234e5fbc292186c4fa9220', 'network_id': 'f81a529f-de2c-4a2d-a39b-333e1d71d2ad', 'ip_version': 4, 'cidr': '205.62.141.64/26', 'allocation_pools': [{'start': '205.62.141.66', 'end': '205.62.141.126'}], 'gateway_ip': '205.62.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.62.141.66', 'tags': [], 'project_id': '6100fb297d234e5fbc292186c4fa9220'}} 2025-10-09 05:52:09,175 - INFO - Created VN ctest-vn-39839078 2025-10-09 05:52:09,225 - DEBUG - VN ctest-vn-39839078 UUID is f81a529f-de2c-4a2d-a39b-333e1d71d2ad 2025-10-09 05:52:09,405 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-26977935, 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-32907526:ctest-vn-39839078, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-09 05:52:09,702 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '877c6bde-01f6-4eaf-9379-9ad2ecbba2b7', 'name': 'ctest-vn-26977935', 'tenant_id': '6100fb297d234e5fbc292186c4fa9220', 'project_id': '6100fb297d234e5fbc292186c4fa9220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a959e34-d359-40a0-9f5b-e4f240a65b3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32907526', 'ctest-vn-26977935'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32907526', 'ctest-policy-allow-all-48281824']], 'subnet_ipam': [{'subnet_cidr': '209.75.21.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 05:52:09,938 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f81a529f-de2c-4a2d-a39b-333e1d71d2ad', 'name': 'ctest-vn-39839078', 'tenant_id': '6100fb297d234e5fbc292186c4fa9220', 'project_id': '6100fb297d234e5fbc292186c4fa9220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b00e4a1-0cc8-4bac-b8c7-8fe8d69ea5b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32907526', 'ctest-vn-39839078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32907526', 'ctest-policy-allow-all-48281824']], 'subnet_ipam': [{'subnet_cidr': '205.62.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 05:52:10,109 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 05:52:10,449 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 05:52:10,479 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31bb2103-3d2c-49bd-bab1-511d5dd1d4b3 2025-10-09 05:52:10,494 - DEBUG - Requesting: http://10.0.0.254:8082/project/6100fb29-7d23-4e5f-bc29-2186c4fa9220 2025-10-09 05:52:10,566 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/877c6bde-01f6-4eaf-9379-9ad2ecbba2b7 2025-10-09 05:52:10,576 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/877c6bde-01f6-4eaf-9379-9ad2ecbba2b7 2025-10-09 05:52:10,584 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f71f66d3-dff1-4108-8cb7-b247dd83ee8b 2025-10-09 05:52:10,591 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f71f66d3-dff1-4108-8cb7-b247dd83ee8b 2025-10-09 05:52:10,597 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4779b86a-83fd-40da-a94f-1c534cdeacd6 2025-10-09 05:52:10,603 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 05:52:10,603 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/877c6bde-01f6-4eaf-9379-9ad2ecbba2b7 2025-10-09 05:52:10,611 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f71f66d3-dff1-4108-8cb7-b247dd83ee8b 2025-10-09 05:52:10,625 - INFO - Verified VN network id 11 for VN 877c6bde-01f6-4eaf-9379-9ad2ecbba2b7 2025-10-09 05:52:10,625 - INFO - Verifications in API Server for VN ctest-vn-26977935 passed 2025-10-09 05:52:10,625 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/877c6bde-01f6-4eaf-9379-9ad2ecbba2b7 2025-10-09 05:52:10,634 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f71f66d3-dff1-4108-8cb7-b247dd83ee8b 2025-10-09 05:52:10,641 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f71f66d3-dff1-4108-8cb7-b247dd83ee8b 2025-10-09 05:52:10,647 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4779b86a-83fd-40da-a94f-1c534cdeacd6 2025-10-09 05:52:10,658 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-26977935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32907526', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9762796693492223663', 'uuid-lslong': '10626695026462925495'}, 'enable': 'true', 'created': '2025-10-09T05:52:08', 'last-modified': '2025-10-09T05:52:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980619'} 2025-10-09 05:52:10,663 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 05:52:10,663 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26977935 passed 2025-10-09 05:52:10,664 - DEBUG - ====Verifying policy data for ctest-vn-26977935 in API_Server ====== 2025-10-09 05:52:10,664 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 05:52:10,669 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31bb2103-3d2c-49bd-bab1-511d5dd1d4b3 2025-10-09 05:52:10,681 - DEBUG - Requesting: http://10.0.0.254:8082/project/6100fb29-7d23-4e5f-bc29-2186c4fa9220 2025-10-09 05:52:10,751 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/877c6bde-01f6-4eaf-9379-9ad2ecbba2b7 2025-10-09 05:52:10,761 - DEBUG - ==>Verifying data for policy with id: 8016df6b-9673-47c2-a13d-586fbac1b2f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-32907526', 'ctest-policy-allow-all-48281824'] 2025-10-09 05:52:10,761 - INFO - VN ctest-vn-26977935 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 05:52:10,761 - DEBUG - Verifying the vn in opserver 2025-10-09 05:52:10,761 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-26977935 virtual network link through opserver 10.0.0.254 2025-10-09 05:52:10,761 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 05:52:11,095 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 05:52:11,151 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-26977935', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-26977935?flat'} 2025-10-09 05:52:11,151 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-26977935 is found in opserver 2025-10-09 05:52:11,160 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 05:52:11,165 - DEBUG - VRF ids for VN ctest-vn-26977935: {} 2025-10-09 05:52:11,165 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 05:52:11,171 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31bb2103-3d2c-49bd-bab1-511d5dd1d4b3 2025-10-09 05:52:11,182 - DEBUG - Requesting: http://10.0.0.254:8082/project/6100fb29-7d23-4e5f-bc29-2186c4fa9220 2025-10-09 05:52:11,254 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f81a529f-de2c-4a2d-a39b-333e1d71d2ad 2025-10-09 05:52:11,266 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f81a529f-de2c-4a2d-a39b-333e1d71d2ad 2025-10-09 05:52:11,276 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d0b3b297-88f8-4228-9c53-63144ed07c86 2025-10-09 05:52:11,283 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d0b3b297-88f8-4228-9c53-63144ed07c86 2025-10-09 05:52:11,291 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ad86612b-68c4-4ed4-8d12-2ea7044b7a6b 2025-10-09 05:52:11,299 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 05:52:11,299 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f81a529f-de2c-4a2d-a39b-333e1d71d2ad 2025-10-09 05:52:11,308 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d0b3b297-88f8-4228-9c53-63144ed07c86 2025-10-09 05:52:11,324 - INFO - Verified VN network id 12 for VN f81a529f-de2c-4a2d-a39b-333e1d71d2ad 2025-10-09 05:52:11,324 - INFO - Verifications in API Server for VN ctest-vn-39839078 passed 2025-10-09 05:52:11,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f81a529f-de2c-4a2d-a39b-333e1d71d2ad 2025-10-09 05:52:11,335 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d0b3b297-88f8-4228-9c53-63144ed07c86 2025-10-09 05:52:11,342 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d0b3b297-88f8-4228-9c53-63144ed07c86 2025-10-09 05:52:11,348 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ad86612b-68c4-4ed4-8d12-2ea7044b7a6b 2025-10-09 05:52:11,361 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-39839078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32907526', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17877692517381327405', 'uuid-lslong': '11789072791447392941'}, 'enable': 'true', 'created': '2025-10-09T05:52:08', 'last-modified': '2025-10-09T05:52:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439867'} 2025-10-09 05:52:11,366 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 05:52:11,367 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39839078 passed 2025-10-09 05:52:11,367 - DEBUG - ====Verifying policy data for ctest-vn-39839078 in API_Server ====== 2025-10-09 05:52:11,367 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 05:52:11,373 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31bb2103-3d2c-49bd-bab1-511d5dd1d4b3 2025-10-09 05:52:11,385 - DEBUG - Requesting: http://10.0.0.254:8082/project/6100fb29-7d23-4e5f-bc29-2186c4fa9220 2025-10-09 05:52:11,457 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f81a529f-de2c-4a2d-a39b-333e1d71d2ad 2025-10-09 05:52:11,466 - DEBUG - ==>Verifying data for policy with id: 8016df6b-9673-47c2-a13d-586fbac1b2f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-32907526', 'ctest-policy-allow-all-48281824'] 2025-10-09 05:52:11,466 - INFO - VN ctest-vn-39839078 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 05:52:11,466 - DEBUG - Verifying the vn in opserver 2025-10-09 05:52:11,466 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-39839078 virtual network link through opserver 10.0.0.254 2025-10-09 05:52:11,466 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 05:52:11,476 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-39839078', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-39839078?flat'} 2025-10-09 05:52:11,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-39839078 is found in opserver 2025-10-09 05:52:11,487 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 05:52:11,493 - DEBUG - VRF ids for VN ctest-vn-39839078: {} 2025-10-09 05:52:11,556 - DEBUG - Services list from nova: [, , ] 2025-10-09 05:52:12,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4253-1) 2025-10-09 05:52:13,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4253-1) 2025-10-09 05:52:13,892 - INFO - Waiting for VM ctest-TestBasicPolicy-32907526-90174735 to be up.. 2025-10-09 05:52:13,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 05:52:19,055 - DEBUG - VM is in ACTIVE state now 2025-10-09 05:52:19,055 - INFO - VM name : ctest-TestBasicPolicy-32907526-90174735 2025-10-09 05:52:19,131 - DEBUG - VM ctest-TestBasicPolicy-32907526-90174735 ID is a34fc7c9-c04b-49f6-92f6-d622a981624b 2025-10-09 05:52:19,152 - DEBUG - VM ctest-TestBasicPolicy-32907526-90174735 launched on Node cn-jenkins-deploy-platform-ansible-os-4253-1 2025-10-09 05:52:19,228 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a34fc7c9-c04b-49f6-92f6-d622a981624b 2025-10-09 05:52:19,236 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/16a0324c-19c0-49b6-92fb-c06135fe68a4 2025-10-09 05:52:22,482 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-10-09 05:52:22,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32907526-90174735 failed! 2025-10-09 05:52:22,537 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32907526:ctest-vn-26977935 is 209.75.21.193 and allocation pool is NOT set 2025-10-09 05:52:24,604 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.808/6.758/10.708/3.950 ms') 2025-10-09 05:52:24,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32907526-90174735 passed 2025-10-09 05:52:24,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:52:24,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32907526-90174735, IP 209.75.21.195, Port 22 2025-10-09 05:52:24,925 - DEBUG - VM ctest-TestBasicPolicy-32907526-90174735 is ready for SSH connections 2025-10-09 05:52:24,925 - INFO - Waiting for VM ctest-TestBasicPolicy-32907526-95696297 to be up.. 2025-10-09 05:52:25,005 - DEBUG - VM is in ACTIVE state now 2025-10-09 05:52:25,005 - INFO - VM name : ctest-TestBasicPolicy-32907526-95696297 2025-10-09 05:52:25,083 - DEBUG - VM ctest-TestBasicPolicy-32907526-95696297 ID is 9697e478-b8c7-4fc1-9d10-75de63ec3d48 2025-10-09 05:52:25,083 - DEBUG - VM ctest-TestBasicPolicy-32907526-95696297 launched on Node cn-jenkins-deploy-platform-ansible-os-4253-1 2025-10-09 05:52:25,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9697e478-b8c7-4fc1-9d10-75de63ec3d48 2025-10-09 05:52:25,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/abcf01c1-369b-4bdb-923e-959c74883f88 2025-10-09 05:52:26,407 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.643 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.643/2.117/3.592/1.474 ms') 2025-10-09 05:52:26,407 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32907526-95696297 passed 2025-10-09 05:52:26,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:52:26,561 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32907526-95696297, IP 205.62.141.67, Port 22 2025-10-09 05:52:26,628 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-09 05:52:26,707 - DEBUG - VM ctest-TestBasicPolicy-32907526-95696297 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 05:52:31,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:52:31,708 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32907526-95696297, IP 205.62.141.67, Port 22 2025-10-09 05:52:31,865 - DEBUG - VM ctest-TestBasicPolicy-32907526-95696297 is ready for SSH connections 2025-10-09 05:52:31,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:52:31,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.62.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 05:52:31,865 - DEBUG - ping -s 56 -c 3 -W 1 205.62.141.67 2025-10-09 05:52:35,963 - DEBUG - PING 205.62.141.67 (205.62.141.67): 56 data bytes 64 bytes from 205.62.141.67: seq=0 ttl=63 time=4.173 ms 64 bytes from 205.62.141.67: seq=1 ttl=63 time=1.107 ms 64 bytes from 205.62.141.67: seq=2 ttl=63 time=1.036 ms --- 205.62.141.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.036/2.105/4.173 ms 2025-10-09 05:52:35,963 - INFO - Ping to IP 205.62.141.67 from VM ctest-TestBasicPolicy-32907526-90174735 passed 2025-10-09 05:52:36,241 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8016df6b-9673-47c2-a13d-586fbac1b2f9", "href": "http://10.0.0.254:8082/network-policy/8016df6b-9673-47c2-a13d-586fbac1b2f9"}} 2025-10-09 05:52:36,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:52:36,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.62.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 05:52:36,242 - DEBUG - ping -s 56 -c 3 -W 1 205.62.141.67 2025-10-09 05:52:39,473 - DEBUG - PING 205.62.141.67 (205.62.141.67): 56 data bytes --- 205.62.141.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 05:52:39,473 - WARNING - Ping to IP 205.62.141.67 from VM ctest-TestBasicPolicy-32907526-90174735 failed 2025-10-09 05:52:39,473 - INFO - Deleting VM ctest-TestBasicPolicy-32907526-95696297 2025-10-09 05:52:39,554 - INFO - Deleting VM ctest-TestBasicPolicy-32907526-90174735 2025-10-09 05:52:39,938 - INFO - Deleted policy ctest-policy-allow-all-48281824 2025-10-09 05:52:39,938 - INFO - Deleting VN ctest-vn-39839078 2025-10-09 05:52:39,975 - DEBUG - VN f81a529f-de2c-4a2d-a39b-333e1d71d2ad still in use: Unable to complete operation on network f81a529f-de2c-4a2d-a39b-333e1d71d2ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ab71ca2-e7e2-48c7-8d72-f14c93d18628'] 2025-10-09 05:52:39,975 - WARNING - Deleting VN ctest-vn-39839078 failed..Will retry 2025-10-09 05:52:42,088 - DEBUG - Response for deleting network () 2025-10-09 05:52:42,088 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d0b3b297-88f8-4228-9c53-63144ed07c86 2025-10-09 05:52:42,094 - DEBUG - Response Code: 404 2025-10-09 05:52:42,094 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 05:52:42,099 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31bb2103-3d2c-49bd-bab1-511d5dd1d4b3 2025-10-09 05:52:42,156 - DEBUG - Requesting: http://10.0.0.254:8082/project/6100fb29-7d23-4e5f-bc29-2186c4fa9220 2025-10-09 05:52:42,233 - INFO - Validated that VN ctest-vn-39839078 is not found in API Server 2025-10-09 05:52:42,244 - DEBUG - VN ctest-vn-39839078 is not present in Agent 10.0.0.254 2025-10-09 05:52:42,244 - INFO - Validated that VN ctest-vn-39839078 is not in any agent 2025-10-09 05:52:42,260 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39839078 info 2025-10-09 05:52:42,260 - INFO - Deleting VN ctest-vn-26977935 2025-10-09 05:52:42,363 - DEBUG - Response for deleting network () 2025-10-09 05:52:42,363 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f71f66d3-dff1-4108-8cb7-b247dd83ee8b 2025-10-09 05:52:42,372 - DEBUG - Response Code: 404 2025-10-09 05:52:42,372 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 05:52:42,379 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31bb2103-3d2c-49bd-bab1-511d5dd1d4b3 2025-10-09 05:52:42,434 - DEBUG - Requesting: http://10.0.0.254:8082/project/6100fb29-7d23-4e5f-bc29-2186c4fa9220 2025-10-09 05:52:42,500 - INFO - Validated that VN ctest-vn-26977935 is not found in API Server 2025-10-09 05:52:42,510 - DEBUG - VN ctest-vn-26977935 is not present in Agent 10.0.0.254 2025-10-09 05:52:42,510 - INFO - Validated that VN ctest-vn-26977935 is not in any agent 2025-10-09 05:52:42,523 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26977935 info 2025-10-09 05:52:42,778 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 05:52:42,779 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-09 05:52:42,779 - INFO - -------------------------------------------------------------------------------- 2025-10-09 05:52:43,843 - INFO - Deleted project: ctest-TestBasicPolicy-32907526, ID : 6100fb29-7d23-4e5f-bc29-2186c4fa9220