2025-10-14 18:15:59,935 - INFO - Domain Default found not creating 2025-10-14 18:16:00,094 - INFO - Project ctest-TestBasicPolicy-78809846 not found, creating it 2025-10-14 18:16:00,562 - INFO - Created Project:ctest-TestBasicPolicy-78809846, ID : d6a6fb9a-ada0-43d4-800b-61a19acab5ed 2025-10-14 18:16:02,104 - INFO - ================================================================================ 2025-10-14 18:16:02,104 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-14 18:16:02,104 - 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-10-14 18:16:02,359 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.18': '0'}} with 2025-10-14 18:16:02,359 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:16:02,359 - INFO - 2025-10-14 18:16:02,989 - DEBUG - Response for create_network : {'network': {'id': '184ac383-60a3-49a1-9642-df1dfa71ee40', 'name': 'ctest-vn-68081391', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-vn-68081391'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:16:03,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '66ed5a5b-1c28-44de-a77e-b71b7a4bd71e', 'name': '', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'network_id': '184ac383-60a3-49a1-9642-df1dfa71ee40', 'ip_version': 4, 'cidr': '36.6.226.128/26', 'allocation_pools': [{'start': '36.6.226.130', 'end': '36.6.226.190'}], 'gateway_ip': '36.6.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.6.226.130', 'tags': [], 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed'}} 2025-10-14 18:16:03,243 - INFO - Created VN ctest-vn-68081391 2025-10-14 18:16:03,297 - DEBUG - VN ctest-vn-68081391 UUID is 184ac383-60a3-49a1-9642-df1dfa71ee40 2025-10-14 18:16:03,595 - DEBUG - Response for create_network : {'network': {'id': '0353ae0b-3e2f-4b13-af8b-7479dd9b8328', 'name': 'ctest-vn-79058579', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-vn-79058579'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:16:03,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '16b296b3-5132-42e6-a349-66dc54d67f00', 'name': '', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'network_id': '0353ae0b-3e2f-4b13-af8b-7479dd9b8328', 'ip_version': 4, 'cidr': '111.21.201.192/26', 'allocation_pools': [{'start': '111.21.201.194', 'end': '111.21.201.254'}], 'gateway_ip': '111.21.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.21.201.194', 'tags': [], 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed'}} 2025-10-14 18:16:03,791 - INFO - Created VN ctest-vn-79058579 2025-10-14 18:16:03,841 - DEBUG - VN ctest-vn-79058579 UUID is 0353ae0b-3e2f-4b13-af8b-7479dd9b8328 2025-10-14 18:16:03,960 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391, 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-78809846:ctest-vn-79058579, 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-10-14 18:16:04,275 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '184ac383-60a3-49a1-9642-df1dfa71ee40', 'name': 'ctest-vn-68081391', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['66ed5a5b-1c28-44de-a77e-b71b7a4bd71e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-vn-68081391'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-policy-allow-all-27629749']], 'subnet_ipam': [{'subnet_cidr': '36.6.226.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:16:04,514 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0353ae0b-3e2f-4b13-af8b-7479dd9b8328', 'name': 'ctest-vn-79058579', 'tenant_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'project_id': 'd6a6fb9aada043d4800b61a19acab5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16b296b3-5132-42e6-a349-66dc54d67f00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-vn-79058579'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-policy-allow-all-27629749']], 'subnet_ipam': [{'subnet_cidr': '111.21.201.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:16:04,685 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-14 18:16:04,990 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-14 18:16:05,024 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73 2025-10-14 18:16:05,041 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed 2025-10-14 18:16:05,135 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40 2025-10-14 18:16:05,153 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40 2025-10-14 18:16:05,163 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0 2025-10-14 18:16:05,171 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0 2025-10-14 18:16:05,177 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/23e93aab-e2af-4495-ab74-868797f0e04d 2025-10-14 18:16:05,184 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-14 18:16:05,184 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40 2025-10-14 18:16:05,196 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0 2025-10-14 18:16:05,212 - INFO - Verified VN network id 11 for VN 184ac383-60a3-49a1-9642-df1dfa71ee40 2025-10-14 18:16:05,212 - INFO - Verifications in API Server for VN ctest-vn-68081391 passed 2025-10-14 18:16:05,212 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40 2025-10-14 18:16:05,223 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0 2025-10-14 18:16:05,232 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0 2025-10-14 18:16:05,240 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/23e93aab-e2af-4495-ab74-868797f0e04d 2025-10-14 18:16:05,253 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78809846', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1750426374216305057', 'uuid-lslong': '10827461774000909888'}, 'enable': 'true', 'created': '2025-10-14T18:16:02', 'last-modified': '2025-10-14T18:16:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.002242'} 2025-10-14 18:16:05,260 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-14 18:16:05,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68081391 passed 2025-10-14 18:16:05,261 - DEBUG - ====Verifying policy data for ctest-vn-68081391 in API_Server ====== 2025-10-14 18:16:05,261 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-14 18:16:05,267 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73 2025-10-14 18:16:05,278 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed 2025-10-14 18:16:05,347 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/184ac383-60a3-49a1-9642-df1dfa71ee40 2025-10-14 18:16:05,357 - DEBUG - ==>Verifying data for policy with id: 65b0bee8-d2d2-4863-94d1-bcb068ef302b, fqn: ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-policy-allow-all-27629749'] 2025-10-14 18:16:05,357 - INFO - VN ctest-vn-68081391 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-14 18:16:05,357 - DEBUG - Verifying the vn in opserver 2025-10-14 18:16:05,357 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391 virtual network link through opserver 10.0.0.27 2025-10-14 18:16:05,357 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-14 18:16:05,653 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-14 18:16:05,716 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391?flat'} 2025-10-14 18:16:05,716 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391 is found in opserver 2025-10-14 18:16:05,727 - DEBUG - Do not have enough data to verify VN in agent 2025-10-14 18:16:05,733 - DEBUG - VRF ids for VN ctest-vn-68081391: {} 2025-10-14 18:16:05,733 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-14 18:16:05,741 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73 2025-10-14 18:16:05,770 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed 2025-10-14 18:16:05,842 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328 2025-10-14 18:16:05,854 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328 2025-10-14 18:16:05,862 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27 2025-10-14 18:16:05,871 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27 2025-10-14 18:16:05,879 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1da40401-43dc-4660-8928-eb728cbec643 2025-10-14 18:16:05,886 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-14 18:16:05,886 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328 2025-10-14 18:16:05,895 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27 2025-10-14 18:16:05,912 - INFO - Verified VN network id 12 for VN 0353ae0b-3e2f-4b13-af8b-7479dd9b8328 2025-10-14 18:16:05,912 - INFO - Verifications in API Server for VN ctest-vn-79058579 passed 2025-10-14 18:16:05,912 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328 2025-10-14 18:16:05,922 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27 2025-10-14 18:16:05,929 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27 2025-10-14 18:16:05,936 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1da40401-43dc-4660-8928-eb728cbec643 2025-10-14 18:16:05,950 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78809846', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '239726568491928339', 'uuid-lslong': '12649332045157991208'}, 'enable': 'true', 'created': '2025-10-14T18:16:03', 'last-modified': '2025-10-14T18:16:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.461398'} 2025-10-14 18:16:05,958 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-14 18:16:05,958 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79058579 passed 2025-10-14 18:16:05,958 - DEBUG - ====Verifying policy data for ctest-vn-79058579 in API_Server ====== 2025-10-14 18:16:05,958 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-14 18:16:05,965 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73 2025-10-14 18:16:05,976 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed 2025-10-14 18:16:06,049 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0353ae0b-3e2f-4b13-af8b-7479dd9b8328 2025-10-14 18:16:06,059 - DEBUG - ==>Verifying data for policy with id: 65b0bee8-d2d2-4863-94d1-bcb068ef302b, fqn: ['default-domain', 'ctest-TestBasicPolicy-78809846', 'ctest-policy-allow-all-27629749'] 2025-10-14 18:16:06,059 - INFO - VN ctest-vn-79058579 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-14 18:16:06,059 - DEBUG - Verifying the vn in opserver 2025-10-14 18:16:06,059 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579 virtual network link through opserver 10.0.0.27 2025-10-14 18:16:06,059 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-14 18:16:06,071 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579?flat'} 2025-10-14 18:16:06,071 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-79058579 is found in opserver 2025-10-14 18:16:06,080 - DEBUG - Do not have enough data to verify VN in agent 2025-10-14 18:16:06,085 - DEBUG - VRF ids for VN ctest-vn-79058579: {} 2025-10-14 18:16:06,144 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:16:07,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4318-1) 2025-10-14 18:16:08,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4318-1) 2025-10-14 18:16:08,335 - INFO - Waiting for VM ctest-TestBasicPolicy-78809846-24669227 to be up.. 2025-10-14 18:16:08,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:16:13,491 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:16:13,491 - INFO - VM name : ctest-TestBasicPolicy-78809846-24669227 2025-10-14 18:16:13,589 - DEBUG - VM ctest-TestBasicPolicy-78809846-24669227 ID is d97f66f6-7975-4451-b1e5-37b85815beff 2025-10-14 18:16:13,612 - DEBUG - VM ctest-TestBasicPolicy-78809846-24669227 launched on Node cn-jenkins-deploy-platform-ansible-os-4318-1 2025-10-14 18:16:13,704 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d97f66f6-7975-4451-b1e5-37b85815beff 2025-10-14 18:16:13,714 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/84691a12-a95a-48e1-80b9-fdc37d10648d 2025-10-14 18:16:16,969 - 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 1010ms') 2025-10-14 18:16:16,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78809846-24669227 failed! 2025-10-14 18:16:17,021 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78809846:ctest-vn-68081391 is 36.6.226.129 and allocation pool is NOT set 2025-10-14 18:16:19,088 - 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=16.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.862 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.862/8.609/16.357/7.747 ms') 2025-10-14 18:16:19,088 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78809846-24669227 passed 2025-10-14 18:16:19,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:16:19,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78809846-24669227, IP 36.6.226.131, Port 22 2025-10-14 18:16:19,393 - DEBUG - VM ctest-TestBasicPolicy-78809846-24669227 is ready for SSH connections 2025-10-14 18:16:19,393 - INFO - Waiting for VM ctest-TestBasicPolicy-78809846-70295843 to be up.. 2025-10-14 18:16:19,467 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:16:19,467 - INFO - VM name : ctest-TestBasicPolicy-78809846-70295843 2025-10-14 18:16:19,546 - DEBUG - VM ctest-TestBasicPolicy-78809846-70295843 ID is 4b0168ee-12d3-4cf5-ba44-a3524568e53d 2025-10-14 18:16:19,546 - DEBUG - VM ctest-TestBasicPolicy-78809846-70295843 launched on Node cn-jenkins-deploy-platform-ansible-os-4318-1 2025-10-14 18:16:19,625 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4b0168ee-12d3-4cf5-ba44-a3524568e53d 2025-10-14 18:16:19,635 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6d85ca1e-75ed-4820-971a-1d3afa2e42b4 2025-10-14 18:16:20,875 - 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=3.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/2.209/3.967/1.757 ms') 2025-10-14 18:16:20,875 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78809846-70295843 passed 2025-10-14 18:16:21,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:16:21,025 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78809846-70295843, IP 111.21.201.195, Port 22 2025-10-14 18:16:21,189 - DEBUG - VM ctest-TestBasicPolicy-78809846-70295843 is ready for SSH connections 2025-10-14 18:16:21,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:16:21,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.21.201.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-14 18:16:21,190 - DEBUG - ping -s 56 -c 3 -W 1 111.21.201.195 2025-10-14 18:16:24,876 - DEBUG - PING 111.21.201.195 (111.21.201.195): 56 data bytes 64 bytes from 111.21.201.195: seq=0 ttl=63 time=3.573 ms 64 bytes from 111.21.201.195: seq=1 ttl=63 time=1.091 ms 64 bytes from 111.21.201.195: seq=2 ttl=63 time=0.826 ms --- 111.21.201.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.830/3.573 ms 2025-10-14 18:16:24,876 - INFO - Ping to IP 111.21.201.195 from VM ctest-TestBasicPolicy-78809846-24669227 passed 2025-10-14 18:16:25,057 - DEBUG - Policy Update Response {"network-policy": {"uuid": "65b0bee8-d2d2-4863-94d1-bcb068ef302b", "href": "http://10.0.0.27:8082/network-policy/65b0bee8-d2d2-4863-94d1-bcb068ef302b"}} 2025-10-14 18:16:25,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:16:25,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.21.201.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-14 18:16:25,057 - DEBUG - ping -s 56 -c 3 -W 1 111.21.201.195 2025-10-14 18:16:28,262 - DEBUG - PING 111.21.201.195 (111.21.201.195): 56 data bytes --- 111.21.201.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-14 18:16:28,262 - WARNING - Ping to IP 111.21.201.195 from VM ctest-TestBasicPolicy-78809846-24669227 failed 2025-10-14 18:16:28,262 - INFO - Deleting VM ctest-TestBasicPolicy-78809846-70295843 2025-10-14 18:16:28,329 - INFO - Deleting VM ctest-TestBasicPolicy-78809846-24669227 2025-10-14 18:16:28,746 - INFO - Deleted policy ctest-policy-allow-all-27629749 2025-10-14 18:16:28,747 - INFO - Deleting VN ctest-vn-79058579 2025-10-14 18:16:28,783 - DEBUG - VN 0353ae0b-3e2f-4b13-af8b-7479dd9b8328 still in use: Unable to complete operation on network 0353ae0b-3e2f-4b13-af8b-7479dd9b8328. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0aaa1f3e-f063-4f57-b4a5-6a9779c71abc'] 2025-10-14 18:16:28,784 - WARNING - Deleting VN ctest-vn-79058579 failed..Will retry 2025-10-14 18:16:30,887 - DEBUG - Response for deleting network () 2025-10-14 18:16:30,887 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ef21686d-3653-42ea-82ea-155b86de2f27 2025-10-14 18:16:30,892 - DEBUG - Response Code: 404 2025-10-14 18:16:30,892 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-14 18:16:30,899 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73 2025-10-14 18:16:30,950 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed 2025-10-14 18:16:31,022 - INFO - Validated that VN ctest-vn-79058579 is not found in API Server 2025-10-14 18:16:31,031 - DEBUG - VN ctest-vn-79058579 is not present in Agent 10.0.0.27 2025-10-14 18:16:31,031 - INFO - Validated that VN ctest-vn-79058579 is not in any agent 2025-10-14 18:16:31,043 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79058579 info 2025-10-14 18:16:31,043 - INFO - Deleting VN ctest-vn-68081391 2025-10-14 18:16:31,137 - DEBUG - Response for deleting network () 2025-10-14 18:16:31,137 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b10ceb3d-52a3-40ad-aa31-b0f3d62f97e0 2025-10-14 18:16:31,141 - DEBUG - Response Code: 404 2025-10-14 18:16:31,141 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-14 18:16:31,148 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2692cba0-abf7-414a-9e88-22f114476d73 2025-10-14 18:16:31,206 - DEBUG - Requesting: http://10.0.0.27:8082/project/d6a6fb9a-ada0-43d4-800b-61a19acab5ed 2025-10-14 18:16:31,276 - INFO - Validated that VN ctest-vn-68081391 is not found in API Server 2025-10-14 18:16:31,286 - DEBUG - VN ctest-vn-68081391 is not present in Agent 10.0.0.27 2025-10-14 18:16:31,286 - INFO - Validated that VN ctest-vn-68081391 is not in any agent 2025-10-14 18:16:31,300 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68081391 info 2025-10-14 18:16:31,553 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 18:16:31,553 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-14 18:16:31,554 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:16:32,237 - INFO - Deleted project: ctest-TestBasicPolicy-78809846, ID : d6a6fb9a-ada0-43d4-800b-61a19acab5ed