2025-04-22 11:27:31,823 - INFO - Domain Default found not creating 2025-04-22 11:27:31,955 - INFO - Project ctest-TestBasicPolicy-02651621 not found, creating it 2025-04-22 11:27:32,395 - INFO - Created Project:ctest-TestBasicPolicy-02651621, ID : 373af53c-3e47-4043-9a98-ad6b3461f9c1 2025-04-22 11:27:33,739 - INFO - ================================================================================ 2025-04-22 11:27:33,739 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 11:27:33,739 - 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-22 11:27:34,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-04-22 11:27:34,000 - INFO - Initial checks done. Running the testcase now 2025-04-22 11:27:34,000 - INFO - 2025-04-22 11:27:34,539 - DEBUG - Response for create_network : {'network': {'id': '281610f8-3750-40a8-8f75-69eca9907ed3', 'name': 'ctest-vn-60716505', 'tenant_id': '373af53c3e4740439a98ad6b3461f9c1', 'project_id': '373af53c3e4740439a98ad6b3461f9c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02651621', 'ctest-vn-60716505'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 11:27:34,693 - DEBUG - Response for create_subnet : {'subnet': {'id': '25e2e463-0ba1-4086-9820-c6f8a4942b39', 'name': '', 'tenant_id': '373af53c3e4740439a98ad6b3461f9c1', 'network_id': '281610f8-3750-40a8-8f75-69eca9907ed3', 'ip_version': 4, 'cidr': '170.60.240.128/26', 'allocation_pools': [{'start': '170.60.240.130', 'end': '170.60.240.190'}], 'gateway_ip': '170.60.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.60.240.130', 'tags': [], 'project_id': '373af53c3e4740439a98ad6b3461f9c1'}} 2025-04-22 11:27:34,710 - INFO - Created VN ctest-vn-60716505 2025-04-22 11:27:34,766 - DEBUG - VN ctest-vn-60716505 UUID is 281610f8-3750-40a8-8f75-69eca9907ed3 2025-04-22 11:27:35,091 - DEBUG - Response for create_network : {'network': {'id': '0af65cbf-de09-46d1-a5bb-6e10075f7a02', 'name': 'ctest-vn-38782431', 'tenant_id': '373af53c3e4740439a98ad6b3461f9c1', 'project_id': '373af53c3e4740439a98ad6b3461f9c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02651621', 'ctest-vn-38782431'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 11:27:35,272 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5bfd8fc-0d8c-41f8-88f2-6ed7d2a597c6', 'name': '', 'tenant_id': '373af53c3e4740439a98ad6b3461f9c1', 'network_id': '0af65cbf-de09-46d1-a5bb-6e10075f7a02', 'ip_version': 4, 'cidr': '11.146.102.0/26', 'allocation_pools': [{'start': '11.146.102.2', 'end': '11.146.102.62'}], 'gateway_ip': '11.146.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.146.102.2', 'tags': [], 'project_id': '373af53c3e4740439a98ad6b3461f9c1'}} 2025-04-22 11:27:35,289 - INFO - Created VN ctest-vn-38782431 2025-04-22 11:27:35,342 - DEBUG - VN ctest-vn-38782431 UUID is 0af65cbf-de09-46d1-a5bb-6e10075f7a02 2025-04-22 11:27:35,494 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-60716505, 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-02651621:ctest-vn-38782431, 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-22 11:27:35,808 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '281610f8-3750-40a8-8f75-69eca9907ed3', 'name': 'ctest-vn-60716505', 'tenant_id': '373af53c3e4740439a98ad6b3461f9c1', 'project_id': '373af53c3e4740439a98ad6b3461f9c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25e2e463-0ba1-4086-9820-c6f8a4942b39'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02651621', 'ctest-vn-60716505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02651621', 'ctest-policy-allow-all-41578841']], 'subnet_ipam': [{'subnet_cidr': '170.60.240.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 11:27:36,086 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0af65cbf-de09-46d1-a5bb-6e10075f7a02', 'name': 'ctest-vn-38782431', 'tenant_id': '373af53c3e4740439a98ad6b3461f9c1', 'project_id': '373af53c3e4740439a98ad6b3461f9c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5bfd8fc-0d8c-41f8-88f2-6ed7d2a597c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02651621', 'ctest-vn-38782431'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02651621', 'ctest-policy-allow-all-41578841']], 'subnet_ipam': [{'subnet_cidr': '11.146.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 11:27:36,234 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 11:27:36,533 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 11:27:36,562 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f911907e-30fb-4f3c-aa83-6900c0ab1d9b 2025-04-22 11:27:36,576 - DEBUG - Requesting: http://10.0.0.33:8082/project/373af53c-3e47-4043-9a98-ad6b3461f9c1 2025-04-22 11:27:36,659 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/281610f8-3750-40a8-8f75-69eca9907ed3 2025-04-22 11:27:36,672 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/281610f8-3750-40a8-8f75-69eca9907ed3 2025-04-22 11:27:36,683 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6ccf3046-3547-4ee6-9f87-68136fe431f4 2025-04-22 11:27:36,691 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6ccf3046-3547-4ee6-9f87-68136fe431f4 2025-04-22 11:27:36,699 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8fca25f3-9196-4604-8e39-766915a4d0ff 2025-04-22 11:27:36,705 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 11:27:36,705 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/281610f8-3750-40a8-8f75-69eca9907ed3 2025-04-22 11:27:36,714 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6ccf3046-3547-4ee6-9f87-68136fe431f4 2025-04-22 11:27:36,728 - INFO - Verified VN network id 8 for VN 281610f8-3750-40a8-8f75-69eca9907ed3 2025-04-22 11:27:36,728 - INFO - Verifications in API Server for VN ctest-vn-60716505 passed 2025-04-22 11:27:36,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/281610f8-3750-40a8-8f75-69eca9907ed3 2025-04-22 11:27:36,737 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6ccf3046-3547-4ee6-9f87-68136fe431f4 2025-04-22 11:27:36,743 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6ccf3046-3547-4ee6-9f87-68136fe431f4 2025-04-22 11:27:36,750 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8fca25f3-9196-4604-8e39-766915a4d0ff 2025-04-22 11:27:36,762 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-60716505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02651621', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2888514869270692008', 'uuid-lslong': '10337284984876859091'}, 'enable': 'true', 'created': '2025-04-22T11:27:34', 'last-modified': '2025-04-22T11:27:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987028'} 2025-04-22 11:27:36,768 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 11:27:36,768 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60716505 passed 2025-04-22 11:27:36,768 - DEBUG - ====Verifying policy data for ctest-vn-60716505 in API_Server ====== 2025-04-22 11:27:36,768 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 11:27:36,774 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f911907e-30fb-4f3c-aa83-6900c0ab1d9b 2025-04-22 11:27:36,784 - DEBUG - Requesting: http://10.0.0.33:8082/project/373af53c-3e47-4043-9a98-ad6b3461f9c1 2025-04-22 11:27:36,855 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/281610f8-3750-40a8-8f75-69eca9907ed3 2025-04-22 11:27:36,865 - DEBUG - ==>Verifying data for policy with id: 174359e5-a68f-4b3e-934b-9b948f49f7f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-02651621', 'ctest-policy-allow-all-41578841'] 2025-04-22 11:27:36,865 - INFO - VN ctest-vn-60716505 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 11:27:36,865 - DEBUG - Verifying the vn in opserver 2025-04-22 11:27:36,865 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-60716505 virtual network link through opserver 10.0.0.33 2025-04-22 11:27:36,866 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-22 11:27:37,153 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-22 11:27:37,208 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-60716505', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-60716505?flat'} 2025-04-22 11:27:37,208 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-60716505 is found in opserver 2025-04-22 11:27:37,219 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 11:27:37,223 - DEBUG - VRF ids for VN ctest-vn-60716505: {} 2025-04-22 11:27:37,224 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 11:27:37,229 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f911907e-30fb-4f3c-aa83-6900c0ab1d9b 2025-04-22 11:27:37,240 - DEBUG - Requesting: http://10.0.0.33:8082/project/373af53c-3e47-4043-9a98-ad6b3461f9c1 2025-04-22 11:27:37,313 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0af65cbf-de09-46d1-a5bb-6e10075f7a02 2025-04-22 11:27:37,326 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0af65cbf-de09-46d1-a5bb-6e10075f7a02 2025-04-22 11:27:37,335 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91f94f38-23f4-4d1b-86da-46e7542930c9 2025-04-22 11:27:37,344 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91f94f38-23f4-4d1b-86da-46e7542930c9 2025-04-22 11:27:37,351 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0c12e683-efaf-49e0-ba14-db1823eece7d 2025-04-22 11:27:37,357 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 11:27:37,357 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0af65cbf-de09-46d1-a5bb-6e10075f7a02 2025-04-22 11:27:37,367 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91f94f38-23f4-4d1b-86da-46e7542930c9 2025-04-22 11:27:37,380 - INFO - Verified VN network id 9 for VN 0af65cbf-de09-46d1-a5bb-6e10075f7a02 2025-04-22 11:27:37,380 - INFO - Verifications in API Server for VN ctest-vn-38782431 passed 2025-04-22 11:27:37,380 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0af65cbf-de09-46d1-a5bb-6e10075f7a02 2025-04-22 11:27:37,389 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91f94f38-23f4-4d1b-86da-46e7542930c9 2025-04-22 11:27:37,396 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91f94f38-23f4-4d1b-86da-46e7542930c9 2025-04-22 11:27:37,402 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0c12e683-efaf-49e0-ba14-db1823eece7d 2025-04-22 11:27:37,413 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-38782431', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02651621', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '789920763783759569', 'uuid-lslong': '11942259852025231874'}, 'enable': 'true', 'created': '2025-04-22T11:27:35', 'last-modified': '2025-04-22T11:27:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399601'} 2025-04-22 11:27:37,419 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 11:27:37,419 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38782431 passed 2025-04-22 11:27:37,419 - DEBUG - ====Verifying policy data for ctest-vn-38782431 in API_Server ====== 2025-04-22 11:27:37,419 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 11:27:37,424 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f911907e-30fb-4f3c-aa83-6900c0ab1d9b 2025-04-22 11:27:37,435 - DEBUG - Requesting: http://10.0.0.33:8082/project/373af53c-3e47-4043-9a98-ad6b3461f9c1 2025-04-22 11:27:37,505 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0af65cbf-de09-46d1-a5bb-6e10075f7a02 2025-04-22 11:27:37,515 - DEBUG - ==>Verifying data for policy with id: 174359e5-a68f-4b3e-934b-9b948f49f7f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-02651621', 'ctest-policy-allow-all-41578841'] 2025-04-22 11:27:37,515 - INFO - VN ctest-vn-38782431 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 11:27:37,515 - DEBUG - Verifying the vn in opserver 2025-04-22 11:27:37,515 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-38782431 virtual network link through opserver 10.0.0.33 2025-04-22 11:27:37,515 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-22 11:27:37,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-38782431', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-38782431?flat'} 2025-04-22 11:27:37,525 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-38782431 is found in opserver 2025-04-22 11:27:37,536 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 11:27:37,540 - DEBUG - VRF ids for VN ctest-vn-38782431: {} 2025-04-22 11:27:37,595 - DEBUG - Services list from nova: [, , ] 2025-04-22 11:27:38,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3159-1) 2025-04-22 11:27:39,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3159-1) 2025-04-22 11:27:39,836 - INFO - Waiting for VM ctest-TestBasicPolicy-02651621-67648655 to be up.. 2025-04-22 11:27:39,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 11:27:44,984 - DEBUG - VM is in ACTIVE state now 2025-04-22 11:27:44,984 - INFO - VM name : ctest-TestBasicPolicy-02651621-67648655 2025-04-22 11:27:45,049 - DEBUG - VM ctest-TestBasicPolicy-02651621-67648655 ID is 1bcb7798-e489-4c77-aea6-487f75a2d749 2025-04-22 11:27:45,067 - DEBUG - VM ctest-TestBasicPolicy-02651621-67648655 launched on Node cn-jenkins-deploy-platform-ansible-os-3159-1 2025-04-22 11:27:45,134 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1bcb7798-e489-4c77-aea6-487f75a2d749 2025-04-22 11:27:45,144 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e03ccc9c-e0c6-4495-94ab-57a7c6a544bc 2025-04-22 11:27:48,394 - 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 1008ms') 2025-04-22 11:27:48,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02651621-67648655 failed! 2025-04-22 11:27:48,450 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02651621:ctest-vn-60716505 is 170.60.240.129 and allocation pool is NOT set 2025-04-22 11:27:50,508 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.815/3.199/1.384 ms') 2025-04-22 11:27:50,508 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02651621-67648655 passed 2025-04-22 11:27:50,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 11:27:50,658 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02651621-67648655, IP 170.60.240.131, Port 22 2025-04-22 11:27:50,814 - DEBUG - VM ctest-TestBasicPolicy-02651621-67648655 is ready for SSH connections 2025-04-22 11:27:50,814 - INFO - Waiting for VM ctest-TestBasicPolicy-02651621-85984274 to be up.. 2025-04-22 11:27:50,884 - DEBUG - VM is in ACTIVE state now 2025-04-22 11:27:50,885 - INFO - VM name : ctest-TestBasicPolicy-02651621-85984274 2025-04-22 11:27:50,958 - DEBUG - VM ctest-TestBasicPolicy-02651621-85984274 ID is 2e27c8d1-9afa-4605-a29d-5a4f38ede049 2025-04-22 11:27:50,958 - DEBUG - VM ctest-TestBasicPolicy-02651621-85984274 launched on Node cn-jenkins-deploy-platform-ansible-os-3159-1 2025-04-22 11:27:51,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2e27c8d1-9afa-4605-a29d-5a4f38ede049 2025-04-22 11:27:51,039 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bdaa9f11-2656-407a-8a3b-6286685a2878 2025-04-22 11:27:52,267 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.480/2.563/1.082 ms') 2025-04-22 11:27:52,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02651621-85984274 passed 2025-04-22 11:27:52,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 11:27:52,414 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02651621-85984274, IP 11.146.102.3, Port 22 2025-04-22 11:27:52,570 - DEBUG - VM ctest-TestBasicPolicy-02651621-85984274 is ready for SSH connections 2025-04-22 11:27:52,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 11:27:52,571 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.146.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-22 11:27:52,571 - DEBUG - ping -s 56 -c 3 -W 1 11.146.102.3 2025-04-22 11:27:56,530 - DEBUG - PING 11.146.102.3 (11.146.102.3): 56 data bytes 64 bytes from 11.146.102.3: seq=0 ttl=63 time=3.191 ms 64 bytes from 11.146.102.3: seq=1 ttl=63 time=0.755 ms 64 bytes from 11.146.102.3: seq=2 ttl=63 time=0.723 ms --- 11.146.102.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.723/1.556/3.191 ms 2025-04-22 11:27:56,530 - INFO - Ping to IP 11.146.102.3 from VM ctest-TestBasicPolicy-02651621-67648655 passed 2025-04-22 11:27:56,718 - DEBUG - Policy Update Response {"network-policy": {"uuid": "174359e5-a68f-4b3e-934b-9b948f49f7f3", "href": "http://10.0.0.33:8082/network-policy/174359e5-a68f-4b3e-934b-9b948f49f7f3"}} 2025-04-22 11:27:56,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 11:27:56,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.146.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-22 11:27:56,719 - DEBUG - ping -s 56 -c 3 -W 1 11.146.102.3 2025-04-22 11:27:59,913 - DEBUG - PING 11.146.102.3 (11.146.102.3): 56 data bytes --- 11.146.102.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-22 11:27:59,913 - WARNING - Ping to IP 11.146.102.3 from VM ctest-TestBasicPolicy-02651621-67648655 failed 2025-04-22 11:27:59,913 - INFO - Deleting VM ctest-TestBasicPolicy-02651621-85984274 2025-04-22 11:27:59,975 - INFO - Deleting VM ctest-TestBasicPolicy-02651621-67648655 2025-04-22 11:28:00,337 - INFO - Deleted policy ctest-policy-allow-all-41578841 2025-04-22 11:28:00,337 - INFO - Deleting VN ctest-vn-38782431 2025-04-22 11:28:00,372 - DEBUG - VN 0af65cbf-de09-46d1-a5bb-6e10075f7a02 still in use: Unable to complete operation on network 0af65cbf-de09-46d1-a5bb-6e10075f7a02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f26bbca1-d565-453f-9147-92eebffde7f7'] 2025-04-22 11:28:00,372 - WARNING - Deleting VN ctest-vn-38782431 failed..Will retry 2025-04-22 11:28:02,469 - DEBUG - Response for deleting network () 2025-04-22 11:28:02,469 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91f94f38-23f4-4d1b-86da-46e7542930c9 2025-04-22 11:28:02,475 - DEBUG - Response Code: 404 2025-04-22 11:28:02,475 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 11:28:02,481 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f911907e-30fb-4f3c-aa83-6900c0ab1d9b 2025-04-22 11:28:02,536 - DEBUG - Requesting: http://10.0.0.33:8082/project/373af53c-3e47-4043-9a98-ad6b3461f9c1 2025-04-22 11:28:02,610 - INFO - Validated that VN ctest-vn-38782431 is not found in API Server 2025-04-22 11:28:02,621 - DEBUG - VN ctest-vn-38782431 is not present in Agent 10.0.0.33 2025-04-22 11:28:02,621 - INFO - Validated that VN ctest-vn-38782431 is not in any agent 2025-04-22 11:28:02,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38782431 info 2025-04-22 11:28:02,637 - INFO - Deleting VN ctest-vn-60716505 2025-04-22 11:28:02,740 - DEBUG - Response for deleting network () 2025-04-22 11:28:02,740 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6ccf3046-3547-4ee6-9f87-68136fe431f4 2025-04-22 11:28:02,747 - DEBUG - Response Code: 404 2025-04-22 11:28:02,747 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 11:28:02,755 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f911907e-30fb-4f3c-aa83-6900c0ab1d9b 2025-04-22 11:28:02,808 - DEBUG - Requesting: http://10.0.0.33:8082/project/373af53c-3e47-4043-9a98-ad6b3461f9c1 2025-04-22 11:28:02,877 - INFO - Validated that VN ctest-vn-60716505 is not found in API Server 2025-04-22 11:28:02,887 - DEBUG - VN ctest-vn-60716505 is not present in Agent 10.0.0.33 2025-04-22 11:28:02,887 - INFO - Validated that VN ctest-vn-60716505 is not in any agent 2025-04-22 11:28:02,902 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60716505 info 2025-04-22 11:28:03,160 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 11:28:03,160 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-22 11:28:03,160 - INFO - -------------------------------------------------------------------------------- 2025-04-22 11:28:03,817 - INFO - Deleted project: ctest-TestBasicPolicy-02651621, ID : 373af53c-3e47-4043-9a98-ad6b3461f9c1