2024-09-17 14:33:27,551 - INFO - Domain Default found not creating 2024-09-17 14:33:27,766 - INFO - Project ctest-TestBasicPolicy-11793034 not found, creating it 2024-09-17 14:33:28,338 - INFO - Created Project:ctest-TestBasicPolicy-11793034, ID : a7c5ac19-8f1c-4772-8283-9e05db5efb2c 2024-09-17 14:33:30,083 - INFO - ================================================================================ 2024-09-17 14:33:30,083 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-17 14:33:30,083 - 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-17 14:33:30,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.25': '0'}} with 2024-09-17 14:33:30,345 - INFO - Initial checks done. Running the testcase now 2024-09-17 14:33:30,345 - INFO - 2024-09-17 14:33:31,006 - DEBUG - Response for create_network : {'network': {'id': '92e527c4-9979-4261-8965-035ef77b5aa3', 'name': 'ctest-vn-43488354', 'tenant_id': 'a7c5ac198f1c477282839e05db5efb2c', 'project_id': 'a7c5ac198f1c477282839e05db5efb2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11793034', 'ctest-vn-43488354'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 14:33:31,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '486d1af7-9330-4f9a-a46c-847b07fb5423', 'name': '', 'tenant_id': 'a7c5ac198f1c477282839e05db5efb2c', 'network_id': '92e527c4-9979-4261-8965-035ef77b5aa3', 'ip_version': 4, 'cidr': '130.59.4.192/26', 'allocation_pools': [{'start': '130.59.4.194', 'end': '130.59.4.254'}], 'gateway_ip': '130.59.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.59.4.194', 'tags': [], 'project_id': 'a7c5ac198f1c477282839e05db5efb2c'}} 2024-09-17 14:33:31,252 - INFO - Created VN ctest-vn-43488354 2024-09-17 14:33:31,318 - DEBUG - VN ctest-vn-43488354 UUID is 92e527c4-9979-4261-8965-035ef77b5aa3 2024-09-17 14:33:32,010 - DEBUG - Response for create_network : {'network': {'id': 'd6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f', 'name': 'ctest-vn-45136084', 'tenant_id': 'a7c5ac198f1c477282839e05db5efb2c', 'project_id': 'a7c5ac198f1c477282839e05db5efb2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11793034', 'ctest-vn-45136084'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 14:33:32,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '847dc192-f23d-4b6d-9e4f-67128feb833e', 'name': '', 'tenant_id': 'a7c5ac198f1c477282839e05db5efb2c', 'network_id': 'd6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f', 'ip_version': 4, 'cidr': '136.180.182.128/26', 'allocation_pools': [{'start': '136.180.182.130', 'end': '136.180.182.190'}], 'gateway_ip': '136.180.182.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.180.182.130', 'tags': [], 'project_id': 'a7c5ac198f1c477282839e05db5efb2c'}} 2024-09-17 14:33:32,641 - INFO - Created VN ctest-vn-45136084 2024-09-17 14:33:32,704 - DEBUG - VN ctest-vn-45136084 UUID is d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f 2024-09-17 14:33:32,855 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-43488354, 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-11793034:ctest-vn-45136084, 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-17 14:33:33,200 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '92e527c4-9979-4261-8965-035ef77b5aa3', 'name': 'ctest-vn-43488354', 'tenant_id': 'a7c5ac198f1c477282839e05db5efb2c', 'project_id': 'a7c5ac198f1c477282839e05db5efb2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['486d1af7-9330-4f9a-a46c-847b07fb5423'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11793034', 'ctest-vn-43488354'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11793034', 'ctest-policy-allow-all-23975243']], 'subnet_ipam': [{'subnet_cidr': '130.59.4.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-17 14:33:33,531 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f', 'name': 'ctest-vn-45136084', 'tenant_id': 'a7c5ac198f1c477282839e05db5efb2c', 'project_id': 'a7c5ac198f1c477282839e05db5efb2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['847dc192-f23d-4b6d-9e4f-67128feb833e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11793034', 'ctest-vn-45136084'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11793034', 'ctest-policy-allow-all-23975243']], 'subnet_ipam': [{'subnet_cidr': '136.180.182.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-17 14:33:33,710 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-17 14:33:34,054 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-17 14:33:34,090 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d6796b4a-cfd9-4075-838f-7b441d9337a7 2024-09-17 14:33:34,113 - DEBUG - Requesting: http://10.0.0.28:8082/project/a7c5ac19-8f1c-4772-8283-9e05db5efb2c 2024-09-17 14:33:34,204 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/92e527c4-9979-4261-8965-035ef77b5aa3 2024-09-17 14:33:34,225 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/92e527c4-9979-4261-8965-035ef77b5aa3 2024-09-17 14:33:34,241 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/e4d009cf-4b6c-491f-b509-98e7decb4ce4 2024-09-17 14:33:34,252 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/e4d009cf-4b6c-491f-b509-98e7decb4ce4 2024-09-17 14:33:34,263 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/6f127277-290f-4666-bd1d-c0c1a843abad 2024-09-17 14:33:34,273 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 14:33:34,273 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/92e527c4-9979-4261-8965-035ef77b5aa3 2024-09-17 14:33:34,289 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/e4d009cf-4b6c-491f-b509-98e7decb4ce4 2024-09-17 14:33:34,316 - INFO - Verified VN network id 9 for VN 92e527c4-9979-4261-8965-035ef77b5aa3 2024-09-17 14:33:34,316 - INFO - Verifications in API Server for VN ctest-vn-43488354 passed 2024-09-17 14:33:34,317 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/92e527c4-9979-4261-8965-035ef77b5aa3 2024-09-17 14:33:34,336 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/e4d009cf-4b6c-491f-b509-98e7decb4ce4 2024-09-17 14:33:34,349 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/e4d009cf-4b6c-491f-b509-98e7decb4ce4 2024-09-17 14:33:34,360 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/6f127277-290f-4666-bd1d-c0c1a843abad 2024-09-17 14:33:34,378 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-43488354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11793034', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10584910224546153057', 'uuid-lslong': '9900323062257769123'}, 'enable': 'true', 'created': '2024-09-17T14:33:30', 'last-modified': '2024-09-17T14:33:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.210204'} 2024-09-17 14:33:34,387 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 14:33:34,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43488354 passed 2024-09-17 14:33:34,387 - DEBUG - ====Verifying policy data for ctest-vn-43488354 in API_Server ====== 2024-09-17 14:33:34,387 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-17 14:33:34,394 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d6796b4a-cfd9-4075-838f-7b441d9337a7 2024-09-17 14:33:34,409 - DEBUG - Requesting: http://10.0.0.28:8082/project/a7c5ac19-8f1c-4772-8283-9e05db5efb2c 2024-09-17 14:33:34,493 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/92e527c4-9979-4261-8965-035ef77b5aa3 2024-09-17 14:33:34,509 - DEBUG - ==>Verifying data for policy with id: 33e8b8bb-e80a-4e43-abd6-b84d5667d437, fqn: ['default-domain', 'ctest-TestBasicPolicy-11793034', 'ctest-policy-allow-all-23975243'] 2024-09-17 14:33:34,509 - INFO - VN ctest-vn-43488354 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-17 14:33:34,509 - DEBUG - Verifying the vn in opserver 2024-09-17 14:33:34,509 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-43488354 virtual network link through opserver 10.0.0.28 2024-09-17 14:33:34,509 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-17 14:33:34,850 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-17 14:33:34,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-43488354', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-43488354?flat'} 2024-09-17 14:33:34,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-43488354 is found in opserver 2024-09-17 14:33:34,935 - DEBUG - Do not have enough data to verify VN in agent 2024-09-17 14:33:34,942 - DEBUG - VRF ids for VN ctest-vn-43488354: {} 2024-09-17 14:33:34,942 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-17 14:33:34,949 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d6796b4a-cfd9-4075-838f-7b441d9337a7 2024-09-17 14:33:34,964 - DEBUG - Requesting: http://10.0.0.28:8082/project/a7c5ac19-8f1c-4772-8283-9e05db5efb2c 2024-09-17 14:33:35,055 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f 2024-09-17 14:33:35,074 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f 2024-09-17 14:33:35,090 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daf1a0af-69bb-4ed5-8592-740d99b437e4 2024-09-17 14:33:35,100 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daf1a0af-69bb-4ed5-8592-740d99b437e4 2024-09-17 14:33:35,109 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/e9ebc1f6-329d-4b29-b249-1928de2df536 2024-09-17 14:33:35,117 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-17 14:33:35,117 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f 2024-09-17 14:33:35,133 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daf1a0af-69bb-4ed5-8592-740d99b437e4 2024-09-17 14:33:35,157 - INFO - Verified VN network id 10 for VN d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f 2024-09-17 14:33:35,157 - INFO - Verifications in API Server for VN ctest-vn-45136084 passed 2024-09-17 14:33:35,157 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f 2024-09-17 14:33:35,173 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daf1a0af-69bb-4ed5-8592-740d99b437e4 2024-09-17 14:33:35,184 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daf1a0af-69bb-4ed5-8592-740d99b437e4 2024-09-17 14:33:35,195 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/e9ebc1f6-329d-4b29-b249-1928de2df536 2024-09-17 14:33:35,211 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-45136084', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11793034', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15481600816566783684', 'uuid-lslong': '10628182461937406223'}, 'enable': 'true', 'created': '2024-09-17T14:33:31', 'last-modified': '2024-09-17T14:33:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.757602'} 2024-09-17 14:33:35,219 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-17 14:33:35,219 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45136084 passed 2024-09-17 14:33:35,220 - DEBUG - ====Verifying policy data for ctest-vn-45136084 in API_Server ====== 2024-09-17 14:33:35,220 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-17 14:33:35,227 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d6796b4a-cfd9-4075-838f-7b441d9337a7 2024-09-17 14:33:35,244 - DEBUG - Requesting: http://10.0.0.28:8082/project/a7c5ac19-8f1c-4772-8283-9e05db5efb2c 2024-09-17 14:33:35,338 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f 2024-09-17 14:33:35,356 - DEBUG - ==>Verifying data for policy with id: 33e8b8bb-e80a-4e43-abd6-b84d5667d437, fqn: ['default-domain', 'ctest-TestBasicPolicy-11793034', 'ctest-policy-allow-all-23975243'] 2024-09-17 14:33:35,356 - INFO - VN ctest-vn-45136084 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-17 14:33:35,356 - DEBUG - Verifying the vn in opserver 2024-09-17 14:33:35,356 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-45136084 virtual network link through opserver 10.0.0.28 2024-09-17 14:33:35,356 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-17 14:33:35,371 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-45136084', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-45136084?flat'} 2024-09-17 14:33:35,371 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-45136084 is found in opserver 2024-09-17 14:33:35,386 - DEBUG - Do not have enough data to verify VN in agent 2024-09-17 14:33:35,393 - DEBUG - VRF ids for VN ctest-vn-45136084: {} 2024-09-17 14:33:35,470 - DEBUG - Services list from nova: [, , ] 2024-09-17 14:33:36,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1962-1) 2024-09-17 14:33:38,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1962-1) 2024-09-17 14:33:38,271 - INFO - Waiting for VM ctest-TestBasicPolicy-11793034-21626680 to be up.. 2024-09-17 14:33:38,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 14:33:43,475 - DEBUG - VM is in ACTIVE state now 2024-09-17 14:33:43,475 - INFO - VM name : ctest-TestBasicPolicy-11793034-21626680 2024-09-17 14:33:43,570 - DEBUG - VM ctest-TestBasicPolicy-11793034-21626680 ID is 8cc369b6-afdf-4fd3-8dd5-db0965adca22 2024-09-17 14:33:43,591 - DEBUG - VM ctest-TestBasicPolicy-11793034-21626680 launched on Node cn-jenkins-deploy-platform-ansible-os-1962-1 2024-09-17 14:33:43,681 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8cc369b6-afdf-4fd3-8dd5-db0965adca22 2024-09-17 14:33:43,694 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/399b0b30-860f-4e0e-94e7-7ddc1256d0ae 2024-09-17 14:33:46,988 - 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 1026ms') 2024-09-17 14:33:46,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11793034-21626680 failed! 2024-09-17 14:33:47,062 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11793034:ctest-vn-43488354 is 130.59.4.193 and allocation pool is NOT set 2024-09-17 14:33:49,119 - 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=8.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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 = 1.274/4.989/8.704/3.715 ms') 2024-09-17 14:33:49,119 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11793034-21626680 passed 2024-09-17 14:33:49,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:33:49,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11793034-21626680, IP 130.59.4.195, Port 22 2024-09-17 14:33:49,453 - DEBUG - VM ctest-TestBasicPolicy-11793034-21626680 is ready for SSH connections 2024-09-17 14:33:49,453 - INFO - Waiting for VM ctest-TestBasicPolicy-11793034-22267246 to be up.. 2024-09-17 14:33:49,546 - DEBUG - VM is in ACTIVE state now 2024-09-17 14:33:49,546 - INFO - VM name : ctest-TestBasicPolicy-11793034-22267246 2024-09-17 14:33:49,644 - DEBUG - VM ctest-TestBasicPolicy-11793034-22267246 ID is db0f8ed9-5b87-4472-806f-824273cc9f5c 2024-09-17 14:33:49,645 - DEBUG - VM ctest-TestBasicPolicy-11793034-22267246 launched on Node cn-jenkins-deploy-platform-ansible-os-1962-1 2024-09-17 14:33:49,739 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/db0f8ed9-5b87-4472-806f-824273cc9f5c 2024-09-17 14:33:49,751 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/26558cce-9b86-4d4f-b2f2-cb267afe8c39 2024-09-17 14:33:51,008 - 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=5.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.22 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.222/3.571/5.920/2.349 ms') 2024-09-17 14:33:51,008 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11793034-22267246 passed 2024-09-17 14:33:51,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:33:51,170 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11793034-22267246, IP 136.180.182.131, Port 22 2024-09-17 14:33:51,330 - DEBUG - VM ctest-TestBasicPolicy-11793034-22267246 is ready for SSH connections 2024-09-17 14:33:51,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:33:51,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.180.182.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-17 14:33:51,331 - DEBUG - ping -s 56 -c 3 -W 1 136.180.182.131 2024-09-17 14:33:55,451 - DEBUG - PING 136.180.182.131 (136.180.182.131): 56 data bytes 64 bytes from 136.180.182.131: seq=0 ttl=63 time=5.016 ms 64 bytes from 136.180.182.131: seq=1 ttl=63 time=0.956 ms 64 bytes from 136.180.182.131: seq=2 ttl=63 time=0.851 ms --- 136.180.182.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/2.274/5.016 ms 2024-09-17 14:33:55,451 - INFO - Ping to IP 136.180.182.131 from VM ctest-TestBasicPolicy-11793034-21626680 passed 2024-09-17 14:33:55,653 - DEBUG - Policy Update Response {"network-policy": {"uuid": "33e8b8bb-e80a-4e43-abd6-b84d5667d437", "href": "http://10.0.0.28:8082/network-policy/33e8b8bb-e80a-4e43-abd6-b84d5667d437"}} 2024-09-17 14:33:55,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:33:55,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.180.182.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-17 14:33:55,654 - DEBUG - ping -s 56 -c 3 -W 1 136.180.182.131 2024-09-17 14:33:58,881 - DEBUG - PING 136.180.182.131 (136.180.182.131): 56 data bytes 64 bytes from 136.180.182.131: seq=0 ttl=63 time=1.728 ms --- 136.180.182.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.728/1.728/1.728 ms 2024-09-17 14:33:58,881 - WARNING - Ping to IP 136.180.182.131 from VM ctest-TestBasicPolicy-11793034-21626680 failed 2024-09-17 14:33:58,881 - INFO - Deleting VM ctest-TestBasicPolicy-11793034-22267246 2024-09-17 14:33:58,955 - INFO - Deleting VM ctest-TestBasicPolicy-11793034-21626680 2024-09-17 14:33:59,437 - INFO - Deleted policy ctest-policy-allow-all-23975243 2024-09-17 14:33:59,437 - INFO - Deleting VN ctest-vn-45136084 2024-09-17 14:33:59,486 - DEBUG - VN d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f still in use: Unable to complete operation on network d6d9b1ea-e9dc-4ec4-937e-e3a37bd0d10f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80018eeb-9130-4d9d-af6e-3775d19369ff'] 2024-09-17 14:33:59,486 - WARNING - Deleting VN ctest-vn-45136084 failed..Will retry 2024-09-17 14:34:01,619 - DEBUG - Response for deleting network () 2024-09-17 14:34:01,619 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daf1a0af-69bb-4ed5-8592-740d99b437e4 2024-09-17 14:34:01,625 - DEBUG - Response Code: 404 2024-09-17 14:34:01,625 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-17 14:34:01,640 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d6796b4a-cfd9-4075-838f-7b441d9337a7 2024-09-17 14:34:01,697 - DEBUG - Requesting: http://10.0.0.28:8082/project/a7c5ac19-8f1c-4772-8283-9e05db5efb2c 2024-09-17 14:34:01,796 - INFO - Validated that VN ctest-vn-45136084 is not found in API Server 2024-09-17 14:34:01,810 - DEBUG - VN ctest-vn-45136084 is not present in Agent 10.0.0.28 2024-09-17 14:34:01,810 - INFO - Validated that VN ctest-vn-45136084 is not in any agent 2024-09-17 14:34:01,828 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45136084 info 2024-09-17 14:34:01,829 - INFO - Deleting VN ctest-vn-43488354 2024-09-17 14:34:01,962 - DEBUG - Response for deleting network () 2024-09-17 14:34:01,962 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/e4d009cf-4b6c-491f-b509-98e7decb4ce4 2024-09-17 14:34:01,970 - DEBUG - Response Code: 404 2024-09-17 14:34:01,970 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-17 14:34:01,980 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d6796b4a-cfd9-4075-838f-7b441d9337a7 2024-09-17 14:34:02,039 - DEBUG - Requesting: http://10.0.0.28:8082/project/a7c5ac19-8f1c-4772-8283-9e05db5efb2c 2024-09-17 14:34:02,128 - INFO - Validated that VN ctest-vn-43488354 is not found in API Server 2024-09-17 14:34:02,141 - DEBUG - VN ctest-vn-43488354 is not present in Agent 10.0.0.28 2024-09-17 14:34:02,142 - INFO - Validated that VN ctest-vn-43488354 is not in any agent 2024-09-17 14:34:02,162 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43488354 info 2024-09-17 14:34:02,417 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 14:34:02,417 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-09-17 14:34:02,417 - INFO - -------------------------------------------------------------------------------- 2024-09-17 14:34:03,202 - INFO - Deleted project: ctest-TestBasicPolicy-11793034, ID : a7c5ac19-8f1c-4772-8283-9e05db5efb2c