2024-11-04 06:51:18,348 - INFO - Domain Default found not creating 2024-11-04 06:51:18,534 - INFO - Project ctest-TestBasicPolicy-03121609 not found, creating it 2024-11-04 06:51:19,194 - INFO - Created Project:ctest-TestBasicPolicy-03121609, ID : b5075ded-6975-42d5-9bfa-7ae7c1e67b2e 2024-11-04 06:51:20,816 - INFO - ================================================================================ 2024-11-04 06:51:20,816 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-04 06:51:20,816 - 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-11-04 06:51:21,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.5': '0'}} with 2024-11-04 06:51:21,082 - INFO - Initial checks done. Running the testcase now 2024-11-04 06:51:21,082 - INFO - 2024-11-04 06:51:21,694 - DEBUG - Response for create_network : {'network': {'id': '83951c92-1849-4c64-9d70-b721cc415b24', 'name': 'ctest-vn-51069311', 'tenant_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'project_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03121609', 'ctest-vn-51069311'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 06:51:21,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '124c691f-3d9d-4d2f-804f-ae609ebe8850', 'name': '', 'tenant_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'network_id': '83951c92-1849-4c64-9d70-b721cc415b24', 'ip_version': 4, 'cidr': '204.147.249.128/26', 'allocation_pools': [{'start': '204.147.249.130', 'end': '204.147.249.190'}], 'gateway_ip': '204.147.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.147.249.130', 'tags': [], 'project_id': 'b5075ded697542d59bfa7ae7c1e67b2e'}} 2024-11-04 06:51:21,905 - INFO - Created VN ctest-vn-51069311 2024-11-04 06:51:21,964 - DEBUG - VN ctest-vn-51069311 UUID is 83951c92-1849-4c64-9d70-b721cc415b24 2024-11-04 06:51:22,308 - DEBUG - Response for create_network : {'network': {'id': '4d9f5c64-ea5e-406f-9891-bb865cfe474c', 'name': 'ctest-vn-11708627', 'tenant_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'project_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03121609', 'ctest-vn-11708627'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 06:51:22,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '146504b8-3710-4201-9e5c-07c9e25998d9', 'name': '', 'tenant_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'network_id': '4d9f5c64-ea5e-406f-9891-bb865cfe474c', 'ip_version': 4, 'cidr': '152.239.198.0/26', 'allocation_pools': [{'start': '152.239.198.2', 'end': '152.239.198.62'}], 'gateway_ip': '152.239.198.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.239.198.2', 'tags': [], 'project_id': 'b5075ded697542d59bfa7ae7c1e67b2e'}} 2024-11-04 06:51:22,582 - INFO - Created VN ctest-vn-11708627 2024-11-04 06:51:22,643 - DEBUG - VN ctest-vn-11708627 UUID is 4d9f5c64-ea5e-406f-9891-bb865cfe474c 2024-11-04 06:51:22,778 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-51069311, 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-03121609:ctest-vn-11708627, 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-11-04 06:51:23,136 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83951c92-1849-4c64-9d70-b721cc415b24', 'name': 'ctest-vn-51069311', 'tenant_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'project_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['124c691f-3d9d-4d2f-804f-ae609ebe8850'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03121609', 'ctest-vn-51069311'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03121609', 'ctest-policy-allow-all-14405838']], 'subnet_ipam': [{'subnet_cidr': '204.147.249.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-04 06:51:23,449 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d9f5c64-ea5e-406f-9891-bb865cfe474c', 'name': 'ctest-vn-11708627', 'tenant_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'project_id': 'b5075ded697542d59bfa7ae7c1e67b2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['146504b8-3710-4201-9e5c-07c9e25998d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03121609', 'ctest-vn-11708627'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03121609', 'ctest-policy-allow-all-14405838']], 'subnet_ipam': [{'subnet_cidr': '152.239.198.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-04 06:51:23,595 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-11-04 06:51:23,902 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-11-04 06:51:23,938 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e4efe338-1a31-48df-a976-112118f34c38 2024-11-04 06:51:23,955 - DEBUG - Requesting: http://10.0.0.30:8082/project/b5075ded-6975-42d5-9bfa-7ae7c1e67b2e 2024-11-04 06:51:24,039 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/83951c92-1849-4c64-9d70-b721cc415b24 2024-11-04 06:51:24,060 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/83951c92-1849-4c64-9d70-b721cc415b24 2024-11-04 06:51:24,077 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/9e531d07-d979-4deb-9924-41a260561c2f 2024-11-04 06:51:24,088 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/9e531d07-d979-4deb-9924-41a260561c2f 2024-11-04 06:51:24,098 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/8766ec00-36c2-4bd5-9831-a04c157556bd 2024-11-04 06:51:24,107 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-04 06:51:24,107 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/83951c92-1849-4c64-9d70-b721cc415b24 2024-11-04 06:51:24,123 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/9e531d07-d979-4deb-9924-41a260561c2f 2024-11-04 06:51:24,146 - INFO - Verified VN network id 8 for VN 83951c92-1849-4c64-9d70-b721cc415b24 2024-11-04 06:51:24,146 - INFO - Verifications in API Server for VN ctest-vn-51069311 passed 2024-11-04 06:51:24,146 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/83951c92-1849-4c64-9d70-b721cc415b24 2024-11-04 06:51:24,162 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/9e531d07-d979-4deb-9924-41a260561c2f 2024-11-04 06:51:24,173 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/9e531d07-d979-4deb-9924-41a260561c2f 2024-11-04 06:51:24,184 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/8766ec00-36c2-4bd5-9831-a04c157556bd 2024-11-04 06:51:24,201 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-51069311', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03121609', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9481516004296707172', 'uuid-lslong': '11344768817134918436'}, 'enable': 'true', 'created': '2024-11-04T06:51:21', 'last-modified': '2024-11-04T06:51:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.107739'} 2024-11-04 06:51:24,207 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-04 06:51:24,208 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51069311 passed 2024-11-04 06:51:24,208 - DEBUG - ====Verifying policy data for ctest-vn-51069311 in API_Server ====== 2024-11-04 06:51:24,208 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-11-04 06:51:24,214 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e4efe338-1a31-48df-a976-112118f34c38 2024-11-04 06:51:24,230 - DEBUG - Requesting: http://10.0.0.30:8082/project/b5075ded-6975-42d5-9bfa-7ae7c1e67b2e 2024-11-04 06:51:24,315 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/83951c92-1849-4c64-9d70-b721cc415b24 2024-11-04 06:51:24,331 - DEBUG - ==>Verifying data for policy with id: 2b450ef9-2cb7-46f9-98ee-a76a12d97c40, fqn: ['default-domain', 'ctest-TestBasicPolicy-03121609', 'ctest-policy-allow-all-14405838'] 2024-11-04 06:51:24,331 - INFO - VN ctest-vn-51069311 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-04 06:51:24,331 - DEBUG - Verifying the vn in opserver 2024-11-04 06:51:24,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-51069311 virtual network link through opserver 10.0.0.30 2024-11-04 06:51:24,331 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-11-04 06:51:24,629 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-11-04 06:51:24,696 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-51069311', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-51069311?flat'} 2024-11-04 06:51:24,696 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-51069311 is found in opserver 2024-11-04 06:51:24,708 - DEBUG - Do not have enough data to verify VN in agent 2024-11-04 06:51:24,716 - DEBUG - VRF ids for VN ctest-vn-51069311: {} 2024-11-04 06:51:24,716 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-11-04 06:51:24,723 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e4efe338-1a31-48df-a976-112118f34c38 2024-11-04 06:51:24,738 - DEBUG - Requesting: http://10.0.0.30:8082/project/b5075ded-6975-42d5-9bfa-7ae7c1e67b2e 2024-11-04 06:51:24,824 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4d9f5c64-ea5e-406f-9891-bb865cfe474c 2024-11-04 06:51:24,843 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4d9f5c64-ea5e-406f-9891-bb865cfe474c 2024-11-04 06:51:24,859 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/d60c6ec9-e04c-4a9d-9362-4c19a0d0131c 2024-11-04 06:51:24,869 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/d60c6ec9-e04c-4a9d-9362-4c19a0d0131c 2024-11-04 06:51:24,880 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/905a4768-1c45-4883-9221-37577d679afd 2024-11-04 06:51:24,889 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-04 06:51:24,889 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4d9f5c64-ea5e-406f-9891-bb865cfe474c 2024-11-04 06:51:24,903 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/d60c6ec9-e04c-4a9d-9362-4c19a0d0131c 2024-11-04 06:51:24,928 - INFO - Verified VN network id 9 for VN 4d9f5c64-ea5e-406f-9891-bb865cfe474c 2024-11-04 06:51:24,928 - INFO - Verifications in API Server for VN ctest-vn-11708627 passed 2024-11-04 06:51:24,929 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4d9f5c64-ea5e-406f-9891-bb865cfe474c 2024-11-04 06:51:24,944 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/d60c6ec9-e04c-4a9d-9362-4c19a0d0131c 2024-11-04 06:51:24,955 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/d60c6ec9-e04c-4a9d-9362-4c19a0d0131c 2024-11-04 06:51:24,966 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/905a4768-1c45-4883-9221-37577d679afd 2024-11-04 06:51:24,984 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-11708627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03121609', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5593290850715975791', 'uuid-lslong': '10993774351148271436'}, 'enable': 'true', 'created': '2024-11-04T06:51:22', 'last-modified': '2024-11-04T06:51:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.616426'} 2024-11-04 06:51:24,990 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-04 06:51:24,990 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11708627 passed 2024-11-04 06:51:24,991 - DEBUG - ====Verifying policy data for ctest-vn-11708627 in API_Server ====== 2024-11-04 06:51:24,991 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-11-04 06:51:24,997 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e4efe338-1a31-48df-a976-112118f34c38 2024-11-04 06:51:25,011 - DEBUG - Requesting: http://10.0.0.30:8082/project/b5075ded-6975-42d5-9bfa-7ae7c1e67b2e 2024-11-04 06:51:25,099 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/4d9f5c64-ea5e-406f-9891-bb865cfe474c 2024-11-04 06:51:25,114 - DEBUG - ==>Verifying data for policy with id: 2b450ef9-2cb7-46f9-98ee-a76a12d97c40, fqn: ['default-domain', 'ctest-TestBasicPolicy-03121609', 'ctest-policy-allow-all-14405838'] 2024-11-04 06:51:25,114 - INFO - VN ctest-vn-11708627 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-04 06:51:25,114 - DEBUG - Verifying the vn in opserver 2024-11-04 06:51:25,114 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-11708627 virtual network link through opserver 10.0.0.30 2024-11-04 06:51:25,114 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-11-04 06:51:25,126 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-11708627', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-11708627?flat'} 2024-11-04 06:51:25,126 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-11708627 is found in opserver 2024-11-04 06:51:25,138 - DEBUG - Do not have enough data to verify VN in agent 2024-11-04 06:51:25,145 - DEBUG - VRF ids for VN ctest-vn-11708627: {} 2024-11-04 06:51:25,221 - DEBUG - Services list from nova: [, , ] 2024-11-04 06:51:26,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2196-1) 2024-11-04 06:51:27,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2196-1) 2024-11-04 06:51:27,673 - INFO - Waiting for VM ctest-TestBasicPolicy-03121609-21619840 to be up.. 2024-11-04 06:51:27,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-04 06:51:32,861 - DEBUG - VM is in ACTIVE state now 2024-11-04 06:51:32,861 - INFO - VM name : ctest-TestBasicPolicy-03121609-21619840 2024-11-04 06:51:32,963 - DEBUG - VM ctest-TestBasicPolicy-03121609-21619840 ID is dc0d79ec-d0c7-4c4a-8f4c-70f8f942b2f8 2024-11-04 06:51:32,985 - DEBUG - VM ctest-TestBasicPolicy-03121609-21619840 launched on Node cn-jenkins-deploy-platform-ansible-os-2196-1 2024-11-04 06:51:33,076 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/dc0d79ec-d0c7-4c4a-8f4c-70f8f942b2f8 2024-11-04 06:51:33,087 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/1fd87153-13f8-4a03-a98e-eafde059d89c 2024-11-04 06:51:36,378 - 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 1025ms') 2024-11-04 06:51:36,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03121609-21619840 failed! 2024-11-04 06:51:36,439 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03121609:ctest-vn-51069311 is 204.147.249.129 and allocation pool is NOT set 2024-11-04 06:51:38,504 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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.519/4.094/7.670/3.575 ms') 2024-11-04 06:51:38,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03121609-21619840 passed 2024-11-04 06:51:38,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:51:38,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03121609-21619840, IP 204.147.249.131, Port 22 2024-11-04 06:51:38,837 - DEBUG - VM ctest-TestBasicPolicy-03121609-21619840 is ready for SSH connections 2024-11-04 06:51:38,837 - INFO - Waiting for VM ctest-TestBasicPolicy-03121609-29662984 to be up.. 2024-11-04 06:51:38,931 - DEBUG - VM is in ACTIVE state now 2024-11-04 06:51:38,931 - INFO - VM name : ctest-TestBasicPolicy-03121609-29662984 2024-11-04 06:51:39,026 - DEBUG - VM ctest-TestBasicPolicy-03121609-29662984 ID is 951bf68d-3858-4c26-9c1d-bee66fb2b79d 2024-11-04 06:51:39,026 - DEBUG - VM ctest-TestBasicPolicy-03121609-29662984 launched on Node cn-jenkins-deploy-platform-ansible-os-2196-1 2024-11-04 06:51:39,234 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/951bf68d-3858-4c26-9c1d-bee66fb2b79d 2024-11-04 06:51:39,247 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/0379705c-2b90-40e6-ab02-fcdfc11f6c79 2024-11-04 06:51:40,543 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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.190/2.086/2.982/0.896 ms') 2024-11-04 06:51:40,543 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03121609-29662984 passed 2024-11-04 06:51:40,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:51:40,747 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03121609-29662984, IP 152.239.198.3, Port 22 2024-11-04 06:51:40,918 - DEBUG - VM ctest-TestBasicPolicy-03121609-29662984 is ready for SSH connections 2024-11-04 06:51:40,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:51:40,918 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.239.198.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-11-04 06:51:40,918 - DEBUG - ping -s 56 -c 3 -W 1 152.239.198.3 2024-11-04 06:51:45,005 - DEBUG - PING 152.239.198.3 (152.239.198.3): 56 data bytes 64 bytes from 152.239.198.3: seq=0 ttl=63 time=4.695 ms 64 bytes from 152.239.198.3: seq=1 ttl=63 time=1.007 ms 64 bytes from 152.239.198.3: seq=2 ttl=63 time=0.898 ms --- 152.239.198.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.898/2.200/4.695 ms 2024-11-04 06:51:45,005 - INFO - Ping to IP 152.239.198.3 from VM ctest-TestBasicPolicy-03121609-21619840 passed 2024-11-04 06:51:45,198 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2b450ef9-2cb7-46f9-98ee-a76a12d97c40", "href": "http://10.0.0.30:8082/network-policy/2b450ef9-2cb7-46f9-98ee-a76a12d97c40"}} 2024-11-04 06:51:45,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:51:45,199 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.239.198.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-11-04 06:51:45,199 - DEBUG - ping -s 56 -c 3 -W 1 152.239.198.3 2024-11-04 06:51:48,423 - DEBUG - PING 152.239.198.3 (152.239.198.3): 56 data bytes --- 152.239.198.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-04 06:51:48,423 - WARNING - Ping to IP 152.239.198.3 from VM ctest-TestBasicPolicy-03121609-21619840 failed 2024-11-04 06:51:48,423 - INFO - Deleting VM ctest-TestBasicPolicy-03121609-29662984 2024-11-04 06:51:48,499 - INFO - Deleting VM ctest-TestBasicPolicy-03121609-21619840 2024-11-04 06:51:48,985 - INFO - Deleted policy ctest-policy-allow-all-14405838 2024-11-04 06:51:48,985 - INFO - Deleting VN ctest-vn-11708627 2024-11-04 06:51:49,042 - DEBUG - VN 4d9f5c64-ea5e-406f-9891-bb865cfe474c still in use: Unable to complete operation on network 4d9f5c64-ea5e-406f-9891-bb865cfe474c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef8e1a27-c921-466b-89c9-9bb474467c45'] 2024-11-04 06:51:49,042 - WARNING - Deleting VN ctest-vn-11708627 failed..Will retry 2024-11-04 06:51:51,181 - DEBUG - Response for deleting network () 2024-11-04 06:51:51,181 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/d60c6ec9-e04c-4a9d-9362-4c19a0d0131c 2024-11-04 06:51:51,192 - DEBUG - Response Code: 404 2024-11-04 06:51:51,192 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-11-04 06:51:51,200 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e4efe338-1a31-48df-a976-112118f34c38 2024-11-04 06:51:51,258 - DEBUG - Requesting: http://10.0.0.30:8082/project/b5075ded-6975-42d5-9bfa-7ae7c1e67b2e 2024-11-04 06:51:51,344 - INFO - Validated that VN ctest-vn-11708627 is not found in API Server 2024-11-04 06:51:51,358 - DEBUG - VN ctest-vn-11708627 is not present in Agent 10.0.0.30 2024-11-04 06:51:51,358 - INFO - Validated that VN ctest-vn-11708627 is not in any agent 2024-11-04 06:51:51,378 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11708627 info 2024-11-04 06:51:51,378 - INFO - Deleting VN ctest-vn-51069311 2024-11-04 06:51:51,506 - DEBUG - Response for deleting network () 2024-11-04 06:51:51,506 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/9e531d07-d979-4deb-9924-41a260561c2f 2024-11-04 06:51:51,514 - DEBUG - Response Code: 404 2024-11-04 06:51:51,514 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-11-04 06:51:51,524 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e4efe338-1a31-48df-a976-112118f34c38 2024-11-04 06:51:51,591 - DEBUG - Requesting: http://10.0.0.30:8082/project/b5075ded-6975-42d5-9bfa-7ae7c1e67b2e 2024-11-04 06:51:51,678 - INFO - Validated that VN ctest-vn-51069311 is not found in API Server 2024-11-04 06:51:51,690 - DEBUG - VN ctest-vn-51069311 is not present in Agent 10.0.0.30 2024-11-04 06:51:51,690 - INFO - Validated that VN ctest-vn-51069311 is not in any agent 2024-11-04 06:51:51,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51069311 info 2024-11-04 06:51:51,969 - DEBUG - No XMPP flaps were noticed during the test 2024-11-04 06:51:51,969 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-11-04 06:51:51,969 - INFO - -------------------------------------------------------------------------------- 2024-11-04 06:51:52,783 - INFO - Deleted project: ctest-TestBasicPolicy-03121609, ID : b5075ded-6975-42d5-9bfa-7ae7c1e67b2e