2025-01-20 02:15:47,719 - INFO - Domain Default found not creating 2025-01-20 02:15:47,847 - INFO - Project ctest-TestBasicPolicy-05989438 not found, creating it 2025-01-20 02:15:48,277 - INFO - Created Project:ctest-TestBasicPolicy-05989438, ID : 5aa9ed24-c005-439a-90a9-87661faf414b 2025-01-20 02:15:49,677 - INFO - ================================================================================ 2025-01-20 02:15:49,677 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-20 02:15:49,677 - 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 2025-01-20 02:15:49,935 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.28': '0'}} with 2025-01-20 02:15:49,935 - INFO - Initial checks done. Running the testcase now 2025-01-20 02:15:49,935 - INFO - 2025-01-20 02:15:50,465 - DEBUG - Response for create_network : {'network': {'id': 'd79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2', 'name': 'ctest-vn-64475455', 'tenant_id': '5aa9ed24c005439a90a987661faf414b', 'project_id': '5aa9ed24c005439a90a987661faf414b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05989438', 'ctest-vn-64475455'], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:15:50,656 - DEBUG - Response for create_subnet : {'subnet': {'id': '9181a5a1-eca5-4684-b477-70b0a13576d6', 'name': '', 'tenant_id': '5aa9ed24c005439a90a987661faf414b', 'network_id': 'd79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2', 'ip_version': 4, 'cidr': '207.41.68.64/26', 'allocation_pools': [{'start': '207.41.68.66', 'end': '207.41.68.126'}], 'gateway_ip': '207.41.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.41.68.66', 'tags': [], 'project_id': '5aa9ed24c005439a90a987661faf414b'}} 2025-01-20 02:15:50,672 - INFO - Created VN ctest-vn-64475455 2025-01-20 02:15:50,724 - DEBUG - VN ctest-vn-64475455 UUID is d79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2 2025-01-20 02:15:51,043 - DEBUG - Response for create_network : {'network': {'id': '7f56aab4-dd3b-464f-8914-c9909eaca999', 'name': 'ctest-vn-88803593', 'tenant_id': '5aa9ed24c005439a90a987661faf414b', 'project_id': '5aa9ed24c005439a90a987661faf414b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05989438', 'ctest-vn-88803593'], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:15:51,268 - DEBUG - Response for create_subnet : {'subnet': {'id': '1639b650-dc6f-4f2c-af12-1d6c4dc4a4d4', 'name': '', 'tenant_id': '5aa9ed24c005439a90a987661faf414b', 'network_id': '7f56aab4-dd3b-464f-8914-c9909eaca999', 'ip_version': 4, 'cidr': '93.66.225.128/26', 'allocation_pools': [{'start': '93.66.225.130', 'end': '93.66.225.190'}], 'gateway_ip': '93.66.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.66.225.130', 'tags': [], 'project_id': '5aa9ed24c005439a90a987661faf414b'}} 2025-01-20 02:15:51,291 - INFO - Created VN ctest-vn-88803593 2025-01-20 02:15:51,340 - DEBUG - VN ctest-vn-88803593 UUID is 7f56aab4-dd3b-464f-8914-c9909eaca999 2025-01-20 02:15:51,488 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-64475455, 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-05989438:ctest-vn-88803593, 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] 2025-01-20 02:15:51,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2', 'name': 'ctest-vn-64475455', 'tenant_id': '5aa9ed24c005439a90a987661faf414b', 'project_id': '5aa9ed24c005439a90a987661faf414b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9181a5a1-eca5-4684-b477-70b0a13576d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05989438', 'ctest-vn-64475455'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05989438', 'ctest-policy-allow-all-23941399']], 'subnet_ipam': [{'subnet_cidr': '207.41.68.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:15:52,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f56aab4-dd3b-464f-8914-c9909eaca999', 'name': 'ctest-vn-88803593', 'tenant_id': '5aa9ed24c005439a90a987661faf414b', 'project_id': '5aa9ed24c005439a90a987661faf414b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1639b650-dc6f-4f2c-af12-1d6c4dc4a4d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05989438', 'ctest-vn-88803593'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05989438', 'ctest-policy-allow-all-23941399']], 'subnet_ipam': [{'subnet_cidr': '93.66.225.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:15:52,176 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-20 02:15:52,471 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-20 02:15:52,499 - DEBUG - Requesting: http://10.0.0.17:8082/domain/9668a63d-14cd-4b12-8591-b4f8fd6cf447 2025-01-20 02:15:52,511 - DEBUG - Requesting: http://10.0.0.17:8082/project/5aa9ed24-c005-439a-90a9-87661faf414b 2025-01-20 02:15:52,590 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2 2025-01-20 02:15:52,604 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2 2025-01-20 02:15:52,614 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/38be2bfd-5ab0-4a1e-87ed-f588bc1d2d81 2025-01-20 02:15:52,622 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/38be2bfd-5ab0-4a1e-87ed-f588bc1d2d81 2025-01-20 02:15:52,628 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/e8614c61-8211-416e-b29c-70df9cb613bb 2025-01-20 02:15:52,646 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-20 02:15:52,646 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2 2025-01-20 02:15:52,655 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/38be2bfd-5ab0-4a1e-87ed-f588bc1d2d81 2025-01-20 02:15:52,668 - INFO - Verified VN network id 9 for VN d79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2 2025-01-20 02:15:52,668 - INFO - Verifications in API Server for VN ctest-vn-64475455 passed 2025-01-20 02:15:52,668 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2 2025-01-20 02:15:52,677 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/38be2bfd-5ab0-4a1e-87ed-f588bc1d2d81 2025-01-20 02:15:52,684 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/38be2bfd-5ab0-4a1e-87ed-f588bc1d2d81 2025-01-20 02:15:52,690 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/e8614c61-8211-416e-b29c-70df9cb613bb 2025-01-20 02:15:52,701 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-64475455', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05989438', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15536544361929589647', 'uuid-lslong': '11408615563403754162'}, 'enable': 'true', 'created': '2025-01-20T02:15:50', 'last-modified': '2025-01-20T02:15:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946533'} 2025-01-20 02:15:52,707 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-20 02:15:52,707 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64475455 passed 2025-01-20 02:15:52,707 - DEBUG - ====Verifying policy data for ctest-vn-64475455 in API_Server ====== 2025-01-20 02:15:52,707 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-20 02:15:52,718 - DEBUG - Requesting: http://10.0.0.17:8082/domain/9668a63d-14cd-4b12-8591-b4f8fd6cf447 2025-01-20 02:15:52,730 - DEBUG - Requesting: http://10.0.0.17:8082/project/5aa9ed24-c005-439a-90a9-87661faf414b 2025-01-20 02:15:52,806 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d79ce4c7-f1e9-438f-9e53-8b68d3ac7ab2 2025-01-20 02:15:52,817 - DEBUG - ==>Verifying data for policy with id: 76cd23ea-ff93-4254-916f-a247ca890bb9, fqn: ['default-domain', 'ctest-TestBasicPolicy-05989438', 'ctest-policy-allow-all-23941399'] 2025-01-20 02:15:52,817 - INFO - VN ctest-vn-64475455 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-20 02:15:52,817 - DEBUG - Verifying the vn in opserver 2025-01-20 02:15:52,817 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-64475455 virtual network link through opserver 10.0.0.17 2025-01-20 02:15:52,817 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-20 02:15:53,112 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-20 02:15:53,165 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-64475455', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-64475455?flat'} 2025-01-20 02:15:53,165 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-64475455 is found in opserver 2025-01-20 02:15:53,176 - DEBUG - Do not have enough data to verify VN in agent 2025-01-20 02:15:53,181 - DEBUG - VRF ids for VN ctest-vn-64475455: {} 2025-01-20 02:15:53,181 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-20 02:15:53,186 - DEBUG - Requesting: http://10.0.0.17:8082/domain/9668a63d-14cd-4b12-8591-b4f8fd6cf447 2025-01-20 02:15:53,196 - DEBUG - Requesting: http://10.0.0.17:8082/project/5aa9ed24-c005-439a-90a9-87661faf414b 2025-01-20 02:15:53,270 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7f56aab4-dd3b-464f-8914-c9909eaca999 2025-01-20 02:15:53,282 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7f56aab4-dd3b-464f-8914-c9909eaca999 2025-01-20 02:15:53,291 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/1507063b-9669-4ab1-904b-2e7070c6be1a 2025-01-20 02:15:53,298 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/1507063b-9669-4ab1-904b-2e7070c6be1a 2025-01-20 02:15:53,305 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/34c3738e-4d91-42de-85df-2b514fbb9f15 2025-01-20 02:15:53,312 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-20 02:15:53,312 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7f56aab4-dd3b-464f-8914-c9909eaca999 2025-01-20 02:15:53,322 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/1507063b-9669-4ab1-904b-2e7070c6be1a 2025-01-20 02:15:53,343 - INFO - Verified VN network id 10 for VN 7f56aab4-dd3b-464f-8914-c9909eaca999 2025-01-20 02:15:53,343 - INFO - Verifications in API Server for VN ctest-vn-88803593 passed 2025-01-20 02:15:53,344 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7f56aab4-dd3b-464f-8914-c9909eaca999 2025-01-20 02:15:53,357 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/1507063b-9669-4ab1-904b-2e7070c6be1a 2025-01-20 02:15:53,364 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/1507063b-9669-4ab1-904b-2e7070c6be1a 2025-01-20 02:15:53,371 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/34c3738e-4d91-42de-85df-2b514fbb9f15 2025-01-20 02:15:53,382 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-88803593', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05989438', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9175708984596448847', 'uuid-lslong': '9877741505704929689'}, 'enable': 'true', 'created': '2025-01-20T02:15:51', 'last-modified': '2025-01-20T02:15:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390895'} 2025-01-20 02:15:53,389 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-20 02:15:53,389 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88803593 passed 2025-01-20 02:15:53,389 - DEBUG - ====Verifying policy data for ctest-vn-88803593 in API_Server ====== 2025-01-20 02:15:53,389 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-20 02:15:53,394 - DEBUG - Requesting: http://10.0.0.17:8082/domain/9668a63d-14cd-4b12-8591-b4f8fd6cf447 2025-01-20 02:15:53,405 - DEBUG - Requesting: http://10.0.0.17:8082/project/5aa9ed24-c005-439a-90a9-87661faf414b 2025-01-20 02:15:53,478 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7f56aab4-dd3b-464f-8914-c9909eaca999 2025-01-20 02:15:53,489 - DEBUG - ==>Verifying data for policy with id: 76cd23ea-ff93-4254-916f-a247ca890bb9, fqn: ['default-domain', 'ctest-TestBasicPolicy-05989438', 'ctest-policy-allow-all-23941399'] 2025-01-20 02:15:53,489 - INFO - VN ctest-vn-88803593 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-20 02:15:53,489 - DEBUG - Verifying the vn in opserver 2025-01-20 02:15:53,489 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-88803593 virtual network link through opserver 10.0.0.17 2025-01-20 02:15:53,489 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-20 02:15:53,499 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-88803593', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-88803593?flat'} 2025-01-20 02:15:53,499 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-88803593 is found in opserver 2025-01-20 02:15:53,510 - DEBUG - Do not have enough data to verify VN in agent 2025-01-20 02:15:53,515 - DEBUG - VRF ids for VN ctest-vn-88803593: {} 2025-01-20 02:15:53,569 - DEBUG - Services list from nova: [, , ] 2025-01-20 02:15:54,636 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2653-1) 2025-01-20 02:15:55,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2653-1) 2025-01-20 02:15:55,725 - INFO - Waiting for VM ctest-TestBasicPolicy-05989438-88940268 to be up.. 2025-01-20 02:15:55,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-20 02:16:00,885 - DEBUG - VM is in ACTIVE state now 2025-01-20 02:16:00,886 - INFO - VM name : ctest-TestBasicPolicy-05989438-88940268 2025-01-20 02:16:00,955 - DEBUG - VM ctest-TestBasicPolicy-05989438-88940268 ID is 6300a22a-fb6e-40c4-866f-6b844fbd5679 2025-01-20 02:16:00,976 - DEBUG - VM ctest-TestBasicPolicy-05989438-88940268 launched on Node cn-jenkins-deploy-platform-ansible-os-2653-1 2025-01-20 02:16:01,056 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/6300a22a-fb6e-40c4-866f-6b844fbd5679 2025-01-20 02:16:01,064 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/c0946779-9fcc-469f-aad8-15832ce66ac1 2025-01-20 02:16:04,324 - 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 1014ms') 2025-01-20 02:16:04,324 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05989438-88940268 failed! 2025-01-20 02:16:04,376 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05989438:ctest-vn-64475455 is 207.41.68.65 and allocation pool is NOT set 2025-01-20 02:16:06,437 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.985/3.566/1.580 ms') 2025-01-20 02:16:06,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05989438-88940268 passed 2025-01-20 02:16:06,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:16:06,625 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05989438-88940268, IP 207.41.68.67, Port 22 2025-01-20 02:16:06,810 - DEBUG - VM ctest-TestBasicPolicy-05989438-88940268 is ready for SSH connections 2025-01-20 02:16:06,811 - INFO - Waiting for VM ctest-TestBasicPolicy-05989438-09015906 to be up.. 2025-01-20 02:16:06,946 - DEBUG - VM is in ACTIVE state now 2025-01-20 02:16:06,947 - INFO - VM name : ctest-TestBasicPolicy-05989438-09015906 2025-01-20 02:16:07,077 - DEBUG - VM ctest-TestBasicPolicy-05989438-09015906 ID is 669fe646-e4b5-43ba-b45f-879315151fba 2025-01-20 02:16:07,077 - DEBUG - VM ctest-TestBasicPolicy-05989438-09015906 launched on Node cn-jenkins-deploy-platform-ansible-os-2653-1 2025-01-20 02:16:07,193 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/669fe646-e4b5-43ba-b45f-879315151fba 2025-01-20 02:16:07,201 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/7b805240-466c-4a15-a838-b4ab7dcd58b2 2025-01-20 02:16:08,447 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.462/1.546/2.631/1.084 ms') 2025-01-20 02:16:08,448 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05989438-09015906 passed 2025-01-20 02:16:08,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:16:08,596 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05989438-09015906, IP 93.66.225.131, Port 22 2025-01-20 02:16:08,760 - DEBUG - VM ctest-TestBasicPolicy-05989438-09015906 is ready for SSH connections 2025-01-20 02:16:08,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:16:08,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.66.225.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-20 02:16:08,761 - DEBUG - ping -s 56 -c 3 -W 1 93.66.225.131 2025-01-20 02:16:12,738 - DEBUG - PING 93.66.225.131 (93.66.225.131): 56 data bytes 64 bytes from 93.66.225.131: seq=0 ttl=63 time=3.089 ms 64 bytes from 93.66.225.131: seq=1 ttl=63 time=0.878 ms 64 bytes from 93.66.225.131: seq=2 ttl=63 time=0.797 ms --- 93.66.225.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/1.588/3.089 ms 2025-01-20 02:16:12,738 - INFO - Ping to IP 93.66.225.131 from VM ctest-TestBasicPolicy-05989438-88940268 passed 2025-01-20 02:16:12,920 - DEBUG - Policy Update Response {"network-policy": {"uuid": "76cd23ea-ff93-4254-916f-a247ca890bb9", "href": "http://10.0.0.17:8082/network-policy/76cd23ea-ff93-4254-916f-a247ca890bb9"}} 2025-01-20 02:16:12,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:16:12,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.66.225.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-20 02:16:12,921 - DEBUG - ping -s 56 -c 3 -W 1 93.66.225.131 2025-01-20 02:16:16,125 - DEBUG - PING 93.66.225.131 (93.66.225.131): 56 data bytes --- 93.66.225.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-20 02:16:16,125 - WARNING - Ping to IP 93.66.225.131 from VM ctest-TestBasicPolicy-05989438-88940268 failed 2025-01-20 02:16:16,125 - INFO - Deleting VM ctest-TestBasicPolicy-05989438-09015906 2025-01-20 02:16:16,188 - INFO - Deleting VM ctest-TestBasicPolicy-05989438-88940268 2025-01-20 02:16:16,601 - INFO - Deleted policy ctest-policy-allow-all-23941399 2025-01-20 02:16:16,601 - INFO - Deleting VN ctest-vn-88803593 2025-01-20 02:16:16,638 - DEBUG - VN 7f56aab4-dd3b-464f-8914-c9909eaca999 still in use: Unable to complete operation on network 7f56aab4-dd3b-464f-8914-c9909eaca999. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b87767c2-8a87-4e44-9e51-c0bfd953ee6e'] 2025-01-20 02:16:16,638 - WARNING - Deleting VN ctest-vn-88803593 failed..Will retry 2025-01-20 02:16:18,735 - DEBUG - Response for deleting network () 2025-01-20 02:16:18,736 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/1507063b-9669-4ab1-904b-2e7070c6be1a 2025-01-20 02:16:18,741 - DEBUG - Response Code: 404 2025-01-20 02:16:18,741 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-20 02:16:18,750 - DEBUG - Requesting: http://10.0.0.17:8082/domain/9668a63d-14cd-4b12-8591-b4f8fd6cf447 2025-01-20 02:16:18,802 - DEBUG - Requesting: http://10.0.0.17:8082/project/5aa9ed24-c005-439a-90a9-87661faf414b 2025-01-20 02:16:18,872 - INFO - Validated that VN ctest-vn-88803593 is not found in API Server 2025-01-20 02:16:18,883 - DEBUG - VN ctest-vn-88803593 is not present in Agent 10.0.0.17 2025-01-20 02:16:18,883 - INFO - Validated that VN ctest-vn-88803593 is not in any agent 2025-01-20 02:16:18,898 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88803593 info 2025-01-20 02:16:18,898 - INFO - Deleting VN ctest-vn-64475455 2025-01-20 02:16:18,999 - DEBUG - Response for deleting network () 2025-01-20 02:16:19,000 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/38be2bfd-5ab0-4a1e-87ed-f588bc1d2d81 2025-01-20 02:16:19,006 - DEBUG - Response Code: 404 2025-01-20 02:16:19,006 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-20 02:16:19,011 - DEBUG - Requesting: http://10.0.0.17:8082/domain/9668a63d-14cd-4b12-8591-b4f8fd6cf447 2025-01-20 02:16:19,065 - DEBUG - Requesting: http://10.0.0.17:8082/project/5aa9ed24-c005-439a-90a9-87661faf414b 2025-01-20 02:16:19,133 - INFO - Validated that VN ctest-vn-64475455 is not found in API Server 2025-01-20 02:16:19,144 - DEBUG - VN ctest-vn-64475455 is not present in Agent 10.0.0.17 2025-01-20 02:16:19,144 - INFO - Validated that VN ctest-vn-64475455 is not in any agent 2025-01-20 02:16:19,159 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64475455 info 2025-01-20 02:16:19,417 - DEBUG - No XMPP flaps were noticed during the test 2025-01-20 02:16:19,417 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-20 02:16:19,417 - INFO - -------------------------------------------------------------------------------- 2025-01-20 02:16:20,081 - INFO - Deleted project: ctest-TestBasicPolicy-05989438, ID : 5aa9ed24-c005-439a-90a9-87661faf414b