2024-09-06 07:31:35,415 - INFO - Domain Default found not creating 2024-09-06 07:31:35,668 - INFO - Project ctest-TestBasicPolicy-30978643 not found, creating it 2024-09-06 07:31:36,127 - INFO - Created Project:ctest-TestBasicPolicy-30978643, ID : 36d418cf-c406-4c28-8f13-c006f020c21f 2024-09-06 07:31:37,638 - INFO - ================================================================================ 2024-09-06 07:31:37,639 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-06 07:31:37,639 - 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-06 07:31:37,895 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.28': '0'}} with 2024-09-06 07:31:37,895 - INFO - Initial checks done. Running the testcase now 2024-09-06 07:31:37,895 - INFO - 2024-09-06 07:31:38,469 - DEBUG - Response for create_network : {'network': {'id': '2cacc989-250f-4ef9-aafb-8264e9875a00', 'name': 'ctest-vn-92043195', 'tenant_id': '36d418cfc4064c288f13c006f020c21f', 'project_id': '36d418cfc4064c288f13c006f020c21f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30978643', 'ctest-vn-92043195'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 07:31:38,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a31322a4-d88e-4e54-b18b-925211dd4fc6', 'name': '', 'tenant_id': '36d418cfc4064c288f13c006f020c21f', 'network_id': '2cacc989-250f-4ef9-aafb-8264e9875a00', 'ip_version': 4, 'cidr': '107.42.79.64/26', 'allocation_pools': [{'start': '107.42.79.66', 'end': '107.42.79.126'}], 'gateway_ip': '107.42.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.42.79.66', 'tags': [], 'project_id': '36d418cfc4064c288f13c006f020c21f'}} 2024-09-06 07:31:38,765 - INFO - Created VN ctest-vn-92043195 2024-09-06 07:31:38,817 - DEBUG - VN ctest-vn-92043195 UUID is 2cacc989-250f-4ef9-aafb-8264e9875a00 2024-09-06 07:31:39,127 - DEBUG - Response for create_network : {'network': {'id': '8107bc23-0529-48c9-b220-8151e8ab8876', 'name': 'ctest-vn-03558847', 'tenant_id': '36d418cfc4064c288f13c006f020c21f', 'project_id': '36d418cfc4064c288f13c006f020c21f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30978643', 'ctest-vn-03558847'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 07:31:39,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b16119b-6418-4cf0-b76f-d9dab086df13', 'name': '', 'tenant_id': '36d418cfc4064c288f13c006f020c21f', 'network_id': '8107bc23-0529-48c9-b220-8151e8ab8876', 'ip_version': 4, 'cidr': '56.146.89.192/26', 'allocation_pools': [{'start': '56.146.89.194', 'end': '56.146.89.254'}], 'gateway_ip': '56.146.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.146.89.194', 'tags': [], 'project_id': '36d418cfc4064c288f13c006f020c21f'}} 2024-09-06 07:31:39,370 - INFO - Created VN ctest-vn-03558847 2024-09-06 07:31:39,421 - DEBUG - VN ctest-vn-03558847 UUID is 8107bc23-0529-48c9-b220-8151e8ab8876 2024-09-06 07:31:39,535 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-92043195, 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-30978643:ctest-vn-03558847, 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-06 07:31:39,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2cacc989-250f-4ef9-aafb-8264e9875a00', 'name': 'ctest-vn-92043195', 'tenant_id': '36d418cfc4064c288f13c006f020c21f', 'project_id': '36d418cfc4064c288f13c006f020c21f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a31322a4-d88e-4e54-b18b-925211dd4fc6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30978643', 'ctest-vn-92043195'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30978643', 'ctest-policy-allow-all-22624316']], 'subnet_ipam': [{'subnet_cidr': '107.42.79.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-06 07:31:40,132 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8107bc23-0529-48c9-b220-8151e8ab8876', 'name': 'ctest-vn-03558847', 'tenant_id': '36d418cfc4064c288f13c006f020c21f', 'project_id': '36d418cfc4064c288f13c006f020c21f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b16119b-6418-4cf0-b76f-d9dab086df13'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30978643', 'ctest-vn-03558847'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30978643', 'ctest-policy-allow-all-22624316']], 'subnet_ipam': [{'subnet_cidr': '56.146.89.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-06 07:31:40,281 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-06 07:31:40,581 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-06 07:31:40,612 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5a162ab8-7247-45da-b7c2-506ce8c71b18 2024-09-06 07:31:40,626 - DEBUG - Requesting: http://10.0.0.32:8082/project/36d418cf-c406-4c28-8f13-c006f020c21f 2024-09-06 07:31:40,696 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/2cacc989-250f-4ef9-aafb-8264e9875a00 2024-09-06 07:31:40,706 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/2cacc989-250f-4ef9-aafb-8264e9875a00 2024-09-06 07:31:40,715 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/54cab470-b7e5-4de9-a427-ed4ad2e4e013 2024-09-06 07:31:40,722 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/54cab470-b7e5-4de9-a427-ed4ad2e4e013 2024-09-06 07:31:40,730 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/08eac391-9198-40bc-96d9-76e999f34334 2024-09-06 07:31:40,736 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-06 07:31:40,736 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/2cacc989-250f-4ef9-aafb-8264e9875a00 2024-09-06 07:31:40,744 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/54cab470-b7e5-4de9-a427-ed4ad2e4e013 2024-09-06 07:31:40,756 - INFO - Verified VN network id 8 for VN 2cacc989-250f-4ef9-aafb-8264e9875a00 2024-09-06 07:31:40,757 - INFO - Verifications in API Server for VN ctest-vn-92043195 passed 2024-09-06 07:31:40,757 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/2cacc989-250f-4ef9-aafb-8264e9875a00 2024-09-06 07:31:40,765 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/54cab470-b7e5-4de9-a427-ed4ad2e4e013 2024-09-06 07:31:40,772 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/54cab470-b7e5-4de9-a427-ed4ad2e4e013 2024-09-06 07:31:40,778 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/08eac391-9198-40bc-96d9-76e999f34334 2024-09-06 07:31:40,790 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-92043195', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30978643', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3219169424532524793', 'uuid-lslong': '12320584575528425984'}, 'enable': 'true', 'created': '2024-09-06T07:31:38', 'last-modified': '2024-09-06T07:31:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974964'} 2024-09-06 07:31:40,797 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-06 07:31:40,797 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92043195 passed 2024-09-06 07:31:40,797 - DEBUG - ====Verifying policy data for ctest-vn-92043195 in API_Server ====== 2024-09-06 07:31:40,797 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-06 07:31:40,803 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5a162ab8-7247-45da-b7c2-506ce8c71b18 2024-09-06 07:31:40,815 - DEBUG - Requesting: http://10.0.0.32:8082/project/36d418cf-c406-4c28-8f13-c006f020c21f 2024-09-06 07:31:40,886 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/2cacc989-250f-4ef9-aafb-8264e9875a00 2024-09-06 07:31:40,895 - DEBUG - ==>Verifying data for policy with id: 58add6aa-0c7f-4c1c-87c4-20fbb90cbb1c, fqn: ['default-domain', 'ctest-TestBasicPolicy-30978643', 'ctest-policy-allow-all-22624316'] 2024-09-06 07:31:40,895 - INFO - VN ctest-vn-92043195 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-06 07:31:40,895 - DEBUG - Verifying the vn in opserver 2024-09-06 07:31:40,895 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-92043195 virtual network link through opserver 10.0.0.32 2024-09-06 07:31:40,895 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-09-06 07:31:41,191 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-09-06 07:31:41,253 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-92043195', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-92043195?flat'} 2024-09-06 07:31:41,253 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-92043195 is found in opserver 2024-09-06 07:31:41,265 - DEBUG - Do not have enough data to verify VN in agent 2024-09-06 07:31:41,271 - DEBUG - VRF ids for VN ctest-vn-92043195: {} 2024-09-06 07:31:41,271 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-06 07:31:41,277 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5a162ab8-7247-45da-b7c2-506ce8c71b18 2024-09-06 07:31:41,289 - DEBUG - Requesting: http://10.0.0.32:8082/project/36d418cf-c406-4c28-8f13-c006f020c21f 2024-09-06 07:31:41,385 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/8107bc23-0529-48c9-b220-8151e8ab8876 2024-09-06 07:31:41,396 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/8107bc23-0529-48c9-b220-8151e8ab8876 2024-09-06 07:31:41,405 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7f462d4e-d3c0-433b-b47c-594f0a6a465f 2024-09-06 07:31:41,412 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7f462d4e-d3c0-433b-b47c-594f0a6a465f 2024-09-06 07:31:41,419 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/4068637d-c88b-4b46-a02f-94d1865fa96c 2024-09-06 07:31:41,426 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-06 07:31:41,426 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/8107bc23-0529-48c9-b220-8151e8ab8876 2024-09-06 07:31:41,434 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7f462d4e-d3c0-433b-b47c-594f0a6a465f 2024-09-06 07:31:41,446 - INFO - Verified VN network id 9 for VN 8107bc23-0529-48c9-b220-8151e8ab8876 2024-09-06 07:31:41,446 - INFO - Verifications in API Server for VN ctest-vn-03558847 passed 2024-09-06 07:31:41,446 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/8107bc23-0529-48c9-b220-8151e8ab8876 2024-09-06 07:31:41,455 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7f462d4e-d3c0-433b-b47c-594f0a6a465f 2024-09-06 07:31:41,463 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7f462d4e-d3c0-433b-b47c-594f0a6a465f 2024-09-06 07:31:41,469 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/4068637d-c88b-4b46-a02f-94d1865fa96c 2024-09-06 07:31:41,481 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-03558847', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30978643', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9297606814326147273', 'uuid-lslong': '12835401126801803382'}, 'enable': 'true', 'created': '2024-09-06T07:31:39', 'last-modified': '2024-09-06T07:31:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.418639'} 2024-09-06 07:31:41,487 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-06 07:31:41,488 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03558847 passed 2024-09-06 07:31:41,488 - DEBUG - ====Verifying policy data for ctest-vn-03558847 in API_Server ====== 2024-09-06 07:31:41,488 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-06 07:31:41,494 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5a162ab8-7247-45da-b7c2-506ce8c71b18 2024-09-06 07:31:41,507 - DEBUG - Requesting: http://10.0.0.32:8082/project/36d418cf-c406-4c28-8f13-c006f020c21f 2024-09-06 07:31:41,578 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/8107bc23-0529-48c9-b220-8151e8ab8876 2024-09-06 07:31:41,587 - DEBUG - ==>Verifying data for policy with id: 58add6aa-0c7f-4c1c-87c4-20fbb90cbb1c, fqn: ['default-domain', 'ctest-TestBasicPolicy-30978643', 'ctest-policy-allow-all-22624316'] 2024-09-06 07:31:41,587 - INFO - VN ctest-vn-03558847 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-06 07:31:41,587 - DEBUG - Verifying the vn in opserver 2024-09-06 07:31:41,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-03558847 virtual network link through opserver 10.0.0.32 2024-09-06 07:31:41,587 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-09-06 07:31:41,598 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-03558847', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-03558847?flat'} 2024-09-06 07:31:41,598 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-03558847 is found in opserver 2024-09-06 07:31:41,609 - DEBUG - Do not have enough data to verify VN in agent 2024-09-06 07:31:41,614 - DEBUG - VRF ids for VN ctest-vn-03558847: {} 2024-09-06 07:31:41,670 - DEBUG - Services list from nova: [, , ] 2024-09-06 07:31:42,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1858-1) 2024-09-06 07:31:43,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1858-1) 2024-09-06 07:31:43,958 - INFO - Waiting for VM ctest-TestBasicPolicy-30978643-93806368 to be up.. 2024-09-06 07:31:44,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-06 07:31:49,130 - DEBUG - VM is in ACTIVE state now 2024-09-06 07:31:49,130 - INFO - VM name : ctest-TestBasicPolicy-30978643-93806368 2024-09-06 07:31:49,220 - DEBUG - VM ctest-TestBasicPolicy-30978643-93806368 ID is ac7ae5e2-a875-4d6f-ae59-ae295998b592 2024-09-06 07:31:49,244 - DEBUG - VM ctest-TestBasicPolicy-30978643-93806368 launched on Node cn-jenkins-deploy-platform-ansible-os-1858-1 2024-09-06 07:31:49,346 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/ac7ae5e2-a875-4d6f-ae59-ae295998b592 2024-09-06 07:31:49,357 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/0dce636c-3a59-4de7-b1f2-509265ccbaa4 2024-09-06 07:31:52,639 - 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 1022ms') 2024-09-06 07:31:52,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30978643-93806368 failed! 2024-09-06 07:31:52,701 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30978643:ctest-vn-92043195 is 107.42.79.65 and allocation pool is NOT set 2024-09-06 07:31:54,758 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.848 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.848/2.117/3.387/1.269 ms') 2024-09-06 07:31:54,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30978643-93806368 passed 2024-09-06 07:31:54,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 07:31:54,914 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30978643-93806368, IP 107.42.79.67, Port 22 2024-09-06 07:31:55,068 - DEBUG - VM ctest-TestBasicPolicy-30978643-93806368 is ready for SSH connections 2024-09-06 07:31:55,068 - INFO - Waiting for VM ctest-TestBasicPolicy-30978643-89539203 to be up.. 2024-09-06 07:31:55,152 - DEBUG - VM is in ACTIVE state now 2024-09-06 07:31:55,152 - INFO - VM name : ctest-TestBasicPolicy-30978643-89539203 2024-09-06 07:31:55,234 - DEBUG - VM ctest-TestBasicPolicy-30978643-89539203 ID is 6df91863-c24c-4453-9af9-f8be61fd40db 2024-09-06 07:31:55,235 - DEBUG - VM ctest-TestBasicPolicy-30978643-89539203 launched on Node cn-jenkins-deploy-platform-ansible-os-1858-1 2024-09-06 07:31:55,320 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/6df91863-c24c-4453-9af9-f8be61fd40db 2024-09-06 07:31:55,330 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/4229a912-3cc4-438b-bf07-e3cc3e323aca 2024-09-06 07:31:56,569 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.73 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.732/3.015/4.298/1.283 ms') 2024-09-06 07:31:56,569 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30978643-89539203 passed 2024-09-06 07:31:56,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 07:31:56,718 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30978643-89539203, IP 56.146.89.195, Port 22 2024-09-06 07:31:56,873 - DEBUG - VM ctest-TestBasicPolicy-30978643-89539203 is ready for SSH connections 2024-09-06 07:31:56,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 07:31:56,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.146.89.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-06 07:31:56,873 - DEBUG - ping -s 56 -c 3 -W 1 56.146.89.195 2024-09-06 07:32:00,940 - DEBUG - PING 56.146.89.195 (56.146.89.195): 56 data bytes 64 bytes from 56.146.89.195: seq=0 ttl=63 time=4.183 ms 64 bytes from 56.146.89.195: seq=1 ttl=63 time=0.998 ms 64 bytes from 56.146.89.195: seq=2 ttl=63 time=1.011 ms --- 56.146.89.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/2.064/4.183 ms 2024-09-06 07:32:00,940 - INFO - Ping to IP 56.146.89.195 from VM ctest-TestBasicPolicy-30978643-93806368 passed 2024-09-06 07:32:01,117 - DEBUG - Policy Update Response {"network-policy": {"uuid": "58add6aa-0c7f-4c1c-87c4-20fbb90cbb1c", "href": "http://10.0.0.32:8082/network-policy/58add6aa-0c7f-4c1c-87c4-20fbb90cbb1c"}} 2024-09-06 07:32:01,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 07:32:01,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.146.89.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-06 07:32:01,118 - DEBUG - ping -s 56 -c 3 -W 1 56.146.89.195 2024-09-06 07:32:04,337 - DEBUG - PING 56.146.89.195 (56.146.89.195): 56 data bytes 64 bytes from 56.146.89.195: seq=0 ttl=63 time=1.542 ms --- 56.146.89.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.542/1.542/1.542 ms 2024-09-06 07:32:04,338 - WARNING - Ping to IP 56.146.89.195 from VM ctest-TestBasicPolicy-30978643-93806368 failed 2024-09-06 07:32:04,338 - INFO - Deleting VM ctest-TestBasicPolicy-30978643-89539203 2024-09-06 07:32:04,416 - INFO - Deleting VM ctest-TestBasicPolicy-30978643-93806368 2024-09-06 07:32:04,844 - INFO - Deleted policy ctest-policy-allow-all-22624316 2024-09-06 07:32:04,844 - INFO - Deleting VN ctest-vn-03558847 2024-09-06 07:32:04,889 - DEBUG - VN 8107bc23-0529-48c9-b220-8151e8ab8876 still in use: Unable to complete operation on network 8107bc23-0529-48c9-b220-8151e8ab8876. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5782cdf-4989-4710-83ac-5d09623a4a4c'] 2024-09-06 07:32:04,889 - WARNING - Deleting VN ctest-vn-03558847 failed..Will retry 2024-09-06 07:32:07,009 - DEBUG - Response for deleting network () 2024-09-06 07:32:07,009 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7f462d4e-d3c0-433b-b47c-594f0a6a465f 2024-09-06 07:32:07,017 - DEBUG - Response Code: 404 2024-09-06 07:32:07,018 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-06 07:32:07,024 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5a162ab8-7247-45da-b7c2-506ce8c71b18 2024-09-06 07:32:07,079 - DEBUG - Requesting: http://10.0.0.32:8082/project/36d418cf-c406-4c28-8f13-c006f020c21f 2024-09-06 07:32:07,150 - INFO - Validated that VN ctest-vn-03558847 is not found in API Server 2024-09-06 07:32:07,162 - DEBUG - VN ctest-vn-03558847 is not present in Agent 10.0.0.32 2024-09-06 07:32:07,162 - INFO - Validated that VN ctest-vn-03558847 is not in any agent 2024-09-06 07:32:07,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03558847 info 2024-09-06 07:32:07,177 - INFO - Deleting VN ctest-vn-92043195 2024-09-06 07:32:07,284 - DEBUG - Response for deleting network () 2024-09-06 07:32:07,284 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/54cab470-b7e5-4de9-a427-ed4ad2e4e013 2024-09-06 07:32:07,290 - DEBUG - Response Code: 404 2024-09-06 07:32:07,290 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-06 07:32:07,301 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5a162ab8-7247-45da-b7c2-506ce8c71b18 2024-09-06 07:32:07,359 - DEBUG - Requesting: http://10.0.0.32:8082/project/36d418cf-c406-4c28-8f13-c006f020c21f 2024-09-06 07:32:07,427 - INFO - Validated that VN ctest-vn-92043195 is not found in API Server 2024-09-06 07:32:07,439 - DEBUG - VN ctest-vn-92043195 is not present in Agent 10.0.0.32 2024-09-06 07:32:07,439 - INFO - Validated that VN ctest-vn-92043195 is not in any agent 2024-09-06 07:32:07,455 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92043195 info 2024-09-06 07:32:07,711 - DEBUG - No XMPP flaps were noticed during the test
2024-09-06 07:32:07,711 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2024-09-06 07:32:07,711 - INFO - -------------------------------------------------------------------------------- 2024-09-06 07:32:08,395 - INFO - Deleted project: ctest-TestBasicPolicy-30978643, ID : 36d418cf-c406-4c28-8f13-c006f020c21f