2025-09-18 12:43:39,875 - INFO - Domain Default found not creating 2025-09-18 12:43:40,008 - INFO - Project ctest-TestBasicPolicy-63878238 not found, creating it 2025-09-18 12:43:40,449 - INFO - Created Project:ctest-TestBasicPolicy-63878238, ID : 0f05b4ce-aeee-45b5-9b08-183df2b1a5d1 2025-09-18 12:43:41,900 - INFO - ================================================================================ 2025-09-18 12:43:41,900 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 12:43:41,900 - 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-18 12:43:42,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-09-18 12:43:42,175 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:43:42,175 - INFO - 2025-09-18 12:43:42,737 - DEBUG - Response for create_network : {'network': {'id': '9c9e01cd-5c08-4b5c-b344-d2317ab549de', 'name': 'ctest-vn-33686157', 'tenant_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'project_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63878238', 'ctest-vn-33686157'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:43:42,881 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad790bef-14e7-4515-b96f-08cbf308acc8', 'name': '', 'tenant_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'network_id': '9c9e01cd-5c08-4b5c-b344-d2317ab549de', 'ip_version': 4, 'cidr': '57.147.13.192/26', 'allocation_pools': [{'start': '57.147.13.194', 'end': '57.147.13.254'}], 'gateway_ip': '57.147.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.147.13.194', 'tags': [], 'project_id': '0f05b4ceaeee45b59b08183df2b1a5d1'}} 2025-09-18 12:43:42,898 - INFO - Created VN ctest-vn-33686157 2025-09-18 12:43:42,951 - DEBUG - VN ctest-vn-33686157 UUID is 9c9e01cd-5c08-4b5c-b344-d2317ab549de 2025-09-18 12:43:43,263 - DEBUG - Response for create_network : {'network': {'id': '24ed88d0-f2ed-44ec-bfdc-913273f56ba2', 'name': 'ctest-vn-26442273', 'tenant_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'project_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63878238', 'ctest-vn-26442273'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:43:43,426 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1dbb429-16e4-4637-b3e7-44a6730eb99c', 'name': '', 'tenant_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'network_id': '24ed88d0-f2ed-44ec-bfdc-913273f56ba2', 'ip_version': 4, 'cidr': '141.252.235.64/26', 'allocation_pools': [{'start': '141.252.235.66', 'end': '141.252.235.126'}], 'gateway_ip': '141.252.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.252.235.66', 'tags': [], 'project_id': '0f05b4ceaeee45b59b08183df2b1a5d1'}} 2025-09-18 12:43:43,444 - INFO - Created VN ctest-vn-26442273 2025-09-18 12:43:43,495 - DEBUG - VN ctest-vn-26442273 UUID is 24ed88d0-f2ed-44ec-bfdc-913273f56ba2 2025-09-18 12:43:43,643 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-33686157, 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-63878238:ctest-vn-26442273, 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-18 12:43:43,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c9e01cd-5c08-4b5c-b344-d2317ab549de', 'name': 'ctest-vn-33686157', 'tenant_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'project_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad790bef-14e7-4515-b96f-08cbf308acc8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63878238', 'ctest-vn-33686157'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63878238', 'ctest-policy-allow-all-31066383']], 'subnet_ipam': [{'subnet_cidr': '57.147.13.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:43:44,147 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24ed88d0-f2ed-44ec-bfdc-913273f56ba2', 'name': 'ctest-vn-26442273', 'tenant_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'project_id': '0f05b4ceaeee45b59b08183df2b1a5d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1dbb429-16e4-4637-b3e7-44a6730eb99c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63878238', 'ctest-vn-26442273'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63878238', 'ctest-policy-allow-all-31066383']], 'subnet_ipam': [{'subnet_cidr': '141.252.235.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:43:44,307 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-18 12:43:44,601 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-18 12:43:44,632 - DEBUG - Requesting: http://10.0.0.48:8082/domain/aa830de6-4095-446f-b6e8-528ce44cca24 2025-09-18 12:43:44,643 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f05b4ce-aeee-45b5-9b08-183df2b1a5d1 2025-09-18 12:43:44,719 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9c9e01cd-5c08-4b5c-b344-d2317ab549de 2025-09-18 12:43:44,729 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9c9e01cd-5c08-4b5c-b344-d2317ab549de 2025-09-18 12:43:44,736 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0355c58d-8cf3-4b23-a921-04c4f5f8a851 2025-09-18 12:43:44,742 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0355c58d-8cf3-4b23-a921-04c4f5f8a851 2025-09-18 12:43:44,748 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/5af77243-3128-4960-af6f-56aceb5ac76f 2025-09-18 12:43:44,753 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 12:43:44,753 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9c9e01cd-5c08-4b5c-b344-d2317ab549de 2025-09-18 12:43:44,760 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0355c58d-8cf3-4b23-a921-04c4f5f8a851 2025-09-18 12:43:44,773 - INFO - Verified VN network id 11 for VN 9c9e01cd-5c08-4b5c-b344-d2317ab549de 2025-09-18 12:43:44,774 - INFO - Verifications in API Server for VN ctest-vn-33686157 passed 2025-09-18 12:43:44,774 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9c9e01cd-5c08-4b5c-b344-d2317ab549de 2025-09-18 12:43:44,783 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0355c58d-8cf3-4b23-a921-04c4f5f8a851 2025-09-18 12:43:44,789 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0355c58d-8cf3-4b23-a921-04c4f5f8a851 2025-09-18 12:43:44,796 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/5af77243-3128-4960-af6f-56aceb5ac76f 2025-09-18 12:43:44,807 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-33686157', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63878238', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11285459697761012572', 'uuid-lslong': '12917680741159356894'}, 'enable': 'true', 'created': '2025-09-18T12:43:42', 'last-modified': '2025-09-18T12:43:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904586'} 2025-09-18 12:43:44,812 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 12:43:44,813 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33686157 passed 2025-09-18 12:43:44,813 - DEBUG - ====Verifying policy data for ctest-vn-33686157 in API_Server ====== 2025-09-18 12:43:44,813 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-18 12:43:44,817 - DEBUG - Requesting: http://10.0.0.48:8082/domain/aa830de6-4095-446f-b6e8-528ce44cca24 2025-09-18 12:43:44,827 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f05b4ce-aeee-45b5-9b08-183df2b1a5d1 2025-09-18 12:43:44,900 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9c9e01cd-5c08-4b5c-b344-d2317ab549de 2025-09-18 12:43:44,909 - DEBUG - ==>Verifying data for policy with id: 7cebf4f4-d3fb-4d1e-a898-163e6275d6cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-63878238', 'ctest-policy-allow-all-31066383'] 2025-09-18 12:43:44,909 - INFO - VN ctest-vn-33686157 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 12:43:44,909 - DEBUG - Verifying the vn in opserver 2025-09-18 12:43:44,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-33686157 virtual network link through opserver 10.0.0.48 2025-09-18 12:43:44,909 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-18 12:43:45,215 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-18 12:43:45,268 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-33686157', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-33686157?flat'} 2025-09-18 12:43:45,268 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-33686157 is found in opserver 2025-09-18 12:43:45,276 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 12:43:45,280 - DEBUG - VRF ids for VN ctest-vn-33686157: {} 2025-09-18 12:43:45,280 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-18 12:43:45,285 - DEBUG - Requesting: http://10.0.0.48:8082/domain/aa830de6-4095-446f-b6e8-528ce44cca24 2025-09-18 12:43:45,294 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f05b4ce-aeee-45b5-9b08-183df2b1a5d1 2025-09-18 12:43:45,362 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/24ed88d0-f2ed-44ec-bfdc-913273f56ba2 2025-09-18 12:43:45,371 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/24ed88d0-f2ed-44ec-bfdc-913273f56ba2 2025-09-18 12:43:45,379 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ff3feab-fc12-46b9-8a7f-e2f1a38df8c7 2025-09-18 12:43:45,385 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ff3feab-fc12-46b9-8a7f-e2f1a38df8c7 2025-09-18 12:43:45,391 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/1d2be812-3b7e-411d-a5bb-71f354c8329b 2025-09-18 12:43:45,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 12:43:45,397 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/24ed88d0-f2ed-44ec-bfdc-913273f56ba2 2025-09-18 12:43:45,404 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ff3feab-fc12-46b9-8a7f-e2f1a38df8c7 2025-09-18 12:43:45,416 - INFO - Verified VN network id 12 for VN 24ed88d0-f2ed-44ec-bfdc-913273f56ba2 2025-09-18 12:43:45,416 - INFO - Verifications in API Server for VN ctest-vn-26442273 passed 2025-09-18 12:43:45,416 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/24ed88d0-f2ed-44ec-bfdc-913273f56ba2 2025-09-18 12:43:45,424 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ff3feab-fc12-46b9-8a7f-e2f1a38df8c7 2025-09-18 12:43:45,430 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ff3feab-fc12-46b9-8a7f-e2f1a38df8c7 2025-09-18 12:43:45,435 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/1d2be812-3b7e-411d-a5bb-71f354c8329b 2025-09-18 12:43:45,445 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-26442273', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63878238', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2660933385856042220', 'uuid-lslong': '13825084602000436130'}, 'enable': 'true', 'created': '2025-09-18T12:43:43', 'last-modified': '2025-09-18T12:43:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321620'} 2025-09-18 12:43:45,450 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 12:43:45,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26442273 passed 2025-09-18 12:43:45,450 - DEBUG - ====Verifying policy data for ctest-vn-26442273 in API_Server ====== 2025-09-18 12:43:45,450 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-18 12:43:45,455 - DEBUG - Requesting: http://10.0.0.48:8082/domain/aa830de6-4095-446f-b6e8-528ce44cca24 2025-09-18 12:43:45,465 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f05b4ce-aeee-45b5-9b08-183df2b1a5d1 2025-09-18 12:43:45,531 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/24ed88d0-f2ed-44ec-bfdc-913273f56ba2 2025-09-18 12:43:45,539 - DEBUG - ==>Verifying data for policy with id: 7cebf4f4-d3fb-4d1e-a898-163e6275d6cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-63878238', 'ctest-policy-allow-all-31066383'] 2025-09-18 12:43:45,539 - INFO - VN ctest-vn-26442273 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 12:43:45,539 - DEBUG - Verifying the vn in opserver 2025-09-18 12:43:45,539 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-26442273 virtual network link through opserver 10.0.0.48 2025-09-18 12:43:45,539 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-18 12:43:45,547 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-26442273', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-26442273?flat'} 2025-09-18 12:43:45,547 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-26442273 is found in opserver 2025-09-18 12:43:45,555 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 12:43:45,559 - DEBUG - VRF ids for VN ctest-vn-26442273: {} 2025-09-18 12:43:45,609 - DEBUG - Services list from nova: [, , ] 2025-09-18 12:43:46,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4137-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4137-1) 2025-09-18 12:43:47,778 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4137-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4137-1) 2025-09-18 12:43:47,778 - INFO - Waiting for VM ctest-TestBasicPolicy-63878238-28260664 to be up.. 2025-09-18 12:43:47,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 12:43:52,920 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:43:52,921 - INFO - VM name : ctest-TestBasicPolicy-63878238-28260664 2025-09-18 12:43:53,018 - DEBUG - VM ctest-TestBasicPolicy-63878238-28260664 ID is 99b4bb1e-e61b-4ebc-a2c4-0a06096de132 2025-09-18 12:43:53,042 - DEBUG - VM ctest-TestBasicPolicy-63878238-28260664 launched on Node cn-jenkins-deploy-platform-ansible-os-4137-1 2025-09-18 12:43:53,153 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/99b4bb1e-e61b-4ebc-a2c4-0a06096de132 2025-09-18 12:43:53,162 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/6a3043c5-4d91-4d53-b8c4-5505d8857b54 2025-09-18 12:43:56,405 - 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 1003ms') 2025-09-18 12:43:56,405 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63878238-28260664 failed! 2025-09-18 12:43:56,459 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63878238:ctest-vn-33686157 is 57.147.13.193 and allocation pool is NOT set 2025-09-18 12:43:58,514 - 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=2.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/1.618/2.769/1.151 ms') 2025-09-18 12:43:58,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63878238-28260664 passed 2025-09-18 12:43:58,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:43:58,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63878238-28260664, IP 57.147.13.195, Port 22 2025-09-18 12:43:58,818 - DEBUG - VM ctest-TestBasicPolicy-63878238-28260664 is ready for SSH connections 2025-09-18 12:43:58,818 - INFO - Waiting for VM ctest-TestBasicPolicy-63878238-22489225 to be up.. 2025-09-18 12:43:58,887 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:43:58,888 - INFO - VM name : ctest-TestBasicPolicy-63878238-22489225 2025-09-18 12:43:58,960 - DEBUG - VM ctest-TestBasicPolicy-63878238-22489225 ID is 5a2c7867-985e-4f29-8088-d807389ac5d2 2025-09-18 12:43:58,960 - DEBUG - VM ctest-TestBasicPolicy-63878238-22489225 launched on Node cn-jenkins-deploy-platform-ansible-os-4137-1 2025-09-18 12:43:59,028 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5a2c7867-985e-4f29-8088-d807389ac5d2 2025-09-18 12:43:59,037 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/a3a702b1-a508-4b40-a531-35c84d7028f4 2025-09-18 12:44:00,278 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.947/3.411/1.464 ms') 2025-09-18 12:44:00,278 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63878238-22489225 passed 2025-09-18 12:44:00,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:44:00,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63878238-22489225, IP 141.252.235.67, Port 22 2025-09-18 12:44:00,582 - DEBUG - VM ctest-TestBasicPolicy-63878238-22489225 is ready for SSH connections 2025-09-18 12:44:00,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:44:00,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.252.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-18 12:44:00,582 - DEBUG - ping -s 56 -c 3 -W 1 141.252.235.67 2025-09-18 12:44:04,280 - DEBUG - PING 141.252.235.67 (141.252.235.67): 56 data bytes 64 bytes from 141.252.235.67: seq=0 ttl=63 time=3.227 ms 64 bytes from 141.252.235.67: seq=1 ttl=63 time=0.816 ms 64 bytes from 141.252.235.67: seq=2 ttl=63 time=0.904 ms --- 141.252.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.649/3.227 ms 2025-09-18 12:44:04,280 - INFO - Ping to IP 141.252.235.67 from VM ctest-TestBasicPolicy-63878238-28260664 passed 2025-09-18 12:44:04,462 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7cebf4f4-d3fb-4d1e-a898-163e6275d6cb", "href": "http://10.0.0.48:8082/network-policy/7cebf4f4-d3fb-4d1e-a898-163e6275d6cb"}} 2025-09-18 12:44:04,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:44:04,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.252.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-18 12:44:04,463 - DEBUG - ping -s 56 -c 3 -W 1 141.252.235.67 2025-09-18 12:44:07,672 - DEBUG - PING 141.252.235.67 (141.252.235.67): 56 data bytes --- 141.252.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 12:44:07,672 - WARNING - Ping to IP 141.252.235.67 from VM ctest-TestBasicPolicy-63878238-28260664 failed 2025-09-18 12:44:07,672 - INFO - Deleting VM ctest-TestBasicPolicy-63878238-22489225 2025-09-18 12:44:07,735 - INFO - Deleting VM ctest-TestBasicPolicy-63878238-28260664 2025-09-18 12:44:08,078 - INFO - Deleted policy ctest-policy-allow-all-31066383 2025-09-18 12:44:08,078 - INFO - Deleting VN ctest-vn-26442273 2025-09-18 12:44:08,114 - DEBUG - VN 24ed88d0-f2ed-44ec-bfdc-913273f56ba2 still in use: Unable to complete operation on network 24ed88d0-f2ed-44ec-bfdc-913273f56ba2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c35b726f-2907-4157-b4ed-25fbeb4b28a4'] 2025-09-18 12:44:08,114 - WARNING - Deleting VN ctest-vn-26442273 failed..Will retry 2025-09-18 12:44:10,202 - DEBUG - Response for deleting network () 2025-09-18 12:44:10,202 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ff3feab-fc12-46b9-8a7f-e2f1a38df8c7 2025-09-18 12:44:10,207 - DEBUG - Response Code: 404 2025-09-18 12:44:10,207 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-18 12:44:10,212 - DEBUG - Requesting: http://10.0.0.48:8082/domain/aa830de6-4095-446f-b6e8-528ce44cca24 2025-09-18 12:44:10,263 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f05b4ce-aeee-45b5-9b08-183df2b1a5d1 2025-09-18 12:44:10,332 - INFO - Validated that VN ctest-vn-26442273 is not found in API Server 2025-09-18 12:44:10,341 - DEBUG - VN ctest-vn-26442273 is not present in Agent 10.0.0.48 2025-09-18 12:44:10,341 - INFO - Validated that VN ctest-vn-26442273 is not in any agent 2025-09-18 12:44:10,354 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26442273 info 2025-09-18 12:44:10,354 - INFO - Deleting VN ctest-vn-33686157 2025-09-18 12:44:10,450 - DEBUG - Response for deleting network () 2025-09-18 12:44:10,450 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0355c58d-8cf3-4b23-a921-04c4f5f8a851 2025-09-18 12:44:10,455 - DEBUG - Response Code: 404 2025-09-18 12:44:10,455 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-18 12:44:10,460 - DEBUG - Requesting: http://10.0.0.48:8082/domain/aa830de6-4095-446f-b6e8-528ce44cca24 2025-09-18 12:44:10,511 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f05b4ce-aeee-45b5-9b08-183df2b1a5d1 2025-09-18 12:44:10,580 - INFO - Validated that VN ctest-vn-33686157 is not found in API Server 2025-09-18 12:44:10,591 - DEBUG - VN ctest-vn-33686157 is not present in Agent 10.0.0.48 2025-09-18 12:44:10,591 - INFO - Validated that VN ctest-vn-33686157 is not in any agent 2025-09-18 12:44:10,605 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33686157 info 2025-09-18 12:44:10,878 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 12:44:10,878 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-18 12:44:10,878 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:44:11,546 - INFO - Deleted project: ctest-TestBasicPolicy-63878238, ID : 0f05b4ce-aeee-45b5-9b08-183df2b1a5d1