2025-02-13 02:38:05,515 - INFO - Domain Default found not creating 2025-02-13 02:38:05,661 - INFO - Project ctest-TestBasicPolicy-63879682 not found, creating it 2025-02-13 02:38:06,105 - INFO - Created Project:ctest-TestBasicPolicy-63879682, ID : c5c99a51-f0a7-42c5-9219-0c4b925dff0d 2025-02-13 02:38:07,531 - INFO - ================================================================================ 2025-02-13 02:38:07,531 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-13 02:38:07,531 - 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 02:38:07,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.5': '0'}} with 2025-02-13 02:38:07,786 - INFO - Initial checks done. Running the testcase now 2025-02-13 02:38:07,786 - INFO - 2025-02-13 02:38:08,347 - DEBUG - Response for create_network : {'network': {'id': '345c0c20-36bc-4c35-9671-17c81997477c', 'name': 'ctest-vn-86081630', 'tenant_id': 'c5c99a51f0a742c592190c4b925dff0d', 'project_id': 'c5c99a51f0a742c592190c4b925dff0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63879682', 'ctest-vn-86081630'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:38:08,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fdb1670-eb75-4776-ab7c-506b88fb45bf', 'name': '', 'tenant_id': 'c5c99a51f0a742c592190c4b925dff0d', 'network_id': '345c0c20-36bc-4c35-9671-17c81997477c', 'ip_version': 4, 'cidr': '115.113.202.0/26', 'allocation_pools': [{'start': '115.113.202.2', 'end': '115.113.202.62'}], 'gateway_ip': '115.113.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.113.202.2', 'tags': [], 'project_id': 'c5c99a51f0a742c592190c4b925dff0d'}} 2025-02-13 02:38:08,581 - INFO - Created VN ctest-vn-86081630 2025-02-13 02:38:08,632 - DEBUG - VN ctest-vn-86081630 UUID is 345c0c20-36bc-4c35-9671-17c81997477c 2025-02-13 02:38:08,921 - DEBUG - Response for create_network : {'network': {'id': '2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844', 'name': 'ctest-vn-07026003', 'tenant_id': 'c5c99a51f0a742c592190c4b925dff0d', 'project_id': 'c5c99a51f0a742c592190c4b925dff0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63879682', 'ctest-vn-07026003'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:38:09,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '09924002-dd28-4f7b-8302-132bd4f63d22', 'name': '', 'tenant_id': 'c5c99a51f0a742c592190c4b925dff0d', 'network_id': '2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844', 'ip_version': 4, 'cidr': '103.88.219.64/26', 'allocation_pools': [{'start': '103.88.219.66', 'end': '103.88.219.126'}], 'gateway_ip': '103.88.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.88.219.66', 'tags': [], 'project_id': 'c5c99a51f0a742c592190c4b925dff0d'}} 2025-02-13 02:38:09,112 - INFO - Created VN ctest-vn-07026003 2025-02-13 02:38:09,164 - DEBUG - VN ctest-vn-07026003 UUID is 2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844 2025-02-13 02:38:09,273 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-86081630, 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-63879682:ctest-vn-07026003, 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 02:38:09,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '345c0c20-36bc-4c35-9671-17c81997477c', 'name': 'ctest-vn-86081630', 'tenant_id': 'c5c99a51f0a742c592190c4b925dff0d', 'project_id': 'c5c99a51f0a742c592190c4b925dff0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6fdb1670-eb75-4776-ab7c-506b88fb45bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63879682', 'ctest-vn-86081630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63879682', 'ctest-policy-allow-all-86074403']], 'subnet_ipam': [{'subnet_cidr': '115.113.202.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:38:09,781 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844', 'name': 'ctest-vn-07026003', 'tenant_id': 'c5c99a51f0a742c592190c4b925dff0d', 'project_id': 'c5c99a51f0a742c592190c4b925dff0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09924002-dd28-4f7b-8302-132bd4f63d22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63879682', 'ctest-vn-07026003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63879682', 'ctest-policy-allow-all-86074403']], 'subnet_ipam': [{'subnet_cidr': '103.88.219.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:38:09,932 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 02:38:10,226 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 02:38:10,254 - DEBUG - Requesting: http://10.0.0.30:8082/domain/a4168d2e-02e9-4585-8f89-b292fe939d11 2025-02-13 02:38:10,267 - DEBUG - Requesting: http://10.0.0.30:8082/project/c5c99a51-f0a7-42c5-9219-0c4b925dff0d 2025-02-13 02:38:10,349 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/345c0c20-36bc-4c35-9671-17c81997477c 2025-02-13 02:38:10,360 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/345c0c20-36bc-4c35-9671-17c81997477c 2025-02-13 02:38:10,368 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7b750523-985e-49fb-905c-812d8d060303 2025-02-13 02:38:10,375 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7b750523-985e-49fb-905c-812d8d060303 2025-02-13 02:38:10,382 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/ad326221-2414-454f-b65b-d16c00a13a05 2025-02-13 02:38:10,388 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:38:10,388 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/345c0c20-36bc-4c35-9671-17c81997477c 2025-02-13 02:38:10,396 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7b750523-985e-49fb-905c-812d8d060303 2025-02-13 02:38:10,407 - INFO - Verified VN network id 9 for VN 345c0c20-36bc-4c35-9671-17c81997477c 2025-02-13 02:38:10,407 - INFO - Verifications in API Server for VN ctest-vn-86081630 passed 2025-02-13 02:38:10,407 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/345c0c20-36bc-4c35-9671-17c81997477c 2025-02-13 02:38:10,415 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7b750523-985e-49fb-905c-812d8d060303 2025-02-13 02:38:10,422 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7b750523-985e-49fb-905c-812d8d060303 2025-02-13 02:38:10,428 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/ad326221-2414-454f-b65b-d16c00a13a05 2025-02-13 02:38:10,440 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-86081630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63879682', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3772903920326429749', 'uuid-lslong': '10840471926247737212'}, 'enable': 'true', 'created': '2025-02-13T02:38:08', 'last-modified': '2025-02-13T02:38:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.894621'} 2025-02-13 02:38:10,448 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:38:10,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86081630 passed 2025-02-13 02:38:10,448 - DEBUG - ====Verifying policy data for ctest-vn-86081630 in API_Server ====== 2025-02-13 02:38:10,448 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 02:38:10,454 - DEBUG - Requesting: http://10.0.0.30:8082/domain/a4168d2e-02e9-4585-8f89-b292fe939d11 2025-02-13 02:38:10,466 - DEBUG - Requesting: http://10.0.0.30:8082/project/c5c99a51-f0a7-42c5-9219-0c4b925dff0d 2025-02-13 02:38:10,535 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/345c0c20-36bc-4c35-9671-17c81997477c 2025-02-13 02:38:10,544 - DEBUG - ==>Verifying data for policy with id: cb25a7ac-cb2c-4a90-bc20-d39e7120aced, fqn: ['default-domain', 'ctest-TestBasicPolicy-63879682', 'ctest-policy-allow-all-86074403'] 2025-02-13 02:38:10,544 - INFO - VN ctest-vn-86081630 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 02:38:10,544 - DEBUG - Verifying the vn in opserver 2025-02-13 02:38:10,544 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-86081630 virtual network link through opserver 10.0.0.30 2025-02-13 02:38:10,544 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-13 02:38:10,834 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-13 02:38:10,933 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-86081630', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-86081630?flat'} 2025-02-13 02:38:10,933 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-86081630 is found in opserver 2025-02-13 02:38:10,945 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 02:38:10,950 - DEBUG - VRF ids for VN ctest-vn-86081630: {} 2025-02-13 02:38:10,950 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 02:38:10,974 - DEBUG - Requesting: http://10.0.0.30:8082/domain/a4168d2e-02e9-4585-8f89-b292fe939d11 2025-02-13 02:38:11,016 - DEBUG - Requesting: http://10.0.0.30:8082/project/c5c99a51-f0a7-42c5-9219-0c4b925dff0d 2025-02-13 02:38:11,099 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844 2025-02-13 02:38:11,117 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844 2025-02-13 02:38:11,139 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56fa6e8d-85e8-43e3-8ad7-44e2424fa912 2025-02-13 02:38:11,149 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56fa6e8d-85e8-43e3-8ad7-44e2424fa912 2025-02-13 02:38:11,164 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/850cc7ad-a33a-47d3-941d-50a9bdaabbb4 2025-02-13 02:38:11,190 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-13 02:38:11,190 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844 2025-02-13 02:38:11,204 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56fa6e8d-85e8-43e3-8ad7-44e2424fa912 2025-02-13 02:38:11,236 - INFO - Verified VN network id 10 for VN 2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844 2025-02-13 02:38:11,236 - INFO - Verifications in API Server for VN ctest-vn-07026003 passed 2025-02-13 02:38:11,236 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844 2025-02-13 02:38:11,251 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56fa6e8d-85e8-43e3-8ad7-44e2424fa912 2025-02-13 02:38:11,262 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56fa6e8d-85e8-43e3-8ad7-44e2424fa912 2025-02-13 02:38:11,274 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/850cc7ad-a33a-47d3-941d-50a9bdaabbb4 2025-02-13 02:38:11,295 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-07026003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63879682', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3404174014540104928', 'uuid-lslong': '10007528163245148228'}, 'enable': 'true', 'created': '2025-02-13T02:38:08', 'last-modified': '2025-02-13T02:38:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.525348'} 2025-02-13 02:38:11,305 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-13 02:38:11,305 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07026003 passed 2025-02-13 02:38:11,305 - DEBUG - ====Verifying policy data for ctest-vn-07026003 in API_Server ====== 2025-02-13 02:38:11,305 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 02:38:11,315 - DEBUG - Requesting: http://10.0.0.30:8082/domain/a4168d2e-02e9-4585-8f89-b292fe939d11 2025-02-13 02:38:11,399 - DEBUG - Requesting: http://10.0.0.30:8082/project/c5c99a51-f0a7-42c5-9219-0c4b925dff0d 2025-02-13 02:38:11,480 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844 2025-02-13 02:38:11,493 - DEBUG - ==>Verifying data for policy with id: cb25a7ac-cb2c-4a90-bc20-d39e7120aced, fqn: ['default-domain', 'ctest-TestBasicPolicy-63879682', 'ctest-policy-allow-all-86074403'] 2025-02-13 02:38:11,493 - INFO - VN ctest-vn-07026003 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 02:38:11,493 - DEBUG - Verifying the vn in opserver 2025-02-13 02:38:11,493 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-07026003 virtual network link through opserver 10.0.0.30 2025-02-13 02:38:11,493 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-13 02:38:11,508 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-07026003', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-07026003?flat'} 2025-02-13 02:38:11,508 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-07026003 is found in opserver 2025-02-13 02:38:11,523 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 02:38:11,529 - DEBUG - VRF ids for VN ctest-vn-07026003: {} 2025-02-13 02:38:11,612 - DEBUG - Services list from nova: [, , ] 2025-02-13 02:38:12,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2730-1) 2025-02-13 02:38:13,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2730-1) 2025-02-13 02:38:13,788 - INFO - Waiting for VM ctest-TestBasicPolicy-63879682-24486306 to be up.. 2025-02-13 02:38:13,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 02:38:18,955 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:38:18,955 - INFO - VM name : ctest-TestBasicPolicy-63879682-24486306 2025-02-13 02:38:19,033 - DEBUG - VM ctest-TestBasicPolicy-63879682-24486306 ID is f56957a7-2d4a-4e28-a6e1-770984dcac2f 2025-02-13 02:38:19,054 - DEBUG - VM ctest-TestBasicPolicy-63879682-24486306 launched on Node cn-jenkins-deploy-platform-ansible-os-2730-1 2025-02-13 02:38:19,132 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/f56957a7-2d4a-4e28-a6e1-770984dcac2f 2025-02-13 02:38:19,141 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/f507be8a-3ac1-435c-bedf-1865a2c73884 2025-02-13 02:38:22,378 - 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 1003ms') 2025-02-13 02:38:22,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63879682-24486306 failed! 2025-02-13 02:38:22,432 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63879682:ctest-vn-86081630 is 115.113.202.1 and allocation pool is NOT set 2025-02-13 02:38:24,498 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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 = 1.296/3.581/5.866/2.285 ms') 2025-02-13 02:38:24,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63879682-24486306 passed 2025-02-13 02:38:24,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:38:24,652 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63879682-24486306, IP 115.113.202.3, Port 22 2025-02-13 02:38:24,807 - DEBUG - VM ctest-TestBasicPolicy-63879682-24486306 is ready for SSH connections 2025-02-13 02:38:24,807 - INFO - Waiting for VM ctest-TestBasicPolicy-63879682-50444439 to be up.. 2025-02-13 02:38:24,892 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:38:24,892 - INFO - VM name : ctest-TestBasicPolicy-63879682-50444439 2025-02-13 02:38:24,965 - DEBUG - VM ctest-TestBasicPolicy-63879682-50444439 ID is 1df2e4d9-fe6f-484c-8e8e-3a9cc02cfbfb 2025-02-13 02:38:24,965 - DEBUG - VM ctest-TestBasicPolicy-63879682-50444439 launched on Node cn-jenkins-deploy-platform-ansible-os-2730-1 2025-02-13 02:38:25,036 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/1df2e4d9-fe6f-484c-8e8e-3a9cc02cfbfb 2025-02-13 02:38:25,046 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/70ebe815-5bfe-4a23-a8b5-840c993e14af 2025-02-13 02:38:26,287 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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.355/1.534/2.713/1.179 ms') 2025-02-13 02:38:26,287 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63879682-50444439 passed 2025-02-13 02:38:26,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:38:26,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63879682-50444439, IP 103.88.219.67, Port 22 2025-02-13 02:38:26,615 - DEBUG - VM ctest-TestBasicPolicy-63879682-50444439 is ready for SSH connections 2025-02-13 02:38:26,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:38:26,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.88.219.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-13 02:38:26,615 - DEBUG - ping -s 56 -c 3 -W 1 103.88.219.67 2025-02-13 02:38:30,660 - DEBUG - PING 103.88.219.67 (103.88.219.67): 56 data bytes 64 bytes from 103.88.219.67: seq=0 ttl=63 time=3.385 ms 64 bytes from 103.88.219.67: seq=1 ttl=63 time=0.766 ms 64 bytes from 103.88.219.67: seq=2 ttl=63 time=0.736 ms --- 103.88.219.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.736/1.629/3.385 ms 2025-02-13 02:38:30,660 - INFO - Ping to IP 103.88.219.67 from VM ctest-TestBasicPolicy-63879682-24486306 passed 2025-02-13 02:38:30,836 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb25a7ac-cb2c-4a90-bc20-d39e7120aced", "href": "http://10.0.0.30:8082/network-policy/cb25a7ac-cb2c-4a90-bc20-d39e7120aced"}} 2025-02-13 02:38:30,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:38:30,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.88.219.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-13 02:38:30,836 - DEBUG - ping -s 56 -c 3 -W 1 103.88.219.67 2025-02-13 02:38:34,054 - DEBUG - PING 103.88.219.67 (103.88.219.67): 56 data bytes --- 103.88.219.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-13 02:38:34,054 - WARNING - Ping to IP 103.88.219.67 from VM ctest-TestBasicPolicy-63879682-24486306 failed 2025-02-13 02:38:34,054 - INFO - Deleting VM ctest-TestBasicPolicy-63879682-50444439 2025-02-13 02:38:34,118 - INFO - Deleting VM ctest-TestBasicPolicy-63879682-24486306 2025-02-13 02:38:34,459 - INFO - Deleted policy ctest-policy-allow-all-86074403 2025-02-13 02:38:34,459 - INFO - Deleting VN ctest-vn-07026003 2025-02-13 02:38:34,495 - DEBUG - VN 2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844 still in use: Unable to complete operation on network 2f3e0e3a-ea47-44e0-8ae1-e1d7a1f1c844. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-674fe2df-1c84-4dd0-998e-c23adbd19fd6'] 2025-02-13 02:38:34,495 - WARNING - Deleting VN ctest-vn-07026003 failed..Will retry 2025-02-13 02:38:36,605 - DEBUG - Response for deleting network () 2025-02-13 02:38:36,605 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56fa6e8d-85e8-43e3-8ad7-44e2424fa912 2025-02-13 02:38:36,611 - DEBUG - Response Code: 404 2025-02-13 02:38:36,611 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 02:38:36,616 - DEBUG - Requesting: http://10.0.0.30:8082/domain/a4168d2e-02e9-4585-8f89-b292fe939d11 2025-02-13 02:38:36,670 - DEBUG - Requesting: http://10.0.0.30:8082/project/c5c99a51-f0a7-42c5-9219-0c4b925dff0d 2025-02-13 02:38:36,740 - INFO - Validated that VN ctest-vn-07026003 is not found in API Server 2025-02-13 02:38:36,751 - DEBUG - VN ctest-vn-07026003 is not present in Agent 10.0.0.30 2025-02-13 02:38:36,751 - INFO - Validated that VN ctest-vn-07026003 is not in any agent 2025-02-13 02:38:36,766 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07026003 info 2025-02-13 02:38:36,766 - INFO - Deleting VN ctest-vn-86081630 2025-02-13 02:38:36,880 - DEBUG - Response for deleting network () 2025-02-13 02:38:36,880 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7b750523-985e-49fb-905c-812d8d060303 2025-02-13 02:38:36,887 - DEBUG - Response Code: 404 2025-02-13 02:38:36,887 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-13 02:38:36,893 - DEBUG - Requesting: http://10.0.0.30:8082/domain/a4168d2e-02e9-4585-8f89-b292fe939d11 2025-02-13 02:38:36,948 - DEBUG - Requesting: http://10.0.0.30:8082/project/c5c99a51-f0a7-42c5-9219-0c4b925dff0d 2025-02-13 02:38:37,022 - INFO - Validated that VN ctest-vn-86081630 is not found in API Server 2025-02-13 02:38:37,033 - DEBUG - VN ctest-vn-86081630 is not present in Agent 10.0.0.30 2025-02-13 02:38:37,033 - INFO - Validated that VN ctest-vn-86081630 is not in any agent 2025-02-13 02:38:37,050 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86081630 info 2025-02-13 02:38:37,311 - DEBUG - No XMPP flaps were noticed during the test 2025-02-13 02:38:37,311 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-13 02:38:37,311 - INFO - -------------------------------------------------------------------------------- 2025-02-13 02:38:37,963 - INFO - Deleted project: ctest-TestBasicPolicy-63879682, ID : c5c99a51-f0a7-42c5-9219-0c4b925dff0d