2024-09-09 21:07:08,184 - INFO - Domain Default found not creating 2024-09-09 21:07:08,344 - INFO - Project ctest-TestBasicPolicy-06030214 not found, creating it 2024-09-09 21:07:08,812 - INFO - Created Project:ctest-TestBasicPolicy-06030214, ID : bd60b183-6ec9-46d4-9bfa-7aae8879a739 2024-09-09 21:07:10,320 - INFO - ================================================================================ 2024-09-09 21:07:10,321 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-09 21:07:10,321 - 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-09-09 21:07:10,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.27': '0'}} with 2024-09-09 21:07:10,582 - INFO - Initial checks done. Running the testcase now 2024-09-09 21:07:10,582 - INFO - 2024-09-09 21:07:11,134 - DEBUG - Response for create_network : {'network': {'id': '040f0162-bd7d-4995-b8d1-9644592cc10a', 'name': 'ctest-vn-03522995', 'tenant_id': 'bd60b1836ec946d49bfa7aae8879a739', 'project_id': 'bd60b1836ec946d49bfa7aae8879a739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06030214', 'ctest-vn-03522995'], 'port_security_enabled': True, 'description': ''}} 2024-09-09 21:07:11,288 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abf9c6ce-b9cf-434c-b3e1-fc8b84bacd00', 'name': '', 'tenant_id': 'bd60b1836ec946d49bfa7aae8879a739', 'network_id': '040f0162-bd7d-4995-b8d1-9644592cc10a', 'ip_version': 4, 'cidr': '187.141.0.128/26', 'allocation_pools': [{'start': '187.141.0.130', 'end': '187.141.0.190'}], 'gateway_ip': '187.141.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.141.0.130', 'tags': [], 'project_id': 'bd60b1836ec946d49bfa7aae8879a739'}} 2024-09-09 21:07:11,313 - INFO - Created VN ctest-vn-03522995 2024-09-09 21:07:11,364 - DEBUG - VN ctest-vn-03522995 UUID is 040f0162-bd7d-4995-b8d1-9644592cc10a 2024-09-09 21:07:11,647 - DEBUG - Response for create_network : {'network': {'id': 'be331dfb-5ecb-49fe-a5a4-c83ae925acc0', 'name': 'ctest-vn-36376516', 'tenant_id': 'bd60b1836ec946d49bfa7aae8879a739', 'project_id': 'bd60b1836ec946d49bfa7aae8879a739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06030214', 'ctest-vn-36376516'], 'port_security_enabled': True, 'description': ''}} 2024-09-09 21:07:11,881 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1c53e4f-122c-4631-b07d-5b4140b64906', 'name': '', 'tenant_id': 'bd60b1836ec946d49bfa7aae8879a739', 'network_id': 'be331dfb-5ecb-49fe-a5a4-c83ae925acc0', 'ip_version': 4, 'cidr': '196.140.198.192/26', 'allocation_pools': [{'start': '196.140.198.194', 'end': '196.140.198.254'}], 'gateway_ip': '196.140.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.140.198.194', 'tags': [], 'project_id': 'bd60b1836ec946d49bfa7aae8879a739'}} 2024-09-09 21:07:11,905 - INFO - Created VN ctest-vn-36376516 2024-09-09 21:07:11,956 - DEBUG - VN ctest-vn-36376516 UUID is be331dfb-5ecb-49fe-a5a4-c83ae925acc0 2024-09-09 21:07:12,074 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-03522995, 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-06030214:ctest-vn-36376516, 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-09-09 21:07:12,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '040f0162-bd7d-4995-b8d1-9644592cc10a', 'name': 'ctest-vn-03522995', 'tenant_id': 'bd60b1836ec946d49bfa7aae8879a739', 'project_id': 'bd60b1836ec946d49bfa7aae8879a739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['abf9c6ce-b9cf-434c-b3e1-fc8b84bacd00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06030214', 'ctest-vn-03522995'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06030214', 'ctest-policy-allow-all-16748689']], 'subnet_ipam': [{'subnet_cidr': '187.141.0.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-09 21:07:12,583 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be331dfb-5ecb-49fe-a5a4-c83ae925acc0', 'name': 'ctest-vn-36376516', 'tenant_id': 'bd60b1836ec946d49bfa7aae8879a739', 'project_id': 'bd60b1836ec946d49bfa7aae8879a739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1c53e4f-122c-4631-b07d-5b4140b64906'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06030214', 'ctest-vn-36376516'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06030214', 'ctest-policy-allow-all-16748689']], 'subnet_ipam': [{'subnet_cidr': '196.140.198.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-09 21:07:12,732 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-09 21:07:13,034 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-09 21:07:13,065 - DEBUG - Requesting: http://10.0.0.28:8082/domain/1107be02-48ac-4dbd-aa24-a5b89b918443 2024-09-09 21:07:13,081 - DEBUG - Requesting: http://10.0.0.28:8082/project/bd60b183-6ec9-46d4-9bfa-7aae8879a739 2024-09-09 21:07:13,153 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/040f0162-bd7d-4995-b8d1-9644592cc10a 2024-09-09 21:07:13,163 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/040f0162-bd7d-4995-b8d1-9644592cc10a 2024-09-09 21:07:13,171 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cd87d268-1fba-427b-8c7d-259a337bfa7e 2024-09-09 21:07:13,178 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cd87d268-1fba-427b-8c7d-259a337bfa7e 2024-09-09 21:07:13,184 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/d6eb7adc-9188-412f-b66d-9d5c03f5fc02 2024-09-09 21:07:13,190 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-09 21:07:13,190 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/040f0162-bd7d-4995-b8d1-9644592cc10a 2024-09-09 21:07:13,198 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cd87d268-1fba-427b-8c7d-259a337bfa7e 2024-09-09 21:07:13,208 - INFO - Verified VN network id 8 for VN 040f0162-bd7d-4995-b8d1-9644592cc10a 2024-09-09 21:07:13,208 - INFO - Verifications in API Server for VN ctest-vn-03522995 passed 2024-09-09 21:07:13,208 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/040f0162-bd7d-4995-b8d1-9644592cc10a 2024-09-09 21:07:13,217 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cd87d268-1fba-427b-8c7d-259a337bfa7e 2024-09-09 21:07:13,224 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cd87d268-1fba-427b-8c7d-259a337bfa7e 2024-09-09 21:07:13,231 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/d6eb7adc-9188-412f-b66d-9d5c03f5fc02 2024-09-09 21:07:13,241 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-03522995', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06030214', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '292454024399899029', 'uuid-lslong': '13317590793409315082'}, 'enable': 'true', 'created': '2024-09-09T21:07:11', 'last-modified': '2024-09-09T21:07:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907108'} 2024-09-09 21:07:13,248 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-09 21:07:13,248 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03522995 passed 2024-09-09 21:07:13,248 - DEBUG - ====Verifying policy data for ctest-vn-03522995 in API_Server ====== 2024-09-09 21:07:13,248 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-09 21:07:13,257 - DEBUG - Requesting: http://10.0.0.28:8082/domain/1107be02-48ac-4dbd-aa24-a5b89b918443 2024-09-09 21:07:13,269 - DEBUG - Requesting: http://10.0.0.28:8082/project/bd60b183-6ec9-46d4-9bfa-7aae8879a739 2024-09-09 21:07:13,346 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/040f0162-bd7d-4995-b8d1-9644592cc10a 2024-09-09 21:07:13,354 - DEBUG - ==>Verifying data for policy with id: 888f5864-32ae-40d5-bfb1-6153e3c2047e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06030214', 'ctest-policy-allow-all-16748689'] 2024-09-09 21:07:13,355 - INFO - VN ctest-vn-03522995 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-09 21:07:13,355 - DEBUG - Verifying the vn in opserver 2024-09-09 21:07:13,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-03522995 virtual network link through opserver 10.0.0.28 2024-09-09 21:07:13,355 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-09 21:07:13,650 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-09 21:07:13,711 - DEBUG - Response Code: 500 2024-09-09 21:07:16,712 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-03522995 virtual network link through opserver 10.0.0.28 2024-09-09 21:07:16,713 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-09 21:07:16,726 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-03522995', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-03522995?flat'} 2024-09-09 21:07:16,726 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-03522995 is found in opserver 2024-09-09 21:07:16,738 - DEBUG - Do not have enough data to verify VN in agent 2024-09-09 21:07:16,744 - DEBUG - VRF ids for VN ctest-vn-03522995: {} 2024-09-09 21:07:16,744 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-09 21:07:16,750 - DEBUG - Requesting: http://10.0.0.28:8082/domain/1107be02-48ac-4dbd-aa24-a5b89b918443 2024-09-09 21:07:16,763 - DEBUG - Requesting: http://10.0.0.28:8082/project/bd60b183-6ec9-46d4-9bfa-7aae8879a739 2024-09-09 21:07:16,833 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/be331dfb-5ecb-49fe-a5a4-c83ae925acc0 2024-09-09 21:07:16,844 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/be331dfb-5ecb-49fe-a5a4-c83ae925acc0 2024-09-09 21:07:16,852 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/189e75d4-9670-4b74-ae0c-2fb06b977024 2024-09-09 21:07:16,859 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/189e75d4-9670-4b74-ae0c-2fb06b977024 2024-09-09 21:07:16,865 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/8a2fdd53-f5e9-44c7-a65c-7985f2d99f44 2024-09-09 21:07:16,871 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-09 21:07:16,871 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/be331dfb-5ecb-49fe-a5a4-c83ae925acc0 2024-09-09 21:07:16,878 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/189e75d4-9670-4b74-ae0c-2fb06b977024 2024-09-09 21:07:16,890 - INFO - Verified VN network id 9 for VN be331dfb-5ecb-49fe-a5a4-c83ae925acc0 2024-09-09 21:07:16,890 - INFO - Verifications in API Server for VN ctest-vn-36376516 passed 2024-09-09 21:07:16,890 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/be331dfb-5ecb-49fe-a5a4-c83ae925acc0 2024-09-09 21:07:16,897 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/189e75d4-9670-4b74-ae0c-2fb06b977024 2024-09-09 21:07:16,903 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/189e75d4-9670-4b74-ae0c-2fb06b977024 2024-09-09 21:07:16,910 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/8a2fdd53-f5e9-44c7-a65c-7985f2d99f44 2024-09-09 21:07:16,921 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-36376516', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06030214', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13705331056482929150', 'uuid-lslong': '11935885067783875776'}, 'enable': 'true', 'created': '2024-09-09T21:07:11', 'last-modified': '2024-09-09T21:07:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.360188'} 2024-09-09 21:07:16,928 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-09 21:07:16,928 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36376516 passed 2024-09-09 21:07:16,928 - DEBUG - ====Verifying policy data for ctest-vn-36376516 in API_Server ====== 2024-09-09 21:07:16,929 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-09 21:07:16,935 - DEBUG - Requesting: http://10.0.0.28:8082/domain/1107be02-48ac-4dbd-aa24-a5b89b918443 2024-09-09 21:07:16,948 - DEBUG - Requesting: http://10.0.0.28:8082/project/bd60b183-6ec9-46d4-9bfa-7aae8879a739 2024-09-09 21:07:17,019 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/be331dfb-5ecb-49fe-a5a4-c83ae925acc0 2024-09-09 21:07:17,028 - DEBUG - ==>Verifying data for policy with id: 888f5864-32ae-40d5-bfb1-6153e3c2047e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06030214', 'ctest-policy-allow-all-16748689'] 2024-09-09 21:07:17,028 - INFO - VN ctest-vn-36376516 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-09 21:07:17,028 - DEBUG - Verifying the vn in opserver 2024-09-09 21:07:17,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-36376516 virtual network link through opserver 10.0.0.28 2024-09-09 21:07:17,028 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-09 21:07:17,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-36376516', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-36376516?flat'} 2024-09-09 21:07:17,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-36376516 is found in opserver 2024-09-09 21:07:17,051 - DEBUG - Do not have enough data to verify VN in agent 2024-09-09 21:07:17,057 - DEBUG - VRF ids for VN ctest-vn-36376516: {} 2024-09-09 21:07:17,126 - DEBUG - Services list from nova: [, , ] 2024-09-09 21:07:18,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1878-1) 2024-09-09 21:07:19,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1878-1) 2024-09-09 21:07:19,561 - INFO - Waiting for VM ctest-TestBasicPolicy-06030214-60722755 to be up.. 2024-09-09 21:07:19,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-09 21:07:24,730 - DEBUG - VM is in ACTIVE state now 2024-09-09 21:07:24,730 - INFO - VM name : ctest-TestBasicPolicy-06030214-60722755 2024-09-09 21:07:24,812 - DEBUG - VM ctest-TestBasicPolicy-06030214-60722755 ID is b11715f8-9028-4304-8cdf-297ba99cd52d 2024-09-09 21:07:24,830 - DEBUG - VM ctest-TestBasicPolicy-06030214-60722755 launched on Node cn-jenkins-deploy-platform-ansible-os-1878-1 2024-09-09 21:07:24,908 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/b11715f8-9028-4304-8cdf-297ba99cd52d 2024-09-09 21:07:24,918 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/97dc4d0d-2629-4055-8828-dcaf05727091 2024-09-09 21:07:28,184 - 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 1027ms') 2024-09-09 21:07:28,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06030214-60722755 failed! 2024-09-09 21:07:28,236 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06030214:ctest-vn-03522995 is 187.141.0.129 and allocation pool is NOT set 2024-09-09 21:07:30,298 - 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=4.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.945/3.027/4.110/1.082 ms') 2024-09-09 21:07:30,298 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06030214-60722755 passed 2024-09-09 21:07:30,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 21:07:30,448 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06030214-60722755, IP 187.141.0.131, Port 22 2024-09-09 21:07:30,614 - DEBUG - VM ctest-TestBasicPolicy-06030214-60722755 is ready for SSH connections 2024-09-09 21:07:30,614 - INFO - Waiting for VM ctest-TestBasicPolicy-06030214-16433222 to be up.. 2024-09-09 21:07:30,702 - DEBUG - VM is in ACTIVE state now 2024-09-09 21:07:30,702 - INFO - VM name : ctest-TestBasicPolicy-06030214-16433222 2024-09-09 21:07:30,785 - DEBUG - VM ctest-TestBasicPolicy-06030214-16433222 ID is a636bc5f-78fe-4231-b41b-2538ccfc5635 2024-09-09 21:07:30,785 - DEBUG - VM ctest-TestBasicPolicy-06030214-16433222 launched on Node cn-jenkins-deploy-platform-ansible-os-1878-1 2024-09-09 21:07:30,865 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/a636bc5f-78fe-4231-b41b-2538ccfc5635 2024-09-09 21:07:30,874 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/7afca2d5-5d1d-4b4a-9f83-be7fa2f5dd8f 2024-09-09 21:07:32,113 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.433/1.834/3.236/1.401 ms') 2024-09-09 21:07:32,113 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06030214-16433222 passed 2024-09-09 21:07:32,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 21:07:32,268 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06030214-16433222, IP 196.140.198.195, Port 22 2024-09-09 21:07:32,423 - DEBUG - VM ctest-TestBasicPolicy-06030214-16433222 is ready for SSH connections 2024-09-09 21:07:32,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 21:07:32,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.140.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-09 21:07:32,423 - DEBUG - ping -s 56 -c 3 -W 1 196.140.198.195 2024-09-09 21:07:36,393 - DEBUG - PING 196.140.198.195 (196.140.198.195): 56 data bytes 64 bytes from 196.140.198.195: seq=0 ttl=63 time=3.873 ms 64 bytes from 196.140.198.195: seq=1 ttl=63 time=1.301 ms 64 bytes from 196.140.198.195: seq=2 ttl=63 time=1.216 ms --- 196.140.198.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.216/2.130/3.873 ms 2024-09-09 21:07:36,393 - INFO - Ping to IP 196.140.198.195 from VM ctest-TestBasicPolicy-06030214-60722755 passed 2024-09-09 21:07:36,580 - DEBUG - Policy Update Response {"network-policy": {"uuid": "888f5864-32ae-40d5-bfb1-6153e3c2047e", "href": "http://10.0.0.28:8082/network-policy/888f5864-32ae-40d5-bfb1-6153e3c2047e"}} 2024-09-09 21:07:36,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 21:07:36,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.140.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-09 21:07:36,580 - DEBUG - ping -s 56 -c 3 -W 1 196.140.198.195 2024-09-09 21:07:39,811 - DEBUG - PING 196.140.198.195 (196.140.198.195): 56 data bytes --- 196.140.198.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-09 21:07:39,811 - WARNING - Ping to IP 196.140.198.195 from VM ctest-TestBasicPolicy-06030214-60722755 failed 2024-09-09 21:07:39,811 - INFO - Deleting VM ctest-TestBasicPolicy-06030214-16433222 2024-09-09 21:07:39,874 - INFO - Deleting VM ctest-TestBasicPolicy-06030214-60722755 2024-09-09 21:07:40,267 - INFO - Deleted policy ctest-policy-allow-all-16748689 2024-09-09 21:07:40,267 - INFO - Deleting VN ctest-vn-36376516 2024-09-09 21:07:40,306 - DEBUG - VN be331dfb-5ecb-49fe-a5a4-c83ae925acc0 still in use: Unable to complete operation on network be331dfb-5ecb-49fe-a5a4-c83ae925acc0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca7db98b-47d6-4ccd-a171-eadbb9f9ce91'] 2024-09-09 21:07:40,306 - WARNING - Deleting VN ctest-vn-36376516 failed..Will retry 2024-09-09 21:07:42,431 - DEBUG - Response for deleting network () 2024-09-09 21:07:42,431 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/189e75d4-9670-4b74-ae0c-2fb06b977024 2024-09-09 21:07:42,438 - DEBUG - Response Code: 404 2024-09-09 21:07:42,439 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-09 21:07:42,444 - DEBUG - Requesting: http://10.0.0.28:8082/domain/1107be02-48ac-4dbd-aa24-a5b89b918443 2024-09-09 21:07:42,497 - DEBUG - Requesting: http://10.0.0.28:8082/project/bd60b183-6ec9-46d4-9bfa-7aae8879a739 2024-09-09 21:07:42,571 - INFO - Validated that VN ctest-vn-36376516 is not found in API Server 2024-09-09 21:07:42,583 - DEBUG - VN ctest-vn-36376516 is not present in Agent 10.0.0.28 2024-09-09 21:07:42,583 - INFO - Validated that VN ctest-vn-36376516 is not in any agent 2024-09-09 21:07:42,599 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36376516 info 2024-09-09 21:07:42,599 - INFO - Deleting VN ctest-vn-03522995 2024-09-09 21:07:42,713 - DEBUG - Response for deleting network () 2024-09-09 21:07:42,713 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cd87d268-1fba-427b-8c7d-259a337bfa7e 2024-09-09 21:07:42,721 - DEBUG - Response Code: 404 2024-09-09 21:07:42,722 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-09 21:07:42,728 - DEBUG - Requesting: http://10.0.0.28:8082/domain/1107be02-48ac-4dbd-aa24-a5b89b918443 2024-09-09 21:07:42,786 - DEBUG - Requesting: http://10.0.0.28:8082/project/bd60b183-6ec9-46d4-9bfa-7aae8879a739 2024-09-09 21:07:42,861 - INFO - Validated that VN ctest-vn-03522995 is not found in API Server 2024-09-09 21:07:42,876 - DEBUG - VN ctest-vn-03522995 is not present in Agent 10.0.0.28 2024-09-09 21:07:42,876 - INFO - Validated that VN ctest-vn-03522995 is not in any agent 2024-09-09 21:07:42,893 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03522995 info 2024-09-09 21:07:43,162 - DEBUG - No XMPP flaps were noticed during the test 2024-09-09 21:07:43,162 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2024-09-09 21:07:43,162 - INFO - -------------------------------------------------------------------------------- 2024-09-09 21:07:43,857 - INFO - Deleted project: ctest-TestBasicPolicy-06030214, ID : bd60b183-6ec9-46d4-9bfa-7aae8879a739