2025-05-27 12:16:10,273 - INFO - Domain Default found not creating 2025-05-27 12:16:10,428 - INFO - Project ctest-TestBasicPolicy-34692570 not found, creating it 2025-05-27 12:16:10,927 - INFO - Created Project:ctest-TestBasicPolicy-34692570, ID : 2caeab72-b268-46eb-ae28-8446ff75a291 2025-05-27 12:16:12,412 - INFO - ================================================================================ 2025-05-27 12:16:12,412 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-27 12:16:12,412 - 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-27 12:16:12,666 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-27 12:16:12,666 - INFO - Initial checks done. Running the testcase now 2025-05-27 12:16:12,666 - INFO - 2025-05-27 12:16:13,225 - DEBUG - Response for create_network : {'network': {'id': 'b87938f3-fe0b-4c76-88c6-9f885ccfd27a', 'name': 'ctest-vn-42510217', 'tenant_id': '2caeab72b26846ebae288446ff75a291', 'project_id': '2caeab72b26846ebae288446ff75a291', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34692570', 'ctest-vn-42510217'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 12:16:13,400 - DEBUG - Response for create_subnet : {'subnet': {'id': '43d2d6f5-37a2-4a17-afe8-ee8727f7b76f', 'name': '', 'tenant_id': '2caeab72b26846ebae288446ff75a291', 'network_id': 'b87938f3-fe0b-4c76-88c6-9f885ccfd27a', 'ip_version': 4, 'cidr': '145.192.149.128/26', 'allocation_pools': [{'start': '145.192.149.130', 'end': '145.192.149.190'}], 'gateway_ip': '145.192.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.192.149.130', 'tags': [], 'project_id': '2caeab72b26846ebae288446ff75a291'}} 2025-05-27 12:16:13,419 - INFO - Created VN ctest-vn-42510217 2025-05-27 12:16:13,475 - DEBUG - VN ctest-vn-42510217 UUID is b87938f3-fe0b-4c76-88c6-9f885ccfd27a 2025-05-27 12:16:13,805 - DEBUG - Response for create_network : {'network': {'id': 'd9187c09-4a20-4f80-abc0-a672433fe393', 'name': 'ctest-vn-82793242', 'tenant_id': '2caeab72b26846ebae288446ff75a291', 'project_id': '2caeab72b26846ebae288446ff75a291', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34692570', 'ctest-vn-82793242'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 12:16:14,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '98ff3d45-1d64-4b82-bab7-1aefb9196b89', 'name': '', 'tenant_id': '2caeab72b26846ebae288446ff75a291', 'network_id': 'd9187c09-4a20-4f80-abc0-a672433fe393', 'ip_version': 4, 'cidr': '16.219.42.0/26', 'allocation_pools': [{'start': '16.219.42.2', 'end': '16.219.42.62'}], 'gateway_ip': '16.219.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.219.42.2', 'tags': [], 'project_id': '2caeab72b26846ebae288446ff75a291'}} 2025-05-27 12:16:14,215 - INFO - Created VN ctest-vn-82793242 2025-05-27 12:16:14,271 - DEBUG - VN ctest-vn-82793242 UUID is d9187c09-4a20-4f80-abc0-a672433fe393 2025-05-27 12:16:14,395 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-42510217, 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-34692570:ctest-vn-82793242, 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-27 12:16:14,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b87938f3-fe0b-4c76-88c6-9f885ccfd27a', 'name': 'ctest-vn-42510217', 'tenant_id': '2caeab72b26846ebae288446ff75a291', 'project_id': '2caeab72b26846ebae288446ff75a291', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43d2d6f5-37a2-4a17-afe8-ee8727f7b76f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34692570', 'ctest-vn-42510217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34692570', 'ctest-policy-allow-all-49377234']], 'subnet_ipam': [{'subnet_cidr': '145.192.149.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-27 12:16:14,938 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd9187c09-4a20-4f80-abc0-a672433fe393', 'name': 'ctest-vn-82793242', 'tenant_id': '2caeab72b26846ebae288446ff75a291', 'project_id': '2caeab72b26846ebae288446ff75a291', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['98ff3d45-1d64-4b82-bab7-1aefb9196b89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34692570', 'ctest-vn-82793242'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34692570', 'ctest-policy-allow-all-49377234']], 'subnet_ipam': [{'subnet_cidr': '16.219.42.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-27 12:16:15,107 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-27 12:16:15,405 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-27 12:16:15,434 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0cff311-bc2e-4897-a644-f963b094be3a 2025-05-27 12:16:15,449 - DEBUG - Requesting: http://10.0.0.50:8082/project/2caeab72-b268-46eb-ae28-8446ff75a291 2025-05-27 12:16:15,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b87938f3-fe0b-4c76-88c6-9f885ccfd27a 2025-05-27 12:16:15,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b87938f3-fe0b-4c76-88c6-9f885ccfd27a 2025-05-27 12:16:15,551 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/773a9556-2990-4d28-b5ca-ced8c3e75c34 2025-05-27 12:16:15,560 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/773a9556-2990-4d28-b5ca-ced8c3e75c34 2025-05-27 12:16:15,569 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c6b6d891-8459-4646-9f4a-b5a6c8e1b2cc 2025-05-27 12:16:15,579 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-27 12:16:15,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b87938f3-fe0b-4c76-88c6-9f885ccfd27a 2025-05-27 12:16:15,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/773a9556-2990-4d28-b5ca-ced8c3e75c34 2025-05-27 12:16:15,607 - INFO - Verified VN network id 8 for VN b87938f3-fe0b-4c76-88c6-9f885ccfd27a 2025-05-27 12:16:15,607 - INFO - Verifications in API Server for VN ctest-vn-42510217 passed 2025-05-27 12:16:15,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b87938f3-fe0b-4c76-88c6-9f885ccfd27a 2025-05-27 12:16:15,619 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/773a9556-2990-4d28-b5ca-ced8c3e75c34 2025-05-27 12:16:15,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/773a9556-2990-4d28-b5ca-ced8c3e75c34 2025-05-27 12:16:15,636 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c6b6d891-8459-4646-9f4a-b5a6c8e1b2cc 2025-05-27 12:16:15,650 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-42510217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34692570', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13292718395751091318', 'uuid-lslong': '9855740242568401530'}, 'enable': 'true', 'created': '2025-05-27T12:16:13', 'last-modified': '2025-05-27T12:16:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967165'} 2025-05-27 12:16:15,657 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-27 12:16:15,657 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42510217 passed 2025-05-27 12:16:15,658 - DEBUG - ====Verifying policy data for ctest-vn-42510217 in API_Server ====== 2025-05-27 12:16:15,658 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-27 12:16:15,664 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0cff311-bc2e-4897-a644-f963b094be3a 2025-05-27 12:16:15,677 - DEBUG - Requesting: http://10.0.0.50:8082/project/2caeab72-b268-46eb-ae28-8446ff75a291 2025-05-27 12:16:15,758 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b87938f3-fe0b-4c76-88c6-9f885ccfd27a 2025-05-27 12:16:15,771 - DEBUG - ==>Verifying data for policy with id: ed1e817b-bf23-4e54-b810-c127795a2336, fqn: ['default-domain', 'ctest-TestBasicPolicy-34692570', 'ctest-policy-allow-all-49377234'] 2025-05-27 12:16:15,771 - INFO - VN ctest-vn-42510217 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-27 12:16:15,771 - DEBUG - Verifying the vn in opserver 2025-05-27 12:16:15,771 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-42510217 virtual network link through opserver 10.0.0.50 2025-05-27 12:16:15,771 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-27 12:16:16,065 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-27 12:16:16,133 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-42510217', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-42510217?flat'} 2025-05-27 12:16:16,133 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-42510217 is found in opserver 2025-05-27 12:16:16,147 - DEBUG - Do not have enough data to verify VN in agent 2025-05-27 12:16:16,155 - DEBUG - VRF ids for VN ctest-vn-42510217: {} 2025-05-27 12:16:16,155 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-27 12:16:16,162 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0cff311-bc2e-4897-a644-f963b094be3a 2025-05-27 12:16:16,175 - DEBUG - Requesting: http://10.0.0.50:8082/project/2caeab72-b268-46eb-ae28-8446ff75a291 2025-05-27 12:16:16,249 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d9187c09-4a20-4f80-abc0-a672433fe393 2025-05-27 12:16:16,263 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d9187c09-4a20-4f80-abc0-a672433fe393 2025-05-27 12:16:16,274 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6514703c-51f0-4c98-afd8-0dfa66631be3 2025-05-27 12:16:16,282 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6514703c-51f0-4c98-afd8-0dfa66631be3 2025-05-27 12:16:16,290 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3517e137-bde3-4ce1-9de1-787f18163def 2025-05-27 12:16:16,298 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-27 12:16:16,298 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d9187c09-4a20-4f80-abc0-a672433fe393 2025-05-27 12:16:16,308 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6514703c-51f0-4c98-afd8-0dfa66631be3 2025-05-27 12:16:16,325 - INFO - Verified VN network id 9 for VN d9187c09-4a20-4f80-abc0-a672433fe393 2025-05-27 12:16:16,325 - INFO - Verifications in API Server for VN ctest-vn-82793242 passed 2025-05-27 12:16:16,325 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d9187c09-4a20-4f80-abc0-a672433fe393 2025-05-27 12:16:16,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6514703c-51f0-4c98-afd8-0dfa66631be3 2025-05-27 12:16:16,345 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6514703c-51f0-4c98-afd8-0dfa66631be3 2025-05-27 12:16:16,353 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3517e137-bde3-4ce1-9de1-787f18163def 2025-05-27 12:16:16,367 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-82793242', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34692570', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15643389685011599232', 'uuid-lslong': '12376074785698866067'}, 'enable': 'true', 'created': '2025-05-27T12:16:13', 'last-modified': '2025-05-27T12:16:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.453402'} 2025-05-27 12:16:16,373 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-27 12:16:16,373 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82793242 passed 2025-05-27 12:16:16,374 - DEBUG - ====Verifying policy data for ctest-vn-82793242 in API_Server ====== 2025-05-27 12:16:16,374 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-27 12:16:16,380 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0cff311-bc2e-4897-a644-f963b094be3a 2025-05-27 12:16:16,393 - DEBUG - Requesting: http://10.0.0.50:8082/project/2caeab72-b268-46eb-ae28-8446ff75a291 2025-05-27 12:16:16,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d9187c09-4a20-4f80-abc0-a672433fe393 2025-05-27 12:16:16,485 - DEBUG - ==>Verifying data for policy with id: ed1e817b-bf23-4e54-b810-c127795a2336, fqn: ['default-domain', 'ctest-TestBasicPolicy-34692570', 'ctest-policy-allow-all-49377234'] 2025-05-27 12:16:16,485 - INFO - VN ctest-vn-82793242 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-27 12:16:16,485 - DEBUG - Verifying the vn in opserver 2025-05-27 12:16:16,485 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-82793242 virtual network link through opserver 10.0.0.50 2025-05-27 12:16:16,485 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-27 12:16:16,497 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-82793242', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-82793242?flat'} 2025-05-27 12:16:16,497 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-82793242 is found in opserver 2025-05-27 12:16:16,511 - DEBUG - Do not have enough data to verify VN in agent 2025-05-27 12:16:16,517 - DEBUG - VRF ids for VN ctest-vn-82793242: {} 2025-05-27 12:16:16,580 - DEBUG - Services list from nova: [, , ] 2025-05-27 12:16:17,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3344-1) 2025-05-27 12:16:18,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3344-1) 2025-05-27 12:16:18,911 - INFO - Waiting for VM ctest-TestBasicPolicy-34692570-87118828 to be up.. 2025-05-27 12:16:18,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-27 12:16:24,090 - DEBUG - VM is in ACTIVE state now 2025-05-27 12:16:24,090 - INFO - VM name : ctest-TestBasicPolicy-34692570-87118828 2025-05-27 12:16:24,186 - DEBUG - VM ctest-TestBasicPolicy-34692570-87118828 ID is b117fd3f-c223-4d28-bbd7-1ffd920ee220 2025-05-27 12:16:24,208 - DEBUG - VM ctest-TestBasicPolicy-34692570-87118828 launched on Node cn-jenkins-deploy-platform-ansible-os-3344-1 2025-05-27 12:16:24,292 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b117fd3f-c223-4d28-bbd7-1ffd920ee220 2025-05-27 12:16:24,308 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/31309337-d6b4-4f6e-bdba-d336fb04e237 2025-05-27 12:16:27,548 - 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 1012ms') 2025-05-27 12:16:27,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34692570-87118828 failed! 2025-05-27 12:16:27,603 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34692570:ctest-vn-42510217 is 145.192.149.129 and allocation pool is NOT set 2025-05-27 12:16:29,665 - 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=9.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/4.857/9.305/4.448 ms') 2025-05-27 12:16:29,665 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34692570-87118828 passed 2025-05-27 12:16:29,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 12:16:29,827 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34692570-87118828, IP 145.192.149.131, Port 22 2025-05-27 12:16:29,994 - DEBUG - VM ctest-TestBasicPolicy-34692570-87118828 is ready for SSH connections 2025-05-27 12:16:29,994 - INFO - Waiting for VM ctest-TestBasicPolicy-34692570-61516077 to be up.. 2025-05-27 12:16:30,163 - DEBUG - VM is in ACTIVE state now 2025-05-27 12:16:30,163 - INFO - VM name : ctest-TestBasicPolicy-34692570-61516077 2025-05-27 12:16:30,291 - DEBUG - VM ctest-TestBasicPolicy-34692570-61516077 ID is ebdd05a1-b0ab-48db-b7ef-3783661c73f1 2025-05-27 12:16:30,291 - DEBUG - VM ctest-TestBasicPolicy-34692570-61516077 launched on Node cn-jenkins-deploy-platform-ansible-os-3344-1 2025-05-27 12:16:30,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ebdd05a1-b0ab-48db-b7ef-3783661c73f1 2025-05-27 12:16:30,464 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5d4824b9-6324-42bd-8236-14ea42b743a5 2025-05-27 12:16:31,770 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.784/3.121/1.336 ms') 2025-05-27 12:16:31,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34692570-61516077 passed 2025-05-27 12:16:31,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 12:16:31,923 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34692570-61516077, IP 16.219.42.3, Port 22 2025-05-27 12:16:32,079 - DEBUG - VM ctest-TestBasicPolicy-34692570-61516077 is ready for SSH connections 2025-05-27 12:16:32,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 12:16:32,079 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.219.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-27 12:16:32,079 - DEBUG - ping -s 56 -c 3 -W 1 16.219.42.3 2025-05-27 12:16:35,773 - DEBUG - PING 16.219.42.3 (16.219.42.3): 56 data bytes 64 bytes from 16.219.42.3: seq=0 ttl=63 time=4.265 ms 64 bytes from 16.219.42.3: seq=1 ttl=63 time=1.156 ms 64 bytes from 16.219.42.3: seq=2 ttl=63 time=1.160 ms --- 16.219.42.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.156/2.193/4.265 ms 2025-05-27 12:16:35,773 - INFO - Ping to IP 16.219.42.3 from VM ctest-TestBasicPolicy-34692570-87118828 passed 2025-05-27 12:16:35,963 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ed1e817b-bf23-4e54-b810-c127795a2336", "href": "http://10.0.0.50:8082/network-policy/ed1e817b-bf23-4e54-b810-c127795a2336"}} 2025-05-27 12:16:35,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 12:16:35,963 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.219.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-27 12:16:35,963 - DEBUG - ping -s 56 -c 3 -W 1 16.219.42.3 2025-05-27 12:16:39,181 - DEBUG - PING 16.219.42.3 (16.219.42.3): 56 data bytes 64 bytes from 16.219.42.3: seq=0 ttl=63 time=1.407 ms --- 16.219.42.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.407/1.407/1.407 ms 2025-05-27 12:16:39,181 - WARNING - Ping to IP 16.219.42.3 from VM ctest-TestBasicPolicy-34692570-87118828 failed 2025-05-27 12:16:39,181 - INFO - Deleting VM ctest-TestBasicPolicy-34692570-61516077 2025-05-27 12:16:39,296 - INFO - Deleting VM ctest-TestBasicPolicy-34692570-87118828 2025-05-27 12:16:39,709 - INFO - Deleted policy ctest-policy-allow-all-49377234 2025-05-27 12:16:39,709 - INFO - Deleting VN ctest-vn-82793242 2025-05-27 12:16:39,748 - DEBUG - VN d9187c09-4a20-4f80-abc0-a672433fe393 still in use: Unable to complete operation on network d9187c09-4a20-4f80-abc0-a672433fe393. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-344e0645-e718-4f12-ab73-18ef2165768b'] 2025-05-27 12:16:39,748 - WARNING - Deleting VN ctest-vn-82793242 failed..Will retry 2025-05-27 12:16:41,861 - DEBUG - Response for deleting network () 2025-05-27 12:16:41,861 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6514703c-51f0-4c98-afd8-0dfa66631be3 2025-05-27 12:16:41,867 - DEBUG - Response Code: 404 2025-05-27 12:16:41,868 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-27 12:16:41,873 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0cff311-bc2e-4897-a644-f963b094be3a 2025-05-27 12:16:41,930 - DEBUG - Requesting: http://10.0.0.50:8082/project/2caeab72-b268-46eb-ae28-8446ff75a291 2025-05-27 12:16:42,008 - INFO - Validated that VN ctest-vn-82793242 is not found in API Server 2025-05-27 12:16:42,019 - DEBUG - VN ctest-vn-82793242 is not present in Agent 10.0.0.50 2025-05-27 12:16:42,019 - INFO - Validated that VN ctest-vn-82793242 is not in any agent 2025-05-27 12:16:42,036 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82793242 info 2025-05-27 12:16:42,037 - INFO - Deleting VN ctest-vn-42510217 2025-05-27 12:16:42,159 - DEBUG - Response for deleting network () 2025-05-27 12:16:42,159 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/773a9556-2990-4d28-b5ca-ced8c3e75c34 2025-05-27 12:16:42,166 - DEBUG - Response Code: 404 2025-05-27 12:16:42,166 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-27 12:16:42,172 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0cff311-bc2e-4897-a644-f963b094be3a 2025-05-27 12:16:42,228 - DEBUG - Requesting: http://10.0.0.50:8082/project/2caeab72-b268-46eb-ae28-8446ff75a291 2025-05-27 12:16:42,306 - INFO - Validated that VN ctest-vn-42510217 is not found in API Server 2025-05-27 12:16:42,317 - DEBUG - VN ctest-vn-42510217 is not present in Agent 10.0.0.50 2025-05-27 12:16:42,317 - INFO - Validated that VN ctest-vn-42510217 is not in any agent 2025-05-27 12:16:42,334 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42510217 info 2025-05-27 12:16:42,593 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 12:16:42,593 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-05-27 12:16:42,593 - INFO - -------------------------------------------------------------------------------- 2025-05-27 12:16:43,282 - INFO - Deleted project: ctest-TestBasicPolicy-34692570, ID : 2caeab72-b268-46eb-ae28-8446ff75a291