2025-10-07 19:12:41,976 - INFO - Domain Default found not creating 2025-10-07 19:12:42,110 - INFO - Project ctest-TestBasicPolicy-23161155 not found, creating it 2025-10-07 19:12:42,540 - INFO - Created Project:ctest-TestBasicPolicy-23161155, ID : 5594558e-7fef-4530-aa41-522dd7ba54d6 2025-10-07 19:12:43,914 - INFO - ================================================================================ 2025-10-07 19:12:43,914 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-07 19:12:43,914 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-07 19:12:44,173 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-07 19:12:44,173 - INFO - Initial checks done. Running the testcase now 2025-10-07 19:12:44,173 - INFO - 2025-10-07 19:12:44,691 - DEBUG - Response for create_network : {'network': {'id': '45d21212-bbd4-4ad1-b079-88fc1e087ccc', 'name': 'ctest-vn-99654886', 'tenant_id': '5594558e7fef4530aa41522dd7ba54d6', 'project_id': '5594558e7fef4530aa41522dd7ba54d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23161155', 'ctest-vn-99654886'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 19:12:44,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e9ea23e-3d91-48ac-8f0d-d74d6ab01bac', 'name': '', 'tenant_id': '5594558e7fef4530aa41522dd7ba54d6', 'network_id': '45d21212-bbd4-4ad1-b079-88fc1e087ccc', 'ip_version': 4, 'cidr': '197.140.106.192/26', 'allocation_pools': [{'start': '197.140.106.194', 'end': '197.140.106.254'}], 'gateway_ip': '197.140.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.140.106.194', 'tags': [], 'project_id': '5594558e7fef4530aa41522dd7ba54d6'}} 2025-10-07 19:12:44,895 - INFO - Created VN ctest-vn-99654886 2025-10-07 19:12:44,948 - DEBUG - VN ctest-vn-99654886 UUID is 45d21212-bbd4-4ad1-b079-88fc1e087ccc 2025-10-07 19:12:45,264 - DEBUG - Response for create_network : {'network': {'id': '49a8dfde-2709-4d94-8c47-19d67d3e20d5', 'name': 'ctest-vn-15113301', 'tenant_id': '5594558e7fef4530aa41522dd7ba54d6', 'project_id': '5594558e7fef4530aa41522dd7ba54d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23161155', 'ctest-vn-15113301'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 19:12:45,452 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a97cc7ce-dda9-46c9-933e-74a12e0973b4', 'name': '', 'tenant_id': '5594558e7fef4530aa41522dd7ba54d6', 'network_id': '49a8dfde-2709-4d94-8c47-19d67d3e20d5', 'ip_version': 4, 'cidr': '176.116.88.192/26', 'allocation_pools': [{'start': '176.116.88.194', 'end': '176.116.88.254'}], 'gateway_ip': '176.116.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.116.88.194', 'tags': [], 'project_id': '5594558e7fef4530aa41522dd7ba54d6'}} 2025-10-07 19:12:45,467 - INFO - Created VN ctest-vn-15113301 2025-10-07 19:12:45,520 - DEBUG - VN ctest-vn-15113301 UUID is 49a8dfde-2709-4d94-8c47-19d67d3e20d5 2025-10-07 19:12:45,668 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-99654886, 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-23161155:ctest-vn-15113301, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-07 19:12:45,961 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45d21212-bbd4-4ad1-b079-88fc1e087ccc', 'name': 'ctest-vn-99654886', 'tenant_id': '5594558e7fef4530aa41522dd7ba54d6', 'project_id': '5594558e7fef4530aa41522dd7ba54d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e9ea23e-3d91-48ac-8f0d-d74d6ab01bac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23161155', 'ctest-vn-99654886'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23161155', 'ctest-policy-allow-all-25008057']], 'subnet_ipam': [{'subnet_cidr': '197.140.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-07 19:12:46,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '49a8dfde-2709-4d94-8c47-19d67d3e20d5', 'name': 'ctest-vn-15113301', 'tenant_id': '5594558e7fef4530aa41522dd7ba54d6', 'project_id': '5594558e7fef4530aa41522dd7ba54d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a97cc7ce-dda9-46c9-933e-74a12e0973b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23161155', 'ctest-vn-15113301'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23161155', 'ctest-policy-allow-all-25008057']], 'subnet_ipam': [{'subnet_cidr': '176.116.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-07 19:12:46,376 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-07 19:12:46,671 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-07 19:12:46,698 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cf7c0f16-67db-492b-b28a-02d68f92f04a 2025-10-07 19:12:46,709 - DEBUG - Requesting: http://10.0.0.27:8082/project/5594558e-7fef-4530-aa41-522dd7ba54d6 2025-10-07 19:12:46,778 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45d21212-bbd4-4ad1-b079-88fc1e087ccc 2025-10-07 19:12:46,789 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45d21212-bbd4-4ad1-b079-88fc1e087ccc 2025-10-07 19:12:46,797 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/45327db0-f392-4746-88e8-bea32db777da 2025-10-07 19:12:46,803 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/45327db0-f392-4746-88e8-bea32db777da 2025-10-07 19:12:46,809 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/868b1268-0895-4961-ab0e-7bbbc6f0080e 2025-10-07 19:12:46,814 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-07 19:12:46,814 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45d21212-bbd4-4ad1-b079-88fc1e087ccc 2025-10-07 19:12:46,822 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/45327db0-f392-4746-88e8-bea32db777da 2025-10-07 19:12:46,836 - INFO - Verified VN network id 12 for VN 45d21212-bbd4-4ad1-b079-88fc1e087ccc 2025-10-07 19:12:46,836 - INFO - Verifications in API Server for VN ctest-vn-99654886 passed 2025-10-07 19:12:46,836 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45d21212-bbd4-4ad1-b079-88fc1e087ccc 2025-10-07 19:12:46,847 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/45327db0-f392-4746-88e8-bea32db777da 2025-10-07 19:12:46,854 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/45327db0-f392-4746-88e8-bea32db777da 2025-10-07 19:12:46,861 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/868b1268-0895-4961-ab0e-7bbbc6f0080e 2025-10-07 19:12:46,872 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-99654886', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23161155', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5031103605396228817', 'uuid-lslong': '12716345639274314956'}, 'enable': 'true', 'created': '2025-10-07T19:12:44', 'last-modified': '2025-10-07T19:12:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938872'} 2025-10-07 19:12:46,878 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-07 19:12:46,878 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99654886 passed 2025-10-07 19:12:46,878 - DEBUG - ====Verifying policy data for ctest-vn-99654886 in API_Server ====== 2025-10-07 19:12:46,878 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-07 19:12:46,883 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cf7c0f16-67db-492b-b28a-02d68f92f04a 2025-10-07 19:12:46,892 - DEBUG - Requesting: http://10.0.0.27:8082/project/5594558e-7fef-4530-aa41-522dd7ba54d6 2025-10-07 19:12:46,960 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45d21212-bbd4-4ad1-b079-88fc1e087ccc 2025-10-07 19:12:46,967 - DEBUG - ==>Verifying data for policy with id: b1b8409b-9eb7-4651-8a68-1e4fd60dffd1, fqn: ['default-domain', 'ctest-TestBasicPolicy-23161155', 'ctest-policy-allow-all-25008057'] 2025-10-07 19:12:46,968 - INFO - VN ctest-vn-99654886 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-07 19:12:46,968 - DEBUG - Verifying the vn in opserver 2025-10-07 19:12:46,968 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-99654886 virtual network link through opserver 10.0.0.27 2025-10-07 19:12:46,968 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-07 19:12:47,256 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-07 19:12:47,305 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-99654886', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-99654886?flat'} 2025-10-07 19:12:47,305 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-99654886 is found in opserver 2025-10-07 19:12:47,314 - DEBUG - Do not have enough data to verify VN in agent 2025-10-07 19:12:47,318 - DEBUG - VRF ids for VN ctest-vn-99654886: {} 2025-10-07 19:12:47,318 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-07 19:12:47,323 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cf7c0f16-67db-492b-b28a-02d68f92f04a 2025-10-07 19:12:47,332 - DEBUG - Requesting: http://10.0.0.27:8082/project/5594558e-7fef-4530-aa41-522dd7ba54d6 2025-10-07 19:12:47,399 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49a8dfde-2709-4d94-8c47-19d67d3e20d5 2025-10-07 19:12:47,409 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49a8dfde-2709-4d94-8c47-19d67d3e20d5 2025-10-07 19:12:47,418 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4aca1482-4113-47fc-8f6b-b936176df0ca 2025-10-07 19:12:47,425 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4aca1482-4113-47fc-8f6b-b936176df0ca 2025-10-07 19:12:47,431 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/062c944a-a9dc-4ddc-a064-779eb67c6074 2025-10-07 19:12:47,436 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-07 19:12:47,436 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49a8dfde-2709-4d94-8c47-19d67d3e20d5 2025-10-07 19:12:47,444 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4aca1482-4113-47fc-8f6b-b936176df0ca 2025-10-07 19:12:47,457 - INFO - Verified VN network id 13 for VN 49a8dfde-2709-4d94-8c47-19d67d3e20d5 2025-10-07 19:12:47,458 - INFO - Verifications in API Server for VN ctest-vn-15113301 passed 2025-10-07 19:12:47,458 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49a8dfde-2709-4d94-8c47-19d67d3e20d5 2025-10-07 19:12:47,466 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4aca1482-4113-47fc-8f6b-b936176df0ca 2025-10-07 19:12:47,472 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4aca1482-4113-47fc-8f6b-b936176df0ca 2025-10-07 19:12:47,478 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/062c944a-a9dc-4ddc-a064-779eb67c6074 2025-10-07 19:12:47,488 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-15113301', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23161155', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5307738306086784404', 'uuid-lslong': '10108076297671286997'}, 'enable': 'true', 'created': '2025-10-07T19:12:45', 'last-modified': '2025-10-07T19:12:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327211'} 2025-10-07 19:12:47,493 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-07 19:12:47,493 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15113301 passed 2025-10-07 19:12:47,493 - DEBUG - ====Verifying policy data for ctest-vn-15113301 in API_Server ====== 2025-10-07 19:12:47,493 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-07 19:12:47,499 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cf7c0f16-67db-492b-b28a-02d68f92f04a 2025-10-07 19:12:47,508 - DEBUG - Requesting: http://10.0.0.27:8082/project/5594558e-7fef-4530-aa41-522dd7ba54d6 2025-10-07 19:12:47,582 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49a8dfde-2709-4d94-8c47-19d67d3e20d5 2025-10-07 19:12:47,592 - DEBUG - ==>Verifying data for policy with id: b1b8409b-9eb7-4651-8a68-1e4fd60dffd1, fqn: ['default-domain', 'ctest-TestBasicPolicy-23161155', 'ctest-policy-allow-all-25008057'] 2025-10-07 19:12:47,592 - INFO - VN ctest-vn-15113301 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-07 19:12:47,592 - DEBUG - Verifying the vn in opserver 2025-10-07 19:12:47,592 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-15113301 virtual network link through opserver 10.0.0.27 2025-10-07 19:12:47,592 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-07 19:12:47,602 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-15113301', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-15113301?flat'} 2025-10-07 19:12:47,602 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-15113301 is found in opserver 2025-10-07 19:12:47,613 - DEBUG - Do not have enough data to verify VN in agent 2025-10-07 19:12:47,618 - DEBUG - VRF ids for VN ctest-vn-15113301: {} 2025-10-07 19:12:47,695 - DEBUG - Services list from nova: [, , ] 2025-10-07 19:12:48,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4232-1) 2025-10-07 19:12:49,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4232-1) 2025-10-07 19:12:49,812 - INFO - Waiting for VM ctest-TestBasicPolicy-23161155-00953264 to be up.. 2025-10-07 19:12:49,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 19:12:54,958 - DEBUG - VM is in ACTIVE state now 2025-10-07 19:12:54,958 - INFO - VM name : ctest-TestBasicPolicy-23161155-00953264 2025-10-07 19:12:55,026 - DEBUG - VM ctest-TestBasicPolicy-23161155-00953264 ID is 6601241d-24c0-4d93-80e4-b2ee66507804 2025-10-07 19:12:55,044 - DEBUG - VM ctest-TestBasicPolicy-23161155-00953264 launched on Node cn-jenkins-deploy-platform-ansible-os-4232-1 2025-10-07 19:12:55,110 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6601241d-24c0-4d93-80e4-b2ee66507804 2025-10-07 19:12:55,118 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9a9db243-18f0-4a5d-baf8-b924efa3434c 2025-10-07 19:12:58,385 - 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 1035ms') 2025-10-07 19:12:58,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23161155-00953264 failed! 2025-10-07 19:12:58,436 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23161155:ctest-vn-99654886 is 197.140.106.193 and allocation pool is NOT set 2025-10-07 19:13:00,494 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.647/2.847/1.200 ms') 2025-10-07 19:13:00,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23161155-00953264 passed 2025-10-07 19:13:00,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:13:00,648 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23161155-00953264, IP 197.140.106.195, Port 22 2025-10-07 19:13:00,808 - DEBUG - VM ctest-TestBasicPolicy-23161155-00953264 is ready for SSH connections 2025-10-07 19:13:00,808 - INFO - Waiting for VM ctest-TestBasicPolicy-23161155-26380022 to be up.. 2025-10-07 19:13:00,878 - DEBUG - VM is in ACTIVE state now 2025-10-07 19:13:00,878 - INFO - VM name : ctest-TestBasicPolicy-23161155-26380022 2025-10-07 19:13:00,948 - DEBUG - VM ctest-TestBasicPolicy-23161155-26380022 ID is deb19ffd-c4dc-4690-bf0f-1dcd5cc81e1e 2025-10-07 19:13:00,948 - DEBUG - VM ctest-TestBasicPolicy-23161155-26380022 launched on Node cn-jenkins-deploy-platform-ansible-os-4232-1 2025-10-07 19:13:01,021 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/deb19ffd-c4dc-4690-bf0f-1dcd5cc81e1e 2025-10-07 19:13:01,031 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8ae2e895-d69b-4015-91e9-b8c898499b9f 2025-10-07 19:13:02,269 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.567/2.748/1.181 ms') 2025-10-07 19:13:02,269 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23161155-26380022 passed 2025-10-07 19:13:02,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:13:02,416 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23161155-26380022, IP 176.116.88.195, Port 22 2025-10-07 19:13:02,571 - DEBUG - VM ctest-TestBasicPolicy-23161155-26380022 is ready for SSH connections 2025-10-07 19:13:02,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:13:02,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.116.88.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-07 19:13:02,572 - DEBUG - ping -s 56 -c 3 -W 1 176.116.88.195 2025-10-07 19:13:06,558 - DEBUG - PING 176.116.88.195 (176.116.88.195): 56 data bytes 64 bytes from 176.116.88.195: seq=0 ttl=63 time=3.505 ms 64 bytes from 176.116.88.195: seq=1 ttl=63 time=0.949 ms 64 bytes from 176.116.88.195: seq=2 ttl=63 time=0.818 ms --- 176.116.88.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.757/3.505 ms 2025-10-07 19:13:06,558 - INFO - Ping to IP 176.116.88.195 from VM ctest-TestBasicPolicy-23161155-00953264 passed 2025-10-07 19:13:06,744 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b1b8409b-9eb7-4651-8a68-1e4fd60dffd1", "href": "http://10.0.0.27:8082/network-policy/b1b8409b-9eb7-4651-8a68-1e4fd60dffd1"}} 2025-10-07 19:13:06,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 19:13:06,744 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.116.88.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-07 19:13:06,744 - DEBUG - ping -s 56 -c 3 -W 1 176.116.88.195 2025-10-07 19:13:09,941 - DEBUG - PING 176.116.88.195 (176.116.88.195): 56 data bytes 64 bytes from 176.116.88.195: seq=0 ttl=63 time=1.363 ms --- 176.116.88.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.363/1.363/1.363 ms 2025-10-07 19:13:09,942 - WARNING - Ping to IP 176.116.88.195 from VM ctest-TestBasicPolicy-23161155-00953264 failed 2025-10-07 19:13:09,942 - INFO - Deleting VM ctest-TestBasicPolicy-23161155-26380022 2025-10-07 19:13:10,005 - INFO - Deleting VM ctest-TestBasicPolicy-23161155-00953264 2025-10-07 19:13:10,350 - INFO - Deleted policy ctest-policy-allow-all-25008057 2025-10-07 19:13:10,350 - INFO - Deleting VN ctest-vn-15113301 2025-10-07 19:13:10,379 - DEBUG - VN 49a8dfde-2709-4d94-8c47-19d67d3e20d5 still in use: Unable to complete operation on network 49a8dfde-2709-4d94-8c47-19d67d3e20d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d52cccb3-fc31-4507-9e07-3e4928c46231'] 2025-10-07 19:13:10,380 - WARNING - Deleting VN ctest-vn-15113301 failed..Will retry 2025-10-07 19:13:12,479 - DEBUG - Response for deleting network () 2025-10-07 19:13:12,479 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/4aca1482-4113-47fc-8f6b-b936176df0ca 2025-10-07 19:13:12,484 - DEBUG - Response Code: 404 2025-10-07 19:13:12,484 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-07 19:13:12,489 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cf7c0f16-67db-492b-b28a-02d68f92f04a 2025-10-07 19:13:12,541 - DEBUG - Requesting: http://10.0.0.27:8082/project/5594558e-7fef-4530-aa41-522dd7ba54d6 2025-10-07 19:13:12,623 - INFO - Validated that VN ctest-vn-15113301 is not found in API Server 2025-10-07 19:13:12,632 - DEBUG - VN ctest-vn-15113301 is not present in Agent 10.0.0.27 2025-10-07 19:13:12,632 - INFO - Validated that VN ctest-vn-15113301 is not in any agent 2025-10-07 19:13:12,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15113301 info 2025-10-07 19:13:12,646 - INFO - Deleting VN ctest-vn-99654886 2025-10-07 19:13:12,747 - DEBUG - Response for deleting network () 2025-10-07 19:13:12,747 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/45327db0-f392-4746-88e8-bea32db777da 2025-10-07 19:13:12,754 - DEBUG - Response Code: 404 2025-10-07 19:13:12,755 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-07 19:13:12,759 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cf7c0f16-67db-492b-b28a-02d68f92f04a 2025-10-07 19:13:12,812 - DEBUG - Requesting: http://10.0.0.27:8082/project/5594558e-7fef-4530-aa41-522dd7ba54d6 2025-10-07 19:13:12,886 - INFO - Validated that VN ctest-vn-99654886 is not found in API Server 2025-10-07 19:13:12,896 - DEBUG - VN ctest-vn-99654886 is not present in Agent 10.0.0.27 2025-10-07 19:13:12,896 - INFO - Validated that VN ctest-vn-99654886 is not in any agent 2025-10-07 19:13:12,910 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99654886 info 2025-10-07 19:13:13,201 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 19:13:13,201 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-07 19:13:13,201 - INFO - -------------------------------------------------------------------------------- 2025-10-07 19:13:13,880 - INFO - Deleted project: ctest-TestBasicPolicy-23161155, ID : 5594558e-7fef-4530-aa41-522dd7ba54d6