2025-11-05 13:47:52,560 - INFO - Domain Default found not creating 2025-11-05 13:47:52,711 - INFO - Project ctest-TestBasicPolicy-83851106 not found, creating it 2025-11-05 13:47:53,167 - INFO - Created Project:ctest-TestBasicPolicy-83851106, ID : d629bb0f-a43d-4ac0-b91b-343d3d4d3d58 2025-11-05 13:47:54,544 - INFO - ================================================================================ 2025-11-05 13:47:54,544 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 13:47:54,545 - 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-11-05 13:47:54,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-11-05 13:47:54,809 - INFO - Initial checks done. Running the testcase now 2025-11-05 13:47:54,809 - INFO - 2025-11-05 13:47:55,332 - DEBUG - Response for create_network : {'network': {'id': '16b06314-2178-45c1-9f92-b17be3a91ed1', 'name': 'ctest-vn-45022134', 'tenant_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'project_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83851106', 'ctest-vn-45022134'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:47:55,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a66da029-ed21-4f8b-9984-78040c78fd57', 'name': '', 'tenant_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'network_id': '16b06314-2178-45c1-9f92-b17be3a91ed1', 'ip_version': 4, 'cidr': '72.139.220.0/26', 'allocation_pools': [{'start': '72.139.220.2', 'end': '72.139.220.62'}], 'gateway_ip': '72.139.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.139.220.2', 'tags': [], 'project_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58'}} 2025-11-05 13:47:55,566 - INFO - Created VN ctest-vn-45022134 2025-11-05 13:47:55,618 - DEBUG - VN ctest-vn-45022134 UUID is 16b06314-2178-45c1-9f92-b17be3a91ed1 2025-11-05 13:47:55,938 - DEBUG - Response for create_network : {'network': {'id': '55e7340f-9ad9-4a25-9ef4-473875b84f6f', 'name': 'ctest-vn-04909083', 'tenant_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'project_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83851106', 'ctest-vn-04909083'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:47:56,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad285285-112e-4023-b3c3-496c596e6664', 'name': '', 'tenant_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'network_id': '55e7340f-9ad9-4a25-9ef4-473875b84f6f', 'ip_version': 4, 'cidr': '173.83.9.128/26', 'allocation_pools': [{'start': '173.83.9.130', 'end': '173.83.9.190'}], 'gateway_ip': '173.83.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.83.9.130', 'tags': [], 'project_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58'}} 2025-11-05 13:47:56,108 - INFO - Created VN ctest-vn-04909083 2025-11-05 13:47:56,162 - DEBUG - VN ctest-vn-04909083 UUID is 55e7340f-9ad9-4a25-9ef4-473875b84f6f 2025-11-05 13:47:56,269 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-45022134, 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-83851106:ctest-vn-04909083, 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-11-05 13:47:56,563 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16b06314-2178-45c1-9f92-b17be3a91ed1', 'name': 'ctest-vn-45022134', 'tenant_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'project_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a66da029-ed21-4f8b-9984-78040c78fd57'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83851106', 'ctest-vn-45022134'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83851106', 'ctest-policy-allow-all-34007955']], 'subnet_ipam': [{'subnet_cidr': '72.139.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:47:56,784 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55e7340f-9ad9-4a25-9ef4-473875b84f6f', 'name': 'ctest-vn-04909083', 'tenant_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'project_id': 'd629bb0fa43d4ac0b91b343d3d4d3d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad285285-112e-4023-b3c3-496c596e6664'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83851106', 'ctest-vn-04909083'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83851106', 'ctest-policy-allow-all-34007955']], 'subnet_ipam': [{'subnet_cidr': '173.83.9.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:47:56,955 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-05 13:47:57,248 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-05 13:47:57,274 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5a13f62a-f8d5-435d-b816-083760c80328 2025-11-05 13:47:57,287 - DEBUG - Requesting: http://10.0.0.19:8082/project/d629bb0f-a43d-4ac0-b91b-343d3d4d3d58 2025-11-05 13:47:57,357 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/16b06314-2178-45c1-9f92-b17be3a91ed1 2025-11-05 13:47:57,366 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/16b06314-2178-45c1-9f92-b17be3a91ed1 2025-11-05 13:47:57,375 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a336725e-8780-4d25-95fd-1c057f86540e 2025-11-05 13:47:57,383 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a336725e-8780-4d25-95fd-1c057f86540e 2025-11-05 13:47:57,390 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/df9ebb74-a7e1-48a8-b223-ffb193ee5f54 2025-11-05 13:47:57,395 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 13:47:57,395 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/16b06314-2178-45c1-9f92-b17be3a91ed1 2025-11-05 13:47:57,403 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a336725e-8780-4d25-95fd-1c057f86540e 2025-11-05 13:47:57,415 - INFO - Verified VN network id 12 for VN 16b06314-2178-45c1-9f92-b17be3a91ed1 2025-11-05 13:47:57,415 - INFO - Verifications in API Server for VN ctest-vn-45022134 passed 2025-11-05 13:47:57,415 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/16b06314-2178-45c1-9f92-b17be3a91ed1 2025-11-05 13:47:57,423 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a336725e-8780-4d25-95fd-1c057f86540e 2025-11-05 13:47:57,430 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a336725e-8780-4d25-95fd-1c057f86540e 2025-11-05 13:47:57,436 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/df9ebb74-a7e1-48a8-b223-ffb193ee5f54 2025-11-05 13:47:57,446 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-45022134', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83851106', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1634915602847516097', 'uuid-lslong': '11498447944288902865'}, 'enable': 'true', 'created': '2025-11-05T13:47:55', 'last-modified': '2025-11-05T13:47:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907842'} 2025-11-05 13:47:57,454 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 13:47:57,454 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45022134 passed 2025-11-05 13:47:57,454 - DEBUG - ====Verifying policy data for ctest-vn-45022134 in API_Server ====== 2025-11-05 13:47:57,454 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-05 13:47:57,459 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5a13f62a-f8d5-435d-b816-083760c80328 2025-11-05 13:47:57,469 - DEBUG - Requesting: http://10.0.0.19:8082/project/d629bb0f-a43d-4ac0-b91b-343d3d4d3d58 2025-11-05 13:47:57,535 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/16b06314-2178-45c1-9f92-b17be3a91ed1 2025-11-05 13:47:57,543 - DEBUG - ==>Verifying data for policy with id: c6dc78bc-376c-4923-897d-e05618fa1ec6, fqn: ['default-domain', 'ctest-TestBasicPolicy-83851106', 'ctest-policy-allow-all-34007955'] 2025-11-05 13:47:57,543 - INFO - VN ctest-vn-45022134 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 13:47:57,543 - DEBUG - Verifying the vn in opserver 2025-11-05 13:47:57,543 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-45022134 virtual network link through opserver 10.0.0.19 2025-11-05 13:47:57,543 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-11-05 13:47:57,835 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-11-05 13:47:57,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-45022134', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-45022134?flat'} 2025-11-05 13:47:57,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-45022134 is found in opserver 2025-11-05 13:47:57,906 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 13:47:57,911 - DEBUG - VRF ids for VN ctest-vn-45022134: {} 2025-11-05 13:47:57,911 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-05 13:47:57,916 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5a13f62a-f8d5-435d-b816-083760c80328 2025-11-05 13:47:57,927 - DEBUG - Requesting: http://10.0.0.19:8082/project/d629bb0f-a43d-4ac0-b91b-343d3d4d3d58 2025-11-05 13:47:58,002 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/55e7340f-9ad9-4a25-9ef4-473875b84f6f 2025-11-05 13:47:58,012 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/55e7340f-9ad9-4a25-9ef4-473875b84f6f 2025-11-05 13:47:58,020 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a3883a7-e4f8-4459-a94a-593b723e21fe 2025-11-05 13:47:58,027 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a3883a7-e4f8-4459-a94a-593b723e21fe 2025-11-05 13:47:58,033 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/91ad2898-c163-4335-b88d-ed12e8cfdfc9 2025-11-05 13:47:58,039 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 13:47:58,039 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/55e7340f-9ad9-4a25-9ef4-473875b84f6f 2025-11-05 13:47:58,048 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a3883a7-e4f8-4459-a94a-593b723e21fe 2025-11-05 13:47:58,062 - INFO - Verified VN network id 13 for VN 55e7340f-9ad9-4a25-9ef4-473875b84f6f 2025-11-05 13:47:58,062 - INFO - Verifications in API Server for VN ctest-vn-04909083 passed 2025-11-05 13:47:58,062 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/55e7340f-9ad9-4a25-9ef4-473875b84f6f 2025-11-05 13:47:58,071 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a3883a7-e4f8-4459-a94a-593b723e21fe 2025-11-05 13:47:58,077 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a3883a7-e4f8-4459-a94a-593b723e21fe 2025-11-05 13:47:58,083 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/91ad2898-c163-4335-b88d-ed12e8cfdfc9 2025-11-05 13:47:58,093 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-04909083', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83851106', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6189973454471121445', 'uuid-lslong': '11453858060128767855'}, 'enable': 'true', 'created': '2025-11-05T13:47:55', 'last-modified': '2025-11-05T13:47:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.328373'} 2025-11-05 13:47:58,098 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 13:47:58,099 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04909083 passed 2025-11-05 13:47:58,100 - DEBUG - ====Verifying policy data for ctest-vn-04909083 in API_Server ====== 2025-11-05 13:47:58,100 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-05 13:47:58,105 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5a13f62a-f8d5-435d-b816-083760c80328 2025-11-05 13:47:58,114 - DEBUG - Requesting: http://10.0.0.19:8082/project/d629bb0f-a43d-4ac0-b91b-343d3d4d3d58 2025-11-05 13:47:58,184 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/55e7340f-9ad9-4a25-9ef4-473875b84f6f 2025-11-05 13:47:58,193 - DEBUG - ==>Verifying data for policy with id: c6dc78bc-376c-4923-897d-e05618fa1ec6, fqn: ['default-domain', 'ctest-TestBasicPolicy-83851106', 'ctest-policy-allow-all-34007955'] 2025-11-05 13:47:58,193 - INFO - VN ctest-vn-04909083 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 13:47:58,193 - DEBUG - Verifying the vn in opserver 2025-11-05 13:47:58,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-04909083 virtual network link through opserver 10.0.0.19 2025-11-05 13:47:58,193 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-11-05 13:47:58,204 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-04909083', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-04909083?flat'} 2025-11-05 13:47:58,204 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-04909083 is found in opserver 2025-11-05 13:47:58,214 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 13:47:58,219 - DEBUG - VRF ids for VN ctest-vn-04909083: {} 2025-11-05 13:47:58,272 - DEBUG - Services list from nova: [, , ] 2025-11-05 13:47:59,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:48:00,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:48:00,385 - INFO - Waiting for VM ctest-TestBasicPolicy-83851106-99384780 to be up.. 2025-11-05 13:48:00,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 13:48:05,530 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:48:05,530 - INFO - VM name : ctest-TestBasicPolicy-83851106-99384780 2025-11-05 13:48:05,609 - DEBUG - VM ctest-TestBasicPolicy-83851106-99384780 ID is aeb37ec2-7977-435b-9364-a5335415d08c 2025-11-05 13:48:05,635 - DEBUG - VM ctest-TestBasicPolicy-83851106-99384780 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:48:05,705 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/aeb37ec2-7977-435b-9364-a5335415d08c 2025-11-05 13:48:05,713 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/34224f0c-677e-49e7-960b-5b85c678b9c4 2025-11-05 13:48:08,942 - 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 1026ms') 2025-11-05 13:48:08,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83851106-99384780 failed! 2025-11-05 13:48:08,998 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83851106:ctest-vn-45022134 is 72.139.220.1 and allocation pool is NOT set 2025-11-05 13:48:11,059 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.919 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.919/2.235/3.551/1.316 ms') 2025-11-05 13:48:11,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83851106-99384780 passed 2025-11-05 13:48:11,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:48:11,211 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83851106-99384780, IP 72.139.220.3, Port 22 2025-11-05 13:48:11,366 - DEBUG - VM ctest-TestBasicPolicy-83851106-99384780 is ready for SSH connections 2025-11-05 13:48:11,366 - INFO - Waiting for VM ctest-TestBasicPolicy-83851106-54847613 to be up.. 2025-11-05 13:48:11,441 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:48:11,441 - INFO - VM name : ctest-TestBasicPolicy-83851106-54847613 2025-11-05 13:48:11,520 - DEBUG - VM ctest-TestBasicPolicy-83851106-54847613 ID is 2f5f8d6d-3dd6-46b5-bace-ee55eecc3972 2025-11-05 13:48:11,521 - DEBUG - VM ctest-TestBasicPolicy-83851106-54847613 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:48:11,594 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2f5f8d6d-3dd6-46b5-bace-ee55eecc3972 2025-11-05 13:48:11,603 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/31f711d9-b254-4eeb-8dae-6fa8cf9b39c1 2025-11-05 13:48:12,842 - 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=3.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.986/3.442/1.456 ms') 2025-11-05 13:48:12,842 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83851106-54847613 passed 2025-11-05 13:48:12,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:48:12,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83851106-54847613, IP 173.83.9.131, Port 22 2025-11-05 13:48:13,150 - DEBUG - VM ctest-TestBasicPolicy-83851106-54847613 is ready for SSH connections 2025-11-05 13:48:13,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:48:13,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.83.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:48:13,150 - DEBUG - ping -s 56 -c 3 -W 1 173.83.9.131 2025-11-05 13:48:17,143 - DEBUG - PING 173.83.9.131 (173.83.9.131): 56 data bytes 64 bytes from 173.83.9.131: seq=0 ttl=63 time=3.064 ms 64 bytes from 173.83.9.131: seq=1 ttl=63 time=1.022 ms 64 bytes from 173.83.9.131: seq=2 ttl=63 time=0.948 ms --- 173.83.9.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/1.678/3.064 ms 2025-11-05 13:48:17,144 - INFO - Ping to IP 173.83.9.131 from VM ctest-TestBasicPolicy-83851106-99384780 passed 2025-11-05 13:48:17,322 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c6dc78bc-376c-4923-897d-e05618fa1ec6", "href": "http://10.0.0.19:8082/network-policy/c6dc78bc-376c-4923-897d-e05618fa1ec6"}} 2025-11-05 13:48:17,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:48:17,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.83.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:48:17,323 - DEBUG - ping -s 56 -c 3 -W 1 173.83.9.131 2025-11-05 13:48:20,516 - DEBUG - PING 173.83.9.131 (173.83.9.131): 56 data bytes --- 173.83.9.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 13:48:20,516 - WARNING - Ping to IP 173.83.9.131 from VM ctest-TestBasicPolicy-83851106-99384780 failed 2025-11-05 13:48:20,516 - INFO - Deleting VM ctest-TestBasicPolicy-83851106-54847613 2025-11-05 13:48:20,580 - INFO - Deleting VM ctest-TestBasicPolicy-83851106-99384780 2025-11-05 13:48:20,935 - INFO - Deleted policy ctest-policy-allow-all-34007955 2025-11-05 13:48:20,935 - INFO - Deleting VN ctest-vn-04909083 2025-11-05 13:48:20,973 - DEBUG - VN 55e7340f-9ad9-4a25-9ef4-473875b84f6f still in use: Unable to complete operation on network 55e7340f-9ad9-4a25-9ef4-473875b84f6f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aafc4fb8-28fa-4adb-a16b-70125ca26e31'] 2025-11-05 13:48:20,973 - WARNING - Deleting VN ctest-vn-04909083 failed..Will retry 2025-11-05 13:48:23,084 - DEBUG - Response for deleting network () 2025-11-05 13:48:23,084 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a3883a7-e4f8-4459-a94a-593b723e21fe 2025-11-05 13:48:23,100 - DEBUG - Response Code: 404 2025-11-05 13:48:23,100 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-05 13:48:23,105 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5a13f62a-f8d5-435d-b816-083760c80328 2025-11-05 13:48:23,164 - DEBUG - Requesting: http://10.0.0.19:8082/project/d629bb0f-a43d-4ac0-b91b-343d3d4d3d58 2025-11-05 13:48:23,231 - INFO - Validated that VN ctest-vn-04909083 is not found in API Server 2025-11-05 13:48:23,240 - DEBUG - VN ctest-vn-04909083 is not present in Agent 10.0.0.19 2025-11-05 13:48:23,240 - INFO - Validated that VN ctest-vn-04909083 is not in any agent 2025-11-05 13:48:23,255 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04909083 info 2025-11-05 13:48:23,255 - INFO - Deleting VN ctest-vn-45022134 2025-11-05 13:48:23,378 - DEBUG - Response for deleting network () 2025-11-05 13:48:23,378 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a336725e-8780-4d25-95fd-1c057f86540e 2025-11-05 13:48:23,382 - DEBUG - Response Code: 404 2025-11-05 13:48:23,382 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-05 13:48:23,386 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5a13f62a-f8d5-435d-b816-083760c80328 2025-11-05 13:48:23,439 - DEBUG - Requesting: http://10.0.0.19:8082/project/d629bb0f-a43d-4ac0-b91b-343d3d4d3d58 2025-11-05 13:48:23,511 - INFO - Validated that VN ctest-vn-45022134 is not found in API Server 2025-11-05 13:48:23,520 - DEBUG - VN ctest-vn-45022134 is not present in Agent 10.0.0.19 2025-11-05 13:48:23,520 - INFO - Validated that VN ctest-vn-45022134 is not in any agent 2025-11-05 13:48:23,532 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45022134 info 2025-11-05 13:48:23,787 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 13:48:23,787 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-05 13:48:23,788 - INFO - -------------------------------------------------------------------------------- 2025-11-05 13:48:24,473 - INFO - Deleted project: ctest-TestBasicPolicy-83851106, ID : d629bb0f-a43d-4ac0-b91b-343d3d4d3d58