2024-09-15 21:53:58,284 - INFO - Domain Default found not creating 2024-09-15 21:53:58,434 - INFO - Project ctest-TestBasicPolicy-20385261 not found, creating it 2024-09-15 21:53:58,910 - INFO - Created Project:ctest-TestBasicPolicy-20385261, ID : 81442790-ece4-4911-90d1-dd0cc043a0cf 2024-09-15 21:54:00,517 - INFO - ================================================================================ 2024-09-15 21:54:00,517 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-15 21:54:00,517 - 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-15 21:54:00,775 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.10': '0'}} with 2024-09-15 21:54:00,775 - INFO - Initial checks done. Running the testcase now 2024-09-15 21:54:00,775 - INFO - 2024-09-15 21:54:01,360 - DEBUG - Response for create_network : {'network': {'id': '9685ee59-f22c-41b7-98b5-33ea4faddad3', 'name': 'ctest-vn-75335020', 'tenant_id': '81442790ece4491190d1dd0cc043a0cf', 'project_id': '81442790ece4491190d1dd0cc043a0cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20385261', 'ctest-vn-75335020'], 'port_security_enabled': True, 'description': ''}} 2024-09-15 21:54:01,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b08a48c1-aea8-4f14-8e4f-54235e76e60b', 'name': '', 'tenant_id': '81442790ece4491190d1dd0cc043a0cf', 'network_id': '9685ee59-f22c-41b7-98b5-33ea4faddad3', 'ip_version': 4, 'cidr': '6.10.43.128/26', 'allocation_pools': [{'start': '6.10.43.130', 'end': '6.10.43.190'}], 'gateway_ip': '6.10.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.10.43.130', 'tags': [], 'project_id': '81442790ece4491190d1dd0cc043a0cf'}} 2024-09-15 21:54:01,568 - INFO - Created VN ctest-vn-75335020 2024-09-15 21:54:01,624 - DEBUG - VN ctest-vn-75335020 UUID is 9685ee59-f22c-41b7-98b5-33ea4faddad3 2024-09-15 21:54:01,984 - DEBUG - Response for create_network : {'network': {'id': '3433db8d-91b2-441e-aad0-2fcf7a4fd768', 'name': 'ctest-vn-36642500', 'tenant_id': '81442790ece4491190d1dd0cc043a0cf', 'project_id': '81442790ece4491190d1dd0cc043a0cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20385261', 'ctest-vn-36642500'], 'port_security_enabled': True, 'description': ''}} 2024-09-15 21:54:02,152 - DEBUG - Response for create_subnet : {'subnet': {'id': '84f6542f-56a6-479a-9f2a-f90dc74cc1d8', 'name': '', 'tenant_id': '81442790ece4491190d1dd0cc043a0cf', 'network_id': '3433db8d-91b2-441e-aad0-2fcf7a4fd768', 'ip_version': 4, 'cidr': '171.11.168.128/26', 'allocation_pools': [{'start': '171.11.168.130', 'end': '171.11.168.190'}], 'gateway_ip': '171.11.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.11.168.130', 'tags': [], 'project_id': '81442790ece4491190d1dd0cc043a0cf'}} 2024-09-15 21:54:02,171 - INFO - Created VN ctest-vn-36642500 2024-09-15 21:54:02,229 - DEBUG - VN ctest-vn-36642500 UUID is 3433db8d-91b2-441e-aad0-2fcf7a4fd768 2024-09-15 21:54:02,357 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-75335020, 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-20385261:ctest-vn-36642500, 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-15 21:54:02,677 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9685ee59-f22c-41b7-98b5-33ea4faddad3', 'name': 'ctest-vn-75335020', 'tenant_id': '81442790ece4491190d1dd0cc043a0cf', 'project_id': '81442790ece4491190d1dd0cc043a0cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b08a48c1-aea8-4f14-8e4f-54235e76e60b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20385261', 'ctest-vn-75335020'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20385261', 'ctest-policy-allow-all-44640103']], 'subnet_ipam': [{'subnet_cidr': '6.10.43.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-15 21:54:02,964 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3433db8d-91b2-441e-aad0-2fcf7a4fd768', 'name': 'ctest-vn-36642500', 'tenant_id': '81442790ece4491190d1dd0cc043a0cf', 'project_id': '81442790ece4491190d1dd0cc043a0cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84f6542f-56a6-479a-9f2a-f90dc74cc1d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20385261', 'ctest-vn-36642500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20385261', 'ctest-policy-allow-all-44640103']], 'subnet_ipam': [{'subnet_cidr': '171.11.168.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-15 21:54:03,124 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-09-15 21:54:03,425 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-09-15 21:54:03,456 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a347567c-8b5f-4037-8f0a-8e460d02fa8f 2024-09-15 21:54:03,478 - DEBUG - Requesting: http://10.0.0.44:8082/project/81442790-ece4-4911-90d1-dd0cc043a0cf 2024-09-15 21:54:03,562 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/9685ee59-f22c-41b7-98b5-33ea4faddad3 2024-09-15 21:54:03,577 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/9685ee59-f22c-41b7-98b5-33ea4faddad3 2024-09-15 21:54:03,591 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b0edbf1e-5289-4b9f-8e7b-18691387990d 2024-09-15 21:54:03,600 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b0edbf1e-5289-4b9f-8e7b-18691387990d 2024-09-15 21:54:03,608 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/2392afa4-723b-47ee-94a0-e1965e70b796 2024-09-15 21:54:03,615 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-15 21:54:03,615 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/9685ee59-f22c-41b7-98b5-33ea4faddad3 2024-09-15 21:54:03,630 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b0edbf1e-5289-4b9f-8e7b-18691387990d 2024-09-15 21:54:03,649 - INFO - Verified VN network id 9 for VN 9685ee59-f22c-41b7-98b5-33ea4faddad3 2024-09-15 21:54:03,649 - INFO - Verifications in API Server for VN ctest-vn-75335020 passed 2024-09-15 21:54:03,650 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/9685ee59-f22c-41b7-98b5-33ea4faddad3 2024-09-15 21:54:03,663 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b0edbf1e-5289-4b9f-8e7b-18691387990d 2024-09-15 21:54:03,671 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b0edbf1e-5289-4b9f-8e7b-18691387990d 2024-09-15 21:54:03,678 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/2392afa4-723b-47ee-94a0-e1965e70b796 2024-09-15 21:54:03,692 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-75335020', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20385261', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10846337347674194359', 'uuid-lslong': '11003758346001832659'}, 'enable': 'true', 'created': '2024-09-15T21:54:01', 'last-modified': '2024-09-15T21:54:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047983'} 2024-09-15 21:54:03,700 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-15 21:54:03,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75335020 passed 2024-09-15 21:54:03,700 - DEBUG - ====Verifying policy data for ctest-vn-75335020 in API_Server ====== 2024-09-15 21:54:03,700 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-09-15 21:54:03,706 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a347567c-8b5f-4037-8f0a-8e460d02fa8f 2024-09-15 21:54:03,719 - DEBUG - Requesting: http://10.0.0.44:8082/project/81442790-ece4-4911-90d1-dd0cc043a0cf 2024-09-15 21:54:03,802 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/9685ee59-f22c-41b7-98b5-33ea4faddad3 2024-09-15 21:54:03,818 - DEBUG - ==>Verifying data for policy with id: 32c417da-f279-4ee1-b4e9-e52d4052c28a, fqn: ['default-domain', 'ctest-TestBasicPolicy-20385261', 'ctest-policy-allow-all-44640103'] 2024-09-15 21:54:03,818 - INFO - VN ctest-vn-75335020 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-15 21:54:03,818 - DEBUG - Verifying the vn in opserver 2024-09-15 21:54:03,818 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-75335020 virtual network link through opserver 10.0.0.44 2024-09-15 21:54:03,818 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-09-15 21:54:04,116 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-09-15 21:54:04,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-75335020', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-75335020?flat'} 2024-09-15 21:54:04,178 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-75335020 is found in opserver 2024-09-15 21:54:04,189 - DEBUG - Do not have enough data to verify VN in agent 2024-09-15 21:54:04,194 - DEBUG - VRF ids for VN ctest-vn-75335020: {} 2024-09-15 21:54:04,195 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-09-15 21:54:04,200 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a347567c-8b5f-4037-8f0a-8e460d02fa8f 2024-09-15 21:54:04,213 - DEBUG - Requesting: http://10.0.0.44:8082/project/81442790-ece4-4911-90d1-dd0cc043a0cf 2024-09-15 21:54:04,287 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/3433db8d-91b2-441e-aad0-2fcf7a4fd768 2024-09-15 21:54:04,303 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/3433db8d-91b2-441e-aad0-2fcf7a4fd768 2024-09-15 21:54:04,315 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/98a831bf-111a-4d5a-8762-f46f942f1c77 2024-09-15 21:54:04,323 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/98a831bf-111a-4d5a-8762-f46f942f1c77 2024-09-15 21:54:04,331 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/9b03eeea-403d-4a71-9d8f-cf3c876e0362 2024-09-15 21:54:04,338 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-15 21:54:04,338 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/3433db8d-91b2-441e-aad0-2fcf7a4fd768 2024-09-15 21:54:04,352 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/98a831bf-111a-4d5a-8762-f46f942f1c77 2024-09-15 21:54:04,372 - INFO - Verified VN network id 10 for VN 3433db8d-91b2-441e-aad0-2fcf7a4fd768 2024-09-15 21:54:04,372 - INFO - Verifications in API Server for VN ctest-vn-36642500 passed 2024-09-15 21:54:04,372 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/3433db8d-91b2-441e-aad0-2fcf7a4fd768 2024-09-15 21:54:04,387 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/98a831bf-111a-4d5a-8762-f46f942f1c77 2024-09-15 21:54:04,397 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/98a831bf-111a-4d5a-8762-f46f942f1c77 2024-09-15 21:54:04,405 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/9b03eeea-403d-4a71-9d8f-cf3c876e0362 2024-09-15 21:54:04,418 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-36642500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20385261', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3761591514865746974', 'uuid-lslong': '12308390349760354152'}, 'enable': 'true', 'created': '2024-09-15T21:54:01', 'last-modified': '2024-09-15T21:54:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.521956'} 2024-09-15 21:54:04,426 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-15 21:54:04,426 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36642500 passed 2024-09-15 21:54:04,426 - DEBUG - ====Verifying policy data for ctest-vn-36642500 in API_Server ====== 2024-09-15 21:54:04,426 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-09-15 21:54:04,433 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a347567c-8b5f-4037-8f0a-8e460d02fa8f 2024-09-15 21:54:04,448 - DEBUG - Requesting: http://10.0.0.44:8082/project/81442790-ece4-4911-90d1-dd0cc043a0cf 2024-09-15 21:54:04,526 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/3433db8d-91b2-441e-aad0-2fcf7a4fd768 2024-09-15 21:54:04,540 - DEBUG - ==>Verifying data for policy with id: 32c417da-f279-4ee1-b4e9-e52d4052c28a, fqn: ['default-domain', 'ctest-TestBasicPolicy-20385261', 'ctest-policy-allow-all-44640103'] 2024-09-15 21:54:04,540 - INFO - VN ctest-vn-36642500 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-15 21:54:04,540 - DEBUG - Verifying the vn in opserver 2024-09-15 21:54:04,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-36642500 virtual network link through opserver 10.0.0.44 2024-09-15 21:54:04,540 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-09-15 21:54:04,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-36642500', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-36642500?flat'} 2024-09-15 21:54:04,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-36642500 is found in opserver 2024-09-15 21:54:04,564 - DEBUG - Do not have enough data to verify VN in agent 2024-09-15 21:54:04,570 - DEBUG - VRF ids for VN ctest-vn-36642500: {} 2024-09-15 21:54:04,622 - DEBUG - Services list from nova: [, , ] 2024-09-15 21:54:05,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1942-1) 2024-09-15 21:54:06,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1942-1) 2024-09-15 21:54:06,966 - INFO - Waiting for VM ctest-TestBasicPolicy-20385261-56703248 to be up.. 2024-09-15 21:54:07,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-15 21:54:12,134 - DEBUG - VM is in ACTIVE state now 2024-09-15 21:54:12,134 - INFO - VM name : ctest-TestBasicPolicy-20385261-56703248 2024-09-15 21:54:12,216 - DEBUG - VM ctest-TestBasicPolicy-20385261-56703248 ID is db6a3efe-1809-4985-91d2-49bd985605fb 2024-09-15 21:54:12,235 - DEBUG - VM ctest-TestBasicPolicy-20385261-56703248 launched on Node cn-jenkins-deploy-platform-ansible-os-1942-1 2024-09-15 21:54:12,317 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/db6a3efe-1809-4985-91d2-49bd985605fb 2024-09-15 21:54:12,327 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/02cd4a42-7eb5-4715-b23d-2dd719318017 2024-09-15 21:54:15,602 - 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 1028ms') 2024-09-15 21:54:15,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20385261-56703248 failed! 2024-09-15 21:54:15,664 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20385261:ctest-vn-75335020 is 6.10.43.129 and allocation pool is NOT set 2024-09-15 21:54:17,721 - 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=3.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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.455/1.733/3.012/1.278 ms') 2024-09-15 21:54:17,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20385261-56703248 passed 2024-09-15 21:54:17,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:54:17,884 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20385261-56703248, IP 6.10.43.131, Port 22 2024-09-15 21:54:18,039 - DEBUG - VM ctest-TestBasicPolicy-20385261-56703248 is ready for SSH connections 2024-09-15 21:54:18,039 - INFO - Waiting for VM ctest-TestBasicPolicy-20385261-67368973 to be up.. 2024-09-15 21:54:18,116 - DEBUG - VM is in ACTIVE state now 2024-09-15 21:54:18,116 - INFO - VM name : ctest-TestBasicPolicy-20385261-67368973 2024-09-15 21:54:18,202 - DEBUG - VM ctest-TestBasicPolicy-20385261-67368973 ID is c8fc2d9a-b8b2-4118-9e8f-e97d57fb0aae 2024-09-15 21:54:18,202 - DEBUG - VM ctest-TestBasicPolicy-20385261-67368973 launched on Node cn-jenkins-deploy-platform-ansible-os-1942-1 2024-09-15 21:54:18,278 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/c8fc2d9a-b8b2-4118-9e8f-e97d57fb0aae 2024-09-15 21:54:18,287 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/0b46fb3c-a4f1-4827-8237-c2d8560d1cc6 2024-09-15 21:54:19,533 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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.340/1.474/2.609/1.134 ms') 2024-09-15 21:54:19,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20385261-67368973 passed 2024-09-15 21:54:19,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:54:19,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20385261-67368973, IP 171.11.168.131, Port 22 2024-09-15 21:54:19,844 - DEBUG - VM ctest-TestBasicPolicy-20385261-67368973 is ready for SSH connections 2024-09-15 21:54:19,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:54:19,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.11.168.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-09-15 21:54:19,845 - DEBUG - ping -s 56 -c 3 -W 1 171.11.168.131 2024-09-15 21:54:23,814 - DEBUG - PING 171.11.168.131 (171.11.168.131): 56 data bytes 64 bytes from 171.11.168.131: seq=0 ttl=63 time=3.705 ms 64 bytes from 171.11.168.131: seq=1 ttl=63 time=0.946 ms 64 bytes from 171.11.168.131: seq=2 ttl=63 time=0.735 ms --- 171.11.168.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/1.795/3.705 ms 2024-09-15 21:54:23,814 - INFO - Ping to IP 171.11.168.131 from VM ctest-TestBasicPolicy-20385261-56703248 passed 2024-09-15 21:54:24,004 - DEBUG - Policy Update Response {"network-policy": {"uuid": "32c417da-f279-4ee1-b4e9-e52d4052c28a", "href": "http://10.0.0.44:8082/network-policy/32c417da-f279-4ee1-b4e9-e52d4052c28a"}} 2024-09-15 21:54:24,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:54:24,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.11.168.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-09-15 21:54:24,004 - DEBUG - ping -s 56 -c 3 -W 1 171.11.168.131 2024-09-15 21:54:27,203 - DEBUG - PING 171.11.168.131 (171.11.168.131): 56 data bytes --- 171.11.168.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-15 21:54:27,203 - WARNING - Ping to IP 171.11.168.131 from VM ctest-TestBasicPolicy-20385261-56703248 failed 2024-09-15 21:54:27,204 - INFO - Deleting VM ctest-TestBasicPolicy-20385261-67368973 2024-09-15 21:54:27,266 - INFO - Deleting VM ctest-TestBasicPolicy-20385261-56703248 2024-09-15 21:54:27,690 - INFO - Deleted policy ctest-policy-allow-all-44640103 2024-09-15 21:54:27,691 - INFO - Deleting VN ctest-vn-36642500 2024-09-15 21:54:27,733 - DEBUG - VN 3433db8d-91b2-441e-aad0-2fcf7a4fd768 still in use: Unable to complete operation on network 3433db8d-91b2-441e-aad0-2fcf7a4fd768. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f6fb32e-0fb0-4f06-8b04-161b90cecfdb'] 2024-09-15 21:54:27,734 - WARNING - Deleting VN ctest-vn-36642500 failed..Will retry 2024-09-15 21:54:29,841 - DEBUG - Response for deleting network () 2024-09-15 21:54:29,841 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/98a831bf-111a-4d5a-8762-f46f942f1c77 2024-09-15 21:54:29,846 - DEBUG - Response Code: 404 2024-09-15 21:54:29,846 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-09-15 21:54:29,852 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a347567c-8b5f-4037-8f0a-8e460d02fa8f 2024-09-15 21:54:29,906 - DEBUG - Requesting: http://10.0.0.44:8082/project/81442790-ece4-4911-90d1-dd0cc043a0cf 2024-09-15 21:54:29,986 - INFO - Validated that VN ctest-vn-36642500 is not found in API Server 2024-09-15 21:54:29,996 - DEBUG - VN ctest-vn-36642500 is not present in Agent 10.0.0.44 2024-09-15 21:54:29,996 - INFO - Validated that VN ctest-vn-36642500 is not in any agent 2024-09-15 21:54:30,012 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36642500 info 2024-09-15 21:54:30,012 - INFO - Deleting VN ctest-vn-75335020 2024-09-15 21:54:30,114 - DEBUG - Response for deleting network () 2024-09-15 21:54:30,114 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/b0edbf1e-5289-4b9f-8e7b-18691387990d 2024-09-15 21:54:30,120 - DEBUG - Response Code: 404 2024-09-15 21:54:30,120 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-09-15 21:54:30,129 - DEBUG - Requesting: http://10.0.0.44:8082/domain/a347567c-8b5f-4037-8f0a-8e460d02fa8f 2024-09-15 21:54:30,186 - DEBUG - Requesting: http://10.0.0.44:8082/project/81442790-ece4-4911-90d1-dd0cc043a0cf 2024-09-15 21:54:30,264 - INFO - Validated that VN ctest-vn-75335020 is not found in API Server 2024-09-15 21:54:30,278 - DEBUG - VN ctest-vn-75335020 is not present in Agent 10.0.0.44 2024-09-15 21:54:30,278 - INFO - Validated that VN ctest-vn-75335020 is not in any agent 2024-09-15 21:54:30,294 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75335020 info 2024-09-15 21:54:30,553 - DEBUG - No XMPP flaps were noticed during the test 2024-09-15 21:54:30,553 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-09-15 21:54:30,553 - INFO - -------------------------------------------------------------------------------- 2024-09-15 21:54:31,260 - INFO - Deleted project: ctest-TestBasicPolicy-20385261, ID : 81442790-ece4-4911-90d1-dd0cc043a0cf