2025-06-23 02:08:19,798 - INFO - Domain Default found not creating 2025-06-23 02:08:19,963 - INFO - Project ctest-TestBasicPolicy-55412802 not found, creating it 2025-06-23 02:08:20,442 - INFO - Created Project:ctest-TestBasicPolicy-55412802, ID : 8c330d36-c73d-4bd2-9cfd-3bc828ed4311 2025-06-23 02:08:21,931 - INFO - ================================================================================ 2025-06-23 02:08:21,931 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-23 02:08:21,931 - 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-06-23 02:08:22,187 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-23 02:08:22,187 - INFO - Initial checks done. Running the testcase now 2025-06-23 02:08:22,187 - INFO - 2025-06-23 02:08:22,741 - DEBUG - Response for create_network : {'network': {'id': '64fcbf87-b3c7-461c-be65-3245e239eaa7', 'name': 'ctest-vn-83243942', 'tenant_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'project_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55412802', 'ctest-vn-83243942'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 02:08:22,915 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1ce6cb0-404c-488f-8db4-d4d1f3546868', 'name': '', 'tenant_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'network_id': '64fcbf87-b3c7-461c-be65-3245e239eaa7', 'ip_version': 4, 'cidr': '219.159.174.64/26', 'allocation_pools': [{'start': '219.159.174.66', 'end': '219.159.174.126'}], 'gateway_ip': '219.159.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.159.174.66', 'tags': [], 'project_id': '8c330d36c73d4bd29cfd3bc828ed4311'}} 2025-06-23 02:08:22,933 - INFO - Created VN ctest-vn-83243942 2025-06-23 02:08:22,984 - DEBUG - VN ctest-vn-83243942 UUID is 64fcbf87-b3c7-461c-be65-3245e239eaa7 2025-06-23 02:08:23,272 - DEBUG - Response for create_network : {'network': {'id': '25012679-e01c-4970-a234-3ade9705ac73', 'name': 'ctest-vn-15922073', 'tenant_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'project_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55412802', 'ctest-vn-15922073'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 02:08:23,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '42a9cdce-1cc7-490a-b9ba-37f241817270', 'name': '', 'tenant_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'network_id': '25012679-e01c-4970-a234-3ade9705ac73', 'ip_version': 4, 'cidr': '134.237.7.128/26', 'allocation_pools': [{'start': '134.237.7.130', 'end': '134.237.7.190'}], 'gateway_ip': '134.237.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.237.7.130', 'tags': [], 'project_id': '8c330d36c73d4bd29cfd3bc828ed4311'}} 2025-06-23 02:08:23,507 - INFO - Created VN ctest-vn-15922073 2025-06-23 02:08:23,560 - DEBUG - VN ctest-vn-15922073 UUID is 25012679-e01c-4970-a234-3ade9705ac73 2025-06-23 02:08:23,673 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-83243942, 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-55412802:ctest-vn-15922073, 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-06-23 02:08:23,976 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '64fcbf87-b3c7-461c-be65-3245e239eaa7', 'name': 'ctest-vn-83243942', 'tenant_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'project_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f1ce6cb0-404c-488f-8db4-d4d1f3546868'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55412802', 'ctest-vn-83243942'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55412802', 'ctest-policy-allow-all-67927972']], 'subnet_ipam': [{'subnet_cidr': '219.159.174.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 02:08:24,209 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25012679-e01c-4970-a234-3ade9705ac73', 'name': 'ctest-vn-15922073', 'tenant_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'project_id': '8c330d36c73d4bd29cfd3bc828ed4311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42a9cdce-1cc7-490a-b9ba-37f241817270'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55412802', 'ctest-vn-15922073'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55412802', 'ctest-policy-allow-all-67927972']], 'subnet_ipam': [{'subnet_cidr': '134.237.7.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 02:08:24,389 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 02:08:24,681 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 02:08:24,711 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c8878672-6f43-4cee-b2ea-4a538521fef9 2025-06-23 02:08:24,728 - DEBUG - Requesting: http://10.0.0.254:8082/project/8c330d36-c73d-4bd2-9cfd-3bc828ed4311 2025-06-23 02:08:24,807 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/64fcbf87-b3c7-461c-be65-3245e239eaa7 2025-06-23 02:08:24,819 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/64fcbf87-b3c7-461c-be65-3245e239eaa7 2025-06-23 02:08:24,832 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6b9b1990-461a-4abd-b0b6-48d458921f86 2025-06-23 02:08:24,842 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6b9b1990-461a-4abd-b0b6-48d458921f86 2025-06-23 02:08:24,851 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/651fe567-5dfb-48b9-98db-2494e11c424e 2025-06-23 02:08:24,860 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 02:08:24,861 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/64fcbf87-b3c7-461c-be65-3245e239eaa7 2025-06-23 02:08:24,871 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6b9b1990-461a-4abd-b0b6-48d458921f86 2025-06-23 02:08:24,890 - INFO - Verified VN network id 8 for VN 64fcbf87-b3c7-461c-be65-3245e239eaa7 2025-06-23 02:08:24,891 - INFO - Verifications in API Server for VN ctest-vn-83243942 passed 2025-06-23 02:08:24,891 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/64fcbf87-b3c7-461c-be65-3245e239eaa7 2025-06-23 02:08:24,904 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6b9b1990-461a-4abd-b0b6-48d458921f86 2025-06-23 02:08:24,916 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6b9b1990-461a-4abd-b0b6-48d458921f86 2025-06-23 02:08:24,924 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/651fe567-5dfb-48b9-98db-2494e11c424e 2025-06-23 02:08:24,941 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-83243942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55412802', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7276901687481550364', 'uuid-lslong': '13719427115583662759'}, 'enable': 'true', 'created': '2025-06-23T02:08:22', 'last-modified': '2025-06-23T02:08:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993286'} 2025-06-23 02:08:24,949 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 02:08:24,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83243942 passed 2025-06-23 02:08:24,950 - DEBUG - ====Verifying policy data for ctest-vn-83243942 in API_Server ====== 2025-06-23 02:08:24,950 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 02:08:24,957 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c8878672-6f43-4cee-b2ea-4a538521fef9 2025-06-23 02:08:24,970 - DEBUG - Requesting: http://10.0.0.254:8082/project/8c330d36-c73d-4bd2-9cfd-3bc828ed4311 2025-06-23 02:08:25,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/64fcbf87-b3c7-461c-be65-3245e239eaa7 2025-06-23 02:08:25,058 - DEBUG - ==>Verifying data for policy with id: 4d6f723a-0a40-43fc-b4fd-119c5313d5e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-55412802', 'ctest-policy-allow-all-67927972'] 2025-06-23 02:08:25,058 - INFO - VN ctest-vn-83243942 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 02:08:25,059 - DEBUG - Verifying the vn in opserver 2025-06-23 02:08:25,059 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-83243942 virtual network link through opserver 10.0.0.254 2025-06-23 02:08:25,059 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-23 02:08:25,354 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-23 02:08:25,414 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-83243942', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-83243942?flat'} 2025-06-23 02:08:25,414 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-83243942 is found in opserver 2025-06-23 02:08:25,425 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 02:08:25,430 - DEBUG - VRF ids for VN ctest-vn-83243942: {} 2025-06-23 02:08:25,430 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 02:08:25,437 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c8878672-6f43-4cee-b2ea-4a538521fef9 2025-06-23 02:08:25,449 - DEBUG - Requesting: http://10.0.0.254:8082/project/8c330d36-c73d-4bd2-9cfd-3bc828ed4311 2025-06-23 02:08:25,535 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25012679-e01c-4970-a234-3ade9705ac73 2025-06-23 02:08:25,550 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25012679-e01c-4970-a234-3ade9705ac73 2025-06-23 02:08:25,562 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a1961f0f-d447-4044-aceb-d172cd8d689e 2025-06-23 02:08:25,571 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a1961f0f-d447-4044-aceb-d172cd8d689e 2025-06-23 02:08:25,579 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ed7fe63a-26b9-492a-9532-b624aa200e17 2025-06-23 02:08:25,588 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 02:08:25,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25012679-e01c-4970-a234-3ade9705ac73 2025-06-23 02:08:25,602 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a1961f0f-d447-4044-aceb-d172cd8d689e 2025-06-23 02:08:25,623 - INFO - Verified VN network id 9 for VN 25012679-e01c-4970-a234-3ade9705ac73 2025-06-23 02:08:25,623 - INFO - Verifications in API Server for VN ctest-vn-15922073 passed 2025-06-23 02:08:25,623 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25012679-e01c-4970-a234-3ade9705ac73 2025-06-23 02:08:25,639 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a1961f0f-d447-4044-aceb-d172cd8d689e 2025-06-23 02:08:25,647 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a1961f0f-d447-4044-aceb-d172cd8d689e 2025-06-23 02:08:25,655 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ed7fe63a-26b9-492a-9532-b624aa200e17 2025-06-23 02:08:25,671 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-15922073', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55412802', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2666454759272892784', 'uuid-lslong': '11688031660624161907'}, 'enable': 'true', 'created': '2025-06-23T02:08:23', 'last-modified': '2025-06-23T02:08:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488376'} 2025-06-23 02:08:25,677 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 02:08:25,678 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15922073 passed 2025-06-23 02:08:25,678 - DEBUG - ====Verifying policy data for ctest-vn-15922073 in API_Server ====== 2025-06-23 02:08:25,678 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 02:08:25,684 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c8878672-6f43-4cee-b2ea-4a538521fef9 2025-06-23 02:08:25,696 - DEBUG - Requesting: http://10.0.0.254:8082/project/8c330d36-c73d-4bd2-9cfd-3bc828ed4311 2025-06-23 02:08:25,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25012679-e01c-4970-a234-3ade9705ac73 2025-06-23 02:08:25,784 - DEBUG - ==>Verifying data for policy with id: 4d6f723a-0a40-43fc-b4fd-119c5313d5e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-55412802', 'ctest-policy-allow-all-67927972'] 2025-06-23 02:08:25,784 - INFO - VN ctest-vn-15922073 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 02:08:25,785 - DEBUG - Verifying the vn in opserver 2025-06-23 02:08:25,785 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-15922073 virtual network link through opserver 10.0.0.254 2025-06-23 02:08:25,785 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-23 02:08:25,795 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-15922073', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-15922073?flat'} 2025-06-23 02:08:25,795 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-15922073 is found in opserver 2025-06-23 02:08:25,806 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 02:08:25,811 - DEBUG - VRF ids for VN ctest-vn-15922073: {} 2025-06-23 02:08:25,866 - DEBUG - Services list from nova: [, , ] 2025-06-23 02:08:26,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3516-1) 2025-06-23 02:08:28,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3516-1) 2025-06-23 02:08:28,117 - INFO - Waiting for VM ctest-TestBasicPolicy-55412802-80182387 to be up.. 2025-06-23 02:08:28,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 02:08:33,291 - DEBUG - VM is in ACTIVE state now 2025-06-23 02:08:33,291 - INFO - VM name : ctest-TestBasicPolicy-55412802-80182387 2025-06-23 02:08:33,370 - DEBUG - VM ctest-TestBasicPolicy-55412802-80182387 ID is 25f5d90f-be9c-4185-b7b8-25e8baf9aff0 2025-06-23 02:08:33,389 - DEBUG - VM ctest-TestBasicPolicy-55412802-80182387 launched on Node cn-jenkins-deploy-platform-ansible-os-3516-1 2025-06-23 02:08:33,471 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/25f5d90f-be9c-4185-b7b8-25e8baf9aff0 2025-06-23 02:08:33,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/63358198-4a4f-445e-9619-3f9e73772292 2025-06-23 02:08:36,742 - 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 1011ms') 2025-06-23 02:08:36,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55412802-80182387 failed! 2025-06-23 02:08:36,800 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55412802:ctest-vn-83243942 is 219.159.174.65 and allocation pool is NOT set 2025-06-23 02:08:38,861 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.844 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.844/2.666/4.488/1.822 ms') 2025-06-23 02:08:38,861 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55412802-80182387 passed 2025-06-23 02:08:39,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 02:08:39,016 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55412802-80182387, IP 219.159.174.67, Port 22 2025-06-23 02:08:39,172 - DEBUG - VM ctest-TestBasicPolicy-55412802-80182387 is ready for SSH connections 2025-06-23 02:08:39,172 - INFO - Waiting for VM ctest-TestBasicPolicy-55412802-60686483 to be up.. 2025-06-23 02:08:39,265 - DEBUG - VM is in ACTIVE state now 2025-06-23 02:08:39,265 - INFO - VM name : ctest-TestBasicPolicy-55412802-60686483 2025-06-23 02:08:39,345 - DEBUG - VM ctest-TestBasicPolicy-55412802-60686483 ID is cd6a92c1-12d2-4c5e-a951-db109ee7fbd7 2025-06-23 02:08:39,345 - DEBUG - VM ctest-TestBasicPolicy-55412802-60686483 launched on Node cn-jenkins-deploy-platform-ansible-os-3516-1 2025-06-23 02:08:39,421 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cd6a92c1-12d2-4c5e-a951-db109ee7fbd7 2025-06-23 02:08:39,433 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/194db3b5-dd50-40a0-8765-8b8ab5d15373 2025-06-23 02:08:40,682 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.561/2.637/1.076 ms') 2025-06-23 02:08:40,683 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55412802-60686483 passed 2025-06-23 02:08:40,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 02:08:40,832 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55412802-60686483, IP 134.237.7.131, Port 22 2025-06-23 02:08:41,000 - DEBUG - VM ctest-TestBasicPolicy-55412802-60686483 is ready for SSH connections 2025-06-23 02:08:41,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 02:08:41,000 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.237.7.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-23 02:08:41,000 - DEBUG - ping -s 56 -c 3 -W 1 134.237.7.131 2025-06-23 02:08:44,676 - DEBUG - PING 134.237.7.131 (134.237.7.131): 56 data bytes 64 bytes from 134.237.7.131: seq=0 ttl=63 time=3.966 ms 64 bytes from 134.237.7.131: seq=1 ttl=63 time=0.895 ms 64 bytes from 134.237.7.131: seq=2 ttl=63 time=0.815 ms --- 134.237.7.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.892/3.966 ms 2025-06-23 02:08:44,676 - INFO - Ping to IP 134.237.7.131 from VM ctest-TestBasicPolicy-55412802-80182387 passed 2025-06-23 02:08:44,856 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4d6f723a-0a40-43fc-b4fd-119c5313d5e0", "href": "http://10.0.0.254:8082/network-policy/4d6f723a-0a40-43fc-b4fd-119c5313d5e0"}} 2025-06-23 02:08:44,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 02:08:44,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.237.7.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-23 02:08:44,857 - DEBUG - ping -s 56 -c 3 -W 1 134.237.7.131 2025-06-23 02:08:48,077 - DEBUG - PING 134.237.7.131 (134.237.7.131): 56 data bytes --- 134.237.7.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-23 02:08:48,077 - WARNING - Ping to IP 134.237.7.131 from VM ctest-TestBasicPolicy-55412802-80182387 failed 2025-06-23 02:08:48,078 - INFO - Deleting VM ctest-TestBasicPolicy-55412802-60686483 2025-06-23 02:08:48,142 - INFO - Deleting VM ctest-TestBasicPolicy-55412802-80182387 2025-06-23 02:08:48,555 - INFO - Deleted policy ctest-policy-allow-all-67927972 2025-06-23 02:08:48,555 - INFO - Deleting VN ctest-vn-15922073 2025-06-23 02:08:48,596 - DEBUG - VN 25012679-e01c-4970-a234-3ade9705ac73 still in use: Unable to complete operation on network 25012679-e01c-4970-a234-3ade9705ac73. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fbeb3f97-0470-42ca-8e8f-730b83789c2a'] 2025-06-23 02:08:48,597 - WARNING - Deleting VN ctest-vn-15922073 failed..Will retry 2025-06-23 02:08:50,698 - DEBUG - Response for deleting network () 2025-06-23 02:08:50,698 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a1961f0f-d447-4044-aceb-d172cd8d689e 2025-06-23 02:08:50,704 - DEBUG - Response Code: 404 2025-06-23 02:08:50,704 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 02:08:50,711 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c8878672-6f43-4cee-b2ea-4a538521fef9 2025-06-23 02:08:50,767 - DEBUG - Requesting: http://10.0.0.254:8082/project/8c330d36-c73d-4bd2-9cfd-3bc828ed4311 2025-06-23 02:08:50,841 - INFO - Validated that VN ctest-vn-15922073 is not found in API Server 2025-06-23 02:08:50,854 - DEBUG - VN ctest-vn-15922073 is not present in Agent 10.0.0.254 2025-06-23 02:08:50,854 - INFO - Validated that VN ctest-vn-15922073 is not in any agent 2025-06-23 02:08:50,871 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15922073 info 2025-06-23 02:08:50,872 - INFO - Deleting VN ctest-vn-83243942 2025-06-23 02:08:50,977 - DEBUG - Response for deleting network () 2025-06-23 02:08:50,977 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6b9b1990-461a-4abd-b0b6-48d458921f86 2025-06-23 02:08:50,982 - DEBUG - Response Code: 404 2025-06-23 02:08:50,983 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 02:08:50,993 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c8878672-6f43-4cee-b2ea-4a538521fef9 2025-06-23 02:08:51,049 - DEBUG - Requesting: http://10.0.0.254:8082/project/8c330d36-c73d-4bd2-9cfd-3bc828ed4311 2025-06-23 02:08:51,125 - INFO - Validated that VN ctest-vn-83243942 is not found in API Server 2025-06-23 02:08:51,137 - DEBUG - VN ctest-vn-83243942 is not present in Agent 10.0.0.254 2025-06-23 02:08:51,137 - INFO - Validated that VN ctest-vn-83243942 is not in any agent 2025-06-23 02:08:51,155 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83243942 info 2025-06-23 02:08:51,418 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 02:08:51,418 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-23 02:08:51,418 - INFO - -------------------------------------------------------------------------------- 2025-06-23 02:08:52,109 - INFO - Deleted project: ctest-TestBasicPolicy-55412802, ID : 8c330d36-c73d-4bd2-9cfd-3bc828ed4311