2025-10-09 17:54:59,182 - INFO - Domain Default found not creating 2025-10-09 17:54:59,325 - INFO - Project ctest-TestBasicPolicy-23716992 not found, creating it 2025-10-09 17:54:59,759 - INFO - Created Project:ctest-TestBasicPolicy-23716992, ID : 01da1ad8-ee5e-4f97-ae59-93cd1c45c206 2025-10-09 17:55:01,195 - INFO - ================================================================================ 2025-10-09 17:55:01,195 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 17:55:01,195 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-09 17:55:01,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-09 17:55:01,449 - INFO - Initial checks done. Running the testcase now 2025-10-09 17:55:01,449 - INFO - 2025-10-09 17:55:01,986 - DEBUG - Response for create_network : {'network': {'id': '986b6a48-2e75-43b9-9bab-56b8300f33eb', 'name': 'ctest-vn-46787613', 'tenant_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'project_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23716992', 'ctest-vn-46787613'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:55:02,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '65d3a0c5-3861-4b62-80a9-b2ced5910a85', 'name': '', 'tenant_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'network_id': '986b6a48-2e75-43b9-9bab-56b8300f33eb', 'ip_version': 4, 'cidr': '72.46.87.192/26', 'allocation_pools': [{'start': '72.46.87.194', 'end': '72.46.87.254'}], 'gateway_ip': '72.46.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.46.87.194', 'tags': [], 'project_id': '01da1ad8ee5e4f97ae5993cd1c45c206'}} 2025-10-09 17:55:02,195 - INFO - Created VN ctest-vn-46787613 2025-10-09 17:55:02,248 - DEBUG - VN ctest-vn-46787613 UUID is 986b6a48-2e75-43b9-9bab-56b8300f33eb 2025-10-09 17:55:02,580 - DEBUG - Response for create_network : {'network': {'id': '8b55a177-aa67-4f00-9558-6ae06a93b317', 'name': 'ctest-vn-03478710', 'tenant_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'project_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23716992', 'ctest-vn-03478710'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:55:02,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '68a1ac58-e897-4936-a055-2b552aacd698', 'name': '', 'tenant_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'network_id': '8b55a177-aa67-4f00-9558-6ae06a93b317', 'ip_version': 4, 'cidr': '171.169.56.192/26', 'allocation_pools': [{'start': '171.169.56.194', 'end': '171.169.56.254'}], 'gateway_ip': '171.169.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.169.56.194', 'tags': [], 'project_id': '01da1ad8ee5e4f97ae5993cd1c45c206'}} 2025-10-09 17:55:02,807 - INFO - Created VN ctest-vn-03478710 2025-10-09 17:55:02,860 - DEBUG - VN ctest-vn-03478710 UUID is 8b55a177-aa67-4f00-9558-6ae06a93b317 2025-10-09 17:55:03,004 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-46787613, 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-23716992:ctest-vn-03478710, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-09 17:55:03,293 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '986b6a48-2e75-43b9-9bab-56b8300f33eb', 'name': 'ctest-vn-46787613', 'tenant_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'project_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65d3a0c5-3861-4b62-80a9-b2ced5910a85'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23716992', 'ctest-vn-46787613'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23716992', 'ctest-policy-allow-all-37822817']], 'subnet_ipam': [{'subnet_cidr': '72.46.87.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:55:03,510 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b55a177-aa67-4f00-9558-6ae06a93b317', 'name': 'ctest-vn-03478710', 'tenant_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'project_id': '01da1ad8ee5e4f97ae5993cd1c45c206', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68a1ac58-e897-4936-a055-2b552aacd698'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23716992', 'ctest-vn-03478710'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23716992', 'ctest-policy-allow-all-37822817']], 'subnet_ipam': [{'subnet_cidr': '171.169.56.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:55:03,672 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 17:55:03,961 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 17:55:03,988 - DEBUG - Requesting: http://10.0.0.131:8082/domain/8aaa9f34-8ac1-43f6-a406-a0f87f9d8130 2025-10-09 17:55:04,000 - DEBUG - Requesting: http://10.0.0.131:8082/project/01da1ad8-ee5e-4f97-ae59-93cd1c45c206 2025-10-09 17:55:04,072 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/986b6a48-2e75-43b9-9bab-56b8300f33eb 2025-10-09 17:55:04,082 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/986b6a48-2e75-43b9-9bab-56b8300f33eb 2025-10-09 17:55:04,091 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/c3d1c581-d0d9-4322-8f55-0d86de46ecdd 2025-10-09 17:55:04,097 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/c3d1c581-d0d9-4322-8f55-0d86de46ecdd 2025-10-09 17:55:04,104 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/81b785d0-b8e5-4669-b97c-94d027b29fc0 2025-10-09 17:55:04,109 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 17:55:04,109 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/986b6a48-2e75-43b9-9bab-56b8300f33eb 2025-10-09 17:55:04,117 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/c3d1c581-d0d9-4322-8f55-0d86de46ecdd 2025-10-09 17:55:04,130 - INFO - Verified VN network id 11 for VN 986b6a48-2e75-43b9-9bab-56b8300f33eb 2025-10-09 17:55:04,130 - INFO - Verifications in API Server for VN ctest-vn-46787613 passed 2025-10-09 17:55:04,130 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/986b6a48-2e75-43b9-9bab-56b8300f33eb 2025-10-09 17:55:04,138 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/c3d1c581-d0d9-4322-8f55-0d86de46ecdd 2025-10-09 17:55:04,145 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/c3d1c581-d0d9-4322-8f55-0d86de46ecdd 2025-10-09 17:55:04,151 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/81b785d0-b8e5-4669-b97c-94d027b29fc0 2025-10-09 17:55:04,163 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-46787613', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23716992', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10982988974522713017', 'uuid-lslong': '11217154645976626155'}, 'enable': 'true', 'created': '2025-10-09T17:55:01', 'last-modified': '2025-10-09T17:55:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.891010'} 2025-10-09 17:55:04,169 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 17:55:04,169 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46787613 passed 2025-10-09 17:55:04,169 - DEBUG - ====Verifying policy data for ctest-vn-46787613 in API_Server ====== 2025-10-09 17:55:04,169 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 17:55:04,174 - DEBUG - Requesting: http://10.0.0.131:8082/domain/8aaa9f34-8ac1-43f6-a406-a0f87f9d8130 2025-10-09 17:55:04,185 - DEBUG - Requesting: http://10.0.0.131:8082/project/01da1ad8-ee5e-4f97-ae59-93cd1c45c206 2025-10-09 17:55:04,252 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/986b6a48-2e75-43b9-9bab-56b8300f33eb 2025-10-09 17:55:04,260 - DEBUG - ==>Verifying data for policy with id: 4a6ba37f-6f53-49a0-b96e-6974a1405ff2, fqn: ['default-domain', 'ctest-TestBasicPolicy-23716992', 'ctest-policy-allow-all-37822817'] 2025-10-09 17:55:04,260 - INFO - VN ctest-vn-46787613 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 17:55:04,261 - DEBUG - Verifying the vn in opserver 2025-10-09 17:55:04,261 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-46787613 virtual network link through opserver 10.0.0.131 2025-10-09 17:55:04,261 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-09 17:55:04,550 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-09 17:55:04,602 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-46787613', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-46787613?flat'} 2025-10-09 17:55:04,602 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-46787613 is found in opserver 2025-10-09 17:55:04,615 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 17:55:04,619 - DEBUG - VRF ids for VN ctest-vn-46787613: {} 2025-10-09 17:55:04,619 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 17:55:04,624 - DEBUG - Requesting: http://10.0.0.131:8082/domain/8aaa9f34-8ac1-43f6-a406-a0f87f9d8130 2025-10-09 17:55:04,634 - DEBUG - Requesting: http://10.0.0.131:8082/project/01da1ad8-ee5e-4f97-ae59-93cd1c45c206 2025-10-09 17:55:04,704 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b55a177-aa67-4f00-9558-6ae06a93b317 2025-10-09 17:55:04,716 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b55a177-aa67-4f00-9558-6ae06a93b317 2025-10-09 17:55:04,726 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/d8163a0a-a1e1-4c1f-9443-38708f44d6a1 2025-10-09 17:55:04,733 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/d8163a0a-a1e1-4c1f-9443-38708f44d6a1 2025-10-09 17:55:04,741 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/dd68414f-ceaa-485e-8c9c-045720d67267 2025-10-09 17:55:04,748 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 17:55:04,748 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b55a177-aa67-4f00-9558-6ae06a93b317 2025-10-09 17:55:04,757 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/d8163a0a-a1e1-4c1f-9443-38708f44d6a1 2025-10-09 17:55:04,772 - INFO - Verified VN network id 12 for VN 8b55a177-aa67-4f00-9558-6ae06a93b317 2025-10-09 17:55:04,772 - INFO - Verifications in API Server for VN ctest-vn-03478710 passed 2025-10-09 17:55:04,772 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b55a177-aa67-4f00-9558-6ae06a93b317 2025-10-09 17:55:04,781 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/d8163a0a-a1e1-4c1f-9443-38708f44d6a1 2025-10-09 17:55:04,788 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/d8163a0a-a1e1-4c1f-9443-38708f44d6a1 2025-10-09 17:55:04,794 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/dd68414f-ceaa-485e-8c9c-045720d67267 2025-10-09 17:55:04,805 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-03478710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23716992', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10040108479624466176', 'uuid-lslong': '10761468821695083287'}, 'enable': 'true', 'created': '2025-10-09T17:55:02', 'last-modified': '2025-10-09T17:55:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311272'} 2025-10-09 17:55:04,810 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 17:55:04,810 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03478710 passed 2025-10-09 17:55:04,810 - DEBUG - ====Verifying policy data for ctest-vn-03478710 in API_Server ====== 2025-10-09 17:55:04,810 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 17:55:04,815 - DEBUG - Requesting: http://10.0.0.131:8082/domain/8aaa9f34-8ac1-43f6-a406-a0f87f9d8130 2025-10-09 17:55:04,824 - DEBUG - Requesting: http://10.0.0.131:8082/project/01da1ad8-ee5e-4f97-ae59-93cd1c45c206 2025-10-09 17:55:04,891 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/8b55a177-aa67-4f00-9558-6ae06a93b317 2025-10-09 17:55:04,900 - DEBUG - ==>Verifying data for policy with id: 4a6ba37f-6f53-49a0-b96e-6974a1405ff2, fqn: ['default-domain', 'ctest-TestBasicPolicy-23716992', 'ctest-policy-allow-all-37822817'] 2025-10-09 17:55:04,900 - INFO - VN ctest-vn-03478710 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 17:55:04,900 - DEBUG - Verifying the vn in opserver 2025-10-09 17:55:04,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-03478710 virtual network link through opserver 10.0.0.131 2025-10-09 17:55:04,901 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-09 17:55:04,909 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-03478710', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-03478710?flat'} 2025-10-09 17:55:04,909 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-03478710 is found in opserver 2025-10-09 17:55:04,921 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 17:55:04,926 - DEBUG - VRF ids for VN ctest-vn-03478710: {} 2025-10-09 17:55:04,991 - DEBUG - Services list from nova: [, , ] 2025-10-09 17:55:06,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4271-1) 2025-10-09 17:55:07,139 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4271-1) 2025-10-09 17:55:07,139 - INFO - Waiting for VM ctest-TestBasicPolicy-23716992-38802977 to be up.. 2025-10-09 17:55:07,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 17:55:12,294 - DEBUG - VM is in ACTIVE state now 2025-10-09 17:55:12,294 - INFO - VM name : ctest-TestBasicPolicy-23716992-38802977 2025-10-09 17:55:12,373 - DEBUG - VM ctest-TestBasicPolicy-23716992-38802977 ID is 2949c0ca-78d1-4b37-8dd0-a51542022383 2025-10-09 17:55:12,396 - DEBUG - VM ctest-TestBasicPolicy-23716992-38802977 launched on Node cn-jenkins-deploy-platform-ansible-os-4271-1 2025-10-09 17:55:12,476 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/2949c0ca-78d1-4b37-8dd0-a51542022383 2025-10-09 17:55:12,485 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/64cbbeb0-25ff-44fd-be56-7cb1e0dab19b 2025-10-09 17:55:15,734 - 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-10-09 17:55:15,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23716992-38802977 failed! 2025-10-09 17:55:15,792 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23716992:ctest-vn-46787613 is 72.46.87.193 and allocation pool is NOT set 2025-10-09 17:55:17,854 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/2.032/3.558/1.526 ms') 2025-10-09 17:55:17,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23716992-38802977 passed 2025-10-09 17:55:18,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:55:18,012 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23716992-38802977, IP 72.46.87.195, Port 22 2025-10-09 17:55:18,167 - DEBUG - VM ctest-TestBasicPolicy-23716992-38802977 is ready for SSH connections 2025-10-09 17:55:18,167 - INFO - Waiting for VM ctest-TestBasicPolicy-23716992-56117703 to be up.. 2025-10-09 17:55:18,238 - DEBUG - VM is in ACTIVE state now 2025-10-09 17:55:18,238 - INFO - VM name : ctest-TestBasicPolicy-23716992-56117703 2025-10-09 17:55:18,305 - DEBUG - VM ctest-TestBasicPolicy-23716992-56117703 ID is 40e8db81-bec4-4150-9aa9-dcc9e74b452e 2025-10-09 17:55:18,306 - DEBUG - VM ctest-TestBasicPolicy-23716992-56117703 launched on Node cn-jenkins-deploy-platform-ansible-os-4271-1 2025-10-09 17:55:18,378 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/40e8db81-bec4-4150-9aa9-dcc9e74b452e 2025-10-09 17:55:18,386 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/1b5074fa-3fba-43d9-b373-fdfe793443ed 2025-10-09 17:55:19,629 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.28 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.275/2.585/2.895/0.310 ms') 2025-10-09 17:55:19,629 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23716992-56117703 passed 2025-10-09 17:55:19,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:55:19,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23716992-56117703, IP 171.169.56.195, Port 22 2025-10-09 17:55:19,946 - DEBUG - VM ctest-TestBasicPolicy-23716992-56117703 is ready for SSH connections 2025-10-09 17:55:19,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:55:19,946 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.169.56.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:55:19,946 - DEBUG - ping -s 56 -c 3 -W 1 171.169.56.195 2025-10-09 17:55:23,952 - DEBUG - PING 171.169.56.195 (171.169.56.195): 56 data bytes 64 bytes from 171.169.56.195: seq=0 ttl=63 time=4.022 ms 64 bytes from 171.169.56.195: seq=1 ttl=63 time=0.944 ms 64 bytes from 171.169.56.195: seq=2 ttl=63 time=0.879 ms --- 171.169.56.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/1.948/4.022 ms 2025-10-09 17:55:23,952 - INFO - Ping to IP 171.169.56.195 from VM ctest-TestBasicPolicy-23716992-38802977 passed 2025-10-09 17:55:24,128 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4a6ba37f-6f53-49a0-b96e-6974a1405ff2", "href": "http://10.0.0.131:8082/network-policy/4a6ba37f-6f53-49a0-b96e-6974a1405ff2"}} 2025-10-09 17:55:24,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:55:24,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.169.56.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:55:24,128 - DEBUG - ping -s 56 -c 3 -W 1 171.169.56.195 2025-10-09 17:55:27,330 - DEBUG - PING 171.169.56.195 (171.169.56.195): 56 data bytes --- 171.169.56.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 17:55:27,330 - WARNING - Ping to IP 171.169.56.195 from VM ctest-TestBasicPolicy-23716992-38802977 failed 2025-10-09 17:55:27,330 - INFO - Deleting VM ctest-TestBasicPolicy-23716992-56117703 2025-10-09 17:55:27,423 - INFO - Deleting VM ctest-TestBasicPolicy-23716992-38802977 2025-10-09 17:55:27,840 - INFO - Deleted policy ctest-policy-allow-all-37822817 2025-10-09 17:55:27,841 - INFO - Deleting VN ctest-vn-03478710 2025-10-09 17:55:27,875 - DEBUG - VN 8b55a177-aa67-4f00-9558-6ae06a93b317 still in use: Unable to complete operation on network 8b55a177-aa67-4f00-9558-6ae06a93b317. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-19fbc485-b971-43e1-9f15-a3d49247b1be'] 2025-10-09 17:55:27,875 - WARNING - Deleting VN ctest-vn-03478710 failed..Will retry 2025-10-09 17:55:29,986 - DEBUG - Response for deleting network () 2025-10-09 17:55:29,987 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/d8163a0a-a1e1-4c1f-9443-38708f44d6a1 2025-10-09 17:55:29,993 - DEBUG - Response Code: 404 2025-10-09 17:55:29,993 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 17:55:29,998 - DEBUG - Requesting: http://10.0.0.131:8082/domain/8aaa9f34-8ac1-43f6-a406-a0f87f9d8130 2025-10-09 17:55:30,049 - DEBUG - Requesting: http://10.0.0.131:8082/project/01da1ad8-ee5e-4f97-ae59-93cd1c45c206 2025-10-09 17:55:30,115 - INFO - Validated that VN ctest-vn-03478710 is not found in API Server 2025-10-09 17:55:30,127 - DEBUG - VN ctest-vn-03478710 is not present in Agent 10.0.0.131 2025-10-09 17:55:30,127 - INFO - Validated that VN ctest-vn-03478710 is not in any agent 2025-10-09 17:55:30,143 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03478710 info 2025-10-09 17:55:30,143 - INFO - Deleting VN ctest-vn-46787613 2025-10-09 17:55:30,241 - DEBUG - Response for deleting network () 2025-10-09 17:55:30,241 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/c3d1c581-d0d9-4322-8f55-0d86de46ecdd 2025-10-09 17:55:30,249 - DEBUG - Response Code: 404 2025-10-09 17:55:30,249 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 17:55:30,254 - DEBUG - Requesting: http://10.0.0.131:8082/domain/8aaa9f34-8ac1-43f6-a406-a0f87f9d8130 2025-10-09 17:55:30,309 - DEBUG - Requesting: http://10.0.0.131:8082/project/01da1ad8-ee5e-4f97-ae59-93cd1c45c206 2025-10-09 17:55:30,393 - INFO - Validated that VN ctest-vn-46787613 is not found in API Server 2025-10-09 17:55:30,405 - DEBUG - VN ctest-vn-46787613 is not present in Agent 10.0.0.131 2025-10-09 17:55:30,405 - INFO - Validated that VN ctest-vn-46787613 is not in any agent 2025-10-09 17:55:30,422 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46787613 info 2025-10-09 17:55:30,683 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 17:55:30,683 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-09 17:55:30,684 - INFO - -------------------------------------------------------------------------------- 2025-10-09 17:55:31,347 - INFO - Deleted project: ctest-TestBasicPolicy-23716992, ID : 01da1ad8-ee5e-4f97-ae59-93cd1c45c206