2025-06-30 11:44:49,760 - INFO - Domain Default found not creating 2025-06-30 11:44:49,893 - INFO - Project ctest-TestBasicPolicy-94619882 not found, creating it 2025-06-30 11:44:50,331 - INFO - Created Project:ctest-TestBasicPolicy-94619882, ID : 73177827-4389-473d-9aff-c400e63a30ea 2025-06-30 11:44:51,731 - INFO - ================================================================================ 2025-06-30 11:44:51,732 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 11:44:51,732 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-30 11:44:51,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-06-30 11:44:51,987 - INFO - Initial checks done. Running the testcase now 2025-06-30 11:44:51,987 - INFO - 2025-06-30 11:44:52,528 - DEBUG - Response for create_network : {'network': {'id': '47fd67b8-7151-4474-9c39-1c20a653a04d', 'name': 'ctest-vn-97677175', 'tenant_id': '731778274389473d9affc400e63a30ea', 'project_id': '731778274389473d9affc400e63a30ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94619882', 'ctest-vn-97677175'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:52,744 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd886c8b0-610a-4350-9eb6-d71fd2d4c464', 'name': '', 'tenant_id': '731778274389473d9affc400e63a30ea', 'network_id': '47fd67b8-7151-4474-9c39-1c20a653a04d', 'ip_version': 4, 'cidr': '98.247.119.64/26', 'allocation_pools': [{'start': '98.247.119.66', 'end': '98.247.119.126'}], 'gateway_ip': '98.247.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.247.119.66', 'tags': [], 'project_id': '731778274389473d9affc400e63a30ea'}} 2025-06-30 11:44:52,762 - INFO - Created VN ctest-vn-97677175 2025-06-30 11:44:52,816 - DEBUG - VN ctest-vn-97677175 UUID is 47fd67b8-7151-4474-9c39-1c20a653a04d 2025-06-30 11:44:53,111 - DEBUG - Response for create_network : {'network': {'id': '377d7f8d-096d-4b64-9318-6e1ec796e4fc', 'name': 'ctest-vn-60792214', 'tenant_id': '731778274389473d9affc400e63a30ea', 'project_id': '731778274389473d9affc400e63a30ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94619882', 'ctest-vn-60792214'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:53,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f06d628-e3f3-4ea3-9474-94b447675900', 'name': '', 'tenant_id': '731778274389473d9affc400e63a30ea', 'network_id': '377d7f8d-096d-4b64-9318-6e1ec796e4fc', 'ip_version': 4, 'cidr': '8.199.239.192/26', 'allocation_pools': [{'start': '8.199.239.194', 'end': '8.199.239.254'}], 'gateway_ip': '8.199.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.199.239.194', 'tags': [], 'project_id': '731778274389473d9affc400e63a30ea'}} 2025-06-30 11:44:53,355 - INFO - Created VN ctest-vn-60792214 2025-06-30 11:44:53,412 - DEBUG - VN ctest-vn-60792214 UUID is 377d7f8d-096d-4b64-9318-6e1ec796e4fc 2025-06-30 11:44:53,568 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-97677175, 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-94619882:ctest-vn-60792214, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-30 11:44:53,879 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47fd67b8-7151-4474-9c39-1c20a653a04d', 'name': 'ctest-vn-97677175', 'tenant_id': '731778274389473d9affc400e63a30ea', 'project_id': '731778274389473d9affc400e63a30ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d886c8b0-610a-4350-9eb6-d71fd2d4c464'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94619882', 'ctest-vn-97677175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94619882', 'ctest-policy-allow-all-29116458']], 'subnet_ipam': [{'subnet_cidr': '98.247.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:54,170 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '377d7f8d-096d-4b64-9318-6e1ec796e4fc', 'name': 'ctest-vn-60792214', 'tenant_id': '731778274389473d9affc400e63a30ea', 'project_id': '731778274389473d9affc400e63a30ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f06d628-e3f3-4ea3-9474-94b447675900'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94619882', 'ctest-vn-60792214'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94619882', 'ctest-policy-allow-all-29116458']], 'subnet_ipam': [{'subnet_cidr': '8.199.239.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:54,316 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-30 11:44:54,616 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-30 11:44:54,645 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b016d685-4cdf-48d6-93a5-9a3e5852dc92 2025-06-30 11:44:54,659 - DEBUG - Requesting: http://10.0.0.249:8082/project/73177827-4389-473d-9aff-c400e63a30ea 2025-06-30 11:44:54,734 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47fd67b8-7151-4474-9c39-1c20a653a04d 2025-06-30 11:44:54,745 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47fd67b8-7151-4474-9c39-1c20a653a04d 2025-06-30 11:44:54,756 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/aa8019b5-40df-4226-8f2f-b7ec465b70c5 2025-06-30 11:44:54,763 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/aa8019b5-40df-4226-8f2f-b7ec465b70c5 2025-06-30 11:44:54,770 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/cea02c88-a48b-40dd-9c93-60db5b59d8ac 2025-06-30 11:44:54,776 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 11:44:54,776 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47fd67b8-7151-4474-9c39-1c20a653a04d 2025-06-30 11:44:54,785 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/aa8019b5-40df-4226-8f2f-b7ec465b70c5 2025-06-30 11:44:54,800 - INFO - Verified VN network id 8 for VN 47fd67b8-7151-4474-9c39-1c20a653a04d 2025-06-30 11:44:54,800 - INFO - Verifications in API Server for VN ctest-vn-97677175 passed 2025-06-30 11:44:54,800 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47fd67b8-7151-4474-9c39-1c20a653a04d 2025-06-30 11:44:54,811 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/aa8019b5-40df-4226-8f2f-b7ec465b70c5 2025-06-30 11:44:54,820 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/aa8019b5-40df-4226-8f2f-b7ec465b70c5 2025-06-30 11:44:54,827 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/cea02c88-a48b-40dd-9c93-60db5b59d8ac 2025-06-30 11:44:54,838 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-97677175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94619882', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5187416387673474164', 'uuid-lslong': '11257059670144294989'}, 'enable': 'true', 'created': '2025-06-30T11:44:52', 'last-modified': '2025-06-30T11:44:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992683'} 2025-06-30 11:44:54,845 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 11:44:54,845 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97677175 passed 2025-06-30 11:44:54,845 - DEBUG - ====Verifying policy data for ctest-vn-97677175 in API_Server ====== 2025-06-30 11:44:54,845 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-30 11:44:54,850 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b016d685-4cdf-48d6-93a5-9a3e5852dc92 2025-06-30 11:44:54,861 - DEBUG - Requesting: http://10.0.0.249:8082/project/73177827-4389-473d-9aff-c400e63a30ea 2025-06-30 11:44:54,931 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47fd67b8-7151-4474-9c39-1c20a653a04d 2025-06-30 11:44:54,940 - DEBUG - ==>Verifying data for policy with id: 449d0514-642e-4430-9ff2-223e1e8e5d90, fqn: ['default-domain', 'ctest-TestBasicPolicy-94619882', 'ctest-policy-allow-all-29116458'] 2025-06-30 11:44:54,940 - INFO - VN ctest-vn-97677175 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 11:44:54,940 - DEBUG - Verifying the vn in opserver 2025-06-30 11:44:54,940 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-97677175 virtual network link through opserver 10.0.0.249 2025-06-30 11:44:54,941 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-06-30 11:44:55,230 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-06-30 11:44:55,282 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-97677175', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-97677175?flat'} 2025-06-30 11:44:55,282 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-97677175 is found in opserver 2025-06-30 11:44:55,293 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 11:44:55,298 - DEBUG - VRF ids for VN ctest-vn-97677175: {} 2025-06-30 11:44:55,298 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-30 11:44:55,305 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b016d685-4cdf-48d6-93a5-9a3e5852dc92 2025-06-30 11:44:55,320 - DEBUG - Requesting: http://10.0.0.249:8082/project/73177827-4389-473d-9aff-c400e63a30ea 2025-06-30 11:44:55,391 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/377d7f8d-096d-4b64-9318-6e1ec796e4fc 2025-06-30 11:44:55,403 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/377d7f8d-096d-4b64-9318-6e1ec796e4fc 2025-06-30 11:44:55,414 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f570ff8a-0bf0-4ac8-8c5c-d1c5bdfc8e74 2025-06-30 11:44:55,422 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f570ff8a-0bf0-4ac8-8c5c-d1c5bdfc8e74 2025-06-30 11:44:55,430 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/31ccbcc9-0666-4c08-8f90-cf4225831678 2025-06-30 11:44:55,437 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 11:44:55,437 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/377d7f8d-096d-4b64-9318-6e1ec796e4fc 2025-06-30 11:44:55,448 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f570ff8a-0bf0-4ac8-8c5c-d1c5bdfc8e74 2025-06-30 11:44:55,464 - INFO - Verified VN network id 9 for VN 377d7f8d-096d-4b64-9318-6e1ec796e4fc 2025-06-30 11:44:55,464 - INFO - Verifications in API Server for VN ctest-vn-60792214 passed 2025-06-30 11:44:55,464 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/377d7f8d-096d-4b64-9318-6e1ec796e4fc 2025-06-30 11:44:55,475 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f570ff8a-0bf0-4ac8-8c5c-d1c5bdfc8e74 2025-06-30 11:44:55,483 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f570ff8a-0bf0-4ac8-8c5c-d1c5bdfc8e74 2025-06-30 11:44:55,490 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/31ccbcc9-0666-4c08-8f90-cf4225831678 2025-06-30 11:44:55,503 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-60792214', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94619882', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3998492287900142436', 'uuid-lslong': '10599342801493091580'}, 'enable': 'true', 'created': '2025-06-30T11:44:53', 'last-modified': '2025-06-30T11:44:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412886'} 2025-06-30 11:44:55,509 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 11:44:55,509 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60792214 passed 2025-06-30 11:44:55,509 - DEBUG - ====Verifying policy data for ctest-vn-60792214 in API_Server ====== 2025-06-30 11:44:55,509 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-30 11:44:55,515 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b016d685-4cdf-48d6-93a5-9a3e5852dc92 2025-06-30 11:44:55,527 - DEBUG - Requesting: http://10.0.0.249:8082/project/73177827-4389-473d-9aff-c400e63a30ea 2025-06-30 11:44:55,598 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/377d7f8d-096d-4b64-9318-6e1ec796e4fc 2025-06-30 11:44:55,609 - DEBUG - ==>Verifying data for policy with id: 449d0514-642e-4430-9ff2-223e1e8e5d90, fqn: ['default-domain', 'ctest-TestBasicPolicy-94619882', 'ctest-policy-allow-all-29116458'] 2025-06-30 11:44:55,609 - INFO - VN ctest-vn-60792214 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 11:44:55,609 - DEBUG - Verifying the vn in opserver 2025-06-30 11:44:55,609 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-60792214 virtual network link through opserver 10.0.0.249 2025-06-30 11:44:55,609 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-06-30 11:44:55,619 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-60792214', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-60792214?flat'} 2025-06-30 11:44:55,619 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-60792214 is found in opserver 2025-06-30 11:44:55,630 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 11:44:55,635 - DEBUG - VRF ids for VN ctest-vn-60792214: {} 2025-06-30 11:44:55,685 - DEBUG - Services list from nova: [, , ] 2025-06-30 11:44:56,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3573-1) 2025-06-30 11:44:57,928 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3573-1) 2025-06-30 11:44:57,928 - INFO - Waiting for VM ctest-TestBasicPolicy-94619882-37434247 to be up.. 2025-06-30 11:44:58,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 11:45:03,112 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:45:03,112 - INFO - VM name : ctest-TestBasicPolicy-94619882-37434247 2025-06-30 11:45:03,183 - DEBUG - VM ctest-TestBasicPolicy-94619882-37434247 ID is 368b5c20-c9ad-469a-924a-c045250d2df3 2025-06-30 11:45:03,203 - DEBUG - VM ctest-TestBasicPolicy-94619882-37434247 launched on Node cn-jenkins-deploy-platform-ansible-os-3573-1 2025-06-30 11:45:03,274 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/368b5c20-c9ad-469a-924a-c045250d2df3 2025-06-30 11:45:03,282 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d5b64602-b7f9-4892-9d6c-9e35fed4df6f 2025-06-30 11:45:06,542 - 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 1023ms') 2025-06-30 11:45:06,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94619882-37434247 failed! 2025-06-30 11:45:06,600 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94619882:ctest-vn-97677175 is 98.247.119.65 and allocation pool is NOT set 2025-06-30 11:45:08,661 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.756 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.756/1.912/3.069/1.156 ms') 2025-06-30 11:45:08,661 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94619882-37434247 passed 2025-06-30 11:45:08,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:08,821 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94619882-37434247, IP 98.247.119.67, Port 22 2025-06-30 11:45:08,983 - DEBUG - VM ctest-TestBasicPolicy-94619882-37434247 is ready for SSH connections 2025-06-30 11:45:08,983 - INFO - Waiting for VM ctest-TestBasicPolicy-94619882-41123664 to be up.. 2025-06-30 11:45:09,060 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:45:09,060 - INFO - VM name : ctest-TestBasicPolicy-94619882-41123664 2025-06-30 11:45:09,132 - DEBUG - VM ctest-TestBasicPolicy-94619882-41123664 ID is ac57dc1c-b887-4a5e-9ca6-e0b0b12714ca 2025-06-30 11:45:09,132 - DEBUG - VM ctest-TestBasicPolicy-94619882-41123664 launched on Node cn-jenkins-deploy-platform-ansible-os-3573-1 2025-06-30 11:45:09,205 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ac57dc1c-b887-4a5e-9ca6-e0b0b12714ca 2025-06-30 11:45:09,215 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bc1f4bcf-ef0c-4642-aafb-e4d110e6e747 2025-06-30 11:45:10,456 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.519/2.650/1.130 ms') 2025-06-30 11:45:10,456 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94619882-41123664 passed 2025-06-30 11:45:10,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:10,612 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94619882-41123664, IP 8.199.239.195, Port 22 2025-06-30 11:45:10,764 - DEBUG - VM ctest-TestBasicPolicy-94619882-41123664 is ready for SSH connections 2025-06-30 11:45:10,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:10,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.199.239.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-06-30 11:45:10,764 - DEBUG - ping -s 56 -c 3 -W 1 8.199.239.195 2025-06-30 11:45:14,440 - DEBUG - PING 8.199.239.195 (8.199.239.195): 56 data bytes 64 bytes from 8.199.239.195: seq=0 ttl=63 time=3.372 ms 64 bytes from 8.199.239.195: seq=1 ttl=63 time=0.818 ms 64 bytes from 8.199.239.195: seq=2 ttl=63 time=0.741 ms --- 8.199.239.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/1.643/3.372 ms 2025-06-30 11:45:14,440 - INFO - Ping to IP 8.199.239.195 from VM ctest-TestBasicPolicy-94619882-37434247 passed 2025-06-30 11:45:14,628 - DEBUG - Policy Update Response {"network-policy": {"uuid": "449d0514-642e-4430-9ff2-223e1e8e5d90", "href": "http://10.0.0.249:8082/network-policy/449d0514-642e-4430-9ff2-223e1e8e5d90"}} 2025-06-30 11:45:14,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:45:14,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.199.239.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-06-30 11:45:14,628 - DEBUG - ping -s 56 -c 3 -W 1 8.199.239.195 2025-06-30 11:45:17,845 - DEBUG - PING 8.199.239.195 (8.199.239.195): 56 data bytes --- 8.199.239.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-30 11:45:17,845 - WARNING - Ping to IP 8.199.239.195 from VM ctest-TestBasicPolicy-94619882-37434247 failed 2025-06-30 11:45:17,845 - INFO - Deleting VM ctest-TestBasicPolicy-94619882-41123664 2025-06-30 11:45:17,907 - INFO - Deleting VM ctest-TestBasicPolicy-94619882-37434247 2025-06-30 11:45:18,269 - INFO - Deleted policy ctest-policy-allow-all-29116458 2025-06-30 11:45:18,270 - INFO - Deleting VN ctest-vn-60792214 2025-06-30 11:45:18,306 - DEBUG - VN 377d7f8d-096d-4b64-9318-6e1ec796e4fc still in use: Unable to complete operation on network 377d7f8d-096d-4b64-9318-6e1ec796e4fc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c1ae0d8-2f3a-4b9f-a9c1-083e621d3163'] 2025-06-30 11:45:18,306 - WARNING - Deleting VN ctest-vn-60792214 failed..Will retry 2025-06-30 11:45:20,411 - DEBUG - Response for deleting network () 2025-06-30 11:45:20,411 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f570ff8a-0bf0-4ac8-8c5c-d1c5bdfc8e74 2025-06-30 11:45:20,419 - DEBUG - Response Code: 404 2025-06-30 11:45:20,419 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-30 11:45:20,430 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b016d685-4cdf-48d6-93a5-9a3e5852dc92 2025-06-30 11:45:20,487 - DEBUG - Requesting: http://10.0.0.249:8082/project/73177827-4389-473d-9aff-c400e63a30ea 2025-06-30 11:45:20,556 - INFO - Validated that VN ctest-vn-60792214 is not found in API Server 2025-06-30 11:45:20,567 - DEBUG - VN ctest-vn-60792214 is not present in Agent 10.0.0.249 2025-06-30 11:45:20,567 - INFO - Validated that VN ctest-vn-60792214 is not in any agent 2025-06-30 11:45:20,582 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60792214 info 2025-06-30 11:45:20,583 - INFO - Deleting VN ctest-vn-97677175 2025-06-30 11:45:20,678 - DEBUG - Response for deleting network () 2025-06-30 11:45:20,678 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/aa8019b5-40df-4226-8f2f-b7ec465b70c5 2025-06-30 11:45:20,683 - DEBUG - Response Code: 404 2025-06-30 11:45:20,683 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-06-30 11:45:20,689 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b016d685-4cdf-48d6-93a5-9a3e5852dc92 2025-06-30 11:45:20,742 - DEBUG - Requesting: http://10.0.0.249:8082/project/73177827-4389-473d-9aff-c400e63a30ea 2025-06-30 11:45:20,818 - INFO - Validated that VN ctest-vn-97677175 is not found in API Server 2025-06-30 11:45:20,830 - DEBUG - VN ctest-vn-97677175 is not present in Agent 10.0.0.249 2025-06-30 11:45:20,830 - INFO - Validated that VN ctest-vn-97677175 is not in any agent 2025-06-30 11:45:20,846 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97677175 info 2025-06-30 11:45:21,102 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 11:45:21,102 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-30 11:45:21,102 - INFO - -------------------------------------------------------------------------------- 2025-06-30 11:45:21,772 - INFO - Deleted project: ctest-TestBasicPolicy-94619882, ID : 73177827-4389-473d-9aff-c400e63a30ea