2025-08-15 12:13:29,086 - INFO - Domain Default found not creating 2025-08-15 12:13:29,221 - INFO - Project ctest-TestBasicPolicy-78630669 not found, creating it 2025-08-15 12:13:29,655 - INFO - Created Project:ctest-TestBasicPolicy-78630669, ID : 74226446-8fd7-47be-9f0c-cd2334edbeb2 2025-08-15 12:13:31,101 - INFO - ================================================================================ 2025-08-15 12:13:31,101 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 12:13:31,101 - 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-08-15 12:13:31,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with 2025-08-15 12:13:31,354 - INFO - Initial checks done. Running the testcase now 2025-08-15 12:13:31,354 - INFO - 2025-08-15 12:13:31,892 - DEBUG - Response for create_network : {'network': {'id': 'e10f4d57-1041-46b1-a0d4-3a47dc4a87a2', 'name': 'ctest-vn-45471785', 'tenant_id': '742264468fd747be9f0ccd2334edbeb2', 'project_id': '742264468fd747be9f0ccd2334edbeb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78630669', 'ctest-vn-45471785'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 12:13:32,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '1314d83c-94a9-4c5b-89c9-e215238b93da', 'name': '', 'tenant_id': '742264468fd747be9f0ccd2334edbeb2', 'network_id': 'e10f4d57-1041-46b1-a0d4-3a47dc4a87a2', 'ip_version': 4, 'cidr': '174.243.97.128/26', 'allocation_pools': [{'start': '174.243.97.130', 'end': '174.243.97.190'}], 'gateway_ip': '174.243.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.243.97.130', 'tags': [], 'project_id': '742264468fd747be9f0ccd2334edbeb2'}} 2025-08-15 12:13:32,101 - INFO - Created VN ctest-vn-45471785 2025-08-15 12:13:32,157 - DEBUG - VN ctest-vn-45471785 UUID is e10f4d57-1041-46b1-a0d4-3a47dc4a87a2 2025-08-15 12:13:32,490 - DEBUG - Response for create_network : {'network': {'id': '95bb0497-dc3f-47a0-b02b-ba8e0f318ace', 'name': 'ctest-vn-05941365', 'tenant_id': '742264468fd747be9f0ccd2334edbeb2', 'project_id': '742264468fd747be9f0ccd2334edbeb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78630669', 'ctest-vn-05941365'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 12:13:32,720 - DEBUG - Response for create_subnet : {'subnet': {'id': '47c1eab5-ef43-4304-aef0-9a52d59004c9', 'name': '', 'tenant_id': '742264468fd747be9f0ccd2334edbeb2', 'network_id': '95bb0497-dc3f-47a0-b02b-ba8e0f318ace', 'ip_version': 4, 'cidr': '32.62.79.192/26', 'allocation_pools': [{'start': '32.62.79.194', 'end': '32.62.79.254'}], 'gateway_ip': '32.62.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.62.79.194', 'tags': [], 'project_id': '742264468fd747be9f0ccd2334edbeb2'}} 2025-08-15 12:13:32,738 - INFO - Created VN ctest-vn-05941365 2025-08-15 12:13:32,793 - DEBUG - VN ctest-vn-05941365 UUID is 95bb0497-dc3f-47a0-b02b-ba8e0f318ace 2025-08-15 12:13:32,945 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-45471785, 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-78630669:ctest-vn-05941365, 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-08-15 12:13:33,236 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e10f4d57-1041-46b1-a0d4-3a47dc4a87a2', 'name': 'ctest-vn-45471785', 'tenant_id': '742264468fd747be9f0ccd2334edbeb2', 'project_id': '742264468fd747be9f0ccd2334edbeb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1314d83c-94a9-4c5b-89c9-e215238b93da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78630669', 'ctest-vn-45471785'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78630669', 'ctest-policy-allow-all-30695916']], 'subnet_ipam': [{'subnet_cidr': '174.243.97.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 12:13:33,476 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '95bb0497-dc3f-47a0-b02b-ba8e0f318ace', 'name': 'ctest-vn-05941365', 'tenant_id': '742264468fd747be9f0ccd2334edbeb2', 'project_id': '742264468fd747be9f0ccd2334edbeb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47c1eab5-ef43-4304-aef0-9a52d59004c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78630669', 'ctest-vn-05941365'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78630669', 'ctest-policy-allow-all-30695916']], 'subnet_ipam': [{'subnet_cidr': '32.62.79.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 12:13:33,621 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-15 12:13:33,918 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-15 12:13:33,945 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8ea3f26-88a8-43aa-b21a-4dacbf72410d 2025-08-15 12:13:33,959 - DEBUG - Requesting: http://10.0.0.33:8082/project/74226446-8fd7-47be-9f0c-cd2334edbeb2 2025-08-15 12:13:34,030 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e10f4d57-1041-46b1-a0d4-3a47dc4a87a2 2025-08-15 12:13:34,041 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e10f4d57-1041-46b1-a0d4-3a47dc4a87a2 2025-08-15 12:13:34,050 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4fb4521d-85a7-432b-a070-bbd8406558bf 2025-08-15 12:13:34,058 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4fb4521d-85a7-432b-a070-bbd8406558bf 2025-08-15 12:13:34,065 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1e9fb2bd-e2ff-4675-98b4-0566969d3b32 2025-08-15 12:13:34,071 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 12:13:34,071 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e10f4d57-1041-46b1-a0d4-3a47dc4a87a2 2025-08-15 12:13:34,082 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4fb4521d-85a7-432b-a070-bbd8406558bf 2025-08-15 12:13:34,096 - INFO - Verified VN network id 12 for VN e10f4d57-1041-46b1-a0d4-3a47dc4a87a2 2025-08-15 12:13:34,096 - INFO - Verifications in API Server for VN ctest-vn-45471785 passed 2025-08-15 12:13:34,096 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e10f4d57-1041-46b1-a0d4-3a47dc4a87a2 2025-08-15 12:13:34,106 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4fb4521d-85a7-432b-a070-bbd8406558bf 2025-08-15 12:13:34,113 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4fb4521d-85a7-432b-a070-bbd8406558bf 2025-08-15 12:13:34,120 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1e9fb2bd-e2ff-4675-98b4-0566969d3b32 2025-08-15 12:13:34,132 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-45471785', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78630669', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16217265819514652337', 'uuid-lslong': '11588951821444089762'}, 'enable': 'true', 'created': '2025-08-15T12:13:31', 'last-modified': '2025-08-15T12:13:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913744'} 2025-08-15 12:13:34,138 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 12:13:34,138 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45471785 passed 2025-08-15 12:13:34,138 - DEBUG - ====Verifying policy data for ctest-vn-45471785 in API_Server ====== 2025-08-15 12:13:34,138 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-15 12:13:34,143 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8ea3f26-88a8-43aa-b21a-4dacbf72410d 2025-08-15 12:13:34,154 - DEBUG - Requesting: http://10.0.0.33:8082/project/74226446-8fd7-47be-9f0c-cd2334edbeb2 2025-08-15 12:13:34,228 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e10f4d57-1041-46b1-a0d4-3a47dc4a87a2 2025-08-15 12:13:34,240 - DEBUG - ==>Verifying data for policy with id: 19b2aa3a-f273-49bc-804a-c0fdeba8c159, fqn: ['default-domain', 'ctest-TestBasicPolicy-78630669', 'ctest-policy-allow-all-30695916'] 2025-08-15 12:13:34,240 - INFO - VN ctest-vn-45471785 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 12:13:34,240 - DEBUG - Verifying the vn in opserver 2025-08-15 12:13:34,240 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-45471785 virtual network link through opserver 10.0.0.33 2025-08-15 12:13:34,240 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-15 12:13:34,531 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-15 12:13:34,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-45471785', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-45471785?flat'} 2025-08-15 12:13:34,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-45471785 is found in opserver 2025-08-15 12:13:34,596 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 12:13:34,601 - DEBUG - VRF ids for VN ctest-vn-45471785: {} 2025-08-15 12:13:34,601 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-15 12:13:34,607 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8ea3f26-88a8-43aa-b21a-4dacbf72410d 2025-08-15 12:13:34,618 - DEBUG - Requesting: http://10.0.0.33:8082/project/74226446-8fd7-47be-9f0c-cd2334edbeb2 2025-08-15 12:13:34,685 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/95bb0497-dc3f-47a0-b02b-ba8e0f318ace 2025-08-15 12:13:34,696 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/95bb0497-dc3f-47a0-b02b-ba8e0f318ace 2025-08-15 12:13:34,705 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0def9af0-6564-435b-bf5f-905a6d3192b8 2025-08-15 12:13:34,712 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0def9af0-6564-435b-bf5f-905a6d3192b8 2025-08-15 12:13:34,718 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7b1cbacd-b5e2-4f77-b120-038dff83e064 2025-08-15 12:13:34,724 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 12:13:34,724 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/95bb0497-dc3f-47a0-b02b-ba8e0f318ace 2025-08-15 12:13:34,733 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0def9af0-6564-435b-bf5f-905a6d3192b8 2025-08-15 12:13:34,745 - INFO - Verified VN network id 13 for VN 95bb0497-dc3f-47a0-b02b-ba8e0f318ace 2025-08-15 12:13:34,745 - INFO - Verifications in API Server for VN ctest-vn-05941365 passed 2025-08-15 12:13:34,746 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/95bb0497-dc3f-47a0-b02b-ba8e0f318ace 2025-08-15 12:13:34,755 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0def9af0-6564-435b-bf5f-905a6d3192b8 2025-08-15 12:13:34,761 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0def9af0-6564-435b-bf5f-905a6d3192b8 2025-08-15 12:13:34,767 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7b1cbacd-b5e2-4f77-b120-038dff83e064 2025-08-15 12:13:34,777 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-05941365', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78630669', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10789222382577862560', 'uuid-lslong': '12694445093976902350'}, 'enable': 'true', 'created': '2025-08-15T12:13:32', 'last-modified': '2025-08-15T12:13:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327514'} 2025-08-15 12:13:34,785 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 12:13:34,785 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05941365 passed 2025-08-15 12:13:34,785 - DEBUG - ====Verifying policy data for ctest-vn-05941365 in API_Server ====== 2025-08-15 12:13:34,785 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-15 12:13:34,790 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8ea3f26-88a8-43aa-b21a-4dacbf72410d 2025-08-15 12:13:34,800 - DEBUG - Requesting: http://10.0.0.33:8082/project/74226446-8fd7-47be-9f0c-cd2334edbeb2 2025-08-15 12:13:34,875 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/95bb0497-dc3f-47a0-b02b-ba8e0f318ace 2025-08-15 12:13:34,886 - DEBUG - ==>Verifying data for policy with id: 19b2aa3a-f273-49bc-804a-c0fdeba8c159, fqn: ['default-domain', 'ctest-TestBasicPolicy-78630669', 'ctest-policy-allow-all-30695916'] 2025-08-15 12:13:34,886 - INFO - VN ctest-vn-05941365 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 12:13:34,886 - DEBUG - Verifying the vn in opserver 2025-08-15 12:13:34,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-05941365 virtual network link through opserver 10.0.0.33 2025-08-15 12:13:34,886 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-15 12:13:34,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-05941365', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-05941365?flat'} 2025-08-15 12:13:34,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-05941365 is found in opserver 2025-08-15 12:13:34,907 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 12:13:34,912 - DEBUG - VRF ids for VN ctest-vn-05941365: {} 2025-08-15 12:13:34,965 - DEBUG - Services list from nova: [, , ] 2025-08-15 12:13:35,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3864-1) 2025-08-15 12:13:37,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3864-1) 2025-08-15 12:13:37,016 - INFO - Waiting for VM ctest-TestBasicPolicy-78630669-83578646 to be up.. 2025-08-15 12:13:37,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 12:13:42,171 - DEBUG - VM is in ACTIVE state now 2025-08-15 12:13:42,171 - INFO - VM name : ctest-TestBasicPolicy-78630669-83578646 2025-08-15 12:13:42,236 - DEBUG - VM ctest-TestBasicPolicy-78630669-83578646 ID is cfa347a2-bd9a-43cf-a8e7-dccde353ea29 2025-08-15 12:13:42,253 - DEBUG - VM ctest-TestBasicPolicy-78630669-83578646 launched on Node cn-jenkins-deploy-platform-ansible-os-3864-1 2025-08-15 12:13:42,318 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cfa347a2-bd9a-43cf-a8e7-dccde353ea29 2025-08-15 12:13:42,327 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ca1ba9b6-4896-45e0-8de8-fd692efdf770 2025-08-15 12:13:45,578 - 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 1012ms') 2025-08-15 12:13:45,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78630669-83578646 failed! 2025-08-15 12:13:45,637 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78630669:ctest-vn-45471785 is 174.243.97.129 and allocation pool is NOT set 2025-08-15 12:13:47,691 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 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.373/2.033/3.694/1.660 ms') 2025-08-15 12:13:47,691 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78630669-83578646 passed 2025-08-15 12:13:47,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:13:47,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78630669-83578646, IP 174.243.97.131, Port 22 2025-08-15 12:13:48,005 - DEBUG - VM ctest-TestBasicPolicy-78630669-83578646 is ready for SSH connections 2025-08-15 12:13:48,005 - INFO - Waiting for VM ctest-TestBasicPolicy-78630669-63583217 to be up.. 2025-08-15 12:13:48,073 - DEBUG - VM is in ACTIVE state now 2025-08-15 12:13:48,073 - INFO - VM name : ctest-TestBasicPolicy-78630669-63583217 2025-08-15 12:13:48,137 - DEBUG - VM ctest-TestBasicPolicy-78630669-63583217 ID is 32a822e6-a155-4f36-8e69-4091bd498c3a 2025-08-15 12:13:48,137 - DEBUG - VM ctest-TestBasicPolicy-78630669-63583217 launched on Node cn-jenkins-deploy-platform-ansible-os-3864-1 2025-08-15 12:13:48,201 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/32a822e6-a155-4f36-8e69-4091bd498c3a 2025-08-15 12:13:48,211 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c307f2ee-f55c-490f-8db6-f0fd40dd303d 2025-08-15 12:13:49,462 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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.126/2.682/4.238/1.556 ms') 2025-08-15 12:13:49,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78630669-63583217 passed 2025-08-15 12:13:49,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:13:49,613 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78630669-63583217, IP 32.62.79.195, Port 22 2025-08-15 12:13:49,769 - DEBUG - VM ctest-TestBasicPolicy-78630669-63583217 is ready for SSH connections 2025-08-15 12:13:49,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:13:49,769 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.62.79.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-15 12:13:49,769 - DEBUG - ping -s 56 -c 3 -W 1 32.62.79.195 2025-08-15 12:13:53,725 - DEBUG - PING 32.62.79.195 (32.62.79.195): 56 data bytes 64 bytes from 32.62.79.195: seq=0 ttl=63 time=3.244 ms 64 bytes from 32.62.79.195: seq=1 ttl=63 time=0.881 ms 64 bytes from 32.62.79.195: seq=2 ttl=63 time=0.799 ms --- 32.62.79.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/1.641/3.244 ms 2025-08-15 12:13:53,725 - INFO - Ping to IP 32.62.79.195 from VM ctest-TestBasicPolicy-78630669-83578646 passed 2025-08-15 12:13:53,905 - DEBUG - Policy Update Response {"network-policy": {"uuid": "19b2aa3a-f273-49bc-804a-c0fdeba8c159", "href": "http://10.0.0.33:8082/network-policy/19b2aa3a-f273-49bc-804a-c0fdeba8c159"}} 2025-08-15 12:13:53,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:13:53,905 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.62.79.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-15 12:13:53,905 - DEBUG - ping -s 56 -c 3 -W 1 32.62.79.195 2025-08-15 12:13:57,116 - DEBUG - PING 32.62.79.195 (32.62.79.195): 56 data bytes --- 32.62.79.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 12:13:57,116 - WARNING - Ping to IP 32.62.79.195 from VM ctest-TestBasicPolicy-78630669-83578646 failed 2025-08-15 12:13:57,116 - INFO - Deleting VM ctest-TestBasicPolicy-78630669-63583217 2025-08-15 12:13:57,182 - INFO - Deleting VM ctest-TestBasicPolicy-78630669-83578646 2025-08-15 12:13:57,580 - INFO - Deleted policy ctest-policy-allow-all-30695916 2025-08-15 12:13:57,580 - INFO - Deleting VN ctest-vn-05941365 2025-08-15 12:13:57,619 - DEBUG - VN 95bb0497-dc3f-47a0-b02b-ba8e0f318ace still in use: Unable to complete operation on network 95bb0497-dc3f-47a0-b02b-ba8e0f318ace. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3c33d04-63a0-4cf6-9038-d3f0963cefb6'] 2025-08-15 12:13:57,619 - WARNING - Deleting VN ctest-vn-05941365 failed..Will retry 2025-08-15 12:13:59,726 - DEBUG - Response for deleting network () 2025-08-15 12:13:59,727 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0def9af0-6564-435b-bf5f-905a6d3192b8 2025-08-15 12:13:59,734 - DEBUG - Response Code: 404 2025-08-15 12:13:59,734 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-15 12:13:59,743 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8ea3f26-88a8-43aa-b21a-4dacbf72410d 2025-08-15 12:13:59,799 - DEBUG - Requesting: http://10.0.0.33:8082/project/74226446-8fd7-47be-9f0c-cd2334edbeb2 2025-08-15 12:13:59,877 - INFO - Validated that VN ctest-vn-05941365 is not found in API Server 2025-08-15 12:13:59,888 - DEBUG - VN ctest-vn-05941365 is not present in Agent 10.0.0.33 2025-08-15 12:13:59,888 - INFO - Validated that VN ctest-vn-05941365 is not in any agent 2025-08-15 12:13:59,902 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05941365 info 2025-08-15 12:13:59,903 - INFO - Deleting VN ctest-vn-45471785 2025-08-15 12:14:00,006 - DEBUG - Response for deleting network () 2025-08-15 12:14:00,006 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4fb4521d-85a7-432b-a070-bbd8406558bf 2025-08-15 12:14:00,013 - DEBUG - Response Code: 404 2025-08-15 12:14:00,013 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-15 12:14:00,021 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8ea3f26-88a8-43aa-b21a-4dacbf72410d 2025-08-15 12:14:00,078 - DEBUG - Requesting: http://10.0.0.33:8082/project/74226446-8fd7-47be-9f0c-cd2334edbeb2 2025-08-15 12:14:00,152 - INFO - Validated that VN ctest-vn-45471785 is not found in API Server 2025-08-15 12:14:00,163 - DEBUG - VN ctest-vn-45471785 is not present in Agent 10.0.0.33 2025-08-15 12:14:00,163 - INFO - Validated that VN ctest-vn-45471785 is not in any agent 2025-08-15 12:14:00,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45471785 info 2025-08-15 12:14:00,430 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 12:14:00,430 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-15 12:14:00,431 - INFO - -------------------------------------------------------------------------------- 2025-08-15 12:14:01,103 - INFO - Deleted project: ctest-TestBasicPolicy-78630669, ID : 74226446-8fd7-47be-9f0c-cd2334edbeb2