2025-06-25 07:41:22,298 - INFO - Domain Default found not creating 2025-06-25 07:41:22,470 - INFO - Project ctest-TestBasicPolicy-85609894 not found, creating it 2025-06-25 07:41:22,985 - INFO - Created Project:ctest-TestBasicPolicy-85609894, ID : ca4e30a2-d376-4bf4-81fa-b9887e2b4ad6 2025-06-25 07:41:24,665 - INFO - ================================================================================ 2025-06-25 07:41:24,665 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-25 07:41:24,665 - 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-25 07:41:24,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-06-25 07:41:24,928 - INFO - Initial checks done. Running the testcase now 2025-06-25 07:41:24,928 - INFO - 2025-06-25 07:41:25,567 - DEBUG - Response for create_network : {'network': {'id': '9a52ad48-721d-4666-b0dc-af6a6aab1841', 'name': 'ctest-vn-61996114', 'tenant_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'project_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85609894', 'ctest-vn-61996114'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:41:25,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '94cf20a1-eafb-4829-87a4-c3b25a45b7ee', 'name': '', 'tenant_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'network_id': '9a52ad48-721d-4666-b0dc-af6a6aab1841', 'ip_version': 4, 'cidr': '214.163.246.128/26', 'allocation_pools': [{'start': '214.163.246.130', 'end': '214.163.246.190'}], 'gateway_ip': '214.163.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.163.246.130', 'tags': [], 'project_id': 'ca4e30a2d3764bf481fab9887e2b4ad6'}} 2025-06-25 07:41:25,788 - INFO - Created VN ctest-vn-61996114 2025-06-25 07:41:25,844 - DEBUG - VN ctest-vn-61996114 UUID is 9a52ad48-721d-4666-b0dc-af6a6aab1841 2025-06-25 07:41:26,210 - DEBUG - Response for create_network : {'network': {'id': '93cda708-906b-4832-8a93-fc812d61e0e2', 'name': 'ctest-vn-23437199', 'tenant_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'project_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85609894', 'ctest-vn-23437199'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:41:26,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7cefbff-2836-401e-96e7-11059b00a3f1', 'name': '', 'tenant_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'network_id': '93cda708-906b-4832-8a93-fc812d61e0e2', 'ip_version': 4, 'cidr': '76.231.169.128/26', 'allocation_pools': [{'start': '76.231.169.130', 'end': '76.231.169.190'}], 'gateway_ip': '76.231.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.231.169.130', 'tags': [], 'project_id': 'ca4e30a2d3764bf481fab9887e2b4ad6'}} 2025-06-25 07:41:26,438 - INFO - Created VN ctest-vn-23437199 2025-06-25 07:41:26,492 - DEBUG - VN ctest-vn-23437199 UUID is 93cda708-906b-4832-8a93-fc812d61e0e2 2025-06-25 07:41:26,629 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-61996114, 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-85609894:ctest-vn-23437199, 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-25 07:41:26,952 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a52ad48-721d-4666-b0dc-af6a6aab1841', 'name': 'ctest-vn-61996114', 'tenant_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'project_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94cf20a1-eafb-4829-87a4-c3b25a45b7ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85609894', 'ctest-vn-61996114'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85609894', 'ctest-policy-allow-all-54649554']], 'subnet_ipam': [{'subnet_cidr': '214.163.246.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:41:27,216 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93cda708-906b-4832-8a93-fc812d61e0e2', 'name': 'ctest-vn-23437199', 'tenant_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'project_id': 'ca4e30a2d3764bf481fab9887e2b4ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7cefbff-2836-401e-96e7-11059b00a3f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85609894', 'ctest-vn-23437199'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85609894', 'ctest-policy-allow-all-54649554']], 'subnet_ipam': [{'subnet_cidr': '76.231.169.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:41:27,392 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 07:41:27,736 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 07:41:27,771 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5430eacc-6a6d-441f-aacf-cd6b178f4e20 2025-06-25 07:41:27,789 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca4e30a2-d376-4bf4-81fa-b9887e2b4ad6 2025-06-25 07:41:27,872 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a52ad48-721d-4666-b0dc-af6a6aab1841 2025-06-25 07:41:27,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a52ad48-721d-4666-b0dc-af6a6aab1841 2025-06-25 07:41:27,900 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5957f568-4136-4576-9def-3cc4e25a4624 2025-06-25 07:41:27,911 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5957f568-4136-4576-9def-3cc4e25a4624 2025-06-25 07:41:27,920 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/45c70eaa-25bc-4637-b9e3-79fdc03e91e8 2025-06-25 07:41:27,928 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 07:41:27,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a52ad48-721d-4666-b0dc-af6a6aab1841 2025-06-25 07:41:27,942 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5957f568-4136-4576-9def-3cc4e25a4624 2025-06-25 07:41:27,960 - INFO - Verified VN network id 7 for VN 9a52ad48-721d-4666-b0dc-af6a6aab1841 2025-06-25 07:41:27,961 - INFO - Verifications in API Server for VN ctest-vn-61996114 passed 2025-06-25 07:41:27,961 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a52ad48-721d-4666-b0dc-af6a6aab1841 2025-06-25 07:41:27,973 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5957f568-4136-4576-9def-3cc4e25a4624 2025-06-25 07:41:27,983 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5957f568-4136-4576-9def-3cc4e25a4624 2025-06-25 07:41:27,993 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/45c70eaa-25bc-4637-b9e3-79fdc03e91e8 2025-06-25 07:41:28,008 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-61996114', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85609894', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11120140956594947686', 'uuid-lslong': '12744253917142652993'}, 'enable': 'true', 'created': '2025-06-25T07:41:25', 'last-modified': '2025-06-25T07:41:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.086934'} 2025-06-25 07:41:28,016 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 07:41:28,017 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61996114 passed 2025-06-25 07:41:28,017 - DEBUG - ====Verifying policy data for ctest-vn-61996114 in API_Server ====== 2025-06-25 07:41:28,017 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 07:41:28,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5430eacc-6a6d-441f-aacf-cd6b178f4e20 2025-06-25 07:41:28,040 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca4e30a2-d376-4bf4-81fa-b9887e2b4ad6 2025-06-25 07:41:28,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a52ad48-721d-4666-b0dc-af6a6aab1841 2025-06-25 07:41:28,135 - DEBUG - ==>Verifying data for policy with id: 9197c614-9552-44a0-94b9-d36417e234c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-85609894', 'ctest-policy-allow-all-54649554'] 2025-06-25 07:41:28,135 - INFO - VN ctest-vn-61996114 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 07:41:28,135 - DEBUG - Verifying the vn in opserver 2025-06-25 07:41:28,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-61996114 virtual network link through opserver 10.0.0.38 2025-06-25 07:41:28,135 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-25 07:41:28,469 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-25 07:41:28,537 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-61996114', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-61996114?flat'} 2025-06-25 07:41:28,537 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-61996114 is found in opserver 2025-06-25 07:41:28,553 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 07:41:28,560 - DEBUG - VRF ids for VN ctest-vn-61996114: {} 2025-06-25 07:41:28,560 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 07:41:28,570 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5430eacc-6a6d-441f-aacf-cd6b178f4e20 2025-06-25 07:41:28,586 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca4e30a2-d376-4bf4-81fa-b9887e2b4ad6 2025-06-25 07:41:28,691 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93cda708-906b-4832-8a93-fc812d61e0e2 2025-06-25 07:41:28,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93cda708-906b-4832-8a93-fc812d61e0e2 2025-06-25 07:41:28,720 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f9638a1-f7b4-42c1-86ec-a99d93fcb0b1 2025-06-25 07:41:28,731 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f9638a1-f7b4-42c1-86ec-a99d93fcb0b1 2025-06-25 07:41:28,741 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9ae20b4-0bea-4219-a25f-2288c4102c79 2025-06-25 07:41:28,749 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 07:41:28,750 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93cda708-906b-4832-8a93-fc812d61e0e2 2025-06-25 07:41:28,762 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f9638a1-f7b4-42c1-86ec-a99d93fcb0b1 2025-06-25 07:41:28,780 - INFO - Verified VN network id 8 for VN 93cda708-906b-4832-8a93-fc812d61e0e2 2025-06-25 07:41:28,780 - INFO - Verifications in API Server for VN ctest-vn-23437199 passed 2025-06-25 07:41:28,780 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93cda708-906b-4832-8a93-fc812d61e0e2 2025-06-25 07:41:28,794 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f9638a1-f7b4-42c1-86ec-a99d93fcb0b1 2025-06-25 07:41:28,806 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f9638a1-f7b4-42c1-86ec-a99d93fcb0b1 2025-06-25 07:41:28,816 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9ae20b4-0bea-4219-a25f-2288c4102c79 2025-06-25 07:41:28,833 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-23437199', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85609894', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10650352349025617970', 'uuid-lslong': '9985602430552891618'}, 'enable': 'true', 'created': '2025-06-25T07:41:26', 'last-modified': '2025-06-25T07:41:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.645549'} 2025-06-25 07:41:28,842 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 07:41:28,842 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23437199 passed 2025-06-25 07:41:28,842 - DEBUG - ====Verifying policy data for ctest-vn-23437199 in API_Server ====== 2025-06-25 07:41:28,842 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 07:41:28,853 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5430eacc-6a6d-441f-aacf-cd6b178f4e20 2025-06-25 07:41:28,869 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca4e30a2-d376-4bf4-81fa-b9887e2b4ad6 2025-06-25 07:41:28,950 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93cda708-906b-4832-8a93-fc812d61e0e2 2025-06-25 07:41:28,965 - DEBUG - ==>Verifying data for policy with id: 9197c614-9552-44a0-94b9-d36417e234c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-85609894', 'ctest-policy-allow-all-54649554'] 2025-06-25 07:41:28,965 - INFO - VN ctest-vn-23437199 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 07:41:28,965 - DEBUG - Verifying the vn in opserver 2025-06-25 07:41:28,965 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-23437199 virtual network link through opserver 10.0.0.38 2025-06-25 07:41:28,965 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-25 07:41:28,980 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-23437199', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-23437199?flat'} 2025-06-25 07:41:28,980 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-23437199 is found in opserver 2025-06-25 07:41:28,993 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 07:41:28,999 - DEBUG - VRF ids for VN ctest-vn-23437199: {} 2025-06-25 07:41:29,067 - DEBUG - Services list from nova: [, , ] 2025-06-25 07:41:30,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3545-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3545-1) 2025-06-25 07:41:31,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3545-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3545-1) 2025-06-25 07:41:31,818 - INFO - Waiting for VM ctest-TestBasicPolicy-85609894-05807402 to be up.. 2025-06-25 07:41:31,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 07:41:37,024 - DEBUG - VM is in ACTIVE state now 2025-06-25 07:41:37,025 - INFO - VM name : ctest-TestBasicPolicy-85609894-05807402 2025-06-25 07:41:37,131 - DEBUG - VM ctest-TestBasicPolicy-85609894-05807402 ID is 12dba60b-74c0-4a5a-9111-86ddbcb62e9e 2025-06-25 07:41:37,154 - DEBUG - VM ctest-TestBasicPolicy-85609894-05807402 launched on Node cn-jenkins-deploy-platform-ansible-os-3545-1 2025-06-25 07:41:37,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/12dba60b-74c0-4a5a-9111-86ddbcb62e9e 2025-06-25 07:41:37,274 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d17fe4b-60fd-4994-966a-5b26cfc9989a 2025-06-25 07:41:40,528 - 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 1001ms') 2025-06-25 07:41:40,528 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85609894-05807402 failed! 2025-06-25 07:41:40,584 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85609894:ctest-vn-61996114 is 214.163.246.129 and allocation pool is NOT set 2025-06-25 07:41:42,654 - 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=5.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.737 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.737/3.002/5.267/2.265 ms') 2025-06-25 07:41:42,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85609894-05807402 passed 2025-06-25 07:41:42,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:41:42,817 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85609894-05807402, IP 214.163.246.131, Port 22 2025-06-25 07:41:42,986 - DEBUG - VM ctest-TestBasicPolicy-85609894-05807402 is ready for SSH connections 2025-06-25 07:41:42,986 - INFO - Waiting for VM ctest-TestBasicPolicy-85609894-32115213 to be up.. 2025-06-25 07:41:43,077 - DEBUG - VM is in ACTIVE state now 2025-06-25 07:41:43,077 - INFO - VM name : ctest-TestBasicPolicy-85609894-32115213 2025-06-25 07:41:43,176 - DEBUG - VM ctest-TestBasicPolicy-85609894-32115213 ID is 6cb396ba-15c4-4dad-8738-4a3830e0f1cd 2025-06-25 07:41:43,176 - DEBUG - VM ctest-TestBasicPolicy-85609894-32115213 launched on Node cn-jenkins-deploy-platform-ansible-os-3545-1 2025-06-25 07:41:43,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6cb396ba-15c4-4dad-8738-4a3830e0f1cd 2025-06-25 07:41:43,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d2ac9dd-36b3-418c-8c7d-8703e3a56950 2025-06-25 07:41:44,553 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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 = 1.305/3.143/4.981/1.838 ms') 2025-06-25 07:41:44,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85609894-32115213 passed 2025-06-25 07:41:44,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:41:44,716 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85609894-32115213, IP 76.231.169.131, Port 22 2025-06-25 07:41:44,872 - DEBUG - VM ctest-TestBasicPolicy-85609894-32115213 is ready for SSH connections 2025-06-25 07:41:44,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:41:44,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.231.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-25 07:41:44,873 - DEBUG - ping -s 56 -c 3 -W 1 76.231.169.131 2025-06-25 07:41:49,060 - DEBUG - PING 76.231.169.131 (76.231.169.131): 56 data bytes 64 bytes from 76.231.169.131: seq=0 ttl=63 time=4.879 ms 64 bytes from 76.231.169.131: seq=1 ttl=63 time=1.146 ms 64 bytes from 76.231.169.131: seq=2 ttl=63 time=1.346 ms --- 76.231.169.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.146/2.457/4.879 ms 2025-06-25 07:41:49,061 - INFO - Ping to IP 76.231.169.131 from VM ctest-TestBasicPolicy-85609894-05807402 passed 2025-06-25 07:41:49,260 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9197c614-9552-44a0-94b9-d36417e234c7", "href": "http://10.0.0.38:8082/network-policy/9197c614-9552-44a0-94b9-d36417e234c7"}} 2025-06-25 07:41:49,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:41:49,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.231.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-25 07:41:49,261 - DEBUG - ping -s 56 -c 3 -W 1 76.231.169.131 2025-06-25 07:41:52,508 - DEBUG - PING 76.231.169.131 (76.231.169.131): 56 data bytes --- 76.231.169.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-25 07:41:52,509 - WARNING - Ping to IP 76.231.169.131 from VM ctest-TestBasicPolicy-85609894-05807402 failed 2025-06-25 07:41:52,509 - INFO - Deleting VM ctest-TestBasicPolicy-85609894-32115213 2025-06-25 07:41:52,598 - INFO - Deleting VM ctest-TestBasicPolicy-85609894-05807402 2025-06-25 07:41:53,144 - INFO - Deleted policy ctest-policy-allow-all-54649554 2025-06-25 07:41:53,145 - INFO - Deleting VN ctest-vn-23437199 2025-06-25 07:41:53,192 - DEBUG - VN 93cda708-906b-4832-8a93-fc812d61e0e2 still in use: Unable to complete operation on network 93cda708-906b-4832-8a93-fc812d61e0e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f57ec581-b10a-4906-9108-c7394af23da9'] 2025-06-25 07:41:53,192 - WARNING - Deleting VN ctest-vn-23437199 failed..Will retry 2025-06-25 07:41:55,329 - DEBUG - Response for deleting network () 2025-06-25 07:41:55,330 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f9638a1-f7b4-42c1-86ec-a99d93fcb0b1 2025-06-25 07:41:55,339 - DEBUG - Response Code: 404 2025-06-25 07:41:55,339 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 07:41:55,347 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5430eacc-6a6d-441f-aacf-cd6b178f4e20 2025-06-25 07:41:55,403 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca4e30a2-d376-4bf4-81fa-b9887e2b4ad6 2025-06-25 07:41:55,479 - INFO - Validated that VN ctest-vn-23437199 is not found in API Server 2025-06-25 07:41:55,493 - DEBUG - VN ctest-vn-23437199 is not present in Agent 10.0.0.38 2025-06-25 07:41:55,493 - INFO - Validated that VN ctest-vn-23437199 is not in any agent 2025-06-25 07:41:55,511 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23437199 info 2025-06-25 07:41:55,512 - INFO - Deleting VN ctest-vn-61996114 2025-06-25 07:41:55,640 - DEBUG - Response for deleting network () 2025-06-25 07:41:55,641 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5957f568-4136-4576-9def-3cc4e25a4624 2025-06-25 07:41:55,650 - DEBUG - Response Code: 404 2025-06-25 07:41:55,650 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 07:41:55,660 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5430eacc-6a6d-441f-aacf-cd6b178f4e20 2025-06-25 07:41:55,723 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca4e30a2-d376-4bf4-81fa-b9887e2b4ad6 2025-06-25 07:41:55,810 - INFO - Validated that VN ctest-vn-61996114 is not found in API Server 2025-06-25 07:41:55,824 - DEBUG - VN ctest-vn-61996114 is not present in Agent 10.0.0.38 2025-06-25 07:41:55,824 - INFO - Validated that VN ctest-vn-61996114 is not in any agent 2025-06-25 07:41:55,842 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61996114 info 2025-06-25 07:41:56,105 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 07:41:56,105 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2025-06-25 07:41:56,105 - INFO - -------------------------------------------------------------------------------- 2025-06-25 07:41:56,875 - INFO - Deleted project: ctest-TestBasicPolicy-85609894, ID : ca4e30a2-d376-4bf4-81fa-b9887e2b4ad6