2025-07-04 15:18:22,536 - INFO - Domain Default found not creating 2025-07-04 15:18:22,675 - INFO - Project ctest-TestBasicPolicy-47329234 not found, creating it 2025-07-04 15:18:23,147 - INFO - Created Project:ctest-TestBasicPolicy-47329234, ID : 65a473ab-fc9a-4fa6-92d6-b5c49472cdaf 2025-07-04 15:18:24,603 - INFO - ================================================================================ 2025-07-04 15:18:24,603 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-04 15:18:24,603 - 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-07-04 15:18:24,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-07-04 15:18:24,860 - INFO - Initial checks done. Running the testcase now 2025-07-04 15:18:24,860 - INFO - 2025-07-04 15:18:25,400 - DEBUG - Response for create_network : {'network': {'id': '87c630d0-8d63-402c-940c-4e18b95e148a', 'name': 'ctest-vn-52208636', 'tenant_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'project_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47329234', 'ctest-vn-52208636'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:18:25,702 - DEBUG - Response for create_subnet : {'subnet': {'id': '09dc7b5b-3321-4ede-9c4f-b0039e177171', 'name': '', 'tenant_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'network_id': '87c630d0-8d63-402c-940c-4e18b95e148a', 'ip_version': 4, 'cidr': '110.168.91.0/26', 'allocation_pools': [{'start': '110.168.91.2', 'end': '110.168.91.62'}], 'gateway_ip': '110.168.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.168.91.2', 'tags': [], 'project_id': '65a473abfc9a4fa692d6b5c49472cdaf'}} 2025-07-04 15:18:25,726 - INFO - Created VN ctest-vn-52208636 2025-07-04 15:18:25,782 - DEBUG - VN ctest-vn-52208636 UUID is 87c630d0-8d63-402c-940c-4e18b95e148a 2025-07-04 15:18:26,096 - DEBUG - Response for create_network : {'network': {'id': '65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397', 'name': 'ctest-vn-47751798', 'tenant_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'project_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47329234', 'ctest-vn-47751798'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:18:26,329 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad22293c-d7b0-44b2-9a9c-5a01ba29d924', 'name': '', 'tenant_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'network_id': '65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397', 'ip_version': 4, 'cidr': '3.56.186.64/26', 'allocation_pools': [{'start': '3.56.186.66', 'end': '3.56.186.126'}], 'gateway_ip': '3.56.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.56.186.66', 'tags': [], 'project_id': '65a473abfc9a4fa692d6b5c49472cdaf'}} 2025-07-04 15:18:26,348 - INFO - Created VN ctest-vn-47751798 2025-07-04 15:18:26,402 - DEBUG - VN ctest-vn-47751798 UUID is 65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397 2025-07-04 15:18:26,517 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-52208636, 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-47329234:ctest-vn-47751798, 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-07-04 15:18:26,824 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87c630d0-8d63-402c-940c-4e18b95e148a', 'name': 'ctest-vn-52208636', 'tenant_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'project_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09dc7b5b-3321-4ede-9c4f-b0039e177171'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47329234', 'ctest-vn-52208636'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47329234', 'ctest-policy-allow-all-22389063']], 'subnet_ipam': [{'subnet_cidr': '110.168.91.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:18:27,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397', 'name': 'ctest-vn-47751798', 'tenant_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'project_id': '65a473abfc9a4fa692d6b5c49472cdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad22293c-d7b0-44b2-9a9c-5a01ba29d924'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47329234', 'ctest-vn-47751798'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47329234', 'ctest-policy-allow-all-22389063']], 'subnet_ipam': [{'subnet_cidr': '3.56.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:18:27,238 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-04 15:18:27,527 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-04 15:18:27,555 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cf3f66b7-9e66-4496-94dd-94a304315ec4 2025-07-04 15:18:27,570 - DEBUG - Requesting: http://10.0.0.22:8082/project/65a473ab-fc9a-4fa6-92d6-b5c49472cdaf 2025-07-04 15:18:27,650 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87c630d0-8d63-402c-940c-4e18b95e148a 2025-07-04 15:18:27,663 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87c630d0-8d63-402c-940c-4e18b95e148a 2025-07-04 15:18:27,676 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a48c79da-2c2b-4ac0-b79e-14b3f9f76bda 2025-07-04 15:18:27,685 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a48c79da-2c2b-4ac0-b79e-14b3f9f76bda 2025-07-04 15:18:27,695 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/85e79308-c765-423a-b812-31fb3685ba3c 2025-07-04 15:18:27,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-04 15:18:27,702 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87c630d0-8d63-402c-940c-4e18b95e148a 2025-07-04 15:18:27,715 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a48c79da-2c2b-4ac0-b79e-14b3f9f76bda 2025-07-04 15:18:27,732 - INFO - Verified VN network id 8 for VN 87c630d0-8d63-402c-940c-4e18b95e148a 2025-07-04 15:18:27,732 - INFO - Verifications in API Server for VN ctest-vn-52208636 passed 2025-07-04 15:18:27,732 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87c630d0-8d63-402c-940c-4e18b95e148a 2025-07-04 15:18:27,743 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a48c79da-2c2b-4ac0-b79e-14b3f9f76bda 2025-07-04 15:18:27,752 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a48c79da-2c2b-4ac0-b79e-14b3f9f76bda 2025-07-04 15:18:27,761 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/85e79308-c765-423a-b812-31fb3685ba3c 2025-07-04 15:18:27,777 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-52208636', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47329234', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9783560912792404012', 'uuid-lslong': '10667987485429994634'}, 'enable': 'true', 'created': '2025-07-04T15:18:25', 'last-modified': '2025-07-04T15:18:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975672'} 2025-07-04 15:18:27,786 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-04 15:18:27,787 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52208636 passed 2025-07-04 15:18:27,787 - DEBUG - ====Verifying policy data for ctest-vn-52208636 in API_Server ====== 2025-07-04 15:18:27,787 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-04 15:18:27,794 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cf3f66b7-9e66-4496-94dd-94a304315ec4 2025-07-04 15:18:27,807 - DEBUG - Requesting: http://10.0.0.22:8082/project/65a473ab-fc9a-4fa6-92d6-b5c49472cdaf 2025-07-04 15:18:27,875 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87c630d0-8d63-402c-940c-4e18b95e148a 2025-07-04 15:18:27,885 - DEBUG - ==>Verifying data for policy with id: 8179f679-1d94-4c50-b371-9caccf02cf5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-47329234', 'ctest-policy-allow-all-22389063'] 2025-07-04 15:18:27,885 - INFO - VN ctest-vn-52208636 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-04 15:18:27,885 - DEBUG - Verifying the vn in opserver 2025-07-04 15:18:27,885 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-52208636 virtual network link through opserver 10.0.0.22 2025-07-04 15:18:27,885 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-07-04 15:18:28,174 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-07-04 15:18:28,227 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-52208636', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-52208636?flat'} 2025-07-04 15:18:28,227 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-52208636 is found in opserver 2025-07-04 15:18:28,238 - DEBUG - Do not have enough data to verify VN in agent 2025-07-04 15:18:28,243 - DEBUG - VRF ids for VN ctest-vn-52208636: {} 2025-07-04 15:18:28,243 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-04 15:18:28,249 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cf3f66b7-9e66-4496-94dd-94a304315ec4 2025-07-04 15:18:28,263 - DEBUG - Requesting: http://10.0.0.22:8082/project/65a473ab-fc9a-4fa6-92d6-b5c49472cdaf 2025-07-04 15:18:28,342 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397 2025-07-04 15:18:28,355 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397 2025-07-04 15:18:28,369 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b0b73adb-e83f-4be4-82cb-a20a0c906e1d 2025-07-04 15:18:28,378 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b0b73adb-e83f-4be4-82cb-a20a0c906e1d 2025-07-04 15:18:28,387 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d0b60992-7cd9-46e3-b7e3-c9aab68aad31 2025-07-04 15:18:28,396 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-04 15:18:28,396 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397 2025-07-04 15:18:28,410 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b0b73adb-e83f-4be4-82cb-a20a0c906e1d 2025-07-04 15:18:28,427 - INFO - Verified VN network id 9 for VN 65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397 2025-07-04 15:18:28,427 - INFO - Verifications in API Server for VN ctest-vn-47751798 passed 2025-07-04 15:18:28,427 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397 2025-07-04 15:18:28,439 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b0b73adb-e83f-4be4-82cb-a20a0c906e1d 2025-07-04 15:18:28,449 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b0b73adb-e83f-4be4-82cb-a20a0c906e1d 2025-07-04 15:18:28,456 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d0b60992-7cd9-46e3-b7e3-c9aab68aad31 2025-07-04 15:18:28,471 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-47751798', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47329234', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7323044411797949112', 'uuid-lslong': '11290631919168254871'}, 'enable': 'true', 'created': '2025-07-04T15:18:26', 'last-modified': '2025-07-04T15:18:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.436040'} 2025-07-04 15:18:28,477 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-04 15:18:28,477 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47751798 passed 2025-07-04 15:18:28,478 - DEBUG - ====Verifying policy data for ctest-vn-47751798 in API_Server ====== 2025-07-04 15:18:28,478 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-04 15:18:28,486 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cf3f66b7-9e66-4496-94dd-94a304315ec4 2025-07-04 15:18:28,502 - DEBUG - Requesting: http://10.0.0.22:8082/project/65a473ab-fc9a-4fa6-92d6-b5c49472cdaf 2025-07-04 15:18:28,573 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397 2025-07-04 15:18:28,583 - DEBUG - ==>Verifying data for policy with id: 8179f679-1d94-4c50-b371-9caccf02cf5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-47329234', 'ctest-policy-allow-all-22389063'] 2025-07-04 15:18:28,583 - INFO - VN ctest-vn-47751798 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-04 15:18:28,583 - DEBUG - Verifying the vn in opserver 2025-07-04 15:18:28,583 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-47751798 virtual network link through opserver 10.0.0.22 2025-07-04 15:18:28,583 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-07-04 15:18:28,595 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-47751798', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-47751798?flat'} 2025-07-04 15:18:28,595 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-47751798 is found in opserver 2025-07-04 15:18:28,606 - DEBUG - Do not have enough data to verify VN in agent 2025-07-04 15:18:28,611 - DEBUG - VRF ids for VN ctest-vn-47751798: {} 2025-07-04 15:18:28,668 - DEBUG - Services list from nova: [, , ] 2025-07-04 15:18:29,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3597-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3597-1) 2025-07-04 15:18:30,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3597-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3597-1) 2025-07-04 15:18:30,973 - INFO - Waiting for VM ctest-TestBasicPolicy-47329234-72104167 to be up.. 2025-07-04 15:18:31,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-04 15:18:36,137 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:18:36,137 - INFO - VM name : ctest-TestBasicPolicy-47329234-72104167 2025-07-04 15:18:36,223 - DEBUG - VM ctest-TestBasicPolicy-47329234-72104167 ID is a5ad8db5-2976-4997-ad8d-7ed5629a7233 2025-07-04 15:18:36,243 - DEBUG - VM ctest-TestBasicPolicy-47329234-72104167 launched on Node cn-jenkins-deploy-platform-ansible-os-3597-1 2025-07-04 15:18:36,323 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a5ad8db5-2976-4997-ad8d-7ed5629a7233 2025-07-04 15:18:36,333 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0137c751-e1cc-45dc-a440-a9239e26ff55 2025-07-04 15:18:39,611 - 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 1031ms') 2025-07-04 15:18:39,611 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47329234-72104167 failed! 2025-07-04 15:18:39,666 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47329234:ctest-vn-52208636 is 110.168.91.1 and allocation pool is NOT set 2025-07-04 15:18:41,722 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.887 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.887/4.969/9.052/4.082 ms') 2025-07-04 15:18:41,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47329234-72104167 passed 2025-07-04 15:18:41,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:18:41,879 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47329234-72104167, IP 110.168.91.3, Port 22 2025-07-04 15:18:42,034 - DEBUG - VM ctest-TestBasicPolicy-47329234-72104167 is ready for SSH connections 2025-07-04 15:18:42,034 - INFO - Waiting for VM ctest-TestBasicPolicy-47329234-56122163 to be up.. 2025-07-04 15:18:42,179 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:18:42,179 - INFO - VM name : ctest-TestBasicPolicy-47329234-56122163 2025-07-04 15:18:42,288 - DEBUG - VM ctest-TestBasicPolicy-47329234-56122163 ID is 08015e00-b6d5-4cba-9c3a-91edfbc9965b 2025-07-04 15:18:42,288 - DEBUG - VM ctest-TestBasicPolicy-47329234-56122163 launched on Node cn-jenkins-deploy-platform-ansible-os-3597-1 2025-07-04 15:18:42,443 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/08015e00-b6d5-4cba-9c3a-91edfbc9965b 2025-07-04 15:18:42,462 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c8614556-5db8-4c5e-974e-7dd431eadd65 2025-07-04 15:18:43,732 - 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=4.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.666 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.666/2.595/4.524/1.929 ms') 2025-07-04 15:18:43,732 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47329234-56122163 passed 2025-07-04 15:18:43,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:18:43,882 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47329234-56122163, IP 3.56.186.67, Port 22 2025-07-04 15:18:44,038 - DEBUG - VM ctest-TestBasicPolicy-47329234-56122163 is ready for SSH connections 2025-07-04 15:18:44,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:18:44,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.56.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-07-04 15:18:44,038 - DEBUG - ping -s 56 -c 3 -W 1 3.56.186.67 2025-07-04 15:18:47,733 - DEBUG - PING 3.56.186.67 (3.56.186.67): 56 data bytes 64 bytes from 3.56.186.67: seq=0 ttl=63 time=3.677 ms 64 bytes from 3.56.186.67: seq=1 ttl=63 time=0.903 ms 64 bytes from 3.56.186.67: seq=2 ttl=63 time=0.753 ms --- 3.56.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.777/3.677 ms 2025-07-04 15:18:47,733 - INFO - Ping to IP 3.56.186.67 from VM ctest-TestBasicPolicy-47329234-72104167 passed 2025-07-04 15:18:47,914 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8179f679-1d94-4c50-b371-9caccf02cf5f", "href": "http://10.0.0.22:8082/network-policy/8179f679-1d94-4c50-b371-9caccf02cf5f"}} 2025-07-04 15:18:47,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:18:47,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.56.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-07-04 15:18:47,914 - DEBUG - ping -s 56 -c 3 -W 1 3.56.186.67 2025-07-04 15:18:51,108 - DEBUG - PING 3.56.186.67 (3.56.186.67): 56 data bytes --- 3.56.186.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-04 15:18:51,109 - WARNING - Ping to IP 3.56.186.67 from VM ctest-TestBasicPolicy-47329234-72104167 failed 2025-07-04 15:18:51,109 - INFO - Deleting VM ctest-TestBasicPolicy-47329234-56122163 2025-07-04 15:18:51,174 - INFO - Deleting VM ctest-TestBasicPolicy-47329234-72104167 2025-07-04 15:18:51,552 - INFO - Deleted policy ctest-policy-allow-all-22389063 2025-07-04 15:18:51,552 - INFO - Deleting VN ctest-vn-47751798 2025-07-04 15:18:51,587 - DEBUG - VN 65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397 still in use: Unable to complete operation on network 65a0ae17-e7a0-4ab8-9cb0-61e8ffb5f397. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5762c767-d04c-464d-b424-c75947923c6f'] 2025-07-04 15:18:51,588 - WARNING - Deleting VN ctest-vn-47751798 failed..Will retry 2025-07-04 15:18:53,693 - DEBUG - Response for deleting network () 2025-07-04 15:18:53,694 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b0b73adb-e83f-4be4-82cb-a20a0c906e1d 2025-07-04 15:18:53,701 - DEBUG - Response Code: 404 2025-07-04 15:18:53,702 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-04 15:18:53,707 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cf3f66b7-9e66-4496-94dd-94a304315ec4 2025-07-04 15:18:53,765 - DEBUG - Requesting: http://10.0.0.22:8082/project/65a473ab-fc9a-4fa6-92d6-b5c49472cdaf 2025-07-04 15:18:53,844 - INFO - Validated that VN ctest-vn-47751798 is not found in API Server 2025-07-04 15:18:53,855 - DEBUG - VN ctest-vn-47751798 is not present in Agent 10.0.0.22 2025-07-04 15:18:53,855 - INFO - Validated that VN ctest-vn-47751798 is not in any agent 2025-07-04 15:18:53,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47751798 info 2025-07-04 15:18:53,871 - INFO - Deleting VN ctest-vn-52208636 2025-07-04 15:18:53,966 - DEBUG - Response for deleting network () 2025-07-04 15:18:53,967 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a48c79da-2c2b-4ac0-b79e-14b3f9f76bda 2025-07-04 15:18:53,972 - DEBUG - Response Code: 404 2025-07-04 15:18:53,972 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-07-04 15:18:53,981 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cf3f66b7-9e66-4496-94dd-94a304315ec4 2025-07-04 15:18:54,035 - DEBUG - Requesting: http://10.0.0.22:8082/project/65a473ab-fc9a-4fa6-92d6-b5c49472cdaf 2025-07-04 15:18:54,110 - INFO - Validated that VN ctest-vn-52208636 is not found in API Server 2025-07-04 15:18:54,121 - DEBUG - VN ctest-vn-52208636 is not present in Agent 10.0.0.22 2025-07-04 15:18:54,121 - INFO - Validated that VN ctest-vn-52208636 is not in any agent 2025-07-04 15:18:54,135 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52208636 info 2025-07-04 15:18:54,392 - DEBUG - No XMPP flaps were noticed during the test 2025-07-04 15:18:54,392 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-04 15:18:54,392 - INFO - -------------------------------------------------------------------------------- 2025-07-04 15:18:55,061 - INFO - Deleted project: ctest-TestBasicPolicy-47329234, ID : 65a473ab-fc9a-4fa6-92d6-b5c49472cdaf