2025-08-19 10:32:48,103 - INFO - Domain Default found not creating 2025-08-19 10:32:48,253 - INFO - Project ctest-TestBasicPolicy-55586958 not found, creating it 2025-08-19 10:32:48,705 - INFO - Created Project:ctest-TestBasicPolicy-55586958, ID : 1da152b4-03c4-43a0-8cc7-c11fc7017ac4 2025-08-19 10:32:50,193 - INFO - ================================================================================ 2025-08-19 10:32:50,193 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-19 10:32:50,193 - 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-08-19 10:32:50,447 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-19 10:32:50,447 - INFO - Initial checks done. Running the testcase now 2025-08-19 10:32:50,447 - INFO - 2025-08-19 10:32:51,008 - DEBUG - Response for create_network : {'network': {'id': 'f840b82a-31f8-479c-bcde-f17382639351', 'name': 'ctest-vn-38088112', 'tenant_id': '1da152b403c443a08cc7c11fc7017ac4', 'project_id': '1da152b403c443a08cc7c11fc7017ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55586958', 'ctest-vn-38088112'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 10:32:51,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '458b4746-e7df-47b0-a284-858b4864bae9', 'name': '', 'tenant_id': '1da152b403c443a08cc7c11fc7017ac4', 'network_id': 'f840b82a-31f8-479c-bcde-f17382639351', 'ip_version': 4, 'cidr': '65.113.218.192/26', 'allocation_pools': [{'start': '65.113.218.194', 'end': '65.113.218.254'}], 'gateway_ip': '65.113.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.113.218.194', 'tags': [], 'project_id': '1da152b403c443a08cc7c11fc7017ac4'}} 2025-08-19 10:32:51,179 - INFO - Created VN ctest-vn-38088112 2025-08-19 10:32:51,233 - DEBUG - VN ctest-vn-38088112 UUID is f840b82a-31f8-479c-bcde-f17382639351 2025-08-19 10:32:51,550 - DEBUG - Response for create_network : {'network': {'id': '33d23657-563a-4a02-9a0e-e3ca7d5e589a', 'name': 'ctest-vn-48921552', 'tenant_id': '1da152b403c443a08cc7c11fc7017ac4', 'project_id': '1da152b403c443a08cc7c11fc7017ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55586958', 'ctest-vn-48921552'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 10:32:51,704 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8e97728-2dd3-49ac-ad1f-e513362c179a', 'name': '', 'tenant_id': '1da152b403c443a08cc7c11fc7017ac4', 'network_id': '33d23657-563a-4a02-9a0e-e3ca7d5e589a', 'ip_version': 4, 'cidr': '39.246.177.64/26', 'allocation_pools': [{'start': '39.246.177.66', 'end': '39.246.177.126'}], 'gateway_ip': '39.246.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.246.177.66', 'tags': [], 'project_id': '1da152b403c443a08cc7c11fc7017ac4'}} 2025-08-19 10:32:51,721 - INFO - Created VN ctest-vn-48921552 2025-08-19 10:32:51,774 - DEBUG - VN ctest-vn-48921552 UUID is 33d23657-563a-4a02-9a0e-e3ca7d5e589a 2025-08-19 10:32:51,929 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-38088112, 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-55586958:ctest-vn-48921552, 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-08-19 10:32:52,218 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f840b82a-31f8-479c-bcde-f17382639351', 'name': 'ctest-vn-38088112', 'tenant_id': '1da152b403c443a08cc7c11fc7017ac4', 'project_id': '1da152b403c443a08cc7c11fc7017ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['458b4746-e7df-47b0-a284-858b4864bae9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55586958', 'ctest-vn-38088112'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55586958', 'ctest-policy-allow-all-02401258']], 'subnet_ipam': [{'subnet_cidr': '65.113.218.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 10:32:52,515 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33d23657-563a-4a02-9a0e-e3ca7d5e589a', 'name': 'ctest-vn-48921552', 'tenant_id': '1da152b403c443a08cc7c11fc7017ac4', 'project_id': '1da152b403c443a08cc7c11fc7017ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8e97728-2dd3-49ac-ad1f-e513362c179a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55586958', 'ctest-vn-48921552'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55586958', 'ctest-policy-allow-all-02401258']], 'subnet_ipam': [{'subnet_cidr': '39.246.177.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 10:32:52,662 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-19 10:32:52,960 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-19 10:32:52,989 - DEBUG - Requesting: http://10.0.0.48:8082/domain/94073ea1-9b01-4c53-ac9c-6b933aa02e21 2025-08-19 10:32:53,002 - DEBUG - Requesting: http://10.0.0.48:8082/project/1da152b4-03c4-43a0-8cc7-c11fc7017ac4 2025-08-19 10:32:53,081 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f840b82a-31f8-479c-bcde-f17382639351 2025-08-19 10:32:53,094 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f840b82a-31f8-479c-bcde-f17382639351 2025-08-19 10:32:53,104 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/447dba51-e953-4bbb-8428-3725852ace2c 2025-08-19 10:32:53,110 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/447dba51-e953-4bbb-8428-3725852ace2c 2025-08-19 10:32:53,117 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/2fc53777-9b02-42dc-8f7f-31905b240b88 2025-08-19 10:32:53,123 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 10:32:53,123 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f840b82a-31f8-479c-bcde-f17382639351 2025-08-19 10:32:53,131 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/447dba51-e953-4bbb-8428-3725852ace2c 2025-08-19 10:32:53,145 - INFO - Verified VN network id 12 for VN f840b82a-31f8-479c-bcde-f17382639351 2025-08-19 10:32:53,145 - INFO - Verifications in API Server for VN ctest-vn-38088112 passed 2025-08-19 10:32:53,145 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f840b82a-31f8-479c-bcde-f17382639351 2025-08-19 10:32:53,154 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/447dba51-e953-4bbb-8428-3725852ace2c 2025-08-19 10:32:53,161 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/447dba51-e953-4bbb-8428-3725852ace2c 2025-08-19 10:32:53,168 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/2fc53777-9b02-42dc-8f7f-31905b240b88 2025-08-19 10:32:53,182 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-38088112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55586958', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17888500211282102172', 'uuid-lslong': '13609580602371314513'}, 'enable': 'true', 'created': '2025-08-19T10:32:50', 'last-modified': '2025-08-19T10:32:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983921'} 2025-08-19 10:32:53,188 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 10:32:53,188 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38088112 passed 2025-08-19 10:32:53,188 - DEBUG - ====Verifying policy data for ctest-vn-38088112 in API_Server ====== 2025-08-19 10:32:53,188 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-19 10:32:53,194 - DEBUG - Requesting: http://10.0.0.48:8082/domain/94073ea1-9b01-4c53-ac9c-6b933aa02e21 2025-08-19 10:32:53,206 - DEBUG - Requesting: http://10.0.0.48:8082/project/1da152b4-03c4-43a0-8cc7-c11fc7017ac4 2025-08-19 10:32:53,278 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f840b82a-31f8-479c-bcde-f17382639351 2025-08-19 10:32:53,289 - DEBUG - ==>Verifying data for policy with id: 067af694-0119-47e1-8962-1ab89222564a, fqn: ['default-domain', 'ctest-TestBasicPolicy-55586958', 'ctest-policy-allow-all-02401258'] 2025-08-19 10:32:53,289 - INFO - VN ctest-vn-38088112 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 10:32:53,289 - DEBUG - Verifying the vn in opserver 2025-08-19 10:32:53,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-38088112 virtual network link through opserver 10.0.0.48 2025-08-19 10:32:53,289 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-19 10:32:53,582 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-19 10:32:53,633 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-38088112', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-38088112?flat'} 2025-08-19 10:32:53,633 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-38088112 is found in opserver 2025-08-19 10:32:53,643 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 10:32:53,647 - DEBUG - VRF ids for VN ctest-vn-38088112: {} 2025-08-19 10:32:53,648 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-19 10:32:53,653 - DEBUG - Requesting: http://10.0.0.48:8082/domain/94073ea1-9b01-4c53-ac9c-6b933aa02e21 2025-08-19 10:32:53,664 - DEBUG - Requesting: http://10.0.0.48:8082/project/1da152b4-03c4-43a0-8cc7-c11fc7017ac4 2025-08-19 10:32:53,739 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33d23657-563a-4a02-9a0e-e3ca7d5e589a 2025-08-19 10:32:53,751 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33d23657-563a-4a02-9a0e-e3ca7d5e589a 2025-08-19 10:32:53,760 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5614fe52-9ff2-4042-9967-1f70dd615ad4 2025-08-19 10:32:53,768 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5614fe52-9ff2-4042-9967-1f70dd615ad4 2025-08-19 10:32:53,774 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9144ccb5-b0fc-4aeb-bc7e-c6293f4cf3ad 2025-08-19 10:32:53,781 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 10:32:53,781 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33d23657-563a-4a02-9a0e-e3ca7d5e589a 2025-08-19 10:32:53,790 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5614fe52-9ff2-4042-9967-1f70dd615ad4 2025-08-19 10:32:53,804 - INFO - Verified VN network id 13 for VN 33d23657-563a-4a02-9a0e-e3ca7d5e589a 2025-08-19 10:32:53,804 - INFO - Verifications in API Server for VN ctest-vn-48921552 passed 2025-08-19 10:32:53,804 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33d23657-563a-4a02-9a0e-e3ca7d5e589a 2025-08-19 10:32:53,815 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5614fe52-9ff2-4042-9967-1f70dd615ad4 2025-08-19 10:32:53,822 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5614fe52-9ff2-4042-9967-1f70dd615ad4 2025-08-19 10:32:53,830 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9144ccb5-b0fc-4aeb-bc7e-c6293f4cf3ad 2025-08-19 10:32:53,845 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-48921552', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55586958', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3734106789780277762', 'uuid-lslong': '11101060590341085338'}, 'enable': 'true', 'created': '2025-08-19T10:32:51', 'last-modified': '2025-08-19T10:32:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412517'} 2025-08-19 10:32:53,851 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 10:32:53,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48921552 passed 2025-08-19 10:32:53,851 - DEBUG - ====Verifying policy data for ctest-vn-48921552 in API_Server ====== 2025-08-19 10:32:53,851 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-19 10:32:53,857 - DEBUG - Requesting: http://10.0.0.48:8082/domain/94073ea1-9b01-4c53-ac9c-6b933aa02e21 2025-08-19 10:32:53,869 - DEBUG - Requesting: http://10.0.0.48:8082/project/1da152b4-03c4-43a0-8cc7-c11fc7017ac4 2025-08-19 10:32:53,945 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33d23657-563a-4a02-9a0e-e3ca7d5e589a 2025-08-19 10:32:53,955 - DEBUG - ==>Verifying data for policy with id: 067af694-0119-47e1-8962-1ab89222564a, fqn: ['default-domain', 'ctest-TestBasicPolicy-55586958', 'ctest-policy-allow-all-02401258'] 2025-08-19 10:32:53,955 - INFO - VN ctest-vn-48921552 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 10:32:53,955 - DEBUG - Verifying the vn in opserver 2025-08-19 10:32:53,955 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-48921552 virtual network link through opserver 10.0.0.48 2025-08-19 10:32:53,955 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-19 10:32:53,966 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-48921552', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-48921552?flat'} 2025-08-19 10:32:53,966 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-48921552 is found in opserver 2025-08-19 10:32:53,976 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 10:32:53,981 - DEBUG - VRF ids for VN ctest-vn-48921552: {} 2025-08-19 10:32:54,037 - DEBUG - Services list from nova: [, , ] 2025-08-19 10:32:55,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1) 2025-08-19 10:32:56,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1) 2025-08-19 10:32:56,179 - INFO - Waiting for VM ctest-TestBasicPolicy-55586958-33996410 to be up.. 2025-08-19 10:32:56,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 10:33:01,339 - DEBUG - VM is in ACTIVE state now 2025-08-19 10:33:01,339 - INFO - VM name : ctest-TestBasicPolicy-55586958-33996410 2025-08-19 10:33:01,408 - DEBUG - VM ctest-TestBasicPolicy-55586958-33996410 ID is 7a6e03ae-f2dd-4854-9d09-a8ded0af9ab1 2025-08-19 10:33:01,427 - DEBUG - VM ctest-TestBasicPolicy-55586958-33996410 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1 2025-08-19 10:33:01,493 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7a6e03ae-f2dd-4854-9d09-a8ded0af9ab1 2025-08-19 10:33:01,502 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0822bb0e-2705-4f47-9f30-31fb1016eacf 2025-08-19 10:33:04,751 - 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-08-19 10:33:04,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55586958-33996410 failed! 2025-08-19 10:33:04,806 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55586958:ctest-vn-38088112 is 65.113.218.193 and allocation pool is NOT set 2025-08-19 10:33:06,868 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.073/2.460/3.847/1.387 ms') 2025-08-19 10:33:06,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55586958-33996410 passed 2025-08-19 10:33:07,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:33:07,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55586958-33996410, IP 65.113.218.195, Port 22 2025-08-19 10:33:07,177 - DEBUG - VM ctest-TestBasicPolicy-55586958-33996410 is ready for SSH connections 2025-08-19 10:33:07,177 - INFO - Waiting for VM ctest-TestBasicPolicy-55586958-21671200 to be up.. 2025-08-19 10:33:07,248 - DEBUG - VM is in ACTIVE state now 2025-08-19 10:33:07,248 - INFO - VM name : ctest-TestBasicPolicy-55586958-21671200 2025-08-19 10:33:07,314 - DEBUG - VM ctest-TestBasicPolicy-55586958-21671200 ID is 2ff9e7e7-092e-48a0-93f6-03f8ba808e6e 2025-08-19 10:33:07,314 - DEBUG - VM ctest-TestBasicPolicy-55586958-21671200 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1 2025-08-19 10:33:07,385 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2ff9e7e7-092e-48a0-93f6-03f8ba808e6e 2025-08-19 10:33:07,393 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/33ed801b-7eb0-49fd-93a5-7792a3652ab3 2025-08-19 10:33:08,636 - 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=11.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.39 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 = 2.387/6.788/11.189/4.401 ms') 2025-08-19 10:33:08,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55586958-21671200 passed 2025-08-19 10:33:08,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:33:08,794 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55586958-21671200, IP 39.246.177.67, Port 22 2025-08-19 10:33:08,953 - DEBUG - VM ctest-TestBasicPolicy-55586958-21671200 is ready for SSH connections 2025-08-19 10:33:08,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:33:08,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.246.177.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-19 10:33:08,953 - DEBUG - ping -s 56 -c 3 -W 1 39.246.177.67 2025-08-19 10:33:12,899 - DEBUG - PING 39.246.177.67 (39.246.177.67): 56 data bytes 64 bytes from 39.246.177.67: seq=0 ttl=63 time=3.450 ms 64 bytes from 39.246.177.67: seq=1 ttl=63 time=0.777 ms 64 bytes from 39.246.177.67: seq=2 ttl=63 time=0.731 ms --- 39.246.177.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/1.652/3.450 ms 2025-08-19 10:33:12,899 - INFO - Ping to IP 39.246.177.67 from VM ctest-TestBasicPolicy-55586958-33996410 passed 2025-08-19 10:33:13,073 - DEBUG - Policy Update Response {"network-policy": {"uuid": "067af694-0119-47e1-8962-1ab89222564a", "href": "http://10.0.0.48:8082/network-policy/067af694-0119-47e1-8962-1ab89222564a"}} 2025-08-19 10:33:13,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:33:13,074 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.246.177.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-19 10:33:13,074 - DEBUG - ping -s 56 -c 3 -W 1 39.246.177.67 2025-08-19 10:33:16,279 - DEBUG - PING 39.246.177.67 (39.246.177.67): 56 data bytes --- 39.246.177.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 10:33:16,279 - WARNING - Ping to IP 39.246.177.67 from VM ctest-TestBasicPolicy-55586958-33996410 failed 2025-08-19 10:33:16,279 - INFO - Deleting VM ctest-TestBasicPolicy-55586958-21671200 2025-08-19 10:33:16,344 - INFO - Deleting VM ctest-TestBasicPolicy-55586958-33996410 2025-08-19 10:33:16,694 - INFO - Deleted policy ctest-policy-allow-all-02401258 2025-08-19 10:33:16,695 - INFO - Deleting VN ctest-vn-48921552 2025-08-19 10:33:16,726 - DEBUG - VN 33d23657-563a-4a02-9a0e-e3ca7d5e589a still in use: Unable to complete operation on network 33d23657-563a-4a02-9a0e-e3ca7d5e589a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83b6981f-50e3-4481-92e0-88740abe5938'] 2025-08-19 10:33:16,726 - WARNING - Deleting VN ctest-vn-48921552 failed..Will retry 2025-08-19 10:33:18,836 - DEBUG - Response for deleting network () 2025-08-19 10:33:18,836 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5614fe52-9ff2-4042-9967-1f70dd615ad4 2025-08-19 10:33:18,841 - DEBUG - Response Code: 404 2025-08-19 10:33:18,841 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-19 10:33:18,846 - DEBUG - Requesting: http://10.0.0.48:8082/domain/94073ea1-9b01-4c53-ac9c-6b933aa02e21 2025-08-19 10:33:18,907 - DEBUG - Requesting: http://10.0.0.48:8082/project/1da152b4-03c4-43a0-8cc7-c11fc7017ac4 2025-08-19 10:33:18,982 - INFO - Validated that VN ctest-vn-48921552 is not found in API Server 2025-08-19 10:33:18,995 - DEBUG - VN ctest-vn-48921552 is not present in Agent 10.0.0.48 2025-08-19 10:33:18,995 - INFO - Validated that VN ctest-vn-48921552 is not in any agent 2025-08-19 10:33:19,015 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48921552 info 2025-08-19 10:33:19,015 - INFO - Deleting VN ctest-vn-38088112 2025-08-19 10:33:19,133 - DEBUG - Response for deleting network () 2025-08-19 10:33:19,133 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/447dba51-e953-4bbb-8428-3725852ace2c 2025-08-19 10:33:19,145 - DEBUG - Response Code: 404 2025-08-19 10:33:19,145 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-19 10:33:19,151 - DEBUG - Requesting: http://10.0.0.48:8082/domain/94073ea1-9b01-4c53-ac9c-6b933aa02e21 2025-08-19 10:33:19,207 - DEBUG - Requesting: http://10.0.0.48:8082/project/1da152b4-03c4-43a0-8cc7-c11fc7017ac4 2025-08-19 10:33:19,280 - INFO - Validated that VN ctest-vn-38088112 is not found in API Server 2025-08-19 10:33:19,293 - DEBUG - VN ctest-vn-38088112 is not present in Agent 10.0.0.48 2025-08-19 10:33:19,293 - INFO - Validated that VN ctest-vn-38088112 is not in any agent 2025-08-19 10:33:19,311 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38088112 info 2025-08-19 10:33:19,568 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 10:33:19,568 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-19 10:33:19,568 - INFO - -------------------------------------------------------------------------------- 2025-08-19 10:33:20,216 - INFO - Deleted project: ctest-TestBasicPolicy-55586958, ID : 1da152b4-03c4-43a0-8cc7-c11fc7017ac4