2025-12-25 02:00:57,804 - INFO - Domain Default found not creating 2025-12-25 02:00:57,953 - INFO - Project ctest-TestBasicPolicy-31207442 not found, creating it 2025-12-25 02:00:58,386 - INFO - Created Project:ctest-TestBasicPolicy-31207442, ID : e93720d8-58e2-49dc-8c8f-12baf01a05c3 2025-12-25 02:00:59,819 - INFO - ================================================================================ 2025-12-25 02:00:59,819 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-25 02:00:59,820 - 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-12-25 02:01:00,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-12-25 02:01:00,075 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:01:00,075 - INFO - 2025-12-25 02:01:00,619 - DEBUG - Response for create_network : {'network': {'id': 'db03fa72-ddb4-4dcb-b67e-68281791626f', 'name': 'ctest-vn-66956435', 'tenant_id': 'e93720d858e249dc8c8f12baf01a05c3', 'project_id': 'e93720d858e249dc8c8f12baf01a05c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31207442', 'ctest-vn-66956435'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:01:00,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d522e1a-24fa-4210-af7e-8d104b795052', 'name': '', 'tenant_id': 'e93720d858e249dc8c8f12baf01a05c3', 'network_id': 'db03fa72-ddb4-4dcb-b67e-68281791626f', 'ip_version': 4, 'cidr': '113.53.163.128/26', 'allocation_pools': [{'start': '113.53.163.130', 'end': '113.53.163.190'}], 'gateway_ip': '113.53.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.53.163.130', 'tags': [], 'project_id': 'e93720d858e249dc8c8f12baf01a05c3'}} 2025-12-25 02:01:00,856 - INFO - Created VN ctest-vn-66956435 2025-12-25 02:01:00,909 - DEBUG - VN ctest-vn-66956435 UUID is db03fa72-ddb4-4dcb-b67e-68281791626f 2025-12-25 02:01:01,191 - DEBUG - Response for create_network : {'network': {'id': '47607a61-165a-4c25-9cc7-ba206819b58f', 'name': 'ctest-vn-51819365', 'tenant_id': 'e93720d858e249dc8c8f12baf01a05c3', 'project_id': 'e93720d858e249dc8c8f12baf01a05c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31207442', 'ctest-vn-51819365'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:01:01,356 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0c52f9e-c34c-47e8-9923-77c5bd49dd48', 'name': '', 'tenant_id': 'e93720d858e249dc8c8f12baf01a05c3', 'network_id': '47607a61-165a-4c25-9cc7-ba206819b58f', 'ip_version': 4, 'cidr': '34.90.173.0/26', 'allocation_pools': [{'start': '34.90.173.2', 'end': '34.90.173.62'}], 'gateway_ip': '34.90.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.90.173.2', 'tags': [], 'project_id': 'e93720d858e249dc8c8f12baf01a05c3'}} 2025-12-25 02:01:01,371 - INFO - Created VN ctest-vn-51819365 2025-12-25 02:01:01,421 - DEBUG - VN ctest-vn-51819365 UUID is 47607a61-165a-4c25-9cc7-ba206819b58f 2025-12-25 02:01:01,568 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-66956435, 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-31207442:ctest-vn-51819365, 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-12-25 02:01:01,852 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db03fa72-ddb4-4dcb-b67e-68281791626f', 'name': 'ctest-vn-66956435', 'tenant_id': 'e93720d858e249dc8c8f12baf01a05c3', 'project_id': 'e93720d858e249dc8c8f12baf01a05c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d522e1a-24fa-4210-af7e-8d104b795052'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31207442', 'ctest-vn-66956435'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31207442', 'ctest-policy-allow-all-40997146']], 'subnet_ipam': [{'subnet_cidr': '113.53.163.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:01:02,118 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47607a61-165a-4c25-9cc7-ba206819b58f', 'name': 'ctest-vn-51819365', 'tenant_id': 'e93720d858e249dc8c8f12baf01a05c3', 'project_id': 'e93720d858e249dc8c8f12baf01a05c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0c52f9e-c34c-47e8-9923-77c5bd49dd48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31207442', 'ctest-vn-51819365'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31207442', 'ctest-policy-allow-all-40997146']], 'subnet_ipam': [{'subnet_cidr': '34.90.173.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:01:02,277 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-25 02:01:02,573 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-25 02:01:02,603 - DEBUG - Requesting: http://10.0.0.22:8082/domain/add8fa73-cb5b-49f4-b156-2078b6c2f621 2025-12-25 02:01:02,613 - DEBUG - Requesting: http://10.0.0.22:8082/project/e93720d8-58e2-49dc-8c8f-12baf01a05c3 2025-12-25 02:01:02,682 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/db03fa72-ddb4-4dcb-b67e-68281791626f 2025-12-25 02:01:02,690 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/db03fa72-ddb4-4dcb-b67e-68281791626f 2025-12-25 02:01:02,699 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3efafb0a-6b42-41d0-8a64-e559e8f220ae 2025-12-25 02:01:02,706 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3efafb0a-6b42-41d0-8a64-e559e8f220ae 2025-12-25 02:01:02,712 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e81475a5-0b90-49f7-8f2e-0bc61c8a844c 2025-12-25 02:01:02,717 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-25 02:01:02,717 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/db03fa72-ddb4-4dcb-b67e-68281791626f 2025-12-25 02:01:02,726 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3efafb0a-6b42-41d0-8a64-e559e8f220ae 2025-12-25 02:01:02,737 - INFO - Verified VN network id 12 for VN db03fa72-ddb4-4dcb-b67e-68281791626f 2025-12-25 02:01:02,737 - INFO - Verifications in API Server for VN ctest-vn-66956435 passed 2025-12-25 02:01:02,737 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/db03fa72-ddb4-4dcb-b67e-68281791626f 2025-12-25 02:01:02,745 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3efafb0a-6b42-41d0-8a64-e559e8f220ae 2025-12-25 02:01:02,750 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3efafb0a-6b42-41d0-8a64-e559e8f220ae 2025-12-25 02:01:02,755 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e81475a5-0b90-49f7-8f2e-0bc61c8a844c 2025-12-25 02:01:02,764 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-66956435', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31207442', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15781732890489146827', 'uuid-lslong': '13150062483371811439'}, 'enable': 'true', 'created': '2025-12-25T02:01:00', 'last-modified': '2025-12-25T02:01:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931338'} 2025-12-25 02:01:02,769 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-25 02:01:02,769 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66956435 passed 2025-12-25 02:01:02,769 - DEBUG - ====Verifying policy data for ctest-vn-66956435 in API_Server ====== 2025-12-25 02:01:02,769 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-25 02:01:02,774 - DEBUG - Requesting: http://10.0.0.22:8082/domain/add8fa73-cb5b-49f4-b156-2078b6c2f621 2025-12-25 02:01:02,784 - DEBUG - Requesting: http://10.0.0.22:8082/project/e93720d8-58e2-49dc-8c8f-12baf01a05c3 2025-12-25 02:01:02,853 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/db03fa72-ddb4-4dcb-b67e-68281791626f 2025-12-25 02:01:02,861 - DEBUG - ==>Verifying data for policy with id: ce1daba9-da8c-43b6-9286-a5eeb8c19831, fqn: ['default-domain', 'ctest-TestBasicPolicy-31207442', 'ctest-policy-allow-all-40997146'] 2025-12-25 02:01:02,861 - INFO - VN ctest-vn-66956435 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-25 02:01:02,861 - DEBUG - Verifying the vn in opserver 2025-12-25 02:01:02,861 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-66956435 virtual network link through opserver 10.0.0.22 2025-12-25 02:01:02,861 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-25 02:01:03,155 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-25 02:01:03,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-66956435', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-66956435?flat'} 2025-12-25 02:01:03,213 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-66956435 is found in opserver 2025-12-25 02:01:03,221 - DEBUG - Do not have enough data to verify VN in agent 2025-12-25 02:01:03,225 - DEBUG - VRF ids for VN ctest-vn-66956435: {} 2025-12-25 02:01:03,225 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-25 02:01:03,229 - DEBUG - Requesting: http://10.0.0.22:8082/domain/add8fa73-cb5b-49f4-b156-2078b6c2f621 2025-12-25 02:01:03,239 - DEBUG - Requesting: http://10.0.0.22:8082/project/e93720d8-58e2-49dc-8c8f-12baf01a05c3 2025-12-25 02:01:03,307 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/47607a61-165a-4c25-9cc7-ba206819b58f 2025-12-25 02:01:03,318 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/47607a61-165a-4c25-9cc7-ba206819b58f 2025-12-25 02:01:03,325 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5f19c813-6476-4481-bd21-1fb01edf437b 2025-12-25 02:01:03,331 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5f19c813-6476-4481-bd21-1fb01edf437b 2025-12-25 02:01:03,336 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/abc6f874-011e-4e15-b527-7e49bd24eac6 2025-12-25 02:01:03,342 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-25 02:01:03,342 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/47607a61-165a-4c25-9cc7-ba206819b58f 2025-12-25 02:01:03,349 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5f19c813-6476-4481-bd21-1fb01edf437b 2025-12-25 02:01:03,359 - INFO - Verified VN network id 13 for VN 47607a61-165a-4c25-9cc7-ba206819b58f 2025-12-25 02:01:03,360 - INFO - Verifications in API Server for VN ctest-vn-51819365 passed 2025-12-25 02:01:03,360 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/47607a61-165a-4c25-9cc7-ba206819b58f 2025-12-25 02:01:03,367 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5f19c813-6476-4481-bd21-1fb01edf437b 2025-12-25 02:01:03,373 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5f19c813-6476-4481-bd21-1fb01edf437b 2025-12-25 02:01:03,378 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/abc6f874-011e-4e15-b527-7e49bd24eac6 2025-12-25 02:01:03,387 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-51819365', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31207442', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5143245331862539301', 'uuid-lslong': '11297202838630413711'}, 'enable': 'true', 'created': '2025-12-25T02:01:01', 'last-modified': '2025-12-25T02:01:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331758'} 2025-12-25 02:01:03,392 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-25 02:01:03,392 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51819365 passed 2025-12-25 02:01:03,392 - DEBUG - ====Verifying policy data for ctest-vn-51819365 in API_Server ====== 2025-12-25 02:01:03,392 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-25 02:01:03,398 - DEBUG - Requesting: http://10.0.0.22:8082/domain/add8fa73-cb5b-49f4-b156-2078b6c2f621 2025-12-25 02:01:03,407 - DEBUG - Requesting: http://10.0.0.22:8082/project/e93720d8-58e2-49dc-8c8f-12baf01a05c3 2025-12-25 02:01:03,473 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/47607a61-165a-4c25-9cc7-ba206819b58f 2025-12-25 02:01:03,481 - DEBUG - ==>Verifying data for policy with id: ce1daba9-da8c-43b6-9286-a5eeb8c19831, fqn: ['default-domain', 'ctest-TestBasicPolicy-31207442', 'ctest-policy-allow-all-40997146'] 2025-12-25 02:01:03,481 - INFO - VN ctest-vn-51819365 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-25 02:01:03,481 - DEBUG - Verifying the vn in opserver 2025-12-25 02:01:03,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-51819365 virtual network link through opserver 10.0.0.22 2025-12-25 02:01:03,481 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-25 02:01:03,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-51819365', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-51819365?flat'} 2025-12-25 02:01:03,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-51819365 is found in opserver 2025-12-25 02:01:03,499 - DEBUG - Do not have enough data to verify VN in agent 2025-12-25 02:01:03,502 - DEBUG - VRF ids for VN ctest-vn-51819365: {} 2025-12-25 02:01:03,555 - DEBUG - Services list from nova: [, , ] 2025-12-25 02:01:04,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4923-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4923-1) 2025-12-25 02:01:05,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4923-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4923-1) 2025-12-25 02:01:05,647 - INFO - Waiting for VM ctest-TestBasicPolicy-31207442-17541727 to be up.. 2025-12-25 02:01:05,721 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-25 02:01:10,799 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:01:10,799 - INFO - VM name : ctest-TestBasicPolicy-31207442-17541727 2025-12-25 02:01:10,871 - DEBUG - VM ctest-TestBasicPolicy-31207442-17541727 ID is 88cf9cb6-2297-43c2-96ae-15c72fbba9a2 2025-12-25 02:01:10,889 - DEBUG - VM ctest-TestBasicPolicy-31207442-17541727 launched on Node cn-jenkins-deploy-platform-ansible-os-4923-1 2025-12-25 02:01:10,957 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/88cf9cb6-2297-43c2-96ae-15c72fbba9a2 2025-12-25 02:01:10,965 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6fac83ca-f4c5-40b0-bce8-3722cca3b9e0 2025-12-25 02:01:14,225 - 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 1028ms') 2025-12-25 02:01:14,225 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31207442-17541727 failed! 2025-12-25 02:01:14,281 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31207442:ctest-vn-66956435 is 113.53.163.129 and allocation pool is NOT set 2025-12-25 02:01:16,354 - 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=2.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.378/1.558/2.739/1.180 ms') 2025-12-25 02:01:16,354 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31207442-17541727 passed 2025-12-25 02:01:16,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:01:16,509 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31207442-17541727, IP 113.53.163.131, Port 22 2025-12-25 02:01:16,664 - DEBUG - VM ctest-TestBasicPolicy-31207442-17541727 is ready for SSH connections 2025-12-25 02:01:16,664 - INFO - Waiting for VM ctest-TestBasicPolicy-31207442-73647206 to be up.. 2025-12-25 02:01:16,744 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:01:16,744 - INFO - VM name : ctest-TestBasicPolicy-31207442-73647206 2025-12-25 02:01:16,820 - DEBUG - VM ctest-TestBasicPolicy-31207442-73647206 ID is 388b931c-48fb-4e79-8241-2402fe3cde9e 2025-12-25 02:01:16,820 - DEBUG - VM ctest-TestBasicPolicy-31207442-73647206 launched on Node cn-jenkins-deploy-platform-ansible-os-4923-1 2025-12-25 02:01:16,890 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/388b931c-48fb-4e79-8241-2402fe3cde9e 2025-12-25 02:01:16,898 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/dd506c0d-b3a4-452d-a8c0-3b12652b1ca2 2025-12-25 02:01:18,133 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.807 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.807/2.019/3.231/1.212 ms') 2025-12-25 02:01:18,134 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31207442-73647206 passed 2025-12-25 02:01:18,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:01:18,281 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31207442-73647206, IP 34.90.173.3, Port 22 2025-12-25 02:01:18,451 - DEBUG - VM ctest-TestBasicPolicy-31207442-73647206 is ready for SSH connections 2025-12-25 02:01:18,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:01:18,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.90.173.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-25 02:01:18,451 - DEBUG - ping -s 56 -c 3 -W 1 34.90.173.3 2025-12-25 02:01:22,153 - DEBUG - PING 34.90.173.3 (34.90.173.3): 56 data bytes 64 bytes from 34.90.173.3: seq=0 ttl=63 time=3.442 ms 64 bytes from 34.90.173.3: seq=1 ttl=63 time=0.791 ms 64 bytes from 34.90.173.3: seq=2 ttl=63 time=1.326 ms --- 34.90.173.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/1.853/3.442 ms 2025-12-25 02:01:22,153 - INFO - Ping to IP 34.90.173.3 from VM ctest-TestBasicPolicy-31207442-17541727 passed 2025-12-25 02:01:22,324 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce1daba9-da8c-43b6-9286-a5eeb8c19831", "href": "http://10.0.0.22:8082/network-policy/ce1daba9-da8c-43b6-9286-a5eeb8c19831"}} 2025-12-25 02:01:22,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:01:22,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.90.173.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-25 02:01:22,325 - DEBUG - ping -s 56 -c 3 -W 1 34.90.173.3 2025-12-25 02:01:25,561 - DEBUG - PING 34.90.173.3 (34.90.173.3): 56 data bytes --- 34.90.173.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-25 02:01:25,561 - WARNING - Ping to IP 34.90.173.3 from VM ctest-TestBasicPolicy-31207442-17541727 failed 2025-12-25 02:01:25,561 - INFO - Deleting VM ctest-TestBasicPolicy-31207442-73647206 2025-12-25 02:01:25,641 - INFO - Deleting VM ctest-TestBasicPolicy-31207442-17541727 2025-12-25 02:01:25,973 - INFO - Deleted policy ctest-policy-allow-all-40997146 2025-12-25 02:01:25,974 - INFO - Deleting VN ctest-vn-51819365 2025-12-25 02:01:26,012 - DEBUG - VN 47607a61-165a-4c25-9cc7-ba206819b58f still in use: Unable to complete operation on network 47607a61-165a-4c25-9cc7-ba206819b58f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7865185e-ec42-4e78-a5a7-be6fb8b8f78a'] 2025-12-25 02:01:26,012 - WARNING - Deleting VN ctest-vn-51819365 failed..Will retry 2025-12-25 02:01:28,114 - DEBUG - Response for deleting network () 2025-12-25 02:01:28,114 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5f19c813-6476-4481-bd21-1fb01edf437b 2025-12-25 02:01:28,120 - DEBUG - Response Code: 404 2025-12-25 02:01:28,120 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-25 02:01:28,124 - DEBUG - Requesting: http://10.0.0.22:8082/domain/add8fa73-cb5b-49f4-b156-2078b6c2f621 2025-12-25 02:01:28,178 - DEBUG - Requesting: http://10.0.0.22:8082/project/e93720d8-58e2-49dc-8c8f-12baf01a05c3 2025-12-25 02:01:28,254 - INFO - Validated that VN ctest-vn-51819365 is not found in API Server 2025-12-25 02:01:28,263 - DEBUG - VN ctest-vn-51819365 is not present in Agent 10.0.0.22 2025-12-25 02:01:28,263 - INFO - Validated that VN ctest-vn-51819365 is not in any agent 2025-12-25 02:01:28,277 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51819365 info 2025-12-25 02:01:28,277 - INFO - Deleting VN ctest-vn-66956435 2025-12-25 02:01:28,372 - DEBUG - Response for deleting network () 2025-12-25 02:01:28,372 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3efafb0a-6b42-41d0-8a64-e559e8f220ae 2025-12-25 02:01:28,378 - DEBUG - Response Code: 404 2025-12-25 02:01:28,378 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-25 02:01:28,382 - DEBUG - Requesting: http://10.0.0.22:8082/domain/add8fa73-cb5b-49f4-b156-2078b6c2f621 2025-12-25 02:01:28,433 - DEBUG - Requesting: http://10.0.0.22:8082/project/e93720d8-58e2-49dc-8c8f-12baf01a05c3 2025-12-25 02:01:28,502 - INFO - Validated that VN ctest-vn-66956435 is not found in API Server 2025-12-25 02:01:28,512 - DEBUG - VN ctest-vn-66956435 is not present in Agent 10.0.0.22 2025-12-25 02:01:28,512 - INFO - Validated that VN ctest-vn-66956435 is not in any agent 2025-12-25 02:01:28,525 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66956435 info 2025-12-25 02:01:28,777 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:01:28,777 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-12-25 02:01:28,777 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:01:29,463 - INFO - Deleted project: ctest-TestBasicPolicy-31207442, ID : e93720d8-58e2-49dc-8c8f-12baf01a05c3