2025-08-07 14:23:48,828 - INFO - Domain Default found not creating 2025-08-07 14:23:48,989 - INFO - Project ctest-TestBasicPolicy-71819323 not found, creating it 2025-08-07 14:23:49,459 - INFO - Created Project:ctest-TestBasicPolicy-71819323, ID : c8be8ba1-0f7a-4c7f-8046-bd4302155391 2025-08-07 14:23:50,954 - INFO - ================================================================================ 2025-08-07 14:23:50,954 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-07 14:23:50,954 - 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-07 14:23:51,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-07 14:23:51,211 - INFO - Initial checks done. Running the testcase now 2025-08-07 14:23:51,211 - INFO - 2025-08-07 14:23:51,744 - DEBUG - Response for create_network : {'network': {'id': '59f94b69-2b5b-46db-862d-cc198703d8ca', 'name': 'ctest-vn-27681876', 'tenant_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'project_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71819323', 'ctest-vn-27681876'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:52,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b71b565f-6d72-4537-99c4-9f19e98211c6', 'name': '', 'tenant_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'network_id': '59f94b69-2b5b-46db-862d-cc198703d8ca', 'ip_version': 4, 'cidr': '73.89.241.64/26', 'allocation_pools': [{'start': '73.89.241.66', 'end': '73.89.241.126'}], 'gateway_ip': '73.89.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.89.241.66', 'tags': [], 'project_id': 'c8be8ba10f7a4c7f8046bd4302155391'}} 2025-08-07 14:23:52,135 - INFO - Created VN ctest-vn-27681876 2025-08-07 14:23:52,198 - DEBUG - VN ctest-vn-27681876 UUID is 59f94b69-2b5b-46db-862d-cc198703d8ca 2025-08-07 14:23:52,636 - DEBUG - Response for create_network : {'network': {'id': 'c37c7254-f94e-4e10-bceb-33e0075ef9fc', 'name': 'ctest-vn-50645336', 'tenant_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'project_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71819323', 'ctest-vn-50645336'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:52,840 - DEBUG - Response for create_subnet : {'subnet': {'id': 'deec6d7e-c590-428f-b58f-1e53772948a9', 'name': '', 'tenant_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'network_id': 'c37c7254-f94e-4e10-bceb-33e0075ef9fc', 'ip_version': 4, 'cidr': '49.124.241.0/26', 'allocation_pools': [{'start': '49.124.241.2', 'end': '49.124.241.62'}], 'gateway_ip': '49.124.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.124.241.2', 'tags': [], 'project_id': 'c8be8ba10f7a4c7f8046bd4302155391'}} 2025-08-07 14:23:52,856 - INFO - Created VN ctest-vn-50645336 2025-08-07 14:23:52,914 - DEBUG - VN ctest-vn-50645336 UUID is c37c7254-f94e-4e10-bceb-33e0075ef9fc 2025-08-07 14:23:53,066 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-27681876, 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-71819323:ctest-vn-50645336, 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-07 14:23:53,373 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59f94b69-2b5b-46db-862d-cc198703d8ca', 'name': 'ctest-vn-27681876', 'tenant_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'project_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b71b565f-6d72-4537-99c4-9f19e98211c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71819323', 'ctest-vn-27681876'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71819323', 'ctest-policy-allow-all-97678725']], 'subnet_ipam': [{'subnet_cidr': '73.89.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:53,625 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c37c7254-f94e-4e10-bceb-33e0075ef9fc', 'name': 'ctest-vn-50645336', 'tenant_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'project_id': 'c8be8ba10f7a4c7f8046bd4302155391', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['deec6d7e-c590-428f-b58f-1e53772948a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71819323', 'ctest-vn-50645336'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71819323', 'ctest-policy-allow-all-97678725']], 'subnet_ipam': [{'subnet_cidr': '49.124.241.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:23:53,786 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 14:23:54,083 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 14:23:54,127 - DEBUG - Requesting: http://10.0.0.254:8082/domain/135ffd21-72fb-4f0d-9b21-1128999ff790 2025-08-07 14:23:54,141 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8be8ba1-0f7a-4c7f-8046-bd4302155391 2025-08-07 14:23:54,218 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59f94b69-2b5b-46db-862d-cc198703d8ca 2025-08-07 14:23:54,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59f94b69-2b5b-46db-862d-cc198703d8ca 2025-08-07 14:23:54,239 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcc31a84-a7e0-4a95-82e2-d345cc5d3e65 2025-08-07 14:23:54,246 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcc31a84-a7e0-4a95-82e2-d345cc5d3e65 2025-08-07 14:23:54,253 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/354531f7-386d-4ad6-b4cb-ab41484a1904 2025-08-07 14:23:54,260 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 14:23:54,260 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59f94b69-2b5b-46db-862d-cc198703d8ca 2025-08-07 14:23:54,270 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcc31a84-a7e0-4a95-82e2-d345cc5d3e65 2025-08-07 14:23:54,286 - INFO - Verified VN network id 9 for VN 59f94b69-2b5b-46db-862d-cc198703d8ca 2025-08-07 14:23:54,286 - INFO - Verifications in API Server for VN ctest-vn-27681876 passed 2025-08-07 14:23:54,286 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59f94b69-2b5b-46db-862d-cc198703d8ca 2025-08-07 14:23:54,297 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcc31a84-a7e0-4a95-82e2-d345cc5d3e65 2025-08-07 14:23:54,305 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcc31a84-a7e0-4a95-82e2-d345cc5d3e65 2025-08-07 14:23:54,312 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/354531f7-386d-4ad6-b4cb-ab41484a1904 2025-08-07 14:23:54,326 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-27681876', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71819323', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6483296053647591131', 'uuid-lslong': '9668608385045747914'}, 'enable': 'true', 'created': '2025-08-07T14:23:51', 'last-modified': '2025-08-07T14:23:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971572'} 2025-08-07 14:23:54,334 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 14:23:54,334 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27681876 passed 2025-08-07 14:23:54,334 - DEBUG - ====Verifying policy data for ctest-vn-27681876 in API_Server ====== 2025-08-07 14:23:54,334 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 14:23:54,341 - DEBUG - Requesting: http://10.0.0.254:8082/domain/135ffd21-72fb-4f0d-9b21-1128999ff790 2025-08-07 14:23:54,355 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8be8ba1-0f7a-4c7f-8046-bd4302155391 2025-08-07 14:23:54,435 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59f94b69-2b5b-46db-862d-cc198703d8ca 2025-08-07 14:23:54,449 - DEBUG - ==>Verifying data for policy with id: c01cfd9e-e2a5-4ddd-a0dc-98f149c3433c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71819323', 'ctest-policy-allow-all-97678725'] 2025-08-07 14:23:54,449 - INFO - VN ctest-vn-27681876 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 14:23:54,449 - DEBUG - Verifying the vn in opserver 2025-08-07 14:23:54,449 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-27681876 virtual network link through opserver 10.0.0.254 2025-08-07 14:23:54,449 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-07 14:23:54,739 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-07 14:23:54,813 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-27681876', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-27681876?flat'} 2025-08-07 14:23:54,813 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-27681876 is found in opserver 2025-08-07 14:23:54,825 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 14:23:54,831 - DEBUG - VRF ids for VN ctest-vn-27681876: {} 2025-08-07 14:23:54,831 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 14:23:54,837 - DEBUG - Requesting: http://10.0.0.254:8082/domain/135ffd21-72fb-4f0d-9b21-1128999ff790 2025-08-07 14:23:54,848 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8be8ba1-0f7a-4c7f-8046-bd4302155391 2025-08-07 14:23:54,921 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c37c7254-f94e-4e10-bceb-33e0075ef9fc 2025-08-07 14:23:54,947 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c37c7254-f94e-4e10-bceb-33e0075ef9fc 2025-08-07 14:23:54,956 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5f3ed33-9170-4c5b-9ee3-0d6559ec3e25 2025-08-07 14:23:54,963 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5f3ed33-9170-4c5b-9ee3-0d6559ec3e25 2025-08-07 14:23:54,970 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/126e4235-cded-4a55-8f6b-6e29b73a25dc 2025-08-07 14:23:54,978 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 14:23:54,978 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c37c7254-f94e-4e10-bceb-33e0075ef9fc 2025-08-07 14:23:54,987 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5f3ed33-9170-4c5b-9ee3-0d6559ec3e25 2025-08-07 14:23:55,002 - INFO - Verified VN network id 10 for VN c37c7254-f94e-4e10-bceb-33e0075ef9fc 2025-08-07 14:23:55,002 - INFO - Verifications in API Server for VN ctest-vn-50645336 passed 2025-08-07 14:23:55,002 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c37c7254-f94e-4e10-bceb-33e0075ef9fc 2025-08-07 14:23:55,012 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5f3ed33-9170-4c5b-9ee3-0d6559ec3e25 2025-08-07 14:23:55,020 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5f3ed33-9170-4c5b-9ee3-0d6559ec3e25 2025-08-07 14:23:55,031 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/126e4235-cded-4a55-8f6b-6e29b73a25dc 2025-08-07 14:23:55,045 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-50645336', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71819323', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14086259443793546768', 'uuid-lslong': '13613031335946811900'}, 'enable': 'true', 'created': '2025-08-07T14:23:52', 'last-modified': '2025-08-07T14:23:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.453410'} 2025-08-07 14:23:55,052 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 14:23:55,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50645336 passed 2025-08-07 14:23:55,053 - DEBUG - ====Verifying policy data for ctest-vn-50645336 in API_Server ====== 2025-08-07 14:23:55,053 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 14:23:55,059 - DEBUG - Requesting: http://10.0.0.254:8082/domain/135ffd21-72fb-4f0d-9b21-1128999ff790 2025-08-07 14:23:55,071 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8be8ba1-0f7a-4c7f-8046-bd4302155391 2025-08-07 14:23:55,149 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c37c7254-f94e-4e10-bceb-33e0075ef9fc 2025-08-07 14:23:55,160 - DEBUG - ==>Verifying data for policy with id: c01cfd9e-e2a5-4ddd-a0dc-98f149c3433c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71819323', 'ctest-policy-allow-all-97678725'] 2025-08-07 14:23:55,160 - INFO - VN ctest-vn-50645336 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 14:23:55,160 - DEBUG - Verifying the vn in opserver 2025-08-07 14:23:55,160 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-50645336 virtual network link through opserver 10.0.0.254 2025-08-07 14:23:55,160 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-07 14:23:55,171 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-50645336', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-50645336?flat'} 2025-08-07 14:23:55,171 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-50645336 is found in opserver 2025-08-07 14:23:55,184 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 14:23:55,188 - DEBUG - VRF ids for VN ctest-vn-50645336: {} 2025-08-07 14:23:55,245 - DEBUG - Services list from nova: [, , ] 2025-08-07 14:23:56,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3771-1) 2025-08-07 14:23:57,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3771-1) 2025-08-07 14:23:57,659 - INFO - Waiting for VM ctest-TestBasicPolicy-71819323-67104194 to be up.. 2025-08-07 14:23:57,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 14:24:02,848 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:24:02,848 - INFO - VM name : ctest-TestBasicPolicy-71819323-67104194 2025-08-07 14:24:02,924 - DEBUG - VM ctest-TestBasicPolicy-71819323-67104194 ID is 501c1cb8-0858-46e6-8f46-a81d177630aa 2025-08-07 14:24:02,942 - DEBUG - VM ctest-TestBasicPolicy-71819323-67104194 launched on Node cn-jenkins-deploy-platform-ansible-os-3771-1 2025-08-07 14:24:03,012 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/501c1cb8-0858-46e6-8f46-a81d177630aa 2025-08-07 14:24:03,021 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/27793360-3545-4f77-8ee0-5d9ec55f7c31 2025-08-07 14:24:06,280 - 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 1023ms') 2025-08-07 14:24:06,280 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71819323-67104194 failed! 2025-08-07 14:24:06,338 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71819323:ctest-vn-27681876 is 73.89.241.65 and allocation pool is NOT set 2025-08-07 14:24:08,396 - 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=8.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.604 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.604/4.618/8.632/4.014 ms') 2025-08-07 14:24:08,396 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71819323-67104194 passed 2025-08-07 14:24:08,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:24:08,546 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71819323-67104194, IP 73.89.241.67, Port 22 2025-08-07 14:24:08,698 - DEBUG - VM ctest-TestBasicPolicy-71819323-67104194 is ready for SSH connections 2025-08-07 14:24:08,698 - INFO - Waiting for VM ctest-TestBasicPolicy-71819323-20809318 to be up.. 2025-08-07 14:24:08,775 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:24:08,775 - INFO - VM name : ctest-TestBasicPolicy-71819323-20809318 2025-08-07 14:24:08,849 - DEBUG - VM ctest-TestBasicPolicy-71819323-20809318 ID is 58b4393f-a67b-4c8a-a5b5-fb7a8a4fd071 2025-08-07 14:24:08,849 - DEBUG - VM ctest-TestBasicPolicy-71819323-20809318 launched on Node cn-jenkins-deploy-platform-ansible-os-3771-1 2025-08-07 14:24:08,925 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/58b4393f-a67b-4c8a-a5b5-fb7a8a4fd071 2025-08-07 14:24:08,937 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/08e2aa04-f0b1-4391-bddf-34180eea9361 2025-08-07 14:24:10,187 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.765/3.108/1.343 ms') 2025-08-07 14:24:10,187 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71819323-20809318 passed 2025-08-07 14:24:10,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:24:10,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71819323-20809318, IP 49.124.241.3, Port 22 2025-08-07 14:24:10,490 - DEBUG - VM ctest-TestBasicPolicy-71819323-20809318 is ready for SSH connections 2025-08-07 14:24:10,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:24:10,490 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.124.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 14:24:10,491 - DEBUG - ping -s 56 -c 3 -W 1 49.124.241.3 2025-08-07 14:24:14,474 - DEBUG - PING 49.124.241.3 (49.124.241.3): 56 data bytes 64 bytes from 49.124.241.3: seq=0 ttl=63 time=3.804 ms 64 bytes from 49.124.241.3: seq=1 ttl=63 time=1.106 ms 64 bytes from 49.124.241.3: seq=2 ttl=63 time=0.813 ms --- 49.124.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.907/3.804 ms 2025-08-07 14:24:14,474 - INFO - Ping to IP 49.124.241.3 from VM ctest-TestBasicPolicy-71819323-67104194 passed 2025-08-07 14:24:14,658 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c01cfd9e-e2a5-4ddd-a0dc-98f149c3433c", "href": "http://10.0.0.254:8082/network-policy/c01cfd9e-e2a5-4ddd-a0dc-98f149c3433c"}} 2025-08-07 14:24:14,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:24:14,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.124.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 14:24:14,658 - DEBUG - ping -s 56 -c 3 -W 1 49.124.241.3 2025-08-07 14:24:17,870 - DEBUG - PING 49.124.241.3 (49.124.241.3): 56 data bytes --- 49.124.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 14:24:17,870 - WARNING - Ping to IP 49.124.241.3 from VM ctest-TestBasicPolicy-71819323-67104194 failed 2025-08-07 14:24:17,870 - INFO - Deleting VM ctest-TestBasicPolicy-71819323-20809318 2025-08-07 14:24:17,931 - INFO - Deleting VM ctest-TestBasicPolicy-71819323-67104194 2025-08-07 14:24:18,309 - INFO - Deleted policy ctest-policy-allow-all-97678725 2025-08-07 14:24:18,309 - INFO - Deleting VN ctest-vn-50645336 2025-08-07 14:24:18,343 - DEBUG - VN c37c7254-f94e-4e10-bceb-33e0075ef9fc still in use: Unable to complete operation on network c37c7254-f94e-4e10-bceb-33e0075ef9fc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ede15168-58c3-44ad-8566-cb2ec67e553e'] 2025-08-07 14:24:18,344 - WARNING - Deleting VN ctest-vn-50645336 failed..Will retry 2025-08-07 14:24:20,447 - DEBUG - Response for deleting network () 2025-08-07 14:24:20,447 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5f3ed33-9170-4c5b-9ee3-0d6559ec3e25 2025-08-07 14:24:20,454 - DEBUG - Response Code: 404 2025-08-07 14:24:20,454 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 14:24:20,460 - DEBUG - Requesting: http://10.0.0.254:8082/domain/135ffd21-72fb-4f0d-9b21-1128999ff790 2025-08-07 14:24:20,512 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8be8ba1-0f7a-4c7f-8046-bd4302155391 2025-08-07 14:24:20,587 - INFO - Validated that VN ctest-vn-50645336 is not found in API Server 2025-08-07 14:24:20,598 - DEBUG - VN ctest-vn-50645336 is not present in Agent 10.0.0.254 2025-08-07 14:24:20,598 - INFO - Validated that VN ctest-vn-50645336 is not in any agent 2025-08-07 14:24:20,614 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50645336 info 2025-08-07 14:24:20,614 - INFO - Deleting VN ctest-vn-27681876 2025-08-07 14:24:20,714 - DEBUG - Response for deleting network () 2025-08-07 14:24:20,714 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcc31a84-a7e0-4a95-82e2-d345cc5d3e65 2025-08-07 14:24:20,720 - DEBUG - Response Code: 404 2025-08-07 14:24:20,720 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 14:24:20,726 - DEBUG - Requesting: http://10.0.0.254:8082/domain/135ffd21-72fb-4f0d-9b21-1128999ff790 2025-08-07 14:24:20,784 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8be8ba1-0f7a-4c7f-8046-bd4302155391 2025-08-07 14:24:20,858 - INFO - Validated that VN ctest-vn-27681876 is not found in API Server 2025-08-07 14:24:20,868 - DEBUG - VN ctest-vn-27681876 is not present in Agent 10.0.0.254 2025-08-07 14:24:20,868 - INFO - Validated that VN ctest-vn-27681876 is not in any agent 2025-08-07 14:24:20,883 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27681876 info 2025-08-07 14:24:21,137 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 14:24:21,137 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-08-07 14:24:21,138 - INFO - -------------------------------------------------------------------------------- 2025-08-07 14:24:21,835 - INFO - Deleted project: ctest-TestBasicPolicy-71819323, ID : c8be8ba1-0f7a-4c7f-8046-bd4302155391