2026-02-09 10:12:57,407 - INFO - Domain Default found not creating 2026-02-09 10:12:57,547 - INFO - Project ctest-TestBasicPolicy-62592842 not found, creating it 2026-02-09 10:12:57,968 - INFO - Created Project:ctest-TestBasicPolicy-62592842, ID : cbbad5a6-82ea-4b23-a0ab-1296a09118cd 2026-02-09 10:12:59,360 - INFO - ================================================================================ 2026-02-09 10:12:59,361 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 10:12:59,361 - 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 2026-02-09 10:12:59,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-02-09 10:12:59,614 - INFO - Initial checks done. Running the testcase now 2026-02-09 10:12:59,614 - INFO - 2026-02-09 10:13:00,144 - DEBUG - Response for create_network : {'network': {'id': '1f755238-f9e6-44da-b50f-ce5f7e741ff9', 'name': 'ctest-vn-52424980', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-vn-52424980'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 10:13:00,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a60354d-6e67-4374-836a-db93afc94b56', 'name': '', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'network_id': '1f755238-f9e6-44da-b50f-ce5f7e741ff9', 'ip_version': 4, 'cidr': '49.250.101.192/26', 'allocation_pools': [{'start': '49.250.101.194', 'end': '49.250.101.254'}], 'gateway_ip': '49.250.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.250.101.194', 'tags': [], 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd'}} 2026-02-09 10:13:00,327 - INFO - Created VN ctest-vn-52424980 2026-02-09 10:13:00,380 - DEBUG - VN ctest-vn-52424980 UUID is 1f755238-f9e6-44da-b50f-ce5f7e741ff9 2026-02-09 10:13:00,688 - DEBUG - Response for create_network : {'network': {'id': '305b10c3-c4c9-4368-ab78-7eb94699e348', 'name': 'ctest-vn-90377962', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-vn-90377962'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 10:13:00,913 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd758987f-b785-46f1-bf99-66e03b08ac19', 'name': '', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'network_id': '305b10c3-c4c9-4368-ab78-7eb94699e348', 'ip_version': 4, 'cidr': '187.51.216.0/26', 'allocation_pools': [{'start': '187.51.216.2', 'end': '187.51.216.62'}], 'gateway_ip': '187.51.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.51.216.2', 'tags': [], 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd'}} 2026-02-09 10:13:00,936 - INFO - Created VN ctest-vn-90377962 2026-02-09 10:13:00,988 - DEBUG - VN ctest-vn-90377962 UUID is 305b10c3-c4c9-4368-ab78-7eb94699e348 2026-02-09 10:13:01,136 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980, 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-62592842:ctest-vn-90377962, 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] 2026-02-09 10:13:01,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f755238-f9e6-44da-b50f-ce5f7e741ff9', 'name': 'ctest-vn-52424980', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a60354d-6e67-4374-836a-db93afc94b56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-vn-52424980'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-policy-allow-all-42635987']], 'subnet_ipam': [{'subnet_cidr': '49.250.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 10:13:01,636 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '305b10c3-c4c9-4368-ab78-7eb94699e348', 'name': 'ctest-vn-90377962', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d758987f-b785-46f1-bf99-66e03b08ac19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-vn-90377962'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-policy-allow-all-42635987']], 'subnet_ipam': [{'subnet_cidr': '187.51.216.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 10:13:01,788 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-09 10:13:02,079 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-09 10:13:02,106 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf 2026-02-09 10:13:02,119 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd 2026-02-09 10:13:02,194 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9 2026-02-09 10:13:02,202 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9 2026-02-09 10:13:02,210 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530 2026-02-09 10:13:02,215 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530 2026-02-09 10:13:02,221 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ba8a08df-3cd0-45af-9a53-8cf57f9ea301 2026-02-09 10:13:02,226 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 10:13:02,226 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9 2026-02-09 10:13:02,233 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530 2026-02-09 10:13:02,244 - INFO - Verified VN network id 12 for VN 1f755238-f9e6-44da-b50f-ce5f7e741ff9 2026-02-09 10:13:02,244 - INFO - Verifications in API Server for VN ctest-vn-52424980 passed 2026-02-09 10:13:02,245 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9 2026-02-09 10:13:02,253 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530 2026-02-09 10:13:02,259 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530 2026-02-09 10:13:02,265 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ba8a08df-3cd0-45af-9a53-8cf57f9ea301 2026-02-09 10:13:02,275 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62592842', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2266808392115176666', 'uuid-lslong': '13046873555054370809'}, 'enable': 'true', 'created': '2026-02-09T10:13:00', 'last-modified': '2026-02-09T10:13:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.874509'} 2026-02-09 10:13:02,280 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 10:13:02,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52424980 passed 2026-02-09 10:13:02,280 - DEBUG - ====Verifying policy data for ctest-vn-52424980 in API_Server ====== 2026-02-09 10:13:02,280 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-09 10:13:02,286 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf 2026-02-09 10:13:02,298 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd 2026-02-09 10:13:02,365 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9 2026-02-09 10:13:02,373 - DEBUG - ==>Verifying data for policy with id: 9fca4187-0ad1-4d40-9706-e4fda957f212, fqn: ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-policy-allow-all-42635987'] 2026-02-09 10:13:02,373 - INFO - VN ctest-vn-52424980 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 10:13:02,373 - DEBUG - Verifying the vn in opserver 2026-02-09 10:13:02,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980 virtual network link through opserver 10.0.0.33 2026-02-09 10:13:02,373 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-09 10:13:02,661 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-09 10:13:02,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980?flat'} 2026-02-09 10:13:02,718 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980 is found in opserver 2026-02-09 10:13:02,728 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 10:13:02,732 - DEBUG - VRF ids for VN ctest-vn-52424980: {} 2026-02-09 10:13:02,732 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-09 10:13:02,737 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf 2026-02-09 10:13:02,746 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd 2026-02-09 10:13:02,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348 2026-02-09 10:13:02,823 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348 2026-02-09 10:13:02,832 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b 2026-02-09 10:13:02,839 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b 2026-02-09 10:13:02,845 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/51eac38d-6e60-4cdf-b008-07e4667bc8e2 2026-02-09 10:13:02,850 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 10:13:02,850 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348 2026-02-09 10:13:02,858 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b 2026-02-09 10:13:02,868 - INFO - Verified VN network id 13 for VN 305b10c3-c4c9-4368-ab78-7eb94699e348 2026-02-09 10:13:02,868 - INFO - Verifications in API Server for VN ctest-vn-90377962 passed 2026-02-09 10:13:02,868 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348 2026-02-09 10:13:02,875 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b 2026-02-09 10:13:02,880 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b 2026-02-09 10:13:02,885 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/51eac38d-6e60-4cdf-b008-07e4667bc8e2 2026-02-09 10:13:02,894 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62592842', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3484397169707402088', 'uuid-lslong': '12355764911909495624'}, 'enable': 'true', 'created': '2026-02-09T10:13:00', 'last-modified': '2026-02-09T10:13:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275516'} 2026-02-09 10:13:02,899 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 10:13:02,899 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90377962 passed 2026-02-09 10:13:02,899 - DEBUG - ====Verifying policy data for ctest-vn-90377962 in API_Server ====== 2026-02-09 10:13:02,899 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-09 10:13:02,904 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf 2026-02-09 10:13:02,915 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd 2026-02-09 10:13:02,994 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348 2026-02-09 10:13:03,003 - DEBUG - ==>Verifying data for policy with id: 9fca4187-0ad1-4d40-9706-e4fda957f212, fqn: ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-policy-allow-all-42635987'] 2026-02-09 10:13:03,003 - INFO - VN ctest-vn-90377962 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 10:13:03,003 - DEBUG - Verifying the vn in opserver 2026-02-09 10:13:03,003 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962 virtual network link through opserver 10.0.0.33 2026-02-09 10:13:03,003 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-09 10:13:03,012 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962?flat'} 2026-02-09 10:13:03,012 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962 is found in opserver 2026-02-09 10:13:03,024 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 10:13:03,029 - DEBUG - VRF ids for VN ctest-vn-90377962: {} 2026-02-09 10:13:03,082 - DEBUG - Services list from nova: [, , ] 2026-02-09 10:13:04,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5242-1) 2026-02-09 10:13:05,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5242-1) 2026-02-09 10:13:05,194 - INFO - Waiting for VM ctest-TestBasicPolicy-62592842-86626931 to be up.. 2026-02-09 10:13:05,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 10:13:10,340 - DEBUG - VM is in ACTIVE state now 2026-02-09 10:13:10,341 - INFO - VM name : ctest-TestBasicPolicy-62592842-86626931 2026-02-09 10:13:10,413 - DEBUG - VM ctest-TestBasicPolicy-62592842-86626931 ID is 29ff3598-17b9-4dae-bc93-43bd3eec431f 2026-02-09 10:13:10,434 - DEBUG - VM ctest-TestBasicPolicy-62592842-86626931 launched on Node cn-jenkins-deploy-platform-ansible-os-5242-1 2026-02-09 10:13:10,511 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/29ff3598-17b9-4dae-bc93-43bd3eec431f 2026-02-09 10:13:10,518 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3ce5933e-3cdf-450d-a133-d3b5062dcc71 2026-02-09 10:13:13,767 - 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 1019ms') 2026-02-09 10:13:13,767 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62592842-86626931 failed! 2026-02-09 10:13:13,820 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980 is 49.250.101.193 and allocation pool is NOT set 2026-02-09 10:13:15,877 - 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.50 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.965/3.499/1.534 ms') 2026-02-09 10:13:15,877 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62592842-86626931 passed 2026-02-09 10:13:16,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 10:13:16,028 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62592842-86626931, IP 49.250.101.195, Port 22 2026-02-09 10:13:16,184 - DEBUG - VM ctest-TestBasicPolicy-62592842-86626931 is ready for SSH connections 2026-02-09 10:13:16,184 - INFO - Waiting for VM ctest-TestBasicPolicy-62592842-68176833 to be up.. 2026-02-09 10:13:16,253 - DEBUG - VM is in ACTIVE state now 2026-02-09 10:13:16,253 - INFO - VM name : ctest-TestBasicPolicy-62592842-68176833 2026-02-09 10:13:16,322 - DEBUG - VM ctest-TestBasicPolicy-62592842-68176833 ID is c9e452f2-46da-4016-9050-e3cade97566c 2026-02-09 10:13:16,323 - DEBUG - VM ctest-TestBasicPolicy-62592842-68176833 launched on Node cn-jenkins-deploy-platform-ansible-os-5242-1 2026-02-09 10:13:16,390 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c9e452f2-46da-4016-9050-e3cade97566c 2026-02-09 10:13:16,397 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cbfeed17-0e41-44c9-a667-4e6011bf0e53 2026-02-09 10:13:17,631 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.550/2.665/1.114 ms') 2026-02-09 10:13:17,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62592842-68176833 passed 2026-02-09 10:13:17,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 10:13:17,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62592842-68176833, IP 187.51.216.3, Port 22 2026-02-09 10:13:17,932 - DEBUG - VM ctest-TestBasicPolicy-62592842-68176833 is ready for SSH connections 2026-02-09 10:13:17,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 10:13:17,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.51.216.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-09 10:13:17,932 - DEBUG - ping -s 56 -c 3 -W 1 187.51.216.3 2026-02-09 10:13:21,626 - DEBUG - PING 187.51.216.3 (187.51.216.3): 56 data bytes 64 bytes from 187.51.216.3: seq=0 ttl=63 time=3.380 ms 64 bytes from 187.51.216.3: seq=1 ttl=63 time=0.821 ms 64 bytes from 187.51.216.3: seq=2 ttl=63 time=0.775 ms --- 187.51.216.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.658/3.380 ms 2026-02-09 10:13:21,627 - INFO - Ping to IP 187.51.216.3 from VM ctest-TestBasicPolicy-62592842-86626931 passed 2026-02-09 10:13:21,800 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9fca4187-0ad1-4d40-9706-e4fda957f212", "href": "http://10.0.0.33:8082/network-policy/9fca4187-0ad1-4d40-9706-e4fda957f212"}} 2026-02-09 10:13:21,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 10:13:21,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.51.216.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-09 10:13:21,800 - DEBUG - ping -s 56 -c 3 -W 1 187.51.216.3 2026-02-09 10:13:24,997 - DEBUG - PING 187.51.216.3 (187.51.216.3): 56 data bytes --- 187.51.216.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 10:13:24,997 - WARNING - Ping to IP 187.51.216.3 from VM ctest-TestBasicPolicy-62592842-86626931 failed 2026-02-09 10:13:24,997 - INFO - Deleting VM ctest-TestBasicPolicy-62592842-68176833 2026-02-09 10:13:25,063 - INFO - Deleting VM ctest-TestBasicPolicy-62592842-86626931 2026-02-09 10:13:25,433 - INFO - Deleted policy ctest-policy-allow-all-42635987 2026-02-09 10:13:25,434 - INFO - Deleting VN ctest-vn-90377962 2026-02-09 10:13:25,466 - DEBUG - VN 305b10c3-c4c9-4368-ab78-7eb94699e348 still in use: Unable to complete operation on network 305b10c3-c4c9-4368-ab78-7eb94699e348. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-73674cb4-29dd-4c9e-8abc-faab1793e243'] 2026-02-09 10:13:25,466 - WARNING - Deleting VN ctest-vn-90377962 failed..Will retry 2026-02-09 10:13:27,558 - DEBUG - Response for deleting network () 2026-02-09 10:13:27,558 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b 2026-02-09 10:13:27,563 - DEBUG - Response Code: 404 2026-02-09 10:13:27,563 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-09 10:13:27,568 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf 2026-02-09 10:13:27,622 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd 2026-02-09 10:13:27,694 - INFO - Validated that VN ctest-vn-90377962 is not found in API Server 2026-02-09 10:13:27,702 - DEBUG - VN ctest-vn-90377962 is not present in Agent 10.0.0.33 2026-02-09 10:13:27,702 - INFO - Validated that VN ctest-vn-90377962 is not in any agent 2026-02-09 10:13:27,714 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90377962 info 2026-02-09 10:13:27,714 - INFO - Deleting VN ctest-vn-52424980 2026-02-09 10:13:27,804 - DEBUG - Response for deleting network () 2026-02-09 10:13:27,804 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530 2026-02-09 10:13:27,809 - DEBUG - Response Code: 404 2026-02-09 10:13:27,809 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-09 10:13:27,815 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf 2026-02-09 10:13:27,872 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd 2026-02-09 10:13:27,946 - INFO - Validated that VN ctest-vn-52424980 is not found in API Server 2026-02-09 10:13:27,957 - DEBUG - VN ctest-vn-52424980 is not present in Agent 10.0.0.33 2026-02-09 10:13:27,957 - INFO - Validated that VN ctest-vn-52424980 is not in any agent 2026-02-09 10:13:27,971 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52424980 info 2026-02-09 10:13:28,225 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 10:13:28,225 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-09 10:13:28,225 - INFO - -------------------------------------------------------------------------------- 2026-02-09 10:13:28,890 - INFO - Deleted project: ctest-TestBasicPolicy-62592842, ID : cbbad5a6-82ea-4b23-a0ab-1296a09118cd