2025-10-08 19:22:37,148 - INFO - Domain Default found not creating 2025-10-08 19:22:37,296 - INFO - Project ctest-TestBasicPolicy-09858688 not found, creating it 2025-10-08 19:22:37,744 - INFO - Created Project:ctest-TestBasicPolicy-09858688, ID : 4da0be8c-72d7-4964-8e53-80c0057c10eb 2025-10-08 19:22:39,184 - INFO - ================================================================================ 2025-10-08 19:22:39,184 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-08 19:22:39,185 - 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-10-08 19:22:39,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.193': '0'}} with 2025-10-08 19:22:39,440 - INFO - Initial checks done. Running the testcase now 2025-10-08 19:22:39,440 - INFO - 2025-10-08 19:22:39,979 - DEBUG - Response for create_network : {'network': {'id': 'd8ad1e25-96ff-42de-9ce8-1088448dd49b', 'name': 'ctest-vn-71303623', 'tenant_id': '4da0be8c72d749648e5380c0057c10eb', 'project_id': '4da0be8c72d749648e5380c0057c10eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09858688', 'ctest-vn-71303623'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 19:22:40,198 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de4def55-d165-46ae-9136-b91e6a5f5d55', 'name': '', 'tenant_id': '4da0be8c72d749648e5380c0057c10eb', 'network_id': 'd8ad1e25-96ff-42de-9ce8-1088448dd49b', 'ip_version': 4, 'cidr': '20.134.138.192/26', 'allocation_pools': [{'start': '20.134.138.194', 'end': '20.134.138.254'}], 'gateway_ip': '20.134.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.134.138.194', 'tags': [], 'project_id': '4da0be8c72d749648e5380c0057c10eb'}} 2025-10-08 19:22:40,217 - INFO - Created VN ctest-vn-71303623 2025-10-08 19:22:40,270 - DEBUG - VN ctest-vn-71303623 UUID is d8ad1e25-96ff-42de-9ce8-1088448dd49b 2025-10-08 19:22:40,586 - DEBUG - Response for create_network : {'network': {'id': 'f043cfa7-a27a-43d8-b747-cd05e006dde9', 'name': 'ctest-vn-60871630', 'tenant_id': '4da0be8c72d749648e5380c0057c10eb', 'project_id': '4da0be8c72d749648e5380c0057c10eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09858688', 'ctest-vn-60871630'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 19:22:40,769 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce629621-f12e-4228-9cbb-4c139213c152', 'name': '', 'tenant_id': '4da0be8c72d749648e5380c0057c10eb', 'network_id': 'f043cfa7-a27a-43d8-b747-cd05e006dde9', 'ip_version': 4, 'cidr': '101.208.40.64/26', 'allocation_pools': [{'start': '101.208.40.66', 'end': '101.208.40.126'}], 'gateway_ip': '101.208.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.208.40.66', 'tags': [], 'project_id': '4da0be8c72d749648e5380c0057c10eb'}} 2025-10-08 19:22:40,786 - INFO - Created VN ctest-vn-60871630 2025-10-08 19:22:40,838 - DEBUG - VN ctest-vn-60871630 UUID is f043cfa7-a27a-43d8-b747-cd05e006dde9 2025-10-08 19:22:40,950 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-71303623, 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-09858688:ctest-vn-60871630, 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-10-08 19:22:41,255 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8ad1e25-96ff-42de-9ce8-1088448dd49b', 'name': 'ctest-vn-71303623', 'tenant_id': '4da0be8c72d749648e5380c0057c10eb', 'project_id': '4da0be8c72d749648e5380c0057c10eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['de4def55-d165-46ae-9136-b91e6a5f5d55'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09858688', 'ctest-vn-71303623'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09858688', 'ctest-policy-allow-all-78356207']], 'subnet_ipam': [{'subnet_cidr': '20.134.138.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 19:22:41,488 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f043cfa7-a27a-43d8-b747-cd05e006dde9', 'name': 'ctest-vn-60871630', 'tenant_id': '4da0be8c72d749648e5380c0057c10eb', 'project_id': '4da0be8c72d749648e5380c0057c10eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce629621-f12e-4228-9cbb-4c139213c152'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09858688', 'ctest-vn-60871630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09858688', 'ctest-policy-allow-all-78356207']], 'subnet_ipam': [{'subnet_cidr': '101.208.40.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 19:22:41,642 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 19:22:41,954 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 19:22:41,983 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3392e6ba-8989-4338-b9df-3ece56ec07b3 2025-10-08 19:22:41,995 - DEBUG - Requesting: http://10.0.0.57:8082/project/4da0be8c-72d7-4964-8e53-80c0057c10eb 2025-10-08 19:22:42,071 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d8ad1e25-96ff-42de-9ce8-1088448dd49b 2025-10-08 19:22:42,084 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d8ad1e25-96ff-42de-9ce8-1088448dd49b 2025-10-08 19:22:42,093 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d9ae8da8-9ac5-48ce-8f19-8d8df9eaf4b0 2025-10-08 19:22:42,101 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d9ae8da8-9ac5-48ce-8f19-8d8df9eaf4b0 2025-10-08 19:22:42,109 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/7650c365-4bb9-4ba5-b925-36da92e8a6f1 2025-10-08 19:22:42,116 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 19:22:42,116 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d8ad1e25-96ff-42de-9ce8-1088448dd49b 2025-10-08 19:22:42,125 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d9ae8da8-9ac5-48ce-8f19-8d8df9eaf4b0 2025-10-08 19:22:42,140 - INFO - Verified VN network id 11 for VN d8ad1e25-96ff-42de-9ce8-1088448dd49b 2025-10-08 19:22:42,140 - INFO - Verifications in API Server for VN ctest-vn-71303623 passed 2025-10-08 19:22:42,140 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d8ad1e25-96ff-42de-9ce8-1088448dd49b 2025-10-08 19:22:42,149 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d9ae8da8-9ac5-48ce-8f19-8d8df9eaf4b0 2025-10-08 19:22:42,157 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d9ae8da8-9ac5-48ce-8f19-8d8df9eaf4b0 2025-10-08 19:22:42,165 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/7650c365-4bb9-4ba5-b925-36da92e8a6f1 2025-10-08 19:22:42,178 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-71303623', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09858688', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15613168629959312094', 'uuid-lslong': '11306305041965372571'}, 'enable': 'true', 'created': '2025-10-08T19:22:39', 'last-modified': '2025-10-08T19:22:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953024'} 2025-10-08 19:22:42,184 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 19:22:42,184 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71303623 passed 2025-10-08 19:22:42,184 - DEBUG - ====Verifying policy data for ctest-vn-71303623 in API_Server ====== 2025-10-08 19:22:42,184 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 19:22:42,190 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3392e6ba-8989-4338-b9df-3ece56ec07b3 2025-10-08 19:22:42,204 - DEBUG - Requesting: http://10.0.0.57:8082/project/4da0be8c-72d7-4964-8e53-80c0057c10eb 2025-10-08 19:22:42,279 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d8ad1e25-96ff-42de-9ce8-1088448dd49b 2025-10-08 19:22:42,295 - DEBUG - ==>Verifying data for policy with id: ee1e5ffa-2a38-45bc-b715-e87df136baa0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09858688', 'ctest-policy-allow-all-78356207'] 2025-10-08 19:22:42,295 - INFO - VN ctest-vn-71303623 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 19:22:42,295 - DEBUG - Verifying the vn in opserver 2025-10-08 19:22:42,295 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-71303623 virtual network link through opserver 10.0.0.57 2025-10-08 19:22:42,296 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-08 19:22:42,590 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-08 19:22:42,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-71303623', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-71303623?flat'} 2025-10-08 19:22:42,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-71303623 is found in opserver 2025-10-08 19:22:42,670 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 19:22:42,676 - DEBUG - VRF ids for VN ctest-vn-71303623: {} 2025-10-08 19:22:42,676 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 19:22:42,681 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3392e6ba-8989-4338-b9df-3ece56ec07b3 2025-10-08 19:22:42,692 - DEBUG - Requesting: http://10.0.0.57:8082/project/4da0be8c-72d7-4964-8e53-80c0057c10eb 2025-10-08 19:22:42,766 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f043cfa7-a27a-43d8-b747-cd05e006dde9 2025-10-08 19:22:42,777 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f043cfa7-a27a-43d8-b747-cd05e006dde9 2025-10-08 19:22:42,786 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f0b9fe34-f9d9-4f42-80dd-481042fe1983 2025-10-08 19:22:42,793 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f0b9fe34-f9d9-4f42-80dd-481042fe1983 2025-10-08 19:22:42,801 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/95451c66-7e13-4c00-a75d-08526de7382a 2025-10-08 19:22:42,808 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 19:22:42,808 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f043cfa7-a27a-43d8-b747-cd05e006dde9 2025-10-08 19:22:42,817 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f0b9fe34-f9d9-4f42-80dd-481042fe1983 2025-10-08 19:22:42,833 - INFO - Verified VN network id 12 for VN f043cfa7-a27a-43d8-b747-cd05e006dde9 2025-10-08 19:22:42,833 - INFO - Verifications in API Server for VN ctest-vn-60871630 passed 2025-10-08 19:22:42,834 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f043cfa7-a27a-43d8-b747-cd05e006dde9 2025-10-08 19:22:42,843 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f0b9fe34-f9d9-4f42-80dd-481042fe1983 2025-10-08 19:22:42,850 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f0b9fe34-f9d9-4f42-80dd-481042fe1983 2025-10-08 19:22:42,857 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/95451c66-7e13-4c00-a75d-08526de7382a 2025-10-08 19:22:42,869 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-60871630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09858688', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17312909711434728408', 'uuid-lslong': '13206749857404345833'}, 'enable': 'true', 'created': '2025-10-08T19:22:40', 'last-modified': '2025-10-08T19:22:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.407343'} 2025-10-08 19:22:42,877 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 19:22:42,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60871630 passed 2025-10-08 19:22:42,877 - DEBUG - ====Verifying policy data for ctest-vn-60871630 in API_Server ====== 2025-10-08 19:22:42,877 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 19:22:42,883 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3392e6ba-8989-4338-b9df-3ece56ec07b3 2025-10-08 19:22:42,896 - DEBUG - Requesting: http://10.0.0.57:8082/project/4da0be8c-72d7-4964-8e53-80c0057c10eb 2025-10-08 19:22:42,971 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f043cfa7-a27a-43d8-b747-cd05e006dde9 2025-10-08 19:22:42,990 - DEBUG - ==>Verifying data for policy with id: ee1e5ffa-2a38-45bc-b715-e87df136baa0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09858688', 'ctest-policy-allow-all-78356207'] 2025-10-08 19:22:42,990 - INFO - VN ctest-vn-60871630 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 19:22:42,990 - DEBUG - Verifying the vn in opserver 2025-10-08 19:22:42,990 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-60871630 virtual network link through opserver 10.0.0.57 2025-10-08 19:22:42,990 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-08 19:22:43,001 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-60871630', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-60871630?flat'} 2025-10-08 19:22:43,001 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-60871630 is found in opserver 2025-10-08 19:22:43,013 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 19:22:43,018 - DEBUG - VRF ids for VN ctest-vn-60871630: {} 2025-10-08 19:22:43,079 - DEBUG - Services list from nova: [, , ] 2025-10-08 19:22:44,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4242-1) 2025-10-08 19:22:45,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4242-1) 2025-10-08 19:22:45,217 - INFO - Waiting for VM ctest-TestBasicPolicy-09858688-71636132 to be up.. 2025-10-08 19:22:45,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 19:22:50,400 - DEBUG - VM is in ACTIVE state now 2025-10-08 19:22:50,400 - INFO - VM name : ctest-TestBasicPolicy-09858688-71636132 2025-10-08 19:22:50,477 - DEBUG - VM ctest-TestBasicPolicy-09858688-71636132 ID is 7e9fe931-876f-4cae-acc8-e96ae2ad6a20 2025-10-08 19:22:50,499 - DEBUG - VM ctest-TestBasicPolicy-09858688-71636132 launched on Node cn-jenkins-deploy-platform-ansible-os-4242-1 2025-10-08 19:22:50,581 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7e9fe931-876f-4cae-acc8-e96ae2ad6a20 2025-10-08 19:22:50,589 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6f8f92d2-eb0d-4fb2-82da-5e3b48f732fd 2025-10-08 19:22:53,854 - 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 1034ms') 2025-10-08 19:22:53,854 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09858688-71636132 failed! 2025-10-08 19:22:53,909 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09858688:ctest-vn-71303623 is 20.134.138.193 and allocation pool is NOT set 2025-10-08 19:22:55,972 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/1.713/2.944/1.230 ms') 2025-10-08 19:22:55,972 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09858688-71636132 passed 2025-10-08 19:22:56,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:22:56,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09858688-71636132, IP 20.134.138.195, Port 22 2025-10-08 19:22:56,278 - DEBUG - VM ctest-TestBasicPolicy-09858688-71636132 is ready for SSH connections 2025-10-08 19:22:56,278 - INFO - Waiting for VM ctest-TestBasicPolicy-09858688-76656809 to be up.. 2025-10-08 19:22:56,357 - DEBUG - VM is in ACTIVE state now 2025-10-08 19:22:56,358 - INFO - VM name : ctest-TestBasicPolicy-09858688-76656809 2025-10-08 19:22:56,426 - DEBUG - VM ctest-TestBasicPolicy-09858688-76656809 ID is 969c65a2-38b5-4618-8526-421a74e92aab 2025-10-08 19:22:56,426 - DEBUG - VM ctest-TestBasicPolicy-09858688-76656809 launched on Node cn-jenkins-deploy-platform-ansible-os-4242-1 2025-10-08 19:22:56,493 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/969c65a2-38b5-4618-8526-421a74e92aab 2025-10-08 19:22:56,501 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/717faeb7-9cbd-466c-86cc-887f5673c251 2025-10-08 19:22:57,736 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.589/2.696/1.106 ms') 2025-10-08 19:22:57,736 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09858688-76656809 passed 2025-10-08 19:22:57,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:22:57,890 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09858688-76656809, IP 101.208.40.67, Port 22 2025-10-08 19:22:58,050 - DEBUG - VM ctest-TestBasicPolicy-09858688-76656809 is ready for SSH connections 2025-10-08 19:22:58,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:22:58,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.208.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 19:22:58,050 - DEBUG - ping -s 56 -c 3 -W 1 101.208.40.67 2025-10-08 19:23:02,076 - DEBUG - PING 101.208.40.67 (101.208.40.67): 56 data bytes 64 bytes from 101.208.40.67: seq=0 ttl=63 time=3.873 ms 64 bytes from 101.208.40.67: seq=1 ttl=63 time=0.872 ms 64 bytes from 101.208.40.67: seq=2 ttl=63 time=1.030 ms --- 101.208.40.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.925/3.873 ms 2025-10-08 19:23:02,076 - INFO - Ping to IP 101.208.40.67 from VM ctest-TestBasicPolicy-09858688-71636132 passed 2025-10-08 19:23:02,253 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ee1e5ffa-2a38-45bc-b715-e87df136baa0", "href": "http://10.0.0.57:8082/network-policy/ee1e5ffa-2a38-45bc-b715-e87df136baa0"}} 2025-10-08 19:23:02,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:23:02,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.208.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 19:23:02,254 - DEBUG - ping -s 56 -c 3 -W 1 101.208.40.67 2025-10-08 19:23:05,459 - DEBUG - PING 101.208.40.67 (101.208.40.67): 56 data bytes --- 101.208.40.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 19:23:05,459 - WARNING - Ping to IP 101.208.40.67 from VM ctest-TestBasicPolicy-09858688-71636132 failed 2025-10-08 19:23:05,459 - INFO - Deleting VM ctest-TestBasicPolicy-09858688-76656809 2025-10-08 19:23:05,539 - INFO - Deleting VM ctest-TestBasicPolicy-09858688-71636132 2025-10-08 19:23:05,945 - INFO - Deleted policy ctest-policy-allow-all-78356207 2025-10-08 19:23:05,945 - INFO - Deleting VN ctest-vn-60871630 2025-10-08 19:23:05,986 - DEBUG - VN f043cfa7-a27a-43d8-b747-cd05e006dde9 still in use: Unable to complete operation on network f043cfa7-a27a-43d8-b747-cd05e006dde9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17070ab6-7ed6-486c-97ac-3b247aac1e91'] 2025-10-08 19:23:05,987 - WARNING - Deleting VN ctest-vn-60871630 failed..Will retry 2025-10-08 19:23:08,094 - DEBUG - Response for deleting network () 2025-10-08 19:23:08,094 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f0b9fe34-f9d9-4f42-80dd-481042fe1983 2025-10-08 19:23:08,100 - DEBUG - Response Code: 404 2025-10-08 19:23:08,100 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 19:23:08,105 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3392e6ba-8989-4338-b9df-3ece56ec07b3 2025-10-08 19:23:08,159 - DEBUG - Requesting: http://10.0.0.57:8082/project/4da0be8c-72d7-4964-8e53-80c0057c10eb 2025-10-08 19:23:08,231 - INFO - Validated that VN ctest-vn-60871630 is not found in API Server 2025-10-08 19:23:08,242 - DEBUG - VN ctest-vn-60871630 is not present in Agent 10.0.0.57 2025-10-08 19:23:08,242 - INFO - Validated that VN ctest-vn-60871630 is not in any agent 2025-10-08 19:23:08,257 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60871630 info 2025-10-08 19:23:08,257 - INFO - Deleting VN ctest-vn-71303623 2025-10-08 19:23:08,383 - DEBUG - Response for deleting network () 2025-10-08 19:23:08,383 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d9ae8da8-9ac5-48ce-8f19-8d8df9eaf4b0 2025-10-08 19:23:08,390 - DEBUG - Response Code: 404 2025-10-08 19:23:08,390 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 19:23:08,395 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3392e6ba-8989-4338-b9df-3ece56ec07b3 2025-10-08 19:23:08,451 - DEBUG - Requesting: http://10.0.0.57:8082/project/4da0be8c-72d7-4964-8e53-80c0057c10eb 2025-10-08 19:23:08,534 - INFO - Validated that VN ctest-vn-71303623 is not found in API Server 2025-10-08 19:23:08,545 - DEBUG - VN ctest-vn-71303623 is not present in Agent 10.0.0.57 2025-10-08 19:23:08,545 - INFO - Validated that VN ctest-vn-71303623 is not in any agent 2025-10-08 19:23:08,559 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71303623 info 2025-10-08 19:23:08,819 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 19:23:08,820 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-08 19:23:08,820 - INFO - -------------------------------------------------------------------------------- 2025-10-08 19:23:09,484 - INFO - Deleted project: ctest-TestBasicPolicy-09858688, ID : 4da0be8c-72d7-4964-8e53-80c0057c10eb