2025-06-23 21:25:35,260 - INFO - Domain Default found not creating 2025-06-23 21:25:35,383 - INFO - Project ctest-TestBasicPolicy-73328022 not found, creating it 2025-06-23 21:25:35,795 - INFO - Created Project:ctest-TestBasicPolicy-73328022, ID : a748d43a-c86d-4300-8007-15402d0f6f00 2025-06-23 21:25:37,129 - INFO - ================================================================================ 2025-06-23 21:25:37,129 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-23 21:25:37,129 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-23 21:25:37,385 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-23 21:25:37,385 - INFO - Initial checks done. Running the testcase now 2025-06-23 21:25:37,386 - INFO - 2025-06-23 21:25:38,042 - DEBUG - Response for create_network : {'network': {'id': 'd0862a74-f1ce-41a2-86b4-cbe8ac701e51', 'name': 'ctest-vn-56152329', 'tenant_id': 'a748d43ac86d4300800715402d0f6f00', 'project_id': 'a748d43ac86d4300800715402d0f6f00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73328022', 'ctest-vn-56152329'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 21:25:38,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '11fcf801-6e1a-4f29-922e-7a5877223436', 'name': '', 'tenant_id': 'a748d43ac86d4300800715402d0f6f00', 'network_id': 'd0862a74-f1ce-41a2-86b4-cbe8ac701e51', 'ip_version': 4, 'cidr': '50.123.34.128/26', 'allocation_pools': [{'start': '50.123.34.130', 'end': '50.123.34.190'}], 'gateway_ip': '50.123.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.123.34.130', 'tags': [], 'project_id': 'a748d43ac86d4300800715402d0f6f00'}} 2025-06-23 21:25:38,274 - INFO - Created VN ctest-vn-56152329 2025-06-23 21:25:38,324 - DEBUG - VN ctest-vn-56152329 UUID is d0862a74-f1ce-41a2-86b4-cbe8ac701e51 2025-06-23 21:25:38,643 - DEBUG - Response for create_network : {'network': {'id': '07d0e57a-4f25-4c81-aa63-0a2fb6564889', 'name': 'ctest-vn-92058124', 'tenant_id': 'a748d43ac86d4300800715402d0f6f00', 'project_id': 'a748d43ac86d4300800715402d0f6f00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73328022', 'ctest-vn-92058124'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 21:25:38,806 - DEBUG - Response for create_subnet : {'subnet': {'id': '638debc8-261e-4068-95b8-4b5bc5e05216', 'name': '', 'tenant_id': 'a748d43ac86d4300800715402d0f6f00', 'network_id': '07d0e57a-4f25-4c81-aa63-0a2fb6564889', 'ip_version': 4, 'cidr': '83.19.210.192/26', 'allocation_pools': [{'start': '83.19.210.194', 'end': '83.19.210.254'}], 'gateway_ip': '83.19.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.19.210.194', 'tags': [], 'project_id': 'a748d43ac86d4300800715402d0f6f00'}} 2025-06-23 21:25:38,822 - INFO - Created VN ctest-vn-92058124 2025-06-23 21:25:38,876 - DEBUG - VN ctest-vn-92058124 UUID is 07d0e57a-4f25-4c81-aa63-0a2fb6564889 2025-06-23 21:25:39,016 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-56152329, 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-73328022:ctest-vn-92058124, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-23 21:25:39,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0862a74-f1ce-41a2-86b4-cbe8ac701e51', 'name': 'ctest-vn-56152329', 'tenant_id': 'a748d43ac86d4300800715402d0f6f00', 'project_id': 'a748d43ac86d4300800715402d0f6f00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11fcf801-6e1a-4f29-922e-7a5877223436'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73328022', 'ctest-vn-56152329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73328022', 'ctest-policy-allow-all-06624628']], 'subnet_ipam': [{'subnet_cidr': '50.123.34.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 21:25:39,522 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07d0e57a-4f25-4c81-aa63-0a2fb6564889', 'name': 'ctest-vn-92058124', 'tenant_id': 'a748d43ac86d4300800715402d0f6f00', 'project_id': 'a748d43ac86d4300800715402d0f6f00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['638debc8-261e-4068-95b8-4b5bc5e05216'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73328022', 'ctest-vn-92058124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73328022', 'ctest-policy-allow-all-06624628']], 'subnet_ipam': [{'subnet_cidr': '83.19.210.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 21:25:39,684 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-23 21:25:39,985 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-23 21:25:40,012 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55562fb9-c42c-4430-9267-edecce4c4658 2025-06-23 21:25:40,023 - DEBUG - Requesting: http://10.0.0.50:8082/project/a748d43a-c86d-4300-8007-15402d0f6f00 2025-06-23 21:25:40,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0862a74-f1ce-41a2-86b4-cbe8ac701e51 2025-06-23 21:25:40,102 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0862a74-f1ce-41a2-86b4-cbe8ac701e51 2025-06-23 21:25:40,112 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fef2a09-4aa1-4260-b61c-27d7aff76a29 2025-06-23 21:25:40,118 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fef2a09-4aa1-4260-b61c-27d7aff76a29 2025-06-23 21:25:40,125 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9d94e742-3f1f-423d-961f-294bde54496b 2025-06-23 21:25:40,130 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 21:25:40,130 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0862a74-f1ce-41a2-86b4-cbe8ac701e51 2025-06-23 21:25:40,139 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fef2a09-4aa1-4260-b61c-27d7aff76a29 2025-06-23 21:25:40,152 - INFO - Verified VN network id 9 for VN d0862a74-f1ce-41a2-86b4-cbe8ac701e51 2025-06-23 21:25:40,152 - INFO - Verifications in API Server for VN ctest-vn-56152329 passed 2025-06-23 21:25:40,152 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0862a74-f1ce-41a2-86b4-cbe8ac701e51 2025-06-23 21:25:40,161 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fef2a09-4aa1-4260-b61c-27d7aff76a29 2025-06-23 21:25:40,168 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fef2a09-4aa1-4260-b61c-27d7aff76a29 2025-06-23 21:25:40,174 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9d94e742-3f1f-423d-961f-294bde54496b 2025-06-23 21:25:40,185 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-56152329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73328022', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15025743888529637794', 'uuid-lslong': '9706607297076141649'}, 'enable': 'true', 'created': '2025-06-23T21:25:38', 'last-modified': '2025-06-23T21:25:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908148'} 2025-06-23 21:25:40,191 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 21:25:40,191 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56152329 passed 2025-06-23 21:25:40,191 - DEBUG - ====Verifying policy data for ctest-vn-56152329 in API_Server ====== 2025-06-23 21:25:40,191 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-23 21:25:40,196 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55562fb9-c42c-4430-9267-edecce4c4658 2025-06-23 21:25:40,206 - DEBUG - Requesting: http://10.0.0.50:8082/project/a748d43a-c86d-4300-8007-15402d0f6f00 2025-06-23 21:25:40,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0862a74-f1ce-41a2-86b4-cbe8ac701e51 2025-06-23 21:25:40,286 - DEBUG - ==>Verifying data for policy with id: 1a2a66bd-6369-4dc1-bd2d-ea73bb99372b, fqn: ['default-domain', 'ctest-TestBasicPolicy-73328022', 'ctest-policy-allow-all-06624628'] 2025-06-23 21:25:40,286 - INFO - VN ctest-vn-56152329 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 21:25:40,286 - DEBUG - Verifying the vn in opserver 2025-06-23 21:25:40,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-56152329 virtual network link through opserver 10.0.0.50 2025-06-23 21:25:40,286 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-23 21:25:40,580 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-23 21:25:40,631 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-56152329', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-56152329?flat'} 2025-06-23 21:25:40,631 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-56152329 is found in opserver 2025-06-23 21:25:40,641 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 21:25:40,646 - DEBUG - VRF ids for VN ctest-vn-56152329: {} 2025-06-23 21:25:40,646 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-23 21:25:40,651 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55562fb9-c42c-4430-9267-edecce4c4658 2025-06-23 21:25:40,661 - DEBUG - Requesting: http://10.0.0.50:8082/project/a748d43a-c86d-4300-8007-15402d0f6f00 2025-06-23 21:25:40,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07d0e57a-4f25-4c81-aa63-0a2fb6564889 2025-06-23 21:25:40,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07d0e57a-4f25-4c81-aa63-0a2fb6564889 2025-06-23 21:25:40,748 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/36b8f43c-34f0-4e2e-8cfe-d210e3f8d632 2025-06-23 21:25:40,754 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/36b8f43c-34f0-4e2e-8cfe-d210e3f8d632 2025-06-23 21:25:40,760 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f911411e-fb89-4e89-962f-97acef8bac62 2025-06-23 21:25:40,766 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 21:25:40,766 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07d0e57a-4f25-4c81-aa63-0a2fb6564889 2025-06-23 21:25:40,774 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/36b8f43c-34f0-4e2e-8cfe-d210e3f8d632 2025-06-23 21:25:40,786 - INFO - Verified VN network id 10 for VN 07d0e57a-4f25-4c81-aa63-0a2fb6564889 2025-06-23 21:25:40,786 - INFO - Verifications in API Server for VN ctest-vn-92058124 passed 2025-06-23 21:25:40,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07d0e57a-4f25-4c81-aa63-0a2fb6564889 2025-06-23 21:25:40,795 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/36b8f43c-34f0-4e2e-8cfe-d210e3f8d632 2025-06-23 21:25:40,801 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/36b8f43c-34f0-4e2e-8cfe-d210e3f8d632 2025-06-23 21:25:40,806 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f911411e-fb89-4e89-962f-97acef8bac62 2025-06-23 21:25:40,817 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-92058124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73328022', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '563202266897927297', 'uuid-lslong': '12277668209180952713'}, 'enable': 'true', 'created': '2025-06-23T21:25:38', 'last-modified': '2025-06-23T21:25:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317310'} 2025-06-23 21:25:40,823 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 21:25:40,823 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92058124 passed 2025-06-23 21:25:40,823 - DEBUG - ====Verifying policy data for ctest-vn-92058124 in API_Server ====== 2025-06-23 21:25:40,823 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-23 21:25:40,827 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55562fb9-c42c-4430-9267-edecce4c4658 2025-06-23 21:25:40,837 - DEBUG - Requesting: http://10.0.0.50:8082/project/a748d43a-c86d-4300-8007-15402d0f6f00 2025-06-23 21:25:40,906 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07d0e57a-4f25-4c81-aa63-0a2fb6564889 2025-06-23 21:25:40,915 - DEBUG - ==>Verifying data for policy with id: 1a2a66bd-6369-4dc1-bd2d-ea73bb99372b, fqn: ['default-domain', 'ctest-TestBasicPolicy-73328022', 'ctest-policy-allow-all-06624628'] 2025-06-23 21:25:40,915 - INFO - VN ctest-vn-92058124 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 21:25:40,915 - DEBUG - Verifying the vn in opserver 2025-06-23 21:25:40,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-92058124 virtual network link through opserver 10.0.0.50 2025-06-23 21:25:40,915 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-23 21:25:40,924 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-92058124', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-92058124?flat'} 2025-06-23 21:25:40,924 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-92058124 is found in opserver 2025-06-23 21:25:40,934 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 21:25:40,938 - DEBUG - VRF ids for VN ctest-vn-92058124: {} 2025-06-23 21:25:40,987 - DEBUG - Services list from nova: [, , ] 2025-06-23 21:25:41,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3525-1) 2025-06-23 21:25:43,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3525-1) 2025-06-23 21:25:43,270 - INFO - Waiting for VM ctest-TestBasicPolicy-73328022-37083224 to be up.. 2025-06-23 21:25:43,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 21:25:48,435 - DEBUG - VM is in ACTIVE state now 2025-06-23 21:25:48,435 - INFO - VM name : ctest-TestBasicPolicy-73328022-37083224 2025-06-23 21:25:48,526 - DEBUG - VM ctest-TestBasicPolicy-73328022-37083224 ID is 2dc547bd-57f4-4094-aad6-0be61dde2273 2025-06-23 21:25:48,563 - DEBUG - VM ctest-TestBasicPolicy-73328022-37083224 launched on Node cn-jenkins-deploy-platform-ansible-os-3525-1 2025-06-23 21:25:48,651 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2dc547bd-57f4-4094-aad6-0be61dde2273 2025-06-23 21:25:48,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/955407b9-9ff7-424c-92da-df1d2a61f3e1 2025-06-23 21:25:51,912 - 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 1011ms') 2025-06-23 21:25:51,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73328022-37083224 failed! 2025-06-23 21:25:51,964 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73328022:ctest-vn-56152329 is 50.123.34.129 and allocation pool is NOT set 2025-06-23 21:25:54,021 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.377 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.377/1.581/2.785/1.204 ms') 2025-06-23 21:25:54,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73328022-37083224 passed 2025-06-23 21:25:54,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:25:54,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73328022-37083224, IP 50.123.34.131, Port 22 2025-06-23 21:25:54,331 - DEBUG - VM ctest-TestBasicPolicy-73328022-37083224 is ready for SSH connections 2025-06-23 21:25:54,332 - INFO - Waiting for VM ctest-TestBasicPolicy-73328022-40695830 to be up.. 2025-06-23 21:25:54,402 - DEBUG - VM is in ACTIVE state now 2025-06-23 21:25:54,402 - INFO - VM name : ctest-TestBasicPolicy-73328022-40695830 2025-06-23 21:25:54,465 - DEBUG - VM ctest-TestBasicPolicy-73328022-40695830 ID is 4b50a135-61f1-4311-965e-f9fcc01a5d14 2025-06-23 21:25:54,465 - DEBUG - VM ctest-TestBasicPolicy-73328022-40695830 launched on Node cn-jenkins-deploy-platform-ansible-os-3525-1 2025-06-23 21:25:54,529 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4b50a135-61f1-4311-965e-f9fcc01a5d14 2025-06-23 21:25:54,536 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8c617090-4e80-4a87-a438-607754ebcd9a 2025-06-23 21:25:55,773 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.630/2.856/1.225 ms') 2025-06-23 21:25:55,773 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73328022-40695830 passed 2025-06-23 21:25:55,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:25:55,928 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73328022-40695830, IP 83.19.210.195, Port 22 2025-06-23 21:25:56,080 - DEBUG - VM ctest-TestBasicPolicy-73328022-40695830 is ready for SSH connections 2025-06-23 21:25:56,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:25:56,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.19.210.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-23 21:25:56,080 - DEBUG - ping -s 56 -c 3 -W 1 83.19.210.195 2025-06-23 21:26:00,053 - DEBUG - PING 83.19.210.195 (83.19.210.195): 56 data bytes 64 bytes from 83.19.210.195: seq=0 ttl=63 time=3.842 ms 64 bytes from 83.19.210.195: seq=1 ttl=63 time=0.748 ms 64 bytes from 83.19.210.195: seq=2 ttl=63 time=0.831 ms --- 83.19.210.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.748/1.807/3.842 ms 2025-06-23 21:26:00,053 - INFO - Ping to IP 83.19.210.195 from VM ctest-TestBasicPolicy-73328022-37083224 passed 2025-06-23 21:26:00,232 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1a2a66bd-6369-4dc1-bd2d-ea73bb99372b", "href": "http://10.0.0.50:8082/network-policy/1a2a66bd-6369-4dc1-bd2d-ea73bb99372b"}} 2025-06-23 21:26:00,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:26:00,232 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.19.210.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-23 21:26:00,232 - DEBUG - ping -s 56 -c 3 -W 1 83.19.210.195 2025-06-23 21:26:03,425 - DEBUG - PING 83.19.210.195 (83.19.210.195): 56 data bytes --- 83.19.210.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-23 21:26:03,425 - WARNING - Ping to IP 83.19.210.195 from VM ctest-TestBasicPolicy-73328022-37083224 failed 2025-06-23 21:26:03,425 - INFO - Deleting VM ctest-TestBasicPolicy-73328022-40695830 2025-06-23 21:26:03,489 - INFO - Deleting VM ctest-TestBasicPolicy-73328022-37083224 2025-06-23 21:26:03,858 - INFO - Deleted policy ctest-policy-allow-all-06624628 2025-06-23 21:26:03,858 - INFO - Deleting VN ctest-vn-92058124 2025-06-23 21:26:03,894 - DEBUG - VN 07d0e57a-4f25-4c81-aa63-0a2fb6564889 still in use: Unable to complete operation on network 07d0e57a-4f25-4c81-aa63-0a2fb6564889. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b49c3839-d33b-4cb6-b523-8398e3764482'] 2025-06-23 21:26:03,894 - WARNING - Deleting VN ctest-vn-92058124 failed..Will retry 2025-06-23 21:26:05,991 - DEBUG - Response for deleting network () 2025-06-23 21:26:05,991 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/36b8f43c-34f0-4e2e-8cfe-d210e3f8d632 2025-06-23 21:26:05,997 - DEBUG - Response Code: 404 2025-06-23 21:26:05,997 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-23 21:26:06,003 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55562fb9-c42c-4430-9267-edecce4c4658 2025-06-23 21:26:06,060 - DEBUG - Requesting: http://10.0.0.50:8082/project/a748d43a-c86d-4300-8007-15402d0f6f00 2025-06-23 21:26:06,128 - INFO - Validated that VN ctest-vn-92058124 is not found in API Server 2025-06-23 21:26:06,138 - DEBUG - VN ctest-vn-92058124 is not present in Agent 10.0.0.50 2025-06-23 21:26:06,138 - INFO - Validated that VN ctest-vn-92058124 is not in any agent 2025-06-23 21:26:06,152 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92058124 info 2025-06-23 21:26:06,153 - INFO - Deleting VN ctest-vn-56152329 2025-06-23 21:26:06,245 - DEBUG - Response for deleting network () 2025-06-23 21:26:06,245 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fef2a09-4aa1-4260-b61c-27d7aff76a29 2025-06-23 21:26:06,252 - DEBUG - Response Code: 404 2025-06-23 21:26:06,252 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-23 21:26:06,257 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55562fb9-c42c-4430-9267-edecce4c4658 2025-06-23 21:26:06,308 - DEBUG - Requesting: http://10.0.0.50:8082/project/a748d43a-c86d-4300-8007-15402d0f6f00 2025-06-23 21:26:06,374 - INFO - Validated that VN ctest-vn-56152329 is not found in API Server 2025-06-23 21:26:06,384 - DEBUG - VN ctest-vn-56152329 is not present in Agent 10.0.0.50 2025-06-23 21:26:06,384 - INFO - Validated that VN ctest-vn-56152329 is not in any agent 2025-06-23 21:26:06,398 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56152329 info 2025-06-23 21:26:06,657 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 21:26:06,657 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-23 21:26:06,657 - INFO - -------------------------------------------------------------------------------- 2025-06-23 21:26:07,296 - INFO - Deleted project: ctest-TestBasicPolicy-73328022, ID : a748d43a-c86d-4300-8007-15402d0f6f00