2025-06-24 12:48:36,490 - INFO - Domain Default found not creating 2025-06-24 12:48:36,726 - INFO - Project ctest-TestBasicPolicy-77037757 not found, creating it 2025-06-24 12:48:37,254 - INFO - Created Project:ctest-TestBasicPolicy-77037757, ID : 416ce4d4-dbe1-44d7-840e-b34bab33ad83 2025-06-24 12:48:38,813 - INFO - ================================================================================ 2025-06-24 12:48:38,813 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 12:48:38,813 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-24 12:48:39,068 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.14': '0'}} with 2025-06-24 12:48:39,068 - INFO - Initial checks done. Running the testcase now 2025-06-24 12:48:39,068 - INFO - 2025-06-24 12:48:39,717 - DEBUG - Response for create_network : {'network': {'id': 'dd40f8aa-fc72-4993-8d80-ae53a97c8b60', 'name': 'ctest-vn-60083455', 'tenant_id': '416ce4d4dbe144d7840eb34bab33ad83', 'project_id': '416ce4d4dbe144d7840eb34bab33ad83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77037757', 'ctest-vn-60083455'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 12:48:39,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a47130b-ea75-4f47-92a9-71604ee26487', 'name': '', 'tenant_id': '416ce4d4dbe144d7840eb34bab33ad83', 'network_id': 'dd40f8aa-fc72-4993-8d80-ae53a97c8b60', 'ip_version': 4, 'cidr': '40.97.7.64/26', 'allocation_pools': [{'start': '40.97.7.66', 'end': '40.97.7.126'}], 'gateway_ip': '40.97.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.97.7.66', 'tags': [], 'project_id': '416ce4d4dbe144d7840eb34bab33ad83'}} 2025-06-24 12:48:39,935 - INFO - Created VN ctest-vn-60083455 2025-06-24 12:48:39,993 - DEBUG - VN ctest-vn-60083455 UUID is dd40f8aa-fc72-4993-8d80-ae53a97c8b60 2025-06-24 12:48:40,317 - DEBUG - Response for create_network : {'network': {'id': '3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d', 'name': 'ctest-vn-16274468', 'tenant_id': '416ce4d4dbe144d7840eb34bab33ad83', 'project_id': '416ce4d4dbe144d7840eb34bab33ad83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77037757', 'ctest-vn-16274468'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 12:48:40,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '4600be1c-e041-4ac1-beab-e1095159b41a', 'name': '', 'tenant_id': '416ce4d4dbe144d7840eb34bab33ad83', 'network_id': '3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d', 'ip_version': 4, 'cidr': '89.204.28.128/26', 'allocation_pools': [{'start': '89.204.28.130', 'end': '89.204.28.190'}], 'gateway_ip': '89.204.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.204.28.130', 'tags': [], 'project_id': '416ce4d4dbe144d7840eb34bab33ad83'}} 2025-06-24 12:48:40,548 - INFO - Created VN ctest-vn-16274468 2025-06-24 12:48:40,606 - DEBUG - VN ctest-vn-16274468 UUID is 3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d 2025-06-24 12:48:40,728 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-60083455, 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-77037757:ctest-vn-16274468, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-24 12:48:41,085 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd40f8aa-fc72-4993-8d80-ae53a97c8b60', 'name': 'ctest-vn-60083455', 'tenant_id': '416ce4d4dbe144d7840eb34bab33ad83', 'project_id': '416ce4d4dbe144d7840eb34bab33ad83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4a47130b-ea75-4f47-92a9-71604ee26487'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77037757', 'ctest-vn-60083455'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77037757', 'ctest-policy-allow-all-16258270']], 'subnet_ipam': [{'subnet_cidr': '40.97.7.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 12:48:41,359 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d', 'name': 'ctest-vn-16274468', 'tenant_id': '416ce4d4dbe144d7840eb34bab33ad83', 'project_id': '416ce4d4dbe144d7840eb34bab33ad83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4600be1c-e041-4ac1-beab-e1095159b41a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77037757', 'ctest-vn-16274468'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77037757', 'ctest-policy-allow-all-16258270']], 'subnet_ipam': [{'subnet_cidr': '89.204.28.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 12:48:41,529 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-24 12:48:41,854 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-24 12:48:41,903 - DEBUG - Requesting: http://10.0.0.240:8082/domain/02e3b17e-6409-408d-b2e5-c24001a2c702 2025-06-24 12:48:41,918 - DEBUG - Requesting: http://10.0.0.240:8082/project/416ce4d4-dbe1-44d7-840e-b34bab33ad83 2025-06-24 12:48:41,999 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/dd40f8aa-fc72-4993-8d80-ae53a97c8b60 2025-06-24 12:48:42,013 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/dd40f8aa-fc72-4993-8d80-ae53a97c8b60 2025-06-24 12:48:42,027 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c81c0fd1-1995-4c6d-8285-2db94197519e 2025-06-24 12:48:42,037 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c81c0fd1-1995-4c6d-8285-2db94197519e 2025-06-24 12:48:42,046 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/cec57412-3e64-48f0-b7c0-554c01ce67f9 2025-06-24 12:48:42,054 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 12:48:42,054 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/dd40f8aa-fc72-4993-8d80-ae53a97c8b60 2025-06-24 12:48:42,069 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c81c0fd1-1995-4c6d-8285-2db94197519e 2025-06-24 12:48:42,086 - INFO - Verified VN network id 8 for VN dd40f8aa-fc72-4993-8d80-ae53a97c8b60 2025-06-24 12:48:42,086 - INFO - Verifications in API Server for VN ctest-vn-60083455 passed 2025-06-24 12:48:42,086 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/dd40f8aa-fc72-4993-8d80-ae53a97c8b60 2025-06-24 12:48:42,097 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c81c0fd1-1995-4c6d-8285-2db94197519e 2025-06-24 12:48:42,106 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c81c0fd1-1995-4c6d-8285-2db94197519e 2025-06-24 12:48:42,116 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/cec57412-3e64-48f0-b7c0-554c01ce67f9 2025-06-24 12:48:42,134 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-60083455', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77037757', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15943016094155032979', 'uuid-lslong': '10196341230715833184'}, 'enable': 'true', 'created': '2025-06-24T12:48:39', 'last-modified': '2025-06-24T12:48:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.087654'} 2025-06-24 12:48:42,143 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 12:48:42,144 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60083455 passed 2025-06-24 12:48:42,144 - DEBUG - ====Verifying policy data for ctest-vn-60083455 in API_Server ====== 2025-06-24 12:48:42,144 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-24 12:48:42,152 - DEBUG - Requesting: http://10.0.0.240:8082/domain/02e3b17e-6409-408d-b2e5-c24001a2c702 2025-06-24 12:48:42,165 - DEBUG - Requesting: http://10.0.0.240:8082/project/416ce4d4-dbe1-44d7-840e-b34bab33ad83 2025-06-24 12:48:42,250 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/dd40f8aa-fc72-4993-8d80-ae53a97c8b60 2025-06-24 12:48:42,261 - DEBUG - ==>Verifying data for policy with id: 85ac1c91-b474-488e-8168-1a8a8abc93fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-77037757', 'ctest-policy-allow-all-16258270'] 2025-06-24 12:48:42,261 - INFO - VN ctest-vn-60083455 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 12:48:42,262 - DEBUG - Verifying the vn in opserver 2025-06-24 12:48:42,262 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-60083455 virtual network link through opserver 10.0.0.240 2025-06-24 12:48:42,262 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-06-24 12:48:42,562 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-06-24 12:48:42,631 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-60083455', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-60083455?flat'} 2025-06-24 12:48:42,631 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-60083455 is found in opserver 2025-06-24 12:48:42,647 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 12:48:42,653 - DEBUG - VRF ids for VN ctest-vn-60083455: {} 2025-06-24 12:48:42,653 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-24 12:48:42,660 - DEBUG - Requesting: http://10.0.0.240:8082/domain/02e3b17e-6409-408d-b2e5-c24001a2c702 2025-06-24 12:48:42,673 - DEBUG - Requesting: http://10.0.0.240:8082/project/416ce4d4-dbe1-44d7-840e-b34bab33ad83 2025-06-24 12:48:42,750 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d 2025-06-24 12:48:42,765 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d 2025-06-24 12:48:42,776 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c96324ad-277d-418b-a571-0d954e56f5bb 2025-06-24 12:48:42,785 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c96324ad-277d-418b-a571-0d954e56f5bb 2025-06-24 12:48:42,794 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/8700974a-4754-416d-86bc-1f24d3f114c1 2025-06-24 12:48:42,803 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 12:48:42,803 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d 2025-06-24 12:48:42,814 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c96324ad-277d-418b-a571-0d954e56f5bb 2025-06-24 12:48:42,832 - INFO - Verified VN network id 9 for VN 3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d 2025-06-24 12:48:42,832 - INFO - Verifications in API Server for VN ctest-vn-16274468 passed 2025-06-24 12:48:42,832 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d 2025-06-24 12:48:42,844 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c96324ad-277d-418b-a571-0d954e56f5bb 2025-06-24 12:48:42,855 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c96324ad-277d-418b-a571-0d954e56f5bb 2025-06-24 12:48:42,864 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/8700974a-4754-416d-86bc-1f24d3f114c1 2025-06-24 12:48:42,880 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-16274468', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77037757', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4430290353054631786', 'uuid-lslong': '10076697794531188525'}, 'enable': 'true', 'created': '2025-06-24T12:48:40', 'last-modified': '2025-06-24T12:48:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.556385'} 2025-06-24 12:48:42,887 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 12:48:42,887 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16274468 passed 2025-06-24 12:48:42,888 - DEBUG - ====Verifying policy data for ctest-vn-16274468 in API_Server ====== 2025-06-24 12:48:42,888 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-24 12:48:42,895 - DEBUG - Requesting: http://10.0.0.240:8082/domain/02e3b17e-6409-408d-b2e5-c24001a2c702 2025-06-24 12:48:42,911 - DEBUG - Requesting: http://10.0.0.240:8082/project/416ce4d4-dbe1-44d7-840e-b34bab33ad83 2025-06-24 12:48:42,987 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d 2025-06-24 12:48:43,000 - DEBUG - ==>Verifying data for policy with id: 85ac1c91-b474-488e-8168-1a8a8abc93fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-77037757', 'ctest-policy-allow-all-16258270'] 2025-06-24 12:48:43,000 - INFO - VN ctest-vn-16274468 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 12:48:43,000 - DEBUG - Verifying the vn in opserver 2025-06-24 12:48:43,000 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-16274468 virtual network link through opserver 10.0.0.240 2025-06-24 12:48:43,000 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-06-24 12:48:43,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-16274468', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-16274468?flat'} 2025-06-24 12:48:43,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-16274468 is found in opserver 2025-06-24 12:48:43,027 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 12:48:43,033 - DEBUG - VRF ids for VN ctest-vn-16274468: {} 2025-06-24 12:48:43,102 - DEBUG - Services list from nova: [, , ] 2025-06-24 12:48:44,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3532-1) 2025-06-24 12:48:45,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3532-1) 2025-06-24 12:48:45,519 - INFO - Waiting for VM ctest-TestBasicPolicy-77037757-51929026 to be up.. 2025-06-24 12:48:45,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 12:48:50,727 - DEBUG - VM is in ACTIVE state now 2025-06-24 12:48:50,727 - INFO - VM name : ctest-TestBasicPolicy-77037757-51929026 2025-06-24 12:48:50,828 - DEBUG - VM ctest-TestBasicPolicy-77037757-51929026 ID is ca27d2f1-e43a-4c0c-8aac-300a9193d345 2025-06-24 12:48:50,856 - DEBUG - VM ctest-TestBasicPolicy-77037757-51929026 launched on Node cn-jenkins-deploy-platform-ansible-os-3532-1 2025-06-24 12:48:50,997 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/ca27d2f1-e43a-4c0c-8aac-300a9193d345 2025-06-24 12:48:51,010 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/7259ed4f-8a95-423e-a940-d823d6d0534b 2025-06-24 12:48:54,235 - 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 1005ms') 2025-06-24 12:48:54,235 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77037757-51929026 failed! 2025-06-24 12:48:54,297 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77037757:ctest-vn-60083455 is 40.97.7.65 and allocation pool is NOT set 2025-06-24 12:48:56,366 - 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=12.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.843 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.843/6.550/12.257/5.707 ms') 2025-06-24 12:48:56,366 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77037757-51929026 passed 2025-06-24 12:48:56,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:48:56,522 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77037757-51929026, IP 40.97.7.67, Port 22 2025-06-24 12:48:56,681 - DEBUG - VM ctest-TestBasicPolicy-77037757-51929026 is ready for SSH connections 2025-06-24 12:48:56,681 - INFO - Waiting for VM ctest-TestBasicPolicy-77037757-18105065 to be up.. 2025-06-24 12:48:56,779 - DEBUG - VM is in ACTIVE state now 2025-06-24 12:48:56,779 - INFO - VM name : ctest-TestBasicPolicy-77037757-18105065 2025-06-24 12:48:56,867 - DEBUG - VM ctest-TestBasicPolicy-77037757-18105065 ID is 0f92bab9-fe27-48b5-b29a-18e040775602 2025-06-24 12:48:56,868 - DEBUG - VM ctest-TestBasicPolicy-77037757-18105065 launched on Node cn-jenkins-deploy-platform-ansible-os-3532-1 2025-06-24 12:48:56,959 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/0f92bab9-fe27-48b5-b29a-18e040775602 2025-06-24 12:48:56,971 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/d465abd0-d12d-43d0-b4df-76551ec82542 2025-06-24 12:48:58,222 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.634 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.634/1.881/3.129/1.247 ms') 2025-06-24 12:48:58,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77037757-18105065 passed 2025-06-24 12:48:58,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:48:58,377 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77037757-18105065, IP 89.204.28.131, Port 22 2025-06-24 12:48:58,548 - DEBUG - VM ctest-TestBasicPolicy-77037757-18105065 is ready for SSH connections 2025-06-24 12:48:58,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:48:58,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.204.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-06-24 12:48:58,548 - DEBUG - ping -s 56 -c 3 -W 1 89.204.28.131 2025-06-24 12:49:02,663 - DEBUG - PING 89.204.28.131 (89.204.28.131): 56 data bytes 64 bytes from 89.204.28.131: seq=0 ttl=63 time=4.713 ms 64 bytes from 89.204.28.131: seq=1 ttl=63 time=0.948 ms 64 bytes from 89.204.28.131: seq=2 ttl=63 time=1.508 ms --- 89.204.28.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.389/4.713 ms 2025-06-24 12:49:02,663 - INFO - Ping to IP 89.204.28.131 from VM ctest-TestBasicPolicy-77037757-51929026 passed 2025-06-24 12:49:02,853 - DEBUG - Policy Update Response {"network-policy": {"uuid": "85ac1c91-b474-488e-8168-1a8a8abc93fd", "href": "http://10.0.0.240:8082/network-policy/85ac1c91-b474-488e-8168-1a8a8abc93fd"}} 2025-06-24 12:49:02,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:49:02,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.204.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-06-24 12:49:02,854 - DEBUG - ping -s 56 -c 3 -W 1 89.204.28.131 2025-06-24 12:49:06,077 - DEBUG - PING 89.204.28.131 (89.204.28.131): 56 data bytes 64 bytes from 89.204.28.131: seq=0 ttl=63 time=2.079 ms --- 89.204.28.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.079/2.079/2.079 ms 2025-06-24 12:49:06,077 - WARNING - Ping to IP 89.204.28.131 from VM ctest-TestBasicPolicy-77037757-51929026 failed 2025-06-24 12:49:06,077 - INFO - Deleting VM ctest-TestBasicPolicy-77037757-18105065 2025-06-24 12:49:06,166 - INFO - Deleting VM ctest-TestBasicPolicy-77037757-51929026 2025-06-24 12:49:06,607 - INFO - Deleted policy ctest-policy-allow-all-16258270 2025-06-24 12:49:06,607 - INFO - Deleting VN ctest-vn-16274468 2025-06-24 12:49:06,648 - DEBUG - VN 3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d still in use: Unable to complete operation on network 3d7b8d9a-79a9-476a-8bd7-9f4167fe5f2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4201e74e-3a08-4918-8867-b15440ad1a80'] 2025-06-24 12:49:06,648 - WARNING - Deleting VN ctest-vn-16274468 failed..Will retry 2025-06-24 12:49:08,774 - DEBUG - Response for deleting network () 2025-06-24 12:49:08,774 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c96324ad-277d-418b-a571-0d954e56f5bb 2025-06-24 12:49:08,782 - DEBUG - Response Code: 404 2025-06-24 12:49:08,782 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-24 12:49:08,787 - DEBUG - Requesting: http://10.0.0.240:8082/domain/02e3b17e-6409-408d-b2e5-c24001a2c702 2025-06-24 12:49:08,848 - DEBUG - Requesting: http://10.0.0.240:8082/project/416ce4d4-dbe1-44d7-840e-b34bab33ad83 2025-06-24 12:49:08,933 - INFO - Validated that VN ctest-vn-16274468 is not found in API Server 2025-06-24 12:49:08,945 - DEBUG - VN ctest-vn-16274468 is not present in Agent 10.0.0.240 2025-06-24 12:49:08,945 - INFO - Validated that VN ctest-vn-16274468 is not in any agent 2025-06-24 12:49:08,962 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16274468 info 2025-06-24 12:49:08,963 - INFO - Deleting VN ctest-vn-60083455 2025-06-24 12:49:09,093 - DEBUG - Response for deleting network () 2025-06-24 12:49:09,093 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/c81c0fd1-1995-4c6d-8285-2db94197519e 2025-06-24 12:49:09,100 - DEBUG - Response Code: 404 2025-06-24 12:49:09,100 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-06-24 12:49:09,111 - DEBUG - Requesting: http://10.0.0.240:8082/domain/02e3b17e-6409-408d-b2e5-c24001a2c702 2025-06-24 12:49:09,168 - DEBUG - Requesting: http://10.0.0.240:8082/project/416ce4d4-dbe1-44d7-840e-b34bab33ad83 2025-06-24 12:49:09,246 - INFO - Validated that VN ctest-vn-60083455 is not found in API Server 2025-06-24 12:49:09,259 - DEBUG - VN ctest-vn-60083455 is not present in Agent 10.0.0.240 2025-06-24 12:49:09,259 - INFO - Validated that VN ctest-vn-60083455 is not in any agent 2025-06-24 12:49:09,276 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60083455 info 2025-06-24 12:49:09,535 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 12:49:09,535 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-06-24 12:49:09,535 - INFO - -------------------------------------------------------------------------------- 2025-06-24 12:49:10,258 - INFO - Deleted project: ctest-TestBasicPolicy-77037757, ID : 416ce4d4-dbe1-44d7-840e-b34bab33ad83