2024-11-08 18:51:03,109 - INFO - Domain Default found not creating 2024-11-08 18:51:03,315 - INFO - Project ctest-TestBasicPolicy-18196375 not found, creating it 2024-11-08 18:51:03,851 - INFO - Created Project:ctest-TestBasicPolicy-18196375, ID : 62712bfd-9533-4335-8171-880b472385bb 2024-11-08 18:51:05,549 - INFO - ================================================================================ 2024-11-08 18:51:05,550 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-08 18:51:05,550 - 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-11-08 18:51:05,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.24': '0'}} with 2024-11-08 18:51:05,821 - INFO - Initial checks done. Running the testcase now 2024-11-08 18:51:05,822 - INFO - 2024-11-08 18:51:06,503 - DEBUG - Response for create_network : {'network': {'id': 'fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682', 'name': 'ctest-vn-84536446', 'tenant_id': '62712bfd953343358171880b472385bb', 'project_id': '62712bfd953343358171880b472385bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18196375', 'ctest-vn-84536446'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:51:06,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '68473722-480e-4ab6-8d1c-63c05314eeba', 'name': '', 'tenant_id': '62712bfd953343358171880b472385bb', 'network_id': 'fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682', 'ip_version': 4, 'cidr': '2.209.245.64/26', 'allocation_pools': [{'start': '2.209.245.66', 'end': '2.209.245.126'}], 'gateway_ip': '2.209.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.209.245.66', 'tags': [], 'project_id': '62712bfd953343358171880b472385bb'}} 2024-11-08 18:51:06,716 - INFO - Created VN ctest-vn-84536446 2024-11-08 18:51:06,775 - DEBUG - VN ctest-vn-84536446 UUID is fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682 2024-11-08 18:51:07,168 - DEBUG - Response for create_network : {'network': {'id': '99a5be96-88a3-425e-9a2b-9720a518619a', 'name': 'ctest-vn-38159972', 'tenant_id': '62712bfd953343358171880b472385bb', 'project_id': '62712bfd953343358171880b472385bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18196375', 'ctest-vn-38159972'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:51:07,421 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b7e418c-cbf7-4bd4-b721-aec51daab7b5', 'name': '', 'tenant_id': '62712bfd953343358171880b472385bb', 'network_id': '99a5be96-88a3-425e-9a2b-9720a518619a', 'ip_version': 4, 'cidr': '164.222.175.128/26', 'allocation_pools': [{'start': '164.222.175.130', 'end': '164.222.175.190'}], 'gateway_ip': '164.222.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.222.175.130', 'tags': [], 'project_id': '62712bfd953343358171880b472385bb'}} 2024-11-08 18:51:07,451 - INFO - Created VN ctest-vn-38159972 2024-11-08 18:51:07,519 - DEBUG - VN ctest-vn-38159972 UUID is 99a5be96-88a3-425e-9a2b-9720a518619a 2024-11-08 18:51:07,664 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-84536446, 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-18196375:ctest-vn-38159972, 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-11-08 18:51:08,022 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682', 'name': 'ctest-vn-84536446', 'tenant_id': '62712bfd953343358171880b472385bb', 'project_id': '62712bfd953343358171880b472385bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68473722-480e-4ab6-8d1c-63c05314eeba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18196375', 'ctest-vn-84536446'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18196375', 'ctest-policy-allow-all-31096461']], 'subnet_ipam': [{'subnet_cidr': '2.209.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:51:08,330 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99a5be96-88a3-425e-9a2b-9720a518619a', 'name': 'ctest-vn-38159972', 'tenant_id': '62712bfd953343358171880b472385bb', 'project_id': '62712bfd953343358171880b472385bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b7e418c-cbf7-4bd4-b721-aec51daab7b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18196375', 'ctest-vn-38159972'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18196375', 'ctest-policy-allow-all-31096461']], 'subnet_ipam': [{'subnet_cidr': '164.222.175.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:51:08,504 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:51:08,816 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:51:08,866 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:51:08,887 - DEBUG - Requesting: http://10.0.0.12:8082/project/62712bfd-9533-4335-8171-880b472385bb 2024-11-08 18:51:08,997 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682 2024-11-08 18:51:09,022 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682 2024-11-08 18:51:09,044 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcd6a4c7-8a04-4833-be7e-491ce3923502 2024-11-08 18:51:09,060 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcd6a4c7-8a04-4833-be7e-491ce3923502 2024-11-08 18:51:09,080 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/f0448d91-8368-4482-b4f8-3584ceed2682 2024-11-08 18:51:09,092 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 18:51:09,092 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682 2024-11-08 18:51:09,112 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcd6a4c7-8a04-4833-be7e-491ce3923502 2024-11-08 18:51:09,146 - INFO - Verified VN network id 8 for VN fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682 2024-11-08 18:51:09,146 - INFO - Verifications in API Server for VN ctest-vn-84536446 passed 2024-11-08 18:51:09,146 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682 2024-11-08 18:51:09,168 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcd6a4c7-8a04-4833-be7e-491ce3923502 2024-11-08 18:51:09,180 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcd6a4c7-8a04-4833-be7e-491ce3923502 2024-11-08 18:51:09,192 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/f0448d91-8368-4482-b4f8-3584ceed2682 2024-11-08 18:51:09,211 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-84536446', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18196375', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18214459257643027768', 'uuid-lslong': '12961865716725032578'}, 'enable': 'true', 'created': '2024-11-08T18:51:06', 'last-modified': '2024-11-08T18:51:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.211735'} 2024-11-08 18:51:09,220 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 18:51:09,220 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84536446 passed 2024-11-08 18:51:09,220 - DEBUG - ====Verifying policy data for ctest-vn-84536446 in API_Server ====== 2024-11-08 18:51:09,220 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:51:09,229 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:51:09,248 - DEBUG - Requesting: http://10.0.0.12:8082/project/62712bfd-9533-4335-8171-880b472385bb 2024-11-08 18:51:09,346 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fcc6c230-c3a3-4d38-b3e1-cc31c7b5a682 2024-11-08 18:51:09,366 - DEBUG - ==>Verifying data for policy with id: 44302712-422b-4378-9eea-645021243b0a, fqn: ['default-domain', 'ctest-TestBasicPolicy-18196375', 'ctest-policy-allow-all-31096461'] 2024-11-08 18:51:09,366 - INFO - VN ctest-vn-84536446 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-08 18:51:09,367 - DEBUG - Verifying the vn in opserver 2024-11-08 18:51:09,367 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-84536446 virtual network link through opserver 10.0.0.12 2024-11-08 18:51:09,367 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2024-11-08 18:51:09,687 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2024-11-08 18:51:09,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-84536446', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-84536446?flat'} 2024-11-08 18:51:09,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-84536446 is found in opserver 2024-11-08 18:51:09,796 - DEBUG - Do not have enough data to verify VN in agent 2024-11-08 18:51:09,803 - DEBUG - VRF ids for VN ctest-vn-84536446: {} 2024-11-08 18:51:09,803 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:51:09,811 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:51:09,828 - DEBUG - Requesting: http://10.0.0.12:8082/project/62712bfd-9533-4335-8171-880b472385bb 2024-11-08 18:51:09,919 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99a5be96-88a3-425e-9a2b-9720a518619a 2024-11-08 18:51:09,948 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99a5be96-88a3-425e-9a2b-9720a518619a 2024-11-08 18:51:09,970 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/73cff73b-43ac-4e5b-877d-0031c47e4b75 2024-11-08 18:51:09,982 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/73cff73b-43ac-4e5b-877d-0031c47e4b75 2024-11-08 18:51:09,994 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/2d9e8426-bf96-4aad-8d0a-0d01e0806054 2024-11-08 18:51:10,003 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-08 18:51:10,003 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99a5be96-88a3-425e-9a2b-9720a518619a 2024-11-08 18:51:10,021 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/73cff73b-43ac-4e5b-877d-0031c47e4b75 2024-11-08 18:51:10,045 - INFO - Verified VN network id 9 for VN 99a5be96-88a3-425e-9a2b-9720a518619a 2024-11-08 18:51:10,045 - INFO - Verifications in API Server for VN ctest-vn-38159972 passed 2024-11-08 18:51:10,045 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99a5be96-88a3-425e-9a2b-9720a518619a 2024-11-08 18:51:10,062 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/73cff73b-43ac-4e5b-877d-0031c47e4b75 2024-11-08 18:51:10,073 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/73cff73b-43ac-4e5b-877d-0031c47e4b75 2024-11-08 18:51:10,085 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/2d9e8426-bf96-4aad-8d0a-0d01e0806054 2024-11-08 18:51:10,101 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-38159972', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18196375', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11071464812707005022', 'uuid-lslong': '11109139072304046490'}, 'enable': 'true', 'created': '2024-11-08T18:51:07', 'last-modified': '2024-11-08T18:51:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.820542'} 2024-11-08 18:51:10,115 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-08 18:51:10,115 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38159972 passed 2024-11-08 18:51:10,116 - DEBUG - ====Verifying policy data for ctest-vn-38159972 in API_Server ====== 2024-11-08 18:51:10,116 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:51:10,125 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:51:10,141 - DEBUG - Requesting: http://10.0.0.12:8082/project/62712bfd-9533-4335-8171-880b472385bb 2024-11-08 18:51:10,236 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99a5be96-88a3-425e-9a2b-9720a518619a 2024-11-08 18:51:10,253 - DEBUG - ==>Verifying data for policy with id: 44302712-422b-4378-9eea-645021243b0a, fqn: ['default-domain', 'ctest-TestBasicPolicy-18196375', 'ctest-policy-allow-all-31096461'] 2024-11-08 18:51:10,253 - INFO - VN ctest-vn-38159972 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-08 18:51:10,253 - DEBUG - Verifying the vn in opserver 2024-11-08 18:51:10,253 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-38159972 virtual network link through opserver 10.0.0.12 2024-11-08 18:51:10,253 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2024-11-08 18:51:10,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-38159972', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-38159972?flat'} 2024-11-08 18:51:10,268 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-38159972 is found in opserver 2024-11-08 18:51:10,283 - DEBUG - Do not have enough data to verify VN in agent 2024-11-08 18:51:10,289 - DEBUG - VRF ids for VN ctest-vn-38159972: {} 2024-11-08 18:51:10,355 - DEBUG - Services list from nova: [, , ] 2024-11-08 18:51:11,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1) 2024-11-08 18:51:12,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1) 2024-11-08 18:51:12,964 - INFO - Waiting for VM ctest-TestBasicPolicy-18196375-09839935 to be up.. 2024-11-08 18:51:13,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 18:51:18,192 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:51:18,192 - INFO - VM name : ctest-TestBasicPolicy-18196375-09839935 2024-11-08 18:51:18,303 - DEBUG - VM ctest-TestBasicPolicy-18196375-09839935 ID is b16a9f11-2769-4b90-8226-d512511139a7 2024-11-08 18:51:18,331 - DEBUG - VM ctest-TestBasicPolicy-18196375-09839935 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1 2024-11-08 18:51:18,452 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/b16a9f11-2769-4b90-8226-d512511139a7 2024-11-08 18:51:18,471 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/80421ebc-1e09-4904-a9da-5a160ac073cb 2024-11-08 18:51:21,750 - 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 1001ms') 2024-11-08 18:51:21,751 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18196375-09839935 failed! 2024-11-08 18:51:21,819 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18196375:ctest-vn-84536446 is 2.209.245.65 and allocation pool is NOT set 2024-11-08 18:51:23,888 - 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=8.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.03 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 = 4.025/6.509/8.993/2.484 ms') 2024-11-08 18:51:23,888 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18196375-09839935 passed 2024-11-08 18:51:24,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:51:24,081 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18196375-09839935, IP 2.209.245.67, Port 22 2024-11-08 18:51:24,246 - DEBUG - VM ctest-TestBasicPolicy-18196375-09839935 is ready for SSH connections 2024-11-08 18:51:24,247 - INFO - Waiting for VM ctest-TestBasicPolicy-18196375-94385004 to be up.. 2024-11-08 18:51:24,339 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:51:24,339 - INFO - VM name : ctest-TestBasicPolicy-18196375-94385004 2024-11-08 18:51:24,451 - DEBUG - VM ctest-TestBasicPolicy-18196375-94385004 ID is de06a865-f782-4ccb-b960-4cc7d2d57f6c 2024-11-08 18:51:24,451 - DEBUG - VM ctest-TestBasicPolicy-18196375-94385004 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1 2024-11-08 18:51:24,576 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/de06a865-f782-4ccb-b960-4cc7d2d57f6c 2024-11-08 18:51:24,599 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6403c2ba-d01e-4a41-89f2-841c112c397a 2024-11-08 18:51:25,881 - 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=5.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.47 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 = 1.471/3.359/5.248/1.888 ms') 2024-11-08 18:51:25,881 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18196375-94385004 passed 2024-11-08 18:51:26,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:51:26,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18196375-94385004, IP 164.222.175.131, Port 22 2024-11-08 18:51:26,225 - DEBUG - VM ctest-TestBasicPolicy-18196375-94385004 is ready for SSH connections 2024-11-08 18:51:26,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:51:26,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.222.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-11-08 18:51:26,226 - DEBUG - ping -s 56 -c 3 -W 1 164.222.175.131 2024-11-08 18:51:30,383 - DEBUG - PING 164.222.175.131 (164.222.175.131): 56 data bytes 64 bytes from 164.222.175.131: seq=0 ttl=63 time=4.462 ms 64 bytes from 164.222.175.131: seq=1 ttl=63 time=1.002 ms 64 bytes from 164.222.175.131: seq=2 ttl=63 time=0.841 ms --- 164.222.175.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.841/2.101/4.462 ms 2024-11-08 18:51:30,383 - INFO - Ping to IP 164.222.175.131 from VM ctest-TestBasicPolicy-18196375-09839935 passed 2024-11-08 18:51:30,595 - DEBUG - Policy Update Response {"network-policy": {"uuid": "44302712-422b-4378-9eea-645021243b0a", "href": "http://10.0.0.12:8082/network-policy/44302712-422b-4378-9eea-645021243b0a"}} 2024-11-08 18:51:30,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:51:30,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.222.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-11-08 18:51:30,596 - DEBUG - ping -s 56 -c 3 -W 1 164.222.175.131 2024-11-08 18:51:33,841 - DEBUG - PING 164.222.175.131 (164.222.175.131): 56 data bytes --- 164.222.175.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-08 18:51:33,841 - WARNING - Ping to IP 164.222.175.131 from VM ctest-TestBasicPolicy-18196375-09839935 failed 2024-11-08 18:51:33,842 - INFO - Deleting VM ctest-TestBasicPolicy-18196375-94385004 2024-11-08 18:51:33,920 - INFO - Deleting VM ctest-TestBasicPolicy-18196375-09839935 2024-11-08 18:51:34,530 - INFO - Deleted policy ctest-policy-allow-all-31096461 2024-11-08 18:51:34,530 - INFO - Deleting VN ctest-vn-38159972 2024-11-08 18:51:34,594 - DEBUG - VN 99a5be96-88a3-425e-9a2b-9720a518619a still in use: Unable to complete operation on network 99a5be96-88a3-425e-9a2b-9720a518619a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c4e0ae1-5f48-4147-be54-a4b57e4f171c'] 2024-11-08 18:51:34,595 - WARNING - Deleting VN ctest-vn-38159972 failed..Will retry 2024-11-08 18:51:36,724 - DEBUG - Response for deleting network () 2024-11-08 18:51:36,725 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/73cff73b-43ac-4e5b-877d-0031c47e4b75 2024-11-08 18:51:36,737 - DEBUG - Response Code: 404 2024-11-08 18:51:36,737 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:51:36,744 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:51:36,809 - DEBUG - Requesting: http://10.0.0.12:8082/project/62712bfd-9533-4335-8171-880b472385bb 2024-11-08 18:51:36,911 - INFO - Validated that VN ctest-vn-38159972 is not found in API Server 2024-11-08 18:51:36,923 - DEBUG - VN ctest-vn-38159972 is not present in Agent 10.0.0.12 2024-11-08 18:51:36,923 - INFO - Validated that VN ctest-vn-38159972 is not in any agent 2024-11-08 18:51:36,942 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38159972 info 2024-11-08 18:51:36,943 - INFO - Deleting VN ctest-vn-84536446 2024-11-08 18:51:37,068 - DEBUG - Response for deleting network () 2024-11-08 18:51:37,068 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcd6a4c7-8a04-4833-be7e-491ce3923502 2024-11-08 18:51:37,076 - DEBUG - Response Code: 404 2024-11-08 18:51:37,076 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:51:37,084 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:51:37,143 - DEBUG - Requesting: http://10.0.0.12:8082/project/62712bfd-9533-4335-8171-880b472385bb 2024-11-08 18:51:37,235 - INFO - Validated that VN ctest-vn-84536446 is not found in API Server 2024-11-08 18:51:37,248 - DEBUG - VN ctest-vn-84536446 is not present in Agent 10.0.0.12 2024-11-08 18:51:37,248 - INFO - Validated that VN ctest-vn-84536446 is not in any agent 2024-11-08 18:51:37,275 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84536446 info 2024-11-08 18:51:37,558 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 18:51:37,558 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-11-08 18:51:37,559 - INFO - -------------------------------------------------------------------------------- 2024-11-08 18:51:38,346 - INFO - Deleted project: ctest-TestBasicPolicy-18196375, ID : 62712bfd-9533-4335-8171-880b472385bb