2025-10-08 22:18:21,070 - INFO - Domain Default found not creating 2025-10-08 22:18:21,191 - INFO - Project ctest-TestBasicPolicy-82023768 not found, creating it 2025-10-08 22:18:21,597 - INFO - Created Project:ctest-TestBasicPolicy-82023768, ID : 3a7e9d1e-f908-4c94-8960-52fc0fa3abe6 2025-10-08 22:18:22,905 - INFO - ================================================================================ 2025-10-08 22:18:22,905 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-08 22:18:22,905 - 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-08 22:18:23,163 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.254': '0'}} with 2025-10-08 22:18:23,163 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:18:23,163 - INFO - 2025-10-08 22:18:23,658 - DEBUG - Response for create_network : {'network': {'id': '05898cc7-3983-495d-b085-30033ea24b33', 'name': 'ctest-vn-84082736', 'tenant_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'project_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82023768', 'ctest-vn-84082736'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:18:23,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '09aad389-ed38-4832-848d-2645a2e13c71', 'name': '', 'tenant_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'network_id': '05898cc7-3983-495d-b085-30033ea24b33', 'ip_version': 4, 'cidr': '157.149.7.192/26', 'allocation_pools': [{'start': '157.149.7.194', 'end': '157.149.7.254'}], 'gateway_ip': '157.149.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.149.7.194', 'tags': [], 'project_id': '3a7e9d1ef9084c94896052fc0fa3abe6'}} 2025-10-08 22:18:23,856 - INFO - Created VN ctest-vn-84082736 2025-10-08 22:18:23,906 - DEBUG - VN ctest-vn-84082736 UUID is 05898cc7-3983-495d-b085-30033ea24b33 2025-10-08 22:18:24,201 - DEBUG - Response for create_network : {'network': {'id': '26525536-4cf3-4a93-8213-9d584fab06a6', 'name': 'ctest-vn-01301214', 'tenant_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'project_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82023768', 'ctest-vn-01301214'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:18:24,397 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b710faf6-4ab2-42dd-883f-52d243695bdf', 'name': '', 'tenant_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'network_id': '26525536-4cf3-4a93-8213-9d584fab06a6', 'ip_version': 4, 'cidr': '14.181.110.128/26', 'allocation_pools': [{'start': '14.181.110.130', 'end': '14.181.110.190'}], 'gateway_ip': '14.181.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.181.110.130', 'tags': [], 'project_id': '3a7e9d1ef9084c94896052fc0fa3abe6'}} 2025-10-08 22:18:24,411 - INFO - Created VN ctest-vn-01301214 2025-10-08 22:18:24,462 - DEBUG - VN ctest-vn-01301214 UUID is 26525536-4cf3-4a93-8213-9d584fab06a6 2025-10-08 22:18:24,602 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-84082736, 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-82023768:ctest-vn-01301214, 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-08 22:18:24,870 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05898cc7-3983-495d-b085-30033ea24b33', 'name': 'ctest-vn-84082736', 'tenant_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'project_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09aad389-ed38-4832-848d-2645a2e13c71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82023768', 'ctest-vn-84082736'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82023768', 'ctest-policy-allow-all-68062328']], 'subnet_ipam': [{'subnet_cidr': '157.149.7.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:18:25,075 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26525536-4cf3-4a93-8213-9d584fab06a6', 'name': 'ctest-vn-01301214', 'tenant_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'project_id': '3a7e9d1ef9084c94896052fc0fa3abe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b710faf6-4ab2-42dd-883f-52d243695bdf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82023768', 'ctest-vn-01301214'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82023768', 'ctest-policy-allow-all-68062328']], 'subnet_ipam': [{'subnet_cidr': '14.181.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:18:25,246 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-08 22:18:25,537 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-08 22:18:25,561 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c5bfd11-78c7-425a-b27d-2ea89958427e 2025-10-08 22:18:25,571 - DEBUG - Requesting: http://10.0.0.23:8082/project/3a7e9d1e-f908-4c94-8960-52fc0fa3abe6 2025-10-08 22:18:25,640 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/05898cc7-3983-495d-b085-30033ea24b33 2025-10-08 22:18:25,648 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/05898cc7-3983-495d-b085-30033ea24b33 2025-10-08 22:18:25,656 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f28333ef-8ed8-4a3c-b078-92719dcf0d59 2025-10-08 22:18:25,661 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f28333ef-8ed8-4a3c-b078-92719dcf0d59 2025-10-08 22:18:25,665 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/ae4bf4d3-58b3-4ea7-8c64-fdbdd2ffc9b6 2025-10-08 22:18:25,670 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 22:18:25,670 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/05898cc7-3983-495d-b085-30033ea24b33 2025-10-08 22:18:25,676 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f28333ef-8ed8-4a3c-b078-92719dcf0d59 2025-10-08 22:18:25,686 - INFO - Verified VN network id 12 for VN 05898cc7-3983-495d-b085-30033ea24b33 2025-10-08 22:18:25,686 - INFO - Verifications in API Server for VN ctest-vn-84082736 passed 2025-10-08 22:18:25,686 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/05898cc7-3983-495d-b085-30033ea24b33 2025-10-08 22:18:25,693 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f28333ef-8ed8-4a3c-b078-92719dcf0d59 2025-10-08 22:18:25,698 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f28333ef-8ed8-4a3c-b078-92719dcf0d59 2025-10-08 22:18:25,702 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/ae4bf4d3-58b3-4ea7-8c64-fdbdd2ffc9b6 2025-10-08 22:18:25,711 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-84082736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82023768', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '399004829290285405', 'uuid-lslong': '12719625513071692595'}, 'enable': 'true', 'created': '2025-10-08T22:18:23', 'last-modified': '2025-10-08T22:18:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.859644'} 2025-10-08 22:18:25,716 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 22:18:25,716 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84082736 passed 2025-10-08 22:18:25,716 - DEBUG - ====Verifying policy data for ctest-vn-84082736 in API_Server ====== 2025-10-08 22:18:25,716 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-08 22:18:25,720 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c5bfd11-78c7-425a-b27d-2ea89958427e 2025-10-08 22:18:25,728 - DEBUG - Requesting: http://10.0.0.23:8082/project/3a7e9d1e-f908-4c94-8960-52fc0fa3abe6 2025-10-08 22:18:25,793 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/05898cc7-3983-495d-b085-30033ea24b33 2025-10-08 22:18:25,801 - DEBUG - ==>Verifying data for policy with id: c5e80867-5abb-4b1b-8bd6-5a4f014e7c82, fqn: ['default-domain', 'ctest-TestBasicPolicy-82023768', 'ctest-policy-allow-all-68062328'] 2025-10-08 22:18:25,801 - INFO - VN ctest-vn-84082736 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 22:18:25,801 - DEBUG - Verifying the vn in opserver 2025-10-08 22:18:25,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-84082736 virtual network link through opserver 10.0.0.23 2025-10-08 22:18:25,801 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-10-08 22:18:26,088 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-10-08 22:18:26,132 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-84082736', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-84082736?flat'} 2025-10-08 22:18:26,132 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-84082736 is found in opserver 2025-10-08 22:18:26,140 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 22:18:26,144 - DEBUG - VRF ids for VN ctest-vn-84082736: {} 2025-10-08 22:18:26,144 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-08 22:18:26,148 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c5bfd11-78c7-425a-b27d-2ea89958427e 2025-10-08 22:18:26,156 - DEBUG - Requesting: http://10.0.0.23:8082/project/3a7e9d1e-f908-4c94-8960-52fc0fa3abe6 2025-10-08 22:18:26,227 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/26525536-4cf3-4a93-8213-9d584fab06a6 2025-10-08 22:18:26,237 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/26525536-4cf3-4a93-8213-9d584fab06a6 2025-10-08 22:18:26,244 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f3000753-d51a-45db-8b78-6c576c817060 2025-10-08 22:18:26,251 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f3000753-d51a-45db-8b78-6c576c817060 2025-10-08 22:18:26,256 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/3de45fd8-d89a-4296-b7b8-63380c05a708 2025-10-08 22:18:26,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 22:18:26,261 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/26525536-4cf3-4a93-8213-9d584fab06a6 2025-10-08 22:18:26,268 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f3000753-d51a-45db-8b78-6c576c817060 2025-10-08 22:18:26,278 - INFO - Verified VN network id 13 for VN 26525536-4cf3-4a93-8213-9d584fab06a6 2025-10-08 22:18:26,278 - INFO - Verifications in API Server for VN ctest-vn-01301214 passed 2025-10-08 22:18:26,278 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/26525536-4cf3-4a93-8213-9d584fab06a6 2025-10-08 22:18:26,284 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f3000753-d51a-45db-8b78-6c576c817060 2025-10-08 22:18:26,289 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f3000753-d51a-45db-8b78-6c576c817060 2025-10-08 22:18:26,295 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/3de45fd8-d89a-4296-b7b8-63380c05a708 2025-10-08 22:18:26,304 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-01301214', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82023768', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2761363213239143059', 'uuid-lslong': '9373008252107425446'}, 'enable': 'true', 'created': '2025-10-08T22:18:24', 'last-modified': '2025-10-08T22:18:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.245579'} 2025-10-08 22:18:26,308 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 22:18:26,309 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01301214 passed 2025-10-08 22:18:26,309 - DEBUG - ====Verifying policy data for ctest-vn-01301214 in API_Server ====== 2025-10-08 22:18:26,309 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-08 22:18:26,313 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c5bfd11-78c7-425a-b27d-2ea89958427e 2025-10-08 22:18:26,321 - DEBUG - Requesting: http://10.0.0.23:8082/project/3a7e9d1e-f908-4c94-8960-52fc0fa3abe6 2025-10-08 22:18:26,384 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/26525536-4cf3-4a93-8213-9d584fab06a6 2025-10-08 22:18:26,396 - DEBUG - ==>Verifying data for policy with id: c5e80867-5abb-4b1b-8bd6-5a4f014e7c82, fqn: ['default-domain', 'ctest-TestBasicPolicy-82023768', 'ctest-policy-allow-all-68062328'] 2025-10-08 22:18:26,396 - INFO - VN ctest-vn-01301214 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 22:18:26,396 - DEBUG - Verifying the vn in opserver 2025-10-08 22:18:26,396 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-01301214 virtual network link through opserver 10.0.0.23 2025-10-08 22:18:26,396 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-10-08 22:18:26,405 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-01301214', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-01301214?flat'} 2025-10-08 22:18:26,405 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-01301214 is found in opserver 2025-10-08 22:18:26,412 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 22:18:26,416 - DEBUG - VRF ids for VN ctest-vn-01301214: {} 2025-10-08 22:18:26,464 - DEBUG - Services list from nova: [, , ] 2025-10-08 22:18:27,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4247-1) 2025-10-08 22:18:28,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4247-1) 2025-10-08 22:18:28,426 - INFO - Waiting for VM ctest-TestBasicPolicy-82023768-34145152 to be up.. 2025-10-08 22:18:28,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 22:18:33,556 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:18:33,556 - INFO - VM name : ctest-TestBasicPolicy-82023768-34145152 2025-10-08 22:18:33,618 - DEBUG - VM ctest-TestBasicPolicy-82023768-34145152 ID is d860ea67-bdec-4cff-9a15-d7f6ffc239d2 2025-10-08 22:18:33,635 - DEBUG - VM ctest-TestBasicPolicy-82023768-34145152 launched on Node cn-jenkins-deploy-platform-ansible-os-4247-1 2025-10-08 22:18:33,694 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d860ea67-bdec-4cff-9a15-d7f6ffc239d2 2025-10-08 22:18:33,700 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f3dfe106-2151-4b7f-aba2-047b4962707e 2025-10-08 22:18:36,934 - 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 1007ms') 2025-10-08 22:18:36,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82023768-34145152 failed! 2025-10-08 22:18:36,986 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82023768:ctest-vn-84082736 is 157.149.7.193 and allocation pool is NOT set 2025-10-08 22:18:39,050 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/1.404/2.435/1.030 ms') 2025-10-08 22:18:39,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82023768-34145152 passed 2025-10-08 22:18:39,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:18:39,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82023768-34145152, IP 157.149.7.195, Port 22 2025-10-08 22:18:39,361 - DEBUG - VM ctest-TestBasicPolicy-82023768-34145152 is ready for SSH connections 2025-10-08 22:18:39,362 - INFO - Waiting for VM ctest-TestBasicPolicy-82023768-67607773 to be up.. 2025-10-08 22:18:39,421 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:18:39,421 - INFO - VM name : ctest-TestBasicPolicy-82023768-67607773 2025-10-08 22:18:39,479 - DEBUG - VM ctest-TestBasicPolicy-82023768-67607773 ID is a127481f-d44a-40f6-a327-fc67f1af3a80 2025-10-08 22:18:39,479 - DEBUG - VM ctest-TestBasicPolicy-82023768-67607773 launched on Node cn-jenkins-deploy-platform-ansible-os-4247-1 2025-10-08 22:18:39,540 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a127481f-d44a-40f6-a327-fc67f1af3a80 2025-10-08 22:18:39,547 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b447aeda-d5a5-498e-b39e-29cfaf4f1e20 2025-10-08 22:18:40,771 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.851 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.851/2.797/4.744/1.946 ms') 2025-10-08 22:18:40,771 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82023768-67607773 passed 2025-10-08 22:18:40,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:18:40,918 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82023768-67607773, IP 14.181.110.131, Port 22 2025-10-08 22:18:41,078 - DEBUG - VM ctest-TestBasicPolicy-82023768-67607773 is ready for SSH connections 2025-10-08 22:18:41,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:18:41,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.181.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-08 22:18:41,078 - DEBUG - ping -s 56 -c 3 -W 1 14.181.110.131 2025-10-08 22:18:44,753 - DEBUG - PING 14.181.110.131 (14.181.110.131): 56 data bytes 64 bytes from 14.181.110.131: seq=0 ttl=63 time=4.777 ms 64 bytes from 14.181.110.131: seq=1 ttl=63 time=0.684 ms 64 bytes from 14.181.110.131: seq=2 ttl=63 time=0.738 ms --- 14.181.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.684/2.066/4.777 ms 2025-10-08 22:18:44,753 - INFO - Ping to IP 14.181.110.131 from VM ctest-TestBasicPolicy-82023768-34145152 passed 2025-10-08 22:18:44,918 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c5e80867-5abb-4b1b-8bd6-5a4f014e7c82", "href": "http://10.0.0.23:8082/network-policy/c5e80867-5abb-4b1b-8bd6-5a4f014e7c82"}} 2025-10-08 22:18:44,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:18:44,918 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.181.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-08 22:18:44,918 - DEBUG - ping -s 56 -c 3 -W 1 14.181.110.131 2025-10-08 22:18:48,112 - DEBUG - PING 14.181.110.131 (14.181.110.131): 56 data bytes 64 bytes from 14.181.110.131: seq=0 ttl=63 time=1.232 ms --- 14.181.110.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.232/1.232/1.232 ms 2025-10-08 22:18:48,113 - WARNING - Ping to IP 14.181.110.131 from VM ctest-TestBasicPolicy-82023768-34145152 failed 2025-10-08 22:18:48,113 - INFO - Deleting VM ctest-TestBasicPolicy-82023768-67607773 2025-10-08 22:18:48,253 - INFO - Deleting VM ctest-TestBasicPolicy-82023768-34145152 2025-10-08 22:18:48,585 - INFO - Deleted policy ctest-policy-allow-all-68062328 2025-10-08 22:18:48,585 - INFO - Deleting VN ctest-vn-01301214 2025-10-08 22:18:48,617 - DEBUG - VN 26525536-4cf3-4a93-8213-9d584fab06a6 still in use: Unable to complete operation on network 26525536-4cf3-4a93-8213-9d584fab06a6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-997d49eb-602a-4f96-8238-dfe0f6191b16'] 2025-10-08 22:18:48,617 - WARNING - Deleting VN ctest-vn-01301214 failed..Will retry 2025-10-08 22:18:50,701 - DEBUG - Response for deleting network () 2025-10-08 22:18:50,701 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f3000753-d51a-45db-8b78-6c576c817060 2025-10-08 22:18:50,707 - DEBUG - Response Code: 404 2025-10-08 22:18:50,707 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-08 22:18:50,711 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c5bfd11-78c7-425a-b27d-2ea89958427e 2025-10-08 22:18:50,767 - DEBUG - Requesting: http://10.0.0.23:8082/project/3a7e9d1e-f908-4c94-8960-52fc0fa3abe6 2025-10-08 22:18:50,832 - INFO - Validated that VN ctest-vn-01301214 is not found in API Server 2025-10-08 22:18:50,840 - DEBUG - VN ctest-vn-01301214 is not present in Agent 10.0.0.23 2025-10-08 22:18:50,840 - INFO - Validated that VN ctest-vn-01301214 is not in any agent 2025-10-08 22:18:50,850 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01301214 info 2025-10-08 22:18:50,850 - INFO - Deleting VN ctest-vn-84082736 2025-10-08 22:18:50,928 - DEBUG - Response for deleting network () 2025-10-08 22:18:50,928 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f28333ef-8ed8-4a3c-b078-92719dcf0d59 2025-10-08 22:18:50,932 - DEBUG - Response Code: 404 2025-10-08 22:18:50,932 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-08 22:18:50,937 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c5bfd11-78c7-425a-b27d-2ea89958427e 2025-10-08 22:18:50,991 - DEBUG - Requesting: http://10.0.0.23:8082/project/3a7e9d1e-f908-4c94-8960-52fc0fa3abe6 2025-10-08 22:18:51,064 - INFO - Validated that VN ctest-vn-84082736 is not found in API Server 2025-10-08 22:18:51,072 - DEBUG - VN ctest-vn-84082736 is not present in Agent 10.0.0.23 2025-10-08 22:18:51,072 - INFO - Validated that VN ctest-vn-84082736 is not in any agent 2025-10-08 22:18:51,084 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84082736 info 2025-10-08 22:18:51,330 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:18:51,330 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-08 22:18:51,330 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:18:51,952 - INFO - Deleted project: ctest-TestBasicPolicy-82023768, ID : 3a7e9d1e-f908-4c94-8960-52fc0fa3abe6