2026-01-16 15:25:56,407 - INFO - Domain Default found not creating 2026-01-16 15:25:56,619 - INFO - Project ctest-TestBasicPolicy-99556923 not found, creating it 2026-01-16 15:25:57,135 - INFO - Created Project:ctest-TestBasicPolicy-99556923, ID : bb490361-04b3-46d0-b958-d080aa08cf89 2026-01-16 15:25:58,726 - INFO - ================================================================================ 2026-01-16 15:25:58,726 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-16 15:25:58,726 - 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-01-16 15:25:58,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-16 15:25:58,989 - INFO - Initial checks done. Running the testcase now 2026-01-16 15:25:58,989 - INFO - 2026-01-16 15:25:59,560 - DEBUG - Response for create_network : {'network': {'id': 'fbead019-941c-41f3-b770-9d4a782a5394', 'name': 'ctest-vn-37336103', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'project_id': 'bb49036104b346d0b958d080aa08cf89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-vn-37336103'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 15:25:59,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '33d3d402-86e5-4166-925a-bd1c10ac29b0', 'name': '', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'network_id': 'fbead019-941c-41f3-b770-9d4a782a5394', 'ip_version': 4, 'cidr': '65.141.2.64/26', 'allocation_pools': [{'start': '65.141.2.66', 'end': '65.141.2.126'}], 'gateway_ip': '65.141.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.141.2.66', 'tags': [], 'project_id': 'bb49036104b346d0b958d080aa08cf89'}} 2026-01-16 15:25:59,740 - INFO - Created VN ctest-vn-37336103 2026-01-16 15:25:59,794 - DEBUG - VN ctest-vn-37336103 UUID is fbead019-941c-41f3-b770-9d4a782a5394 2026-01-16 15:26:00,102 - DEBUG - Response for create_network : {'network': {'id': 'a9937b79-9b67-4f50-b9cc-042bd3ef1aaa', 'name': 'ctest-vn-35837798', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'project_id': 'bb49036104b346d0b958d080aa08cf89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-vn-35837798'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 15:26:00,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '02203ed2-c039-44dc-adb4-6eabfff572c5', 'name': '', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'network_id': 'a9937b79-9b67-4f50-b9cc-042bd3ef1aaa', 'ip_version': 4, 'cidr': '98.139.119.128/26', 'allocation_pools': [{'start': '98.139.119.130', 'end': '98.139.119.190'}], 'gateway_ip': '98.139.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.139.119.130', 'tags': [], 'project_id': 'bb49036104b346d0b958d080aa08cf89'}} 2026-01-16 15:26:00,328 - INFO - Created VN ctest-vn-35837798 2026-01-16 15:26:00,386 - DEBUG - VN ctest-vn-35837798 UUID is a9937b79-9b67-4f50-b9cc-042bd3ef1aaa 2026-01-16 15:26:00,527 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103, 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-99556923:ctest-vn-35837798, 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-01-16 15:26:00,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbead019-941c-41f3-b770-9d4a782a5394', 'name': 'ctest-vn-37336103', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'project_id': 'bb49036104b346d0b958d080aa08cf89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33d3d402-86e5-4166-925a-bd1c10ac29b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-vn-37336103'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-policy-allow-all-03964563']], 'subnet_ipam': [{'subnet_cidr': '65.141.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-16 15:26:01,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9937b79-9b67-4f50-b9cc-042bd3ef1aaa', 'name': 'ctest-vn-35837798', 'tenant_id': 'bb49036104b346d0b958d080aa08cf89', 'project_id': 'bb49036104b346d0b958d080aa08cf89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02203ed2-c039-44dc-adb4-6eabfff572c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-vn-35837798'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-policy-allow-all-03964563']], 'subnet_ipam': [{'subnet_cidr': '98.139.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-16 15:26:01,246 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-16 15:26:01,545 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-16 15:26:01,579 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304 2026-01-16 15:26:01,593 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89 2026-01-16 15:26:01,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394 2026-01-16 15:26:01,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394 2026-01-16 15:26:01,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1 2026-01-16 15:26:01,702 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1 2026-01-16 15:26:01,712 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9e417ef-0738-4cb0-851b-8b30913be5ce 2026-01-16 15:26:01,722 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-16 15:26:01,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394 2026-01-16 15:26:01,733 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1 2026-01-16 15:26:01,752 - INFO - Verified VN network id 11 for VN fbead019-941c-41f3-b770-9d4a782a5394 2026-01-16 15:26:01,752 - INFO - Verifications in API Server for VN ctest-vn-37336103 passed 2026-01-16 15:26:01,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394 2026-01-16 15:26:01,763 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1 2026-01-16 15:26:01,773 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1 2026-01-16 15:26:01,782 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9e417ef-0738-4cb0-851b-8b30913be5ce 2026-01-16 15:26:01,796 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99556923', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18152550056347845107', 'uuid-lslong': '13218237849501586324'}, 'enable': 'true', 'created': '2026-01-16T15:25:59', 'last-modified': '2026-01-16T15:26:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979116'} 2026-01-16 15:26:01,803 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-16 15:26:01,804 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37336103 passed 2026-01-16 15:26:01,804 - DEBUG - ====Verifying policy data for ctest-vn-37336103 in API_Server ====== 2026-01-16 15:26:01,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-16 15:26:01,811 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304 2026-01-16 15:26:01,824 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89 2026-01-16 15:26:01,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbead019-941c-41f3-b770-9d4a782a5394 2026-01-16 15:26:01,911 - DEBUG - ==>Verifying data for policy with id: 5544b675-98a1-41a4-b3d7-49d74f622ffc, fqn: ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-policy-allow-all-03964563'] 2026-01-16 15:26:01,911 - INFO - VN ctest-vn-37336103 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-16 15:26:01,911 - DEBUG - Verifying the vn in opserver 2026-01-16 15:26:01,911 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103 virtual network link through opserver 10.0.0.38 2026-01-16 15:26:01,911 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-16 15:26:02,222 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-16 15:26:02,302 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103?flat'} 2026-01-16 15:26:02,302 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103 is found in opserver 2026-01-16 15:26:02,315 - DEBUG - Do not have enough data to verify VN in agent 2026-01-16 15:26:02,320 - DEBUG - VRF ids for VN ctest-vn-37336103: {} 2026-01-16 15:26:02,320 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-16 15:26:02,327 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304 2026-01-16 15:26:02,342 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89 2026-01-16 15:26:02,421 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa 2026-01-16 15:26:02,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa 2026-01-16 15:26:02,449 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f 2026-01-16 15:26:02,458 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f 2026-01-16 15:26:02,466 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6b8f3ef9-5340-4f5e-be4d-a24ffd8a7ef0 2026-01-16 15:26:02,475 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-16 15:26:02,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa 2026-01-16 15:26:02,486 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f 2026-01-16 15:26:02,505 - INFO - Verified VN network id 12 for VN a9937b79-9b67-4f50-b9cc-042bd3ef1aaa 2026-01-16 15:26:02,505 - INFO - Verifications in API Server for VN ctest-vn-35837798 passed 2026-01-16 15:26:02,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa 2026-01-16 15:26:02,518 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f 2026-01-16 15:26:02,527 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f 2026-01-16 15:26:02,536 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6b8f3ef9-5340-4f5e-be4d-a24ffd8a7ef0 2026-01-16 15:26:02,549 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99556923', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12219245976214785872', 'uuid-lslong': '13388080378551409322'}, 'enable': 'true', 'created': '2026-01-16T15:26:00', 'last-modified': '2026-01-16T15:26:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.487692'} 2026-01-16 15:26:02,555 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-16 15:26:02,556 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35837798 passed 2026-01-16 15:26:02,556 - DEBUG - ====Verifying policy data for ctest-vn-35837798 in API_Server ====== 2026-01-16 15:26:02,556 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-16 15:26:02,564 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304 2026-01-16 15:26:02,579 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89 2026-01-16 15:26:02,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a9937b79-9b67-4f50-b9cc-042bd3ef1aaa 2026-01-16 15:26:02,674 - DEBUG - ==>Verifying data for policy with id: 5544b675-98a1-41a4-b3d7-49d74f622ffc, fqn: ['default-domain', 'ctest-TestBasicPolicy-99556923', 'ctest-policy-allow-all-03964563'] 2026-01-16 15:26:02,674 - INFO - VN ctest-vn-35837798 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-16 15:26:02,674 - DEBUG - Verifying the vn in opserver 2026-01-16 15:26:02,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798 virtual network link through opserver 10.0.0.38 2026-01-16 15:26:02,674 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-16 15:26:02,686 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798?flat'} 2026-01-16 15:26:02,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-35837798 is found in opserver 2026-01-16 15:26:02,698 - DEBUG - Do not have enough data to verify VN in agent 2026-01-16 15:26:02,704 - DEBUG - VRF ids for VN ctest-vn-35837798: {} 2026-01-16 15:26:02,778 - DEBUG - Services list from nova: [, , ] 2026-01-16 15:26:03,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5035-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5035-1) 2026-01-16 15:26:05,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5035-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5035-1) 2026-01-16 15:26:05,118 - INFO - Waiting for VM ctest-TestBasicPolicy-99556923-45285493 to be up.. 2026-01-16 15:26:05,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-16 15:26:10,308 - DEBUG - VM is in ACTIVE state now 2026-01-16 15:26:10,309 - INFO - VM name : ctest-TestBasicPolicy-99556923-45285493 2026-01-16 15:26:10,399 - DEBUG - VM ctest-TestBasicPolicy-99556923-45285493 ID is 344b0a34-605a-4c17-8395-aa0e05c12916 2026-01-16 15:26:10,422 - DEBUG - VM ctest-TestBasicPolicy-99556923-45285493 launched on Node cn-jenkins-deploy-platform-ansible-os-5035-1 2026-01-16 15:26:10,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/344b0a34-605a-4c17-8395-aa0e05c12916 2026-01-16 15:26:10,517 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9c0a8e02-5d50-41f8-bd6e-8c3548da8e6a 2026-01-16 15:26:13,773 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-01-16 15:26:13,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99556923-45285493 failed! 2026-01-16 15:26:13,830 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99556923:ctest-vn-37336103 is 65.141.2.65 and allocation pool is NOT set 2026-01-16 15:26:15,895 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.93 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 = 2.927/6.571/10.216/3.644 ms') 2026-01-16 15:26:15,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99556923-45285493 passed 2026-01-16 15:26:16,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 15:26:16,050 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99556923-45285493, IP 65.141.2.67, Port 22 2026-01-16 15:26:16,216 - DEBUG - VM ctest-TestBasicPolicy-99556923-45285493 is ready for SSH connections 2026-01-16 15:26:16,216 - INFO - Waiting for VM ctest-TestBasicPolicy-99556923-14958393 to be up.. 2026-01-16 15:26:16,301 - DEBUG - VM is in ACTIVE state now 2026-01-16 15:26:16,301 - INFO - VM name : ctest-TestBasicPolicy-99556923-14958393 2026-01-16 15:26:16,400 - DEBUG - VM ctest-TestBasicPolicy-99556923-14958393 ID is 2fa13836-f216-49d2-960e-7a125bfa2302 2026-01-16 15:26:16,401 - DEBUG - VM ctest-TestBasicPolicy-99556923-14958393 launched on Node cn-jenkins-deploy-platform-ansible-os-5035-1 2026-01-16 15:26:16,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2fa13836-f216-49d2-960e-7a125bfa2302 2026-01-16 15:26:16,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/16821e31-7f88-4c16-b809-c8a91c3537a3 2026-01-16 15:26:17,773 - 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=4.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.986 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.986/2.592/4.199/1.606 ms') 2026-01-16 15:26:17,773 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99556923-14958393 passed 2026-01-16 15:26:17,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 15:26:17,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99556923-14958393, IP 98.139.119.131, Port 22 2026-01-16 15:26:18,078 - DEBUG - VM ctest-TestBasicPolicy-99556923-14958393 is ready for SSH connections 2026-01-16 15:26:18,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 15:26:18,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.139.119.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-16 15:26:18,078 - DEBUG - ping -s 56 -c 3 -W 1 98.139.119.131 2026-01-16 15:26:21,818 - DEBUG - PING 98.139.119.131 (98.139.119.131): 56 data bytes 64 bytes from 98.139.119.131: seq=0 ttl=63 time=4.129 ms 64 bytes from 98.139.119.131: seq=1 ttl=63 time=1.223 ms 64 bytes from 98.139.119.131: seq=2 ttl=63 time=0.989 ms --- 98.139.119.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.989/2.113/4.129 ms 2026-01-16 15:26:21,818 - INFO - Ping to IP 98.139.119.131 from VM ctest-TestBasicPolicy-99556923-45285493 passed 2026-01-16 15:26:21,997 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5544b675-98a1-41a4-b3d7-49d74f622ffc", "href": "http://10.0.0.38:8082/network-policy/5544b675-98a1-41a4-b3d7-49d74f622ffc"}} 2026-01-16 15:26:21,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 15:26:21,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.139.119.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-16 15:26:21,998 - DEBUG - ping -s 56 -c 3 -W 1 98.139.119.131 2026-01-16 15:26:25,214 - DEBUG - PING 98.139.119.131 (98.139.119.131): 56 data bytes --- 98.139.119.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-16 15:26:25,214 - WARNING - Ping to IP 98.139.119.131 from VM ctest-TestBasicPolicy-99556923-45285493 failed 2026-01-16 15:26:25,214 - INFO - Deleting VM ctest-TestBasicPolicy-99556923-14958393 2026-01-16 15:26:25,293 - INFO - Deleting VM ctest-TestBasicPolicy-99556923-45285493 2026-01-16 15:26:25,702 - INFO - Deleted policy ctest-policy-allow-all-03964563 2026-01-16 15:26:25,702 - INFO - Deleting VN ctest-vn-35837798 2026-01-16 15:26:25,753 - DEBUG - VN a9937b79-9b67-4f50-b9cc-042bd3ef1aaa still in use: Unable to complete operation on network a9937b79-9b67-4f50-b9cc-042bd3ef1aaa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9da598a8-dbc4-441a-a12a-a7ff808832f1'] 2026-01-16 15:26:25,753 - WARNING - Deleting VN ctest-vn-35837798 failed..Will retry 2026-01-16 15:26:27,874 - DEBUG - Response for deleting network () 2026-01-16 15:26:27,875 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/21d905d5-08e7-4fe8-8ccd-36b631943e8f 2026-01-16 15:26:27,881 - DEBUG - Response Code: 404 2026-01-16 15:26:27,881 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-16 15:26:27,890 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304 2026-01-16 15:26:27,954 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89 2026-01-16 15:26:28,026 - INFO - Validated that VN ctest-vn-35837798 is not found in API Server 2026-01-16 15:26:28,036 - DEBUG - VN ctest-vn-35837798 is not present in Agent 10.0.0.38 2026-01-16 15:26:28,036 - INFO - Validated that VN ctest-vn-35837798 is not in any agent 2026-01-16 15:26:28,050 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35837798 info 2026-01-16 15:26:28,050 - INFO - Deleting VN ctest-vn-37336103 2026-01-16 15:26:28,182 - DEBUG - Response for deleting network () 2026-01-16 15:26:28,182 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74633d6b-4489-43de-8845-cd9da6c4d6d1 2026-01-16 15:26:28,193 - DEBUG - Response Code: 404 2026-01-16 15:26:28,193 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-16 15:26:28,200 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1a9d683-bf76-47d7-badc-33d849bb8304 2026-01-16 15:26:28,256 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb490361-04b3-46d0-b958-d080aa08cf89 2026-01-16 15:26:28,327 - INFO - Validated that VN ctest-vn-37336103 is not found in API Server 2026-01-16 15:26:28,338 - DEBUG - VN ctest-vn-37336103 is not present in Agent 10.0.0.38 2026-01-16 15:26:28,338 - INFO - Validated that VN ctest-vn-37336103 is not in any agent 2026-01-16 15:26:28,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37336103 info 2026-01-16 15:26:28,623 - DEBUG - No XMPP flaps were noticed during the test
2026-01-16 15:26:28,623 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-16 15:26:28,623 - INFO - -------------------------------------------------------------------------------- 2026-01-16 15:26:29,344 - INFO - Deleted project: ctest-TestBasicPolicy-99556923, ID : bb490361-04b3-46d0-b958-d080aa08cf89