2025-10-19 22:19:38,739 - INFO - Domain Default found not creating 2025-10-19 22:19:38,892 - INFO - Project ctest-TestBasicPolicy-91278216 not found, creating it 2025-10-19 22:19:39,349 - INFO - Created Project:ctest-TestBasicPolicy-91278216, ID : fa143bfc-f82f-4eff-afe2-9da9e07884a3 2025-10-19 22:19:40,825 - INFO - ================================================================================ 2025-10-19 22:19:40,825 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-19 22:19:40,825 - 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-19 22:19:41,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-19 22:19:41,080 - INFO - Initial checks done. Running the testcase now 2025-10-19 22:19:41,080 - INFO - 2025-10-19 22:19:41,659 - DEBUG - Response for create_network : {'network': {'id': '21835a3a-79f2-43fe-90cf-1d38f83830bb', 'name': 'ctest-vn-57992572', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'project_id': 'fa143bfcf82f4effafe29da9e07884a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-vn-57992572'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 22:19:41,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa96dc38-9c3d-47a1-88fc-5fbd6c7aca19', 'name': '', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'network_id': '21835a3a-79f2-43fe-90cf-1d38f83830bb', 'ip_version': 4, 'cidr': '21.188.153.192/26', 'allocation_pools': [{'start': '21.188.153.194', 'end': '21.188.153.254'}], 'gateway_ip': '21.188.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.188.153.194', 'tags': [], 'project_id': 'fa143bfcf82f4effafe29da9e07884a3'}} 2025-10-19 22:19:41,847 - INFO - Created VN ctest-vn-57992572 2025-10-19 22:19:41,898 - DEBUG - VN ctest-vn-57992572 UUID is 21835a3a-79f2-43fe-90cf-1d38f83830bb 2025-10-19 22:19:42,175 - DEBUG - Response for create_network : {'network': {'id': '278ae3d4-9571-4877-a688-38ff953bd106', 'name': 'ctest-vn-83078131', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'project_id': 'fa143bfcf82f4effafe29da9e07884a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-vn-83078131'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 22:19:42,367 - DEBUG - Response for create_subnet : {'subnet': {'id': '832d3241-7a07-4bae-9591-d4db2c7dc192', 'name': '', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'network_id': '278ae3d4-9571-4877-a688-38ff953bd106', 'ip_version': 4, 'cidr': '136.45.47.64/26', 'allocation_pools': [{'start': '136.45.47.66', 'end': '136.45.47.126'}], 'gateway_ip': '136.45.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.45.47.66', 'tags': [], 'project_id': 'fa143bfcf82f4effafe29da9e07884a3'}} 2025-10-19 22:19:42,384 - INFO - Created VN ctest-vn-83078131 2025-10-19 22:19:42,434 - DEBUG - VN ctest-vn-83078131 UUID is 278ae3d4-9571-4877-a688-38ff953bd106 2025-10-19 22:19:42,561 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572, 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-91278216:ctest-vn-83078131, 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-19 22:19:42,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21835a3a-79f2-43fe-90cf-1d38f83830bb', 'name': 'ctest-vn-57992572', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'project_id': 'fa143bfcf82f4effafe29da9e07884a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa96dc38-9c3d-47a1-88fc-5fbd6c7aca19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-vn-57992572'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-policy-allow-all-39209474']], 'subnet_ipam': [{'subnet_cidr': '21.188.153.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-19 22:19:43,084 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '278ae3d4-9571-4877-a688-38ff953bd106', 'name': 'ctest-vn-83078131', 'tenant_id': 'fa143bfcf82f4effafe29da9e07884a3', 'project_id': 'fa143bfcf82f4effafe29da9e07884a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['832d3241-7a07-4bae-9591-d4db2c7dc192'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-vn-83078131'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-policy-allow-all-39209474']], 'subnet_ipam': [{'subnet_cidr': '136.45.47.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-19 22:19:43,235 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 22:19:43,552 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 22:19:43,579 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862 2025-10-19 22:19:43,591 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3 2025-10-19 22:19:43,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb 2025-10-19 22:19:43,678 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb 2025-10-19 22:19:43,686 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6 2025-10-19 22:19:43,692 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6 2025-10-19 22:19:43,698 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f34d5d0f-20bf-4950-99ed-40a473721a26 2025-10-19 22:19:43,705 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-19 22:19:43,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb 2025-10-19 22:19:43,716 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6 2025-10-19 22:19:43,731 - INFO - Verified VN network id 11 for VN 21835a3a-79f2-43fe-90cf-1d38f83830bb 2025-10-19 22:19:43,731 - INFO - Verifications in API Server for VN ctest-vn-57992572 passed 2025-10-19 22:19:43,732 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb 2025-10-19 22:19:43,742 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6 2025-10-19 22:19:43,748 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6 2025-10-19 22:19:43,755 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f34d5d0f-20bf-4950-99ed-40a473721a26 2025-10-19 22:19:43,767 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91278216', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2414873032401241086', 'uuid-lslong': '10434590992160534715'}, 'enable': 'true', 'created': '2025-10-19T22:19:41', 'last-modified': '2025-10-19T22:19:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936722'} 2025-10-19 22:19:43,773 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-19 22:19:43,773 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57992572 passed 2025-10-19 22:19:43,774 - DEBUG - ====Verifying policy data for ctest-vn-57992572 in API_Server ====== 2025-10-19 22:19:43,774 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 22:19:43,780 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862 2025-10-19 22:19:43,790 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3 2025-10-19 22:19:43,871 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21835a3a-79f2-43fe-90cf-1d38f83830bb 2025-10-19 22:19:43,880 - DEBUG - ==>Verifying data for policy with id: c78970ff-318d-49c1-93b7-7f5bc54a2a67, fqn: ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-policy-allow-all-39209474'] 2025-10-19 22:19:43,880 - INFO - VN ctest-vn-57992572 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-19 22:19:43,880 - DEBUG - Verifying the vn in opserver 2025-10-19 22:19:43,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572 virtual network link through opserver 10.0.0.254 2025-10-19 22:19:43,880 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-19 22:19:44,193 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-19 22:19:44,245 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572?flat'} 2025-10-19 22:19:44,245 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572 is found in opserver 2025-10-19 22:19:44,257 - DEBUG - Do not have enough data to verify VN in agent 2025-10-19 22:19:44,261 - DEBUG - VRF ids for VN ctest-vn-57992572: {} 2025-10-19 22:19:44,261 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 22:19:44,266 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862 2025-10-19 22:19:44,276 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3 2025-10-19 22:19:44,347 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106 2025-10-19 22:19:44,359 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106 2025-10-19 22:19:44,367 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a 2025-10-19 22:19:44,373 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a 2025-10-19 22:19:44,380 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4904e762-6036-4a13-a52a-8e6d8bafa66e 2025-10-19 22:19:44,385 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-19 22:19:44,385 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106 2025-10-19 22:19:44,392 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a 2025-10-19 22:19:44,404 - INFO - Verified VN network id 12 for VN 278ae3d4-9571-4877-a688-38ff953bd106 2025-10-19 22:19:44,404 - INFO - Verifications in API Server for VN ctest-vn-83078131 passed 2025-10-19 22:19:44,404 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106 2025-10-19 22:19:44,412 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a 2025-10-19 22:19:44,419 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a 2025-10-19 22:19:44,425 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4904e762-6036-4a13-a52a-8e6d8bafa66e 2025-10-19 22:19:44,435 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91278216', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2849340216445061239', 'uuid-lslong': '11999903877500227846'}, 'enable': 'true', 'created': '2025-10-19T22:19:42', 'last-modified': '2025-10-19T22:19:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373492'} 2025-10-19 22:19:44,441 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-19 22:19:44,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83078131 passed 2025-10-19 22:19:44,441 - DEBUG - ====Verifying policy data for ctest-vn-83078131 in API_Server ====== 2025-10-19 22:19:44,441 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 22:19:44,446 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862 2025-10-19 22:19:44,455 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3 2025-10-19 22:19:44,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/278ae3d4-9571-4877-a688-38ff953bd106 2025-10-19 22:19:44,540 - DEBUG - ==>Verifying data for policy with id: c78970ff-318d-49c1-93b7-7f5bc54a2a67, fqn: ['default-domain', 'ctest-TestBasicPolicy-91278216', 'ctest-policy-allow-all-39209474'] 2025-10-19 22:19:44,540 - INFO - VN ctest-vn-83078131 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-19 22:19:44,541 - DEBUG - Verifying the vn in opserver 2025-10-19 22:19:44,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131 virtual network link through opserver 10.0.0.254 2025-10-19 22:19:44,541 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-19 22:19:44,552 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131?flat'} 2025-10-19 22:19:44,552 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-83078131 is found in opserver 2025-10-19 22:19:44,564 - DEBUG - Do not have enough data to verify VN in agent 2025-10-19 22:19:44,569 - DEBUG - VRF ids for VN ctest-vn-83078131: {} 2025-10-19 22:19:44,625 - DEBUG - Services list from nova: [, , ] 2025-10-19 22:19:45,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4365-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4365-1) 2025-10-19 22:19:46,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4365-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4365-1) 2025-10-19 22:19:46,809 - INFO - Waiting for VM ctest-TestBasicPolicy-91278216-67430922 to be up.. 2025-10-19 22:19:46,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 22:19:51,969 - DEBUG - VM is in ACTIVE state now 2025-10-19 22:19:51,969 - INFO - VM name : ctest-TestBasicPolicy-91278216-67430922 2025-10-19 22:19:52,045 - DEBUG - VM ctest-TestBasicPolicy-91278216-67430922 ID is 96ea7585-2eb3-4226-b334-7878b7a82fca 2025-10-19 22:19:52,063 - DEBUG - VM ctest-TestBasicPolicy-91278216-67430922 launched on Node cn-jenkins-deploy-platform-ansible-os-4365-1 2025-10-19 22:19:52,137 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/96ea7585-2eb3-4226-b334-7878b7a82fca 2025-10-19 22:19:52,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/35a1bb4a-e172-4e7b-bdeb-05a54a5f4628 2025-10-19 22:19:55,359 - 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-19 22:19:55,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91278216-67430922 failed! 2025-10-19 22:19:55,414 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91278216:ctest-vn-57992572 is 21.188.153.193 and allocation pool is NOT set 2025-10-19 22:19:57,471 - 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=5.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.351/3.335/5.319/1.984 ms') 2025-10-19 22:19:57,471 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91278216-67430922 passed 2025-10-19 22:19:57,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 22:19:57,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91278216-67430922, IP 21.188.153.195, Port 22 2025-10-19 22:19:57,786 - DEBUG - VM ctest-TestBasicPolicy-91278216-67430922 is ready for SSH connections 2025-10-19 22:19:57,786 - INFO - Waiting for VM ctest-TestBasicPolicy-91278216-50526388 to be up.. 2025-10-19 22:19:57,866 - DEBUG - VM is in ACTIVE state now 2025-10-19 22:19:57,866 - INFO - VM name : ctest-TestBasicPolicy-91278216-50526388 2025-10-19 22:19:57,943 - DEBUG - VM ctest-TestBasicPolicy-91278216-50526388 ID is da606c42-9319-4893-82a5-a606b5538f14 2025-10-19 22:19:57,943 - DEBUG - VM ctest-TestBasicPolicy-91278216-50526388 launched on Node cn-jenkins-deploy-platform-ansible-os-4365-1 2025-10-19 22:19:58,018 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/da606c42-9319-4893-82a5-a606b5538f14 2025-10-19 22:19:58,028 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9ed93b93-d2de-41bc-a939-1e557346780c 2025-10-19 22:19:59,260 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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 = 0.489/1.699/2.909/1.210 ms') 2025-10-19 22:19:59,261 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91278216-50526388 passed 2025-10-19 22:19:59,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 22:19:59,411 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91278216-50526388, IP 136.45.47.67, Port 22 2025-10-19 22:19:59,574 - DEBUG - VM ctest-TestBasicPolicy-91278216-50526388 is ready for SSH connections 2025-10-19 22:19:59,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 22:19:59,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.45.47.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 22:19:59,574 - DEBUG - ping -s 56 -c 3 -W 1 136.45.47.67 2025-10-19 22:20:03,321 - DEBUG - PING 136.45.47.67 (136.45.47.67): 56 data bytes 64 bytes from 136.45.47.67: seq=0 ttl=63 time=4.120 ms 64 bytes from 136.45.47.67: seq=1 ttl=63 time=1.087 ms 64 bytes from 136.45.47.67: seq=2 ttl=63 time=0.822 ms --- 136.45.47.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.009/4.120 ms 2025-10-19 22:20:03,321 - INFO - Ping to IP 136.45.47.67 from VM ctest-TestBasicPolicy-91278216-67430922 passed 2025-10-19 22:20:03,498 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c78970ff-318d-49c1-93b7-7f5bc54a2a67", "href": "http://10.0.0.254:8082/network-policy/c78970ff-318d-49c1-93b7-7f5bc54a2a67"}} 2025-10-19 22:20:03,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 22:20:03,499 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.45.47.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 22:20:03,499 - DEBUG - ping -s 56 -c 3 -W 1 136.45.47.67 2025-10-19 22:20:06,706 - DEBUG - PING 136.45.47.67 (136.45.47.67): 56 data bytes --- 136.45.47.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-19 22:20:06,706 - WARNING - Ping to IP 136.45.47.67 from VM ctest-TestBasicPolicy-91278216-67430922 failed 2025-10-19 22:20:06,707 - INFO - Deleting VM ctest-TestBasicPolicy-91278216-50526388 2025-10-19 22:20:06,774 - INFO - Deleting VM ctest-TestBasicPolicy-91278216-67430922 2025-10-19 22:20:07,151 - INFO - Deleted policy ctest-policy-allow-all-39209474 2025-10-19 22:20:07,151 - INFO - Deleting VN ctest-vn-83078131 2025-10-19 22:20:07,188 - DEBUG - VN 278ae3d4-9571-4877-a688-38ff953bd106 still in use: Unable to complete operation on network 278ae3d4-9571-4877-a688-38ff953bd106. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d1c34d14-6ad8-44ca-a38c-d1ceb2700e13'] 2025-10-19 22:20:07,189 - WARNING - Deleting VN ctest-vn-83078131 failed..Will retry 2025-10-19 22:20:09,295 - DEBUG - Response for deleting network () 2025-10-19 22:20:09,295 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/002cd1f2-9c20-4ec1-9d14-9881c570a48a 2025-10-19 22:20:09,303 - DEBUG - Response Code: 404 2025-10-19 22:20:09,304 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 22:20:09,309 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862 2025-10-19 22:20:09,368 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3 2025-10-19 22:20:09,449 - INFO - Validated that VN ctest-vn-83078131 is not found in API Server 2025-10-19 22:20:09,458 - DEBUG - VN ctest-vn-83078131 is not present in Agent 10.0.0.254 2025-10-19 22:20:09,458 - INFO - Validated that VN ctest-vn-83078131 is not in any agent 2025-10-19 22:20:09,472 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83078131 info 2025-10-19 22:20:09,472 - INFO - Deleting VN ctest-vn-57992572 2025-10-19 22:20:09,573 - DEBUG - Response for deleting network () 2025-10-19 22:20:09,573 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9c52dd67-6686-4298-b35a-f4cfa96408c6 2025-10-19 22:20:09,580 - DEBUG - Response Code: 404 2025-10-19 22:20:09,580 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-19 22:20:09,585 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3e89fc6-49a4-4a62-9594-b72cca40c862 2025-10-19 22:20:09,639 - DEBUG - Requesting: http://10.0.0.254:8082/project/fa143bfc-f82f-4eff-afe2-9da9e07884a3 2025-10-19 22:20:09,709 - INFO - Validated that VN ctest-vn-57992572 is not found in API Server 2025-10-19 22:20:09,719 - DEBUG - VN ctest-vn-57992572 is not present in Agent 10.0.0.254 2025-10-19 22:20:09,719 - INFO - Validated that VN ctest-vn-57992572 is not in any agent 2025-10-19 22:20:09,732 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57992572 info 2025-10-19 22:20:09,990 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 22:20:09,990 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-19 22:20:09,990 - INFO - -------------------------------------------------------------------------------- 2025-10-19 22:20:10,690 - INFO - Deleted project: ctest-TestBasicPolicy-91278216, ID : fa143bfc-f82f-4eff-afe2-9da9e07884a3