2025-04-24 02:02:54,612 - INFO - Domain Default found not creating 2025-04-24 02:02:54,731 - INFO - Project ctest-TestBasicPolicy-27042086 not found, creating it 2025-04-24 02:02:55,210 - INFO - Created Project:ctest-TestBasicPolicy-27042086, ID : d7eb180a-9b61-497d-ad26-4fe46b46f152 2025-04-24 02:02:56,546 - INFO - ================================================================================ 2025-04-24 02:02:56,546 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 02:02:56,546 - 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 02:02:56,803 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with 2025-04-24 02:02:56,803 - INFO - Initial checks done. Running the testcase now 2025-04-24 02:02:56,803 - INFO - 2025-04-24 02:02:57,323 - DEBUG - Response for create_network : {'network': {'id': 'dfdaca50-8cac-48ff-adb5-a12d8b49c4fa', 'name': 'ctest-vn-02213936', 'tenant_id': 'd7eb180a9b61497dad264fe46b46f152', 'project_id': 'd7eb180a9b61497dad264fe46b46f152', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27042086', 'ctest-vn-02213936'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:02:57,481 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e727b525-0690-426a-ab85-8ce87b3835d4', 'name': '', 'tenant_id': 'd7eb180a9b61497dad264fe46b46f152', 'network_id': 'dfdaca50-8cac-48ff-adb5-a12d8b49c4fa', 'ip_version': 4, 'cidr': '206.13.196.64/26', 'allocation_pools': [{'start': '206.13.196.66', 'end': '206.13.196.126'}], 'gateway_ip': '206.13.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.13.196.66', 'tags': [], 'project_id': 'd7eb180a9b61497dad264fe46b46f152'}} 2025-04-24 02:02:57,499 - INFO - Created VN ctest-vn-02213936 2025-04-24 02:02:57,550 - DEBUG - VN ctest-vn-02213936 UUID is dfdaca50-8cac-48ff-adb5-a12d8b49c4fa 2025-04-24 02:02:57,866 - DEBUG - Response for create_network : {'network': {'id': '1898454e-6f0a-4211-9e31-dc480a938c12', 'name': 'ctest-vn-65059573', 'tenant_id': 'd7eb180a9b61497dad264fe46b46f152', 'project_id': 'd7eb180a9b61497dad264fe46b46f152', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27042086', 'ctest-vn-65059573'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:02:58,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '99cddf30-784d-446b-930a-9a32ab7198f6', 'name': '', 'tenant_id': 'd7eb180a9b61497dad264fe46b46f152', 'network_id': '1898454e-6f0a-4211-9e31-dc480a938c12', 'ip_version': 4, 'cidr': '170.150.135.192/26', 'allocation_pools': [{'start': '170.150.135.194', 'end': '170.150.135.254'}], 'gateway_ip': '170.150.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.150.135.194', 'tags': [], 'project_id': 'd7eb180a9b61497dad264fe46b46f152'}} 2025-04-24 02:02:58,080 - INFO - Created VN ctest-vn-65059573 2025-04-24 02:02:58,134 - DEBUG - VN ctest-vn-65059573 UUID is 1898454e-6f0a-4211-9e31-dc480a938c12 2025-04-24 02:02:58,326 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-02213936, 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-27042086:ctest-vn-65059573, 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 02:02:58,615 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfdaca50-8cac-48ff-adb5-a12d8b49c4fa', 'name': 'ctest-vn-02213936', 'tenant_id': 'd7eb180a9b61497dad264fe46b46f152', 'project_id': 'd7eb180a9b61497dad264fe46b46f152', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e727b525-0690-426a-ab85-8ce87b3835d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27042086', 'ctest-vn-02213936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27042086', 'ctest-policy-allow-all-64308272']], 'subnet_ipam': [{'subnet_cidr': '206.13.196.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:02:58,890 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1898454e-6f0a-4211-9e31-dc480a938c12', 'name': 'ctest-vn-65059573', 'tenant_id': 'd7eb180a9b61497dad264fe46b46f152', 'project_id': 'd7eb180a9b61497dad264fe46b46f152', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['99cddf30-784d-446b-930a-9a32ab7198f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27042086', 'ctest-vn-65059573'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27042086', 'ctest-policy-allow-all-64308272']], 'subnet_ipam': [{'subnet_cidr': '170.150.135.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:02:59,042 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-04-24 02:02:59,406 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-04-24 02:02:59,446 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14fd59fa-11f8-48ef-90be-991f37e7405c 2025-04-24 02:02:59,473 - DEBUG - Requesting: http://10.0.0.141:8082/project/d7eb180a-9b61-497d-ad26-4fe46b46f152 2025-04-24 02:02:59,567 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dfdaca50-8cac-48ff-adb5-a12d8b49c4fa 2025-04-24 02:02:59,580 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dfdaca50-8cac-48ff-adb5-a12d8b49c4fa 2025-04-24 02:02:59,596 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ce42426-31b2-479e-b032-257929498c0b 2025-04-24 02:02:59,608 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ce42426-31b2-479e-b032-257929498c0b 2025-04-24 02:02:59,625 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/34827fec-8190-400b-9ddb-63a8ff20340d 2025-04-24 02:02:59,642 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 02:02:59,642 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dfdaca50-8cac-48ff-adb5-a12d8b49c4fa 2025-04-24 02:02:59,652 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ce42426-31b2-479e-b032-257929498c0b 2025-04-24 02:02:59,682 - INFO - Verified VN network id 9 for VN dfdaca50-8cac-48ff-adb5-a12d8b49c4fa 2025-04-24 02:02:59,682 - INFO - Verifications in API Server for VN ctest-vn-02213936 passed 2025-04-24 02:02:59,682 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dfdaca50-8cac-48ff-adb5-a12d8b49c4fa 2025-04-24 02:02:59,696 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ce42426-31b2-479e-b032-257929498c0b 2025-04-24 02:02:59,705 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ce42426-31b2-479e-b032-257929498c0b 2025-04-24 02:02:59,713 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/34827fec-8190-400b-9ddb-63a8ff20340d 2025-04-24 02:02:59,733 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-02213936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27042086', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16130427462687148287', 'uuid-lslong': '12517087956328629498'}, 'enable': 'true', 'created': '2025-04-24T02:02:57', 'last-modified': '2025-04-24T02:02:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.138062'} 2025-04-24 02:02:59,739 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 02:02:59,739 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02213936 passed 2025-04-24 02:02:59,740 - DEBUG - ====Verifying policy data for ctest-vn-02213936 in API_Server ====== 2025-04-24 02:02:59,740 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-04-24 02:02:59,763 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14fd59fa-11f8-48ef-90be-991f37e7405c 2025-04-24 02:02:59,794 - DEBUG - Requesting: http://10.0.0.141:8082/project/d7eb180a-9b61-497d-ad26-4fe46b46f152 2025-04-24 02:02:59,874 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dfdaca50-8cac-48ff-adb5-a12d8b49c4fa 2025-04-24 02:02:59,884 - DEBUG - ==>Verifying data for policy with id: 099aaec0-6cfe-4ffa-bd7b-05c1dea15acd, fqn: ['default-domain', 'ctest-TestBasicPolicy-27042086', 'ctest-policy-allow-all-64308272'] 2025-04-24 02:02:59,884 - INFO - VN ctest-vn-02213936 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 02:02:59,884 - DEBUG - Verifying the vn in opserver 2025-04-24 02:02:59,884 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-02213936 virtual network link through opserver 10.0.0.141 2025-04-24 02:02:59,884 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-04-24 02:03:00,172 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-04-24 02:03:00,221 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-02213936', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-02213936?flat'} 2025-04-24 02:03:00,221 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-02213936 is found in opserver 2025-04-24 02:03:00,231 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 02:03:00,236 - DEBUG - VRF ids for VN ctest-vn-02213936: {} 2025-04-24 02:03:00,236 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-04-24 02:03:00,241 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14fd59fa-11f8-48ef-90be-991f37e7405c 2025-04-24 02:03:00,252 - DEBUG - Requesting: http://10.0.0.141:8082/project/d7eb180a-9b61-497d-ad26-4fe46b46f152 2025-04-24 02:03:00,325 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1898454e-6f0a-4211-9e31-dc480a938c12 2025-04-24 02:03:00,337 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1898454e-6f0a-4211-9e31-dc480a938c12 2025-04-24 02:03:00,346 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/10390e1e-2444-48ac-b571-2b87c15d2d64 2025-04-24 02:03:00,352 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/10390e1e-2444-48ac-b571-2b87c15d2d64 2025-04-24 02:03:00,358 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/002701b9-f8a2-41ff-8735-2bb7985c28cd 2025-04-24 02:03:00,363 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 02:03:00,363 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1898454e-6f0a-4211-9e31-dc480a938c12 2025-04-24 02:03:00,371 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/10390e1e-2444-48ac-b571-2b87c15d2d64 2025-04-24 02:03:00,382 - INFO - Verified VN network id 10 for VN 1898454e-6f0a-4211-9e31-dc480a938c12 2025-04-24 02:03:00,382 - INFO - Verifications in API Server for VN ctest-vn-65059573 passed 2025-04-24 02:03:00,383 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1898454e-6f0a-4211-9e31-dc480a938c12 2025-04-24 02:03:00,391 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/10390e1e-2444-48ac-b571-2b87c15d2d64 2025-04-24 02:03:00,397 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/10390e1e-2444-48ac-b571-2b87c15d2d64 2025-04-24 02:03:00,402 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/002701b9-f8a2-41ff-8735-2bb7985c28cd 2025-04-24 02:03:00,412 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-65059573', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27042086', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1772242656542999057', 'uuid-lslong': '11399134333824633874'}, 'enable': 'true', 'created': '2025-04-24T02:02:57', 'last-modified': '2025-04-24T02:02:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.587784'} 2025-04-24 02:03:00,418 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 02:03:00,418 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65059573 passed 2025-04-24 02:03:00,418 - DEBUG - ====Verifying policy data for ctest-vn-65059573 in API_Server ====== 2025-04-24 02:03:00,418 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-04-24 02:03:00,423 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14fd59fa-11f8-48ef-90be-991f37e7405c 2025-04-24 02:03:00,433 - DEBUG - Requesting: http://10.0.0.141:8082/project/d7eb180a-9b61-497d-ad26-4fe46b46f152 2025-04-24 02:03:00,512 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1898454e-6f0a-4211-9e31-dc480a938c12 2025-04-24 02:03:00,521 - DEBUG - ==>Verifying data for policy with id: 099aaec0-6cfe-4ffa-bd7b-05c1dea15acd, fqn: ['default-domain', 'ctest-TestBasicPolicy-27042086', 'ctest-policy-allow-all-64308272'] 2025-04-24 02:03:00,521 - INFO - VN ctest-vn-65059573 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 02:03:00,521 - DEBUG - Verifying the vn in opserver 2025-04-24 02:03:00,521 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-65059573 virtual network link through opserver 10.0.0.141 2025-04-24 02:03:00,521 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-04-24 02:03:00,530 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-65059573', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-65059573?flat'} 2025-04-24 02:03:00,530 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-65059573 is found in opserver 2025-04-24 02:03:00,540 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 02:03:00,545 - DEBUG - VRF ids for VN ctest-vn-65059573: {} 2025-04-24 02:03:00,591 - DEBUG - Services list from nova: [, , ] 2025-04-24 02:03:01,531 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3199-1) 2025-04-24 02:03:02,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3199-1) 2025-04-24 02:03:02,677 - INFO - Waiting for VM ctest-TestBasicPolicy-27042086-41227988 to be up.. 2025-04-24 02:03:02,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 02:03:07,822 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:03:07,822 - INFO - VM name : ctest-TestBasicPolicy-27042086-41227988 2025-04-24 02:03:07,892 - DEBUG - VM ctest-TestBasicPolicy-27042086-41227988 ID is 5b4c6142-d014-42db-828e-8b743bf6952a 2025-04-24 02:03:07,914 - DEBUG - VM ctest-TestBasicPolicy-27042086-41227988 launched on Node cn-jenkins-deploy-platform-ansible-os-3199-1 2025-04-24 02:03:07,979 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5b4c6142-d014-42db-828e-8b743bf6952a 2025-04-24 02:03:07,986 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f7811bd7-f6e9-41f8-a7c9-715d5cc9be46 2025-04-24 02:03:11,262 - 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 1031ms') 2025-04-24 02:03:11,262 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27042086-41227988 failed! 2025-04-24 02:03:11,318 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27042086:ctest-vn-02213936 is 206.13.196.65 and allocation pool is NOT set 2025-04-24 02:03:13,373 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.307 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.307/1.674/3.042/1.367 ms') 2025-04-24 02:03:13,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27042086-41227988 passed 2025-04-24 02:03:13,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:03:13,522 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27042086-41227988, IP 206.13.196.67, Port 22 2025-04-24 02:03:13,678 - DEBUG - VM ctest-TestBasicPolicy-27042086-41227988 is ready for SSH connections 2025-04-24 02:03:13,678 - INFO - Waiting for VM ctest-TestBasicPolicy-27042086-50743666 to be up.. 2025-04-24 02:03:13,743 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:03:13,743 - INFO - VM name : ctest-TestBasicPolicy-27042086-50743666 2025-04-24 02:03:13,802 - DEBUG - VM ctest-TestBasicPolicy-27042086-50743666 ID is cf25e220-b092-478d-9295-2e80604e0b23 2025-04-24 02:03:13,802 - DEBUG - VM ctest-TestBasicPolicy-27042086-50743666 launched on Node cn-jenkins-deploy-platform-ansible-os-3199-1 2025-04-24 02:03:13,865 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/cf25e220-b092-478d-9295-2e80604e0b23 2025-04-24 02:03:13,873 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/65f46387-48d8-46c6-aee0-5555b3ac19ff 2025-04-24 02:03:15,105 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.529/2.733/1.204 ms') 2025-04-24 02:03:15,105 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27042086-50743666 passed 2025-04-24 02:03:15,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:03:15,254 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27042086-50743666, IP 170.150.135.195, Port 22 2025-04-24 02:03:15,409 - DEBUG - VM ctest-TestBasicPolicy-27042086-50743666 is ready for SSH connections 2025-04-24 02:03:15,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:03:15,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.150.135.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-04-24 02:03:15,410 - DEBUG - ping -s 56 -c 3 -W 1 170.150.135.195 2025-04-24 02:03:19,333 - DEBUG - PING 170.150.135.195 (170.150.135.195): 56 data bytes 64 bytes from 170.150.135.195: seq=0 ttl=63 time=4.036 ms 64 bytes from 170.150.135.195: seq=1 ttl=63 time=0.760 ms 64 bytes from 170.150.135.195: seq=2 ttl=63 time=0.935 ms --- 170.150.135.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.910/4.036 ms 2025-04-24 02:03:19,334 - INFO - Ping to IP 170.150.135.195 from VM ctest-TestBasicPolicy-27042086-41227988 passed 2025-04-24 02:03:19,514 - DEBUG - Policy Update Response {"network-policy": {"uuid": "099aaec0-6cfe-4ffa-bd7b-05c1dea15acd", "href": "http://10.0.0.141:8082/network-policy/099aaec0-6cfe-4ffa-bd7b-05c1dea15acd"}} 2025-04-24 02:03:19,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:03:19,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.150.135.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-04-24 02:03:19,514 - DEBUG - ping -s 56 -c 3 -W 1 170.150.135.195 2025-04-24 02:03:22,715 - DEBUG - PING 170.150.135.195 (170.150.135.195): 56 data bytes --- 170.150.135.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-24 02:03:22,715 - WARNING - Ping to IP 170.150.135.195 from VM ctest-TestBasicPolicy-27042086-41227988 failed 2025-04-24 02:03:22,716 - INFO - Deleting VM ctest-TestBasicPolicy-27042086-50743666 2025-04-24 02:03:22,773 - INFO - Deleting VM ctest-TestBasicPolicy-27042086-41227988 2025-04-24 02:03:23,105 - INFO - Deleted policy ctest-policy-allow-all-64308272 2025-04-24 02:03:23,106 - INFO - Deleting VN ctest-vn-65059573 2025-04-24 02:03:23,148 - DEBUG - VN 1898454e-6f0a-4211-9e31-dc480a938c12 still in use: Unable to complete operation on network 1898454e-6f0a-4211-9e31-dc480a938c12. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5931ae8c-c286-4815-a72f-4fa38d8b8d50'] 2025-04-24 02:03:23,148 - WARNING - Deleting VN ctest-vn-65059573 failed..Will retry 2025-04-24 02:03:25,236 - DEBUG - Response for deleting network () 2025-04-24 02:03:25,236 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/10390e1e-2444-48ac-b571-2b87c15d2d64 2025-04-24 02:03:25,242 - DEBUG - Response Code: 404 2025-04-24 02:03:25,242 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-04-24 02:03:25,247 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14fd59fa-11f8-48ef-90be-991f37e7405c 2025-04-24 02:03:25,302 - DEBUG - Requesting: http://10.0.0.141:8082/project/d7eb180a-9b61-497d-ad26-4fe46b46f152 2025-04-24 02:03:25,369 - INFO - Validated that VN ctest-vn-65059573 is not found in API Server 2025-04-24 02:03:25,379 - DEBUG - VN ctest-vn-65059573 is not present in Agent 10.0.0.141 2025-04-24 02:03:25,379 - INFO - Validated that VN ctest-vn-65059573 is not in any agent 2025-04-24 02:03:25,392 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65059573 info 2025-04-24 02:03:25,392 - INFO - Deleting VN ctest-vn-02213936 2025-04-24 02:03:25,475 - DEBUG - Response for deleting network () 2025-04-24 02:03:25,475 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ce42426-31b2-479e-b032-257929498c0b 2025-04-24 02:03:25,481 - DEBUG - Response Code: 404 2025-04-24 02:03:25,481 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-04-24 02:03:25,486 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14fd59fa-11f8-48ef-90be-991f37e7405c 2025-04-24 02:03:25,538 - DEBUG - Requesting: http://10.0.0.141:8082/project/d7eb180a-9b61-497d-ad26-4fe46b46f152 2025-04-24 02:03:25,610 - INFO - Validated that VN ctest-vn-02213936 is not found in API Server 2025-04-24 02:03:25,620 - DEBUG - VN ctest-vn-02213936 is not present in Agent 10.0.0.141 2025-04-24 02:03:25,620 - INFO - Validated that VN ctest-vn-02213936 is not in any agent 2025-04-24 02:03:25,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02213936 info 2025-04-24 02:03:25,887 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 02:03:25,887 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-24 02:03:25,887 - INFO - -------------------------------------------------------------------------------- 2025-04-24 02:03:26,529 - INFO - Deleted project: ctest-TestBasicPolicy-27042086, ID : d7eb180a-9b61-497d-ad26-4fe46b46f152