2025-04-22 14:49:52,151 - INFO - Domain Default found not creating 2025-04-22 14:49:52,291 - INFO - Project ctest-TestBasicPolicy-03339839 not found, creating it 2025-04-22 14:49:52,770 - INFO - Created Project:ctest-TestBasicPolicy-03339839, ID : 8aab56fb-a303-4ab5-98cc-2e441caf06e9 2025-04-22 14:49:54,344 - INFO - ================================================================================ 2025-04-22 14:49:54,344 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 14:49:54,345 - 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-22 14:49:54,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-04-22 14:49:54,601 - INFO - Initial checks done. Running the testcase now 2025-04-22 14:49:54,601 - INFO - 2025-04-22 14:49:55,192 - DEBUG - Response for create_network : {'network': {'id': '9b7577cf-4d76-4412-87d5-2b5f715ae761', 'name': 'ctest-vn-05037138', 'tenant_id': '8aab56fba3034ab598cc2e441caf06e9', 'project_id': '8aab56fba3034ab598cc2e441caf06e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03339839', 'ctest-vn-05037138'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 14:49:55,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '87943665-7030-43a3-9960-91d123619b76', 'name': '', 'tenant_id': '8aab56fba3034ab598cc2e441caf06e9', 'network_id': '9b7577cf-4d76-4412-87d5-2b5f715ae761', 'ip_version': 4, 'cidr': '213.128.34.192/26', 'allocation_pools': [{'start': '213.128.34.194', 'end': '213.128.34.254'}], 'gateway_ip': '213.128.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.128.34.194', 'tags': [], 'project_id': '8aab56fba3034ab598cc2e441caf06e9'}} 2025-04-22 14:49:55,391 - INFO - Created VN ctest-vn-05037138 2025-04-22 14:49:55,446 - DEBUG - VN ctest-vn-05037138 UUID is 9b7577cf-4d76-4412-87d5-2b5f715ae761 2025-04-22 14:49:55,747 - DEBUG - Response for create_network : {'network': {'id': 'ae3e7d2e-2075-4ef4-9767-3307c0a26d9c', 'name': 'ctest-vn-15821111', 'tenant_id': '8aab56fba3034ab598cc2e441caf06e9', 'project_id': '8aab56fba3034ab598cc2e441caf06e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03339839', 'ctest-vn-15821111'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 14:49:56,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '95dfa972-5ae5-4bcf-b014-5b7481d6a833', 'name': '', 'tenant_id': '8aab56fba3034ab598cc2e441caf06e9', 'network_id': 'ae3e7d2e-2075-4ef4-9767-3307c0a26d9c', 'ip_version': 4, 'cidr': '156.87.214.0/26', 'allocation_pools': [{'start': '156.87.214.2', 'end': '156.87.214.62'}], 'gateway_ip': '156.87.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.87.214.2', 'tags': [], 'project_id': '8aab56fba3034ab598cc2e441caf06e9'}} 2025-04-22 14:49:56,020 - INFO - Created VN ctest-vn-15821111 2025-04-22 14:49:56,074 - DEBUG - VN ctest-vn-15821111 UUID is ae3e7d2e-2075-4ef4-9767-3307c0a26d9c 2025-04-22 14:49:56,226 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-05037138, 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-03339839:ctest-vn-15821111, 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-22 14:49:56,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b7577cf-4d76-4412-87d5-2b5f715ae761', 'name': 'ctest-vn-05037138', 'tenant_id': '8aab56fba3034ab598cc2e441caf06e9', 'project_id': '8aab56fba3034ab598cc2e441caf06e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87943665-7030-43a3-9960-91d123619b76'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03339839', 'ctest-vn-05037138'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03339839', 'ctest-policy-allow-all-40643765']], 'subnet_ipam': [{'subnet_cidr': '213.128.34.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 14:49:56,801 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae3e7d2e-2075-4ef4-9767-3307c0a26d9c', 'name': 'ctest-vn-15821111', 'tenant_id': '8aab56fba3034ab598cc2e441caf06e9', 'project_id': '8aab56fba3034ab598cc2e441caf06e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95dfa972-5ae5-4bcf-b014-5b7481d6a833'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03339839', 'ctest-vn-15821111'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03339839', 'ctest-policy-allow-all-40643765']], 'subnet_ipam': [{'subnet_cidr': '156.87.214.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 14:49:56,974 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-04-22 14:49:57,316 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-04-22 14:49:57,347 - DEBUG - Requesting: http://10.0.0.131:8082/domain/39334d9d-d124-4cf8-9c23-47079d2e99a8 2025-04-22 14:49:57,362 - DEBUG - Requesting: http://10.0.0.131:8082/project/8aab56fb-a303-4ab5-98cc-2e441caf06e9 2025-04-22 14:49:57,437 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/9b7577cf-4d76-4412-87d5-2b5f715ae761 2025-04-22 14:49:57,450 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/9b7577cf-4d76-4412-87d5-2b5f715ae761 2025-04-22 14:49:57,462 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/ab397f50-f0a6-414c-a32f-6172cfb9a5f4 2025-04-22 14:49:57,470 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/ab397f50-f0a6-414c-a32f-6172cfb9a5f4 2025-04-22 14:49:57,477 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/36f67df3-f844-45bd-8a9a-d5ca54d4882c 2025-04-22 14:49:57,484 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 14:49:57,484 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/9b7577cf-4d76-4412-87d5-2b5f715ae761 2025-04-22 14:49:57,493 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/ab397f50-f0a6-414c-a32f-6172cfb9a5f4 2025-04-22 14:49:57,507 - INFO - Verified VN network id 8 for VN 9b7577cf-4d76-4412-87d5-2b5f715ae761 2025-04-22 14:49:57,507 - INFO - Verifications in API Server for VN ctest-vn-05037138 passed 2025-04-22 14:49:57,508 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/9b7577cf-4d76-4412-87d5-2b5f715ae761 2025-04-22 14:49:57,517 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/ab397f50-f0a6-414c-a32f-6172cfb9a5f4 2025-04-22 14:49:57,526 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/ab397f50-f0a6-414c-a32f-6172cfb9a5f4 2025-04-22 14:49:57,533 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/36f67df3-f844-45bd-8a9a-d5ca54d4882c 2025-04-22 14:49:57,547 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-05037138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03339839', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11201991380395508754', 'uuid-lslong': '9787777054083311457'}, 'enable': 'true', 'created': '2025-04-22T14:49:55', 'last-modified': '2025-04-22T14:49:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.045203'} 2025-04-22 14:49:57,554 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 14:49:57,554 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05037138 passed 2025-04-22 14:49:57,554 - DEBUG - ====Verifying policy data for ctest-vn-05037138 in API_Server ====== 2025-04-22 14:49:57,555 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-04-22 14:49:57,560 - DEBUG - Requesting: http://10.0.0.131:8082/domain/39334d9d-d124-4cf8-9c23-47079d2e99a8 2025-04-22 14:49:57,572 - DEBUG - Requesting: http://10.0.0.131:8082/project/8aab56fb-a303-4ab5-98cc-2e441caf06e9 2025-04-22 14:49:57,647 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/9b7577cf-4d76-4412-87d5-2b5f715ae761 2025-04-22 14:49:57,658 - DEBUG - ==>Verifying data for policy with id: ca5eaebc-260e-4150-8d7c-eff7da5ef1fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-03339839', 'ctest-policy-allow-all-40643765'] 2025-04-22 14:49:57,658 - INFO - VN ctest-vn-05037138 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 14:49:57,658 - DEBUG - Verifying the vn in opserver 2025-04-22 14:49:57,658 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-05037138 virtual network link through opserver 10.0.0.131 2025-04-22 14:49:57,658 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-04-22 14:49:58,001 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-04-22 14:49:58,061 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-05037138', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-05037138?flat'} 2025-04-22 14:49:58,061 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-05037138 is found in opserver 2025-04-22 14:49:58,073 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 14:49:58,079 - DEBUG - VRF ids for VN ctest-vn-05037138: {} 2025-04-22 14:49:58,080 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-04-22 14:49:58,085 - DEBUG - Requesting: http://10.0.0.131:8082/domain/39334d9d-d124-4cf8-9c23-47079d2e99a8 2025-04-22 14:49:58,098 - DEBUG - Requesting: http://10.0.0.131:8082/project/8aab56fb-a303-4ab5-98cc-2e441caf06e9 2025-04-22 14:49:58,172 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/ae3e7d2e-2075-4ef4-9767-3307c0a26d9c 2025-04-22 14:49:58,186 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/ae3e7d2e-2075-4ef4-9767-3307c0a26d9c 2025-04-22 14:49:58,196 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/94f36b47-8349-4450-b2bf-0cf37840b205 2025-04-22 14:49:58,204 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/94f36b47-8349-4450-b2bf-0cf37840b205 2025-04-22 14:49:58,212 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/249fe146-9d5b-4546-92b6-0d25445f3e08 2025-04-22 14:49:58,219 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 14:49:58,219 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/ae3e7d2e-2075-4ef4-9767-3307c0a26d9c 2025-04-22 14:49:58,228 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/94f36b47-8349-4450-b2bf-0cf37840b205 2025-04-22 14:49:58,243 - INFO - Verified VN network id 9 for VN ae3e7d2e-2075-4ef4-9767-3307c0a26d9c 2025-04-22 14:49:58,244 - INFO - Verifications in API Server for VN ctest-vn-15821111 passed 2025-04-22 14:49:58,244 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/ae3e7d2e-2075-4ef4-9767-3307c0a26d9c 2025-04-22 14:49:58,254 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/94f36b47-8349-4450-b2bf-0cf37840b205 2025-04-22 14:49:58,261 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/94f36b47-8349-4450-b2bf-0cf37840b205 2025-04-22 14:49:58,268 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/249fe146-9d5b-4546-92b6-0d25445f3e08 2025-04-22 14:49:58,281 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-15821111', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03339839', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12555610448222047988', 'uuid-lslong': '10909744730717973916'}, 'enable': 'true', 'created': '2025-04-22T14:49:55', 'last-modified': '2025-04-22T14:49:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.521746'} 2025-04-22 14:49:58,288 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 14:49:58,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15821111 passed 2025-04-22 14:49:58,289 - DEBUG - ====Verifying policy data for ctest-vn-15821111 in API_Server ====== 2025-04-22 14:49:58,289 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-04-22 14:49:58,295 - DEBUG - Requesting: http://10.0.0.131:8082/domain/39334d9d-d124-4cf8-9c23-47079d2e99a8 2025-04-22 14:49:58,307 - DEBUG - Requesting: http://10.0.0.131:8082/project/8aab56fb-a303-4ab5-98cc-2e441caf06e9 2025-04-22 14:49:58,383 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/ae3e7d2e-2075-4ef4-9767-3307c0a26d9c 2025-04-22 14:49:58,396 - DEBUG - ==>Verifying data for policy with id: ca5eaebc-260e-4150-8d7c-eff7da5ef1fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-03339839', 'ctest-policy-allow-all-40643765'] 2025-04-22 14:49:58,396 - INFO - VN ctest-vn-15821111 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 14:49:58,396 - DEBUG - Verifying the vn in opserver 2025-04-22 14:49:58,396 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-15821111 virtual network link through opserver 10.0.0.131 2025-04-22 14:49:58,396 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-04-22 14:49:58,407 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-15821111', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-15821111?flat'} 2025-04-22 14:49:58,407 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-15821111 is found in opserver 2025-04-22 14:49:58,418 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 14:49:58,423 - DEBUG - VRF ids for VN ctest-vn-15821111: {} 2025-04-22 14:49:58,480 - DEBUG - Services list from nova: [, , ] 2025-04-22 14:49:59,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3164-1) 2025-04-22 14:50:00,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3164-1) 2025-04-22 14:50:00,908 - INFO - Waiting for VM ctest-TestBasicPolicy-03339839-01848776 to be up.. 2025-04-22 14:50:00,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 14:50:06,078 - DEBUG - VM is in ACTIVE state now 2025-04-22 14:50:06,078 - INFO - VM name : ctest-TestBasicPolicy-03339839-01848776 2025-04-22 14:50:06,164 - DEBUG - VM ctest-TestBasicPolicy-03339839-01848776 ID is a2b7d8b7-df01-419f-b3e0-8a551feece05 2025-04-22 14:50:06,185 - DEBUG - VM ctest-TestBasicPolicy-03339839-01848776 launched on Node cn-jenkins-deploy-platform-ansible-os-3164-1 2025-04-22 14:50:06,266 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a2b7d8b7-df01-419f-b3e0-8a551feece05 2025-04-22 14:50:06,275 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/bdd61fff-3ac1-4449-9474-2b59ae766e6d 2025-04-22 14:50:09,529 - 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 1011ms') 2025-04-22 14:50:09,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03339839-01848776 failed! 2025-04-22 14:50:09,586 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03339839:ctest-vn-05037138 is 213.128.34.193 and allocation pool is NOT set 2025-04-22 14:50:11,650 - 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=5.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.181 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.181/3.016/5.851/2.835 ms') 2025-04-22 14:50:11,651 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03339839-01848776 passed 2025-04-22 14:50:11,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 14:50:11,806 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03339839-01848776, IP 213.128.34.195, Port 22 2025-04-22 14:50:11,976 - DEBUG - VM ctest-TestBasicPolicy-03339839-01848776 is ready for SSH connections 2025-04-22 14:50:11,976 - INFO - Waiting for VM ctest-TestBasicPolicy-03339839-21135351 to be up.. 2025-04-22 14:50:12,058 - DEBUG - VM is in ACTIVE state now 2025-04-22 14:50:12,058 - INFO - VM name : ctest-TestBasicPolicy-03339839-21135351 2025-04-22 14:50:12,139 - DEBUG - VM ctest-TestBasicPolicy-03339839-21135351 ID is 70d74e26-efad-4762-b817-85db4dbc2497 2025-04-22 14:50:12,140 - DEBUG - VM ctest-TestBasicPolicy-03339839-21135351 launched on Node cn-jenkins-deploy-platform-ansible-os-3164-1 2025-04-22 14:50:12,219 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/70d74e26-efad-4762-b817-85db4dbc2497 2025-04-22 14:50:12,229 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/bf6f4e04-27a9-4818-9034-973007918562 2025-04-22 14:50:13,476 - 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=4.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.856 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.856/2.742/4.629/1.886 ms') 2025-04-22 14:50:13,476 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03339839-21135351 passed 2025-04-22 14:50:13,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 14:50:13,630 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03339839-21135351, IP 156.87.214.3, Port 22 2025-04-22 14:50:13,789 - DEBUG - VM ctest-TestBasicPolicy-03339839-21135351 is ready for SSH connections 2025-04-22 14:50:13,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 14:50:13,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.87.214.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-04-22 14:50:13,790 - DEBUG - ping -s 56 -c 3 -W 1 156.87.214.3 2025-04-22 14:50:17,492 - DEBUG - PING 156.87.214.3 (156.87.214.3): 56 data bytes 64 bytes from 156.87.214.3: seq=0 ttl=63 time=3.479 ms 64 bytes from 156.87.214.3: seq=1 ttl=63 time=0.858 ms 64 bytes from 156.87.214.3: seq=2 ttl=63 time=0.753 ms --- 156.87.214.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.696/3.479 ms 2025-04-22 14:50:17,492 - INFO - Ping to IP 156.87.214.3 from VM ctest-TestBasicPolicy-03339839-01848776 passed 2025-04-22 14:50:17,678 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ca5eaebc-260e-4150-8d7c-eff7da5ef1fc", "href": "http://10.0.0.131:8082/network-policy/ca5eaebc-260e-4150-8d7c-eff7da5ef1fc"}} 2025-04-22 14:50:17,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 14:50:17,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.87.214.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-04-22 14:50:17,678 - DEBUG - ping -s 56 -c 3 -W 1 156.87.214.3 2025-04-22 14:50:20,904 - DEBUG - PING 156.87.214.3 (156.87.214.3): 56 data bytes 64 bytes from 156.87.214.3: seq=0 ttl=63 time=1.451 ms --- 156.87.214.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.451/1.451/1.451 ms 2025-04-22 14:50:20,904 - WARNING - Ping to IP 156.87.214.3 from VM ctest-TestBasicPolicy-03339839-01848776 failed 2025-04-22 14:50:20,904 - INFO - Deleting VM ctest-TestBasicPolicy-03339839-21135351 2025-04-22 14:50:20,969 - INFO - Deleting VM ctest-TestBasicPolicy-03339839-01848776 2025-04-22 14:50:21,420 - INFO - Deleted policy ctest-policy-allow-all-40643765 2025-04-22 14:50:21,420 - INFO - Deleting VN ctest-vn-15821111 2025-04-22 14:50:21,459 - DEBUG - VN ae3e7d2e-2075-4ef4-9767-3307c0a26d9c still in use: Unable to complete operation on network ae3e7d2e-2075-4ef4-9767-3307c0a26d9c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6a66ffc-5d90-46eb-af7c-f6393204faf7'] 2025-04-22 14:50:21,460 - WARNING - Deleting VN ctest-vn-15821111 failed..Will retry 2025-04-22 14:50:23,565 - DEBUG - Response for deleting network () 2025-04-22 14:50:23,565 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/94f36b47-8349-4450-b2bf-0cf37840b205 2025-04-22 14:50:23,571 - DEBUG - Response Code: 404 2025-04-22 14:50:23,571 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-04-22 14:50:23,582 - DEBUG - Requesting: http://10.0.0.131:8082/domain/39334d9d-d124-4cf8-9c23-47079d2e99a8 2025-04-22 14:50:23,636 - DEBUG - Requesting: http://10.0.0.131:8082/project/8aab56fb-a303-4ab5-98cc-2e441caf06e9 2025-04-22 14:50:23,712 - INFO - Validated that VN ctest-vn-15821111 is not found in API Server 2025-04-22 14:50:23,725 - DEBUG - VN ctest-vn-15821111 is not present in Agent 10.0.0.131 2025-04-22 14:50:23,725 - INFO - Validated that VN ctest-vn-15821111 is not in any agent 2025-04-22 14:50:23,743 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15821111 info 2025-04-22 14:50:23,743 - INFO - Deleting VN ctest-vn-05037138 2025-04-22 14:50:23,860 - DEBUG - Response for deleting network () 2025-04-22 14:50:23,860 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/ab397f50-f0a6-414c-a32f-6172cfb9a5f4 2025-04-22 14:50:23,868 - DEBUG - Response Code: 404 2025-04-22 14:50:23,868 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-04-22 14:50:23,874 - DEBUG - Requesting: http://10.0.0.131:8082/domain/39334d9d-d124-4cf8-9c23-47079d2e99a8 2025-04-22 14:50:23,927 - DEBUG - Requesting: http://10.0.0.131:8082/project/8aab56fb-a303-4ab5-98cc-2e441caf06e9 2025-04-22 14:50:24,000 - INFO - Validated that VN ctest-vn-05037138 is not found in API Server 2025-04-22 14:50:24,012 - DEBUG - VN ctest-vn-05037138 is not present in Agent 10.0.0.131 2025-04-22 14:50:24,013 - INFO - Validated that VN ctest-vn-05037138 is not in any agent 2025-04-22 14:50:24,035 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05037138 info 2025-04-22 14:50:24,287 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 14:50:24,287 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-22 14:50:24,288 - INFO - -------------------------------------------------------------------------------- 2025-04-22 14:50:25,016 - INFO - Deleted project: ctest-TestBasicPolicy-03339839, ID : 8aab56fb-a303-4ab5-98cc-2e441caf06e9