2025-12-22 02:10:03,162 - INFO - Domain Default found not creating 2025-12-22 02:10:03,364 - INFO - Project ctest-TestBasicPolicy-41851561 not found, creating it 2025-12-22 02:10:03,867 - INFO - Created Project:ctest-TestBasicPolicy-41851561, ID : 31c97cad-5014-45bd-9269-bd6e8cf89446 2025-12-22 02:10:05,543 - INFO - ================================================================================ 2025-12-22 02:10:05,543 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-22 02:10:05,543 - 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-22 02:10:05,806 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.201': '0'}} with 2025-12-22 02:10:05,806 - INFO - Initial checks done. Running the testcase now 2025-12-22 02:10:05,806 - INFO - 2025-12-22 02:10:06,448 - DEBUG - Response for create_network : {'network': {'id': '0596922f-6c4e-48f1-a734-951148d3d56f', 'name': 'ctest-vn-58332651', 'tenant_id': '31c97cad501445bd9269bd6e8cf89446', 'project_id': '31c97cad501445bd9269bd6e8cf89446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41851561', 'ctest-vn-58332651'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:10:06,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4af111c-eff9-479d-bbfd-b7f1cfff423b', 'name': '', 'tenant_id': '31c97cad501445bd9269bd6e8cf89446', 'network_id': '0596922f-6c4e-48f1-a734-951148d3d56f', 'ip_version': 4, 'cidr': '107.119.147.192/26', 'allocation_pools': [{'start': '107.119.147.194', 'end': '107.119.147.254'}], 'gateway_ip': '107.119.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.119.147.194', 'tags': [], 'project_id': '31c97cad501445bd9269bd6e8cf89446'}} 2025-12-22 02:10:06,676 - INFO - Created VN ctest-vn-58332651 2025-12-22 02:10:06,729 - DEBUG - VN ctest-vn-58332651 UUID is 0596922f-6c4e-48f1-a734-951148d3d56f 2025-12-22 02:10:07,049 - DEBUG - Response for create_network : {'network': {'id': '719fbcc9-b650-444c-bbfa-13f08f97f0e7', 'name': 'ctest-vn-07193533', 'tenant_id': '31c97cad501445bd9269bd6e8cf89446', 'project_id': '31c97cad501445bd9269bd6e8cf89446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41851561', 'ctest-vn-07193533'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:10:07,211 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c6af5b5-e952-4fd0-98c1-8b9d4c86d905', 'name': '', 'tenant_id': '31c97cad501445bd9269bd6e8cf89446', 'network_id': '719fbcc9-b650-444c-bbfa-13f08f97f0e7', 'ip_version': 4, 'cidr': '13.220.173.64/26', 'allocation_pools': [{'start': '13.220.173.66', 'end': '13.220.173.126'}], 'gateway_ip': '13.220.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.220.173.66', 'tags': [], 'project_id': '31c97cad501445bd9269bd6e8cf89446'}} 2025-12-22 02:10:07,230 - INFO - Created VN ctest-vn-07193533 2025-12-22 02:10:07,281 - DEBUG - VN ctest-vn-07193533 UUID is 719fbcc9-b650-444c-bbfa-13f08f97f0e7 2025-12-22 02:10:07,393 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-58332651, 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-41851561:ctest-vn-07193533, 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-22 02:10:07,688 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0596922f-6c4e-48f1-a734-951148d3d56f', 'name': 'ctest-vn-58332651', 'tenant_id': '31c97cad501445bd9269bd6e8cf89446', 'project_id': '31c97cad501445bd9269bd6e8cf89446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a4af111c-eff9-479d-bbfd-b7f1cfff423b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41851561', 'ctest-vn-58332651'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41851561', 'ctest-policy-allow-all-22342115']], 'subnet_ipam': [{'subnet_cidr': '107.119.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:10:07,926 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '719fbcc9-b650-444c-bbfa-13f08f97f0e7', 'name': 'ctest-vn-07193533', 'tenant_id': '31c97cad501445bd9269bd6e8cf89446', 'project_id': '31c97cad501445bd9269bd6e8cf89446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c6af5b5-e952-4fd0-98c1-8b9d4c86d905'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41851561', 'ctest-vn-07193533'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41851561', 'ctest-policy-allow-all-22342115']], 'subnet_ipam': [{'subnet_cidr': '13.220.173.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:10:08,093 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-12-22 02:10:08,434 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-12-22 02:10:08,470 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b07d984a-265b-499c-82d6-02806ee46735 2025-12-22 02:10:08,484 - DEBUG - Requesting: http://10.0.0.57:8082/project/31c97cad-5014-45bd-9269-bd6e8cf89446 2025-12-22 02:10:08,559 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0596922f-6c4e-48f1-a734-951148d3d56f 2025-12-22 02:10:08,570 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0596922f-6c4e-48f1-a734-951148d3d56f 2025-12-22 02:10:08,579 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/84185cd6-6c3d-42c6-9cc3-10752f1d3594 2025-12-22 02:10:08,586 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/84185cd6-6c3d-42c6-9cc3-10752f1d3594 2025-12-22 02:10:08,615 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/00faa98f-9e94-4019-8801-31dd9cf2f8f4 2025-12-22 02:10:08,622 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 02:10:08,622 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0596922f-6c4e-48f1-a734-951148d3d56f 2025-12-22 02:10:08,631 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/84185cd6-6c3d-42c6-9cc3-10752f1d3594 2025-12-22 02:10:08,645 - INFO - Verified VN network id 11 for VN 0596922f-6c4e-48f1-a734-951148d3d56f 2025-12-22 02:10:08,645 - INFO - Verifications in API Server for VN ctest-vn-58332651 passed 2025-12-22 02:10:08,645 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0596922f-6c4e-48f1-a734-951148d3d56f 2025-12-22 02:10:08,654 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/84185cd6-6c3d-42c6-9cc3-10752f1d3594 2025-12-22 02:10:08,664 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/84185cd6-6c3d-42c6-9cc3-10752f1d3594 2025-12-22 02:10:08,670 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/00faa98f-9e94-4019-8801-31dd9cf2f8f4 2025-12-22 02:10:08,682 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-58332651', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41851561', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '402669949074426097', 'uuid-lslong': '12048418804591744367'}, 'enable': 'true', 'created': '2025-12-22T02:10:06', 'last-modified': '2025-12-22T02:10:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019741'} 2025-12-22 02:10:08,688 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 02:10:08,689 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58332651 passed 2025-12-22 02:10:08,689 - DEBUG - ====Verifying policy data for ctest-vn-58332651 in API_Server ====== 2025-12-22 02:10:08,689 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-12-22 02:10:08,694 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b07d984a-265b-499c-82d6-02806ee46735 2025-12-22 02:10:08,706 - DEBUG - Requesting: http://10.0.0.57:8082/project/31c97cad-5014-45bd-9269-bd6e8cf89446 2025-12-22 02:10:08,774 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/0596922f-6c4e-48f1-a734-951148d3d56f 2025-12-22 02:10:08,784 - DEBUG - ==>Verifying data for policy with id: ded77d44-abee-4c73-b6ed-5dd7ed4ba33d, fqn: ['default-domain', 'ctest-TestBasicPolicy-41851561', 'ctest-policy-allow-all-22342115'] 2025-12-22 02:10:08,784 - INFO - VN ctest-vn-58332651 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 02:10:08,784 - DEBUG - Verifying the vn in opserver 2025-12-22 02:10:08,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-58332651 virtual network link through opserver 10.0.0.57 2025-12-22 02:10:08,784 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-12-22 02:10:09,123 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-12-22 02:10:09,199 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-58332651', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-58332651?flat'} 2025-12-22 02:10:09,199 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-58332651 is found in opserver 2025-12-22 02:10:09,211 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 02:10:09,217 - DEBUG - VRF ids for VN ctest-vn-58332651: {} 2025-12-22 02:10:09,217 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-12-22 02:10:09,224 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b07d984a-265b-499c-82d6-02806ee46735 2025-12-22 02:10:09,239 - DEBUG - Requesting: http://10.0.0.57:8082/project/31c97cad-5014-45bd-9269-bd6e8cf89446 2025-12-22 02:10:09,306 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/719fbcc9-b650-444c-bbfa-13f08f97f0e7 2025-12-22 02:10:09,319 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/719fbcc9-b650-444c-bbfa-13f08f97f0e7 2025-12-22 02:10:09,329 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8aadb9e6-c3b1-4147-a874-7b0cc95fe61f 2025-12-22 02:10:09,337 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8aadb9e6-c3b1-4147-a874-7b0cc95fe61f 2025-12-22 02:10:09,346 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/27a635cf-d4aa-4c21-b1b1-3de2ae0cf833 2025-12-22 02:10:09,353 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 02:10:09,353 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/719fbcc9-b650-444c-bbfa-13f08f97f0e7 2025-12-22 02:10:09,364 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8aadb9e6-c3b1-4147-a874-7b0cc95fe61f 2025-12-22 02:10:09,380 - INFO - Verified VN network id 12 for VN 719fbcc9-b650-444c-bbfa-13f08f97f0e7 2025-12-22 02:10:09,380 - INFO - Verifications in API Server for VN ctest-vn-07193533 passed 2025-12-22 02:10:09,380 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/719fbcc9-b650-444c-bbfa-13f08f97f0e7 2025-12-22 02:10:09,389 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8aadb9e6-c3b1-4147-a874-7b0cc95fe61f 2025-12-22 02:10:09,395 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8aadb9e6-c3b1-4147-a874-7b0cc95fe61f 2025-12-22 02:10:09,402 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/27a635cf-d4aa-4c21-b1b1-3de2ae0cf833 2025-12-22 02:10:09,414 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-07193533', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41851561', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8187470222116013132', 'uuid-lslong': '13545160753192366311'}, 'enable': 'true', 'created': '2025-12-22T02:10:07', 'last-modified': '2025-12-22T02:10:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.513593'} 2025-12-22 02:10:09,420 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 02:10:09,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07193533 passed 2025-12-22 02:10:09,421 - DEBUG - ====Verifying policy data for ctest-vn-07193533 in API_Server ====== 2025-12-22 02:10:09,421 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-12-22 02:10:09,427 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b07d984a-265b-499c-82d6-02806ee46735 2025-12-22 02:10:09,437 - DEBUG - Requesting: http://10.0.0.57:8082/project/31c97cad-5014-45bd-9269-bd6e8cf89446 2025-12-22 02:10:09,506 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/719fbcc9-b650-444c-bbfa-13f08f97f0e7 2025-12-22 02:10:09,515 - DEBUG - ==>Verifying data for policy with id: ded77d44-abee-4c73-b6ed-5dd7ed4ba33d, fqn: ['default-domain', 'ctest-TestBasicPolicy-41851561', 'ctest-policy-allow-all-22342115'] 2025-12-22 02:10:09,515 - INFO - VN ctest-vn-07193533 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 02:10:09,515 - DEBUG - Verifying the vn in opserver 2025-12-22 02:10:09,515 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-07193533 virtual network link through opserver 10.0.0.57 2025-12-22 02:10:09,515 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-12-22 02:10:09,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-07193533', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-07193533?flat'} 2025-12-22 02:10:09,525 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-07193533 is found in opserver 2025-12-22 02:10:09,536 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 02:10:09,541 - DEBUG - VRF ids for VN ctest-vn-07193533: {} 2025-12-22 02:10:09,601 - DEBUG - Services list from nova: [, , ] 2025-12-22 02:10:10,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4914-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4914-1) 2025-12-22 02:10:11,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4914-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4914-1) 2025-12-22 02:10:11,984 - INFO - Waiting for VM ctest-TestBasicPolicy-41851561-21987912 to be up.. 2025-12-22 02:10:12,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 02:10:17,165 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:10:17,165 - INFO - VM name : ctest-TestBasicPolicy-41851561-21987912 2025-12-22 02:10:17,248 - DEBUG - VM ctest-TestBasicPolicy-41851561-21987912 ID is 733c8fc0-a32c-44a1-9ad2-341deef7c71b 2025-12-22 02:10:17,269 - DEBUG - VM ctest-TestBasicPolicy-41851561-21987912 launched on Node cn-jenkins-deploy-platform-ansible-os-4914-1 2025-12-22 02:10:17,352 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/733c8fc0-a32c-44a1-9ad2-341deef7c71b 2025-12-22 02:10:17,361 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8dd2e3e8-4fd9-44d9-a757-758ed3885bb8 2025-12-22 02:10:20,639 - 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 1030ms') 2025-12-22 02:10:20,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41851561-21987912 failed! 2025-12-22 02:10:20,693 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41851561:ctest-vn-58332651 is 107.119.147.193 and allocation pool is NOT set 2025-12-22 02:10:22,766 - 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=9.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.16 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 = 8.155/8.681/9.208/0.526 ms') 2025-12-22 02:10:22,766 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41851561-21987912 passed 2025-12-22 02:10:22,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:10:22,917 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41851561-21987912, IP 107.119.147.195, Port 22 2025-12-22 02:10:23,083 - DEBUG - VM ctest-TestBasicPolicy-41851561-21987912 is ready for SSH connections 2025-12-22 02:10:23,083 - INFO - Waiting for VM ctest-TestBasicPolicy-41851561-13780888 to be up.. 2025-12-22 02:10:23,184 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:10:23,184 - INFO - VM name : ctest-TestBasicPolicy-41851561-13780888 2025-12-22 02:10:23,272 - DEBUG - VM ctest-TestBasicPolicy-41851561-13780888 ID is 1bd432ff-5816-48ac-8dd0-af4f29dd3df8 2025-12-22 02:10:23,272 - DEBUG - VM ctest-TestBasicPolicy-41851561-13780888 launched on Node cn-jenkins-deploy-platform-ansible-os-4914-1 2025-12-22 02:10:23,348 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1bd432ff-5816-48ac-8dd0-af4f29dd3df8 2025-12-22 02:10:23,359 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/84ee70e3-86a0-4140-97b5-5b4fe322baa8 2025-12-22 02:10:24,608 - 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=8.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.864 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.864/4.747/8.631/3.883 ms') 2025-12-22 02:10:24,608 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41851561-13780888 passed 2025-12-22 02:10:24,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:10:24,761 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41851561-13780888, IP 13.220.173.67, Port 22 2025-12-22 02:10:24,926 - DEBUG - VM ctest-TestBasicPolicy-41851561-13780888 is ready for SSH connections 2025-12-22 02:10:24,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:10:24,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.220.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-12-22 02:10:24,926 - DEBUG - ping -s 56 -c 3 -W 1 13.220.173.67 2025-12-22 02:10:29,049 - DEBUG - PING 13.220.173.67 (13.220.173.67): 56 data bytes 64 bytes from 13.220.173.67: seq=0 ttl=63 time=3.626 ms 64 bytes from 13.220.173.67: seq=1 ttl=63 time=0.931 ms 64 bytes from 13.220.173.67: seq=2 ttl=63 time=1.023 ms --- 13.220.173.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/1.860/3.626 ms 2025-12-22 02:10:29,049 - INFO - Ping to IP 13.220.173.67 from VM ctest-TestBasicPolicy-41851561-21987912 passed 2025-12-22 02:10:29,245 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ded77d44-abee-4c73-b6ed-5dd7ed4ba33d", "href": "http://10.0.0.57:8082/network-policy/ded77d44-abee-4c73-b6ed-5dd7ed4ba33d"}} 2025-12-22 02:10:29,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:10:29,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.220.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-12-22 02:10:29,245 - DEBUG - ping -s 56 -c 3 -W 1 13.220.173.67 2025-12-22 02:10:32,492 - DEBUG - PING 13.220.173.67 (13.220.173.67): 56 data bytes --- 13.220.173.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 02:10:32,492 - WARNING - Ping to IP 13.220.173.67 from VM ctest-TestBasicPolicy-41851561-21987912 failed 2025-12-22 02:10:32,492 - INFO - Deleting VM ctest-TestBasicPolicy-41851561-13780888 2025-12-22 02:10:32,569 - INFO - Deleting VM ctest-TestBasicPolicy-41851561-21987912 2025-12-22 02:10:32,988 - INFO - Deleted policy ctest-policy-allow-all-22342115 2025-12-22 02:10:32,989 - INFO - Deleting VN ctest-vn-07193533 2025-12-22 02:10:33,038 - DEBUG - VN 719fbcc9-b650-444c-bbfa-13f08f97f0e7 still in use: Unable to complete operation on network 719fbcc9-b650-444c-bbfa-13f08f97f0e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a58dd92c-0ef7-4385-9508-b7b9d6097ed1'] 2025-12-22 02:10:33,038 - WARNING - Deleting VN ctest-vn-07193533 failed..Will retry 2025-12-22 02:10:35,176 - DEBUG - Response for deleting network () 2025-12-22 02:10:35,176 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/8aadb9e6-c3b1-4147-a874-7b0cc95fe61f 2025-12-22 02:10:35,181 - DEBUG - Response Code: 404 2025-12-22 02:10:35,182 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-12-22 02:10:35,187 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b07d984a-265b-499c-82d6-02806ee46735 2025-12-22 02:10:35,243 - DEBUG - Requesting: http://10.0.0.57:8082/project/31c97cad-5014-45bd-9269-bd6e8cf89446 2025-12-22 02:10:35,315 - INFO - Validated that VN ctest-vn-07193533 is not found in API Server 2025-12-22 02:10:35,325 - DEBUG - VN ctest-vn-07193533 is not present in Agent 10.0.0.57 2025-12-22 02:10:35,325 - INFO - Validated that VN ctest-vn-07193533 is not in any agent 2025-12-22 02:10:35,340 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07193533 info 2025-12-22 02:10:35,340 - INFO - Deleting VN ctest-vn-58332651 2025-12-22 02:10:35,448 - DEBUG - Response for deleting network () 2025-12-22 02:10:35,448 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/84185cd6-6c3d-42c6-9cc3-10752f1d3594 2025-12-22 02:10:35,455 - DEBUG - Response Code: 404 2025-12-22 02:10:35,456 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-12-22 02:10:35,461 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b07d984a-265b-499c-82d6-02806ee46735 2025-12-22 02:10:35,515 - DEBUG - Requesting: http://10.0.0.57:8082/project/31c97cad-5014-45bd-9269-bd6e8cf89446 2025-12-22 02:10:35,594 - INFO - Validated that VN ctest-vn-58332651 is not found in API Server 2025-12-22 02:10:35,605 - DEBUG - VN ctest-vn-58332651 is not present in Agent 10.0.0.57 2025-12-22 02:10:35,605 - INFO - Validated that VN ctest-vn-58332651 is not in any agent 2025-12-22 02:10:35,621 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58332651 info 2025-12-22 02:10:35,878 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:10:35,878 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-22 02:10:35,878 - INFO - -------------------------------------------------------------------------------- 2025-12-22 02:10:36,611 - INFO - Deleted project: ctest-TestBasicPolicy-41851561, ID : 31c97cad-5014-45bd-9269-bd6e8cf89446