2024-09-10 11:28:03,959 - INFO - Domain Default found not creating 2024-09-10 11:28:04,152 - INFO - Project ctest-TestBasicPolicy-71545038 not found, creating it 2024-09-10 11:28:04,652 - INFO - Created Project:ctest-TestBasicPolicy-71545038, ID : 0952aa39-e8f2-40ed-9867-b2cee5867a37 2024-09-10 11:28:06,244 - INFO - ================================================================================ 2024-09-10 11:28:06,244 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-10 11:28:06,244 - 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-10 11:28:06,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.8': '0'}} with 2024-09-10 11:28:06,500 - INFO - Initial checks done. Running the testcase now 2024-09-10 11:28:06,500 - INFO - 2024-09-10 11:28:07,070 - DEBUG - Response for create_network : {'network': {'id': '8daba009-11b1-40ba-937c-dd1e83f637bb', 'name': 'ctest-vn-94554119', 'tenant_id': '0952aa39e8f240ed9867b2cee5867a37', 'project_id': '0952aa39e8f240ed9867b2cee5867a37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71545038', 'ctest-vn-94554119'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 11:28:07,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f20f037-a964-4e87-87a5-d490eefef077', 'name': '', 'tenant_id': '0952aa39e8f240ed9867b2cee5867a37', 'network_id': '8daba009-11b1-40ba-937c-dd1e83f637bb', 'ip_version': 4, 'cidr': '3.216.114.192/26', 'allocation_pools': [{'start': '3.216.114.194', 'end': '3.216.114.254'}], 'gateway_ip': '3.216.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.216.114.194', 'tags': [], 'project_id': '0952aa39e8f240ed9867b2cee5867a37'}} 2024-09-10 11:28:07,280 - INFO - Created VN ctest-vn-94554119 2024-09-10 11:28:07,333 - DEBUG - VN ctest-vn-94554119 UUID is 8daba009-11b1-40ba-937c-dd1e83f637bb 2024-09-10 11:28:07,675 - DEBUG - Response for create_network : {'network': {'id': 'e1cef9c1-f29e-4417-adbb-f6b7c59dce62', 'name': 'ctest-vn-96942248', 'tenant_id': '0952aa39e8f240ed9867b2cee5867a37', 'project_id': '0952aa39e8f240ed9867b2cee5867a37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71545038', 'ctest-vn-96942248'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 11:28:07,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '05c41695-e80f-4315-a358-3d35936b5cdf', 'name': '', 'tenant_id': '0952aa39e8f240ed9867b2cee5867a37', 'network_id': 'e1cef9c1-f29e-4417-adbb-f6b7c59dce62', 'ip_version': 4, 'cidr': '171.114.247.64/26', 'allocation_pools': [{'start': '171.114.247.66', 'end': '171.114.247.126'}], 'gateway_ip': '171.114.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.114.247.66', 'tags': [], 'project_id': '0952aa39e8f240ed9867b2cee5867a37'}} 2024-09-10 11:28:07,918 - INFO - Created VN ctest-vn-96942248 2024-09-10 11:28:07,972 - DEBUG - VN ctest-vn-96942248 UUID is e1cef9c1-f29e-4417-adbb-f6b7c59dce62 2024-09-10 11:28:08,106 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-94554119, 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-71545038:ctest-vn-96942248, 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-10 11:28:08,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8daba009-11b1-40ba-937c-dd1e83f637bb', 'name': 'ctest-vn-94554119', 'tenant_id': '0952aa39e8f240ed9867b2cee5867a37', 'project_id': '0952aa39e8f240ed9867b2cee5867a37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f20f037-a964-4e87-87a5-d490eefef077'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71545038', 'ctest-vn-94554119'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71545038', 'ctest-policy-allow-all-43652489']], 'subnet_ipam': [{'subnet_cidr': '3.216.114.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-10 11:28:08,681 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e1cef9c1-f29e-4417-adbb-f6b7c59dce62', 'name': 'ctest-vn-96942248', 'tenant_id': '0952aa39e8f240ed9867b2cee5867a37', 'project_id': '0952aa39e8f240ed9867b2cee5867a37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['05c41695-e80f-4315-a358-3d35936b5cdf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71545038', 'ctest-vn-96942248'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71545038', 'ctest-policy-allow-all-43652489']], 'subnet_ipam': [{'subnet_cidr': '171.114.247.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-10 11:28:08,861 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-09-10 11:28:09,169 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-09-10 11:28:09,214 - DEBUG - Requesting: http://10.0.0.30:8082/domain/811f6376-797c-47c5-ae2b-a11059a65dff 2024-09-10 11:28:09,232 - DEBUG - Requesting: http://10.0.0.30:8082/project/0952aa39-e8f2-40ed-9867-b2cee5867a37 2024-09-10 11:28:09,317 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/8daba009-11b1-40ba-937c-dd1e83f637bb 2024-09-10 11:28:09,329 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/8daba009-11b1-40ba-937c-dd1e83f637bb 2024-09-10 11:28:09,340 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7a19d2d4-2fc1-4092-8883-018d1443560e 2024-09-10 11:28:09,351 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7a19d2d4-2fc1-4092-8883-018d1443560e 2024-09-10 11:28:09,362 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/2788249b-7244-417d-90b5-c3d389c8cd27 2024-09-10 11:28:09,371 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-10 11:28:09,371 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/8daba009-11b1-40ba-937c-dd1e83f637bb 2024-09-10 11:28:09,384 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7a19d2d4-2fc1-4092-8883-018d1443560e 2024-09-10 11:28:09,399 - INFO - Verified VN network id 8 for VN 8daba009-11b1-40ba-937c-dd1e83f637bb 2024-09-10 11:28:09,399 - INFO - Verifications in API Server for VN ctest-vn-94554119 passed 2024-09-10 11:28:09,399 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/8daba009-11b1-40ba-937c-dd1e83f637bb 2024-09-10 11:28:09,412 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7a19d2d4-2fc1-4092-8883-018d1443560e 2024-09-10 11:28:09,429 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7a19d2d4-2fc1-4092-8883-018d1443560e 2024-09-10 11:28:09,440 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/2788249b-7244-417d-90b5-c3d389c8cd27 2024-09-10 11:28:09,460 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-94554119', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71545038', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10208428941177340090', 'uuid-lslong': '10627612343820236731'}, 'enable': 'true', 'created': '2024-09-10T11:28:07', 'last-modified': '2024-09-10T11:28:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.064668'} 2024-09-10 11:28:09,469 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-10 11:28:09,469 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94554119 passed 2024-09-10 11:28:09,470 - DEBUG - ====Verifying policy data for ctest-vn-94554119 in API_Server ====== 2024-09-10 11:28:09,470 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-09-10 11:28:09,479 - DEBUG - Requesting: http://10.0.0.30:8082/domain/811f6376-797c-47c5-ae2b-a11059a65dff 2024-09-10 11:28:09,497 - DEBUG - Requesting: http://10.0.0.30:8082/project/0952aa39-e8f2-40ed-9867-b2cee5867a37 2024-09-10 11:28:09,635 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/8daba009-11b1-40ba-937c-dd1e83f637bb 2024-09-10 11:28:09,653 - DEBUG - ==>Verifying data for policy with id: bff042d0-dafb-491f-9d77-a6da84493562, fqn: ['default-domain', 'ctest-TestBasicPolicy-71545038', 'ctest-policy-allow-all-43652489'] 2024-09-10 11:28:09,653 - INFO - VN ctest-vn-94554119 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-10 11:28:09,653 - DEBUG - Verifying the vn in opserver 2024-09-10 11:28:09,654 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-94554119 virtual network link through opserver 10.0.0.30 2024-09-10 11:28:09,654 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-09-10 11:28:10,229 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-09-10 11:28:10,352 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-94554119', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-94554119?flat'} 2024-09-10 11:28:10,352 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-94554119 is found in opserver 2024-09-10 11:28:10,366 - DEBUG - Do not have enough data to verify VN in agent 2024-09-10 11:28:10,372 - DEBUG - VRF ids for VN ctest-vn-94554119: {} 2024-09-10 11:28:10,372 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-09-10 11:28:10,380 - DEBUG - Requesting: http://10.0.0.30:8082/domain/811f6376-797c-47c5-ae2b-a11059a65dff 2024-09-10 11:28:10,397 - DEBUG - Requesting: http://10.0.0.30:8082/project/0952aa39-e8f2-40ed-9867-b2cee5867a37 2024-09-10 11:28:10,474 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/e1cef9c1-f29e-4417-adbb-f6b7c59dce62 2024-09-10 11:28:10,488 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/e1cef9c1-f29e-4417-adbb-f6b7c59dce62 2024-09-10 11:28:10,499 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/3da97799-9eb0-49a0-8c2c-19e62dc67d97 2024-09-10 11:28:10,509 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/3da97799-9eb0-49a0-8c2c-19e62dc67d97 2024-09-10 11:28:10,519 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/e905ef56-5ae9-42c1-a3ec-b0d93b7b6155 2024-09-10 11:28:10,529 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-10 11:28:10,529 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/e1cef9c1-f29e-4417-adbb-f6b7c59dce62 2024-09-10 11:28:10,541 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/3da97799-9eb0-49a0-8c2c-19e62dc67d97 2024-09-10 11:28:10,559 - INFO - Verified VN network id 9 for VN e1cef9c1-f29e-4417-adbb-f6b7c59dce62 2024-09-10 11:28:10,559 - INFO - Verifications in API Server for VN ctest-vn-96942248 passed 2024-09-10 11:28:10,559 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/e1cef9c1-f29e-4417-adbb-f6b7c59dce62 2024-09-10 11:28:10,570 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/3da97799-9eb0-49a0-8c2c-19e62dc67d97 2024-09-10 11:28:10,580 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/3da97799-9eb0-49a0-8c2c-19e62dc67d97 2024-09-10 11:28:10,590 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/e905ef56-5ae9-42c1-a3ec-b0d93b7b6155 2024-09-10 11:28:10,606 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-96942248', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71545038', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16271217115130643479', 'uuid-lslong': '12518870858361327202'}, 'enable': 'true', 'created': '2024-09-10T11:28:07', 'last-modified': '2024-09-10T11:28:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.952850'} 2024-09-10 11:28:10,615 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-10 11:28:10,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96942248 passed 2024-09-10 11:28:10,616 - DEBUG - ====Verifying policy data for ctest-vn-96942248 in API_Server ====== 2024-09-10 11:28:10,616 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-09-10 11:28:10,625 - DEBUG - Requesting: http://10.0.0.30:8082/domain/811f6376-797c-47c5-ae2b-a11059a65dff 2024-09-10 11:28:10,643 - DEBUG - Requesting: http://10.0.0.30:8082/project/0952aa39-e8f2-40ed-9867-b2cee5867a37 2024-09-10 11:28:10,731 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/e1cef9c1-f29e-4417-adbb-f6b7c59dce62 2024-09-10 11:28:10,743 - DEBUG - ==>Verifying data for policy with id: bff042d0-dafb-491f-9d77-a6da84493562, fqn: ['default-domain', 'ctest-TestBasicPolicy-71545038', 'ctest-policy-allow-all-43652489'] 2024-09-10 11:28:10,743 - INFO - VN ctest-vn-96942248 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-10 11:28:10,743 - DEBUG - Verifying the vn in opserver 2024-09-10 11:28:10,743 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-96942248 virtual network link through opserver 10.0.0.30 2024-09-10 11:28:10,743 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-09-10 11:28:10,760 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-96942248', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-96942248?flat'} 2024-09-10 11:28:10,760 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-96942248 is found in opserver 2024-09-10 11:28:10,774 - DEBUG - Do not have enough data to verify VN in agent 2024-09-10 11:28:10,781 - DEBUG - VRF ids for VN ctest-vn-96942248: {} 2024-09-10 11:28:10,852 - DEBUG - Services list from nova: [, , ] 2024-09-10 11:28:12,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1882-1) 2024-09-10 11:28:13,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1882-1) 2024-09-10 11:28:13,425 - INFO - Waiting for VM ctest-TestBasicPolicy-71545038-44264246 to be up.. 2024-09-10 11:28:13,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-10 11:28:18,672 - DEBUG - VM is in ACTIVE state now 2024-09-10 11:28:18,672 - INFO - VM name : ctest-TestBasicPolicy-71545038-44264246 2024-09-10 11:28:18,779 - DEBUG - VM ctest-TestBasicPolicy-71545038-44264246 ID is d3977164-66dc-4617-9b5b-daca2be875da 2024-09-10 11:28:18,802 - DEBUG - VM ctest-TestBasicPolicy-71545038-44264246 launched on Node cn-jenkins-deploy-platform-ansible-os-1882-1 2024-09-10 11:28:18,903 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/d3977164-66dc-4617-9b5b-daca2be875da 2024-09-10 11:28:18,913 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/0384bfac-0296-42d7-81ed-ce5e0d6b106a 2024-09-10 11:28:22,175 - 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 1017ms') 2024-09-10 11:28:22,175 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71545038-44264246 failed! 2024-09-10 11:28:22,237 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71545038:ctest-vn-94554119 is 3.216.114.193 and allocation pool is NOT set 2024-09-10 11:28:24,310 - 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=5.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.477/3.072/5.667/2.595 ms') 2024-09-10 11:28:24,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71545038-44264246 passed 2024-09-10 11:28:24,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 11:28:24,465 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71545038-44264246, IP 3.216.114.195, Port 22 2024-09-10 11:28:24,635 - DEBUG - VM ctest-TestBasicPolicy-71545038-44264246 is ready for SSH connections 2024-09-10 11:28:24,635 - INFO - Waiting for VM ctest-TestBasicPolicy-71545038-87699974 to be up.. 2024-09-10 11:28:24,730 - DEBUG - VM is in ACTIVE state now 2024-09-10 11:28:24,730 - INFO - VM name : ctest-TestBasicPolicy-71545038-87699974 2024-09-10 11:28:24,817 - DEBUG - VM ctest-TestBasicPolicy-71545038-87699974 ID is bc440ae4-7d49-4007-a6b0-22ba1b956fb1 2024-09-10 11:28:24,817 - DEBUG - VM ctest-TestBasicPolicy-71545038-87699974 launched on Node cn-jenkins-deploy-platform-ansible-os-1882-1 2024-09-10 11:28:24,897 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/bc440ae4-7d49-4007-a6b0-22ba1b956fb1 2024-09-10 11:28:24,908 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/1ab6d8c8-405d-47ac-bdc4-0a0e20e476bd 2024-09-10 11:28:26,160 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.86 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.862/3.074/4.286/1.212 ms') 2024-09-10 11:28:26,160 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71545038-87699974 passed 2024-09-10 11:28:26,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 11:28:26,321 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71545038-87699974, IP 171.114.247.67, Port 22 2024-09-10 11:28:26,486 - DEBUG - VM ctest-TestBasicPolicy-71545038-87699974 is ready for SSH connections 2024-09-10 11:28:26,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 11:28:26,487 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.114.247.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-09-10 11:28:26,487 - DEBUG - ping -s 56 -c 3 -W 1 171.114.247.67 2024-09-10 11:28:30,517 - DEBUG - PING 171.114.247.67 (171.114.247.67): 56 data bytes 64 bytes from 171.114.247.67: seq=0 ttl=63 time=4.736 ms 64 bytes from 171.114.247.67: seq=1 ttl=63 time=1.307 ms 64 bytes from 171.114.247.67: seq=2 ttl=63 time=1.484 ms --- 171.114.247.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.307/2.509/4.736 ms 2024-09-10 11:28:30,517 - INFO - Ping to IP 171.114.247.67 from VM ctest-TestBasicPolicy-71545038-44264246 passed 2024-09-10 11:28:30,721 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bff042d0-dafb-491f-9d77-a6da84493562", "href": "http://10.0.0.30:8082/network-policy/bff042d0-dafb-491f-9d77-a6da84493562"}} 2024-09-10 11:28:30,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 11:28:30,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.114.247.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-09-10 11:28:30,721 - DEBUG - ping -s 56 -c 3 -W 1 171.114.247.67 2024-09-10 11:28:33,934 - DEBUG - PING 171.114.247.67 (171.114.247.67): 56 data bytes 64 bytes from 171.114.247.67: seq=0 ttl=63 time=3.001 ms --- 171.114.247.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.001/3.001/3.001 ms 2024-09-10 11:28:33,934 - WARNING - Ping to IP 171.114.247.67 from VM ctest-TestBasicPolicy-71545038-44264246 failed 2024-09-10 11:28:33,934 - INFO - Deleting VM ctest-TestBasicPolicy-71545038-87699974 2024-09-10 11:28:34,002 - INFO - Deleting VM ctest-TestBasicPolicy-71545038-44264246 2024-09-10 11:28:34,442 - INFO - Deleted policy ctest-policy-allow-all-43652489 2024-09-10 11:28:34,442 - INFO - Deleting VN ctest-vn-96942248 2024-09-10 11:28:34,501 - DEBUG - VN e1cef9c1-f29e-4417-adbb-f6b7c59dce62 still in use: Unable to complete operation on network e1cef9c1-f29e-4417-adbb-f6b7c59dce62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-813c544d-c663-406d-b75e-6b5b5f6eba50'] 2024-09-10 11:28:34,502 - WARNING - Deleting VN ctest-vn-96942248 failed..Will retry 2024-09-10 11:28:36,616 - DEBUG - Response for deleting network () 2024-09-10 11:28:36,616 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/3da97799-9eb0-49a0-8c2c-19e62dc67d97 2024-09-10 11:28:36,625 - DEBUG - Response Code: 404 2024-09-10 11:28:36,626 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-09-10 11:28:36,633 - DEBUG - Requesting: http://10.0.0.30:8082/domain/811f6376-797c-47c5-ae2b-a11059a65dff 2024-09-10 11:28:36,686 - DEBUG - Requesting: http://10.0.0.30:8082/project/0952aa39-e8f2-40ed-9867-b2cee5867a37 2024-09-10 11:28:36,760 - INFO - Validated that VN ctest-vn-96942248 is not found in API Server 2024-09-10 11:28:36,772 - DEBUG - VN ctest-vn-96942248 is not present in Agent 10.0.0.30 2024-09-10 11:28:36,772 - INFO - Validated that VN ctest-vn-96942248 is not in any agent 2024-09-10 11:28:36,788 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96942248 info 2024-09-10 11:28:36,788 - INFO - Deleting VN ctest-vn-94554119 2024-09-10 11:28:36,895 - DEBUG - Response for deleting network () 2024-09-10 11:28:36,895 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/7a19d2d4-2fc1-4092-8883-018d1443560e 2024-09-10 11:28:36,901 - DEBUG - Response Code: 404 2024-09-10 11:28:36,901 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-09-10 11:28:36,910 - DEBUG - Requesting: http://10.0.0.30:8082/domain/811f6376-797c-47c5-ae2b-a11059a65dff 2024-09-10 11:28:36,966 - DEBUG - Requesting: http://10.0.0.30:8082/project/0952aa39-e8f2-40ed-9867-b2cee5867a37 2024-09-10 11:28:37,039 - INFO - Validated that VN ctest-vn-94554119 is not found in API Server 2024-09-10 11:28:37,050 - DEBUG - VN ctest-vn-94554119 is not present in Agent 10.0.0.30 2024-09-10 11:28:37,050 - INFO - Validated that VN ctest-vn-94554119 is not in any agent 2024-09-10 11:28:37,069 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94554119 info 2024-09-10 11:28:37,337 - DEBUG - No XMPP flaps were noticed during the test 2024-09-10 11:28:37,337 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-09-10 11:28:37,338 - INFO - -------------------------------------------------------------------------------- 2024-09-10 11:28:38,115 - INFO - Deleted project: ctest-TestBasicPolicy-71545038, ID : 0952aa39-e8f2-40ed-9867-b2cee5867a37