2025-09-12 20:59:12,908 - INFO - Domain Default found not creating 2025-09-12 20:59:13,040 - INFO - Project ctest-TestBasicPolicy-52960260 not found, creating it 2025-09-12 20:59:13,454 - INFO - Created Project:ctest-TestBasicPolicy-52960260, ID : c468c3dd-0e69-4732-b508-4c1c4ce51fd3 2025-09-12 20:59:14,796 - INFO - ================================================================================ 2025-09-12 20:59:14,796 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-12 20:59:14,796 - 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-12 20:59:15,054 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-12 20:59:15,054 - INFO - Initial checks done. Running the testcase now 2025-09-12 20:59:15,054 - INFO - 2025-09-12 20:59:15,562 - DEBUG - Response for create_network : {'network': {'id': 'eb7cd9cd-4de5-4067-8b27-c9fff432c8fa', 'name': 'ctest-vn-17204679', 'tenant_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'project_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52960260', 'ctest-vn-17204679'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 20:59:15,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '22ea9b54-0e67-4e96-acab-53a9a0d68127', 'name': '', 'tenant_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'network_id': 'eb7cd9cd-4de5-4067-8b27-c9fff432c8fa', 'ip_version': 4, 'cidr': '1.207.85.128/26', 'allocation_pools': [{'start': '1.207.85.130', 'end': '1.207.85.190'}], 'gateway_ip': '1.207.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.207.85.130', 'tags': [], 'project_id': 'c468c3dd0e694732b5084c1c4ce51fd3'}} 2025-09-12 20:59:15,775 - INFO - Created VN ctest-vn-17204679 2025-09-12 20:59:15,826 - DEBUG - VN ctest-vn-17204679 UUID is eb7cd9cd-4de5-4067-8b27-c9fff432c8fa 2025-09-12 20:59:16,126 - DEBUG - Response for create_network : {'network': {'id': '1e2d4e12-4130-478d-8226-fb05e7fb8f40', 'name': 'ctest-vn-58947708', 'tenant_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'project_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52960260', 'ctest-vn-58947708'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 20:59:16,309 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9324c2a-beed-4c1e-ad0a-697a81e21c09', 'name': '', 'tenant_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'network_id': '1e2d4e12-4130-478d-8226-fb05e7fb8f40', 'ip_version': 4, 'cidr': '11.33.216.64/26', 'allocation_pools': [{'start': '11.33.216.66', 'end': '11.33.216.126'}], 'gateway_ip': '11.33.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.33.216.66', 'tags': [], 'project_id': 'c468c3dd0e694732b5084c1c4ce51fd3'}} 2025-09-12 20:59:16,323 - INFO - Created VN ctest-vn-58947708 2025-09-12 20:59:16,373 - DEBUG - VN ctest-vn-58947708 UUID is 1e2d4e12-4130-478d-8226-fb05e7fb8f40 2025-09-12 20:59:16,513 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-17204679, 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-52960260:ctest-vn-58947708, 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-12 20:59:16,789 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb7cd9cd-4de5-4067-8b27-c9fff432c8fa', 'name': 'ctest-vn-17204679', 'tenant_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'project_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22ea9b54-0e67-4e96-acab-53a9a0d68127'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52960260', 'ctest-vn-17204679'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52960260', 'ctest-policy-allow-all-73828303']], 'subnet_ipam': [{'subnet_cidr': '1.207.85.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-12 20:59:17,012 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e2d4e12-4130-478d-8226-fb05e7fb8f40', 'name': 'ctest-vn-58947708', 'tenant_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'project_id': 'c468c3dd0e694732b5084c1c4ce51fd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9324c2a-beed-4c1e-ad0a-697a81e21c09'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52960260', 'ctest-vn-58947708'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52960260', 'ctest-policy-allow-all-73828303']], 'subnet_ipam': [{'subnet_cidr': '11.33.216.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-12 20:59:17,154 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-12 20:59:17,446 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-12 20:59:17,470 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cb1b8ab4-19ec-4ab6-8ad7-acde986b1a60 2025-09-12 20:59:17,481 - DEBUG - Requesting: http://10.0.0.254:8082/project/c468c3dd-0e69-4732-b508-4c1c4ce51fd3 2025-09-12 20:59:17,550 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb7cd9cd-4de5-4067-8b27-c9fff432c8fa 2025-09-12 20:59:17,559 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb7cd9cd-4de5-4067-8b27-c9fff432c8fa 2025-09-12 20:59:17,567 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13838e01-943b-4d4c-926f-91ba85171690 2025-09-12 20:59:17,573 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13838e01-943b-4d4c-926f-91ba85171690 2025-09-12 20:59:17,578 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/af7eece4-a406-44d7-9cee-02e39a20f18d 2025-09-12 20:59:17,583 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-12 20:59:17,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb7cd9cd-4de5-4067-8b27-c9fff432c8fa 2025-09-12 20:59:17,591 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13838e01-943b-4d4c-926f-91ba85171690 2025-09-12 20:59:17,602 - INFO - Verified VN network id 12 for VN eb7cd9cd-4de5-4067-8b27-c9fff432c8fa 2025-09-12 20:59:17,602 - INFO - Verifications in API Server for VN ctest-vn-17204679 passed 2025-09-12 20:59:17,602 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb7cd9cd-4de5-4067-8b27-c9fff432c8fa 2025-09-12 20:59:17,609 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13838e01-943b-4d4c-926f-91ba85171690 2025-09-12 20:59:17,614 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13838e01-943b-4d4c-926f-91ba85171690 2025-09-12 20:59:17,619 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/af7eece4-a406-44d7-9cee-02e39a20f18d 2025-09-12 20:59:17,628 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-17204679', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52960260', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16968676971823579239', 'uuid-lslong': '10027205196514511098'}, 'enable': 'true', 'created': '2025-09-12T20:59:15', 'last-modified': '2025-09-12T20:59:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.856201'} 2025-09-12 20:59:17,633 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-12 20:59:17,633 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17204679 passed 2025-09-12 20:59:17,633 - DEBUG - ====Verifying policy data for ctest-vn-17204679 in API_Server ====== 2025-09-12 20:59:17,634 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-12 20:59:17,638 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cb1b8ab4-19ec-4ab6-8ad7-acde986b1a60 2025-09-12 20:59:17,648 - DEBUG - Requesting: http://10.0.0.254:8082/project/c468c3dd-0e69-4732-b508-4c1c4ce51fd3 2025-09-12 20:59:17,716 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb7cd9cd-4de5-4067-8b27-c9fff432c8fa 2025-09-12 20:59:17,723 - DEBUG - ==>Verifying data for policy with id: 7d8ec31f-2e49-438c-8982-2122a2542813, fqn: ['default-domain', 'ctest-TestBasicPolicy-52960260', 'ctest-policy-allow-all-73828303'] 2025-09-12 20:59:17,723 - INFO - VN ctest-vn-17204679 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-12 20:59:17,724 - DEBUG - Verifying the vn in opserver 2025-09-12 20:59:17,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-17204679 virtual network link through opserver 10.0.0.254 2025-09-12 20:59:17,724 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-12 20:59:18,013 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-12 20:59:18,064 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-17204679', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-17204679?flat'} 2025-09-12 20:59:18,064 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-17204679 is found in opserver 2025-09-12 20:59:18,074 - DEBUG - Do not have enough data to verify VN in agent 2025-09-12 20:59:18,077 - DEBUG - VRF ids for VN ctest-vn-17204679: {} 2025-09-12 20:59:18,077 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-12 20:59:18,082 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cb1b8ab4-19ec-4ab6-8ad7-acde986b1a60 2025-09-12 20:59:18,090 - DEBUG - Requesting: http://10.0.0.254:8082/project/c468c3dd-0e69-4732-b508-4c1c4ce51fd3 2025-09-12 20:59:18,156 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e2d4e12-4130-478d-8226-fb05e7fb8f40 2025-09-12 20:59:18,165 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e2d4e12-4130-478d-8226-fb05e7fb8f40 2025-09-12 20:59:18,173 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1cd839a8-972d-414c-8a65-698c09398753 2025-09-12 20:59:18,178 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1cd839a8-972d-414c-8a65-698c09398753 2025-09-12 20:59:18,183 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c5fb1c21-26ef-432c-a371-db0cca70e8be 2025-09-12 20:59:18,187 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-12 20:59:18,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e2d4e12-4130-478d-8226-fb05e7fb8f40 2025-09-12 20:59:18,193 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1cd839a8-972d-414c-8a65-698c09398753 2025-09-12 20:59:18,204 - INFO - Verified VN network id 13 for VN 1e2d4e12-4130-478d-8226-fb05e7fb8f40 2025-09-12 20:59:18,204 - INFO - Verifications in API Server for VN ctest-vn-58947708 passed 2025-09-12 20:59:18,204 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e2d4e12-4130-478d-8226-fb05e7fb8f40 2025-09-12 20:59:18,211 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1cd839a8-972d-414c-8a65-698c09398753 2025-09-12 20:59:18,216 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1cd839a8-972d-414c-8a65-698c09398753 2025-09-12 20:59:18,221 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c5fb1c21-26ef-432c-a371-db0cca70e8be 2025-09-12 20:59:18,230 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-58947708', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52960260', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2174480035399878541', 'uuid-lslong': '9378459276831067968'}, 'enable': 'true', 'created': '2025-09-12T20:59:16', 'last-modified': '2025-09-12T20:59:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.235040'} 2025-09-12 20:59:18,235 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-12 20:59:18,235 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58947708 passed 2025-09-12 20:59:18,235 - DEBUG - ====Verifying policy data for ctest-vn-58947708 in API_Server ====== 2025-09-12 20:59:18,235 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-12 20:59:18,240 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cb1b8ab4-19ec-4ab6-8ad7-acde986b1a60 2025-09-12 20:59:18,248 - DEBUG - Requesting: http://10.0.0.254:8082/project/c468c3dd-0e69-4732-b508-4c1c4ce51fd3 2025-09-12 20:59:18,314 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1e2d4e12-4130-478d-8226-fb05e7fb8f40 2025-09-12 20:59:18,321 - DEBUG - ==>Verifying data for policy with id: 7d8ec31f-2e49-438c-8982-2122a2542813, fqn: ['default-domain', 'ctest-TestBasicPolicy-52960260', 'ctest-policy-allow-all-73828303'] 2025-09-12 20:59:18,321 - INFO - VN ctest-vn-58947708 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-12 20:59:18,321 - DEBUG - Verifying the vn in opserver 2025-09-12 20:59:18,321 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-58947708 virtual network link through opserver 10.0.0.254 2025-09-12 20:59:18,321 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-12 20:59:18,328 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-58947708', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-58947708?flat'} 2025-09-12 20:59:18,328 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-58947708 is found in opserver 2025-09-12 20:59:18,336 - DEBUG - Do not have enough data to verify VN in agent 2025-09-12 20:59:18,339 - DEBUG - VRF ids for VN ctest-vn-58947708: {} 2025-09-12 20:59:18,397 - DEBUG - Services list from nova: [, , ] 2025-09-12 20:59:19,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4100-1) 2025-09-12 20:59:20,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4100-1) 2025-09-12 20:59:20,437 - INFO - Waiting for VM ctest-TestBasicPolicy-52960260-24363769 to be up.. 2025-09-12 20:59:20,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 20:59:25,586 - DEBUG - VM is in ACTIVE state now 2025-09-12 20:59:25,586 - INFO - VM name : ctest-TestBasicPolicy-52960260-24363769 2025-09-12 20:59:25,661 - DEBUG - VM ctest-TestBasicPolicy-52960260-24363769 ID is 9f863a99-fe9a-4589-a9d9-2754c5b8c44d 2025-09-12 20:59:25,688 - DEBUG - VM ctest-TestBasicPolicy-52960260-24363769 launched on Node cn-jenkins-deploy-platform-ansible-os-4100-1 2025-09-12 20:59:25,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9f863a99-fe9a-4589-a9d9-2754c5b8c44d 2025-09-12 20:59:25,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2824dc53-0be3-4c13-9691-3d1b0714902b 2025-09-12 20:59:29,023 - 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-12 20:59:29,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52960260-24363769 failed! 2025-09-12 20:59:29,078 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52960260:ctest-vn-17204679 is 1.207.85.129 and allocation pool is NOT set 2025-09-12 20:59:31,138 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.397 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 = 0.397/1.467/2.538/1.070 ms') 2025-09-12 20:59:31,138 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52960260-24363769 passed 2025-09-12 20:59:31,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:59:31,294 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52960260-24363769, IP 1.207.85.131, Port 22 2025-09-12 20:59:31,453 - DEBUG - VM ctest-TestBasicPolicy-52960260-24363769 is ready for SSH connections 2025-09-12 20:59:31,453 - INFO - Waiting for VM ctest-TestBasicPolicy-52960260-34220776 to be up.. 2025-09-12 20:59:31,518 - DEBUG - VM is in ACTIVE state now 2025-09-12 20:59:31,518 - INFO - VM name : ctest-TestBasicPolicy-52960260-34220776 2025-09-12 20:59:31,575 - DEBUG - VM ctest-TestBasicPolicy-52960260-34220776 ID is 8aa12043-7533-4560-9d02-5ff33662838c 2025-09-12 20:59:31,575 - DEBUG - VM ctest-TestBasicPolicy-52960260-34220776 launched on Node cn-jenkins-deploy-platform-ansible-os-4100-1 2025-09-12 20:59:31,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8aa12043-7533-4560-9d02-5ff33662838c 2025-09-12 20:59:31,639 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7fb052bc-ef0d-45ca-87ac-14d983caa9f3 2025-09-12 20:59:32,861 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.764 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.764/1.925/3.086/1.161 ms') 2025-09-12 20:59:32,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52960260-34220776 passed 2025-09-12 20:59:33,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:59:33,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52960260-34220776, IP 11.33.216.67, Port 22 2025-09-12 20:59:33,161 - DEBUG - VM ctest-TestBasicPolicy-52960260-34220776 is ready for SSH connections 2025-09-12 20:59:33,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:59:33,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.33.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 20:59:33,161 - DEBUG - ping -s 56 -c 3 -W 1 11.33.216.67 2025-09-12 20:59:36,831 - DEBUG - PING 11.33.216.67 (11.33.216.67): 56 data bytes 64 bytes from 11.33.216.67: seq=0 ttl=63 time=3.944 ms 64 bytes from 11.33.216.67: seq=1 ttl=63 time=1.006 ms 64 bytes from 11.33.216.67: seq=2 ttl=63 time=0.873 ms --- 11.33.216.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/1.941/3.944 ms 2025-09-12 20:59:36,831 - INFO - Ping to IP 11.33.216.67 from VM ctest-TestBasicPolicy-52960260-24363769 passed 2025-09-12 20:59:37,001 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d8ec31f-2e49-438c-8982-2122a2542813", "href": "http://10.0.0.254:8082/network-policy/7d8ec31f-2e49-438c-8982-2122a2542813"}} 2025-09-12 20:59:37,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:59:37,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.33.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 20:59:37,002 - DEBUG - ping -s 56 -c 3 -W 1 11.33.216.67 2025-09-12 20:59:40,204 - DEBUG - PING 11.33.216.67 (11.33.216.67): 56 data bytes --- 11.33.216.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-12 20:59:40,204 - WARNING - Ping to IP 11.33.216.67 from VM ctest-TestBasicPolicy-52960260-24363769 failed 2025-09-12 20:59:40,204 - INFO - Deleting VM ctest-TestBasicPolicy-52960260-34220776 2025-09-12 20:59:40,264 - INFO - Deleting VM ctest-TestBasicPolicy-52960260-24363769 2025-09-12 20:59:40,657 - INFO - Deleted policy ctest-policy-allow-all-73828303 2025-09-12 20:59:40,657 - INFO - Deleting VN ctest-vn-58947708 2025-09-12 20:59:40,706 - DEBUG - VN 1e2d4e12-4130-478d-8226-fb05e7fb8f40 still in use: Unable to complete operation on network 1e2d4e12-4130-478d-8226-fb05e7fb8f40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14361e02-41dd-4c63-8c45-d7fd24788e6e'] 2025-09-12 20:59:40,706 - WARNING - Deleting VN ctest-vn-58947708 failed..Will retry 2025-09-12 20:59:42,803 - DEBUG - Response for deleting network () 2025-09-12 20:59:42,803 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1cd839a8-972d-414c-8a65-698c09398753 2025-09-12 20:59:42,808 - DEBUG - Response Code: 404 2025-09-12 20:59:42,808 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-12 20:59:42,813 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cb1b8ab4-19ec-4ab6-8ad7-acde986b1a60 2025-09-12 20:59:42,868 - DEBUG - Requesting: http://10.0.0.254:8082/project/c468c3dd-0e69-4732-b508-4c1c4ce51fd3 2025-09-12 20:59:42,972 - INFO - Validated that VN ctest-vn-58947708 is not found in API Server 2025-09-12 20:59:42,980 - DEBUG - VN ctest-vn-58947708 is not present in Agent 10.0.0.254 2025-09-12 20:59:42,980 - INFO - Validated that VN ctest-vn-58947708 is not in any agent 2025-09-12 20:59:42,992 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58947708 info 2025-09-12 20:59:42,992 - INFO - Deleting VN ctest-vn-17204679 2025-09-12 20:59:43,080 - DEBUG - Response for deleting network () 2025-09-12 20:59:43,080 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13838e01-943b-4d4c-926f-91ba85171690 2025-09-12 20:59:43,084 - DEBUG - Response Code: 404 2025-09-12 20:59:43,084 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-12 20:59:43,089 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cb1b8ab4-19ec-4ab6-8ad7-acde986b1a60 2025-09-12 20:59:43,137 - DEBUG - Requesting: http://10.0.0.254:8082/project/c468c3dd-0e69-4732-b508-4c1c4ce51fd3 2025-09-12 20:59:43,205 - INFO - Validated that VN ctest-vn-17204679 is not found in API Server 2025-09-12 20:59:43,213 - DEBUG - VN ctest-vn-17204679 is not present in Agent 10.0.0.254 2025-09-12 20:59:43,213 - INFO - Validated that VN ctest-vn-17204679 is not in any agent 2025-09-12 20:59:43,224 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17204679 info 2025-09-12 20:59:43,479 - DEBUG - No XMPP flaps were noticed during the test
2025-09-12 20:59:43,479 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-12 20:59:43,479 - INFO - -------------------------------------------------------------------------------- 2025-09-12 20:59:44,152 - INFO - Deleted project: ctest-TestBasicPolicy-52960260, ID : c468c3dd-0e69-4732-b508-4c1c4ce51fd3