2025-09-17 14:22:20,171 - INFO - Domain Default found not creating 2025-09-17 14:22:20,335 - INFO - Project ctest-TestBasicPolicy-46451504 not found, creating it 2025-09-17 14:22:20,804 - INFO - Created Project:ctest-TestBasicPolicy-46451504, ID : 849eeb6c-77b8-4495-a37e-0fe2089593d7 2025-09-17 14:22:22,305 - INFO - ================================================================================ 2025-09-17 14:22:22,306 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-17 14:22:22,306 - 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-09-17 14:22:22,591 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-17 14:22:22,591 - INFO - Initial checks done. Running the testcase now 2025-09-17 14:22:22,591 - INFO - 2025-09-17 14:22:23,216 - DEBUG - Response for create_network : {'network': {'id': '4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f', 'name': 'ctest-vn-91602961', 'tenant_id': '849eeb6c77b84495a37e0fe2089593d7', 'project_id': '849eeb6c77b84495a37e0fe2089593d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46451504', 'ctest-vn-91602961'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 14:22:23,437 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1d28deb-f635-43bd-9b25-779cc573fb96', 'name': '', 'tenant_id': '849eeb6c77b84495a37e0fe2089593d7', 'network_id': '4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f', 'ip_version': 4, 'cidr': '135.1.22.64/26', 'allocation_pools': [{'start': '135.1.22.66', 'end': '135.1.22.126'}], 'gateway_ip': '135.1.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.1.22.66', 'tags': [], 'project_id': '849eeb6c77b84495a37e0fe2089593d7'}} 2025-09-17 14:22:23,457 - INFO - Created VN ctest-vn-91602961 2025-09-17 14:22:23,512 - DEBUG - VN ctest-vn-91602961 UUID is 4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f 2025-09-17 14:22:23,794 - DEBUG - Response for create_network : {'network': {'id': 'da0d2eb1-a639-45f5-91f9-8ac6645e142e', 'name': 'ctest-vn-37425202', 'tenant_id': '849eeb6c77b84495a37e0fe2089593d7', 'project_id': '849eeb6c77b84495a37e0fe2089593d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46451504', 'ctest-vn-37425202'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 14:22:23,987 - DEBUG - Response for create_subnet : {'subnet': {'id': '35a28284-941f-45d3-8131-00eab59ea586', 'name': '', 'tenant_id': '849eeb6c77b84495a37e0fe2089593d7', 'network_id': 'da0d2eb1-a639-45f5-91f9-8ac6645e142e', 'ip_version': 4, 'cidr': '187.170.109.192/26', 'allocation_pools': [{'start': '187.170.109.194', 'end': '187.170.109.254'}], 'gateway_ip': '187.170.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.170.109.194', 'tags': [], 'project_id': '849eeb6c77b84495a37e0fe2089593d7'}} 2025-09-17 14:22:24,014 - INFO - Created VN ctest-vn-37425202 2025-09-17 14:22:24,064 - DEBUG - VN ctest-vn-37425202 UUID is da0d2eb1-a639-45f5-91f9-8ac6645e142e 2025-09-17 14:22:24,189 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-91602961, 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-46451504:ctest-vn-37425202, 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-09-17 14:22:24,490 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f', 'name': 'ctest-vn-91602961', 'tenant_id': '849eeb6c77b84495a37e0fe2089593d7', 'project_id': '849eeb6c77b84495a37e0fe2089593d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1d28deb-f635-43bd-9b25-779cc573fb96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46451504', 'ctest-vn-91602961'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46451504', 'ctest-policy-allow-all-82174197']], 'subnet_ipam': [{'subnet_cidr': '135.1.22.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-17 14:22:24,725 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da0d2eb1-a639-45f5-91f9-8ac6645e142e', 'name': 'ctest-vn-37425202', 'tenant_id': '849eeb6c77b84495a37e0fe2089593d7', 'project_id': '849eeb6c77b84495a37e0fe2089593d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['35a28284-941f-45d3-8131-00eab59ea586'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46451504', 'ctest-vn-37425202'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46451504', 'ctest-policy-allow-all-82174197']], 'subnet_ipam': [{'subnet_cidr': '187.170.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-17 14:22:24,892 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 14:22:25,207 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 14:22:25,237 - DEBUG - Requesting: http://10.0.0.254:8082/domain/527a8172-c3f0-4440-8c4b-e91c2764378b 2025-09-17 14:22:25,250 - DEBUG - Requesting: http://10.0.0.254:8082/project/849eeb6c-77b8-4495-a37e-0fe2089593d7 2025-09-17 14:22:25,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f 2025-09-17 14:22:25,332 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f 2025-09-17 14:22:25,341 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/907a40a9-3641-4f4b-bb29-b602bbd8436c 2025-09-17 14:22:25,348 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/907a40a9-3641-4f4b-bb29-b602bbd8436c 2025-09-17 14:22:25,355 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6a1167c9-960d-431e-a073-90b6f2b03cc7 2025-09-17 14:22:25,361 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-17 14:22:25,361 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f 2025-09-17 14:22:25,370 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/907a40a9-3641-4f4b-bb29-b602bbd8436c 2025-09-17 14:22:25,385 - INFO - Verified VN network id 11 for VN 4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f 2025-09-17 14:22:25,385 - INFO - Verifications in API Server for VN ctest-vn-91602961 passed 2025-09-17 14:22:25,385 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f 2025-09-17 14:22:25,394 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/907a40a9-3641-4f4b-bb29-b602bbd8436c 2025-09-17 14:22:25,401 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/907a40a9-3641-4f4b-bb29-b602bbd8436c 2025-09-17 14:22:25,408 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6a1167c9-960d-431e-a073-90b6f2b03cc7 2025-09-17 14:22:25,421 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-91602961', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46451504', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5732720542533897801', 'uuid-lslong': '9807552449170336351'}, 'enable': 'true', 'created': '2025-09-17T14:22:23', 'last-modified': '2025-09-17T14:22:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957181'} 2025-09-17 14:22:25,428 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-17 14:22:25,428 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91602961 passed 2025-09-17 14:22:25,429 - DEBUG - ====Verifying policy data for ctest-vn-91602961 in API_Server ====== 2025-09-17 14:22:25,429 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 14:22:25,441 - DEBUG - Requesting: http://10.0.0.254:8082/domain/527a8172-c3f0-4440-8c4b-e91c2764378b 2025-09-17 14:22:25,456 - DEBUG - Requesting: http://10.0.0.254:8082/project/849eeb6c-77b8-4495-a37e-0fe2089593d7 2025-09-17 14:22:25,537 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f8eb6f5-ce51-4e49-881b-6cfd68cf6a5f 2025-09-17 14:22:25,550 - DEBUG - ==>Verifying data for policy with id: 0d449abf-4fed-42c4-ac32-b293148bdb0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-46451504', 'ctest-policy-allow-all-82174197'] 2025-09-17 14:22:25,550 - INFO - VN ctest-vn-91602961 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-17 14:22:25,550 - DEBUG - Verifying the vn in opserver 2025-09-17 14:22:25,550 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-91602961 virtual network link through opserver 10.0.0.254 2025-09-17 14:22:25,551 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-17 14:22:25,856 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-17 14:22:25,915 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-91602961', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-91602961?flat'} 2025-09-17 14:22:25,915 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-91602961 is found in opserver 2025-09-17 14:22:25,925 - DEBUG - Do not have enough data to verify VN in agent 2025-09-17 14:22:25,930 - DEBUG - VRF ids for VN ctest-vn-91602961: {} 2025-09-17 14:22:25,930 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 14:22:25,935 - DEBUG - Requesting: http://10.0.0.254:8082/domain/527a8172-c3f0-4440-8c4b-e91c2764378b 2025-09-17 14:22:25,946 - DEBUG - Requesting: http://10.0.0.254:8082/project/849eeb6c-77b8-4495-a37e-0fe2089593d7 2025-09-17 14:22:26,024 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/da0d2eb1-a639-45f5-91f9-8ac6645e142e 2025-09-17 14:22:26,036 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/da0d2eb1-a639-45f5-91f9-8ac6645e142e 2025-09-17 14:22:26,046 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc7a3a45-f434-48ac-9b50-ab1def317fe6 2025-09-17 14:22:26,052 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc7a3a45-f434-48ac-9b50-ab1def317fe6 2025-09-17 14:22:26,059 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/73004ceb-ea5b-474d-b580-eb765861582a 2025-09-17 14:22:26,066 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-17 14:22:26,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/da0d2eb1-a639-45f5-91f9-8ac6645e142e 2025-09-17 14:22:26,075 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc7a3a45-f434-48ac-9b50-ab1def317fe6 2025-09-17 14:22:26,088 - INFO - Verified VN network id 12 for VN da0d2eb1-a639-45f5-91f9-8ac6645e142e 2025-09-17 14:22:26,088 - INFO - Verifications in API Server for VN ctest-vn-37425202 passed 2025-09-17 14:22:26,088 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/da0d2eb1-a639-45f5-91f9-8ac6645e142e 2025-09-17 14:22:26,097 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc7a3a45-f434-48ac-9b50-ab1def317fe6 2025-09-17 14:22:26,104 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc7a3a45-f434-48ac-9b50-ab1def317fe6 2025-09-17 14:22:26,110 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/73004ceb-ea5b-474d-b580-eb765861582a 2025-09-17 14:22:26,121 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-37425202', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46451504', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15712266015498388981', 'uuid-lslong': '10518590989392548910'}, 'enable': 'true', 'created': '2025-09-17T14:22:23', 'last-modified': '2025-09-17T14:22:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.418106'} 2025-09-17 14:22:26,127 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-17 14:22:26,127 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37425202 passed 2025-09-17 14:22:26,127 - DEBUG - ====Verifying policy data for ctest-vn-37425202 in API_Server ====== 2025-09-17 14:22:26,127 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 14:22:26,134 - DEBUG - Requesting: http://10.0.0.254:8082/domain/527a8172-c3f0-4440-8c4b-e91c2764378b 2025-09-17 14:22:26,144 - DEBUG - Requesting: http://10.0.0.254:8082/project/849eeb6c-77b8-4495-a37e-0fe2089593d7 2025-09-17 14:22:26,216 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/da0d2eb1-a639-45f5-91f9-8ac6645e142e 2025-09-17 14:22:26,226 - DEBUG - ==>Verifying data for policy with id: 0d449abf-4fed-42c4-ac32-b293148bdb0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-46451504', 'ctest-policy-allow-all-82174197'] 2025-09-17 14:22:26,226 - INFO - VN ctest-vn-37425202 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-17 14:22:26,227 - DEBUG - Verifying the vn in opserver 2025-09-17 14:22:26,227 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-37425202 virtual network link through opserver 10.0.0.254 2025-09-17 14:22:26,227 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-17 14:22:26,238 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-37425202', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-37425202?flat'} 2025-09-17 14:22:26,238 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-37425202 is found in opserver 2025-09-17 14:22:26,247 - DEBUG - Do not have enough data to verify VN in agent 2025-09-17 14:22:26,252 - DEBUG - VRF ids for VN ctest-vn-37425202: {} 2025-09-17 14:22:26,333 - DEBUG - Services list from nova: [, , ] 2025-09-17 14:22:27,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4128-1) 2025-09-17 14:22:28,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4128-1) 2025-09-17 14:22:28,578 - INFO - Waiting for VM ctest-TestBasicPolicy-46451504-88808373 to be up.. 2025-09-17 14:22:28,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-17 14:22:33,746 - DEBUG - VM is in ACTIVE state now 2025-09-17 14:22:33,746 - INFO - VM name : ctest-TestBasicPolicy-46451504-88808373 2025-09-17 14:22:33,835 - DEBUG - VM ctest-TestBasicPolicy-46451504-88808373 ID is ead85bc2-220d-46cf-8a2e-cd3b4c326c27 2025-09-17 14:22:33,860 - DEBUG - VM ctest-TestBasicPolicy-46451504-88808373 launched on Node cn-jenkins-deploy-platform-ansible-os-4128-1 2025-09-17 14:22:33,943 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ead85bc2-220d-46cf-8a2e-cd3b4c326c27 2025-09-17 14:22:33,952 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aaf8c044-40c8-4faa-b4dd-e1057f5f069a 2025-09-17 14:22:37,168 - 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 1013ms') 2025-09-17 14:22:37,168 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46451504-88808373 failed! 2025-09-17 14:22:37,220 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46451504:ctest-vn-91602961 is 135.1.22.65 and allocation pool is NOT set 2025-09-17 14:22:39,280 - 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=6.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.50 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 = 2.498/4.631/6.764/2.133 ms') 2025-09-17 14:22:39,280 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46451504-88808373 passed 2025-09-17 14:22:39,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:22:39,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46451504-88808373, IP 135.1.22.67, Port 22 2025-09-17 14:22:39,588 - DEBUG - VM ctest-TestBasicPolicy-46451504-88808373 is ready for SSH connections 2025-09-17 14:22:39,588 - INFO - Waiting for VM ctest-TestBasicPolicy-46451504-87854977 to be up.. 2025-09-17 14:22:39,665 - DEBUG - VM is in ACTIVE state now 2025-09-17 14:22:39,665 - INFO - VM name : ctest-TestBasicPolicy-46451504-87854977 2025-09-17 14:22:39,735 - DEBUG - VM ctest-TestBasicPolicy-46451504-87854977 ID is 2fd117d4-abca-441e-b938-60b3f8d5f6e4 2025-09-17 14:22:39,736 - DEBUG - VM ctest-TestBasicPolicy-46451504-87854977 launched on Node cn-jenkins-deploy-platform-ansible-os-4128-1 2025-09-17 14:22:39,830 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2fd117d4-abca-441e-b938-60b3f8d5f6e4 2025-09-17 14:22:39,839 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d8a8e1c7-9ff0-4cec-b0cb-b1eba53b43a3 2025-09-17 14:22:41,080 - 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=4.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.889 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.889/2.777/4.665/1.888 ms') 2025-09-17 14:22:41,080 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46451504-87854977 passed 2025-09-17 14:22:41,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:22:41,240 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46451504-87854977, IP 187.170.109.195, Port 22 2025-09-17 14:22:41,395 - DEBUG - VM ctest-TestBasicPolicy-46451504-87854977 is ready for SSH connections 2025-09-17 14:22:41,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:22:41,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.170.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 14:22:41,396 - DEBUG - ping -s 56 -c 3 -W 1 187.170.109.195 2025-09-17 14:22:45,460 - DEBUG - PING 187.170.109.195 (187.170.109.195): 56 data bytes 64 bytes from 187.170.109.195: seq=0 ttl=63 time=4.207 ms 64 bytes from 187.170.109.195: seq=1 ttl=63 time=1.030 ms 64 bytes from 187.170.109.195: seq=2 ttl=63 time=0.960 ms --- 187.170.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/2.065/4.207 ms 2025-09-17 14:22:45,460 - INFO - Ping to IP 187.170.109.195 from VM ctest-TestBasicPolicy-46451504-88808373 passed 2025-09-17 14:22:45,636 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0d449abf-4fed-42c4-ac32-b293148bdb0e", "href": "http://10.0.0.254:8082/network-policy/0d449abf-4fed-42c4-ac32-b293148bdb0e"}} 2025-09-17 14:22:45,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:22:45,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.170.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 14:22:45,636 - DEBUG - ping -s 56 -c 3 -W 1 187.170.109.195 2025-09-17 14:22:48,853 - DEBUG - PING 187.170.109.195 (187.170.109.195): 56 data bytes --- 187.170.109.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-17 14:22:48,853 - WARNING - Ping to IP 187.170.109.195 from VM ctest-TestBasicPolicy-46451504-88808373 failed 2025-09-17 14:22:48,853 - INFO - Deleting VM ctest-TestBasicPolicy-46451504-87854977 2025-09-17 14:22:48,927 - INFO - Deleting VM ctest-TestBasicPolicy-46451504-88808373 2025-09-17 14:22:49,302 - INFO - Deleted policy ctest-policy-allow-all-82174197 2025-09-17 14:22:49,302 - INFO - Deleting VN ctest-vn-37425202 2025-09-17 14:22:49,343 - DEBUG - VN da0d2eb1-a639-45f5-91f9-8ac6645e142e still in use: Unable to complete operation on network da0d2eb1-a639-45f5-91f9-8ac6645e142e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6b6b2da-6d99-4e12-9f24-20b2a3ab146a'] 2025-09-17 14:22:49,343 - WARNING - Deleting VN ctest-vn-37425202 failed..Will retry 2025-09-17 14:22:51,446 - DEBUG - Response for deleting network () 2025-09-17 14:22:51,446 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc7a3a45-f434-48ac-9b50-ab1def317fe6 2025-09-17 14:22:51,451 - DEBUG - Response Code: 404 2025-09-17 14:22:51,451 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 14:22:51,457 - DEBUG - Requesting: http://10.0.0.254:8082/domain/527a8172-c3f0-4440-8c4b-e91c2764378b 2025-09-17 14:22:51,510 - DEBUG - Requesting: http://10.0.0.254:8082/project/849eeb6c-77b8-4495-a37e-0fe2089593d7 2025-09-17 14:22:51,587 - INFO - Validated that VN ctest-vn-37425202 is not found in API Server 2025-09-17 14:22:51,598 - DEBUG - VN ctest-vn-37425202 is not present in Agent 10.0.0.254 2025-09-17 14:22:51,599 - INFO - Validated that VN ctest-vn-37425202 is not in any agent 2025-09-17 14:22:51,619 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37425202 info 2025-09-17 14:22:51,619 - INFO - Deleting VN ctest-vn-91602961 2025-09-17 14:22:51,738 - DEBUG - Response for deleting network () 2025-09-17 14:22:51,738 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/907a40a9-3641-4f4b-bb29-b602bbd8436c 2025-09-17 14:22:51,743 - DEBUG - Response Code: 404 2025-09-17 14:22:51,743 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 14:22:51,752 - DEBUG - Requesting: http://10.0.0.254:8082/domain/527a8172-c3f0-4440-8c4b-e91c2764378b 2025-09-17 14:22:51,805 - DEBUG - Requesting: http://10.0.0.254:8082/project/849eeb6c-77b8-4495-a37e-0fe2089593d7 2025-09-17 14:22:51,879 - INFO - Validated that VN ctest-vn-91602961 is not found in API Server 2025-09-17 14:22:51,888 - DEBUG - VN ctest-vn-91602961 is not present in Agent 10.0.0.254 2025-09-17 14:22:51,889 - INFO - Validated that VN ctest-vn-91602961 is not in any agent 2025-09-17 14:22:51,905 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91602961 info 2025-09-17 14:22:52,161 - DEBUG - No XMPP flaps were noticed during the test 2025-09-17 14:22:52,161 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-17 14:22:52,161 - INFO - -------------------------------------------------------------------------------- 2025-09-17 14:22:52,853 - INFO - Deleted project: ctest-TestBasicPolicy-46451504, ID : 849eeb6c-77b8-4495-a37e-0fe2089593d7