2025-11-05 08:10:12,744 - INFO - Domain Default found not creating 2025-11-05 08:10:12,902 - INFO - Project ctest-TestBasicPolicy-76618942 not found, creating it 2025-11-05 08:10:13,346 - INFO - Created Project:ctest-TestBasicPolicy-76618942, ID : 1ca7d21b-abfe-4fde-bd2a-7b32f70a9968 2025-11-05 08:10:14,906 - INFO - ================================================================================ 2025-11-05 08:10:14,906 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 08:10:14,906 - 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-11-05 08:10:15,163 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.14': '0'}} with 2025-11-05 08:10:15,163 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:10:15,163 - INFO - 2025-11-05 08:10:15,726 - DEBUG - Response for create_network : {'network': {'id': 'eada1a30-dd22-411a-883c-29ddb45b6e13', 'name': 'ctest-vn-51305718', 'tenant_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'project_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76618942', 'ctest-vn-51305718'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:10:15,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2d2f130-bbc8-4b1f-90e5-5307a7ebbdce', 'name': '', 'tenant_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'network_id': 'eada1a30-dd22-411a-883c-29ddb45b6e13', 'ip_version': 4, 'cidr': '100.224.88.0/26', 'allocation_pools': [{'start': '100.224.88.2', 'end': '100.224.88.62'}], 'gateway_ip': '100.224.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.224.88.2', 'tags': [], 'project_id': '1ca7d21babfe4fdebd2a7b32f70a9968'}} 2025-11-05 08:10:15,953 - INFO - Created VN ctest-vn-51305718 2025-11-05 08:10:16,005 - DEBUG - VN ctest-vn-51305718 UUID is eada1a30-dd22-411a-883c-29ddb45b6e13 2025-11-05 08:10:16,271 - DEBUG - Response for create_network : {'network': {'id': '3212b111-0a85-424b-9063-82540673323e', 'name': 'ctest-vn-26469467', 'tenant_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'project_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76618942', 'ctest-vn-26469467'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:10:16,493 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cd461d8-27d9-4610-bf48-ad77e9006302', 'name': '', 'tenant_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'network_id': '3212b111-0a85-424b-9063-82540673323e', 'ip_version': 4, 'cidr': '124.188.32.128/26', 'allocation_pools': [{'start': '124.188.32.130', 'end': '124.188.32.190'}], 'gateway_ip': '124.188.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.188.32.130', 'tags': [], 'project_id': '1ca7d21babfe4fdebd2a7b32f70a9968'}} 2025-11-05 08:10:16,508 - INFO - Created VN ctest-vn-26469467 2025-11-05 08:10:16,561 - DEBUG - VN ctest-vn-26469467 UUID is 3212b111-0a85-424b-9063-82540673323e 2025-11-05 08:10:16,705 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-51305718, 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-76618942:ctest-vn-26469467, 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-11-05 08:10:17,005 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eada1a30-dd22-411a-883c-29ddb45b6e13', 'name': 'ctest-vn-51305718', 'tenant_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'project_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e2d2f130-bbc8-4b1f-90e5-5307a7ebbdce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76618942', 'ctest-vn-51305718'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76618942', 'ctest-policy-allow-all-51238377']], 'subnet_ipam': [{'subnet_cidr': '100.224.88.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:10:17,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3212b111-0a85-424b-9063-82540673323e', 'name': 'ctest-vn-26469467', 'tenant_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'project_id': '1ca7d21babfe4fdebd2a7b32f70a9968', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9cd461d8-27d9-4610-bf48-ad77e9006302'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76618942', 'ctest-vn-26469467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76618942', 'ctest-policy-allow-all-51238377']], 'subnet_ipam': [{'subnet_cidr': '124.188.32.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:10:17,373 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-11-05 08:10:17,704 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-11-05 08:10:17,733 - DEBUG - Requesting: http://10.0.0.133:8082/domain/7e7a7568-7cce-4d3b-bae0-b2e2c4f23c1c 2025-11-05 08:10:17,744 - DEBUG - Requesting: http://10.0.0.133:8082/project/1ca7d21b-abfe-4fde-bd2a-7b32f70a9968 2025-11-05 08:10:17,817 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/eada1a30-dd22-411a-883c-29ddb45b6e13 2025-11-05 08:10:17,826 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/eada1a30-dd22-411a-883c-29ddb45b6e13 2025-11-05 08:10:17,835 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/ed2fd5ee-99d1-40b4-9266-a37297b708ff 2025-11-05 08:10:17,842 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/ed2fd5ee-99d1-40b4-9266-a37297b708ff 2025-11-05 08:10:17,848 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/c8d7dbf2-7ae3-43ba-b6fd-c737a63b0380 2025-11-05 08:10:17,854 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:10:17,854 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/eada1a30-dd22-411a-883c-29ddb45b6e13 2025-11-05 08:10:17,862 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/ed2fd5ee-99d1-40b4-9266-a37297b708ff 2025-11-05 08:10:17,874 - INFO - Verified VN network id 12 for VN eada1a30-dd22-411a-883c-29ddb45b6e13 2025-11-05 08:10:17,875 - INFO - Verifications in API Server for VN ctest-vn-51305718 passed 2025-11-05 08:10:17,875 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/eada1a30-dd22-411a-883c-29ddb45b6e13 2025-11-05 08:10:17,885 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/ed2fd5ee-99d1-40b4-9266-a37297b708ff 2025-11-05 08:10:17,893 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/ed2fd5ee-99d1-40b4-9266-a37297b708ff 2025-11-05 08:10:17,901 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/c8d7dbf2-7ae3-43ba-b6fd-c737a63b0380 2025-11-05 08:10:17,913 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-51305718', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76618942', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16922867346968822042', 'uuid-lslong': '9816767319951240723'}, 'enable': 'true', 'created': '2025-11-05T08:10:15', 'last-modified': '2025-11-05T08:10:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935753'} 2025-11-05 08:10:17,920 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:10:17,920 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51305718 passed 2025-11-05 08:10:17,920 - DEBUG - ====Verifying policy data for ctest-vn-51305718 in API_Server ====== 2025-11-05 08:10:17,920 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-11-05 08:10:17,926 - DEBUG - Requesting: http://10.0.0.133:8082/domain/7e7a7568-7cce-4d3b-bae0-b2e2c4f23c1c 2025-11-05 08:10:17,938 - DEBUG - Requesting: http://10.0.0.133:8082/project/1ca7d21b-abfe-4fde-bd2a-7b32f70a9968 2025-11-05 08:10:18,009 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/eada1a30-dd22-411a-883c-29ddb45b6e13 2025-11-05 08:10:18,017 - DEBUG - ==>Verifying data for policy with id: 12788b2e-6003-4682-8c35-79a28000c1f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-76618942', 'ctest-policy-allow-all-51238377'] 2025-11-05 08:10:18,017 - INFO - VN ctest-vn-51305718 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:10:18,017 - DEBUG - Verifying the vn in opserver 2025-11-05 08:10:18,017 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-51305718 virtual network link through opserver 10.0.0.133 2025-11-05 08:10:18,018 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-11-05 08:10:18,338 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-11-05 08:10:18,395 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-51305718', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-51305718?flat'} 2025-11-05 08:10:18,395 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-51305718 is found in opserver 2025-11-05 08:10:18,403 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:10:18,408 - DEBUG - VRF ids for VN ctest-vn-51305718: {} 2025-11-05 08:10:18,408 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-11-05 08:10:18,413 - DEBUG - Requesting: http://10.0.0.133:8082/domain/7e7a7568-7cce-4d3b-bae0-b2e2c4f23c1c 2025-11-05 08:10:18,424 - DEBUG - Requesting: http://10.0.0.133:8082/project/1ca7d21b-abfe-4fde-bd2a-7b32f70a9968 2025-11-05 08:10:18,495 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/3212b111-0a85-424b-9063-82540673323e 2025-11-05 08:10:18,505 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/3212b111-0a85-424b-9063-82540673323e 2025-11-05 08:10:18,513 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/483e1ce9-d2e3-4713-8953-806db9ae1187 2025-11-05 08:10:18,519 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/483e1ce9-d2e3-4713-8953-806db9ae1187 2025-11-05 08:10:18,524 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/70510f4b-890c-4c0b-b722-894a2e5653c9 2025-11-05 08:10:18,529 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:10:18,529 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/3212b111-0a85-424b-9063-82540673323e 2025-11-05 08:10:18,537 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/483e1ce9-d2e3-4713-8953-806db9ae1187 2025-11-05 08:10:18,549 - INFO - Verified VN network id 13 for VN 3212b111-0a85-424b-9063-82540673323e 2025-11-05 08:10:18,549 - INFO - Verifications in API Server for VN ctest-vn-26469467 passed 2025-11-05 08:10:18,550 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/3212b111-0a85-424b-9063-82540673323e 2025-11-05 08:10:18,557 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/483e1ce9-d2e3-4713-8953-806db9ae1187 2025-11-05 08:10:18,563 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/483e1ce9-d2e3-4713-8953-806db9ae1187 2025-11-05 08:10:18,569 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/70510f4b-890c-4c0b-b722-894a2e5653c9 2025-11-05 08:10:18,579 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-26469467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76618942', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3608140938226254411', 'uuid-lslong': '10404302861553054270'}, 'enable': 'true', 'created': '2025-11-05T08:10:16', 'last-modified': '2025-11-05T08:10:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378500'} 2025-11-05 08:10:18,584 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:10:18,584 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26469467 passed 2025-11-05 08:10:18,584 - DEBUG - ====Verifying policy data for ctest-vn-26469467 in API_Server ====== 2025-11-05 08:10:18,584 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-11-05 08:10:18,589 - DEBUG - Requesting: http://10.0.0.133:8082/domain/7e7a7568-7cce-4d3b-bae0-b2e2c4f23c1c 2025-11-05 08:10:18,599 - DEBUG - Requesting: http://10.0.0.133:8082/project/1ca7d21b-abfe-4fde-bd2a-7b32f70a9968 2025-11-05 08:10:18,673 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/3212b111-0a85-424b-9063-82540673323e 2025-11-05 08:10:18,684 - DEBUG - ==>Verifying data for policy with id: 12788b2e-6003-4682-8c35-79a28000c1f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-76618942', 'ctest-policy-allow-all-51238377'] 2025-11-05 08:10:18,684 - INFO - VN ctest-vn-26469467 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:10:18,684 - DEBUG - Verifying the vn in opserver 2025-11-05 08:10:18,684 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-26469467 virtual network link through opserver 10.0.0.133 2025-11-05 08:10:18,684 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-11-05 08:10:18,695 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-26469467', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-26469467?flat'} 2025-11-05 08:10:18,695 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76618942:ctest-vn-26469467 is found in opserver 2025-11-05 08:10:18,706 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:10:18,713 - DEBUG - VRF ids for VN ctest-vn-26469467: {} 2025-11-05 08:10:18,780 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:10:19,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4631-1) 2025-11-05 08:10:21,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4631-1) 2025-11-05 08:10:21,046 - INFO - Waiting for VM ctest-TestBasicPolicy-76618942-67688125 to be up.. 2025-11-05 08:10:21,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:10:26,195 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:10:26,195 - INFO - VM name : ctest-TestBasicPolicy-76618942-67688125 2025-11-05 08:10:26,273 - DEBUG - VM ctest-TestBasicPolicy-76618942-67688125 ID is d0d204e9-1c86-448d-9a0b-368d4885ca51 2025-11-05 08:10:26,306 - DEBUG - VM ctest-TestBasicPolicy-76618942-67688125 launched on Node cn-jenkins-deploy-platform-ansible-os-4631-1 2025-11-05 08:10:26,373 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/d0d204e9-1c86-448d-9a0b-368d4885ca51 2025-11-05 08:10:26,381 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/4abe0aca-f806-4ef2-b20f-be64f0ed7226 2025-11-05 08:10:29,647 - 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=2 ttl=63 time=10.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 10.162/10.162/10.162/0.000 ms') 2025-11-05 08:10:29,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76618942-67688125 passed 2025-11-05 08:10:29,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:10:29,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76618942-67688125, IP 100.224.88.3, Port 22 2025-11-05 08:10:29,953 - DEBUG - VM ctest-TestBasicPolicy-76618942-67688125 is ready for SSH connections 2025-11-05 08:10:29,953 - INFO - Waiting for VM ctest-TestBasicPolicy-76618942-05202892 to be up.. 2025-11-05 08:10:30,028 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:10:30,028 - INFO - VM name : ctest-TestBasicPolicy-76618942-05202892 2025-11-05 08:10:30,099 - DEBUG - VM ctest-TestBasicPolicy-76618942-05202892 ID is 45bc410d-f578-446e-95e0-985c6a9d7b15 2025-11-05 08:10:30,100 - DEBUG - VM ctest-TestBasicPolicy-76618942-05202892 launched on Node cn-jenkins-deploy-platform-ansible-os-4631-1 2025-11-05 08:10:30,178 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/45bc410d-f578-446e-95e0-985c6a9d7b15 2025-11-05 08:10:30,186 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/22304196-6d15-4dcc-abf5-b60f548c6bb6 2025-11-05 08:10:31,422 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.504/2.026/3.548/1.522 ms') 2025-11-05 08:10:31,422 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76618942-05202892 passed 2025-11-05 08:10:31,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:10:31,573 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76618942-05202892, IP 124.188.32.131, Port 22 2025-11-05 08:10:31,729 - DEBUG - VM ctest-TestBasicPolicy-76618942-05202892 is ready for SSH connections 2025-11-05 08:10:31,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:10:31,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.188.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-11-05 08:10:31,729 - DEBUG - ping -s 56 -c 3 -W 1 124.188.32.131 2025-11-05 08:10:35,735 - DEBUG - PING 124.188.32.131 (124.188.32.131): 56 data bytes 64 bytes from 124.188.32.131: seq=0 ttl=63 time=3.645 ms 64 bytes from 124.188.32.131: seq=1 ttl=63 time=1.387 ms 64 bytes from 124.188.32.131: seq=2 ttl=63 time=1.216 ms --- 124.188.32.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.216/2.082/3.645 ms 2025-11-05 08:10:35,735 - INFO - Ping to IP 124.188.32.131 from VM ctest-TestBasicPolicy-76618942-67688125 passed 2025-11-05 08:10:35,921 - DEBUG - Policy Update Response {"network-policy": {"uuid": "12788b2e-6003-4682-8c35-79a28000c1f9", "href": "http://10.0.0.133:8082/network-policy/12788b2e-6003-4682-8c35-79a28000c1f9"}} 2025-11-05 08:10:35,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:10:35,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.188.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-11-05 08:10:35,921 - DEBUG - ping -s 56 -c 3 -W 1 124.188.32.131 2025-11-05 08:10:39,048 - DEBUG - PING 124.188.32.131 (124.188.32.131): 56 data bytes --- 124.188.32.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:10:39,048 - WARNING - Ping to IP 124.188.32.131 from VM ctest-TestBasicPolicy-76618942-67688125 failed 2025-11-05 08:10:39,048 - INFO - Deleting VM ctest-TestBasicPolicy-76618942-05202892 2025-11-05 08:10:39,122 - INFO - Deleting VM ctest-TestBasicPolicy-76618942-67688125 2025-11-05 08:10:39,480 - INFO - Deleted policy ctest-policy-allow-all-51238377 2025-11-05 08:10:39,480 - INFO - Deleting VN ctest-vn-26469467 2025-11-05 08:10:39,516 - DEBUG - VN 3212b111-0a85-424b-9063-82540673323e still in use: Unable to complete operation on network 3212b111-0a85-424b-9063-82540673323e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7f5a453-69c8-468b-b317-696f1458e0db'] 2025-11-05 08:10:39,516 - WARNING - Deleting VN ctest-vn-26469467 failed..Will retry 2025-11-05 08:10:41,605 - DEBUG - Response for deleting network () 2025-11-05 08:10:41,605 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/483e1ce9-d2e3-4713-8953-806db9ae1187 2025-11-05 08:10:41,610 - DEBUG - Response Code: 404 2025-11-05 08:10:41,610 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-11-05 08:10:41,615 - DEBUG - Requesting: http://10.0.0.133:8082/domain/7e7a7568-7cce-4d3b-bae0-b2e2c4f23c1c 2025-11-05 08:10:41,671 - DEBUG - Requesting: http://10.0.0.133:8082/project/1ca7d21b-abfe-4fde-bd2a-7b32f70a9968 2025-11-05 08:10:41,743 - INFO - Validated that VN ctest-vn-26469467 is not found in API Server 2025-11-05 08:10:41,756 - DEBUG - VN ctest-vn-26469467 is not present in Agent 10.0.0.133 2025-11-05 08:10:41,756 - INFO - Validated that VN ctest-vn-26469467 is not in any agent 2025-11-05 08:10:41,771 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26469467 info 2025-11-05 08:10:41,772 - INFO - Deleting VN ctest-vn-51305718 2025-11-05 08:10:41,874 - DEBUG - Response for deleting network () 2025-11-05 08:10:41,874 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/ed2fd5ee-99d1-40b4-9266-a37297b708ff 2025-11-05 08:10:41,879 - DEBUG - Response Code: 404 2025-11-05 08:10:41,880 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-11-05 08:10:41,885 - DEBUG - Requesting: http://10.0.0.133:8082/domain/7e7a7568-7cce-4d3b-bae0-b2e2c4f23c1c 2025-11-05 08:10:41,938 - DEBUG - Requesting: http://10.0.0.133:8082/project/1ca7d21b-abfe-4fde-bd2a-7b32f70a9968 2025-11-05 08:10:42,008 - INFO - Validated that VN ctest-vn-51305718 is not found in API Server 2025-11-05 08:10:42,020 - DEBUG - VN ctest-vn-51305718 is not present in Agent 10.0.0.133 2025-11-05 08:10:42,020 - INFO - Validated that VN ctest-vn-51305718 is not in any agent 2025-11-05 08:10:42,032 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51305718 info 2025-11-05 08:10:42,286 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:10:42,286 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-11-05 08:10:42,286 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:10:43,019 - INFO - Deleted project: ctest-TestBasicPolicy-76618942, ID : 1ca7d21b-abfe-4fde-bd2a-7b32f70a9968