2024-09-03 17:10:37,449 - INFO - Domain Default found not creating 2024-09-03 17:10:37,599 - INFO - Project ctest-TestBasicPolicy-88803225 not found, creating it 2024-09-03 17:10:38,048 - INFO - Created Project:ctest-TestBasicPolicy-88803225, ID : c85f9ab5-df3f-401d-a715-498f0bf59bb1 2024-09-03 17:10:39,611 - INFO - ================================================================================ 2024-09-03 17:10:39,611 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-03 17:10:39,611 - 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-03 17:10:39,869 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.17': '0'}} with 2024-09-03 17:10:39,869 - INFO - Initial checks done. Running the testcase now 2024-09-03 17:10:39,869 - INFO - 2024-09-03 17:10:40,424 - DEBUG - Response for create_network : {'network': {'id': 'f269db55-c462-4387-b833-ae4961b75f24', 'name': 'ctest-vn-65697714', 'tenant_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'project_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88803225', 'ctest-vn-65697714'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 17:10:40,638 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b87881ea-5551-4a0f-bfb2-5fde356c29d0', 'name': '', 'tenant_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'network_id': 'f269db55-c462-4387-b833-ae4961b75f24', 'ip_version': 4, 'cidr': '81.9.181.0/26', 'allocation_pools': [{'start': '81.9.181.2', 'end': '81.9.181.62'}], 'gateway_ip': '81.9.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.9.181.2', 'tags': [], 'project_id': 'c85f9ab5df3f401da715498f0bf59bb1'}} 2024-09-03 17:10:40,659 - INFO - Created VN ctest-vn-65697714 2024-09-03 17:10:40,711 - DEBUG - VN ctest-vn-65697714 UUID is f269db55-c462-4387-b833-ae4961b75f24 2024-09-03 17:10:40,991 - DEBUG - Response for create_network : {'network': {'id': 'd3caae88-754b-47f4-b952-8c0ff4101cbe', 'name': 'ctest-vn-50722007', 'tenant_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'project_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88803225', 'ctest-vn-50722007'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 17:10:41,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '2299157e-5a0c-4a3a-8cab-7629056c588c', 'name': '', 'tenant_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'network_id': 'd3caae88-754b-47f4-b952-8c0ff4101cbe', 'ip_version': 4, 'cidr': '211.169.161.192/26', 'allocation_pools': [{'start': '211.169.161.194', 'end': '211.169.161.254'}], 'gateway_ip': '211.169.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.169.161.194', 'tags': [], 'project_id': 'c85f9ab5df3f401da715498f0bf59bb1'}} 2024-09-03 17:10:41,204 - INFO - Created VN ctest-vn-50722007 2024-09-03 17:10:41,255 - DEBUG - VN ctest-vn-50722007 UUID is d3caae88-754b-47f4-b952-8c0ff4101cbe 2024-09-03 17:10:41,403 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-65697714, 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-88803225:ctest-vn-50722007, 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-03 17:10:41,699 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f269db55-c462-4387-b833-ae4961b75f24', 'name': 'ctest-vn-65697714', 'tenant_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'project_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b87881ea-5551-4a0f-bfb2-5fde356c29d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88803225', 'ctest-vn-65697714'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88803225', 'ctest-policy-allow-all-51005620']], 'subnet_ipam': [{'subnet_cidr': '81.9.181.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-03 17:10:41,939 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3caae88-754b-47f4-b952-8c0ff4101cbe', 'name': 'ctest-vn-50722007', 'tenant_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'project_id': 'c85f9ab5df3f401da715498f0bf59bb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2299157e-5a0c-4a3a-8cab-7629056c588c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88803225', 'ctest-vn-50722007'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88803225', 'ctest-policy-allow-all-51005620']], 'subnet_ipam': [{'subnet_cidr': '211.169.161.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-03 17:10:42,099 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-03 17:10:42,396 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-03 17:10:42,426 - DEBUG - Requesting: http://10.0.0.17:8082/domain/976809cf-3c4c-4166-a465-10b2e2220ba2 2024-09-03 17:10:42,439 - DEBUG - Requesting: http://10.0.0.17:8082/project/c85f9ab5-df3f-401d-a715-498f0bf59bb1 2024-09-03 17:10:42,506 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f269db55-c462-4387-b833-ae4961b75f24 2024-09-03 17:10:42,516 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f269db55-c462-4387-b833-ae4961b75f24 2024-09-03 17:10:42,523 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc35dd6f-d0c3-474d-b086-cad523456a1a 2024-09-03 17:10:42,530 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc35dd6f-d0c3-474d-b086-cad523456a1a 2024-09-03 17:10:42,537 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/e3db4e6f-a048-4b84-b134-46653dc907a9 2024-09-03 17:10:42,543 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-03 17:10:42,543 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f269db55-c462-4387-b833-ae4961b75f24 2024-09-03 17:10:42,552 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc35dd6f-d0c3-474d-b086-cad523456a1a 2024-09-03 17:10:42,567 - INFO - Verified VN network id 8 for VN f269db55-c462-4387-b833-ae4961b75f24 2024-09-03 17:10:42,567 - INFO - Verifications in API Server for VN ctest-vn-65697714 passed 2024-09-03 17:10:42,567 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f269db55-c462-4387-b833-ae4961b75f24 2024-09-03 17:10:42,576 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc35dd6f-d0c3-474d-b086-cad523456a1a 2024-09-03 17:10:42,582 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc35dd6f-d0c3-474d-b086-cad523456a1a 2024-09-03 17:10:42,589 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/e3db4e6f-a048-4b84-b134-46653dc907a9 2024-09-03 17:10:42,601 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-65697714', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88803225', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17467733791146656647', 'uuid-lslong': '13273144156986236708'}, 'enable': 'true', 'created': '2024-09-03T17:10:40', 'last-modified': '2024-09-03T17:10:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925034'} 2024-09-03 17:10:42,607 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-03 17:10:42,607 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65697714 passed 2024-09-03 17:10:42,607 - DEBUG - ====Verifying policy data for ctest-vn-65697714 in API_Server ====== 2024-09-03 17:10:42,607 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-03 17:10:42,613 - DEBUG - Requesting: http://10.0.0.17:8082/domain/976809cf-3c4c-4166-a465-10b2e2220ba2 2024-09-03 17:10:42,624 - DEBUG - Requesting: http://10.0.0.17:8082/project/c85f9ab5-df3f-401d-a715-498f0bf59bb1 2024-09-03 17:10:42,689 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/f269db55-c462-4387-b833-ae4961b75f24 2024-09-03 17:10:42,697 - DEBUG - ==>Verifying data for policy with id: 5eff55b2-873d-4a7c-b41d-17c2b0f18142, fqn: ['default-domain', 'ctest-TestBasicPolicy-88803225', 'ctest-policy-allow-all-51005620'] 2024-09-03 17:10:42,697 - INFO - VN ctest-vn-65697714 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-03 17:10:42,697 - DEBUG - Verifying the vn in opserver 2024-09-03 17:10:42,697 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-65697714 virtual network link through opserver 10.0.0.17 2024-09-03 17:10:42,697 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-03 17:10:42,990 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-03 17:10:43,055 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-65697714', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-65697714?flat'} 2024-09-03 17:10:43,055 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-65697714 is found in opserver 2024-09-03 17:10:43,067 - DEBUG - Do not have enough data to verify VN in agent 2024-09-03 17:10:43,072 - DEBUG - VRF ids for VN ctest-vn-65697714: {} 2024-09-03 17:10:43,072 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-03 17:10:43,079 - DEBUG - Requesting: http://10.0.0.17:8082/domain/976809cf-3c4c-4166-a465-10b2e2220ba2 2024-09-03 17:10:43,094 - DEBUG - Requesting: http://10.0.0.17:8082/project/c85f9ab5-df3f-401d-a715-498f0bf59bb1 2024-09-03 17:10:43,165 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d3caae88-754b-47f4-b952-8c0ff4101cbe 2024-09-03 17:10:43,175 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d3caae88-754b-47f4-b952-8c0ff4101cbe 2024-09-03 17:10:43,183 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/69b4d104-7746-4ada-97c0-ccfa63569dff 2024-09-03 17:10:43,189 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/69b4d104-7746-4ada-97c0-ccfa63569dff 2024-09-03 17:10:43,196 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/7cb5f18e-2da4-4883-8232-335b4ce08b70 2024-09-03 17:10:43,202 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-03 17:10:43,202 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d3caae88-754b-47f4-b952-8c0ff4101cbe 2024-09-03 17:10:43,209 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/69b4d104-7746-4ada-97c0-ccfa63569dff 2024-09-03 17:10:43,219 - INFO - Verified VN network id 9 for VN d3caae88-754b-47f4-b952-8c0ff4101cbe 2024-09-03 17:10:43,219 - INFO - Verifications in API Server for VN ctest-vn-50722007 passed 2024-09-03 17:10:43,219 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d3caae88-754b-47f4-b952-8c0ff4101cbe 2024-09-03 17:10:43,228 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/69b4d104-7746-4ada-97c0-ccfa63569dff 2024-09-03 17:10:43,234 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/69b4d104-7746-4ada-97c0-ccfa63569dff 2024-09-03 17:10:43,241 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/7cb5f18e-2da4-4883-8232-335b4ce08b70 2024-09-03 17:10:43,253 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-50722007', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88803225', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15261202188405000180', 'uuid-lslong': '13353889845254036670'}, 'enable': 'true', 'created': '2024-09-03T17:10:40', 'last-modified': '2024-09-03T17:10:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343469'} 2024-09-03 17:10:43,260 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-03 17:10:43,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50722007 passed 2024-09-03 17:10:43,260 - DEBUG - ====Verifying policy data for ctest-vn-50722007 in API_Server ====== 2024-09-03 17:10:43,260 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-03 17:10:43,266 - DEBUG - Requesting: http://10.0.0.17:8082/domain/976809cf-3c4c-4166-a465-10b2e2220ba2 2024-09-03 17:10:43,277 - DEBUG - Requesting: http://10.0.0.17:8082/project/c85f9ab5-df3f-401d-a715-498f0bf59bb1 2024-09-03 17:10:43,344 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d3caae88-754b-47f4-b952-8c0ff4101cbe 2024-09-03 17:10:43,353 - DEBUG - ==>Verifying data for policy with id: 5eff55b2-873d-4a7c-b41d-17c2b0f18142, fqn: ['default-domain', 'ctest-TestBasicPolicy-88803225', 'ctest-policy-allow-all-51005620'] 2024-09-03 17:10:43,353 - INFO - VN ctest-vn-50722007 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-03 17:10:43,353 - DEBUG - Verifying the vn in opserver 2024-09-03 17:10:43,353 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-50722007 virtual network link through opserver 10.0.0.17 2024-09-03 17:10:43,353 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-03 17:10:43,364 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-50722007', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-50722007?flat'} 2024-09-03 17:10:43,364 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-50722007 is found in opserver 2024-09-03 17:10:43,375 - DEBUG - Do not have enough data to verify VN in agent 2024-09-03 17:10:43,380 - DEBUG - VRF ids for VN ctest-vn-50722007: {} 2024-09-03 17:10:43,431 - DEBUG - Services list from nova: [, , ] 2024-09-03 17:10:44,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1839-1) 2024-09-03 17:10:45,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1839-1) 2024-09-03 17:10:45,654 - INFO - Waiting for VM ctest-TestBasicPolicy-88803225-60310893 to be up.. 2024-09-03 17:10:45,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 17:10:50,825 - DEBUG - VM is in ACTIVE state now 2024-09-03 17:10:50,825 - INFO - VM name : ctest-TestBasicPolicy-88803225-60310893 2024-09-03 17:10:50,901 - DEBUG - VM ctest-TestBasicPolicy-88803225-60310893 ID is 5fe1c44b-c2e6-4714-a3ff-500a3a513349 2024-09-03 17:10:50,919 - DEBUG - VM ctest-TestBasicPolicy-88803225-60310893 launched on Node cn-jenkins-deploy-platform-ansible-os-1839-1 2024-09-03 17:10:50,996 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/5fe1c44b-c2e6-4714-a3ff-500a3a513349 2024-09-03 17:10:51,005 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/ab433892-3848-4332-9a96-e7afaab06b17 2024-09-03 17:10:54,260 - 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 1008ms') 2024-09-03 17:10:54,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88803225-60310893 failed! 2024-09-03 17:10:54,311 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88803225:ctest-vn-65697714 is 81.9.181.1 and allocation pool is NOT set 2024-09-03 17:10:56,367 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.03 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 = 2.032/3.134/4.236/1.102 ms') 2024-09-03 17:10:56,367 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88803225-60310893 passed 2024-09-03 17:10:56,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:10:56,519 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88803225-60310893, IP 81.9.181.3, Port 22 2024-09-03 17:10:56,675 - DEBUG - VM ctest-TestBasicPolicy-88803225-60310893 is ready for SSH connections 2024-09-03 17:10:56,675 - INFO - Waiting for VM ctest-TestBasicPolicy-88803225-89649470 to be up.. 2024-09-03 17:10:56,748 - DEBUG - VM is in ACTIVE state now 2024-09-03 17:10:56,748 - INFO - VM name : ctest-TestBasicPolicy-88803225-89649470 2024-09-03 17:10:56,820 - DEBUG - VM ctest-TestBasicPolicy-88803225-89649470 ID is 15a6a625-ab36-4a85-a605-e88cce35bd52 2024-09-03 17:10:56,820 - DEBUG - VM ctest-TestBasicPolicy-88803225-89649470 launched on Node cn-jenkins-deploy-platform-ansible-os-1839-1 2024-09-03 17:10:56,896 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/15a6a625-ab36-4a85-a605-e88cce35bd52 2024-09-03 17:10:56,904 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/e3351f32-0d43-4a2f-b157-d0f24d8c97c0 2024-09-03 17:10:58,137 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.799 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.799/2.822/4.846/2.023 ms') 2024-09-03 17:10:58,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88803225-89649470 passed 2024-09-03 17:10:58,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:10:58,287 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88803225-89649470, IP 211.169.161.195, Port 22 2024-09-03 17:10:58,438 - DEBUG - VM ctest-TestBasicPolicy-88803225-89649470 is ready for SSH connections 2024-09-03 17:10:58,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:10:58,439 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.169.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-03 17:10:58,439 - DEBUG - ping -s 56 -c 3 -W 1 211.169.161.195 2024-09-03 17:11:02,122 - DEBUG - PING 211.169.161.195 (211.169.161.195): 56 data bytes 64 bytes from 211.169.161.195: seq=0 ttl=63 time=3.723 ms 64 bytes from 211.169.161.195: seq=1 ttl=63 time=0.782 ms 64 bytes from 211.169.161.195: seq=2 ttl=63 time=0.977 ms --- 211.169.161.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.827/3.723 ms 2024-09-03 17:11:02,122 - INFO - Ping to IP 211.169.161.195 from VM ctest-TestBasicPolicy-88803225-60310893 passed 2024-09-03 17:11:02,303 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5eff55b2-873d-4a7c-b41d-17c2b0f18142", "href": "http://10.0.0.17:8082/network-policy/5eff55b2-873d-4a7c-b41d-17c2b0f18142"}} 2024-09-03 17:11:02,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:11:02,303 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.169.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-03 17:11:02,303 - DEBUG - ping -s 56 -c 3 -W 1 211.169.161.195 2024-09-03 17:11:05,503 - DEBUG - PING 211.169.161.195 (211.169.161.195): 56 data bytes --- 211.169.161.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-03 17:11:05,504 - WARNING - Ping to IP 211.169.161.195 from VM ctest-TestBasicPolicy-88803225-60310893 failed 2024-09-03 17:11:05,504 - INFO - Deleting VM ctest-TestBasicPolicy-88803225-89649470 2024-09-03 17:11:05,563 - INFO - Deleting VM ctest-TestBasicPolicy-88803225-60310893 2024-09-03 17:11:05,910 - INFO - Deleted policy ctest-policy-allow-all-51005620 2024-09-03 17:11:05,910 - INFO - Deleting VN ctest-vn-50722007 2024-09-03 17:11:05,948 - DEBUG - VN d3caae88-754b-47f4-b952-8c0ff4101cbe still in use: Unable to complete operation on network d3caae88-754b-47f4-b952-8c0ff4101cbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe89c7b8-1d25-40e2-89b4-83b4eac5c30f'] 2024-09-03 17:11:05,948 - WARNING - Deleting VN ctest-vn-50722007 failed..Will retry 2024-09-03 17:11:08,052 - DEBUG - Response for deleting network () 2024-09-03 17:11:08,052 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/69b4d104-7746-4ada-97c0-ccfa63569dff 2024-09-03 17:11:08,059 - DEBUG - Response Code: 404 2024-09-03 17:11:08,059 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-03 17:11:08,065 - DEBUG - Requesting: http://10.0.0.17:8082/domain/976809cf-3c4c-4166-a465-10b2e2220ba2 2024-09-03 17:11:08,120 - DEBUG - Requesting: http://10.0.0.17:8082/project/c85f9ab5-df3f-401d-a715-498f0bf59bb1 2024-09-03 17:11:08,189 - INFO - Validated that VN ctest-vn-50722007 is not found in API Server 2024-09-03 17:11:08,201 - DEBUG - VN ctest-vn-50722007 is not present in Agent 10.0.0.17 2024-09-03 17:11:08,201 - INFO - Validated that VN ctest-vn-50722007 is not in any agent 2024-09-03 17:11:08,216 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50722007 info 2024-09-03 17:11:08,216 - INFO - Deleting VN ctest-vn-65697714 2024-09-03 17:11:08,321 - DEBUG - Response for deleting network () 2024-09-03 17:11:08,321 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc35dd6f-d0c3-474d-b086-cad523456a1a 2024-09-03 17:11:08,328 - DEBUG - Response Code: 404 2024-09-03 17:11:08,328 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-03 17:11:08,335 - DEBUG - Requesting: http://10.0.0.17:8082/domain/976809cf-3c4c-4166-a465-10b2e2220ba2 2024-09-03 17:11:08,392 - DEBUG - Requesting: http://10.0.0.17:8082/project/c85f9ab5-df3f-401d-a715-498f0bf59bb1 2024-09-03 17:11:08,462 - INFO - Validated that VN ctest-vn-65697714 is not found in API Server 2024-09-03 17:11:08,473 - DEBUG - VN ctest-vn-65697714 is not present in Agent 10.0.0.17 2024-09-03 17:11:08,473 - INFO - Validated that VN ctest-vn-65697714 is not in any agent 2024-09-03 17:11:08,488 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65697714 info 2024-09-03 17:11:08,740 - DEBUG - No XMPP flaps were noticed during the test 2024-09-03 17:11:08,740 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-09-03 17:11:08,740 - INFO - -------------------------------------------------------------------------------- 2024-09-03 17:11:09,422 - INFO - Deleted project: ctest-TestBasicPolicy-88803225, ID : c85f9ab5-df3f-401d-a715-498f0bf59bb1