2025-12-04 02:41:33,333 - INFO - Domain Default found not creating 2025-12-04 02:41:33,513 - INFO - Project ctest-TestBasicPolicy-84220974 not found, creating it 2025-12-04 02:41:34,020 - INFO - Created Project:ctest-TestBasicPolicy-84220974, ID : ef8f59dd-fbc4-4f67-8cf0-1f5a34ea34c2 2025-12-04 02:41:35,708 - INFO - ================================================================================ 2025-12-04 02:41:35,709 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-04 02:41:35,709 - 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-12-04 02:41:35,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-04 02:41:35,972 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:41:35,972 - INFO - 2025-12-04 02:41:36,614 - DEBUG - Response for create_network : {'network': {'id': '1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4', 'name': 'ctest-vn-29451081', 'tenant_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'project_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84220974', 'ctest-vn-29451081'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:41:36,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd0d4e1d-16b4-442c-86a6-9bf065a53ef7', 'name': '', 'tenant_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'network_id': '1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4', 'ip_version': 4, 'cidr': '43.152.82.0/26', 'allocation_pools': [{'start': '43.152.82.2', 'end': '43.152.82.62'}], 'gateway_ip': '43.152.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.152.82.2', 'tags': [], 'project_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2'}} 2025-12-04 02:41:36,852 - INFO - Created VN ctest-vn-29451081 2025-12-04 02:41:36,906 - DEBUG - VN ctest-vn-29451081 UUID is 1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4 2025-12-04 02:41:37,208 - DEBUG - Response for create_network : {'network': {'id': '85ffb33e-0ea4-43ad-b65d-de61aa275ceb', 'name': 'ctest-vn-66169352', 'tenant_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'project_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84220974', 'ctest-vn-66169352'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:41:37,455 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1fae97e-3f65-424d-b480-db6a68e97929', 'name': '', 'tenant_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'network_id': '85ffb33e-0ea4-43ad-b65d-de61aa275ceb', 'ip_version': 4, 'cidr': '54.45.152.192/26', 'allocation_pools': [{'start': '54.45.152.194', 'end': '54.45.152.254'}], 'gateway_ip': '54.45.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.45.152.194', 'tags': [], 'project_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2'}} 2025-12-04 02:41:37,475 - INFO - Created VN ctest-vn-66169352 2025-12-04 02:41:37,530 - DEBUG - VN ctest-vn-66169352 UUID is 85ffb33e-0ea4-43ad-b65d-de61aa275ceb 2025-12-04 02:41:37,647 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-29451081, 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-84220974:ctest-vn-66169352, 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-12-04 02:41:37,936 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4', 'name': 'ctest-vn-29451081', 'tenant_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'project_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fd0d4e1d-16b4-442c-86a6-9bf065a53ef7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84220974', 'ctest-vn-29451081'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84220974', 'ctest-policy-allow-all-05581097']], 'subnet_ipam': [{'subnet_cidr': '43.152.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:41:38,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85ffb33e-0ea4-43ad-b65d-de61aa275ceb', 'name': 'ctest-vn-66169352', 'tenant_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'project_id': 'ef8f59ddfbc44f678cf01f5a34ea34c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1fae97e-3f65-424d-b480-db6a68e97929'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84220974', 'ctest-vn-66169352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84220974', 'ctest-policy-allow-all-05581097']], 'subnet_ipam': [{'subnet_cidr': '54.45.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:41:38,370 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 02:41:38,716 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 02:41:38,750 - DEBUG - Requesting: http://10.0.0.38:8082/domain/936f408a-4e9d-4518-b764-6d352fd347fd 2025-12-04 02:41:38,762 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef8f59dd-fbc4-4f67-8cf0-1f5a34ea34c2 2025-12-04 02:41:38,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4 2025-12-04 02:41:38,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4 2025-12-04 02:41:38,854 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/294ca28a-d317-4eb1-9665-620274ca83fd 2025-12-04 02:41:38,862 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/294ca28a-d317-4eb1-9665-620274ca83fd 2025-12-04 02:41:38,870 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/77deed4d-a111-4196-8e55-1bd27472f3d5 2025-12-04 02:41:38,877 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 02:41:38,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4 2025-12-04 02:41:38,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/294ca28a-d317-4eb1-9665-620274ca83fd 2025-12-04 02:41:38,900 - INFO - Verified VN network id 11 for VN 1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4 2025-12-04 02:41:38,900 - INFO - Verifications in API Server for VN ctest-vn-29451081 passed 2025-12-04 02:41:38,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4 2025-12-04 02:41:38,908 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/294ca28a-d317-4eb1-9665-620274ca83fd 2025-12-04 02:41:38,914 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/294ca28a-d317-4eb1-9665-620274ca83fd 2025-12-04 02:41:38,920 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/77deed4d-a111-4196-8e55-1bd27472f3d5 2025-12-04 02:41:38,931 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-29451081', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84220974', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2201401830673633117', 'uuid-lslong': '13175772822002337988'}, 'enable': 'true', 'created': '2025-12-04T02:41:36', 'last-modified': '2025-12-04T02:41:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019765'} 2025-12-04 02:41:38,936 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 02:41:38,938 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29451081 passed 2025-12-04 02:41:38,938 - DEBUG - ====Verifying policy data for ctest-vn-29451081 in API_Server ====== 2025-12-04 02:41:38,938 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 02:41:38,944 - DEBUG - Requesting: http://10.0.0.38:8082/domain/936f408a-4e9d-4518-b764-6d352fd347fd 2025-12-04 02:41:38,955 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef8f59dd-fbc4-4f67-8cf0-1f5a34ea34c2 2025-12-04 02:41:39,028 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e8cf34d-2d32-4f5d-b6d9-bf92c8b208c4 2025-12-04 02:41:39,038 - DEBUG - ==>Verifying data for policy with id: 34ece050-c700-4270-bf69-881c281df8ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-84220974', 'ctest-policy-allow-all-05581097'] 2025-12-04 02:41:39,038 - INFO - VN ctest-vn-29451081 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 02:41:39,038 - DEBUG - Verifying the vn in opserver 2025-12-04 02:41:39,038 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-29451081 virtual network link through opserver 10.0.0.38 2025-12-04 02:41:39,038 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-04 02:41:39,375 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-04 02:41:39,440 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-29451081', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-29451081?flat'} 2025-12-04 02:41:39,440 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-29451081 is found in opserver 2025-12-04 02:41:39,450 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 02:41:39,455 - DEBUG - VRF ids for VN ctest-vn-29451081: {} 2025-12-04 02:41:39,455 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 02:41:39,460 - DEBUG - Requesting: http://10.0.0.38:8082/domain/936f408a-4e9d-4518-b764-6d352fd347fd 2025-12-04 02:41:39,472 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef8f59dd-fbc4-4f67-8cf0-1f5a34ea34c2 2025-12-04 02:41:39,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/85ffb33e-0ea4-43ad-b65d-de61aa275ceb 2025-12-04 02:41:39,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/85ffb33e-0ea4-43ad-b65d-de61aa275ceb 2025-12-04 02:41:39,567 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39f383ad-17ff-4b97-a278-2a38c6f7f4ce 2025-12-04 02:41:39,574 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39f383ad-17ff-4b97-a278-2a38c6f7f4ce 2025-12-04 02:41:39,580 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b711a8d3-8ac2-4b9d-bb74-79bf86c16562 2025-12-04 02:41:39,589 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 02:41:39,589 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/85ffb33e-0ea4-43ad-b65d-de61aa275ceb 2025-12-04 02:41:39,598 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39f383ad-17ff-4b97-a278-2a38c6f7f4ce 2025-12-04 02:41:39,612 - INFO - Verified VN network id 12 for VN 85ffb33e-0ea4-43ad-b65d-de61aa275ceb 2025-12-04 02:41:39,612 - INFO - Verifications in API Server for VN ctest-vn-66169352 passed 2025-12-04 02:41:39,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/85ffb33e-0ea4-43ad-b65d-de61aa275ceb 2025-12-04 02:41:39,621 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39f383ad-17ff-4b97-a278-2a38c6f7f4ce 2025-12-04 02:41:39,628 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39f383ad-17ff-4b97-a278-2a38c6f7f4ce 2025-12-04 02:41:39,635 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b711a8d3-8ac2-4b9d-bb74-79bf86c16562 2025-12-04 02:41:39,647 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-66169352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84220974', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9655633205220623277', 'uuid-lslong': '13140903798784875755'}, 'enable': 'true', 'created': '2025-12-04T02:41:37', 'last-modified': '2025-12-04T02:41:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495734'} 2025-12-04 02:41:39,653 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 02:41:39,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66169352 passed 2025-12-04 02:41:39,654 - DEBUG - ====Verifying policy data for ctest-vn-66169352 in API_Server ====== 2025-12-04 02:41:39,654 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 02:41:39,659 - DEBUG - Requesting: http://10.0.0.38:8082/domain/936f408a-4e9d-4518-b764-6d352fd347fd 2025-12-04 02:41:39,670 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef8f59dd-fbc4-4f67-8cf0-1f5a34ea34c2 2025-12-04 02:41:39,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/85ffb33e-0ea4-43ad-b65d-de61aa275ceb 2025-12-04 02:41:39,748 - DEBUG - ==>Verifying data for policy with id: 34ece050-c700-4270-bf69-881c281df8ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-84220974', 'ctest-policy-allow-all-05581097'] 2025-12-04 02:41:39,748 - INFO - VN ctest-vn-66169352 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 02:41:39,748 - DEBUG - Verifying the vn in opserver 2025-12-04 02:41:39,749 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-66169352 virtual network link through opserver 10.0.0.38 2025-12-04 02:41:39,749 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-04 02:41:39,759 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-66169352', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-66169352?flat'} 2025-12-04 02:41:39,759 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-66169352 is found in opserver 2025-12-04 02:41:39,769 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 02:41:39,774 - DEBUG - VRF ids for VN ctest-vn-66169352: {} 2025-12-04 02:41:39,835 - DEBUG - Services list from nova: [, , ] 2025-12-04 02:41:40,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4836-1) 2025-12-04 02:41:42,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4836-1) 2025-12-04 02:41:42,229 - INFO - Waiting for VM ctest-TestBasicPolicy-84220974-54854925 to be up.. 2025-12-04 02:41:42,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 02:41:47,425 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:41:47,425 - INFO - VM name : ctest-TestBasicPolicy-84220974-54854925 2025-12-04 02:41:47,518 - DEBUG - VM ctest-TestBasicPolicy-84220974-54854925 ID is 3c3dd825-0db5-401e-a055-eee19b167951 2025-12-04 02:41:47,542 - DEBUG - VM ctest-TestBasicPolicy-84220974-54854925 launched on Node cn-jenkins-deploy-platform-ansible-os-4836-1 2025-12-04 02:41:47,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3c3dd825-0db5-401e-a055-eee19b167951 2025-12-04 02:41:47,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d680a4df-bab4-45ea-8df7-eaa8b586494c 2025-12-04 02:41:50,905 - 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 1018ms') 2025-12-04 02:41:50,905 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84220974-54854925 failed! 2025-12-04 02:41:50,962 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84220974:ctest-vn-29451081 is 43.152.82.1 and allocation pool is NOT set 2025-12-04 02:41:53,026 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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 = 2.176/5.858/9.541/3.682 ms') 2025-12-04 02:41:53,026 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84220974-54854925 passed 2025-12-04 02:41:53,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:41:53,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84220974-54854925, IP 43.152.82.3, Port 22 2025-12-04 02:41:53,244 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 02:41:53,325 - DEBUG - VM ctest-TestBasicPolicy-84220974-54854925 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:41:58,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:41:58,326 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84220974-54854925, IP 43.152.82.3, Port 22 2025-12-04 02:41:58,482 - DEBUG - VM ctest-TestBasicPolicy-84220974-54854925 is ready for SSH connections 2025-12-04 02:41:58,482 - INFO - Waiting for VM ctest-TestBasicPolicy-84220974-92111684 to be up.. 2025-12-04 02:41:58,562 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:41:58,563 - INFO - VM name : ctest-TestBasicPolicy-84220974-92111684 2025-12-04 02:41:58,642 - DEBUG - VM ctest-TestBasicPolicy-84220974-92111684 ID is ef0e0ce9-82d8-4922-9c1a-59c824b8a891 2025-12-04 02:41:58,642 - DEBUG - VM ctest-TestBasicPolicy-84220974-92111684 launched on Node cn-jenkins-deploy-platform-ansible-os-4836-1 2025-12-04 02:41:58,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef0e0ce9-82d8-4922-9c1a-59c824b8a891 2025-12-04 02:41:58,724 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4c7805a0-d9cc-4cb5-81bd-4cf75be9473e 2025-12-04 02:41:59,961 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.839/3.227/1.387 ms') 2025-12-04 02:41:59,961 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84220974-92111684 passed 2025-12-04 02:42:00,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:42:00,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84220974-92111684, IP 54.45.152.195, Port 22 2025-12-04 02:42:00,289 - DEBUG - VM ctest-TestBasicPolicy-84220974-92111684 is ready for SSH connections 2025-12-04 02:42:00,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:42:00,289 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.45.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 02:42:00,289 - DEBUG - ping -s 56 -c 3 -W 1 54.45.152.195 2025-12-04 02:42:04,425 - DEBUG - PING 54.45.152.195 (54.45.152.195): 56 data bytes 64 bytes from 54.45.152.195: seq=0 ttl=63 time=4.588 ms 64 bytes from 54.45.152.195: seq=1 ttl=63 time=1.197 ms 64 bytes from 54.45.152.195: seq=2 ttl=63 time=1.058 ms --- 54.45.152.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/2.281/4.588 ms 2025-12-04 02:42:04,425 - INFO - Ping to IP 54.45.152.195 from VM ctest-TestBasicPolicy-84220974-54854925 passed 2025-12-04 02:42:04,606 - DEBUG - Policy Update Response {"network-policy": {"uuid": "34ece050-c700-4270-bf69-881c281df8ca", "href": "http://10.0.0.38:8082/network-policy/34ece050-c700-4270-bf69-881c281df8ca"}} 2025-12-04 02:42:04,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:42:04,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.45.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 02:42:04,606 - DEBUG - ping -s 56 -c 3 -W 1 54.45.152.195 2025-12-04 02:42:07,843 - DEBUG - PING 54.45.152.195 (54.45.152.195): 56 data bytes --- 54.45.152.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 02:42:07,844 - WARNING - Ping to IP 54.45.152.195 from VM ctest-TestBasicPolicy-84220974-54854925 failed 2025-12-04 02:42:07,844 - INFO - Deleting VM ctest-TestBasicPolicy-84220974-92111684 2025-12-04 02:42:07,927 - INFO - Deleting VM ctest-TestBasicPolicy-84220974-54854925 2025-12-04 02:42:08,350 - INFO - Deleted policy ctest-policy-allow-all-05581097 2025-12-04 02:42:08,350 - INFO - Deleting VN ctest-vn-66169352 2025-12-04 02:42:08,391 - DEBUG - VN 85ffb33e-0ea4-43ad-b65d-de61aa275ceb still in use: Unable to complete operation on network 85ffb33e-0ea4-43ad-b65d-de61aa275ceb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48c3c601-c1a8-4fac-bf78-f37f1bcf6fb6'] 2025-12-04 02:42:08,392 - WARNING - Deleting VN ctest-vn-66169352 failed..Will retry 2025-12-04 02:42:10,511 - DEBUG - Response for deleting network () 2025-12-04 02:42:10,511 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/39f383ad-17ff-4b97-a278-2a38c6f7f4ce 2025-12-04 02:42:10,517 - DEBUG - Response Code: 404 2025-12-04 02:42:10,517 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 02:42:10,522 - DEBUG - Requesting: http://10.0.0.38:8082/domain/936f408a-4e9d-4518-b764-6d352fd347fd 2025-12-04 02:42:10,577 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef8f59dd-fbc4-4f67-8cf0-1f5a34ea34c2 2025-12-04 02:42:10,652 - INFO - Validated that VN ctest-vn-66169352 is not found in API Server 2025-12-04 02:42:10,662 - DEBUG - VN ctest-vn-66169352 is not present in Agent 10.0.0.38 2025-12-04 02:42:10,662 - INFO - Validated that VN ctest-vn-66169352 is not in any agent 2025-12-04 02:42:10,677 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66169352 info 2025-12-04 02:42:10,678 - INFO - Deleting VN ctest-vn-29451081 2025-12-04 02:42:10,785 - DEBUG - Response for deleting network () 2025-12-04 02:42:10,786 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/294ca28a-d317-4eb1-9665-620274ca83fd 2025-12-04 02:42:10,792 - DEBUG - Response Code: 404 2025-12-04 02:42:10,792 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 02:42:10,797 - DEBUG - Requesting: http://10.0.0.38:8082/domain/936f408a-4e9d-4518-b764-6d352fd347fd 2025-12-04 02:42:10,851 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef8f59dd-fbc4-4f67-8cf0-1f5a34ea34c2 2025-12-04 02:42:10,923 - INFO - Validated that VN ctest-vn-29451081 is not found in API Server 2025-12-04 02:42:10,933 - DEBUG - VN ctest-vn-29451081 is not present in Agent 10.0.0.38 2025-12-04 02:42:10,933 - INFO - Validated that VN ctest-vn-29451081 is not in any agent 2025-12-04 02:42:10,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29451081 info 2025-12-04 02:42:11,210 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 02:42:11,210 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-12-04 02:42:11,210 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:42:11,948 - INFO - Deleted project: ctest-TestBasicPolicy-84220974, ID : ef8f59dd-fbc4-4f67-8cf0-1f5a34ea34c2