2025-08-20 09:17:32,426 - INFO - Domain Default found not creating 2025-08-20 09:17:32,556 - INFO - Project ctest-TestBasicPolicy-17264524 not found, creating it 2025-08-20 09:17:33,002 - INFO - Created Project:ctest-TestBasicPolicy-17264524, ID : 36ecd675-6d44-4e86-a3ea-cd83c495cc8d 2025-08-20 09:17:34,570 - INFO - ================================================================================ 2025-08-20 09:17:34,570 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 09:17:34,570 - 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-20 09:17:34,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2025-08-20 09:17:34,825 - INFO - Initial checks done. Running the testcase now 2025-08-20 09:17:34,825 - INFO - 2025-08-20 09:17:35,398 - DEBUG - Response for create_network : {'network': {'id': '6c21ade1-f978-464c-9523-dbe0d839f7f2', 'name': 'ctest-vn-79300345', 'tenant_id': '36ecd6756d444e86a3eacd83c495cc8d', 'project_id': '36ecd6756d444e86a3eacd83c495cc8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17264524', 'ctest-vn-79300345'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:17:35,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ec35481-6910-4da1-9ee8-a9ddec569ee1', 'name': '', 'tenant_id': '36ecd6756d444e86a3eacd83c495cc8d', 'network_id': '6c21ade1-f978-464c-9523-dbe0d839f7f2', 'ip_version': 4, 'cidr': '6.72.48.0/26', 'allocation_pools': [{'start': '6.72.48.2', 'end': '6.72.48.62'}], 'gateway_ip': '6.72.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.72.48.2', 'tags': [], 'project_id': '36ecd6756d444e86a3eacd83c495cc8d'}} 2025-08-20 09:17:35,609 - INFO - Created VN ctest-vn-79300345 2025-08-20 09:17:35,663 - DEBUG - VN ctest-vn-79300345 UUID is 6c21ade1-f978-464c-9523-dbe0d839f7f2 2025-08-20 09:17:35,968 - DEBUG - Response for create_network : {'network': {'id': 'be78dbf4-2682-4d31-946c-0673c302638f', 'name': 'ctest-vn-34477359', 'tenant_id': '36ecd6756d444e86a3eacd83c495cc8d', 'project_id': '36ecd6756d444e86a3eacd83c495cc8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17264524', 'ctest-vn-34477359'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:17:36,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '3331b84f-8d9d-424b-b6e0-a7673ebf8ae7', 'name': '', 'tenant_id': '36ecd6756d444e86a3eacd83c495cc8d', 'network_id': 'be78dbf4-2682-4d31-946c-0673c302638f', 'ip_version': 4, 'cidr': '19.129.71.0/26', 'allocation_pools': [{'start': '19.129.71.2', 'end': '19.129.71.62'}], 'gateway_ip': '19.129.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.129.71.2', 'tags': [], 'project_id': '36ecd6756d444e86a3eacd83c495cc8d'}} 2025-08-20 09:17:36,178 - INFO - Created VN ctest-vn-34477359 2025-08-20 09:17:36,231 - DEBUG - VN ctest-vn-34477359 UUID is be78dbf4-2682-4d31-946c-0673c302638f 2025-08-20 09:17:36,425 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-79300345, 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-17264524:ctest-vn-34477359, 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-20 09:17:36,885 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c21ade1-f978-464c-9523-dbe0d839f7f2', 'name': 'ctest-vn-79300345', 'tenant_id': '36ecd6756d444e86a3eacd83c495cc8d', 'project_id': '36ecd6756d444e86a3eacd83c495cc8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9ec35481-6910-4da1-9ee8-a9ddec569ee1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17264524', 'ctest-vn-79300345'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17264524', 'ctest-policy-allow-all-95779722']], 'subnet_ipam': [{'subnet_cidr': '6.72.48.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:17:37,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be78dbf4-2682-4d31-946c-0673c302638f', 'name': 'ctest-vn-34477359', 'tenant_id': '36ecd6756d444e86a3eacd83c495cc8d', 'project_id': '36ecd6756d444e86a3eacd83c495cc8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3331b84f-8d9d-424b-b6e0-a7673ebf8ae7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17264524', 'ctest-vn-34477359'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17264524', 'ctest-policy-allow-all-95779722']], 'subnet_ipam': [{'subnet_cidr': '19.129.71.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:17:37,243 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-20 09:17:37,601 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-20 09:17:37,632 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f6f36838-ec57-408a-a3fc-ce44c8e524e3 2025-08-20 09:17:37,645 - DEBUG - Requesting: http://10.0.0.57:8082/project/36ecd675-6d44-4e86-a3ea-cd83c495cc8d 2025-08-20 09:17:37,721 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6c21ade1-f978-464c-9523-dbe0d839f7f2 2025-08-20 09:17:37,733 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6c21ade1-f978-464c-9523-dbe0d839f7f2 2025-08-20 09:17:37,742 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e9c4ce1e-4fc3-4ee8-857e-41c3f46c2836 2025-08-20 09:17:37,750 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e9c4ce1e-4fc3-4ee8-857e-41c3f46c2836 2025-08-20 09:17:37,757 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/cd8d7195-ec2d-4f32-aa0b-7fbd1f9cf2bb 2025-08-20 09:17:37,763 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 09:17:37,763 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6c21ade1-f978-464c-9523-dbe0d839f7f2 2025-08-20 09:17:37,773 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e9c4ce1e-4fc3-4ee8-857e-41c3f46c2836 2025-08-20 09:17:37,787 - INFO - Verified VN network id 12 for VN 6c21ade1-f978-464c-9523-dbe0d839f7f2 2025-08-20 09:17:37,787 - INFO - Verifications in API Server for VN ctest-vn-79300345 passed 2025-08-20 09:17:37,788 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6c21ade1-f978-464c-9523-dbe0d839f7f2 2025-08-20 09:17:37,798 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e9c4ce1e-4fc3-4ee8-857e-41c3f46c2836 2025-08-20 09:17:37,804 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e9c4ce1e-4fc3-4ee8-857e-41c3f46c2836 2025-08-20 09:17:37,811 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/cd8d7195-ec2d-4f32-aa0b-7fbd1f9cf2bb 2025-08-20 09:17:37,828 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-79300345', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17264524', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7791700016392324684', 'uuid-lslong': '10746674894582970354'}, 'enable': 'true', 'created': '2025-08-20T09:17:35', 'last-modified': '2025-08-20T09:17:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964699'} 2025-08-20 09:17:37,835 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 09:17:37,835 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79300345 passed 2025-08-20 09:17:37,835 - DEBUG - ====Verifying policy data for ctest-vn-79300345 in API_Server ====== 2025-08-20 09:17:37,835 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-20 09:17:37,840 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f6f36838-ec57-408a-a3fc-ce44c8e524e3 2025-08-20 09:17:37,851 - DEBUG - Requesting: http://10.0.0.57:8082/project/36ecd675-6d44-4e86-a3ea-cd83c495cc8d 2025-08-20 09:17:37,938 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6c21ade1-f978-464c-9523-dbe0d839f7f2 2025-08-20 09:17:37,951 - DEBUG - ==>Verifying data for policy with id: e1b3cad1-bef0-4aad-b9d0-7e2a2570b518, fqn: ['default-domain', 'ctest-TestBasicPolicy-17264524', 'ctest-policy-allow-all-95779722'] 2025-08-20 09:17:37,951 - INFO - VN ctest-vn-79300345 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 09:17:37,951 - DEBUG - Verifying the vn in opserver 2025-08-20 09:17:37,951 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-79300345 virtual network link through opserver 10.0.0.57 2025-08-20 09:17:37,952 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-20 09:17:38,285 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-20 09:17:38,339 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-79300345', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-79300345?flat'} 2025-08-20 09:17:38,339 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-79300345 is found in opserver 2025-08-20 09:17:38,350 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 09:17:38,361 - DEBUG - VRF ids for VN ctest-vn-79300345: {} 2025-08-20 09:17:38,361 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-20 09:17:38,367 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f6f36838-ec57-408a-a3fc-ce44c8e524e3 2025-08-20 09:17:38,379 - DEBUG - Requesting: http://10.0.0.57:8082/project/36ecd675-6d44-4e86-a3ea-cd83c495cc8d 2025-08-20 09:17:38,453 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/be78dbf4-2682-4d31-946c-0673c302638f 2025-08-20 09:17:38,466 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/be78dbf4-2682-4d31-946c-0673c302638f 2025-08-20 09:17:38,475 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c183ab45-a111-4ec1-aab6-f5199f2d7130 2025-08-20 09:17:38,482 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c183ab45-a111-4ec1-aab6-f5199f2d7130 2025-08-20 09:17:38,489 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b4de9c30-8456-4f34-a5c8-9ba624bf7074 2025-08-20 09:17:38,495 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 09:17:38,495 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/be78dbf4-2682-4d31-946c-0673c302638f 2025-08-20 09:17:38,505 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c183ab45-a111-4ec1-aab6-f5199f2d7130 2025-08-20 09:17:38,519 - INFO - Verified VN network id 13 for VN be78dbf4-2682-4d31-946c-0673c302638f 2025-08-20 09:17:38,519 - INFO - Verifications in API Server for VN ctest-vn-34477359 passed 2025-08-20 09:17:38,519 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/be78dbf4-2682-4d31-946c-0673c302638f 2025-08-20 09:17:38,529 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c183ab45-a111-4ec1-aab6-f5199f2d7130 2025-08-20 09:17:38,536 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c183ab45-a111-4ec1-aab6-f5199f2d7130 2025-08-20 09:17:38,543 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b4de9c30-8456-4f34-a5c8-9ba624bf7074 2025-08-20 09:17:38,554 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-34477359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17264524', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13724961706076163377', 'uuid-lslong': '10694930309360804751'}, 'enable': 'true', 'created': '2025-08-20T09:17:35', 'last-modified': '2025-08-20T09:17:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455543'} 2025-08-20 09:17:38,561 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 09:17:38,561 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34477359 passed 2025-08-20 09:17:38,562 - DEBUG - ====Verifying policy data for ctest-vn-34477359 in API_Server ====== 2025-08-20 09:17:38,562 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-20 09:17:38,567 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f6f36838-ec57-408a-a3fc-ce44c8e524e3 2025-08-20 09:17:38,578 - DEBUG - Requesting: http://10.0.0.57:8082/project/36ecd675-6d44-4e86-a3ea-cd83c495cc8d 2025-08-20 09:17:38,649 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/be78dbf4-2682-4d31-946c-0673c302638f 2025-08-20 09:17:38,659 - DEBUG - ==>Verifying data for policy with id: e1b3cad1-bef0-4aad-b9d0-7e2a2570b518, fqn: ['default-domain', 'ctest-TestBasicPolicy-17264524', 'ctest-policy-allow-all-95779722'] 2025-08-20 09:17:38,659 - INFO - VN ctest-vn-34477359 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 09:17:38,660 - DEBUG - Verifying the vn in opserver 2025-08-20 09:17:38,660 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-34477359 virtual network link through opserver 10.0.0.57 2025-08-20 09:17:38,660 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-20 09:17:38,669 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-34477359', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-34477359?flat'} 2025-08-20 09:17:38,669 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-34477359 is found in opserver 2025-08-20 09:17:38,680 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 09:17:38,686 - DEBUG - VRF ids for VN ctest-vn-34477359: {} 2025-08-20 09:17:38,745 - DEBUG - Services list from nova: [, , ] 2025-08-20 09:17:39,822 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1) 2025-08-20 09:17:41,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1) 2025-08-20 09:17:41,002 - INFO - Waiting for VM ctest-TestBasicPolicy-17264524-17175051 to be up.. 2025-08-20 09:17:41,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 09:17:46,155 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:17:46,155 - INFO - VM name : ctest-TestBasicPolicy-17264524-17175051 2025-08-20 09:17:46,224 - DEBUG - VM ctest-TestBasicPolicy-17264524-17175051 ID is ea17f561-337c-4e26-bd19-6ee09ac0f377 2025-08-20 09:17:46,242 - DEBUG - VM ctest-TestBasicPolicy-17264524-17175051 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1 2025-08-20 09:17:46,308 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ea17f561-337c-4e26-bd19-6ee09ac0f377 2025-08-20 09:17:46,316 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/1bd01a49-4a56-428e-b316-f1559387231a 2025-08-20 09:17:49,590 - 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 1029ms') 2025-08-20 09:17:49,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17264524-17175051 failed! 2025-08-20 09:17:49,651 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17264524:ctest-vn-79300345 is 6.72.48.1 and allocation pool is NOT set 2025-08-20 09:17:51,716 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.866 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.866/5.119/9.372/4.253 ms') 2025-08-20 09:17:51,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17264524-17175051 passed 2025-08-20 09:17:51,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:17:51,871 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17264524-17175051, IP 6.72.48.3, Port 22 2025-08-20 09:17:52,031 - DEBUG - VM ctest-TestBasicPolicy-17264524-17175051 is ready for SSH connections 2025-08-20 09:17:52,031 - INFO - Waiting for VM ctest-TestBasicPolicy-17264524-90601336 to be up.. 2025-08-20 09:17:52,106 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:17:52,106 - INFO - VM name : ctest-TestBasicPolicy-17264524-90601336 2025-08-20 09:17:52,175 - DEBUG - VM ctest-TestBasicPolicy-17264524-90601336 ID is b400272b-3a8d-4abe-bb92-3e6631f7be8d 2025-08-20 09:17:52,175 - DEBUG - VM ctest-TestBasicPolicy-17264524-90601336 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1 2025-08-20 09:17:52,242 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b400272b-3a8d-4abe-bb92-3e6631f7be8d 2025-08-20 09:17:52,251 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d5ac6a2b-f084-4fa3-8009-29d0c8412ce7 2025-08-20 09:17:53,489 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.54 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 = 1.543/3.325/5.107/1.782 ms') 2025-08-20 09:17:53,489 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17264524-90601336 passed 2025-08-20 09:17:53,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:17:53,643 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17264524-90601336, IP 19.129.71.3, Port 22 2025-08-20 09:17:53,702 - 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-08-20 09:17:53,776 - DEBUG - VM ctest-TestBasicPolicy-17264524-90601336 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-20 09:17:58,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:17:58,777 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17264524-90601336, IP 19.129.71.3, Port 22 2025-08-20 09:17:58,934 - DEBUG - VM ctest-TestBasicPolicy-17264524-90601336 is ready for SSH connections 2025-08-20 09:17:58,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:17:58,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.129.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-20 09:17:58,935 - DEBUG - ping -s 56 -c 3 -W 1 19.129.71.3 2025-08-20 09:18:02,640 - DEBUG - PING 19.129.71.3 (19.129.71.3): 56 data bytes 64 bytes from 19.129.71.3: seq=0 ttl=63 time=4.494 ms 64 bytes from 19.129.71.3: seq=1 ttl=63 time=0.902 ms 64 bytes from 19.129.71.3: seq=2 ttl=63 time=0.809 ms --- 19.129.71.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/2.068/4.494 ms 2025-08-20 09:18:02,640 - INFO - Ping to IP 19.129.71.3 from VM ctest-TestBasicPolicy-17264524-17175051 passed 2025-08-20 09:18:02,819 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e1b3cad1-bef0-4aad-b9d0-7e2a2570b518", "href": "http://10.0.0.57:8082/network-policy/e1b3cad1-bef0-4aad-b9d0-7e2a2570b518"}} 2025-08-20 09:18:02,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:18:02,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.129.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-20 09:18:02,819 - DEBUG - ping -s 56 -c 3 -W 1 19.129.71.3 2025-08-20 09:18:06,039 - DEBUG - PING 19.129.71.3 (19.129.71.3): 56 data bytes --- 19.129.71.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 09:18:06,039 - WARNING - Ping to IP 19.129.71.3 from VM ctest-TestBasicPolicy-17264524-17175051 failed 2025-08-20 09:18:06,039 - INFO - Deleting VM ctest-TestBasicPolicy-17264524-90601336 2025-08-20 09:18:06,103 - INFO - Deleting VM ctest-TestBasicPolicy-17264524-17175051 2025-08-20 09:18:06,487 - INFO - Deleted policy ctest-policy-allow-all-95779722 2025-08-20 09:18:06,487 - INFO - Deleting VN ctest-vn-34477359 2025-08-20 09:18:06,521 - DEBUG - VN be78dbf4-2682-4d31-946c-0673c302638f still in use: Unable to complete operation on network be78dbf4-2682-4d31-946c-0673c302638f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5881fa9-cba2-4b72-a2dd-c316c488f45e'] 2025-08-20 09:18:06,521 - WARNING - Deleting VN ctest-vn-34477359 failed..Will retry 2025-08-20 09:18:08,621 - DEBUG - Response for deleting network () 2025-08-20 09:18:08,621 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c183ab45-a111-4ec1-aab6-f5199f2d7130 2025-08-20 09:18:08,629 - DEBUG - Response Code: 404 2025-08-20 09:18:08,629 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-20 09:18:08,634 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f6f36838-ec57-408a-a3fc-ce44c8e524e3 2025-08-20 09:18:08,688 - DEBUG - Requesting: http://10.0.0.57:8082/project/36ecd675-6d44-4e86-a3ea-cd83c495cc8d 2025-08-20 09:18:08,757 - INFO - Validated that VN ctest-vn-34477359 is not found in API Server 2025-08-20 09:18:08,773 - DEBUG - VN ctest-vn-34477359 is not present in Agent 10.0.0.57 2025-08-20 09:18:08,773 - INFO - Validated that VN ctest-vn-34477359 is not in any agent 2025-08-20 09:18:08,790 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34477359 info 2025-08-20 09:18:08,790 - INFO - Deleting VN ctest-vn-79300345 2025-08-20 09:18:08,898 - DEBUG - Response for deleting network () 2025-08-20 09:18:08,898 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e9c4ce1e-4fc3-4ee8-857e-41c3f46c2836 2025-08-20 09:18:08,907 - DEBUG - Response Code: 404 2025-08-20 09:18:08,907 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-20 09:18:08,914 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f6f36838-ec57-408a-a3fc-ce44c8e524e3 2025-08-20 09:18:08,968 - DEBUG - Requesting: http://10.0.0.57:8082/project/36ecd675-6d44-4e86-a3ea-cd83c495cc8d 2025-08-20 09:18:09,048 - INFO - Validated that VN ctest-vn-79300345 is not found in API Server 2025-08-20 09:18:09,059 - DEBUG - VN ctest-vn-79300345 is not present in Agent 10.0.0.57 2025-08-20 09:18:09,059 - INFO - Validated that VN ctest-vn-79300345 is not in any agent 2025-08-20 09:18:09,075 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79300345 info 2025-08-20 09:18:09,328 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 09:18:09,328 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-08-20 09:18:09,328 - INFO - -------------------------------------------------------------------------------- 2025-08-20 09:18:10,048 - INFO - Deleted project: ctest-TestBasicPolicy-17264524, ID : 36ecd675-6d44-4e86-a3ea-cd83c495cc8d