2025-12-18 10:21:48,520 - INFO - Domain Default found not creating 2025-12-18 10:21:48,681 - INFO - Project ctest-TestBasicPolicy-43663958 not found, creating it 2025-12-18 10:21:49,132 - INFO - Created Project:ctest-TestBasicPolicy-43663958, ID : ce8f26f9-4153-4a94-9246-6c0cbe173862 2025-12-18 10:21:50,619 - INFO - ================================================================================ 2025-12-18 10:21:50,620 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-18 10:21:50,620 - 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-12-18 10:21:50,874 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-18 10:21:50,874 - INFO - Initial checks done. Running the testcase now 2025-12-18 10:21:50,874 - INFO - 2025-12-18 10:21:51,446 - DEBUG - Response for create_network : {'network': {'id': 'fac0047e-d0b0-4d08-afb6-0febc765b3df', 'name': 'ctest-vn-46375695', 'tenant_id': 'ce8f26f941534a9492466c0cbe173862', 'project_id': 'ce8f26f941534a9492466c0cbe173862', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43663958', 'ctest-vn-46375695'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 10:21:51,592 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a810386a-8744-47ca-935d-3a33c4bc85b2', 'name': '', 'tenant_id': 'ce8f26f941534a9492466c0cbe173862', 'network_id': 'fac0047e-d0b0-4d08-afb6-0febc765b3df', 'ip_version': 4, 'cidr': '126.213.65.192/26', 'allocation_pools': [{'start': '126.213.65.194', 'end': '126.213.65.254'}], 'gateway_ip': '126.213.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.213.65.194', 'tags': [], 'project_id': 'ce8f26f941534a9492466c0cbe173862'}} 2025-12-18 10:21:51,608 - INFO - Created VN ctest-vn-46375695 2025-12-18 10:21:51,659 - DEBUG - VN ctest-vn-46375695 UUID is fac0047e-d0b0-4d08-afb6-0febc765b3df 2025-12-18 10:21:51,998 - DEBUG - Response for create_network : {'network': {'id': '3a3a51cd-da38-4372-a5ec-d74f18f0f7be', 'name': 'ctest-vn-47019974', 'tenant_id': 'ce8f26f941534a9492466c0cbe173862', 'project_id': 'ce8f26f941534a9492466c0cbe173862', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43663958', 'ctest-vn-47019974'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 10:21:52,168 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc4fb731-b5f7-4d2f-9746-6de10cbf2dc5', 'name': '', 'tenant_id': 'ce8f26f941534a9492466c0cbe173862', 'network_id': '3a3a51cd-da38-4372-a5ec-d74f18f0f7be', 'ip_version': 4, 'cidr': '219.143.35.192/26', 'allocation_pools': [{'start': '219.143.35.194', 'end': '219.143.35.254'}], 'gateway_ip': '219.143.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.143.35.194', 'tags': [], 'project_id': 'ce8f26f941534a9492466c0cbe173862'}} 2025-12-18 10:21:52,184 - INFO - Created VN ctest-vn-47019974 2025-12-18 10:21:52,235 - DEBUG - VN ctest-vn-47019974 UUID is 3a3a51cd-da38-4372-a5ec-d74f18f0f7be 2025-12-18 10:21:52,391 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-46375695, 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-43663958:ctest-vn-47019974, 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-12-18 10:21:52,670 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fac0047e-d0b0-4d08-afb6-0febc765b3df', 'name': 'ctest-vn-46375695', 'tenant_id': 'ce8f26f941534a9492466c0cbe173862', 'project_id': 'ce8f26f941534a9492466c0cbe173862', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a810386a-8744-47ca-935d-3a33c4bc85b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43663958', 'ctest-vn-46375695'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43663958', 'ctest-policy-allow-all-27875764']], 'subnet_ipam': [{'subnet_cidr': '126.213.65.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 10:21:52,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a3a51cd-da38-4372-a5ec-d74f18f0f7be', 'name': 'ctest-vn-47019974', 'tenant_id': 'ce8f26f941534a9492466c0cbe173862', 'project_id': 'ce8f26f941534a9492466c0cbe173862', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc4fb731-b5f7-4d2f-9746-6de10cbf2dc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43663958', 'ctest-vn-47019974'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43663958', 'ctest-policy-allow-all-27875764']], 'subnet_ipam': [{'subnet_cidr': '219.143.35.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 10:21:53,063 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-18 10:21:53,358 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-18 10:21:53,387 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3cde6b1b-7af9-4596-8f35-efafcb4d5542 2025-12-18 10:21:53,400 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8f26f9-4153-4a94-9246-6c0cbe173862 2025-12-18 10:21:53,468 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fac0047e-d0b0-4d08-afb6-0febc765b3df 2025-12-18 10:21:53,476 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fac0047e-d0b0-4d08-afb6-0febc765b3df 2025-12-18 10:21:53,485 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a34ed7e-b820-4912-97b2-e88fb45eff5e 2025-12-18 10:21:53,490 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a34ed7e-b820-4912-97b2-e88fb45eff5e 2025-12-18 10:21:53,495 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b87a5ebc-39bf-4b3b-88ed-4b6a4a9a8d3d 2025-12-18 10:21:53,501 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 10:21:53,501 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fac0047e-d0b0-4d08-afb6-0febc765b3df 2025-12-18 10:21:53,509 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a34ed7e-b820-4912-97b2-e88fb45eff5e 2025-12-18 10:21:53,521 - INFO - Verified VN network id 11 for VN fac0047e-d0b0-4d08-afb6-0febc765b3df 2025-12-18 10:21:53,521 - INFO - Verifications in API Server for VN ctest-vn-46375695 passed 2025-12-18 10:21:53,521 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fac0047e-d0b0-4d08-afb6-0febc765b3df 2025-12-18 10:21:53,530 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a34ed7e-b820-4912-97b2-e88fb45eff5e 2025-12-18 10:21:53,536 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a34ed7e-b820-4912-97b2-e88fb45eff5e 2025-12-18 10:21:53,542 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b87a5ebc-39bf-4b3b-88ed-4b6a4a9a8d3d 2025-12-18 10:21:53,553 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-46375695', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43663958', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18068446647724035336', 'uuid-lslong': '12661324907735790559'}, 'enable': 'true', 'created': '2025-12-18T10:21:51', 'last-modified': '2025-12-18T10:21:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.901188'} 2025-12-18 10:21:53,558 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 10:21:53,558 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46375695 passed 2025-12-18 10:21:53,558 - DEBUG - ====Verifying policy data for ctest-vn-46375695 in API_Server ====== 2025-12-18 10:21:53,559 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-18 10:21:53,564 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3cde6b1b-7af9-4596-8f35-efafcb4d5542 2025-12-18 10:21:53,574 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8f26f9-4153-4a94-9246-6c0cbe173862 2025-12-18 10:21:53,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fac0047e-d0b0-4d08-afb6-0febc765b3df 2025-12-18 10:21:53,649 - DEBUG - ==>Verifying data for policy with id: 88fc4181-ac56-41d7-abe8-60c1b504d859, fqn: ['default-domain', 'ctest-TestBasicPolicy-43663958', 'ctest-policy-allow-all-27875764'] 2025-12-18 10:21:53,649 - INFO - VN ctest-vn-46375695 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 10:21:53,649 - DEBUG - Verifying the vn in opserver 2025-12-18 10:21:53,649 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-46375695 virtual network link through opserver 10.0.0.50 2025-12-18 10:21:53,650 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-18 10:21:53,944 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-18 10:21:54,001 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-46375695', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-46375695?flat'} 2025-12-18 10:21:54,001 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-46375695 is found in opserver 2025-12-18 10:21:54,010 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 10:21:54,014 - DEBUG - VRF ids for VN ctest-vn-46375695: {} 2025-12-18 10:21:54,014 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-18 10:21:54,019 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3cde6b1b-7af9-4596-8f35-efafcb4d5542 2025-12-18 10:21:54,028 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8f26f9-4153-4a94-9246-6c0cbe173862 2025-12-18 10:21:54,095 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3a3a51cd-da38-4372-a5ec-d74f18f0f7be 2025-12-18 10:21:54,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3a3a51cd-da38-4372-a5ec-d74f18f0f7be 2025-12-18 10:21:54,113 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4d33cb-ab46-4549-a4d4-5181224d7fbe 2025-12-18 10:21:54,119 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4d33cb-ab46-4549-a4d4-5181224d7fbe 2025-12-18 10:21:54,129 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b9f2f93-8240-4d20-9d61-a43d90a25ee1 2025-12-18 10:21:54,136 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 10:21:54,136 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3a3a51cd-da38-4372-a5ec-d74f18f0f7be 2025-12-18 10:21:54,146 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4d33cb-ab46-4549-a4d4-5181224d7fbe 2025-12-18 10:21:54,161 - INFO - Verified VN network id 12 for VN 3a3a51cd-da38-4372-a5ec-d74f18f0f7be 2025-12-18 10:21:54,161 - INFO - Verifications in API Server for VN ctest-vn-47019974 passed 2025-12-18 10:21:54,161 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3a3a51cd-da38-4372-a5ec-d74f18f0f7be 2025-12-18 10:21:54,172 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4d33cb-ab46-4549-a4d4-5181224d7fbe 2025-12-18 10:21:54,186 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4d33cb-ab46-4549-a4d4-5181224d7fbe 2025-12-18 10:21:54,194 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b9f2f93-8240-4d20-9d61-a43d90a25ee1 2025-12-18 10:21:54,206 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-47019974', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43663958', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4195755947420304242', 'uuid-lslong': '11956167845482657726'}, 'enable': 'true', 'created': '2025-12-18T10:21:51', 'last-modified': '2025-12-18T10:21:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.333563'} 2025-12-18 10:21:54,213 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 10:21:54,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47019974 passed 2025-12-18 10:21:54,214 - DEBUG - ====Verifying policy data for ctest-vn-47019974 in API_Server ====== 2025-12-18 10:21:54,214 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-18 10:21:54,219 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3cde6b1b-7af9-4596-8f35-efafcb4d5542 2025-12-18 10:21:54,229 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8f26f9-4153-4a94-9246-6c0cbe173862 2025-12-18 10:21:54,301 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3a3a51cd-da38-4372-a5ec-d74f18f0f7be 2025-12-18 10:21:54,311 - DEBUG - ==>Verifying data for policy with id: 88fc4181-ac56-41d7-abe8-60c1b504d859, fqn: ['default-domain', 'ctest-TestBasicPolicy-43663958', 'ctest-policy-allow-all-27875764'] 2025-12-18 10:21:54,311 - INFO - VN ctest-vn-47019974 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 10:21:54,311 - DEBUG - Verifying the vn in opserver 2025-12-18 10:21:54,311 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-47019974 virtual network link through opserver 10.0.0.50 2025-12-18 10:21:54,312 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-18 10:21:54,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-47019974', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-47019974?flat'} 2025-12-18 10:21:54,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-47019974 is found in opserver 2025-12-18 10:21:54,330 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 10:21:54,335 - DEBUG - VRF ids for VN ctest-vn-47019974: {} 2025-12-18 10:21:54,389 - DEBUG - Services list from nova: [, , ] 2025-12-18 10:21:55,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4905-1) 2025-12-18 10:21:56,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4905-1) 2025-12-18 10:21:56,508 - INFO - Waiting for VM ctest-TestBasicPolicy-43663958-28918982 to be up.. 2025-12-18 10:21:56,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 10:22:01,676 - DEBUG - VM is in ACTIVE state now 2025-12-18 10:22:01,677 - INFO - VM name : ctest-TestBasicPolicy-43663958-28918982 2025-12-18 10:22:01,762 - DEBUG - VM ctest-TestBasicPolicy-43663958-28918982 ID is dd7e2bb8-2e02-4279-bfa4-1b97f4676101 2025-12-18 10:22:01,782 - DEBUG - VM ctest-TestBasicPolicy-43663958-28918982 launched on Node cn-jenkins-deploy-platform-ansible-os-4905-1 2025-12-18 10:22:01,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dd7e2bb8-2e02-4279-bfa4-1b97f4676101 2025-12-18 10:22:01,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1d50622c-708d-4bb8-96ac-1b4d8e4f86d7 2025-12-18 10:22:05,152 - 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 1032ms') 2025-12-18 10:22:05,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43663958-28918982 failed! 2025-12-18 10:22:05,203 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43663958:ctest-vn-46375695 is 126.213.65.193 and allocation pool is NOT set 2025-12-18 10:22:07,261 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 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.465/2.226/3.987/1.761 ms') 2025-12-18 10:22:07,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43663958-28918982 passed 2025-12-18 10:22:07,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:22:07,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43663958-28918982, IP 126.213.65.195, Port 22 2025-12-18 10:22:07,586 - DEBUG - VM ctest-TestBasicPolicy-43663958-28918982 is ready for SSH connections 2025-12-18 10:22:07,586 - INFO - Waiting for VM ctest-TestBasicPolicy-43663958-09976139 to be up.. 2025-12-18 10:22:07,662 - DEBUG - VM is in ACTIVE state now 2025-12-18 10:22:07,662 - INFO - VM name : ctest-TestBasicPolicy-43663958-09976139 2025-12-18 10:22:07,729 - DEBUG - VM ctest-TestBasicPolicy-43663958-09976139 ID is 7de5cda2-3b8b-4687-b6db-3a4cfe00861a 2025-12-18 10:22:07,729 - DEBUG - VM ctest-TestBasicPolicy-43663958-09976139 launched on Node cn-jenkins-deploy-platform-ansible-os-4905-1 2025-12-18 10:22:07,797 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7de5cda2-3b8b-4687-b6db-3a4cfe00861a 2025-12-18 10:22:07,804 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c90db08e-7ce3-4882-81e0-df8d7a08f8bb 2025-12-18 10:22:09,033 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.511/2.172/3.834/1.661 ms') 2025-12-18 10:22:09,033 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43663958-09976139 passed 2025-12-18 10:22:09,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:22:09,180 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43663958-09976139, IP 219.143.35.195, Port 22 2025-12-18 10:22:09,331 - DEBUG - VM ctest-TestBasicPolicy-43663958-09976139 is ready for SSH connections 2025-12-18 10:22:09,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:22:09,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.143.35.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-18 10:22:09,331 - DEBUG - ping -s 56 -c 3 -W 1 219.143.35.195 2025-12-18 10:22:13,517 - DEBUG - PING 219.143.35.195 (219.143.35.195): 56 data bytes 64 bytes from 219.143.35.195: seq=0 ttl=63 time=4.017 ms 64 bytes from 219.143.35.195: seq=1 ttl=63 time=1.141 ms 64 bytes from 219.143.35.195: seq=2 ttl=63 time=0.777 ms --- 219.143.35.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.978/4.017 ms 2025-12-18 10:22:13,517 - INFO - Ping to IP 219.143.35.195 from VM ctest-TestBasicPolicy-43663958-28918982 passed 2025-12-18 10:22:13,691 - DEBUG - Policy Update Response {"network-policy": {"uuid": "88fc4181-ac56-41d7-abe8-60c1b504d859", "href": "http://10.0.0.50:8082/network-policy/88fc4181-ac56-41d7-abe8-60c1b504d859"}} 2025-12-18 10:22:13,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:22:13,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.143.35.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-18 10:22:13,692 - DEBUG - ping -s 56 -c 3 -W 1 219.143.35.195 2025-12-18 10:22:16,900 - DEBUG - PING 219.143.35.195 (219.143.35.195): 56 data bytes --- 219.143.35.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 10:22:16,900 - WARNING - Ping to IP 219.143.35.195 from VM ctest-TestBasicPolicy-43663958-28918982 failed 2025-12-18 10:22:16,900 - INFO - Deleting VM ctest-TestBasicPolicy-43663958-09976139 2025-12-18 10:22:16,967 - INFO - Deleting VM ctest-TestBasicPolicy-43663958-28918982 2025-12-18 10:22:17,367 - INFO - Deleted policy ctest-policy-allow-all-27875764 2025-12-18 10:22:17,367 - INFO - Deleting VN ctest-vn-47019974 2025-12-18 10:22:17,426 - DEBUG - VN 3a3a51cd-da38-4372-a5ec-d74f18f0f7be still in use: Unable to complete operation on network 3a3a51cd-da38-4372-a5ec-d74f18f0f7be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-37b57e6c-63a5-4d3c-b0b0-35918fb23707'] 2025-12-18 10:22:17,427 - WARNING - Deleting VN ctest-vn-47019974 failed..Will retry 2025-12-18 10:22:19,543 - DEBUG - Response for deleting network () 2025-12-18 10:22:19,544 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4d33cb-ab46-4549-a4d4-5181224d7fbe 2025-12-18 10:22:19,554 - DEBUG - Response Code: 404 2025-12-18 10:22:19,554 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-18 10:22:19,564 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3cde6b1b-7af9-4596-8f35-efafcb4d5542 2025-12-18 10:22:19,622 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8f26f9-4153-4a94-9246-6c0cbe173862 2025-12-18 10:22:19,698 - INFO - Validated that VN ctest-vn-47019974 is not found in API Server 2025-12-18 10:22:19,707 - DEBUG - VN ctest-vn-47019974 is not present in Agent 10.0.0.50 2025-12-18 10:22:19,707 - INFO - Validated that VN ctest-vn-47019974 is not in any agent 2025-12-18 10:22:19,720 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47019974 info 2025-12-18 10:22:19,720 - INFO - Deleting VN ctest-vn-46375695 2025-12-18 10:22:19,812 - DEBUG - Response for deleting network () 2025-12-18 10:22:19,812 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a34ed7e-b820-4912-97b2-e88fb45eff5e 2025-12-18 10:22:19,817 - DEBUG - Response Code: 404 2025-12-18 10:22:19,818 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-18 10:22:19,826 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3cde6b1b-7af9-4596-8f35-efafcb4d5542 2025-12-18 10:22:19,880 - DEBUG - Requesting: http://10.0.0.50:8082/project/ce8f26f9-4153-4a94-9246-6c0cbe173862 2025-12-18 10:22:19,949 - INFO - Validated that VN ctest-vn-46375695 is not found in API Server 2025-12-18 10:22:19,959 - DEBUG - VN ctest-vn-46375695 is not present in Agent 10.0.0.50 2025-12-18 10:22:19,959 - INFO - Validated that VN ctest-vn-46375695 is not in any agent 2025-12-18 10:22:19,972 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46375695 info 2025-12-18 10:22:20,227 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 10:22:20,227 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-18 10:22:20,228 - INFO - -------------------------------------------------------------------------------- 2025-12-18 10:22:20,902 - INFO - Deleted project: ctest-TestBasicPolicy-43663958, ID : ce8f26f9-4153-4a94-9246-6c0cbe173862