2025-04-24 10:05:36,197 - INFO - Domain Default found not creating 2025-04-24 10:05:36,325 - INFO - Project ctest-TestBasicPolicy-18081096 not found, creating it 2025-04-24 10:05:36,745 - INFO - Created Project:ctest-TestBasicPolicy-18081096, ID : 221bdec3-1b0b-4543-867f-2d83fa1a7574 2025-04-24 10:05:37,969 - INFO - ================================================================================ 2025-04-24 10:05:37,969 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 10:05:37,969 - 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-04-24 10:05:38,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-04-24 10:05:38,231 - INFO - Initial checks done. Running the testcase now 2025-04-24 10:05:38,231 - INFO - 2025-04-24 10:05:38,731 - DEBUG - Response for create_network : {'network': {'id': 'df939e12-fba8-47ec-8330-8b1837e4ffc8', 'name': 'ctest-vn-36499820', 'tenant_id': '221bdec31b0b4543867f2d83fa1a7574', 'project_id': '221bdec31b0b4543867f2d83fa1a7574', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18081096', 'ctest-vn-36499820'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 10:05:38,919 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e50cac9f-e788-41cb-9a7b-fc881dad9a2e', 'name': '', 'tenant_id': '221bdec31b0b4543867f2d83fa1a7574', 'network_id': 'df939e12-fba8-47ec-8330-8b1837e4ffc8', 'ip_version': 4, 'cidr': '182.211.200.128/26', 'allocation_pools': [{'start': '182.211.200.130', 'end': '182.211.200.190'}], 'gateway_ip': '182.211.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.211.200.130', 'tags': [], 'project_id': '221bdec31b0b4543867f2d83fa1a7574'}} 2025-04-24 10:05:38,936 - INFO - Created VN ctest-vn-36499820 2025-04-24 10:05:38,989 - DEBUG - VN ctest-vn-36499820 UUID is df939e12-fba8-47ec-8330-8b1837e4ffc8 2025-04-24 10:05:39,297 - DEBUG - Response for create_network : {'network': {'id': '2b24aed5-e5d8-49f8-96c8-da817ac39176', 'name': 'ctest-vn-03712835', 'tenant_id': '221bdec31b0b4543867f2d83fa1a7574', 'project_id': '221bdec31b0b4543867f2d83fa1a7574', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18081096', 'ctest-vn-03712835'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 10:05:39,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '43b3fe76-4176-4de9-962d-20e2de26541b', 'name': '', 'tenant_id': '221bdec31b0b4543867f2d83fa1a7574', 'network_id': '2b24aed5-e5d8-49f8-96c8-da817ac39176', 'ip_version': 4, 'cidr': '74.174.254.192/26', 'allocation_pools': [{'start': '74.174.254.194', 'end': '74.174.254.254'}], 'gateway_ip': '74.174.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.174.254.194', 'tags': [], 'project_id': '221bdec31b0b4543867f2d83fa1a7574'}} 2025-04-24 10:05:39,482 - INFO - Created VN ctest-vn-03712835 2025-04-24 10:05:39,537 - DEBUG - VN ctest-vn-03712835 UUID is 2b24aed5-e5d8-49f8-96c8-da817ac39176 2025-04-24 10:05:39,681 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-36499820, 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-18081096:ctest-vn-03712835, 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-04-24 10:05:39,956 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df939e12-fba8-47ec-8330-8b1837e4ffc8', 'name': 'ctest-vn-36499820', 'tenant_id': '221bdec31b0b4543867f2d83fa1a7574', 'project_id': '221bdec31b0b4543867f2d83fa1a7574', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e50cac9f-e788-41cb-9a7b-fc881dad9a2e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18081096', 'ctest-vn-36499820'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18081096', 'ctest-policy-allow-all-98528785']], 'subnet_ipam': [{'subnet_cidr': '182.211.200.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 10:05:40,169 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b24aed5-e5d8-49f8-96c8-da817ac39176', 'name': 'ctest-vn-03712835', 'tenant_id': '221bdec31b0b4543867f2d83fa1a7574', 'project_id': '221bdec31b0b4543867f2d83fa1a7574', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43b3fe76-4176-4de9-962d-20e2de26541b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18081096', 'ctest-vn-03712835'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18081096', 'ctest-policy-allow-all-98528785']], 'subnet_ipam': [{'subnet_cidr': '74.174.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 10:05:40,313 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 10:05:40,581 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 10:05:40,607 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0ce61e4f-787f-4e0b-bb74-c306650cc78d 2025-04-24 10:05:40,619 - DEBUG - Requesting: http://10.0.0.254:8082/project/221bdec3-1b0b-4543-867f-2d83fa1a7574 2025-04-24 10:05:40,691 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df939e12-fba8-47ec-8330-8b1837e4ffc8 2025-04-24 10:05:40,701 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df939e12-fba8-47ec-8330-8b1837e4ffc8 2025-04-24 10:05:40,710 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a90f68ff-e670-44cd-ae1d-4550670cc860 2025-04-24 10:05:40,715 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a90f68ff-e670-44cd-ae1d-4550670cc860 2025-04-24 10:05:40,721 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2c0a8118-56a9-4b41-82ea-c0afd5b24b10 2025-04-24 10:05:40,726 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 10:05:40,726 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df939e12-fba8-47ec-8330-8b1837e4ffc8 2025-04-24 10:05:40,735 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a90f68ff-e670-44cd-ae1d-4550670cc860 2025-04-24 10:05:40,746 - INFO - Verified VN network id 8 for VN df939e12-fba8-47ec-8330-8b1837e4ffc8 2025-04-24 10:05:40,747 - INFO - Verifications in API Server for VN ctest-vn-36499820 passed 2025-04-24 10:05:40,747 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df939e12-fba8-47ec-8330-8b1837e4ffc8 2025-04-24 10:05:40,754 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a90f68ff-e670-44cd-ae1d-4550670cc860 2025-04-24 10:05:40,760 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a90f68ff-e670-44cd-ae1d-4550670cc860 2025-04-24 10:05:40,765 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2c0a8118-56a9-4b41-82ea-c0afd5b24b10 2025-04-24 10:05:40,774 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-36499820', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18081096', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16110394096403105772', 'uuid-lslong': '9453208553983901640'}, 'enable': 'true', 'created': '2025-04-24T10:05:38', 'last-modified': '2025-04-24T10:05:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.836688'} 2025-04-24 10:05:40,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 10:05:40,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36499820 passed 2025-04-24 10:05:40,780 - DEBUG - ====Verifying policy data for ctest-vn-36499820 in API_Server ====== 2025-04-24 10:05:40,780 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 10:05:40,784 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0ce61e4f-787f-4e0b-bb74-c306650cc78d 2025-04-24 10:05:40,792 - DEBUG - Requesting: http://10.0.0.254:8082/project/221bdec3-1b0b-4543-867f-2d83fa1a7574 2025-04-24 10:05:40,868 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/df939e12-fba8-47ec-8330-8b1837e4ffc8 2025-04-24 10:05:40,883 - DEBUG - ==>Verifying data for policy with id: 9b25e0d0-5b39-4440-b973-24e2f9d3f0ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-18081096', 'ctest-policy-allow-all-98528785'] 2025-04-24 10:05:40,883 - INFO - VN ctest-vn-36499820 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 10:05:40,883 - DEBUG - Verifying the vn in opserver 2025-04-24 10:05:40,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-36499820 virtual network link through opserver 10.0.0.254 2025-04-24 10:05:40,883 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-24 10:05:41,139 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-24 10:05:41,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-36499820', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-36499820?flat'} 2025-04-24 10:05:41,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-36499820 is found in opserver 2025-04-24 10:05:41,195 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 10:05:41,199 - DEBUG - VRF ids for VN ctest-vn-36499820: {} 2025-04-24 10:05:41,199 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 10:05:41,204 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0ce61e4f-787f-4e0b-bb74-c306650cc78d 2025-04-24 10:05:41,213 - DEBUG - Requesting: http://10.0.0.254:8082/project/221bdec3-1b0b-4543-867f-2d83fa1a7574 2025-04-24 10:05:41,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2b24aed5-e5d8-49f8-96c8-da817ac39176 2025-04-24 10:05:41,291 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2b24aed5-e5d8-49f8-96c8-da817ac39176 2025-04-24 10:05:41,298 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f2163d79-1b0d-467d-8768-0e6cf524849f 2025-04-24 10:05:41,303 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f2163d79-1b0d-467d-8768-0e6cf524849f 2025-04-24 10:05:41,309 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9b1ea760-8fa8-4020-88bc-27ac751574ae 2025-04-24 10:05:41,314 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 10:05:41,314 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2b24aed5-e5d8-49f8-96c8-da817ac39176 2025-04-24 10:05:41,321 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f2163d79-1b0d-467d-8768-0e6cf524849f 2025-04-24 10:05:41,335 - INFO - Verified VN network id 9 for VN 2b24aed5-e5d8-49f8-96c8-da817ac39176 2025-04-24 10:05:41,335 - INFO - Verifications in API Server for VN ctest-vn-03712835 passed 2025-04-24 10:05:41,335 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2b24aed5-e5d8-49f8-96c8-da817ac39176 2025-04-24 10:05:41,343 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f2163d79-1b0d-467d-8768-0e6cf524849f 2025-04-24 10:05:41,350 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f2163d79-1b0d-467d-8768-0e6cf524849f 2025-04-24 10:05:41,356 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9b1ea760-8fa8-4020-88bc-27ac751574ae 2025-04-24 10:05:41,367 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-03712835', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18081096', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3108801876499909112', 'uuid-lslong': '10865174350676595062'}, 'enable': 'true', 'created': '2025-04-24T10:05:39', 'last-modified': '2025-04-24T10:05:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.213953'} 2025-04-24 10:05:41,372 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 10:05:41,372 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03712835 passed 2025-04-24 10:05:41,372 - DEBUG - ====Verifying policy data for ctest-vn-03712835 in API_Server ====== 2025-04-24 10:05:41,372 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 10:05:41,376 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0ce61e4f-787f-4e0b-bb74-c306650cc78d 2025-04-24 10:05:41,385 - DEBUG - Requesting: http://10.0.0.254:8082/project/221bdec3-1b0b-4543-867f-2d83fa1a7574 2025-04-24 10:05:41,455 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2b24aed5-e5d8-49f8-96c8-da817ac39176 2025-04-24 10:05:41,464 - DEBUG - ==>Verifying data for policy with id: 9b25e0d0-5b39-4440-b973-24e2f9d3f0ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-18081096', 'ctest-policy-allow-all-98528785'] 2025-04-24 10:05:41,464 - INFO - VN ctest-vn-03712835 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 10:05:41,464 - DEBUG - Verifying the vn in opserver 2025-04-24 10:05:41,464 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-03712835 virtual network link through opserver 10.0.0.254 2025-04-24 10:05:41,464 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-24 10:05:41,474 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-03712835', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-03712835?flat'} 2025-04-24 10:05:41,474 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-03712835 is found in opserver 2025-04-24 10:05:41,483 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 10:05:41,488 - DEBUG - VRF ids for VN ctest-vn-03712835: {} 2025-04-24 10:05:41,537 - DEBUG - Services list from nova: [, , ] 2025-04-24 10:05:42,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3202-1) 2025-04-24 10:05:43,507 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3202-1) 2025-04-24 10:05:43,507 - INFO - Waiting for VM ctest-TestBasicPolicy-18081096-88292779 to be up.. 2025-04-24 10:05:43,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 10:05:48,641 - DEBUG - VM is in ACTIVE state now 2025-04-24 10:05:48,641 - INFO - VM name : ctest-TestBasicPolicy-18081096-88292779 2025-04-24 10:05:48,704 - DEBUG - VM ctest-TestBasicPolicy-18081096-88292779 ID is 59b56dc2-e0d4-4513-afbe-b61a95504961 2025-04-24 10:05:48,719 - DEBUG - VM ctest-TestBasicPolicy-18081096-88292779 launched on Node cn-jenkins-deploy-platform-ansible-os-3202-1 2025-04-24 10:05:48,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/59b56dc2-e0d4-4513-afbe-b61a95504961 2025-04-24 10:05:48,800 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5ca5ee42-ac7c-4ed7-92d1-80b97fa51913 2025-04-24 10:05:52,055 - 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 1016ms') 2025-04-24 10:05:52,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18081096-88292779 failed! 2025-04-24 10:05:52,109 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18081096:ctest-vn-36499820 is 182.211.200.129 and allocation pool is NOT set 2025-04-24 10:05:54,170 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.757/2.750/3.744/0.993 ms') 2025-04-24 10:05:54,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18081096-88292779 passed 2025-04-24 10:05:54,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 10:05:54,321 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18081096-88292779, IP 182.211.200.131, Port 22 2025-04-24 10:05:54,473 - DEBUG - VM ctest-TestBasicPolicy-18081096-88292779 is ready for SSH connections 2025-04-24 10:05:54,473 - INFO - Waiting for VM ctest-TestBasicPolicy-18081096-31273028 to be up.. 2025-04-24 10:05:54,548 - DEBUG - VM is in ACTIVE state now 2025-04-24 10:05:54,548 - INFO - VM name : ctest-TestBasicPolicy-18081096-31273028 2025-04-24 10:05:54,608 - DEBUG - VM ctest-TestBasicPolicy-18081096-31273028 ID is 0e165711-5c49-4276-a001-cfcbf39b8f46 2025-04-24 10:05:54,608 - DEBUG - VM ctest-TestBasicPolicy-18081096-31273028 launched on Node cn-jenkins-deploy-platform-ansible-os-3202-1 2025-04-24 10:05:54,670 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0e165711-5c49-4276-a001-cfcbf39b8f46 2025-04-24 10:05:54,679 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f3ab216f-e545-417f-8aff-ebbff4e8f1de 2025-04-24 10:05:55,918 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.337 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.337/1.448/2.559/1.111 ms') 2025-04-24 10:05:55,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18081096-31273028 passed 2025-04-24 10:05:56,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 10:05:56,069 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18081096-31273028, IP 74.174.254.195, Port 22 2025-04-24 10:05:56,225 - DEBUG - VM ctest-TestBasicPolicy-18081096-31273028 is ready for SSH connections 2025-04-24 10:05:56,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 10:05:56,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.174.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 10:05:56,226 - DEBUG - ping -s 56 -c 3 -W 1 74.174.254.195 2025-04-24 10:05:59,848 - DEBUG - PING 74.174.254.195 (74.174.254.195): 56 data bytes 64 bytes from 74.174.254.195: seq=0 ttl=63 time=3.126 ms 64 bytes from 74.174.254.195: seq=1 ttl=63 time=0.735 ms 64 bytes from 74.174.254.195: seq=2 ttl=63 time=0.733 ms --- 74.174.254.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.531/3.126 ms 2025-04-24 10:05:59,848 - INFO - Ping to IP 74.174.254.195 from VM ctest-TestBasicPolicy-18081096-88292779 passed 2025-04-24 10:06:00,021 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b25e0d0-5b39-4440-b973-24e2f9d3f0ca", "href": "http://10.0.0.254:8082/network-policy/9b25e0d0-5b39-4440-b973-24e2f9d3f0ca"}} 2025-04-24 10:06:00,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 10:06:00,021 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.174.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 10:06:00,021 - DEBUG - ping -s 56 -c 3 -W 1 74.174.254.195 2025-04-24 10:06:03,220 - DEBUG - PING 74.174.254.195 (74.174.254.195): 56 data bytes --- 74.174.254.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-24 10:06:03,220 - WARNING - Ping to IP 74.174.254.195 from VM ctest-TestBasicPolicy-18081096-88292779 failed 2025-04-24 10:06:03,220 - INFO - Deleting VM ctest-TestBasicPolicy-18081096-31273028 2025-04-24 10:06:03,278 - INFO - Deleting VM ctest-TestBasicPolicy-18081096-88292779 2025-04-24 10:06:03,600 - INFO - Deleted policy ctest-policy-allow-all-98528785 2025-04-24 10:06:03,600 - INFO - Deleting VN ctest-vn-03712835 2025-04-24 10:06:03,628 - DEBUG - VN 2b24aed5-e5d8-49f8-96c8-da817ac39176 still in use: Unable to complete operation on network 2b24aed5-e5d8-49f8-96c8-da817ac39176. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5569e6e9-3860-4f10-8fa8-981b7bd6cf25'] 2025-04-24 10:06:03,628 - WARNING - Deleting VN ctest-vn-03712835 failed..Will retry 2025-04-24 10:06:05,726 - DEBUG - Response for deleting network () 2025-04-24 10:06:05,726 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f2163d79-1b0d-467d-8768-0e6cf524849f 2025-04-24 10:06:05,733 - DEBUG - Response Code: 404 2025-04-24 10:06:05,733 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 10:06:05,738 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0ce61e4f-787f-4e0b-bb74-c306650cc78d 2025-04-24 10:06:05,799 - DEBUG - Requesting: http://10.0.0.254:8082/project/221bdec3-1b0b-4543-867f-2d83fa1a7574 2025-04-24 10:06:05,870 - INFO - Validated that VN ctest-vn-03712835 is not found in API Server 2025-04-24 10:06:05,879 - DEBUG - VN ctest-vn-03712835 is not present in Agent 10.0.0.254 2025-04-24 10:06:05,879 - INFO - Validated that VN ctest-vn-03712835 is not in any agent 2025-04-24 10:06:05,892 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03712835 info 2025-04-24 10:06:05,892 - INFO - Deleting VN ctest-vn-36499820 2025-04-24 10:06:05,988 - DEBUG - Response for deleting network () 2025-04-24 10:06:05,988 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a90f68ff-e670-44cd-ae1d-4550670cc860 2025-04-24 10:06:05,997 - DEBUG - Response Code: 404 2025-04-24 10:06:05,997 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 10:06:06,002 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0ce61e4f-787f-4e0b-bb74-c306650cc78d 2025-04-24 10:06:06,054 - DEBUG - Requesting: http://10.0.0.254:8082/project/221bdec3-1b0b-4543-867f-2d83fa1a7574 2025-04-24 10:06:06,118 - INFO - Validated that VN ctest-vn-36499820 is not found in API Server 2025-04-24 10:06:06,128 - DEBUG - VN ctest-vn-36499820 is not present in Agent 10.0.0.254 2025-04-24 10:06:06,128 - INFO - Validated that VN ctest-vn-36499820 is not in any agent 2025-04-24 10:06:06,141 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36499820 info 2025-04-24 10:06:06,398 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 10:06:06,398 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-24 10:06:06,398 - INFO - -------------------------------------------------------------------------------- 2025-04-24 10:06:06,998 - INFO - Deleted project: ctest-TestBasicPolicy-18081096, ID : 221bdec3-1b0b-4543-867f-2d83fa1a7574