2024-12-23 02:11:50,158 - INFO - Domain Default found not creating 2024-12-23 02:11:50,285 - INFO - Project ctest-TestBasicPolicy-77533830 not found, creating it 2024-12-23 02:11:50,706 - INFO - Created Project:ctest-TestBasicPolicy-77533830, ID : a2307de9-5674-4880-9171-86dedb1a5874 2024-12-23 02:11:52,184 - INFO - ================================================================================ 2024-12-23 02:11:52,184 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-12-23 02:11:52,184 - 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 2024-12-23 02:11:52,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.17': '0'}} with 2024-12-23 02:11:52,442 - INFO - Initial checks done. Running the testcase now 2024-12-23 02:11:52,442 - INFO - 2024-12-23 02:11:52,985 - DEBUG - Response for create_network : {'network': {'id': '5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9', 'name': 'ctest-vn-42815413', 'tenant_id': 'a2307de956744880917186dedb1a5874', 'project_id': 'a2307de956744880917186dedb1a5874', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77533830', 'ctest-vn-42815413'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 02:11:53,361 - DEBUG - Response for create_subnet : {'subnet': {'id': '350d4594-eb79-467b-873f-9bdcb5b63f06', 'name': '', 'tenant_id': 'a2307de956744880917186dedb1a5874', 'network_id': '5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9', 'ip_version': 4, 'cidr': '79.110.27.192/26', 'allocation_pools': [{'start': '79.110.27.194', 'end': '79.110.27.254'}], 'gateway_ip': '79.110.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.110.27.194', 'tags': [], 'project_id': 'a2307de956744880917186dedb1a5874'}} 2024-12-23 02:11:53,395 - INFO - Created VN ctest-vn-42815413 2024-12-23 02:11:53,452 - DEBUG - VN ctest-vn-42815413 UUID is 5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9 2024-12-23 02:11:53,829 - DEBUG - Response for create_network : {'network': {'id': '5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54', 'name': 'ctest-vn-55270435', 'tenant_id': 'a2307de956744880917186dedb1a5874', 'project_id': 'a2307de956744880917186dedb1a5874', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77533830', 'ctest-vn-55270435'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 02:11:54,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '42a6311c-928e-4663-af25-a7121a22de60', 'name': '', 'tenant_id': 'a2307de956744880917186dedb1a5874', 'network_id': '5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54', 'ip_version': 4, 'cidr': '92.235.94.0/26', 'allocation_pools': [{'start': '92.235.94.2', 'end': '92.235.94.62'}], 'gateway_ip': '92.235.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.235.94.2', 'tags': [], 'project_id': 'a2307de956744880917186dedb1a5874'}} 2024-12-23 02:11:54,016 - INFO - Created VN ctest-vn-55270435 2024-12-23 02:11:54,064 - DEBUG - VN ctest-vn-55270435 UUID is 5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54 2024-12-23 02:11:54,212 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-42815413, 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-77533830:ctest-vn-55270435, 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] 2024-12-23 02:11:54,508 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9', 'name': 'ctest-vn-42815413', 'tenant_id': 'a2307de956744880917186dedb1a5874', 'project_id': 'a2307de956744880917186dedb1a5874', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['350d4594-eb79-467b-873f-9bdcb5b63f06'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77533830', 'ctest-vn-42815413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77533830', 'ctest-policy-allow-all-63993738']], 'subnet_ipam': [{'subnet_cidr': '79.110.27.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-23 02:11:54,695 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54', 'name': 'ctest-vn-55270435', 'tenant_id': 'a2307de956744880917186dedb1a5874', 'project_id': 'a2307de956744880917186dedb1a5874', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42a6311c-928e-4663-af25-a7121a22de60'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77533830', 'ctest-vn-55270435'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77533830', 'ctest-policy-allow-all-63993738']], 'subnet_ipam': [{'subnet_cidr': '92.235.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-23 02:11:54,860 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-23 02:11:55,156 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-23 02:11:55,181 - DEBUG - Requesting: http://10.0.0.17:8082/domain/22042cce-cd37-4bbf-baf4-caf2e2364a6d 2024-12-23 02:11:55,194 - DEBUG - Requesting: http://10.0.0.17:8082/project/a2307de9-5674-4880-9171-86dedb1a5874 2024-12-23 02:11:55,270 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9 2024-12-23 02:11:55,279 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9 2024-12-23 02:11:55,286 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/45570f02-0937-45ee-a406-1795b293988e 2024-12-23 02:11:55,294 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/45570f02-0937-45ee-a406-1795b293988e 2024-12-23 02:11:55,301 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/d74fce9c-6208-439d-844f-f1b1d9980e8b 2024-12-23 02:11:55,306 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-23 02:11:55,306 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9 2024-12-23 02:11:55,313 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/45570f02-0937-45ee-a406-1795b293988e 2024-12-23 02:11:55,323 - INFO - Verified VN network id 9 for VN 5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9 2024-12-23 02:11:55,323 - INFO - Verifications in API Server for VN ctest-vn-42815413 passed 2024-12-23 02:11:55,323 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9 2024-12-23 02:11:55,330 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/45570f02-0937-45ee-a406-1795b293988e 2024-12-23 02:11:55,336 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/45570f02-0937-45ee-a406-1795b293988e 2024-12-23 02:11:55,342 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/d74fce9c-6208-439d-844f-f1b1d9980e8b 2024-12-23 02:11:55,354 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-42815413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77533830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6804845915547454256', 'uuid-lslong': '10131134995408156905'}, 'enable': 'true', 'created': '2024-12-23T02:11:52', 'last-modified': '2024-12-23T02:11:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.869006'} 2024-12-23 02:11:55,361 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-23 02:11:55,361 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42815413 passed 2024-12-23 02:11:55,361 - DEBUG - ====Verifying policy data for ctest-vn-42815413 in API_Server ====== 2024-12-23 02:11:55,361 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-23 02:11:55,367 - DEBUG - Requesting: http://10.0.0.17:8082/domain/22042cce-cd37-4bbf-baf4-caf2e2364a6d 2024-12-23 02:11:55,377 - DEBUG - Requesting: http://10.0.0.17:8082/project/a2307de9-5674-4880-9171-86dedb1a5874 2024-12-23 02:11:55,446 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5e6fab4e-7b79-4b30-8c99-0599ecd4f8e9 2024-12-23 02:11:55,456 - DEBUG - ==>Verifying data for policy with id: 756c99d5-fa32-4df8-bbc4-f110e170c26f, fqn: ['default-domain', 'ctest-TestBasicPolicy-77533830', 'ctest-policy-allow-all-63993738'] 2024-12-23 02:11:55,456 - INFO - VN ctest-vn-42815413 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-23 02:11:55,456 - DEBUG - Verifying the vn in opserver 2024-12-23 02:11:55,456 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-42815413 virtual network link through opserver 10.0.0.17 2024-12-23 02:11:55,456 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-12-23 02:11:55,753 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-12-23 02:11:55,811 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-42815413', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-42815413?flat'} 2024-12-23 02:11:55,811 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-42815413 is found in opserver 2024-12-23 02:11:55,822 - DEBUG - Do not have enough data to verify VN in agent 2024-12-23 02:11:55,827 - DEBUG - VRF ids for VN ctest-vn-42815413: {} 2024-12-23 02:11:55,827 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-23 02:11:55,833 - DEBUG - Requesting: http://10.0.0.17:8082/domain/22042cce-cd37-4bbf-baf4-caf2e2364a6d 2024-12-23 02:11:55,843 - DEBUG - Requesting: http://10.0.0.17:8082/project/a2307de9-5674-4880-9171-86dedb1a5874 2024-12-23 02:11:55,911 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54 2024-12-23 02:11:55,920 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54 2024-12-23 02:11:55,927 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/dcca9db0-bd05-43e4-a9c0-aa595b516291 2024-12-23 02:11:55,933 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/dcca9db0-bd05-43e4-a9c0-aa595b516291 2024-12-23 02:11:55,938 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/1a9f77cc-4190-437c-ab0f-12522484f20b 2024-12-23 02:11:55,944 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-23 02:11:55,944 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54 2024-12-23 02:11:55,951 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/dcca9db0-bd05-43e4-a9c0-aa595b516291 2024-12-23 02:11:55,962 - INFO - Verified VN network id 10 for VN 5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54 2024-12-23 02:11:55,963 - INFO - Verifications in API Server for VN ctest-vn-55270435 passed 2024-12-23 02:11:55,963 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54 2024-12-23 02:11:55,970 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/dcca9db0-bd05-43e4-a9c0-aa595b516291 2024-12-23 02:11:55,976 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/dcca9db0-bd05-43e4-a9c0-aa595b516291 2024-12-23 02:11:55,981 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/1a9f77cc-4190-437c-ab0f-12522484f20b 2024-12-23 02:11:55,992 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-55270435', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77533830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6497898293157187554', 'uuid-lslong': '12857281444500774228'}, 'enable': 'true', 'created': '2024-12-23T02:11:53', 'last-modified': '2024-12-23T02:11:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318030'} 2024-12-23 02:11:55,999 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-23 02:11:55,999 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55270435 passed 2024-12-23 02:11:55,999 - DEBUG - ====Verifying policy data for ctest-vn-55270435 in API_Server ====== 2024-12-23 02:11:55,999 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-23 02:11:56,007 - DEBUG - Requesting: http://10.0.0.17:8082/domain/22042cce-cd37-4bbf-baf4-caf2e2364a6d 2024-12-23 02:11:56,019 - DEBUG - Requesting: http://10.0.0.17:8082/project/a2307de9-5674-4880-9171-86dedb1a5874 2024-12-23 02:11:56,090 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54 2024-12-23 02:11:56,098 - DEBUG - ==>Verifying data for policy with id: 756c99d5-fa32-4df8-bbc4-f110e170c26f, fqn: ['default-domain', 'ctest-TestBasicPolicy-77533830', 'ctest-policy-allow-all-63993738'] 2024-12-23 02:11:56,098 - INFO - VN ctest-vn-55270435 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-23 02:11:56,098 - DEBUG - Verifying the vn in opserver 2024-12-23 02:11:56,098 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-55270435 virtual network link through opserver 10.0.0.17 2024-12-23 02:11:56,098 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-12-23 02:11:56,108 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-55270435', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-55270435?flat'} 2024-12-23 02:11:56,108 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-55270435 is found in opserver 2024-12-23 02:11:56,118 - DEBUG - Do not have enough data to verify VN in agent 2024-12-23 02:11:56,124 - DEBUG - VRF ids for VN ctest-vn-55270435: {} 2024-12-23 02:11:56,179 - DEBUG - Services list from nova: [, , ] 2024-12-23 02:11:57,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2486-1) 2024-12-23 02:11:58,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2486-1) 2024-12-23 02:11:58,320 - INFO - Waiting for VM ctest-TestBasicPolicy-77533830-08219227 to be up.. 2024-12-23 02:11:58,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-23 02:12:03,479 - DEBUG - VM is in ACTIVE state now 2024-12-23 02:12:03,479 - INFO - VM name : ctest-TestBasicPolicy-77533830-08219227 2024-12-23 02:12:03,557 - DEBUG - VM ctest-TestBasicPolicy-77533830-08219227 ID is f60fcfc7-7b0a-4de0-97d1-f47544b2c5d2 2024-12-23 02:12:03,578 - DEBUG - VM ctest-TestBasicPolicy-77533830-08219227 launched on Node cn-jenkins-deploy-platform-ansible-os-2486-1 2024-12-23 02:12:03,651 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f60fcfc7-7b0a-4de0-97d1-f47544b2c5d2 2024-12-23 02:12:03,659 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/53d2da74-b01f-48a3-9b65-b7558aee4f21 2024-12-23 02:12:06,911 - 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 1023ms') 2024-12-23 02:12:06,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77533830-08219227 failed! 2024-12-23 02:12:06,965 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77533830:ctest-vn-42815413 is 79.110.27.193 and allocation pool is NOT set 2024-12-23 02:12:09,034 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.665 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.665/1.648/2.631/0.983 ms') 2024-12-23 02:12:09,035 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77533830-08219227 passed 2024-12-23 02:12:09,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:12:09,189 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77533830-08219227, IP 79.110.27.195, Port 22 2024-12-23 02:12:09,359 - DEBUG - VM ctest-TestBasicPolicy-77533830-08219227 is ready for SSH connections 2024-12-23 02:12:09,359 - INFO - Waiting for VM ctest-TestBasicPolicy-77533830-97062471 to be up.. 2024-12-23 02:12:09,441 - DEBUG - VM is in ACTIVE state now 2024-12-23 02:12:09,441 - INFO - VM name : ctest-TestBasicPolicy-77533830-97062471 2024-12-23 02:12:09,510 - DEBUG - VM ctest-TestBasicPolicy-77533830-97062471 ID is 9f360da7-3c8b-477a-ab96-3796543670d5 2024-12-23 02:12:09,510 - DEBUG - VM ctest-TestBasicPolicy-77533830-97062471 launched on Node cn-jenkins-deploy-platform-ansible-os-2486-1 2024-12-23 02:12:09,578 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/9f360da7-3c8b-477a-ab96-3796543670d5 2024-12-23 02:12:09,586 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/3e6bd141-e19c-4b09-a380-4945188bc65f 2024-12-23 02:12:10,818 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.646/2.848/1.202 ms') 2024-12-23 02:12:10,818 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77533830-97062471 passed 2024-12-23 02:12:10,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:12:10,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77533830-97062471, IP 92.235.94.3, Port 22 2024-12-23 02:12:11,124 - DEBUG - VM ctest-TestBasicPolicy-77533830-97062471 is ready for SSH connections 2024-12-23 02:12:11,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:12:11,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.235.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-12-23 02:12:11,124 - DEBUG - ping -s 56 -c 3 -W 1 92.235.94.3 2024-12-23 02:12:15,079 - DEBUG - PING 92.235.94.3 (92.235.94.3): 56 data bytes 64 bytes from 92.235.94.3: seq=0 ttl=63 time=3.618 ms 64 bytes from 92.235.94.3: seq=1 ttl=63 time=0.885 ms 64 bytes from 92.235.94.3: seq=2 ttl=63 time=1.108 ms --- 92.235.94.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.885/1.870/3.618 ms 2024-12-23 02:12:15,079 - INFO - Ping to IP 92.235.94.3 from VM ctest-TestBasicPolicy-77533830-08219227 passed 2024-12-23 02:12:15,260 - DEBUG - Policy Update Response {"network-policy": {"uuid": "756c99d5-fa32-4df8-bbc4-f110e170c26f", "href": "http://10.0.0.17:8082/network-policy/756c99d5-fa32-4df8-bbc4-f110e170c26f"}} 2024-12-23 02:12:15,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:12:15,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.235.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-12-23 02:12:15,260 - DEBUG - ping -s 56 -c 3 -W 1 92.235.94.3 2024-12-23 02:12:18,456 - DEBUG - PING 92.235.94.3 (92.235.94.3): 56 data bytes --- 92.235.94.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-12-23 02:12:18,456 - WARNING - Ping to IP 92.235.94.3 from VM ctest-TestBasicPolicy-77533830-08219227 failed 2024-12-23 02:12:18,456 - INFO - Deleting VM ctest-TestBasicPolicy-77533830-97062471 2024-12-23 02:12:18,525 - INFO - Deleting VM ctest-TestBasicPolicy-77533830-08219227 2024-12-23 02:12:18,842 - INFO - Deleted policy ctest-policy-allow-all-63993738 2024-12-23 02:12:18,842 - INFO - Deleting VN ctest-vn-55270435 2024-12-23 02:12:18,879 - DEBUG - VN 5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54 still in use: Unable to complete operation on network 5a2d2c11-fe40-4fe2-b26e-3d5a5cb09d54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e00b145e-6293-4dba-999d-fe0037d020e7'] 2024-12-23 02:12:18,879 - WARNING - Deleting VN ctest-vn-55270435 failed..Will retry 2024-12-23 02:12:20,977 - DEBUG - Response for deleting network () 2024-12-23 02:12:20,977 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/dcca9db0-bd05-43e4-a9c0-aa595b516291 2024-12-23 02:12:20,982 - DEBUG - Response Code: 404 2024-12-23 02:12:20,983 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-23 02:12:20,989 - DEBUG - Requesting: http://10.0.0.17:8082/domain/22042cce-cd37-4bbf-baf4-caf2e2364a6d 2024-12-23 02:12:21,041 - DEBUG - Requesting: http://10.0.0.17:8082/project/a2307de9-5674-4880-9171-86dedb1a5874 2024-12-23 02:12:21,109 - INFO - Validated that VN ctest-vn-55270435 is not found in API Server 2024-12-23 02:12:21,119 - DEBUG - VN ctest-vn-55270435 is not present in Agent 10.0.0.17 2024-12-23 02:12:21,119 - INFO - Validated that VN ctest-vn-55270435 is not in any agent 2024-12-23 02:12:21,135 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55270435 info 2024-12-23 02:12:21,135 - INFO - Deleting VN ctest-vn-42815413 2024-12-23 02:12:21,227 - DEBUG - Response for deleting network () 2024-12-23 02:12:21,227 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/45570f02-0937-45ee-a406-1795b293988e 2024-12-23 02:12:21,232 - DEBUG - Response Code: 404 2024-12-23 02:12:21,232 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-23 02:12:21,239 - DEBUG - Requesting: http://10.0.0.17:8082/domain/22042cce-cd37-4bbf-baf4-caf2e2364a6d 2024-12-23 02:12:21,293 - DEBUG - Requesting: http://10.0.0.17:8082/project/a2307de9-5674-4880-9171-86dedb1a5874 2024-12-23 02:12:21,358 - INFO - Validated that VN ctest-vn-42815413 is not found in API Server 2024-12-23 02:12:21,368 - DEBUG - VN ctest-vn-42815413 is not present in Agent 10.0.0.17 2024-12-23 02:12:21,368 - INFO - Validated that VN ctest-vn-42815413 is not in any agent 2024-12-23 02:12:21,382 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42815413 info 2024-12-23 02:12:21,638 - DEBUG - No XMPP flaps were noticed during the test 2024-12-23 02:12:21,639 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-12-23 02:12:21,639 - INFO - -------------------------------------------------------------------------------- 2024-12-23 02:12:22,286 - INFO - Deleted project: ctest-TestBasicPolicy-77533830, ID : a2307de9-5674-4880-9171-86dedb1a5874