2024-09-12 06:41:34,314 - INFO - Domain Default found not creating 2024-09-12 06:41:34,491 - INFO - Project ctest-TestBasicPolicy-21126625 not found, creating it 2024-09-12 06:41:35,003 - INFO - Created Project:ctest-TestBasicPolicy-21126625, ID : 0da155da-923b-4c08-942b-69ee765803e9 2024-09-12 06:41:36,701 - INFO - ================================================================================ 2024-09-12 06:41:36,701 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-12 06:41:36,702 - 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-12 06:41:36,960 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.19': '0'}} with 2024-09-12 06:41:36,960 - INFO - Initial checks done. Running the testcase now 2024-09-12 06:41:36,960 - INFO - 2024-09-12 06:41:37,602 - DEBUG - Response for create_network : {'network': {'id': '1ea950ef-9e49-45bc-bb82-23d123f57fba', 'name': 'ctest-vn-56703312', 'tenant_id': '0da155da923b4c08942b69ee765803e9', 'project_id': '0da155da923b4c08942b69ee765803e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21126625', 'ctest-vn-56703312'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 06:41:37,772 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe1da781-df46-4aee-bf16-1d1bdc69920b', 'name': '', 'tenant_id': '0da155da923b4c08942b69ee765803e9', 'network_id': '1ea950ef-9e49-45bc-bb82-23d123f57fba', 'ip_version': 4, 'cidr': '169.91.149.128/26', 'allocation_pools': [{'start': '169.91.149.130', 'end': '169.91.149.190'}], 'gateway_ip': '169.91.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.91.149.130', 'tags': [], 'project_id': '0da155da923b4c08942b69ee765803e9'}} 2024-09-12 06:41:37,799 - INFO - Created VN ctest-vn-56703312 2024-09-12 06:41:37,861 - DEBUG - VN ctest-vn-56703312 UUID is 1ea950ef-9e49-45bc-bb82-23d123f57fba 2024-09-12 06:41:38,199 - DEBUG - Response for create_network : {'network': {'id': 'af336006-5d55-4c89-9796-18e7668f46f0', 'name': 'ctest-vn-47088847', 'tenant_id': '0da155da923b4c08942b69ee765803e9', 'project_id': '0da155da923b4c08942b69ee765803e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21126625', 'ctest-vn-47088847'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 06:41:38,437 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0448187-a52b-4f9b-87a3-c084e00042ee', 'name': '', 'tenant_id': '0da155da923b4c08942b69ee765803e9', 'network_id': 'af336006-5d55-4c89-9796-18e7668f46f0', 'ip_version': 4, 'cidr': '92.148.224.64/26', 'allocation_pools': [{'start': '92.148.224.66', 'end': '92.148.224.126'}], 'gateway_ip': '92.148.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.148.224.66', 'tags': [], 'project_id': '0da155da923b4c08942b69ee765803e9'}} 2024-09-12 06:41:38,457 - INFO - Created VN ctest-vn-47088847 2024-09-12 06:41:38,517 - DEBUG - VN ctest-vn-47088847 UUID is af336006-5d55-4c89-9796-18e7668f46f0 2024-09-12 06:41:38,643 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-56703312, 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-21126625:ctest-vn-47088847, 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-12 06:41:38,971 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ea950ef-9e49-45bc-bb82-23d123f57fba', 'name': 'ctest-vn-56703312', 'tenant_id': '0da155da923b4c08942b69ee765803e9', 'project_id': '0da155da923b4c08942b69ee765803e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe1da781-df46-4aee-bf16-1d1bdc69920b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21126625', 'ctest-vn-56703312'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21126625', 'ctest-policy-allow-all-25365750']], 'subnet_ipam': [{'subnet_cidr': '169.91.149.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-12 06:41:39,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af336006-5d55-4c89-9796-18e7668f46f0', 'name': 'ctest-vn-47088847', 'tenant_id': '0da155da923b4c08942b69ee765803e9', 'project_id': '0da155da923b4c08942b69ee765803e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0448187-a52b-4f9b-87a3-c084e00042ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21126625', 'ctest-vn-47088847'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21126625', 'ctest-policy-allow-all-25365750']], 'subnet_ipam': [{'subnet_cidr': '92.148.224.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-12 06:41:39,437 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 06:41:39,787 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 06:41:39,819 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f236561c-696f-4617-9f76-b8d97553c888 2024-09-12 06:41:39,836 - DEBUG - Requesting: http://10.0.0.29:8082/project/0da155da-923b-4c08-942b-69ee765803e9 2024-09-12 06:41:39,925 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ea950ef-9e49-45bc-bb82-23d123f57fba 2024-09-12 06:41:39,943 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ea950ef-9e49-45bc-bb82-23d123f57fba 2024-09-12 06:41:39,958 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5635d8d9-54e1-4e6d-ae3f-8abd2586cb2f 2024-09-12 06:41:39,968 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5635d8d9-54e1-4e6d-ae3f-8abd2586cb2f 2024-09-12 06:41:39,977 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/0f1d25a0-b62f-42ca-8572-9733fc96f763 2024-09-12 06:41:39,986 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 06:41:39,986 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ea950ef-9e49-45bc-bb82-23d123f57fba 2024-09-12 06:41:40,001 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5635d8d9-54e1-4e6d-ae3f-8abd2586cb2f 2024-09-12 06:41:40,024 - INFO - Verified VN network id 9 for VN 1ea950ef-9e49-45bc-bb82-23d123f57fba 2024-09-12 06:41:40,024 - INFO - Verifications in API Server for VN ctest-vn-56703312 passed 2024-09-12 06:41:40,024 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ea950ef-9e49-45bc-bb82-23d123f57fba 2024-09-12 06:41:40,045 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5635d8d9-54e1-4e6d-ae3f-8abd2586cb2f 2024-09-12 06:41:40,055 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5635d8d9-54e1-4e6d-ae3f-8abd2586cb2f 2024-09-12 06:41:40,065 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/0f1d25a0-b62f-42ca-8572-9733fc96f763 2024-09-12 06:41:40,081 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-56703312', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21126625', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2209386082284946876', 'uuid-lslong': '13511401213223337914'}, 'enable': 'true', 'created': '2024-09-12T06:41:37', 'last-modified': '2024-09-12T06:41:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.144621'} 2024-09-12 06:41:40,089 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 06:41:40,090 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56703312 passed 2024-09-12 06:41:40,090 - DEBUG - ====Verifying policy data for ctest-vn-56703312 in API_Server ====== 2024-09-12 06:41:40,090 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 06:41:40,097 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f236561c-696f-4617-9f76-b8d97553c888 2024-09-12 06:41:40,112 - DEBUG - Requesting: http://10.0.0.29:8082/project/0da155da-923b-4c08-942b-69ee765803e9 2024-09-12 06:41:40,206 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ea950ef-9e49-45bc-bb82-23d123f57fba 2024-09-12 06:41:40,223 - DEBUG - ==>Verifying data for policy with id: b43fffc9-d463-4f22-8e14-23fc6d5ba402, fqn: ['default-domain', 'ctest-TestBasicPolicy-21126625', 'ctest-policy-allow-all-25365750'] 2024-09-12 06:41:40,223 - INFO - VN ctest-vn-56703312 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-12 06:41:40,224 - DEBUG - Verifying the vn in opserver 2024-09-12 06:41:40,224 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-56703312 virtual network link through opserver 10.0.0.29 2024-09-12 06:41:40,224 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-12 06:41:40,565 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-12 06:41:40,631 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-56703312', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-56703312?flat'} 2024-09-12 06:41:40,631 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-56703312 is found in opserver 2024-09-12 06:41:40,643 - DEBUG - Do not have enough data to verify VN in agent 2024-09-12 06:41:40,650 - DEBUG - VRF ids for VN ctest-vn-56703312: {} 2024-09-12 06:41:40,650 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 06:41:40,656 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f236561c-696f-4617-9f76-b8d97553c888 2024-09-12 06:41:40,671 - DEBUG - Requesting: http://10.0.0.29:8082/project/0da155da-923b-4c08-942b-69ee765803e9 2024-09-12 06:41:40,760 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af336006-5d55-4c89-9796-18e7668f46f0 2024-09-12 06:41:40,780 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af336006-5d55-4c89-9796-18e7668f46f0 2024-09-12 06:41:40,794 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5b902963-607f-4a6e-b1aa-6f3cdd02bcd8 2024-09-12 06:41:40,804 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5b902963-607f-4a6e-b1aa-6f3cdd02bcd8 2024-09-12 06:41:40,813 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/99cc05dc-b555-46f2-b721-db6b524e5fd0 2024-09-12 06:41:40,821 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-12 06:41:40,821 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af336006-5d55-4c89-9796-18e7668f46f0 2024-09-12 06:41:40,840 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5b902963-607f-4a6e-b1aa-6f3cdd02bcd8 2024-09-12 06:41:40,863 - INFO - Verified VN network id 10 for VN af336006-5d55-4c89-9796-18e7668f46f0 2024-09-12 06:41:40,863 - INFO - Verifications in API Server for VN ctest-vn-47088847 passed 2024-09-12 06:41:40,863 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af336006-5d55-4c89-9796-18e7668f46f0 2024-09-12 06:41:40,880 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5b902963-607f-4a6e-b1aa-6f3cdd02bcd8 2024-09-12 06:41:40,891 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5b902963-607f-4a6e-b1aa-6f3cdd02bcd8 2024-09-12 06:41:40,900 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/99cc05dc-b555-46f2-b721-db6b524e5fd0 2024-09-12 06:41:40,916 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-47088847', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21126625', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12624539760901573769', 'uuid-lslong': '10922945328370894576'}, 'enable': 'true', 'created': '2024-09-12T06:41:38', 'last-modified': '2024-09-12T06:41:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.712150'} 2024-09-12 06:41:40,923 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-12 06:41:40,923 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47088847 passed 2024-09-12 06:41:40,924 - DEBUG - ====Verifying policy data for ctest-vn-47088847 in API_Server ====== 2024-09-12 06:41:40,924 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 06:41:40,931 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f236561c-696f-4617-9f76-b8d97553c888 2024-09-12 06:41:40,945 - DEBUG - Requesting: http://10.0.0.29:8082/project/0da155da-923b-4c08-942b-69ee765803e9 2024-09-12 06:41:41,043 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af336006-5d55-4c89-9796-18e7668f46f0 2024-09-12 06:41:41,058 - DEBUG - ==>Verifying data for policy with id: b43fffc9-d463-4f22-8e14-23fc6d5ba402, fqn: ['default-domain', 'ctest-TestBasicPolicy-21126625', 'ctest-policy-allow-all-25365750'] 2024-09-12 06:41:41,058 - INFO - VN ctest-vn-47088847 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-12 06:41:41,058 - DEBUG - Verifying the vn in opserver 2024-09-12 06:41:41,058 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-47088847 virtual network link through opserver 10.0.0.29 2024-09-12 06:41:41,058 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-12 06:41:41,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-47088847', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-47088847?flat'} 2024-09-12 06:41:41,071 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-47088847 is found in opserver 2024-09-12 06:41:41,082 - DEBUG - Do not have enough data to verify VN in agent 2024-09-12 06:41:41,088 - DEBUG - VRF ids for VN ctest-vn-47088847: {} 2024-09-12 06:41:41,153 - DEBUG - Services list from nova: [, , ] 2024-09-12 06:41:42,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1905-1) 2024-09-12 06:41:43,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1905-1) 2024-09-12 06:41:43,885 - INFO - Waiting for VM ctest-TestBasicPolicy-21126625-40958967 to be up.. 2024-09-12 06:41:43,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 06:41:49,077 - DEBUG - VM is in ACTIVE state now 2024-09-12 06:41:49,077 - INFO - VM name : ctest-TestBasicPolicy-21126625-40958967 2024-09-12 06:41:49,163 - DEBUG - VM ctest-TestBasicPolicy-21126625-40958967 ID is 7752b5f3-de93-4a9c-92a1-69a137830646 2024-09-12 06:41:49,184 - DEBUG - VM ctest-TestBasicPolicy-21126625-40958967 launched on Node cn-jenkins-deploy-platform-ansible-os-1905-1 2024-09-12 06:41:49,274 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/7752b5f3-de93-4a9c-92a1-69a137830646 2024-09-12 06:41:49,287 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/4d481756-c91b-4747-b899-5e5de13f3257 2024-09-12 06:41:52,579 - 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 1035ms') 2024-09-12 06:41:52,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21126625-40958967 failed! 2024-09-12 06:41:52,641 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21126625:ctest-vn-56703312 is 169.91.149.129 and allocation pool is NOT set 2024-09-12 06:41:54,703 - 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=7.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/3.711/7.027/3.316 ms') 2024-09-12 06:41:54,703 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21126625-40958967 passed 2024-09-12 06:41:54,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:41:54,865 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21126625-40958967, IP 169.91.149.131, Port 22 2024-09-12 06:41:55,024 - DEBUG - VM ctest-TestBasicPolicy-21126625-40958967 is ready for SSH connections 2024-09-12 06:41:55,024 - INFO - Waiting for VM ctest-TestBasicPolicy-21126625-77674972 to be up.. 2024-09-12 06:41:55,115 - DEBUG - VM is in ACTIVE state now 2024-09-12 06:41:55,115 - INFO - VM name : ctest-TestBasicPolicy-21126625-77674972 2024-09-12 06:41:55,205 - DEBUG - VM ctest-TestBasicPolicy-21126625-77674972 ID is 64883a20-5d17-4574-b1f3-4ee34d51a9ce 2024-09-12 06:41:55,206 - DEBUG - VM ctest-TestBasicPolicy-21126625-77674972 launched on Node cn-jenkins-deploy-platform-ansible-os-1905-1 2024-09-12 06:41:55,294 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/64883a20-5d17-4574-b1f3-4ee34d51a9ce 2024-09-12 06:41:55,304 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/936c32b6-4a5c-419e-8e40-7ed89382ae4b 2024-09-12 06:41:56,575 - 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=4.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.711 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.711/2.577/4.443/1.866 ms') 2024-09-12 06:41:56,575 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21126625-77674972 passed 2024-09-12 06:41:56,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:41:56,745 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21126625-77674972, IP 92.148.224.67, Port 22 2024-09-12 06:41:56,910 - DEBUG - VM ctest-TestBasicPolicy-21126625-77674972 is ready for SSH connections 2024-09-12 06:41:56,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:41:56,911 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.148.224.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-12 06:41:56,911 - DEBUG - ping -s 56 -c 3 -W 1 92.148.224.67 2024-09-12 06:42:00,973 - DEBUG - PING 92.148.224.67 (92.148.224.67): 56 data bytes 64 bytes from 92.148.224.67: seq=0 ttl=63 time=4.056 ms 64 bytes from 92.148.224.67: seq=1 ttl=63 time=1.028 ms 64 bytes from 92.148.224.67: seq=2 ttl=63 time=1.122 ms --- 92.148.224.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.028/2.068/4.056 ms 2024-09-12 06:42:00,973 - INFO - Ping to IP 92.148.224.67 from VM ctest-TestBasicPolicy-21126625-40958967 passed 2024-09-12 06:42:01,173 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b43fffc9-d463-4f22-8e14-23fc6d5ba402", "href": "http://10.0.0.29:8082/network-policy/b43fffc9-d463-4f22-8e14-23fc6d5ba402"}} 2024-09-12 06:42:01,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:42:01,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.148.224.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-12 06:42:01,173 - DEBUG - ping -s 56 -c 3 -W 1 92.148.224.67 2024-09-12 06:42:04,396 - DEBUG - PING 92.148.224.67 (92.148.224.67): 56 data bytes 64 bytes from 92.148.224.67: seq=0 ttl=63 time=1.581 ms --- 92.148.224.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.581/1.581/1.581 ms 2024-09-12 06:42:04,397 - WARNING - Ping to IP 92.148.224.67 from VM ctest-TestBasicPolicy-21126625-40958967 failed 2024-09-12 06:42:04,397 - INFO - Deleting VM ctest-TestBasicPolicy-21126625-77674972 2024-09-12 06:42:04,758 - INFO - Deleting VM ctest-TestBasicPolicy-21126625-40958967 2024-09-12 06:42:05,265 - INFO - Deleted policy ctest-policy-allow-all-25365750 2024-09-12 06:42:05,265 - INFO - Deleting VN ctest-vn-47088847 2024-09-12 06:42:05,307 - DEBUG - VN af336006-5d55-4c89-9796-18e7668f46f0 still in use: Unable to complete operation on network af336006-5d55-4c89-9796-18e7668f46f0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b2fd669-dc7d-4261-b0cd-bf2a1f7ad30b'] 2024-09-12 06:42:05,307 - WARNING - Deleting VN ctest-vn-47088847 failed..Will retry 2024-09-12 06:42:07,432 - DEBUG - Response for deleting network () 2024-09-12 06:42:07,433 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5b902963-607f-4a6e-b1aa-6f3cdd02bcd8 2024-09-12 06:42:07,439 - DEBUG - Response Code: 404 2024-09-12 06:42:07,439 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 06:42:07,445 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f236561c-696f-4617-9f76-b8d97553c888 2024-09-12 06:42:07,505 - DEBUG - Requesting: http://10.0.0.29:8082/project/0da155da-923b-4c08-942b-69ee765803e9 2024-09-12 06:42:07,593 - INFO - Validated that VN ctest-vn-47088847 is not found in API Server 2024-09-12 06:42:07,606 - DEBUG - VN ctest-vn-47088847 is not present in Agent 10.0.0.29 2024-09-12 06:42:07,606 - INFO - Validated that VN ctest-vn-47088847 is not in any agent 2024-09-12 06:42:07,623 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47088847 info 2024-09-12 06:42:07,623 - INFO - Deleting VN ctest-vn-56703312 2024-09-12 06:42:07,786 - DEBUG - Response for deleting network () 2024-09-12 06:42:07,787 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/5635d8d9-54e1-4e6d-ae3f-8abd2586cb2f 2024-09-12 06:42:07,793 - DEBUG - Response Code: 404 2024-09-12 06:42:07,793 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-12 06:42:07,801 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f236561c-696f-4617-9f76-b8d97553c888 2024-09-12 06:42:07,860 - DEBUG - Requesting: http://10.0.0.29:8082/project/0da155da-923b-4c08-942b-69ee765803e9 2024-09-12 06:42:07,946 - INFO - Validated that VN ctest-vn-56703312 is not found in API Server 2024-09-12 06:42:07,958 - DEBUG - VN ctest-vn-56703312 is not present in Agent 10.0.0.29 2024-09-12 06:42:07,958 - INFO - Validated that VN ctest-vn-56703312 is not in any agent 2024-09-12 06:42:07,976 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56703312 info 2024-09-12 06:42:08,235 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 06:42:08,236 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32]
2024-09-12 06:42:08,236 - INFO - -------------------------------------------------------------------------------- 2024-09-12 06:42:09,014 - INFO - Deleted project: ctest-TestBasicPolicy-21126625, ID : 0da155da-923b-4c08-942b-69ee765803e9