2024-12-23 20:30:24,141 - INFO - Domain Default found not creating 2024-12-23 20:30:24,302 - INFO - Project ctest-TestBasicPolicy-28911465 not found, creating it 2024-12-23 20:30:24,769 - INFO - Created Project:ctest-TestBasicPolicy-28911465, ID : b57d073d-162d-4edd-9672-895476ddc8d7 2024-12-23 20:30:26,251 - INFO - ================================================================================ 2024-12-23 20:30:26,251 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-12-23 20:30:26,251 - 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 20:30:26,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.6': '0'}} with 2024-12-23 20:30:26,513 - INFO - Initial checks done. Running the testcase now 2024-12-23 20:30:26,513 - INFO - 2024-12-23 20:30:27,118 - DEBUG - Response for create_network : {'network': {'id': '80945180-baf9-4667-8bb0-ff3f921634a3', 'name': 'ctest-vn-87949819', 'tenant_id': 'b57d073d162d4edd9672895476ddc8d7', 'project_id': 'b57d073d162d4edd9672895476ddc8d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28911465', 'ctest-vn-87949819'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 20:30:27,307 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2f3e237-3236-4a37-8576-7ebdb1da17bb', 'name': '', 'tenant_id': 'b57d073d162d4edd9672895476ddc8d7', 'network_id': '80945180-baf9-4667-8bb0-ff3f921634a3', 'ip_version': 4, 'cidr': '151.252.68.0/26', 'allocation_pools': [{'start': '151.252.68.2', 'end': '151.252.68.62'}], 'gateway_ip': '151.252.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.252.68.2', 'tags': [], 'project_id': 'b57d073d162d4edd9672895476ddc8d7'}} 2024-12-23 20:30:27,328 - INFO - Created VN ctest-vn-87949819 2024-12-23 20:30:27,381 - DEBUG - VN ctest-vn-87949819 UUID is 80945180-baf9-4667-8bb0-ff3f921634a3 2024-12-23 20:30:27,687 - DEBUG - Response for create_network : {'network': {'id': 'f4080c78-14f3-4101-b225-9dd2f5154f18', 'name': 'ctest-vn-86693867', 'tenant_id': 'b57d073d162d4edd9672895476ddc8d7', 'project_id': 'b57d073d162d4edd9672895476ddc8d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28911465', 'ctest-vn-86693867'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 20:30:27,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '97d20192-4fc6-4df5-9709-53cf808a80e0', 'name': '', 'tenant_id': 'b57d073d162d4edd9672895476ddc8d7', 'network_id': 'f4080c78-14f3-4101-b225-9dd2f5154f18', 'ip_version': 4, 'cidr': '4.42.51.128/26', 'allocation_pools': [{'start': '4.42.51.130', 'end': '4.42.51.190'}], 'gateway_ip': '4.42.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.42.51.130', 'tags': [], 'project_id': 'b57d073d162d4edd9672895476ddc8d7'}} 2024-12-23 20:30:27,881 - INFO - Created VN ctest-vn-86693867 2024-12-23 20:30:27,932 - DEBUG - VN ctest-vn-86693867 UUID is f4080c78-14f3-4101-b225-9dd2f5154f18 2024-12-23 20:30:28,050 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-87949819, 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-28911465:ctest-vn-86693867, 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 20:30:28,357 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80945180-baf9-4667-8bb0-ff3f921634a3', 'name': 'ctest-vn-87949819', 'tenant_id': 'b57d073d162d4edd9672895476ddc8d7', 'project_id': 'b57d073d162d4edd9672895476ddc8d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2f3e237-3236-4a37-8576-7ebdb1da17bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28911465', 'ctest-vn-87949819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28911465', 'ctest-policy-allow-all-69949262']], 'subnet_ipam': [{'subnet_cidr': '151.252.68.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-23 20:30:28,599 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4080c78-14f3-4101-b225-9dd2f5154f18', 'name': 'ctest-vn-86693867', 'tenant_id': 'b57d073d162d4edd9672895476ddc8d7', 'project_id': 'b57d073d162d4edd9672895476ddc8d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97d20192-4fc6-4df5-9709-53cf808a80e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28911465', 'ctest-vn-86693867'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28911465', 'ctest-policy-allow-all-69949262']], 'subnet_ipam': [{'subnet_cidr': '4.42.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-23 20:30:28,749 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-23 20:30:29,064 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-23 20:30:29,097 - DEBUG - Requesting: http://10.0.0.24:8082/domain/20cb5b83-b7f4-43ae-9091-6401c42ad226 2024-12-23 20:30:29,113 - DEBUG - Requesting: http://10.0.0.24:8082/project/b57d073d-162d-4edd-9672-895476ddc8d7 2024-12-23 20:30:29,198 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/80945180-baf9-4667-8bb0-ff3f921634a3 2024-12-23 20:30:29,210 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/80945180-baf9-4667-8bb0-ff3f921634a3 2024-12-23 20:30:29,223 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/00ec6765-750d-462b-85c5-1d19e63e14e3 2024-12-23 20:30:29,232 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/00ec6765-750d-462b-85c5-1d19e63e14e3 2024-12-23 20:30:29,240 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/b85b81b4-ee0f-4b15-8eb7-84f7f5e1dfcd 2024-12-23 20:30:29,247 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-23 20:30:29,248 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/80945180-baf9-4667-8bb0-ff3f921634a3 2024-12-23 20:30:29,257 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/00ec6765-750d-462b-85c5-1d19e63e14e3 2024-12-23 20:30:29,272 - INFO - Verified VN network id 8 for VN 80945180-baf9-4667-8bb0-ff3f921634a3 2024-12-23 20:30:29,272 - INFO - Verifications in API Server for VN ctest-vn-87949819 passed 2024-12-23 20:30:29,272 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/80945180-baf9-4667-8bb0-ff3f921634a3 2024-12-23 20:30:29,285 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/00ec6765-750d-462b-85c5-1d19e63e14e3 2024-12-23 20:30:29,292 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/00ec6765-750d-462b-85c5-1d19e63e14e3 2024-12-23 20:30:29,300 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/b85b81b4-ee0f-4b15-8eb7-84f7f5e1dfcd 2024-12-23 20:30:29,313 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-87949819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28911465', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9265119946742515303', 'uuid-lslong': '10065825815672009891'}, 'enable': 'true', 'created': '2024-12-23T20:30:27', 'last-modified': '2024-12-23T20:30:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982957'} 2024-12-23 20:30:29,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-23 20:30:29,320 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87949819 passed 2024-12-23 20:30:29,320 - DEBUG - ====Verifying policy data for ctest-vn-87949819 in API_Server ====== 2024-12-23 20:30:29,321 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-23 20:30:29,327 - DEBUG - Requesting: http://10.0.0.24:8082/domain/20cb5b83-b7f4-43ae-9091-6401c42ad226 2024-12-23 20:30:29,339 - DEBUG - Requesting: http://10.0.0.24:8082/project/b57d073d-162d-4edd-9672-895476ddc8d7 2024-12-23 20:30:29,413 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/80945180-baf9-4667-8bb0-ff3f921634a3 2024-12-23 20:30:29,424 - DEBUG - ==>Verifying data for policy with id: 4f5d2ef9-9b2f-42f5-846e-b862b21ad6a3, fqn: ['default-domain', 'ctest-TestBasicPolicy-28911465', 'ctest-policy-allow-all-69949262'] 2024-12-23 20:30:29,424 - INFO - VN ctest-vn-87949819 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-23 20:30:29,424 - DEBUG - Verifying the vn in opserver 2024-12-23 20:30:29,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-87949819 virtual network link through opserver 10.0.0.24 2024-12-23 20:30:29,425 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-12-23 20:30:29,723 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-12-23 20:30:29,787 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-87949819', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-87949819?flat'} 2024-12-23 20:30:29,787 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-87949819 is found in opserver 2024-12-23 20:30:29,799 - DEBUG - Do not have enough data to verify VN in agent 2024-12-23 20:30:29,805 - DEBUG - VRF ids for VN ctest-vn-87949819: {} 2024-12-23 20:30:29,805 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-23 20:30:29,811 - DEBUG - Requesting: http://10.0.0.24:8082/domain/20cb5b83-b7f4-43ae-9091-6401c42ad226 2024-12-23 20:30:29,823 - DEBUG - Requesting: http://10.0.0.24:8082/project/b57d073d-162d-4edd-9672-895476ddc8d7 2024-12-23 20:30:29,895 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f4080c78-14f3-4101-b225-9dd2f5154f18 2024-12-23 20:30:29,908 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f4080c78-14f3-4101-b225-9dd2f5154f18 2024-12-23 20:30:29,918 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed7ebbc5-f654-4ad6-a251-f8003333004c 2024-12-23 20:30:29,927 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed7ebbc5-f654-4ad6-a251-f8003333004c 2024-12-23 20:30:29,936 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/96ec55e1-a3dd-4cf0-a989-d8bdf2ed8193 2024-12-23 20:30:29,952 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-23 20:30:29,952 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f4080c78-14f3-4101-b225-9dd2f5154f18 2024-12-23 20:30:29,962 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed7ebbc5-f654-4ad6-a251-f8003333004c 2024-12-23 20:30:29,977 - INFO - Verified VN network id 9 for VN f4080c78-14f3-4101-b225-9dd2f5154f18 2024-12-23 20:30:29,978 - INFO - Verifications in API Server for VN ctest-vn-86693867 passed 2024-12-23 20:30:29,978 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f4080c78-14f3-4101-b225-9dd2f5154f18 2024-12-23 20:30:29,989 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed7ebbc5-f654-4ad6-a251-f8003333004c 2024-12-23 20:30:29,997 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed7ebbc5-f654-4ad6-a251-f8003333004c 2024-12-23 20:30:30,006 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/96ec55e1-a3dd-4cf0-a989-d8bdf2ed8193 2024-12-23 20:30:30,020 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-86693867', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28911465', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17584318454955196673', 'uuid-lslong': '12836839842269974296'}, 'enable': 'true', 'created': '2024-12-23T20:30:27', 'last-modified': '2024-12-23T20:30:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.442997'} 2024-12-23 20:30:30,028 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-23 20:30:30,028 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86693867 passed 2024-12-23 20:30:30,028 - DEBUG - ====Verifying policy data for ctest-vn-86693867 in API_Server ====== 2024-12-23 20:30:30,028 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-23 20:30:30,035 - DEBUG - Requesting: http://10.0.0.24:8082/domain/20cb5b83-b7f4-43ae-9091-6401c42ad226 2024-12-23 20:30:30,047 - DEBUG - Requesting: http://10.0.0.24:8082/project/b57d073d-162d-4edd-9672-895476ddc8d7 2024-12-23 20:30:30,127 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f4080c78-14f3-4101-b225-9dd2f5154f18 2024-12-23 20:30:30,138 - DEBUG - ==>Verifying data for policy with id: 4f5d2ef9-9b2f-42f5-846e-b862b21ad6a3, fqn: ['default-domain', 'ctest-TestBasicPolicy-28911465', 'ctest-policy-allow-all-69949262'] 2024-12-23 20:30:30,138 - INFO - VN ctest-vn-86693867 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-23 20:30:30,138 - DEBUG - Verifying the vn in opserver 2024-12-23 20:30:30,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-86693867 virtual network link through opserver 10.0.0.24 2024-12-23 20:30:30,138 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-12-23 20:30:30,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-86693867', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-86693867?flat'} 2024-12-23 20:30:30,150 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-86693867 is found in opserver 2024-12-23 20:30:30,162 - DEBUG - Do not have enough data to verify VN in agent 2024-12-23 20:30:30,167 - DEBUG - VRF ids for VN ctest-vn-86693867: {} 2024-12-23 20:30:30,222 - DEBUG - Services list from nova: [, , ] 2024-12-23 20:30:31,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2492-1) 2024-12-23 20:30:32,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2492-1) 2024-12-23 20:30:32,546 - INFO - Waiting for VM ctest-TestBasicPolicy-28911465-16856828 to be up.. 2024-12-23 20:30:32,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-23 20:30:37,740 - DEBUG - VM is in ACTIVE state now 2024-12-23 20:30:37,740 - INFO - VM name : ctest-TestBasicPolicy-28911465-16856828 2024-12-23 20:30:37,818 - DEBUG - VM ctest-TestBasicPolicy-28911465-16856828 ID is 780ded72-56bd-4d99-9c0d-0ef614428ed9 2024-12-23 20:30:37,837 - DEBUG - VM ctest-TestBasicPolicy-28911465-16856828 launched on Node cn-jenkins-deploy-platform-ansible-os-2492-1 2024-12-23 20:30:37,938 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/780ded72-56bd-4d99-9c0d-0ef614428ed9 2024-12-23 20:30:37,947 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/91787dac-d3b5-482a-a97f-554a6ba32931 2024-12-23 20:30:41,214 - 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') 2024-12-23 20:30:41,214 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28911465-16856828 failed! 2024-12-23 20:30:41,269 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28911465:ctest-vn-87949819 is 151.252.68.1 and allocation pool is NOT set 2024-12-23 20:30:43,338 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.520 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.520/5.805/11.090/5.285 ms') 2024-12-23 20:30:43,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28911465-16856828 passed 2024-12-23 20:30:43,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 20:30:43,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28911465-16856828, IP 151.252.68.3, Port 22 2024-12-23 20:30:43,667 - DEBUG - VM ctest-TestBasicPolicy-28911465-16856828 is ready for SSH connections 2024-12-23 20:30:43,667 - INFO - Waiting for VM ctest-TestBasicPolicy-28911465-36975124 to be up.. 2024-12-23 20:30:43,764 - DEBUG - VM is in ACTIVE state now 2024-12-23 20:30:43,764 - INFO - VM name : ctest-TestBasicPolicy-28911465-36975124 2024-12-23 20:30:43,847 - DEBUG - VM ctest-TestBasicPolicy-28911465-36975124 ID is 34406588-0943-45b4-bf5f-98542096678e 2024-12-23 20:30:43,847 - DEBUG - VM ctest-TestBasicPolicy-28911465-36975124 launched on Node cn-jenkins-deploy-platform-ansible-os-2492-1 2024-12-23 20:30:43,933 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/34406588-0943-45b4-bf5f-98542096678e 2024-12-23 20:30:43,943 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/d37a14b6-8eb1-44ef-95af-3c46b85c74fc 2024-12-23 20:30:45,189 - 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=3.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.939/3.481/1.542 ms') 2024-12-23 20:30:45,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28911465-36975124 passed 2024-12-23 20:30:45,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 20:30:45,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28911465-36975124, IP 4.42.51.131, Port 22 2024-12-23 20:30:45,501 - DEBUG - VM ctest-TestBasicPolicy-28911465-36975124 is ready for SSH connections 2024-12-23 20:30:45,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 20:30:45,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.42.51.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-12-23 20:30:45,502 - DEBUG - ping -s 56 -c 3 -W 1 4.42.51.131 2024-12-23 20:30:49,532 - DEBUG - PING 4.42.51.131 (4.42.51.131): 56 data bytes 64 bytes from 4.42.51.131: seq=0 ttl=63 time=3.972 ms 64 bytes from 4.42.51.131: seq=1 ttl=63 time=1.085 ms 64 bytes from 4.42.51.131: seq=2 ttl=63 time=1.826 ms --- 4.42.51.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.085/2.294/3.972 ms 2024-12-23 20:30:49,532 - INFO - Ping to IP 4.42.51.131 from VM ctest-TestBasicPolicy-28911465-16856828 passed 2024-12-23 20:30:49,732 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4f5d2ef9-9b2f-42f5-846e-b862b21ad6a3", "href": "http://10.0.0.24:8082/network-policy/4f5d2ef9-9b2f-42f5-846e-b862b21ad6a3"}} 2024-12-23 20:30:49,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 20:30:49,733 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.42.51.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-12-23 20:30:49,733 - DEBUG - ping -s 56 -c 3 -W 1 4.42.51.131 2024-12-23 20:30:52,942 - DEBUG - PING 4.42.51.131 (4.42.51.131): 56 data bytes 64 bytes from 4.42.51.131: seq=0 ttl=63 time=1.745 ms --- 4.42.51.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.745/1.745/1.745 ms 2024-12-23 20:30:52,942 - WARNING - Ping to IP 4.42.51.131 from VM ctest-TestBasicPolicy-28911465-16856828 failed 2024-12-23 20:30:52,942 - INFO - Deleting VM ctest-TestBasicPolicy-28911465-36975124 2024-12-23 20:30:53,016 - INFO - Deleting VM ctest-TestBasicPolicy-28911465-16856828 2024-12-23 20:30:53,454 - INFO - Deleted policy ctest-policy-allow-all-69949262 2024-12-23 20:30:53,454 - INFO - Deleting VN ctest-vn-86693867 2024-12-23 20:30:53,493 - DEBUG - VN f4080c78-14f3-4101-b225-9dd2f5154f18 still in use: Unable to complete operation on network f4080c78-14f3-4101-b225-9dd2f5154f18. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0f7e5dd-9471-4478-9e92-be1d0f8f2264'] 2024-12-23 20:30:53,493 - WARNING - Deleting VN ctest-vn-86693867 failed..Will retry 2024-12-23 20:30:55,599 - DEBUG - Response for deleting network () 2024-12-23 20:30:55,599 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ed7ebbc5-f654-4ad6-a251-f8003333004c 2024-12-23 20:30:55,606 - DEBUG - Response Code: 404 2024-12-23 20:30:55,606 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-23 20:30:55,612 - DEBUG - Requesting: http://10.0.0.24:8082/domain/20cb5b83-b7f4-43ae-9091-6401c42ad226 2024-12-23 20:30:55,666 - DEBUG - Requesting: http://10.0.0.24:8082/project/b57d073d-162d-4edd-9672-895476ddc8d7 2024-12-23 20:30:55,741 - INFO - Validated that VN ctest-vn-86693867 is not found in API Server 2024-12-23 20:30:55,754 - DEBUG - VN ctest-vn-86693867 is not present in Agent 10.0.0.24 2024-12-23 20:30:55,754 - INFO - Validated that VN ctest-vn-86693867 is not in any agent 2024-12-23 20:30:55,770 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86693867 info 2024-12-23 20:30:55,770 - INFO - Deleting VN ctest-vn-87949819 2024-12-23 20:30:55,918 - DEBUG - Response for deleting network () 2024-12-23 20:30:55,918 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/00ec6765-750d-462b-85c5-1d19e63e14e3 2024-12-23 20:30:55,923 - DEBUG - Response Code: 404 2024-12-23 20:30:55,924 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-12-23 20:30:55,932 - DEBUG - Requesting: http://10.0.0.24:8082/domain/20cb5b83-b7f4-43ae-9091-6401c42ad226 2024-12-23 20:30:55,991 - DEBUG - Requesting: http://10.0.0.24:8082/project/b57d073d-162d-4edd-9672-895476ddc8d7 2024-12-23 20:30:56,073 - INFO - Validated that VN ctest-vn-87949819 is not found in API Server 2024-12-23 20:30:56,085 - DEBUG - VN ctest-vn-87949819 is not present in Agent 10.0.0.24 2024-12-23 20:30:56,085 - INFO - Validated that VN ctest-vn-87949819 is not in any agent 2024-12-23 20:30:56,101 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87949819 info 2024-12-23 20:30:56,359 - DEBUG - No XMPP flaps were noticed during the test 2024-12-23 20:30:56,359 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-12-23 20:30:56,359 - INFO - -------------------------------------------------------------------------------- 2024-12-23 20:30:57,051 - INFO - Deleted project: ctest-TestBasicPolicy-28911465, ID : b57d073d-162d-4edd-9672-895476ddc8d7