2025-06-30 11:51:30,868 - INFO - Domain Default found not creating 2025-06-30 11:51:31,053 - INFO - Project ctest-TestBasicPolicy-46650533 not found, creating it 2025-06-30 11:51:31,572 - INFO - Created Project:ctest-TestBasicPolicy-46650533, ID : 46df31ca-6689-4341-b36c-29c4f21ae3aa 2025-06-30 11:51:33,329 - INFO - ================================================================================ 2025-06-30 11:51:33,329 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 11:51:33,329 - 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-06-30 11:51:33,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2025-06-30 11:51:33,603 - INFO - Initial checks done. Running the testcase now 2025-06-30 11:51:33,603 - INFO - 2025-06-30 11:51:34,254 - DEBUG - Response for create_network : {'network': {'id': 'e0cfa68a-a7cb-4976-9db8-97134be6a069', 'name': 'ctest-vn-14603504', 'tenant_id': '46df31ca66894341b36c29c4f21ae3aa', 'project_id': '46df31ca66894341b36c29c4f21ae3aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46650533', 'ctest-vn-14603504'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:51:34,518 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f137d46-ce98-4045-8cf0-8817b149af85', 'name': '', 'tenant_id': '46df31ca66894341b36c29c4f21ae3aa', 'network_id': 'e0cfa68a-a7cb-4976-9db8-97134be6a069', 'ip_version': 4, 'cidr': '209.122.83.192/26', 'allocation_pools': [{'start': '209.122.83.194', 'end': '209.122.83.254'}], 'gateway_ip': '209.122.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.122.83.194', 'tags': [], 'project_id': '46df31ca66894341b36c29c4f21ae3aa'}} 2025-06-30 11:51:34,546 - INFO - Created VN ctest-vn-14603504 2025-06-30 11:51:34,606 - DEBUG - VN ctest-vn-14603504 UUID is e0cfa68a-a7cb-4976-9db8-97134be6a069 2025-06-30 11:51:34,981 - DEBUG - Response for create_network : {'network': {'id': '041a721a-b83c-4302-9db2-5886b7e64dd2', 'name': 'ctest-vn-52918456', 'tenant_id': '46df31ca66894341b36c29c4f21ae3aa', 'project_id': '46df31ca66894341b36c29c4f21ae3aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46650533', 'ctest-vn-52918456'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:51:35,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '518b95d6-cdb5-424d-b561-2cfca5982410', 'name': '', 'tenant_id': '46df31ca66894341b36c29c4f21ae3aa', 'network_id': '041a721a-b83c-4302-9db2-5886b7e64dd2', 'ip_version': 4, 'cidr': '117.219.114.128/26', 'allocation_pools': [{'start': '117.219.114.130', 'end': '117.219.114.190'}], 'gateway_ip': '117.219.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.219.114.130', 'tags': [], 'project_id': '46df31ca66894341b36c29c4f21ae3aa'}} 2025-06-30 11:51:35,255 - INFO - Created VN ctest-vn-52918456 2025-06-30 11:51:35,313 - DEBUG - VN ctest-vn-52918456 UUID is 041a721a-b83c-4302-9db2-5886b7e64dd2 2025-06-30 11:51:35,438 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-14603504, 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-46650533:ctest-vn-52918456, 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-06-30 11:51:35,774 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0cfa68a-a7cb-4976-9db8-97134be6a069', 'name': 'ctest-vn-14603504', 'tenant_id': '46df31ca66894341b36c29c4f21ae3aa', 'project_id': '46df31ca66894341b36c29c4f21ae3aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f137d46-ce98-4045-8cf0-8817b149af85'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46650533', 'ctest-vn-14603504'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46650533', 'ctest-policy-allow-all-01744308']], 'subnet_ipam': [{'subnet_cidr': '209.122.83.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:51:36,082 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '041a721a-b83c-4302-9db2-5886b7e64dd2', 'name': 'ctest-vn-52918456', 'tenant_id': '46df31ca66894341b36c29c4f21ae3aa', 'project_id': '46df31ca66894341b36c29c4f21ae3aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['518b95d6-cdb5-424d-b561-2cfca5982410'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46650533', 'ctest-vn-52918456'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46650533', 'ctest-policy-allow-all-01744308']], 'subnet_ipam': [{'subnet_cidr': '117.219.114.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:51:36,253 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 11:51:36,558 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 11:51:36,589 - DEBUG - Requesting: http://10.0.0.19:8082/domain/49ec8c5f-d8e0-4e05-85bc-49d58742fede 2025-06-30 11:51:36,605 - DEBUG - Requesting: http://10.0.0.19:8082/project/46df31ca-6689-4341-b36c-29c4f21ae3aa 2025-06-30 11:51:36,682 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0cfa68a-a7cb-4976-9db8-97134be6a069 2025-06-30 11:51:36,695 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0cfa68a-a7cb-4976-9db8-97134be6a069 2025-06-30 11:51:36,707 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d783db18-1354-4d31-a957-e93fba2bc8c5 2025-06-30 11:51:36,716 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d783db18-1354-4d31-a957-e93fba2bc8c5 2025-06-30 11:51:36,724 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/1ea52242-8be3-4af0-8d03-7c6865726bc0 2025-06-30 11:51:36,731 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 11:51:36,731 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0cfa68a-a7cb-4976-9db8-97134be6a069 2025-06-30 11:51:36,744 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d783db18-1354-4d31-a957-e93fba2bc8c5 2025-06-30 11:51:36,763 - INFO - Verified VN network id 8 for VN e0cfa68a-a7cb-4976-9db8-97134be6a069 2025-06-30 11:51:36,763 - INFO - Verifications in API Server for VN ctest-vn-14603504 passed 2025-06-30 11:51:36,764 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0cfa68a-a7cb-4976-9db8-97134be6a069 2025-06-30 11:51:36,774 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d783db18-1354-4d31-a957-e93fba2bc8c5 2025-06-30 11:51:36,781 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d783db18-1354-4d31-a957-e93fba2bc8c5 2025-06-30 11:51:36,789 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/1ea52242-8be3-4af0-8d03-7c6865726bc0 2025-06-30 11:51:36,804 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-14603504', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46650533', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16199349499125778806', 'uuid-lslong': '11364999768803025001'}, 'enable': 'true', 'created': '2025-06-30T11:51:34', 'last-modified': '2025-06-30T11:51:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.076686'} 2025-06-30 11:51:36,812 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 11:51:36,813 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14603504 passed 2025-06-30 11:51:36,813 - DEBUG - ====Verifying policy data for ctest-vn-14603504 in API_Server ====== 2025-06-30 11:51:36,813 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 11:51:36,820 - DEBUG - Requesting: http://10.0.0.19:8082/domain/49ec8c5f-d8e0-4e05-85bc-49d58742fede 2025-06-30 11:51:36,832 - DEBUG - Requesting: http://10.0.0.19:8082/project/46df31ca-6689-4341-b36c-29c4f21ae3aa 2025-06-30 11:51:36,907 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0cfa68a-a7cb-4976-9db8-97134be6a069 2025-06-30 11:51:36,921 - DEBUG - ==>Verifying data for policy with id: 9374ed82-6e0f-4b09-b355-64ddb1bb6c79, fqn: ['default-domain', 'ctest-TestBasicPolicy-46650533', 'ctest-policy-allow-all-01744308'] 2025-06-30 11:51:36,921 - INFO - VN ctest-vn-14603504 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 11:51:36,922 - DEBUG - Verifying the vn in opserver 2025-06-30 11:51:36,922 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-14603504 virtual network link through opserver 10.0.0.19 2025-06-30 11:51:36,922 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 11:51:37,216 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 11:51:37,273 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-14603504', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-14603504?flat'} 2025-06-30 11:51:37,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-14603504 is found in opserver 2025-06-30 11:51:37,285 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 11:51:37,290 - DEBUG - VRF ids for VN ctest-vn-14603504: {} 2025-06-30 11:51:37,290 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 11:51:37,296 - DEBUG - Requesting: http://10.0.0.19:8082/domain/49ec8c5f-d8e0-4e05-85bc-49d58742fede 2025-06-30 11:51:37,307 - DEBUG - Requesting: http://10.0.0.19:8082/project/46df31ca-6689-4341-b36c-29c4f21ae3aa 2025-06-30 11:51:37,380 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/041a721a-b83c-4302-9db2-5886b7e64dd2 2025-06-30 11:51:37,392 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/041a721a-b83c-4302-9db2-5886b7e64dd2 2025-06-30 11:51:37,402 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e262cd5-4001-4207-b4fd-a5068be6161f 2025-06-30 11:51:37,408 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e262cd5-4001-4207-b4fd-a5068be6161f 2025-06-30 11:51:37,415 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eea6dd0a-61e4-4fdb-b028-8f6015d01763 2025-06-30 11:51:37,422 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 11:51:37,422 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/041a721a-b83c-4302-9db2-5886b7e64dd2 2025-06-30 11:51:37,432 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e262cd5-4001-4207-b4fd-a5068be6161f 2025-06-30 11:51:37,447 - INFO - Verified VN network id 9 for VN 041a721a-b83c-4302-9db2-5886b7e64dd2 2025-06-30 11:51:37,447 - INFO - Verifications in API Server for VN ctest-vn-52918456 passed 2025-06-30 11:51:37,447 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/041a721a-b83c-4302-9db2-5886b7e64dd2 2025-06-30 11:51:37,456 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e262cd5-4001-4207-b4fd-a5068be6161f 2025-06-30 11:51:37,463 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e262cd5-4001-4207-b4fd-a5068be6161f 2025-06-30 11:51:37,470 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eea6dd0a-61e4-4fdb-b028-8f6015d01763 2025-06-30 11:51:37,484 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-52918456', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46650533', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '295674184631862018', 'uuid-lslong': '11363242145443368402'}, 'enable': 'true', 'created': '2025-06-30T11:51:34', 'last-modified': '2025-06-30T11:51:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467362'} 2025-06-30 11:51:37,493 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 11:51:37,493 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52918456 passed 2025-06-30 11:51:37,493 - DEBUG - ====Verifying policy data for ctest-vn-52918456 in API_Server ====== 2025-06-30 11:51:37,493 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 11:51:37,500 - DEBUG - Requesting: http://10.0.0.19:8082/domain/49ec8c5f-d8e0-4e05-85bc-49d58742fede 2025-06-30 11:51:37,513 - DEBUG - Requesting: http://10.0.0.19:8082/project/46df31ca-6689-4341-b36c-29c4f21ae3aa 2025-06-30 11:51:37,587 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/041a721a-b83c-4302-9db2-5886b7e64dd2 2025-06-30 11:51:37,596 - DEBUG - ==>Verifying data for policy with id: 9374ed82-6e0f-4b09-b355-64ddb1bb6c79, fqn: ['default-domain', 'ctest-TestBasicPolicy-46650533', 'ctest-policy-allow-all-01744308'] 2025-06-30 11:51:37,596 - INFO - VN ctest-vn-52918456 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 11:51:37,596 - DEBUG - Verifying the vn in opserver 2025-06-30 11:51:37,596 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-52918456 virtual network link through opserver 10.0.0.19 2025-06-30 11:51:37,596 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 11:51:37,607 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-52918456', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-52918456?flat'} 2025-06-30 11:51:37,607 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-52918456 is found in opserver 2025-06-30 11:51:37,619 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 11:51:37,624 - DEBUG - VRF ids for VN ctest-vn-52918456: {} 2025-06-30 11:51:37,678 - DEBUG - Services list from nova: [, , ] 2025-06-30 11:51:38,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3575-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3575-1) 2025-06-30 11:51:39,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3575-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3575-1) 2025-06-30 11:51:39,897 - INFO - Waiting for VM ctest-TestBasicPolicy-46650533-08710578 to be up.. 2025-06-30 11:51:39,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 11:51:45,072 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:51:45,072 - INFO - VM name : ctest-TestBasicPolicy-46650533-08710578 2025-06-30 11:51:45,153 - DEBUG - VM ctest-TestBasicPolicy-46650533-08710578 ID is cac58495-ca11-4141-8eef-af9b1c1691a8 2025-06-30 11:51:45,170 - DEBUG - VM ctest-TestBasicPolicy-46650533-08710578 launched on Node cn-jenkins-deploy-platform-ansible-os-3575-1 2025-06-30 11:51:45,247 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/cac58495-ca11-4141-8eef-af9b1c1691a8 2025-06-30 11:51:45,255 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2c443e14-359c-4a1f-9f85-5afd9a1d5f41 2025-06-30 11:51:48,509 - 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 1011ms') 2025-06-30 11:51:48,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46650533-08710578 failed! 2025-06-30 11:51:48,565 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46650533:ctest-vn-14603504 is 209.122.83.193 and allocation pool is NOT set 2025-06-30 11:51:50,629 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.423 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.423/1.814/3.206/1.391 ms') 2025-06-30 11:51:50,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46650533-08710578 passed 2025-06-30 11:51:50,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:51:50,785 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46650533-08710578, IP 209.122.83.195, Port 22 2025-06-30 11:51:50,941 - DEBUG - VM ctest-TestBasicPolicy-46650533-08710578 is ready for SSH connections 2025-06-30 11:51:50,941 - INFO - Waiting for VM ctest-TestBasicPolicy-46650533-90262779 to be up.. 2025-06-30 11:51:51,017 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:51:51,017 - INFO - VM name : ctest-TestBasicPolicy-46650533-90262779 2025-06-30 11:51:51,093 - DEBUG - VM ctest-TestBasicPolicy-46650533-90262779 ID is 12713b7b-62e2-4cb9-a89e-3a0f1423c389 2025-06-30 11:51:51,093 - DEBUG - VM ctest-TestBasicPolicy-46650533-90262779 launched on Node cn-jenkins-deploy-platform-ansible-os-3575-1 2025-06-30 11:51:51,165 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/12713b7b-62e2-4cb9-a89e-3a0f1423c389 2025-06-30 11:51:51,173 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/46dbc115-b3d4-4b0e-af37-a9cf294c379c 2025-06-30 11:51:52,421 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.429/1.542/2.655/1.113 ms') 2025-06-30 11:51:52,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46650533-90262779 passed 2025-06-30 11:51:52,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:51:52,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46650533-90262779, IP 117.219.114.131, Port 22 2025-06-30 11:51:52,725 - DEBUG - VM ctest-TestBasicPolicy-46650533-90262779 is ready for SSH connections 2025-06-30 11:51:52,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:51:52,725 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.219.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-30 11:51:52,725 - DEBUG - ping -s 56 -c 3 -W 1 117.219.114.131 2025-06-30 11:51:56,685 - DEBUG - PING 117.219.114.131 (117.219.114.131): 56 data bytes 64 bytes from 117.219.114.131: seq=0 ttl=63 time=3.244 ms 64 bytes from 117.219.114.131: seq=1 ttl=63 time=0.754 ms 64 bytes from 117.219.114.131: seq=2 ttl=63 time=0.699 ms --- 117.219.114.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.699/1.565/3.244 ms 2025-06-30 11:51:56,686 - INFO - Ping to IP 117.219.114.131 from VM ctest-TestBasicPolicy-46650533-08710578 passed 2025-06-30 11:51:56,869 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9374ed82-6e0f-4b09-b355-64ddb1bb6c79", "href": "http://10.0.0.19:8082/network-policy/9374ed82-6e0f-4b09-b355-64ddb1bb6c79"}} 2025-06-30 11:51:56,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:51:56,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.219.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-30 11:51:56,869 - DEBUG - ping -s 56 -c 3 -W 1 117.219.114.131 2025-06-30 11:52:00,076 - DEBUG - PING 117.219.114.131 (117.219.114.131): 56 data bytes --- 117.219.114.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-30 11:52:00,076 - WARNING - Ping to IP 117.219.114.131 from VM ctest-TestBasicPolicy-46650533-08710578 failed 2025-06-30 11:52:00,076 - INFO - Deleting VM ctest-TestBasicPolicy-46650533-90262779 2025-06-30 11:52:00,141 - INFO - Deleting VM ctest-TestBasicPolicy-46650533-08710578 2025-06-30 11:52:00,514 - INFO - Deleted policy ctest-policy-allow-all-01744308 2025-06-30 11:52:00,515 - INFO - Deleting VN ctest-vn-52918456 2025-06-30 11:52:00,548 - DEBUG - VN 041a721a-b83c-4302-9db2-5886b7e64dd2 still in use: Unable to complete operation on network 041a721a-b83c-4302-9db2-5886b7e64dd2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14f6faeb-86fd-4d08-941a-bada230d8991'] 2025-06-30 11:52:00,548 - WARNING - Deleting VN ctest-vn-52918456 failed..Will retry 2025-06-30 11:52:02,656 - DEBUG - Response for deleting network () 2025-06-30 11:52:02,656 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e262cd5-4001-4207-b4fd-a5068be6161f 2025-06-30 11:52:02,664 - DEBUG - Response Code: 404 2025-06-30 11:52:02,664 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 11:52:02,670 - DEBUG - Requesting: http://10.0.0.19:8082/domain/49ec8c5f-d8e0-4e05-85bc-49d58742fede 2025-06-30 11:52:02,728 - DEBUG - Requesting: http://10.0.0.19:8082/project/46df31ca-6689-4341-b36c-29c4f21ae3aa 2025-06-30 11:52:02,804 - INFO - Validated that VN ctest-vn-52918456 is not found in API Server 2025-06-30 11:52:02,814 - DEBUG - VN ctest-vn-52918456 is not present in Agent 10.0.0.19 2025-06-30 11:52:02,814 - INFO - Validated that VN ctest-vn-52918456 is not in any agent 2025-06-30 11:52:02,830 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52918456 info 2025-06-30 11:52:02,830 - INFO - Deleting VN ctest-vn-14603504 2025-06-30 11:52:02,940 - DEBUG - Response for deleting network () 2025-06-30 11:52:02,940 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d783db18-1354-4d31-a957-e93fba2bc8c5 2025-06-30 11:52:02,946 - DEBUG - Response Code: 404 2025-06-30 11:52:02,946 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 11:52:02,951 - DEBUG - Requesting: http://10.0.0.19:8082/domain/49ec8c5f-d8e0-4e05-85bc-49d58742fede 2025-06-30 11:52:03,007 - DEBUG - Requesting: http://10.0.0.19:8082/project/46df31ca-6689-4341-b36c-29c4f21ae3aa 2025-06-30 11:52:03,083 - INFO - Validated that VN ctest-vn-14603504 is not found in API Server 2025-06-30 11:52:03,094 - DEBUG - VN ctest-vn-14603504 is not present in Agent 10.0.0.19 2025-06-30 11:52:03,094 - INFO - Validated that VN ctest-vn-14603504 is not in any agent 2025-06-30 11:52:03,111 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14603504 info 2025-06-30 11:52:03,363 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 11:52:03,363 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-30 11:52:03,363 - INFO - -------------------------------------------------------------------------------- 2025-06-30 11:52:04,043 - INFO - Deleted project: ctest-TestBasicPolicy-46650533, ID : 46df31ca-6689-4341-b36c-29c4f21ae3aa