2025-08-18 02:10:24,003 - INFO - Domain Default found not creating 2025-08-18 02:10:24,135 - INFO - Project ctest-TestBasicPolicy-30282196 not found, creating it 2025-08-18 02:10:24,588 - INFO - Created Project:ctest-TestBasicPolicy-30282196, ID : b92f9c84-62d2-46e4-b96f-308735c05543 2025-08-18 02:10:25,964 - INFO - ================================================================================ 2025-08-18 02:10:25,964 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 02:10:25,965 - 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-08-18 02:10:26,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-18 02:10:26,222 - INFO - Initial checks done. Running the testcase now 2025-08-18 02:10:26,222 - INFO - 2025-08-18 02:10:26,738 - DEBUG - Response for create_network : {'network': {'id': '0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95', 'name': 'ctest-vn-35480586', 'tenant_id': 'b92f9c8462d246e4b96f308735c05543', 'project_id': 'b92f9c8462d246e4b96f308735c05543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30282196', 'ctest-vn-35480586'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:10:26,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '39692ac6-328c-4d3f-824c-c21a8cf01bd8', 'name': '', 'tenant_id': 'b92f9c8462d246e4b96f308735c05543', 'network_id': '0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95', 'ip_version': 4, 'cidr': '13.198.183.128/26', 'allocation_pools': [{'start': '13.198.183.130', 'end': '13.198.183.190'}], 'gateway_ip': '13.198.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.198.183.130', 'tags': [], 'project_id': 'b92f9c8462d246e4b96f308735c05543'}} 2025-08-18 02:10:26,964 - INFO - Created VN ctest-vn-35480586 2025-08-18 02:10:27,021 - DEBUG - VN ctest-vn-35480586 UUID is 0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95 2025-08-18 02:10:27,322 - DEBUG - Response for create_network : {'network': {'id': '9642a0cf-e702-4022-8c33-2299518d2d83', 'name': 'ctest-vn-72475024', 'tenant_id': 'b92f9c8462d246e4b96f308735c05543', 'project_id': 'b92f9c8462d246e4b96f308735c05543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30282196', 'ctest-vn-72475024'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:10:27,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f78fb611-4d25-4d95-8fdb-97df312f8eab', 'name': '', 'tenant_id': 'b92f9c8462d246e4b96f308735c05543', 'network_id': '9642a0cf-e702-4022-8c33-2299518d2d83', 'ip_version': 4, 'cidr': '58.242.175.64/26', 'allocation_pools': [{'start': '58.242.175.66', 'end': '58.242.175.126'}], 'gateway_ip': '58.242.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.242.175.66', 'tags': [], 'project_id': 'b92f9c8462d246e4b96f308735c05543'}} 2025-08-18 02:10:27,524 - INFO - Created VN ctest-vn-72475024 2025-08-18 02:10:27,577 - DEBUG - VN ctest-vn-72475024 UUID is 9642a0cf-e702-4022-8c33-2299518d2d83 2025-08-18 02:10:27,721 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-35480586, 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-30282196:ctest-vn-72475024, 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-08-18 02:10:28,002 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95', 'name': 'ctest-vn-35480586', 'tenant_id': 'b92f9c8462d246e4b96f308735c05543', 'project_id': 'b92f9c8462d246e4b96f308735c05543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39692ac6-328c-4d3f-824c-c21a8cf01bd8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30282196', 'ctest-vn-35480586'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30282196', 'ctest-policy-allow-all-52254627']], 'subnet_ipam': [{'subnet_cidr': '13.198.183.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:10:28,227 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9642a0cf-e702-4022-8c33-2299518d2d83', 'name': 'ctest-vn-72475024', 'tenant_id': 'b92f9c8462d246e4b96f308735c05543', 'project_id': 'b92f9c8462d246e4b96f308735c05543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f78fb611-4d25-4d95-8fdb-97df312f8eab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30282196', 'ctest-vn-72475024'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30282196', 'ctest-policy-allow-all-52254627']], 'subnet_ipam': [{'subnet_cidr': '58.242.175.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:10:28,369 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-18 02:10:28,659 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-18 02:10:28,684 - DEBUG - Requesting: http://10.0.0.249:8082/domain/147fc761-229f-4d85-bbce-29d43b08f1a2 2025-08-18 02:10:28,696 - DEBUG - Requesting: http://10.0.0.249:8082/project/b92f9c84-62d2-46e4-b96f-308735c05543 2025-08-18 02:10:28,767 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95 2025-08-18 02:10:28,777 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95 2025-08-18 02:10:28,786 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/754b8d0c-ffcf-42b4-8375-2f5646b51151 2025-08-18 02:10:28,792 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/754b8d0c-ffcf-42b4-8375-2f5646b51151 2025-08-18 02:10:28,798 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/57213429-b2d6-45af-81af-68f5570586c9 2025-08-18 02:10:28,803 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 02:10:28,803 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95 2025-08-18 02:10:28,812 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/754b8d0c-ffcf-42b4-8375-2f5646b51151 2025-08-18 02:10:28,824 - INFO - Verified VN network id 12 for VN 0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95 2025-08-18 02:10:28,824 - INFO - Verifications in API Server for VN ctest-vn-35480586 passed 2025-08-18 02:10:28,824 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95 2025-08-18 02:10:28,833 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/754b8d0c-ffcf-42b4-8375-2f5646b51151 2025-08-18 02:10:28,838 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/754b8d0c-ffcf-42b4-8375-2f5646b51151 2025-08-18 02:10:28,844 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/57213429-b2d6-45af-81af-68f5570586c9 2025-08-18 02:10:28,855 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-35480586', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30282196', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1087585151734464997', 'uuid-lslong': '11407334283189738645'}, 'enable': 'true', 'created': '2025-08-18T02:10:26', 'last-modified': '2025-08-18T02:10:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.873016'} 2025-08-18 02:10:28,861 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 02:10:28,861 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35480586 passed 2025-08-18 02:10:28,861 - DEBUG - ====Verifying policy data for ctest-vn-35480586 in API_Server ====== 2025-08-18 02:10:28,861 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-18 02:10:28,865 - DEBUG - Requesting: http://10.0.0.249:8082/domain/147fc761-229f-4d85-bbce-29d43b08f1a2 2025-08-18 02:10:28,875 - DEBUG - Requesting: http://10.0.0.249:8082/project/b92f9c84-62d2-46e4-b96f-308735c05543 2025-08-18 02:10:28,948 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0f17e0ee-e81f-41e5-9e4e-fe1787a8dc95 2025-08-18 02:10:28,957 - DEBUG - ==>Verifying data for policy with id: 258baebb-4540-4b2d-afa4-641b64e3749e, fqn: ['default-domain', 'ctest-TestBasicPolicy-30282196', 'ctest-policy-allow-all-52254627'] 2025-08-18 02:10:28,958 - INFO - VN ctest-vn-35480586 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 02:10:28,958 - DEBUG - Verifying the vn in opserver 2025-08-18 02:10:28,958 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-35480586 virtual network link through opserver 10.0.0.249 2025-08-18 02:10:28,958 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-18 02:10:29,246 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-18 02:10:29,293 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-35480586', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-35480586?flat'} 2025-08-18 02:10:29,293 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-35480586 is found in opserver 2025-08-18 02:10:29,303 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 02:10:29,307 - DEBUG - VRF ids for VN ctest-vn-35480586: {} 2025-08-18 02:10:29,308 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-18 02:10:29,313 - DEBUG - Requesting: http://10.0.0.249:8082/domain/147fc761-229f-4d85-bbce-29d43b08f1a2 2025-08-18 02:10:29,324 - DEBUG - Requesting: http://10.0.0.249:8082/project/b92f9c84-62d2-46e4-b96f-308735c05543 2025-08-18 02:10:29,393 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9642a0cf-e702-4022-8c33-2299518d2d83 2025-08-18 02:10:29,404 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9642a0cf-e702-4022-8c33-2299518d2d83 2025-08-18 02:10:29,413 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/61794fc5-9440-460e-93c7-3955ef8c4a1d 2025-08-18 02:10:29,420 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/61794fc5-9440-460e-93c7-3955ef8c4a1d 2025-08-18 02:10:29,426 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0bbc8872-345c-4f5f-97ab-26a496900e5b 2025-08-18 02:10:29,431 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 02:10:29,431 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9642a0cf-e702-4022-8c33-2299518d2d83 2025-08-18 02:10:29,439 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/61794fc5-9440-460e-93c7-3955ef8c4a1d 2025-08-18 02:10:29,451 - INFO - Verified VN network id 13 for VN 9642a0cf-e702-4022-8c33-2299518d2d83 2025-08-18 02:10:29,451 - INFO - Verifications in API Server for VN ctest-vn-72475024 passed 2025-08-18 02:10:29,451 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9642a0cf-e702-4022-8c33-2299518d2d83 2025-08-18 02:10:29,459 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/61794fc5-9440-460e-93c7-3955ef8c4a1d 2025-08-18 02:10:29,465 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/61794fc5-9440-460e-93c7-3955ef8c4a1d 2025-08-18 02:10:29,471 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0bbc8872-345c-4f5f-97ab-26a496900e5b 2025-08-18 02:10:29,482 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-72475024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30282196', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10827393268946452514', 'uuid-lslong': '10102456431015701891'}, 'enable': 'true', 'created': '2025-08-18T02:10:27', 'last-modified': '2025-08-18T02:10:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317870'} 2025-08-18 02:10:29,488 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 02:10:29,488 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72475024 passed 2025-08-18 02:10:29,488 - DEBUG - ====Verifying policy data for ctest-vn-72475024 in API_Server ====== 2025-08-18 02:10:29,488 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-18 02:10:29,493 - DEBUG - Requesting: http://10.0.0.249:8082/domain/147fc761-229f-4d85-bbce-29d43b08f1a2 2025-08-18 02:10:29,502 - DEBUG - Requesting: http://10.0.0.249:8082/project/b92f9c84-62d2-46e4-b96f-308735c05543 2025-08-18 02:10:29,571 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9642a0cf-e702-4022-8c33-2299518d2d83 2025-08-18 02:10:29,580 - DEBUG - ==>Verifying data for policy with id: 258baebb-4540-4b2d-afa4-641b64e3749e, fqn: ['default-domain', 'ctest-TestBasicPolicy-30282196', 'ctest-policy-allow-all-52254627'] 2025-08-18 02:10:29,580 - INFO - VN ctest-vn-72475024 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 02:10:29,580 - DEBUG - Verifying the vn in opserver 2025-08-18 02:10:29,580 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-72475024 virtual network link through opserver 10.0.0.249 2025-08-18 02:10:29,580 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-18 02:10:29,589 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-72475024', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-72475024?flat'} 2025-08-18 02:10:29,589 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-72475024 is found in opserver 2025-08-18 02:10:29,599 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 02:10:29,603 - DEBUG - VRF ids for VN ctest-vn-72475024: {} 2025-08-18 02:10:29,651 - DEBUG - Services list from nova: [, , ] 2025-08-18 02:10:30,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3873-1) 2025-08-18 02:10:31,637 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3873-1) 2025-08-18 02:10:31,637 - INFO - Waiting for VM ctest-TestBasicPolicy-30282196-59580537 to be up.. 2025-08-18 02:10:31,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 02:10:36,787 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:10:36,787 - INFO - VM name : ctest-TestBasicPolicy-30282196-59580537 2025-08-18 02:10:36,853 - DEBUG - VM ctest-TestBasicPolicy-30282196-59580537 ID is 9285ed32-f1fc-4dba-b576-a74118b5263c 2025-08-18 02:10:36,870 - DEBUG - VM ctest-TestBasicPolicy-30282196-59580537 launched on Node cn-jenkins-deploy-platform-ansible-os-3873-1 2025-08-18 02:10:36,935 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9285ed32-f1fc-4dba-b576-a74118b5263c 2025-08-18 02:10:36,943 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/72e03b76-6b52-4f96-a85d-1f22bed57f6f 2025-08-18 02:10:40,203 - 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-08-18 02:10:40,203 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30282196-59580537 failed! 2025-08-18 02:10:40,257 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30282196:ctest-vn-35480586 is 13.198.183.129 and allocation pool is NOT set 2025-08-18 02:10:42,319 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.360 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.360/1.676/2.993/1.316 ms') 2025-08-18 02:10:42,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30282196-59580537 passed 2025-08-18 02:10:42,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:10:42,469 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30282196-59580537, IP 13.198.183.131, Port 22 2025-08-18 02:10:42,624 - DEBUG - VM ctest-TestBasicPolicy-30282196-59580537 is ready for SSH connections 2025-08-18 02:10:42,624 - INFO - Waiting for VM ctest-TestBasicPolicy-30282196-37699728 to be up.. 2025-08-18 02:10:42,688 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:10:42,688 - INFO - VM name : ctest-TestBasicPolicy-30282196-37699728 2025-08-18 02:10:42,745 - DEBUG - VM ctest-TestBasicPolicy-30282196-37699728 ID is a253eaaa-b9b7-4973-ad96-3bc0b42887b6 2025-08-18 02:10:42,745 - DEBUG - VM ctest-TestBasicPolicy-30282196-37699728 launched on Node cn-jenkins-deploy-platform-ansible-os-3873-1 2025-08-18 02:10:42,801 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a253eaaa-b9b7-4973-ad96-3bc0b42887b6 2025-08-18 02:10:42,808 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f70c26cc-20a8-4056-80d2-0fafb41a1402 2025-08-18 02:10:44,049 - 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=2.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.482/2.546/1.063 ms') 2025-08-18 02:10:44,049 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30282196-37699728 passed 2025-08-18 02:10:44,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:10:44,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30282196-37699728, IP 58.242.175.67, Port 22 2025-08-18 02:10:44,372 - DEBUG - VM ctest-TestBasicPolicy-30282196-37699728 is ready for SSH connections 2025-08-18 02:10:44,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:10:44,372 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.242.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-18 02:10:44,372 - DEBUG - ping -s 56 -c 3 -W 1 58.242.175.67 2025-08-18 02:10:48,308 - DEBUG - PING 58.242.175.67 (58.242.175.67): 56 data bytes 64 bytes from 58.242.175.67: seq=0 ttl=63 time=3.171 ms 64 bytes from 58.242.175.67: seq=1 ttl=63 time=0.753 ms 64 bytes from 58.242.175.67: seq=2 ttl=63 time=0.688 ms --- 58.242.175.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.688/1.537/3.171 ms 2025-08-18 02:10:48,308 - INFO - Ping to IP 58.242.175.67 from VM ctest-TestBasicPolicy-30282196-59580537 passed 2025-08-18 02:10:48,485 - DEBUG - Policy Update Response {"network-policy": {"uuid": "258baebb-4540-4b2d-afa4-641b64e3749e", "href": "http://10.0.0.249:8082/network-policy/258baebb-4540-4b2d-afa4-641b64e3749e"}} 2025-08-18 02:10:48,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:10:48,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.242.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-18 02:10:48,485 - DEBUG - ping -s 56 -c 3 -W 1 58.242.175.67 2025-08-18 02:10:51,721 - DEBUG - PING 58.242.175.67 (58.242.175.67): 56 data bytes 64 bytes from 58.242.175.67: seq=0 ttl=63 time=1.482 ms --- 58.242.175.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.482/1.482/1.482 ms 2025-08-18 02:10:51,721 - WARNING - Ping to IP 58.242.175.67 from VM ctest-TestBasicPolicy-30282196-59580537 failed 2025-08-18 02:10:51,721 - INFO - Deleting VM ctest-TestBasicPolicy-30282196-37699728 2025-08-18 02:10:51,781 - INFO - Deleting VM ctest-TestBasicPolicy-30282196-59580537 2025-08-18 02:10:52,186 - INFO - Deleted policy ctest-policy-allow-all-52254627 2025-08-18 02:10:52,186 - INFO - Deleting VN ctest-vn-72475024 2025-08-18 02:10:52,218 - DEBUG - VN 9642a0cf-e702-4022-8c33-2299518d2d83 still in use: Unable to complete operation on network 9642a0cf-e702-4022-8c33-2299518d2d83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d3cf3f4b-ab42-4ca1-8433-67a407b42478'] 2025-08-18 02:10:52,218 - WARNING - Deleting VN ctest-vn-72475024 failed..Will retry 2025-08-18 02:10:54,313 - DEBUG - Response for deleting network () 2025-08-18 02:10:54,314 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/61794fc5-9440-460e-93c7-3955ef8c4a1d 2025-08-18 02:10:54,319 - DEBUG - Response Code: 404 2025-08-18 02:10:54,319 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-18 02:10:54,323 - DEBUG - Requesting: http://10.0.0.249:8082/domain/147fc761-229f-4d85-bbce-29d43b08f1a2 2025-08-18 02:10:54,379 - DEBUG - Requesting: http://10.0.0.249:8082/project/b92f9c84-62d2-46e4-b96f-308735c05543 2025-08-18 02:10:54,450 - INFO - Validated that VN ctest-vn-72475024 is not found in API Server 2025-08-18 02:10:54,460 - DEBUG - VN ctest-vn-72475024 is not present in Agent 10.0.0.249 2025-08-18 02:10:54,460 - INFO - Validated that VN ctest-vn-72475024 is not in any agent 2025-08-18 02:10:54,474 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72475024 info 2025-08-18 02:10:54,474 - INFO - Deleting VN ctest-vn-35480586 2025-08-18 02:10:54,564 - DEBUG - Response for deleting network () 2025-08-18 02:10:54,564 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/754b8d0c-ffcf-42b4-8375-2f5646b51151 2025-08-18 02:10:54,573 - DEBUG - Response Code: 404 2025-08-18 02:10:54,573 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-18 02:10:54,577 - DEBUG - Requesting: http://10.0.0.249:8082/domain/147fc761-229f-4d85-bbce-29d43b08f1a2 2025-08-18 02:10:54,633 - DEBUG - Requesting: http://10.0.0.249:8082/project/b92f9c84-62d2-46e4-b96f-308735c05543 2025-08-18 02:10:54,705 - INFO - Validated that VN ctest-vn-35480586 is not found in API Server 2025-08-18 02:10:54,715 - DEBUG - VN ctest-vn-35480586 is not present in Agent 10.0.0.249 2025-08-18 02:10:54,715 - INFO - Validated that VN ctest-vn-35480586 is not in any agent 2025-08-18 02:10:54,729 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35480586 info 2025-08-18 02:10:54,981 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 02:10:54,981 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-18 02:10:54,982 - INFO - -------------------------------------------------------------------------------- 2025-08-18 02:10:55,623 - INFO - Deleted project: ctest-TestBasicPolicy-30282196, ID : b92f9c84-62d2-46e4-b96f-308735c05543