2025-04-27 16:51:52,767 - INFO - Domain Default found not creating 2025-04-27 16:51:52,871 - INFO - Project ctest-TestBasicPolicy-65503447 not found, creating it 2025-04-27 16:51:53,356 - INFO - Created Project:ctest-TestBasicPolicy-65503447, ID : 4b979b46-f9fb-42ab-9ea3-ea928ea9fdb3 2025-04-27 16:51:54,574 - INFO - ================================================================================ 2025-04-27 16:51:54,574 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-27 16:51:54,574 - 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-04-27 16:51:54,824 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-27 16:51:54,824 - INFO - Initial checks done. Running the testcase now 2025-04-27 16:51:54,824 - INFO - 2025-04-27 16:51:55,299 - DEBUG - Response for create_network : {'network': {'id': 'f561864a-0fe3-4b55-b2ba-971b9b8166ee', 'name': 'ctest-vn-08362106', 'tenant_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'project_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65503447', 'ctest-vn-08362106'], 'port_security_enabled': True, 'description': ''}} 2025-04-27 16:51:55,431 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea02ca3a-f7c0-4a45-97e9-d7d3676c224d', 'name': '', 'tenant_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'network_id': 'f561864a-0fe3-4b55-b2ba-971b9b8166ee', 'ip_version': 4, 'cidr': '198.224.73.192/26', 'allocation_pools': [{'start': '198.224.73.194', 'end': '198.224.73.254'}], 'gateway_ip': '198.224.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.224.73.194', 'tags': [], 'project_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3'}} 2025-04-27 16:51:55,444 - INFO - Created VN ctest-vn-08362106 2025-04-27 16:51:55,495 - DEBUG - VN ctest-vn-08362106 UUID is f561864a-0fe3-4b55-b2ba-971b9b8166ee 2025-04-27 16:51:55,774 - DEBUG - Response for create_network : {'network': {'id': 'd1c60180-06ef-4588-943a-dbfc37abe563', 'name': 'ctest-vn-18423387', 'tenant_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'project_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65503447', 'ctest-vn-18423387'], 'port_security_enabled': True, 'description': ''}} 2025-04-27 16:51:56,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c99c9dc8-296f-4ffc-993f-53dee79a1321', 'name': '', 'tenant_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'network_id': 'd1c60180-06ef-4588-943a-dbfc37abe563', 'ip_version': 4, 'cidr': '123.130.246.128/26', 'allocation_pools': [{'start': '123.130.246.130', 'end': '123.130.246.190'}], 'gateway_ip': '123.130.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.130.246.130', 'tags': [], 'project_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3'}} 2025-04-27 16:51:56,024 - INFO - Created VN ctest-vn-18423387 2025-04-27 16:51:56,075 - DEBUG - VN ctest-vn-18423387 UUID is d1c60180-06ef-4588-943a-dbfc37abe563 2025-04-27 16:51:56,207 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-08362106, 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-65503447:ctest-vn-18423387, 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-04-27 16:51:56,467 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f561864a-0fe3-4b55-b2ba-971b9b8166ee', 'name': 'ctest-vn-08362106', 'tenant_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'project_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea02ca3a-f7c0-4a45-97e9-d7d3676c224d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65503447', 'ctest-vn-08362106'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65503447', 'ctest-policy-allow-all-61264051']], 'subnet_ipam': [{'subnet_cidr': '198.224.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-27 16:51:56,714 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1c60180-06ef-4588-943a-dbfc37abe563', 'name': 'ctest-vn-18423387', 'tenant_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'project_id': '4b979b46f9fb42ab9ea3ea928ea9fdb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c99c9dc8-296f-4ffc-993f-53dee79a1321'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65503447', 'ctest-vn-18423387'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65503447', 'ctest-policy-allow-all-61264051']], 'subnet_ipam': [{'subnet_cidr': '123.130.246.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-27 16:51:56,868 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 16:51:57,126 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 16:51:57,154 - DEBUG - Requesting: http://10.0.0.38:8082/domain/90bd626b-cf9a-4b40-9c73-769a4185e78a 2025-04-27 16:51:57,167 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b979b46-f9fb-42ab-9ea3-ea928ea9fdb3 2025-04-27 16:51:57,238 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f561864a-0fe3-4b55-b2ba-971b9b8166ee 2025-04-27 16:51:57,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f561864a-0fe3-4b55-b2ba-971b9b8166ee 2025-04-27 16:51:57,256 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f1cc5bd3-156a-42a6-a956-ca703f473fd3 2025-04-27 16:51:57,261 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f1cc5bd3-156a-42a6-a956-ca703f473fd3 2025-04-27 16:51:57,267 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8a8ac507-7c02-4c40-be0d-27ab4289d1a1 2025-04-27 16:51:57,273 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-27 16:51:57,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f561864a-0fe3-4b55-b2ba-971b9b8166ee 2025-04-27 16:51:57,281 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f1cc5bd3-156a-42a6-a956-ca703f473fd3 2025-04-27 16:51:57,293 - INFO - Verified VN network id 9 for VN f561864a-0fe3-4b55-b2ba-971b9b8166ee 2025-04-27 16:51:57,293 - INFO - Verifications in API Server for VN ctest-vn-08362106 passed 2025-04-27 16:51:57,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f561864a-0fe3-4b55-b2ba-971b9b8166ee 2025-04-27 16:51:57,301 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f1cc5bd3-156a-42a6-a956-ca703f473fd3 2025-04-27 16:51:57,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f1cc5bd3-156a-42a6-a956-ca703f473fd3 2025-04-27 16:51:57,312 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8a8ac507-7c02-4c40-be0d-27ab4289d1a1 2025-04-27 16:51:57,322 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-08362106', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65503447', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17681561264685534037', 'uuid-lslong': '12878772229248214766'}, 'enable': 'true', 'created': '2025-04-27T16:51:55', 'last-modified': '2025-04-27T16:51:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.869159'} 2025-04-27 16:51:57,327 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-27 16:51:57,327 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08362106 passed 2025-04-27 16:51:57,327 - DEBUG - ====Verifying policy data for ctest-vn-08362106 in API_Server ====== 2025-04-27 16:51:57,328 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 16:51:57,332 - DEBUG - Requesting: http://10.0.0.38:8082/domain/90bd626b-cf9a-4b40-9c73-769a4185e78a 2025-04-27 16:51:57,341 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b979b46-f9fb-42ab-9ea3-ea928ea9fdb3 2025-04-27 16:51:57,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f561864a-0fe3-4b55-b2ba-971b9b8166ee 2025-04-27 16:51:57,426 - DEBUG - ==>Verifying data for policy with id: a3864487-1400-4af9-8361-27dee7cf0761, fqn: ['default-domain', 'ctest-TestBasicPolicy-65503447', 'ctest-policy-allow-all-61264051'] 2025-04-27 16:51:57,426 - INFO - VN ctest-vn-08362106 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-27 16:51:57,426 - DEBUG - Verifying the vn in opserver 2025-04-27 16:51:57,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-08362106 virtual network link through opserver 10.0.0.38 2025-04-27 16:51:57,426 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-27 16:51:57,681 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-27 16:51:57,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-08362106', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-08362106?flat'} 2025-04-27 16:51:57,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-08362106 is found in opserver 2025-04-27 16:51:57,732 - DEBUG - Do not have enough data to verify VN in agent 2025-04-27 16:51:57,737 - DEBUG - VRF ids for VN ctest-vn-08362106: {} 2025-04-27 16:51:57,737 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 16:51:57,742 - DEBUG - Requesting: http://10.0.0.38:8082/domain/90bd626b-cf9a-4b40-9c73-769a4185e78a 2025-04-27 16:51:57,751 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b979b46-f9fb-42ab-9ea3-ea928ea9fdb3 2025-04-27 16:51:57,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1c60180-06ef-4588-943a-dbfc37abe563 2025-04-27 16:51:57,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1c60180-06ef-4588-943a-dbfc37abe563 2025-04-27 16:51:57,841 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fdbcde13-8cee-4859-a490-5900e551ef28 2025-04-27 16:51:57,846 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fdbcde13-8cee-4859-a490-5900e551ef28 2025-04-27 16:51:57,852 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5f6a77b-1747-4f96-82a1-de42e3758cbd 2025-04-27 16:51:57,856 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-27 16:51:57,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1c60180-06ef-4588-943a-dbfc37abe563 2025-04-27 16:51:57,863 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fdbcde13-8cee-4859-a490-5900e551ef28 2025-04-27 16:51:57,874 - INFO - Verified VN network id 10 for VN d1c60180-06ef-4588-943a-dbfc37abe563 2025-04-27 16:51:57,874 - INFO - Verifications in API Server for VN ctest-vn-18423387 passed 2025-04-27 16:51:57,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1c60180-06ef-4588-943a-dbfc37abe563 2025-04-27 16:51:57,881 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fdbcde13-8cee-4859-a490-5900e551ef28 2025-04-27 16:51:57,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fdbcde13-8cee-4859-a490-5900e551ef28 2025-04-27 16:51:57,892 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5f6a77b-1747-4f96-82a1-de42e3758cbd 2025-04-27 16:51:57,902 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-18423387', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65503447', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15115770848699434376', 'uuid-lslong': '10681091342574806371'}, 'enable': 'true', 'created': '2025-04-27T16:51:55', 'last-modified': '2025-04-27T16:51:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.246304'} 2025-04-27 16:51:57,907 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-27 16:51:57,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18423387 passed 2025-04-27 16:51:57,908 - DEBUG - ====Verifying policy data for ctest-vn-18423387 in API_Server ====== 2025-04-27 16:51:57,908 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 16:51:57,911 - DEBUG - Requesting: http://10.0.0.38:8082/domain/90bd626b-cf9a-4b40-9c73-769a4185e78a 2025-04-27 16:51:57,921 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b979b46-f9fb-42ab-9ea3-ea928ea9fdb3 2025-04-27 16:51:57,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1c60180-06ef-4588-943a-dbfc37abe563 2025-04-27 16:51:57,993 - DEBUG - ==>Verifying data for policy with id: a3864487-1400-4af9-8361-27dee7cf0761, fqn: ['default-domain', 'ctest-TestBasicPolicy-65503447', 'ctest-policy-allow-all-61264051'] 2025-04-27 16:51:57,993 - INFO - VN ctest-vn-18423387 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-27 16:51:57,993 - DEBUG - Verifying the vn in opserver 2025-04-27 16:51:57,993 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-18423387 virtual network link through opserver 10.0.0.38 2025-04-27 16:51:57,993 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-27 16:51:58,003 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-18423387', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-18423387?flat'} 2025-04-27 16:51:58,003 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65503447:ctest-vn-18423387 is found in opserver 2025-04-27 16:51:58,012 - DEBUG - Do not have enough data to verify VN in agent 2025-04-27 16:51:58,016 - DEBUG - VRF ids for VN ctest-vn-18423387: {} 2025-04-27 16:51:58,062 - DEBUG - Services list from nova: [, , ] 2025-04-27 16:51:58,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3228-1) 2025-04-27 16:51:59,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3228-1) 2025-04-27 16:51:59,964 - INFO - Waiting for VM ctest-TestBasicPolicy-65503447-81060866 to be up.. 2025-04-27 16:52:00,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-27 16:52:05,107 - DEBUG - VM is in ACTIVE state now 2025-04-27 16:52:05,107 - INFO - VM name : ctest-TestBasicPolicy-65503447-81060866 2025-04-27 16:52:05,178 - DEBUG - VM ctest-TestBasicPolicy-65503447-81060866 ID is 5b0f7443-7af3-4957-8eee-b83b525e4f23 2025-04-27 16:52:05,197 - DEBUG - VM ctest-TestBasicPolicy-65503447-81060866 launched on Node cn-jenkins-deploy-platform-ansible-os-3228-1 2025-04-27 16:52:05,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5b0f7443-7af3-4957-8eee-b83b525e4f23 2025-04-27 16:52:05,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/666c5cba-f29a-4520-9071-33b7373ffc36 2025-04-27 16:52:08,512 - 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=2 ttl=63 time=8.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 8.358/8.358/8.358/0.000 ms') 2025-04-27 16:52:08,512 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65503447-81060866 passed 2025-04-27 16:52:08,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 16:52:08,660 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65503447-81060866, IP 198.224.73.195, Port 22 2025-04-27 16:52:08,811 - DEBUG - VM ctest-TestBasicPolicy-65503447-81060866 is ready for SSH connections 2025-04-27 16:52:08,811 - INFO - Waiting for VM ctest-TestBasicPolicy-65503447-84551499 to be up.. 2025-04-27 16:52:08,873 - DEBUG - VM is in ACTIVE state now 2025-04-27 16:52:08,873 - INFO - VM name : ctest-TestBasicPolicy-65503447-84551499 2025-04-27 16:52:08,930 - DEBUG - VM ctest-TestBasicPolicy-65503447-84551499 ID is fcebd891-0b52-48bb-a127-1d1d0bd63cc2 2025-04-27 16:52:08,931 - DEBUG - VM ctest-TestBasicPolicy-65503447-84551499 launched on Node cn-jenkins-deploy-platform-ansible-os-3228-1 2025-04-27 16:52:08,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fcebd891-0b52-48bb-a127-1d1d0bd63cc2 2025-04-27 16:52:08,997 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2b9ae44f-7b51-4cd6-bf4f-0060daa32731 2025-04-27 16:52:10,226 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.378/2.354/0.975 ms') 2025-04-27 16:52:10,226 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65503447-84551499 passed 2025-04-27 16:52:10,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 16:52:10,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65503447-84551499, IP 123.130.246.131, Port 22 2025-04-27 16:52:10,535 - DEBUG - VM ctest-TestBasicPolicy-65503447-84551499 is ready for SSH connections 2025-04-27 16:52:10,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 16:52:10,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.130.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-27 16:52:10,535 - DEBUG - ping -s 56 -c 3 -W 1 123.130.246.131 2025-04-27 16:52:14,169 - DEBUG - PING 123.130.246.131 (123.130.246.131): 56 data bytes 64 bytes from 123.130.246.131: seq=0 ttl=63 time=3.371 ms 64 bytes from 123.130.246.131: seq=1 ttl=63 time=0.825 ms 64 bytes from 123.130.246.131: seq=2 ttl=63 time=0.700 ms --- 123.130.246.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.700/1.632/3.371 ms 2025-04-27 16:52:14,169 - INFO - Ping to IP 123.130.246.131 from VM ctest-TestBasicPolicy-65503447-81060866 passed 2025-04-27 16:52:14,347 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a3864487-1400-4af9-8361-27dee7cf0761", "href": "http://10.0.0.38:8082/network-policy/a3864487-1400-4af9-8361-27dee7cf0761"}} 2025-04-27 16:52:14,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 16:52:14,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.130.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-27 16:52:14,348 - DEBUG - ping -s 56 -c 3 -W 1 123.130.246.131 2025-04-27 16:52:17,540 - DEBUG - PING 123.130.246.131 (123.130.246.131): 56 data bytes --- 123.130.246.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-27 16:52:17,540 - WARNING - Ping to IP 123.130.246.131 from VM ctest-TestBasicPolicy-65503447-81060866 failed 2025-04-27 16:52:17,540 - INFO - Deleting VM ctest-TestBasicPolicy-65503447-84551499 2025-04-27 16:52:17,590 - INFO - Deleting VM ctest-TestBasicPolicy-65503447-81060866 2025-04-27 16:52:17,902 - INFO - Deleted policy ctest-policy-allow-all-61264051 2025-04-27 16:52:17,902 - INFO - Deleting VN ctest-vn-18423387 2025-04-27 16:52:17,934 - DEBUG - VN d1c60180-06ef-4588-943a-dbfc37abe563 still in use: Unable to complete operation on network d1c60180-06ef-4588-943a-dbfc37abe563. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a49fc15-2207-4000-908b-84d9419d6588'] 2025-04-27 16:52:17,934 - WARNING - Deleting VN ctest-vn-18423387 failed..Will retry 2025-04-27 16:52:20,019 - DEBUG - Response for deleting network () 2025-04-27 16:52:20,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fdbcde13-8cee-4859-a490-5900e551ef28 2025-04-27 16:52:20,024 - DEBUG - Response Code: 404 2025-04-27 16:52:20,024 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 16:52:20,031 - DEBUG - Requesting: http://10.0.0.38:8082/domain/90bd626b-cf9a-4b40-9c73-769a4185e78a 2025-04-27 16:52:20,084 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b979b46-f9fb-42ab-9ea3-ea928ea9fdb3 2025-04-27 16:52:20,149 - INFO - Validated that VN ctest-vn-18423387 is not found in API Server 2025-04-27 16:52:20,158 - DEBUG - VN ctest-vn-18423387 is not present in Agent 10.0.0.38 2025-04-27 16:52:20,159 - INFO - Validated that VN ctest-vn-18423387 is not in any agent 2025-04-27 16:52:20,172 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18423387 info 2025-04-27 16:52:20,172 - INFO - Deleting VN ctest-vn-08362106 2025-04-27 16:52:20,257 - DEBUG - Response for deleting network () 2025-04-27 16:52:20,257 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f1cc5bd3-156a-42a6-a956-ca703f473fd3 2025-04-27 16:52:20,264 - DEBUG - Response Code: 404 2025-04-27 16:52:20,264 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 16:52:20,270 - DEBUG - Requesting: http://10.0.0.38:8082/domain/90bd626b-cf9a-4b40-9c73-769a4185e78a 2025-04-27 16:52:20,319 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b979b46-f9fb-42ab-9ea3-ea928ea9fdb3 2025-04-27 16:52:20,385 - INFO - Validated that VN ctest-vn-08362106 is not found in API Server 2025-04-27 16:52:20,395 - DEBUG - VN ctest-vn-08362106 is not present in Agent 10.0.0.38 2025-04-27 16:52:20,395 - INFO - Validated that VN ctest-vn-08362106 is not in any agent 2025-04-27 16:52:20,407 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08362106 info 2025-04-27 16:52:20,651 - DEBUG - No XMPP flaps were noticed during the test 2025-04-27 16:52:20,652 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:26] 2025-04-27 16:52:20,652 - INFO - -------------------------------------------------------------------------------- 2025-04-27 16:52:21,521 - INFO - Deleted project: ctest-TestBasicPolicy-65503447, ID : 4b979b46-f9fb-42ab-9ea3-ea928ea9fdb3