2025-12-29 11:30:55,734 - INFO - Domain Default found not creating 2025-12-29 11:30:55,966 - INFO - Project ctest-TestBasicPolicy-71818696 not found, creating it 2025-12-29 11:30:56,462 - INFO - Created Project:ctest-TestBasicPolicy-71818696, ID : 0c0a1df4-d7d7-460c-8e94-73c09376419d 2025-12-29 11:30:57,936 - INFO - ================================================================================ 2025-12-29 11:30:57,936 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-29 11:30:57,936 - 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-29 11:30:58,188 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-29 11:30:58,189 - INFO - Initial checks done. Running the testcase now 2025-12-29 11:30:58,189 - INFO - 2025-12-29 11:30:58,776 - DEBUG - Response for create_network : {'network': {'id': '0f2c05ff-3253-41f3-b007-64b3cb9db4f4', 'name': 'ctest-vn-35422719', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'project_id': '0c0a1df4d7d7460c8e9473c09376419d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-vn-35422719'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 11:30:58,955 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e68ec37-fcd8-4776-9872-febe28616d46', 'name': '', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'network_id': '0f2c05ff-3253-41f3-b007-64b3cb9db4f4', 'ip_version': 4, 'cidr': '219.30.166.128/26', 'allocation_pools': [{'start': '219.30.166.130', 'end': '219.30.166.190'}], 'gateway_ip': '219.30.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.30.166.130', 'tags': [], 'project_id': '0c0a1df4d7d7460c8e9473c09376419d'}} 2025-12-29 11:30:58,975 - INFO - Created VN ctest-vn-35422719 2025-12-29 11:30:59,027 - DEBUG - VN ctest-vn-35422719 UUID is 0f2c05ff-3253-41f3-b007-64b3cb9db4f4 2025-12-29 11:30:59,319 - DEBUG - Response for create_network : {'network': {'id': '0b885685-3f60-4e15-afbd-6c3bafb69352', 'name': 'ctest-vn-37774681', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'project_id': '0c0a1df4d7d7460c8e9473c09376419d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-vn-37774681'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 11:30:59,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '90978253-7b51-4174-b621-1403724bc4c6', 'name': '', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'network_id': '0b885685-3f60-4e15-afbd-6c3bafb69352', 'ip_version': 4, 'cidr': '1.212.110.64/26', 'allocation_pools': [{'start': '1.212.110.66', 'end': '1.212.110.126'}], 'gateway_ip': '1.212.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.212.110.66', 'tags': [], 'project_id': '0c0a1df4d7d7460c8e9473c09376419d'}} 2025-12-29 11:30:59,491 - INFO - Created VN ctest-vn-37774681 2025-12-29 11:30:59,543 - DEBUG - VN ctest-vn-37774681 UUID is 0b885685-3f60-4e15-afbd-6c3bafb69352 2025-12-29 11:30:59,662 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719, 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-71818696:ctest-vn-37774681, 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-29 11:30:59,960 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f2c05ff-3253-41f3-b007-64b3cb9db4f4', 'name': 'ctest-vn-35422719', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'project_id': '0c0a1df4d7d7460c8e9473c09376419d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8e68ec37-fcd8-4776-9872-febe28616d46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-vn-35422719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-policy-allow-all-52204811']], 'subnet_ipam': [{'subnet_cidr': '219.30.166.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 11:31:00,273 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b885685-3f60-4e15-afbd-6c3bafb69352', 'name': 'ctest-vn-37774681', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'project_id': '0c0a1df4d7d7460c8e9473c09376419d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['90978253-7b51-4174-b621-1403724bc4c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-vn-37774681'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-policy-allow-all-52204811']], 'subnet_ipam': [{'subnet_cidr': '1.212.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 11:31:00,411 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-29 11:31:00,725 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-29 11:31:00,762 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583 2025-12-29 11:31:00,778 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d 2025-12-29 11:31:00,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4 2025-12-29 11:31:00,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4 2025-12-29 11:31:00,880 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9 2025-12-29 11:31:00,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9 2025-12-29 11:31:00,897 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fe6d6b6-a793-4937-a2db-cbce83c8c165 2025-12-29 11:31:00,905 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 11:31:00,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4 2025-12-29 11:31:00,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9 2025-12-29 11:31:00,934 - INFO - Verified VN network id 11 for VN 0f2c05ff-3253-41f3-b007-64b3cb9db4f4 2025-12-29 11:31:00,934 - INFO - Verifications in API Server for VN ctest-vn-35422719 passed 2025-12-29 11:31:00,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4 2025-12-29 11:31:00,943 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9 2025-12-29 11:31:00,950 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9 2025-12-29 11:31:00,957 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fe6d6b6-a793-4937-a2db-cbce83c8c165 2025-12-29 11:31:00,972 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71818696', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1093255403163304435', 'uuid-lslong': '12684217598890325236'}, 'enable': 'true', 'created': '2025-12-29T11:30:58', 'last-modified': '2025-12-29T11:30:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.037596'} 2025-12-29 11:31:00,982 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 11:31:00,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35422719 passed 2025-12-29 11:31:00,982 - DEBUG - ====Verifying policy data for ctest-vn-35422719 in API_Server ====== 2025-12-29 11:31:00,982 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-29 11:31:00,989 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583 2025-12-29 11:31:01,003 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d 2025-12-29 11:31:01,074 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4 2025-12-29 11:31:01,084 - DEBUG - ==>Verifying data for policy with id: a617ce09-00cd-4687-a855-188c6ff3ae0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-policy-allow-all-52204811'] 2025-12-29 11:31:01,084 - INFO - VN ctest-vn-35422719 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 11:31:01,084 - DEBUG - Verifying the vn in opserver 2025-12-29 11:31:01,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719 virtual network link through opserver 10.0.0.38 2025-12-29 11:31:01,085 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-29 11:31:01,386 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-29 11:31:01,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719?flat'} 2025-12-29 11:31:01,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719 is found in opserver 2025-12-29 11:31:01,474 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 11:31:01,480 - DEBUG - VRF ids for VN ctest-vn-35422719: {} 2025-12-29 11:31:01,480 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-29 11:31:01,487 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583 2025-12-29 11:31:01,500 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d 2025-12-29 11:31:01,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352 2025-12-29 11:31:01,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352 2025-12-29 11:31:01,609 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386 2025-12-29 11:31:01,618 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386 2025-12-29 11:31:01,627 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fff8f1be-134c-4fe6-8c7c-5813a5e189ac 2025-12-29 11:31:01,635 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 11:31:01,635 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352 2025-12-29 11:31:01,646 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386 2025-12-29 11:31:01,665 - INFO - Verified VN network id 12 for VN 0b885685-3f60-4e15-afbd-6c3bafb69352 2025-12-29 11:31:01,665 - INFO - Verifications in API Server for VN ctest-vn-37774681 passed 2025-12-29 11:31:01,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352 2025-12-29 11:31:01,676 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386 2025-12-29 11:31:01,685 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386 2025-12-29 11:31:01,695 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fff8f1be-134c-4fe6-8c7c-5813a5e189ac 2025-12-29 11:31:01,711 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71818696', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '831009261543771669', 'uuid-lslong': '12663396730842551122'}, 'enable': 'true', 'created': '2025-12-29T11:30:59', 'last-modified': '2025-12-29T11:31:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.527359'} 2025-12-29 11:31:01,718 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 11:31:01,718 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37774681 passed 2025-12-29 11:31:01,719 - DEBUG - ====Verifying policy data for ctest-vn-37774681 in API_Server ====== 2025-12-29 11:31:01,719 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-29 11:31:01,726 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583 2025-12-29 11:31:01,747 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d 2025-12-29 11:31:01,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352 2025-12-29 11:31:01,835 - DEBUG - ==>Verifying data for policy with id: a617ce09-00cd-4687-a855-188c6ff3ae0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-policy-allow-all-52204811'] 2025-12-29 11:31:01,835 - INFO - VN ctest-vn-37774681 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 11:31:01,835 - DEBUG - Verifying the vn in opserver 2025-12-29 11:31:01,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681 virtual network link through opserver 10.0.0.38 2025-12-29 11:31:01,835 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-29 11:31:01,847 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681?flat'} 2025-12-29 11:31:01,847 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681 is found in opserver 2025-12-29 11:31:01,859 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 11:31:01,865 - DEBUG - VRF ids for VN ctest-vn-37774681: {} 2025-12-29 11:31:01,934 - DEBUG - Services list from nova: [, , ] 2025-12-29 11:31:03,046 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4936-1) 2025-12-29 11:31:04,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4936-1) 2025-12-29 11:31:04,239 - INFO - Waiting for VM ctest-TestBasicPolicy-71818696-36028121 to be up.. 2025-12-29 11:31:04,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 11:31:09,409 - DEBUG - VM is in ACTIVE state now 2025-12-29 11:31:09,410 - INFO - VM name : ctest-TestBasicPolicy-71818696-36028121 2025-12-29 11:31:09,491 - DEBUG - VM ctest-TestBasicPolicy-71818696-36028121 ID is 118ad72f-7a3f-4a1a-95e0-2eb2798bc234 2025-12-29 11:31:09,515 - DEBUG - VM ctest-TestBasicPolicy-71818696-36028121 launched on Node cn-jenkins-deploy-platform-ansible-os-4936-1 2025-12-29 11:31:09,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/118ad72f-7a3f-4a1a-95e0-2eb2798bc234 2025-12-29 11:31:09,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/498ba1d5-963a-46a2-9759-4febd8e6dfe0 2025-12-29 11:31:12,844 - 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 1007ms') 2025-12-29 11:31:12,845 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71818696-36028121 failed! 2025-12-29 11:31:12,899 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719 is 219.30.166.129 and allocation pool is NOT set 2025-12-29 11:31:14,967 - 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=11.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.470/5.949/11.429/5.479 ms') 2025-12-29 11:31:14,967 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71818696-36028121 passed 2025-12-29 11:31:15,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:31:15,120 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71818696-36028121, IP 219.30.166.131, Port 22 2025-12-29 11:31:15,276 - DEBUG - VM ctest-TestBasicPolicy-71818696-36028121 is ready for SSH connections 2025-12-29 11:31:15,276 - INFO - Waiting for VM ctest-TestBasicPolicy-71818696-28634770 to be up.. 2025-12-29 11:31:15,358 - DEBUG - VM is in ACTIVE state now 2025-12-29 11:31:15,358 - INFO - VM name : ctest-TestBasicPolicy-71818696-28634770 2025-12-29 11:31:15,441 - DEBUG - VM ctest-TestBasicPolicy-71818696-28634770 ID is 51e6a471-d47b-4d1f-bc0e-cbebfe5a8303 2025-12-29 11:31:15,441 - DEBUG - VM ctest-TestBasicPolicy-71818696-28634770 launched on Node cn-jenkins-deploy-platform-ansible-os-4936-1 2025-12-29 11:31:15,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/51e6a471-d47b-4d1f-bc0e-cbebfe5a8303 2025-12-29 11:31:15,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b853d188-a897-4fcc-b053-73ac2d99eb65 2025-12-29 11:31:16,761 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.724 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.724/2.298/3.873/1.574 ms') 2025-12-29 11:31:16,761 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71818696-28634770 passed 2025-12-29 11:31:16,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:31:16,916 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71818696-28634770, IP 1.212.110.67, Port 22 2025-12-29 11:31:17,075 - DEBUG - VM ctest-TestBasicPolicy-71818696-28634770 is ready for SSH connections 2025-12-29 11:31:17,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:31:17,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.212.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-29 11:31:17,076 - DEBUG - ping -s 56 -c 3 -W 1 1.212.110.67 2025-12-29 11:31:21,117 - DEBUG - PING 1.212.110.67 (1.212.110.67): 56 data bytes 64 bytes from 1.212.110.67: seq=0 ttl=63 time=3.561 ms 64 bytes from 1.212.110.67: seq=1 ttl=63 time=1.118 ms 64 bytes from 1.212.110.67: seq=2 ttl=63 time=0.926 ms --- 1.212.110.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/1.868/3.561 ms 2025-12-29 11:31:21,117 - INFO - Ping to IP 1.212.110.67 from VM ctest-TestBasicPolicy-71818696-36028121 passed 2025-12-29 11:31:21,295 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a617ce09-00cd-4687-a855-188c6ff3ae0c", "href": "http://10.0.0.38:8082/network-policy/a617ce09-00cd-4687-a855-188c6ff3ae0c"}} 2025-12-29 11:31:21,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:31:21,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.212.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-29 11:31:21,296 - DEBUG - ping -s 56 -c 3 -W 1 1.212.110.67 2025-12-29 11:31:24,521 - DEBUG - PING 1.212.110.67 (1.212.110.67): 56 data bytes --- 1.212.110.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 11:31:24,521 - WARNING - Ping to IP 1.212.110.67 from VM ctest-TestBasicPolicy-71818696-36028121 failed 2025-12-29 11:31:24,521 - INFO - Deleting VM ctest-TestBasicPolicy-71818696-28634770 2025-12-29 11:31:24,601 - INFO - Deleting VM ctest-TestBasicPolicy-71818696-36028121 2025-12-29 11:31:24,988 - INFO - Deleted policy ctest-policy-allow-all-52204811 2025-12-29 11:31:24,988 - INFO - Deleting VN ctest-vn-37774681 2025-12-29 11:31:25,025 - DEBUG - VN 0b885685-3f60-4e15-afbd-6c3bafb69352 still in use: Unable to complete operation on network 0b885685-3f60-4e15-afbd-6c3bafb69352. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec09f7f8-177c-4147-a304-fee6c6f33b63'] 2025-12-29 11:31:25,025 - WARNING - Deleting VN ctest-vn-37774681 failed..Will retry 2025-12-29 11:31:27,127 - DEBUG - Response for deleting network () 2025-12-29 11:31:27,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386 2025-12-29 11:31:27,133 - DEBUG - Response Code: 404 2025-12-29 11:31:27,134 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-29 11:31:27,140 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583 2025-12-29 11:31:27,193 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d 2025-12-29 11:31:27,266 - INFO - Validated that VN ctest-vn-37774681 is not found in API Server 2025-12-29 11:31:27,277 - DEBUG - VN ctest-vn-37774681 is not present in Agent 10.0.0.38 2025-12-29 11:31:27,277 - INFO - Validated that VN ctest-vn-37774681 is not in any agent 2025-12-29 11:31:27,293 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37774681 info 2025-12-29 11:31:27,293 - INFO - Deleting VN ctest-vn-35422719 2025-12-29 11:31:27,394 - DEBUG - Response for deleting network () 2025-12-29 11:31:27,394 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9 2025-12-29 11:31:27,400 - DEBUG - Response Code: 404 2025-12-29 11:31:27,401 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-29 11:31:27,406 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583 2025-12-29 11:31:27,461 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d 2025-12-29 11:31:27,534 - INFO - Validated that VN ctest-vn-35422719 is not found in API Server 2025-12-29 11:31:27,544 - DEBUG - VN ctest-vn-35422719 is not present in Agent 10.0.0.38 2025-12-29 11:31:27,544 - INFO - Validated that VN ctest-vn-35422719 is not in any agent 2025-12-29 11:31:27,557 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35422719 info 2025-12-29 11:31:27,812 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 11:31:27,812 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-29 11:31:27,812 - INFO - -------------------------------------------------------------------------------- 2025-12-29 11:31:28,507 - INFO - Deleted project: ctest-TestBasicPolicy-71818696, ID : 0c0a1df4-d7d7-460c-8e94-73c09376419d