2025-02-13 06:35:42,689 - INFO - Domain Default found not creating 2025-02-13 06:35:42,824 - INFO - Project ctest-TestBasicPolicy-89586024 not found, creating it 2025-02-13 06:35:43,264 - INFO - Created Project:ctest-TestBasicPolicy-89586024, ID : 7289eef1-e28f-4dec-9f45-0eaef7dc97b7 2025-02-13 06:35:44,671 - INFO - ================================================================================ 2025-02-13 06:35:44,671 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-13 06:35:44,671 - 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-02-13 06:35:44,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.7': '0'}} with 2025-02-13 06:35:44,928 - INFO - Initial checks done. Running the testcase now 2025-02-13 06:35:44,928 - INFO - 2025-02-13 06:35:45,473 - DEBUG - Response for create_network : {'network': {'id': '433197e0-11ef-40fe-8dfc-482b2d5c4306', 'name': 'ctest-vn-20014210', 'tenant_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'project_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89586024', 'ctest-vn-20014210'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 06:35:45,631 - DEBUG - Response for create_subnet : {'subnet': {'id': '184631d4-bb1a-4063-9e4b-88360a74c4d2', 'name': '', 'tenant_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'network_id': '433197e0-11ef-40fe-8dfc-482b2d5c4306', 'ip_version': 4, 'cidr': '155.107.20.0/26', 'allocation_pools': [{'start': '155.107.20.2', 'end': '155.107.20.62'}], 'gateway_ip': '155.107.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.107.20.2', 'tags': [], 'project_id': '7289eef1e28f4dec9f450eaef7dc97b7'}} 2025-02-13 06:35:45,648 - INFO - Created VN ctest-vn-20014210 2025-02-13 06:35:45,702 - DEBUG - VN ctest-vn-20014210 UUID is 433197e0-11ef-40fe-8dfc-482b2d5c4306 2025-02-13 06:35:45,986 - DEBUG - Response for create_network : {'network': {'id': '89419bd6-1984-49aa-b61a-ae4aad2aef44', 'name': 'ctest-vn-52981168', 'tenant_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'project_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89586024', 'ctest-vn-52981168'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 06:35:46,177 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c13d3308-9021-4457-9764-9f17b2ec718d', 'name': '', 'tenant_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'network_id': '89419bd6-1984-49aa-b61a-ae4aad2aef44', 'ip_version': 4, 'cidr': '223.92.219.0/26', 'allocation_pools': [{'start': '223.92.219.2', 'end': '223.92.219.62'}], 'gateway_ip': '223.92.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.92.219.2', 'tags': [], 'project_id': '7289eef1e28f4dec9f450eaef7dc97b7'}} 2025-02-13 06:35:46,194 - INFO - Created VN ctest-vn-52981168 2025-02-13 06:35:46,245 - DEBUG - VN ctest-vn-52981168 UUID is 89419bd6-1984-49aa-b61a-ae4aad2aef44 2025-02-13 06:35:46,397 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-20014210, 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-89586024:ctest-vn-52981168, 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-02-13 06:35:46,693 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '433197e0-11ef-40fe-8dfc-482b2d5c4306', 'name': 'ctest-vn-20014210', 'tenant_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'project_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['184631d4-bb1a-4063-9e4b-88360a74c4d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89586024', 'ctest-vn-20014210'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89586024', 'ctest-policy-allow-all-40695469']], 'subnet_ipam': [{'subnet_cidr': '155.107.20.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 06:35:46,917 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89419bd6-1984-49aa-b61a-ae4aad2aef44', 'name': 'ctest-vn-52981168', 'tenant_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'project_id': '7289eef1e28f4dec9f450eaef7dc97b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c13d3308-9021-4457-9764-9f17b2ec718d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89586024', 'ctest-vn-52981168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89586024', 'ctest-policy-allow-all-40695469']], 'subnet_ipam': [{'subnet_cidr': '223.92.219.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 06:35:47,069 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2025-02-13 06:35:47,362 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2025-02-13 06:35:47,390 - DEBUG - Requesting: http://10.0.0.43:8082/domain/46ff422b-44aa-43e5-958e-65bc52515602 2025-02-13 06:35:47,403 - DEBUG - Requesting: http://10.0.0.43:8082/project/7289eef1-e28f-4dec-9f45-0eaef7dc97b7 2025-02-13 06:35:47,476 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/433197e0-11ef-40fe-8dfc-482b2d5c4306 2025-02-13 06:35:47,486 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/433197e0-11ef-40fe-8dfc-482b2d5c4306 2025-02-13 06:35:47,495 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/01bdbb4a-3bdf-4cd8-9048-2443d85fa800 2025-02-13 06:35:47,501 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/01bdbb4a-3bdf-4cd8-9048-2443d85fa800 2025-02-13 06:35:47,507 - DEBUG - Requesting: http://10.0.0.43:8082/route-target/3475dd29-611f-41ad-a0ea-3a5309b7c096 2025-02-13 06:35:47,512 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 06:35:47,512 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/433197e0-11ef-40fe-8dfc-482b2d5c4306 2025-02-13 06:35:47,521 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/01bdbb4a-3bdf-4cd8-9048-2443d85fa800 2025-02-13 06:35:47,532 - INFO - Verified VN network id 9 for VN 433197e0-11ef-40fe-8dfc-482b2d5c4306 2025-02-13 06:35:47,532 - INFO - Verifications in API Server for VN ctest-vn-20014210 passed 2025-02-13 06:35:47,532 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/433197e0-11ef-40fe-8dfc-482b2d5c4306 2025-02-13 06:35:47,541 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/01bdbb4a-3bdf-4cd8-9048-2443d85fa800 2025-02-13 06:35:47,546 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/01bdbb4a-3bdf-4cd8-9048-2443d85fa800 2025-02-13 06:35:47,552 - DEBUG - Requesting: http://10.0.0.43:8082/route-target/3475dd29-611f-41ad-a0ea-3a5309b7c096 2025-02-13 06:35:47,563 - DEBUG - Control-node 10.0.0.43 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-20014210', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89586024', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4841818063029354750', 'uuid-lslong': '10231131803760739078'}, 'enable': 'true', 'created': '2025-02-13T06:35:45', 'last-modified': '2025-02-13T06:35:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893263'} 2025-02-13 06:35:47,569 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 06:35:47,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20014210 passed 2025-02-13 06:35:47,569 - DEBUG - ====Verifying policy data for ctest-vn-20014210 in API_Server ====== 2025-02-13 06:35:47,569 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2025-02-13 06:35:47,574 - DEBUG - Requesting: http://10.0.0.43:8082/domain/46ff422b-44aa-43e5-958e-65bc52515602 2025-02-13 06:35:47,584 - DEBUG - Requesting: http://10.0.0.43:8082/project/7289eef1-e28f-4dec-9f45-0eaef7dc97b7 2025-02-13 06:35:47,660 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/433197e0-11ef-40fe-8dfc-482b2d5c4306 2025-02-13 06:35:47,669 - DEBUG - ==>Verifying data for policy with id: dbdaa48b-74ac-4350-884b-5d59567bc6de, fqn: ['default-domain', 'ctest-TestBasicPolicy-89586024', 'ctest-policy-allow-all-40695469'] 2025-02-13 06:35:47,669 - INFO - VN ctest-vn-20014210 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 06:35:47,669 - DEBUG - Verifying the vn in opserver 2025-02-13 06:35:47,670 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-20014210 virtual network link through opserver 10.0.0.43 2025-02-13 06:35:47,670 - DEBUG - Requesting: http://10.0.0.43:8081/analytics/uves/virtual-networks 2025-02-13 06:35:47,960 - DEBUG - Requesting: http://10.0.0.43:8081/analytics/uves/virtual-networks 2025-02-13 06:35:48,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-20014210', 'href': 'http://10.0.0.43:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-20014210?flat'} 2025-02-13 06:35:48,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-20014210 is found in opserver 2025-02-13 06:35:48,025 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 06:35:48,030 - DEBUG - VRF ids for VN ctest-vn-20014210: {} 2025-02-13 06:35:48,030 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2025-02-13 06:35:48,036 - DEBUG - Requesting: http://10.0.0.43:8082/domain/46ff422b-44aa-43e5-958e-65bc52515602 2025-02-13 06:35:48,048 - DEBUG - Requesting: http://10.0.0.43:8082/project/7289eef1-e28f-4dec-9f45-0eaef7dc97b7 2025-02-13 06:35:48,123 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/89419bd6-1984-49aa-b61a-ae4aad2aef44 2025-02-13 06:35:48,135 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/89419bd6-1984-49aa-b61a-ae4aad2aef44 2025-02-13 06:35:48,144 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/da18b81e-ae16-4c9b-a440-01afe130294b 2025-02-13 06:35:48,150 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/da18b81e-ae16-4c9b-a440-01afe130294b 2025-02-13 06:35:48,157 - DEBUG - Requesting: http://10.0.0.43:8082/route-target/1ef40b9c-b5f9-49ec-a4df-f34530a81a75 2025-02-13 06:35:48,162 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 06:35:48,162 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/89419bd6-1984-49aa-b61a-ae4aad2aef44 2025-02-13 06:35:48,171 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/da18b81e-ae16-4c9b-a440-01afe130294b 2025-02-13 06:35:48,183 - INFO - Verified VN network id 10 for VN 89419bd6-1984-49aa-b61a-ae4aad2aef44 2025-02-13 06:35:48,183 - INFO - Verifications in API Server for VN ctest-vn-52981168 passed 2025-02-13 06:35:48,184 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/89419bd6-1984-49aa-b61a-ae4aad2aef44 2025-02-13 06:35:48,194 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/da18b81e-ae16-4c9b-a440-01afe130294b 2025-02-13 06:35:48,200 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/da18b81e-ae16-4c9b-a440-01afe130294b 2025-02-13 06:35:48,207 - DEBUG - Requesting: http://10.0.0.43:8082/route-target/1ef40b9c-b5f9-49ec-a4df-f34530a81a75 2025-02-13 06:35:48,218 - DEBUG - Control-node 10.0.0.43 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-52981168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89586024', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9890357600535726506', 'uuid-lslong': '13121992100053446468'}, 'enable': 'true', 'created': '2025-02-13T06:35:45', 'last-modified': '2025-02-13T06:35:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321347'} 2025-02-13 06:35:48,223 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 06:35:48,223 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52981168 passed 2025-02-13 06:35:48,224 - DEBUG - ====Verifying policy data for ctest-vn-52981168 in API_Server ====== 2025-02-13 06:35:48,224 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2025-02-13 06:35:48,228 - DEBUG - Requesting: http://10.0.0.43:8082/domain/46ff422b-44aa-43e5-958e-65bc52515602 2025-02-13 06:35:48,239 - DEBUG - Requesting: http://10.0.0.43:8082/project/7289eef1-e28f-4dec-9f45-0eaef7dc97b7 2025-02-13 06:35:48,311 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/89419bd6-1984-49aa-b61a-ae4aad2aef44 2025-02-13 06:35:48,322 - DEBUG - ==>Verifying data for policy with id: dbdaa48b-74ac-4350-884b-5d59567bc6de, fqn: ['default-domain', 'ctest-TestBasicPolicy-89586024', 'ctest-policy-allow-all-40695469'] 2025-02-13 06:35:48,322 - INFO - VN ctest-vn-52981168 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 06:35:48,322 - DEBUG - Verifying the vn in opserver 2025-02-13 06:35:48,322 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-52981168 virtual network link through opserver 10.0.0.43 2025-02-13 06:35:48,322 - DEBUG - Requesting: http://10.0.0.43:8081/analytics/uves/virtual-networks 2025-02-13 06:35:48,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-52981168', 'href': 'http://10.0.0.43:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-52981168?flat'} 2025-02-13 06:35:48,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-52981168 is found in opserver 2025-02-13 06:35:48,345 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 06:35:48,350 - DEBUG - VRF ids for VN ctest-vn-52981168: {} 2025-02-13 06:35:48,405 - DEBUG - Services list from nova: [, , ] 2025-02-13 06:35:49,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2733-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2733-1) 2025-02-13 06:35:50,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2733-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2733-1) 2025-02-13 06:35:50,639 - INFO - Waiting for VM ctest-TestBasicPolicy-89586024-63459304 to be up.. 2025-02-13 06:35:50,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 06:35:55,803 - DEBUG - VM is in ACTIVE state now 2025-02-13 06:35:55,803 - INFO - VM name : ctest-TestBasicPolicy-89586024-63459304 2025-02-13 06:35:55,876 - DEBUG - VM ctest-TestBasicPolicy-89586024-63459304 ID is 194b2ba2-bd7f-4381-99e2-565aaca791dc 2025-02-13 06:35:55,895 - DEBUG - VM ctest-TestBasicPolicy-89586024-63459304 launched on Node cn-jenkins-deploy-platform-ansible-os-2733-1 2025-02-13 06:35:55,967 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/194b2ba2-bd7f-4381-99e2-565aaca791dc 2025-02-13 06:35:55,977 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/bda4c294-3630-4053-ad47-3737d32a0b02 2025-02-13 06:35:59,234 - 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 1019ms') 2025-02-13 06:35:59,235 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89586024-63459304 failed! 2025-02-13 06:35:59,289 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89586024:ctest-vn-20014210 is 155.107.20.1 and allocation pool is NOT set 2025-02-13 06:36:01,357 - 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=3.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/1.731/3.027/1.296 ms') 2025-02-13 06:36:01,357 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89586024-63459304 passed 2025-02-13 06:36:01,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:36:01,514 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89586024-63459304, IP 155.107.20.3, Port 22 2025-02-13 06:36:01,669 - DEBUG - VM ctest-TestBasicPolicy-89586024-63459304 is ready for SSH connections 2025-02-13 06:36:01,669 - INFO - Waiting for VM ctest-TestBasicPolicy-89586024-19151819 to be up.. 2025-02-13 06:36:01,740 - DEBUG - VM is in ACTIVE state now 2025-02-13 06:36:01,740 - INFO - VM name : ctest-TestBasicPolicy-89586024-19151819 2025-02-13 06:36:01,811 - DEBUG - VM ctest-TestBasicPolicy-89586024-19151819 ID is 074bc14f-46ae-4c21-a7bb-ef92276b50f9 2025-02-13 06:36:01,811 - DEBUG - VM ctest-TestBasicPolicy-89586024-19151819 launched on Node cn-jenkins-deploy-platform-ansible-os-2733-1 2025-02-13 06:36:01,884 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/074bc14f-46ae-4c21-a7bb-ef92276b50f9 2025-02-13 06:36:01,893 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/2f12f26d-87f9-4d17-9de1-bae2165c7273 2025-02-13 06:36:03,137 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.634/2.833/1.199 ms') 2025-02-13 06:36:03,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89586024-19151819 passed 2025-02-13 06:36:03,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:36:03,298 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89586024-19151819, IP 223.92.219.3, Port 22 2025-02-13 06:36:03,457 - DEBUG - VM ctest-TestBasicPolicy-89586024-19151819 is ready for SSH connections 2025-02-13 06:36:03,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:36:03,458 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.92.219.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2025-02-13 06:36:03,458 - DEBUG - ping -s 56 -c 3 -W 1 223.92.219.3 2025-02-13 06:36:07,467 - DEBUG - PING 223.92.219.3 (223.92.219.3): 56 data bytes 64 bytes from 223.92.219.3: seq=0 ttl=63 time=3.320 ms 64 bytes from 223.92.219.3: seq=1 ttl=63 time=1.109 ms 64 bytes from 223.92.219.3: seq=2 ttl=63 time=1.089 ms --- 223.92.219.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.089/1.839/3.320 ms 2025-02-13 06:36:07,467 - INFO - Ping to IP 223.92.219.3 from VM ctest-TestBasicPolicy-89586024-63459304 passed 2025-02-13 06:36:07,653 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dbdaa48b-74ac-4350-884b-5d59567bc6de", "href": "http://10.0.0.43:8082/network-policy/dbdaa48b-74ac-4350-884b-5d59567bc6de"}} 2025-02-13 06:36:07,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:36:07,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.92.219.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2025-02-13 06:36:07,654 - DEBUG - ping -s 56 -c 3 -W 1 223.92.219.3 2025-02-13 06:36:10,860 - DEBUG - PING 223.92.219.3 (223.92.219.3): 56 data bytes --- 223.92.219.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-13 06:36:10,860 - WARNING - Ping to IP 223.92.219.3 from VM ctest-TestBasicPolicy-89586024-63459304 failed 2025-02-13 06:36:10,860 - INFO - Deleting VM ctest-TestBasicPolicy-89586024-19151819 2025-02-13 06:36:10,925 - INFO - Deleting VM ctest-TestBasicPolicy-89586024-63459304 2025-02-13 06:36:11,285 - INFO - Deleted policy ctest-policy-allow-all-40695469 2025-02-13 06:36:11,286 - INFO - Deleting VN ctest-vn-52981168 2025-02-13 06:36:11,326 - DEBUG - VN 89419bd6-1984-49aa-b61a-ae4aad2aef44 still in use: Unable to complete operation on network 89419bd6-1984-49aa-b61a-ae4aad2aef44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-055d20a8-31a2-4570-ae0b-e01d08d285a5'] 2025-02-13 06:36:11,326 - WARNING - Deleting VN ctest-vn-52981168 failed..Will retry 2025-02-13 06:36:13,491 - DEBUG - Response for deleting network () 2025-02-13 06:36:13,491 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/da18b81e-ae16-4c9b-a440-01afe130294b 2025-02-13 06:36:13,498 - DEBUG - Response Code: 404 2025-02-13 06:36:13,498 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2025-02-13 06:36:13,503 - DEBUG - Requesting: http://10.0.0.43:8082/domain/46ff422b-44aa-43e5-958e-65bc52515602 2025-02-13 06:36:13,560 - DEBUG - Requesting: http://10.0.0.43:8082/project/7289eef1-e28f-4dec-9f45-0eaef7dc97b7 2025-02-13 06:36:13,634 - INFO - Validated that VN ctest-vn-52981168 is not found in API Server 2025-02-13 06:36:13,646 - DEBUG - VN ctest-vn-52981168 is not present in Agent 10.0.0.43 2025-02-13 06:36:13,646 - INFO - Validated that VN ctest-vn-52981168 is not in any agent 2025-02-13 06:36:13,663 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52981168 info 2025-02-13 06:36:13,663 - INFO - Deleting VN ctest-vn-20014210 2025-02-13 06:36:13,783 - DEBUG - Response for deleting network () 2025-02-13 06:36:13,783 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/01bdbb4a-3bdf-4cd8-9048-2443d85fa800 2025-02-13 06:36:13,788 - DEBUG - Response Code: 404 2025-02-13 06:36:13,788 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2025-02-13 06:36:13,794 - DEBUG - Requesting: http://10.0.0.43:8082/domain/46ff422b-44aa-43e5-958e-65bc52515602 2025-02-13 06:36:13,847 - DEBUG - Requesting: http://10.0.0.43:8082/project/7289eef1-e28f-4dec-9f45-0eaef7dc97b7 2025-02-13 06:36:13,921 - INFO - Validated that VN ctest-vn-20014210 is not found in API Server 2025-02-13 06:36:13,935 - DEBUG - VN ctest-vn-20014210 is not present in Agent 10.0.0.43 2025-02-13 06:36:13,935 - INFO - Validated that VN ctest-vn-20014210 is not in any agent 2025-02-13 06:36:13,951 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20014210 info 2025-02-13 06:36:14,215 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 06:36:14,215 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-13 06:36:14,215 - INFO - -------------------------------------------------------------------------------- 2025-02-13 06:36:14,879 - INFO - Deleted project: ctest-TestBasicPolicy-89586024, ID : 7289eef1-e28f-4dec-9f45-0eaef7dc97b7