2025-10-09 20:59:24,068 - INFO - Domain Default found not creating 2025-10-09 20:59:24,184 - INFO - Project ctest-TestBasicPolicy-43971633 not found, creating it 2025-10-09 20:59:24,649 - INFO - Created Project:ctest-TestBasicPolicy-43971633, ID : e57d5f14-655e-4151-b616-c12e65961e55 2025-10-09 20:59:25,930 - INFO - ================================================================================ 2025-10-09 20:59:25,930 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 20:59:25,930 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-09 20:59:26,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.193': '0'}} with 2025-10-09 20:59:26,180 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:59:26,181 - INFO - 2025-10-09 20:59:26,683 - DEBUG - Response for create_network : {'network': {'id': '2748334e-7295-466a-9a07-14642e5bd40b', 'name': 'ctest-vn-81992647', 'tenant_id': 'e57d5f14655e4151b616c12e65961e55', 'project_id': 'e57d5f14655e4151b616c12e65961e55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43971633', 'ctest-vn-81992647'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:59:26,889 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9fae12b-08e5-4ac4-a1b8-3710ff92bff4', 'name': '', 'tenant_id': 'e57d5f14655e4151b616c12e65961e55', 'network_id': '2748334e-7295-466a-9a07-14642e5bd40b', 'ip_version': 4, 'cidr': '75.137.121.64/26', 'allocation_pools': [{'start': '75.137.121.66', 'end': '75.137.121.126'}], 'gateway_ip': '75.137.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.137.121.66', 'tags': [], 'project_id': 'e57d5f14655e4151b616c12e65961e55'}} 2025-10-09 20:59:26,911 - INFO - Created VN ctest-vn-81992647 2025-10-09 20:59:26,961 - DEBUG - VN ctest-vn-81992647 UUID is 2748334e-7295-466a-9a07-14642e5bd40b 2025-10-09 20:59:27,246 - DEBUG - Response for create_network : {'network': {'id': '6aff4c01-f4e6-46ca-b2ac-1fc11755978b', 'name': 'ctest-vn-08502005', 'tenant_id': 'e57d5f14655e4151b616c12e65961e55', 'project_id': 'e57d5f14655e4151b616c12e65961e55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43971633', 'ctest-vn-08502005'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:59:27,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '61b6296b-a258-44a2-a184-52a08d95e7d9', 'name': '', 'tenant_id': 'e57d5f14655e4151b616c12e65961e55', 'network_id': '6aff4c01-f4e6-46ca-b2ac-1fc11755978b', 'ip_version': 4, 'cidr': '75.38.81.192/26', 'allocation_pools': [{'start': '75.38.81.194', 'end': '75.38.81.254'}], 'gateway_ip': '75.38.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.38.81.194', 'tags': [], 'project_id': 'e57d5f14655e4151b616c12e65961e55'}} 2025-10-09 20:59:27,424 - INFO - Created VN ctest-vn-08502005 2025-10-09 20:59:27,473 - DEBUG - VN ctest-vn-08502005 UUID is 6aff4c01-f4e6-46ca-b2ac-1fc11755978b 2025-10-09 20:59:27,609 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-81992647, 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-43971633:ctest-vn-08502005, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-09 20:59:27,874 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2748334e-7295-466a-9a07-14642e5bd40b', 'name': 'ctest-vn-81992647', 'tenant_id': 'e57d5f14655e4151b616c12e65961e55', 'project_id': 'e57d5f14655e4151b616c12e65961e55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e9fae12b-08e5-4ac4-a1b8-3710ff92bff4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43971633', 'ctest-vn-81992647'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43971633', 'ctest-policy-allow-all-56755229']], 'subnet_ipam': [{'subnet_cidr': '75.137.121.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:59:28,091 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6aff4c01-f4e6-46ca-b2ac-1fc11755978b', 'name': 'ctest-vn-08502005', 'tenant_id': 'e57d5f14655e4151b616c12e65961e55', 'project_id': 'e57d5f14655e4151b616c12e65961e55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61b6296b-a258-44a2-a184-52a08d95e7d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43971633', 'ctest-vn-08502005'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43971633', 'ctest-policy-allow-all-56755229']], 'subnet_ipam': [{'subnet_cidr': '75.38.81.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:59:28,229 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 20:59:28,520 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 20:59:28,543 - DEBUG - Requesting: http://10.0.0.131:8082/domain/0f10a47c-7a5b-4dae-9000-dfb201b5061a 2025-10-09 20:59:28,552 - DEBUG - Requesting: http://10.0.0.131:8082/project/e57d5f14-655e-4151-b616-c12e65961e55 2025-10-09 20:59:28,616 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2748334e-7295-466a-9a07-14642e5bd40b 2025-10-09 20:59:28,625 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2748334e-7295-466a-9a07-14642e5bd40b 2025-10-09 20:59:28,633 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4713341e-995d-4efa-9d00-98c75bf83930 2025-10-09 20:59:28,638 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4713341e-995d-4efa-9d00-98c75bf83930 2025-10-09 20:59:28,643 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/f279a060-5ed1-4dd9-a8a1-b8f080f9caab 2025-10-09 20:59:28,647 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 20:59:28,647 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2748334e-7295-466a-9a07-14642e5bd40b 2025-10-09 20:59:28,654 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4713341e-995d-4efa-9d00-98c75bf83930 2025-10-09 20:59:28,666 - INFO - Verified VN network id 11 for VN 2748334e-7295-466a-9a07-14642e5bd40b 2025-10-09 20:59:28,666 - INFO - Verifications in API Server for VN ctest-vn-81992647 passed 2025-10-09 20:59:28,666 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2748334e-7295-466a-9a07-14642e5bd40b 2025-10-09 20:59:28,672 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4713341e-995d-4efa-9d00-98c75bf83930 2025-10-09 20:59:28,677 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4713341e-995d-4efa-9d00-98c75bf83930 2025-10-09 20:59:28,682 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/f279a060-5ed1-4dd9-a8a1-b8f080f9caab 2025-10-09 20:59:28,690 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-81992647', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43971633', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2830568777825207914', 'uuid-lslong': '11098862227184931851'}, 'enable': 'true', 'created': '2025-10-09T20:59:26', 'last-modified': '2025-10-09T20:59:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.836195'} 2025-10-09 20:59:28,695 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 20:59:28,695 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81992647 passed 2025-10-09 20:59:28,695 - DEBUG - ====Verifying policy data for ctest-vn-81992647 in API_Server ====== 2025-10-09 20:59:28,695 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 20:59:28,699 - DEBUG - Requesting: http://10.0.0.131:8082/domain/0f10a47c-7a5b-4dae-9000-dfb201b5061a 2025-10-09 20:59:28,707 - DEBUG - Requesting: http://10.0.0.131:8082/project/e57d5f14-655e-4151-b616-c12e65961e55 2025-10-09 20:59:28,771 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2748334e-7295-466a-9a07-14642e5bd40b 2025-10-09 20:59:28,779 - DEBUG - ==>Verifying data for policy with id: 0c6f76c5-89b8-4a3a-bfad-381a7b36546c, fqn: ['default-domain', 'ctest-TestBasicPolicy-43971633', 'ctest-policy-allow-all-56755229'] 2025-10-09 20:59:28,779 - INFO - VN ctest-vn-81992647 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 20:59:28,779 - DEBUG - Verifying the vn in opserver 2025-10-09 20:59:28,779 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-81992647 virtual network link through opserver 10.0.0.131 2025-10-09 20:59:28,779 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-09 20:59:29,064 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-09 20:59:29,110 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-81992647', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-81992647?flat'} 2025-10-09 20:59:29,110 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-81992647 is found in opserver 2025-10-09 20:59:29,118 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 20:59:29,121 - DEBUG - VRF ids for VN ctest-vn-81992647: {} 2025-10-09 20:59:29,121 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 20:59:29,126 - DEBUG - Requesting: http://10.0.0.131:8082/domain/0f10a47c-7a5b-4dae-9000-dfb201b5061a 2025-10-09 20:59:29,134 - DEBUG - Requesting: http://10.0.0.131:8082/project/e57d5f14-655e-4151-b616-c12e65961e55 2025-10-09 20:59:29,197 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6aff4c01-f4e6-46ca-b2ac-1fc11755978b 2025-10-09 20:59:29,205 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6aff4c01-f4e6-46ca-b2ac-1fc11755978b 2025-10-09 20:59:29,212 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5b53585d-83d3-4754-bd65-97b71406da11 2025-10-09 20:59:29,217 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5b53585d-83d3-4754-bd65-97b71406da11 2025-10-09 20:59:29,222 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/e938c454-e197-4358-8420-6525d0a616a1 2025-10-09 20:59:29,226 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 20:59:29,226 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6aff4c01-f4e6-46ca-b2ac-1fc11755978b 2025-10-09 20:59:29,233 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5b53585d-83d3-4754-bd65-97b71406da11 2025-10-09 20:59:29,242 - INFO - Verified VN network id 12 for VN 6aff4c01-f4e6-46ca-b2ac-1fc11755978b 2025-10-09 20:59:29,242 - INFO - Verifications in API Server for VN ctest-vn-08502005 passed 2025-10-09 20:59:29,242 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6aff4c01-f4e6-46ca-b2ac-1fc11755978b 2025-10-09 20:59:29,249 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5b53585d-83d3-4754-bd65-97b71406da11 2025-10-09 20:59:29,253 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5b53585d-83d3-4754-bd65-97b71406da11 2025-10-09 20:59:29,258 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/e938c454-e197-4358-8420-6525d0a616a1 2025-10-09 20:59:29,266 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-08502005', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43971633', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7709964658368988874', 'uuid-lslong': '12874700348926039947'}, 'enable': 'true', 'created': '2025-10-09T20:59:27', 'last-modified': '2025-10-09T20:59:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.193685'} 2025-10-09 20:59:29,270 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 20:59:29,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08502005 passed 2025-10-09 20:59:29,271 - DEBUG - ====Verifying policy data for ctest-vn-08502005 in API_Server ====== 2025-10-09 20:59:29,271 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 20:59:29,275 - DEBUG - Requesting: http://10.0.0.131:8082/domain/0f10a47c-7a5b-4dae-9000-dfb201b5061a 2025-10-09 20:59:29,282 - DEBUG - Requesting: http://10.0.0.131:8082/project/e57d5f14-655e-4151-b616-c12e65961e55 2025-10-09 20:59:29,347 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6aff4c01-f4e6-46ca-b2ac-1fc11755978b 2025-10-09 20:59:29,354 - DEBUG - ==>Verifying data for policy with id: 0c6f76c5-89b8-4a3a-bfad-381a7b36546c, fqn: ['default-domain', 'ctest-TestBasicPolicy-43971633', 'ctest-policy-allow-all-56755229'] 2025-10-09 20:59:29,354 - INFO - VN ctest-vn-08502005 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 20:59:29,354 - DEBUG - Verifying the vn in opserver 2025-10-09 20:59:29,354 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-08502005 virtual network link through opserver 10.0.0.131 2025-10-09 20:59:29,354 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-09 20:59:29,362 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-08502005', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-08502005?flat'} 2025-10-09 20:59:29,362 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-08502005 is found in opserver 2025-10-09 20:59:29,370 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 20:59:29,373 - DEBUG - VRF ids for VN ctest-vn-08502005: {} 2025-10-09 20:59:29,420 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:59:30,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4280-1) 2025-10-09 20:59:31,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4280-1) 2025-10-09 20:59:31,379 - INFO - Waiting for VM ctest-TestBasicPolicy-43971633-16984064 to be up.. 2025-10-09 20:59:31,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:59:36,504 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:59:36,504 - INFO - VM name : ctest-TestBasicPolicy-43971633-16984064 2025-10-09 20:59:36,569 - DEBUG - VM ctest-TestBasicPolicy-43971633-16984064 ID is 9b20267d-1d1a-441e-bbaa-fa2b20dc6d56 2025-10-09 20:59:36,594 - DEBUG - VM ctest-TestBasicPolicy-43971633-16984064 launched on Node cn-jenkins-deploy-platform-ansible-os-4280-1 2025-10-09 20:59:36,664 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/9b20267d-1d1a-441e-bbaa-fa2b20dc6d56 2025-10-09 20:59:36,671 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/ebd81777-0e80-488c-a95b-edc824398152 2025-10-09 20:59:39,916 - 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 1016ms') 2025-10-09 20:59:39,917 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43971633-16984064 failed! 2025-10-09 20:59:39,969 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43971633:ctest-vn-81992647 is 75.137.121.65 and allocation pool is NOT set 2025-10-09 20:59:42,028 - 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=4.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.799/3.225/4.652/1.426 ms') 2025-10-09 20:59:42,028 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43971633-16984064 passed 2025-10-09 20:59:42,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:59:42,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43971633-16984064, IP 75.137.121.67, Port 22 2025-10-09 20:59:42,332 - DEBUG - VM ctest-TestBasicPolicy-43971633-16984064 is ready for SSH connections 2025-10-09 20:59:42,332 - INFO - Waiting for VM ctest-TestBasicPolicy-43971633-45832398 to be up.. 2025-10-09 20:59:42,393 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:59:42,393 - INFO - VM name : ctest-TestBasicPolicy-43971633-45832398 2025-10-09 20:59:42,455 - DEBUG - VM ctest-TestBasicPolicy-43971633-45832398 ID is 6c155986-ed64-473c-a64f-a5432abc53a3 2025-10-09 20:59:42,455 - DEBUG - VM ctest-TestBasicPolicy-43971633-45832398 launched on Node cn-jenkins-deploy-platform-ansible-os-4280-1 2025-10-09 20:59:42,518 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/6c155986-ed64-473c-a64f-a5432abc53a3 2025-10-09 20:59:42,526 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/ffa14630-c8ea-4525-a9e2-9155601a0046 2025-10-09 20:59:43,753 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.486/2.631/1.145 ms') 2025-10-09 20:59:43,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43971633-45832398 passed 2025-10-09 20:59:43,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:59:43,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43971633-45832398, IP 75.38.81.195, Port 22 2025-10-09 20:59:44,056 - DEBUG - VM ctest-TestBasicPolicy-43971633-45832398 is ready for SSH connections 2025-10-09 20:59:44,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:59:44,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.38.81.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 20:59:44,056 - DEBUG - ping -s 56 -c 3 -W 1 75.38.81.195 2025-10-09 20:59:47,990 - DEBUG - PING 75.38.81.195 (75.38.81.195): 56 data bytes 64 bytes from 75.38.81.195: seq=0 ttl=63 time=3.289 ms 64 bytes from 75.38.81.195: seq=1 ttl=63 time=0.737 ms 64 bytes from 75.38.81.195: seq=2 ttl=63 time=0.714 ms --- 75.38.81.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.714/1.580/3.289 ms 2025-10-09 20:59:47,990 - INFO - Ping to IP 75.38.81.195 from VM ctest-TestBasicPolicy-43971633-16984064 passed 2025-10-09 20:59:48,156 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0c6f76c5-89b8-4a3a-bfad-381a7b36546c", "href": "http://10.0.0.131:8082/network-policy/0c6f76c5-89b8-4a3a-bfad-381a7b36546c"}} 2025-10-09 20:59:48,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:59:48,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.38.81.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 20:59:48,157 - DEBUG - ping -s 56 -c 3 -W 1 75.38.81.195 2025-10-09 20:59:51,352 - DEBUG - PING 75.38.81.195 (75.38.81.195): 56 data bytes 64 bytes from 75.38.81.195: seq=0 ttl=63 time=1.232 ms --- 75.38.81.195 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-09 20:59:51,353 - WARNING - Ping to IP 75.38.81.195 from VM ctest-TestBasicPolicy-43971633-16984064 failed 2025-10-09 20:59:51,353 - INFO - Deleting VM ctest-TestBasicPolicy-43971633-45832398 2025-10-09 20:59:51,411 - INFO - Deleting VM ctest-TestBasicPolicy-43971633-16984064 2025-10-09 20:59:51,712 - INFO - Deleted policy ctest-policy-allow-all-56755229 2025-10-09 20:59:51,712 - INFO - Deleting VN ctest-vn-08502005 2025-10-09 20:59:51,744 - DEBUG - VN 6aff4c01-f4e6-46ca-b2ac-1fc11755978b still in use: Unable to complete operation on network 6aff4c01-f4e6-46ca-b2ac-1fc11755978b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad9ffee1-ff45-4d4d-88ef-fd2daee3ea5b'] 2025-10-09 20:59:51,745 - WARNING - Deleting VN ctest-vn-08502005 failed..Will retry 2025-10-09 20:59:53,826 - DEBUG - Response for deleting network () 2025-10-09 20:59:53,827 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5b53585d-83d3-4754-bd65-97b71406da11 2025-10-09 20:59:53,831 - DEBUG - Response Code: 404 2025-10-09 20:59:53,831 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 20:59:53,840 - DEBUG - Requesting: http://10.0.0.131:8082/domain/0f10a47c-7a5b-4dae-9000-dfb201b5061a 2025-10-09 20:59:53,890 - DEBUG - Requesting: http://10.0.0.131:8082/project/e57d5f14-655e-4151-b616-c12e65961e55 2025-10-09 20:59:53,954 - INFO - Validated that VN ctest-vn-08502005 is not found in API Server 2025-10-09 20:59:53,965 - DEBUG - VN ctest-vn-08502005 is not present in Agent 10.0.0.131 2025-10-09 20:59:53,965 - INFO - Validated that VN ctest-vn-08502005 is not in any agent 2025-10-09 20:59:53,977 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08502005 info 2025-10-09 20:59:53,977 - INFO - Deleting VN ctest-vn-81992647 2025-10-09 20:59:54,059 - DEBUG - Response for deleting network () 2025-10-09 20:59:54,059 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4713341e-995d-4efa-9d00-98c75bf83930 2025-10-09 20:59:54,066 - DEBUG - Response Code: 404 2025-10-09 20:59:54,066 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-09 20:59:54,070 - DEBUG - Requesting: http://10.0.0.131:8082/domain/0f10a47c-7a5b-4dae-9000-dfb201b5061a 2025-10-09 20:59:54,121 - DEBUG - Requesting: http://10.0.0.131:8082/project/e57d5f14-655e-4151-b616-c12e65961e55 2025-10-09 20:59:54,186 - INFO - Validated that VN ctest-vn-81992647 is not found in API Server 2025-10-09 20:59:54,195 - DEBUG - VN ctest-vn-81992647 is not present in Agent 10.0.0.131 2025-10-09 20:59:54,195 - INFO - Validated that VN ctest-vn-81992647 is not in any agent 2025-10-09 20:59:54,206 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81992647 info 2025-10-09 20:59:54,453 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 20:59:54,453 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-09 20:59:54,453 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:59:55,078 - INFO - Deleted project: ctest-TestBasicPolicy-43971633, ID : e57d5f14-655e-4151-b616-c12e65961e55