2025-08-18 02:10:13,267 - INFO - Domain Default found not creating 2025-08-18 02:10:13,399 - INFO - Project ctest-TestBasicPolicy-19326446 not found, creating it 2025-08-18 02:10:13,815 - INFO - Created Project:ctest-TestBasicPolicy-19326446, ID : 9091c9af-7175-4111-a31b-da176ddd5cb2 2025-08-18 02:10:15,219 - INFO - ================================================================================ 2025-08-18 02:10:15,219 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 02:10:15,219 - 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-18 02:10:15,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-08-18 02:10:15,480 - INFO - Initial checks done. Running the testcase now 2025-08-18 02:10:15,480 - INFO - 2025-08-18 02:10:16,009 - DEBUG - Response for create_network : {'network': {'id': 'd17738a2-82fa-45da-bd3a-1955554ebeab', 'name': 'ctest-vn-30666118', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'project_id': '9091c9af71754111a31bda176ddd5cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-vn-30666118'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:10:16,180 - DEBUG - Response for create_subnet : {'subnet': {'id': '14ba01af-0861-4b49-a164-968f303b5986', 'name': '', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'network_id': 'd17738a2-82fa-45da-bd3a-1955554ebeab', 'ip_version': 4, 'cidr': '34.224.81.64/26', 'allocation_pools': [{'start': '34.224.81.66', 'end': '34.224.81.126'}], 'gateway_ip': '34.224.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.224.81.66', 'tags': [], 'project_id': '9091c9af71754111a31bda176ddd5cb2'}} 2025-08-18 02:10:16,198 - INFO - Created VN ctest-vn-30666118 2025-08-18 02:10:16,251 - DEBUG - VN ctest-vn-30666118 UUID is d17738a2-82fa-45da-bd3a-1955554ebeab 2025-08-18 02:10:16,521 - DEBUG - Response for create_network : {'network': {'id': '4ae1d80a-24b8-4358-8d86-822167a2ac7a', 'name': 'ctest-vn-59371452', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'project_id': '9091c9af71754111a31bda176ddd5cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-vn-59371452'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:10:16,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3b68e67-3486-439d-9fd7-6b0835c1a659', 'name': '', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'network_id': '4ae1d80a-24b8-4358-8d86-822167a2ac7a', 'ip_version': 4, 'cidr': '134.93.62.192/26', 'allocation_pools': [{'start': '134.93.62.194', 'end': '134.93.62.254'}], 'gateway_ip': '134.93.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.93.62.194', 'tags': [], 'project_id': '9091c9af71754111a31bda176ddd5cb2'}} 2025-08-18 02:10:16,695 - INFO - Created VN ctest-vn-59371452 2025-08-18 02:10:16,747 - DEBUG - VN ctest-vn-59371452 UUID is 4ae1d80a-24b8-4358-8d86-822167a2ac7a 2025-08-18 02:10:16,895 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118, 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-19326446:ctest-vn-59371452, 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-18 02:10:17,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd17738a2-82fa-45da-bd3a-1955554ebeab', 'name': 'ctest-vn-30666118', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'project_id': '9091c9af71754111a31bda176ddd5cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['14ba01af-0861-4b49-a164-968f303b5986'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-vn-30666118'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-policy-allow-all-77715017']], 'subnet_ipam': [{'subnet_cidr': '34.224.81.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:10:17,475 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ae1d80a-24b8-4358-8d86-822167a2ac7a', 'name': 'ctest-vn-59371452', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'project_id': '9091c9af71754111a31bda176ddd5cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3b68e67-3486-439d-9fd7-6b0835c1a659'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-vn-59371452'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-policy-allow-all-77715017']], 'subnet_ipam': [{'subnet_cidr': '134.93.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:10:17,619 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-18 02:10:17,908 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-18 02:10:17,934 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9 2025-08-18 02:10:17,948 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2 2025-08-18 02:10:18,024 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab 2025-08-18 02:10:18,037 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab 2025-08-18 02:10:18,048 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73 2025-08-18 02:10:18,055 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73 2025-08-18 02:10:18,063 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/8c47c189-792b-47d2-9fd5-44164a70c8a9 2025-08-18 02:10:18,070 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 02:10:18,070 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab 2025-08-18 02:10:18,081 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73 2025-08-18 02:10:18,097 - INFO - Verified VN network id 11 for VN d17738a2-82fa-45da-bd3a-1955554ebeab 2025-08-18 02:10:18,097 - INFO - Verifications in API Server for VN ctest-vn-30666118 passed 2025-08-18 02:10:18,097 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab 2025-08-18 02:10:18,107 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73 2025-08-18 02:10:18,113 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73 2025-08-18 02:10:18,119 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/8c47c189-792b-47d2-9fd5-44164a70c8a9 2025-08-18 02:10:18,131 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19326446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15093594946788804058', 'uuid-lslong': '13635238676111736491'}, 'enable': 'true', 'created': '2025-08-18T02:10:15', 'last-modified': '2025-08-18T02:10:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968851'} 2025-08-18 02:10:18,137 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 02:10:18,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30666118 passed 2025-08-18 02:10:18,137 - DEBUG - ====Verifying policy data for ctest-vn-30666118 in API_Server ====== 2025-08-18 02:10:18,137 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-18 02:10:18,143 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9 2025-08-18 02:10:18,155 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2 2025-08-18 02:10:18,232 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab 2025-08-18 02:10:18,241 - DEBUG - ==>Verifying data for policy with id: 9fcecb9f-cabe-4f47-8392-8153c6baf8f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-policy-allow-all-77715017'] 2025-08-18 02:10:18,241 - INFO - VN ctest-vn-30666118 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 02:10:18,241 - DEBUG - Verifying the vn in opserver 2025-08-18 02:10:18,241 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118 virtual network link through opserver 10.0.0.131 2025-08-18 02:10:18,241 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-08-18 02:10:18,529 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-08-18 02:10:18,576 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118?flat'} 2025-08-18 02:10:18,576 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118 is found in opserver 2025-08-18 02:10:18,586 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 02:10:18,591 - DEBUG - VRF ids for VN ctest-vn-30666118: {} 2025-08-18 02:10:18,591 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-18 02:10:18,597 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9 2025-08-18 02:10:18,609 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2 2025-08-18 02:10:18,682 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a 2025-08-18 02:10:18,694 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a 2025-08-18 02:10:18,704 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc 2025-08-18 02:10:18,710 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc 2025-08-18 02:10:18,716 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/6d0ced41-a780-44ed-a99a-4e28f5e5f15b 2025-08-18 02:10:18,721 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 02:10:18,721 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a 2025-08-18 02:10:18,729 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc 2025-08-18 02:10:18,740 - INFO - Verified VN network id 12 for VN 4ae1d80a-24b8-4358-8d86-822167a2ac7a 2025-08-18 02:10:18,740 - INFO - Verifications in API Server for VN ctest-vn-59371452 passed 2025-08-18 02:10:18,740 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a 2025-08-18 02:10:18,750 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc 2025-08-18 02:10:18,756 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc 2025-08-18 02:10:18,762 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/6d0ced41-a780-44ed-a99a-4e28f5e5f15b 2025-08-18 02:10:18,772 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19326446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5395831366643893080', 'uuid-lslong': '10197981486211312762'}, 'enable': 'true', 'created': '2025-08-18T02:10:16', 'last-modified': '2025-08-18T02:10:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372300'} 2025-08-18 02:10:18,778 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 02:10:18,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59371452 passed 2025-08-18 02:10:18,779 - DEBUG - ====Verifying policy data for ctest-vn-59371452 in API_Server ====== 2025-08-18 02:10:18,779 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-18 02:10:18,784 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9 2025-08-18 02:10:18,793 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2 2025-08-18 02:10:18,864 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a 2025-08-18 02:10:18,874 - DEBUG - ==>Verifying data for policy with id: 9fcecb9f-cabe-4f47-8392-8153c6baf8f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-policy-allow-all-77715017'] 2025-08-18 02:10:18,874 - INFO - VN ctest-vn-59371452 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 02:10:18,874 - DEBUG - Verifying the vn in opserver 2025-08-18 02:10:18,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452 virtual network link through opserver 10.0.0.131 2025-08-18 02:10:18,874 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-08-18 02:10:18,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452?flat'} 2025-08-18 02:10:18,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452 is found in opserver 2025-08-18 02:10:18,895 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 02:10:18,899 - DEBUG - VRF ids for VN ctest-vn-59371452: {} 2025-08-18 02:10:18,948 - DEBUG - Services list from nova: [, , ] 2025-08-18 02:10:19,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3871-1) 2025-08-18 02:10:20,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3871-1) 2025-08-18 02:10:20,972 - INFO - Waiting for VM ctest-TestBasicPolicy-19326446-29931412 to be up.. 2025-08-18 02:10:21,069 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 02:10:26,137 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:10:26,137 - INFO - VM name : ctest-TestBasicPolicy-19326446-29931412 2025-08-18 02:10:26,204 - DEBUG - VM ctest-TestBasicPolicy-19326446-29931412 ID is a64f3b9d-b82a-440a-8c0d-6c2d4e792931 2025-08-18 02:10:26,221 - DEBUG - VM ctest-TestBasicPolicy-19326446-29931412 launched on Node cn-jenkins-deploy-platform-ansible-os-3871-1 2025-08-18 02:10:26,283 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a64f3b9d-b82a-440a-8c0d-6c2d4e792931 2025-08-18 02:10:26,292 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d019e1df-0607-4bbe-b4ec-68fc0f6a0d42 2025-08-18 02:10:29,553 - 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 1036ms') 2025-08-18 02:10:29,553 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19326446-29931412 failed! 2025-08-18 02:10:29,607 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118 is 34.224.81.65 and allocation pool is NOT set 2025-08-18 02:10:31,663 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.754/3.096/1.342 ms') 2025-08-18 02:10:31,663 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19326446-29931412 passed 2025-08-18 02:10:31,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:10:31,811 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19326446-29931412, IP 34.224.81.67, Port 22 2025-08-18 02:10:31,963 - DEBUG - VM ctest-TestBasicPolicy-19326446-29931412 is ready for SSH connections 2025-08-18 02:10:31,963 - INFO - Waiting for VM ctest-TestBasicPolicy-19326446-84733798 to be up.. 2025-08-18 02:10:32,026 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:10:32,027 - INFO - VM name : ctest-TestBasicPolicy-19326446-84733798 2025-08-18 02:10:32,089 - DEBUG - VM ctest-TestBasicPolicy-19326446-84733798 ID is 56ee3677-44f1-4a07-9312-d48fe082027e 2025-08-18 02:10:32,089 - DEBUG - VM ctest-TestBasicPolicy-19326446-84733798 launched on Node cn-jenkins-deploy-platform-ansible-os-3871-1 2025-08-18 02:10:32,160 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/56ee3677-44f1-4a07-9312-d48fe082027e 2025-08-18 02:10:32,169 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/40d44bed-4f48-4d6e-9296-375b70cc3194 2025-08-18 02:10:33,411 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.285 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.285/1.569/2.854/1.284 ms') 2025-08-18 02:10:33,411 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19326446-84733798 passed 2025-08-18 02:10:33,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:10:33,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19326446-84733798, IP 134.93.62.195, Port 22 2025-08-18 02:10:33,726 - DEBUG - VM ctest-TestBasicPolicy-19326446-84733798 is ready for SSH connections 2025-08-18 02:10:33,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:10:33,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.93.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-18 02:10:33,726 - DEBUG - ping -s 56 -c 3 -W 1 134.93.62.195 2025-08-18 02:10:37,654 - DEBUG - PING 134.93.62.195 (134.93.62.195): 56 data bytes 64 bytes from 134.93.62.195: seq=0 ttl=63 time=3.079 ms 64 bytes from 134.93.62.195: seq=1 ttl=63 time=0.732 ms 64 bytes from 134.93.62.195: seq=2 ttl=63 time=0.634 ms --- 134.93.62.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.634/1.481/3.079 ms 2025-08-18 02:10:37,654 - INFO - Ping to IP 134.93.62.195 from VM ctest-TestBasicPolicy-19326446-29931412 passed 2025-08-18 02:10:37,831 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9fcecb9f-cabe-4f47-8392-8153c6baf8f8", "href": "http://10.0.0.131:8082/network-policy/9fcecb9f-cabe-4f47-8392-8153c6baf8f8"}} 2025-08-18 02:10:37,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:10:37,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.93.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-18 02:10:37,831 - DEBUG - ping -s 56 -c 3 -W 1 134.93.62.195 2025-08-18 02:10:41,028 - DEBUG - PING 134.93.62.195 (134.93.62.195): 56 data bytes 64 bytes from 134.93.62.195: seq=0 ttl=63 time=1.438 ms --- 134.93.62.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.438/1.438/1.438 ms 2025-08-18 02:10:41,029 - WARNING - Ping to IP 134.93.62.195 from VM ctest-TestBasicPolicy-19326446-29931412 failed 2025-08-18 02:10:41,029 - INFO - Deleting VM ctest-TestBasicPolicy-19326446-84733798 2025-08-18 02:10:41,085 - INFO - Deleting VM ctest-TestBasicPolicy-19326446-29931412 2025-08-18 02:10:41,418 - INFO - Deleted policy ctest-policy-allow-all-77715017 2025-08-18 02:10:41,418 - INFO - Deleting VN ctest-vn-59371452 2025-08-18 02:10:41,450 - DEBUG - VN 4ae1d80a-24b8-4358-8d86-822167a2ac7a still in use: Unable to complete operation on network 4ae1d80a-24b8-4358-8d86-822167a2ac7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8cbea513-9cbc-4967-a02b-72201d9acd78'] 2025-08-18 02:10:41,450 - WARNING - Deleting VN ctest-vn-59371452 failed..Will retry 2025-08-18 02:10:43,540 - DEBUG - Response for deleting network () 2025-08-18 02:10:43,540 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc 2025-08-18 02:10:43,547 - DEBUG - Response Code: 404 2025-08-18 02:10:43,547 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-18 02:10:43,553 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9 2025-08-18 02:10:43,608 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2 2025-08-18 02:10:43,687 - INFO - Validated that VN ctest-vn-59371452 is not found in API Server 2025-08-18 02:10:43,697 - DEBUG - VN ctest-vn-59371452 is not present in Agent 10.0.0.131 2025-08-18 02:10:43,697 - INFO - Validated that VN ctest-vn-59371452 is not in any agent 2025-08-18 02:10:43,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59371452 info 2025-08-18 02:10:43,713 - INFO - Deleting VN ctest-vn-30666118 2025-08-18 02:10:43,804 - DEBUG - Response for deleting network () 2025-08-18 02:10:43,804 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73 2025-08-18 02:10:43,810 - DEBUG - Response Code: 404 2025-08-18 02:10:43,810 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-18 02:10:43,817 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9 2025-08-18 02:10:43,876 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2 2025-08-18 02:10:43,942 - INFO - Validated that VN ctest-vn-30666118 is not found in API Server 2025-08-18 02:10:43,952 - DEBUG - VN ctest-vn-30666118 is not present in Agent 10.0.0.131 2025-08-18 02:10:43,952 - INFO - Validated that VN ctest-vn-30666118 is not in any agent 2025-08-18 02:10:43,966 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30666118 info 2025-08-18 02:10:44,224 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 02:10:44,224 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-18 02:10:44,224 - INFO - -------------------------------------------------------------------------------- 2025-08-18 02:10:44,883 - INFO - Deleted project: ctest-TestBasicPolicy-19326446, ID : 9091c9af-7175-4111-a31b-da176ddd5cb2