2025-06-02 02:32:45,021 - INFO - Domain Default found not creating 2025-06-02 02:32:45,168 - INFO - Project ctest-TestBasicPolicy-02681075 not found, creating it 2025-06-02 02:32:45,645 - INFO - Created Project:ctest-TestBasicPolicy-02681075, ID : d278d1b3-b2f6-4a26-be4b-548732408bc5 2025-06-02 02:32:47,238 - INFO - ================================================================================ 2025-06-02 02:32:47,238 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-02 02:32:47,238 - 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-06-02 02:32:47,499 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-06-02 02:32:47,499 - INFO - Initial checks done. Running the testcase now 2025-06-02 02:32:47,499 - INFO - 2025-06-02 02:32:48,101 - DEBUG - Response for create_network : {'network': {'id': '7cc2b18f-c3f7-4791-9533-82050e5008d1', 'name': 'ctest-vn-39363287', 'tenant_id': 'd278d1b3b2f64a26be4b548732408bc5', 'project_id': 'd278d1b3b2f64a26be4b548732408bc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02681075', 'ctest-vn-39363287'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 02:32:48,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b7bc512-af19-44b5-9626-40bcfdb20240', 'name': '', 'tenant_id': 'd278d1b3b2f64a26be4b548732408bc5', 'network_id': '7cc2b18f-c3f7-4791-9533-82050e5008d1', 'ip_version': 4, 'cidr': '104.227.67.128/26', 'allocation_pools': [{'start': '104.227.67.130', 'end': '104.227.67.190'}], 'gateway_ip': '104.227.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.227.67.130', 'tags': [], 'project_id': 'd278d1b3b2f64a26be4b548732408bc5'}} 2025-06-02 02:32:48,284 - INFO - Created VN ctest-vn-39363287 2025-06-02 02:32:48,336 - DEBUG - VN ctest-vn-39363287 UUID is 7cc2b18f-c3f7-4791-9533-82050e5008d1 2025-06-02 02:32:48,674 - DEBUG - Response for create_network : {'network': {'id': '7cd56e35-7e14-4e8b-b822-fff6d56c1d35', 'name': 'ctest-vn-27923388', 'tenant_id': 'd278d1b3b2f64a26be4b548732408bc5', 'project_id': 'd278d1b3b2f64a26be4b548732408bc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02681075', 'ctest-vn-27923388'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 02:32:48,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '5965c12f-1f27-4e51-aab6-449a5add0cde', 'name': '', 'tenant_id': 'd278d1b3b2f64a26be4b548732408bc5', 'network_id': '7cd56e35-7e14-4e8b-b822-fff6d56c1d35', 'ip_version': 4, 'cidr': '114.162.52.128/26', 'allocation_pools': [{'start': '114.162.52.130', 'end': '114.162.52.190'}], 'gateway_ip': '114.162.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.162.52.130', 'tags': [], 'project_id': 'd278d1b3b2f64a26be4b548732408bc5'}} 2025-06-02 02:32:48,854 - INFO - Created VN ctest-vn-27923388 2025-06-02 02:32:48,908 - DEBUG - VN ctest-vn-27923388 UUID is 7cd56e35-7e14-4e8b-b822-fff6d56c1d35 2025-06-02 02:32:49,029 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-39363287, 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-02681075:ctest-vn-27923388, 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-06-02 02:32:49,340 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cc2b18f-c3f7-4791-9533-82050e5008d1', 'name': 'ctest-vn-39363287', 'tenant_id': 'd278d1b3b2f64a26be4b548732408bc5', 'project_id': 'd278d1b3b2f64a26be4b548732408bc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b7bc512-af19-44b5-9626-40bcfdb20240'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02681075', 'ctest-vn-39363287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02681075', 'ctest-policy-allow-all-75746500']], 'subnet_ipam': [{'subnet_cidr': '104.227.67.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 02:32:49,583 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cd56e35-7e14-4e8b-b822-fff6d56c1d35', 'name': 'ctest-vn-27923388', 'tenant_id': 'd278d1b3b2f64a26be4b548732408bc5', 'project_id': 'd278d1b3b2f64a26be4b548732408bc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5965c12f-1f27-4e51-aab6-449a5add0cde'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02681075', 'ctest-vn-27923388'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02681075', 'ctest-policy-allow-all-75746500']], 'subnet_ipam': [{'subnet_cidr': '114.162.52.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 02:32:49,728 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-02 02:32:50,068 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-02 02:32:50,100 - DEBUG - Requesting: http://10.0.0.131:8082/domain/b335d742-a7a1-43da-b8db-9e2748f9277c 2025-06-02 02:32:50,115 - DEBUG - Requesting: http://10.0.0.131:8082/project/d278d1b3-b2f6-4a26-be4b-548732408bc5 2025-06-02 02:32:50,190 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cc2b18f-c3f7-4791-9533-82050e5008d1 2025-06-02 02:32:50,202 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cc2b18f-c3f7-4791-9533-82050e5008d1 2025-06-02 02:32:50,212 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5eae7888-426f-4536-8925-8b859fee2247 2025-06-02 02:32:50,220 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5eae7888-426f-4536-8925-8b859fee2247 2025-06-02 02:32:50,226 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3ea300bb-aece-41d2-a796-30e8cbeebc24 2025-06-02 02:32:50,232 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 02:32:50,233 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cc2b18f-c3f7-4791-9533-82050e5008d1 2025-06-02 02:32:50,242 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5eae7888-426f-4536-8925-8b859fee2247 2025-06-02 02:32:50,255 - INFO - Verified VN network id 8 for VN 7cc2b18f-c3f7-4791-9533-82050e5008d1 2025-06-02 02:32:50,255 - INFO - Verifications in API Server for VN ctest-vn-39363287 passed 2025-06-02 02:32:50,255 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cc2b18f-c3f7-4791-9533-82050e5008d1 2025-06-02 02:32:50,264 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5eae7888-426f-4536-8925-8b859fee2247 2025-06-02 02:32:50,272 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5eae7888-426f-4536-8925-8b859fee2247 2025-06-02 02:32:50,280 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3ea300bb-aece-41d2-a796-30e8cbeebc24 2025-06-02 02:32:50,294 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-39363287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02681075', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8989943037211133841', 'uuid-lslong': '10751079693690079441'}, 'enable': 'true', 'created': '2025-06-02T02:32:48', 'last-modified': '2025-06-02T02:32:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977642'} 2025-06-02 02:32:50,300 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 02:32:50,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39363287 passed 2025-06-02 02:32:50,301 - DEBUG - ====Verifying policy data for ctest-vn-39363287 in API_Server ====== 2025-06-02 02:32:50,301 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-02 02:32:50,306 - DEBUG - Requesting: http://10.0.0.131:8082/domain/b335d742-a7a1-43da-b8db-9e2748f9277c 2025-06-02 02:32:50,318 - DEBUG - Requesting: http://10.0.0.131:8082/project/d278d1b3-b2f6-4a26-be4b-548732408bc5 2025-06-02 02:32:50,394 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cc2b18f-c3f7-4791-9533-82050e5008d1 2025-06-02 02:32:50,407 - DEBUG - ==>Verifying data for policy with id: 249eeff3-6a13-455c-955a-798da91e7be9, fqn: ['default-domain', 'ctest-TestBasicPolicy-02681075', 'ctest-policy-allow-all-75746500'] 2025-06-02 02:32:50,407 - INFO - VN ctest-vn-39363287 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 02:32:50,407 - DEBUG - Verifying the vn in opserver 2025-06-02 02:32:50,407 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-39363287 virtual network link through opserver 10.0.0.131 2025-06-02 02:32:50,408 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-06-02 02:32:50,744 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-06-02 02:32:50,805 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-39363287', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-39363287?flat'} 2025-06-02 02:32:50,805 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-39363287 is found in opserver 2025-06-02 02:32:50,817 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 02:32:50,824 - DEBUG - VRF ids for VN ctest-vn-39363287: {} 2025-06-02 02:32:50,824 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-02 02:32:50,830 - DEBUG - Requesting: http://10.0.0.131:8082/domain/b335d742-a7a1-43da-b8db-9e2748f9277c 2025-06-02 02:32:50,842 - DEBUG - Requesting: http://10.0.0.131:8082/project/d278d1b3-b2f6-4a26-be4b-548732408bc5 2025-06-02 02:32:50,922 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cd56e35-7e14-4e8b-b822-fff6d56c1d35 2025-06-02 02:32:50,935 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cd56e35-7e14-4e8b-b822-fff6d56c1d35 2025-06-02 02:32:50,947 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9e8ff716-2119-40d6-988a-a3bcafd62f62 2025-06-02 02:32:50,955 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9e8ff716-2119-40d6-988a-a3bcafd62f62 2025-06-02 02:32:50,962 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/c60fd80a-dd2a-47b7-a242-7cd24d27b1bb 2025-06-02 02:32:50,969 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 02:32:50,969 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cd56e35-7e14-4e8b-b822-fff6d56c1d35 2025-06-02 02:32:50,980 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9e8ff716-2119-40d6-988a-a3bcafd62f62 2025-06-02 02:32:50,995 - INFO - Verified VN network id 9 for VN 7cd56e35-7e14-4e8b-b822-fff6d56c1d35 2025-06-02 02:32:50,996 - INFO - Verifications in API Server for VN ctest-vn-27923388 passed 2025-06-02 02:32:50,996 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cd56e35-7e14-4e8b-b822-fff6d56c1d35 2025-06-02 02:32:51,006 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9e8ff716-2119-40d6-988a-a3bcafd62f62 2025-06-02 02:32:51,013 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9e8ff716-2119-40d6-988a-a3bcafd62f62 2025-06-02 02:32:51,020 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/c60fd80a-dd2a-47b7-a242-7cd24d27b1bb 2025-06-02 02:32:51,033 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-27923388', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02681075', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8995217006770015883', 'uuid-lslong': '13268448887794572597'}, 'enable': 'true', 'created': '2025-06-02T02:32:48', 'last-modified': '2025-06-02T02:32:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.474768'} 2025-06-02 02:32:51,040 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 02:32:51,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27923388 passed 2025-06-02 02:32:51,040 - DEBUG - ====Verifying policy data for ctest-vn-27923388 in API_Server ====== 2025-06-02 02:32:51,040 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-02 02:32:51,046 - DEBUG - Requesting: http://10.0.0.131:8082/domain/b335d742-a7a1-43da-b8db-9e2748f9277c 2025-06-02 02:32:51,058 - DEBUG - Requesting: http://10.0.0.131:8082/project/d278d1b3-b2f6-4a26-be4b-548732408bc5 2025-06-02 02:32:51,135 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/7cd56e35-7e14-4e8b-b822-fff6d56c1d35 2025-06-02 02:32:51,147 - DEBUG - ==>Verifying data for policy with id: 249eeff3-6a13-455c-955a-798da91e7be9, fqn: ['default-domain', 'ctest-TestBasicPolicy-02681075', 'ctest-policy-allow-all-75746500'] 2025-06-02 02:32:51,147 - INFO - VN ctest-vn-27923388 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 02:32:51,147 - DEBUG - Verifying the vn in opserver 2025-06-02 02:32:51,147 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-27923388 virtual network link through opserver 10.0.0.131 2025-06-02 02:32:51,147 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-06-02 02:32:51,159 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-27923388', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-27923388?flat'} 2025-06-02 02:32:51,159 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-27923388 is found in opserver 2025-06-02 02:32:51,171 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 02:32:51,176 - DEBUG - VRF ids for VN ctest-vn-27923388: {} 2025-06-02 02:32:51,233 - DEBUG - Services list from nova: [, , ] 2025-06-02 02:32:52,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3382-1) 2025-06-02 02:32:53,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3382-1) 2025-06-02 02:32:53,658 - INFO - Waiting for VM ctest-TestBasicPolicy-02681075-98365217 to be up.. 2025-06-02 02:32:53,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-02 02:32:58,818 - DEBUG - VM is in ACTIVE state now 2025-06-02 02:32:58,818 - INFO - VM name : ctest-TestBasicPolicy-02681075-98365217 2025-06-02 02:32:58,890 - DEBUG - VM ctest-TestBasicPolicy-02681075-98365217 ID is 57543d0a-c45d-4268-90b3-1c6a10a850a4 2025-06-02 02:32:58,907 - DEBUG - VM ctest-TestBasicPolicy-02681075-98365217 launched on Node cn-jenkins-deploy-platform-ansible-os-3382-1 2025-06-02 02:32:58,981 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/57543d0a-c45d-4268-90b3-1c6a10a850a4 2025-06-02 02:32:58,989 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/3534d26a-9991-45dc-a277-a28256128853 2025-06-02 02:33:02,249 - 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 1022ms') 2025-06-02 02:33:02,249 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02681075-98365217 failed! 2025-06-02 02:33:02,304 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02681075:ctest-vn-39363287 is 104.227.67.129 and allocation pool is NOT set 2025-06-02 02:33:04,365 - 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=7.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 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.355/3.801/7.248/3.446 ms') 2025-06-02 02:33:04,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02681075-98365217 passed 2025-06-02 02:33:04,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 02:33:04,524 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02681075-98365217, IP 104.227.67.131, Port 22 2025-06-02 02:33:04,683 - DEBUG - VM ctest-TestBasicPolicy-02681075-98365217 is ready for SSH connections 2025-06-02 02:33:04,683 - INFO - Waiting for VM ctest-TestBasicPolicy-02681075-63429574 to be up.. 2025-06-02 02:33:04,763 - DEBUG - VM is in ACTIVE state now 2025-06-02 02:33:04,763 - INFO - VM name : ctest-TestBasicPolicy-02681075-63429574 2025-06-02 02:33:04,844 - DEBUG - VM ctest-TestBasicPolicy-02681075-63429574 ID is 588d20e4-43b2-4b98-87fd-1962c5a5320d 2025-06-02 02:33:04,844 - DEBUG - VM ctest-TestBasicPolicy-02681075-63429574 launched on Node cn-jenkins-deploy-platform-ansible-os-3382-1 2025-06-02 02:33:04,927 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/588d20e4-43b2-4b98-87fd-1962c5a5320d 2025-06-02 02:33:04,937 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/5e9816af-752f-4f2d-87a0-81321ca2afdc 2025-06-02 02:33:06,184 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.432/1.618/2.804/1.186 ms') 2025-06-02 02:33:06,185 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02681075-63429574 passed 2025-06-02 02:33:06,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 02:33:06,332 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02681075-63429574, IP 114.162.52.131, Port 22 2025-06-02 02:33:06,492 - DEBUG - VM ctest-TestBasicPolicy-02681075-63429574 is ready for SSH connections 2025-06-02 02:33:06,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 02:33:06,492 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.162.52.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-06-02 02:33:06,492 - DEBUG - ping -s 56 -c 3 -W 1 114.162.52.131 2025-06-02 02:33:10,181 - DEBUG - PING 114.162.52.131 (114.162.52.131): 56 data bytes 64 bytes from 114.162.52.131: seq=0 ttl=63 time=3.365 ms 64 bytes from 114.162.52.131: seq=1 ttl=63 time=0.846 ms 64 bytes from 114.162.52.131: seq=2 ttl=63 time=0.726 ms --- 114.162.52.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.645/3.365 ms 2025-06-02 02:33:10,181 - INFO - Ping to IP 114.162.52.131 from VM ctest-TestBasicPolicy-02681075-98365217 passed 2025-06-02 02:33:10,364 - DEBUG - Policy Update Response {"network-policy": {"uuid": "249eeff3-6a13-455c-955a-798da91e7be9", "href": "http://10.0.0.131:8082/network-policy/249eeff3-6a13-455c-955a-798da91e7be9"}} 2025-06-02 02:33:10,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 02:33:10,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.162.52.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-06-02 02:33:10,364 - DEBUG - ping -s 56 -c 3 -W 1 114.162.52.131 2025-06-02 02:33:13,574 - DEBUG - PING 114.162.52.131 (114.162.52.131): 56 data bytes 64 bytes from 114.162.52.131: seq=0 ttl=63 time=2.077 ms --- 114.162.52.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.077/2.077/2.077 ms 2025-06-02 02:33:13,575 - WARNING - Ping to IP 114.162.52.131 from VM ctest-TestBasicPolicy-02681075-98365217 failed 2025-06-02 02:33:13,575 - INFO - Deleting VM ctest-TestBasicPolicy-02681075-63429574 2025-06-02 02:33:13,641 - INFO - Deleting VM ctest-TestBasicPolicy-02681075-98365217 2025-06-02 02:33:14,010 - INFO - Deleted policy ctest-policy-allow-all-75746500 2025-06-02 02:33:14,011 - INFO - Deleting VN ctest-vn-27923388 2025-06-02 02:33:14,044 - DEBUG - VN 7cd56e35-7e14-4e8b-b822-fff6d56c1d35 still in use: Unable to complete operation on network 7cd56e35-7e14-4e8b-b822-fff6d56c1d35. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-427003a0-3df6-4478-abdc-76a3f88f9d31'] 2025-06-02 02:33:14,044 - WARNING - Deleting VN ctest-vn-27923388 failed..Will retry 2025-06-02 02:33:16,152 - DEBUG - Response for deleting network () 2025-06-02 02:33:16,152 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9e8ff716-2119-40d6-988a-a3bcafd62f62 2025-06-02 02:33:16,163 - DEBUG - Response Code: 404 2025-06-02 02:33:16,164 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-02 02:33:16,177 - DEBUG - Requesting: http://10.0.0.131:8082/domain/b335d742-a7a1-43da-b8db-9e2748f9277c 2025-06-02 02:33:16,235 - DEBUG - Requesting: http://10.0.0.131:8082/project/d278d1b3-b2f6-4a26-be4b-548732408bc5 2025-06-02 02:33:16,310 - INFO - Validated that VN ctest-vn-27923388 is not found in API Server 2025-06-02 02:33:16,321 - DEBUG - VN ctest-vn-27923388 is not present in Agent 10.0.0.131 2025-06-02 02:33:16,321 - INFO - Validated that VN ctest-vn-27923388 is not in any agent 2025-06-02 02:33:16,337 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27923388 info 2025-06-02 02:33:16,338 - INFO - Deleting VN ctest-vn-39363287 2025-06-02 02:33:16,449 - DEBUG - Response for deleting network () 2025-06-02 02:33:16,450 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5eae7888-426f-4536-8925-8b859fee2247 2025-06-02 02:33:16,459 - DEBUG - Response Code: 404 2025-06-02 02:33:16,459 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-06-02 02:33:16,464 - DEBUG - Requesting: http://10.0.0.131:8082/domain/b335d742-a7a1-43da-b8db-9e2748f9277c 2025-06-02 02:33:16,518 - DEBUG - Requesting: http://10.0.0.131:8082/project/d278d1b3-b2f6-4a26-be4b-548732408bc5 2025-06-02 02:33:16,591 - INFO - Validated that VN ctest-vn-39363287 is not found in API Server 2025-06-02 02:33:16,602 - DEBUG - VN ctest-vn-39363287 is not present in Agent 10.0.0.131 2025-06-02 02:33:16,602 - INFO - Validated that VN ctest-vn-39363287 is not in any agent 2025-06-02 02:33:16,618 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39363287 info 2025-06-02 02:33:16,875 - DEBUG - No XMPP flaps were noticed during the test 2025-06-02 02:33:16,876 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-02 02:33:16,876 - INFO - -------------------------------------------------------------------------------- 2025-06-02 02:33:17,574 - INFO - Deleted project: ctest-TestBasicPolicy-02681075, ID : d278d1b3-b2f6-4a26-be4b-548732408bc5