2026-02-10 15:06:38,524 - INFO - Domain Default found not creating 2026-02-10 15:06:38,700 - INFO - Project ctest-TestBasicPolicy-29553491 not found, creating it 2026-02-10 15:06:39,153 - INFO - Created Project:ctest-TestBasicPolicy-29553491, ID : fc5b8840-8825-4768-8072-d54ba4298ac5 2026-02-10 15:06:40,815 - INFO - ================================================================================ 2026-02-10 15:06:40,815 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-10 15:06:40,815 - 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-10 15:06:41,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.209': '0'}} with 2026-02-10 15:06:41,078 - INFO - Initial checks done. Running the testcase now 2026-02-10 15:06:41,078 - INFO - 2026-02-10 15:06:41,690 - DEBUG - Response for create_network : {'network': {'id': 'b183f4ba-4507-4c8a-9ea6-f5f153ebdd42', 'name': 'ctest-vn-47204705', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'project_id': 'fc5b8840882547688072d54ba4298ac5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-vn-47204705'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:06:41,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3c52604-5acc-4e60-b8c2-45c84c7e3cf9', 'name': '', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'network_id': 'b183f4ba-4507-4c8a-9ea6-f5f153ebdd42', 'ip_version': 4, 'cidr': '195.127.50.128/26', 'allocation_pools': [{'start': '195.127.50.130', 'end': '195.127.50.190'}], 'gateway_ip': '195.127.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.127.50.130', 'tags': [], 'project_id': 'fc5b8840882547688072d54ba4298ac5'}} 2026-02-10 15:06:41,867 - INFO - Created VN ctest-vn-47204705 2026-02-10 15:06:41,921 - DEBUG - VN ctest-vn-47204705 UUID is b183f4ba-4507-4c8a-9ea6-f5f153ebdd42 2026-02-10 15:06:42,226 - DEBUG - Response for create_network : {'network': {'id': 'f3d130a9-a58f-4ee7-98d3-16445170ff02', 'name': 'ctest-vn-15193628', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'project_id': 'fc5b8840882547688072d54ba4298ac5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-vn-15193628'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:06:42,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '82c9a74d-197e-4d77-919d-35caa50bf735', 'name': '', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'network_id': 'f3d130a9-a58f-4ee7-98d3-16445170ff02', 'ip_version': 4, 'cidr': '51.207.67.64/26', 'allocation_pools': [{'start': '51.207.67.66', 'end': '51.207.67.126'}], 'gateway_ip': '51.207.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.207.67.66', 'tags': [], 'project_id': 'fc5b8840882547688072d54ba4298ac5'}} 2026-02-10 15:06:42,454 - INFO - Created VN ctest-vn-15193628 2026-02-10 15:06:42,505 - DEBUG - VN ctest-vn-15193628 UUID is f3d130a9-a58f-4ee7-98d3-16445170ff02 2026-02-10 15:06:42,622 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705, 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-29553491:ctest-vn-15193628, 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-10 15:06:42,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b183f4ba-4507-4c8a-9ea6-f5f153ebdd42', 'name': 'ctest-vn-47204705', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'project_id': 'fc5b8840882547688072d54ba4298ac5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3c52604-5acc-4e60-b8c2-45c84c7e3cf9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-vn-47204705'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-policy-allow-all-40125712']], 'subnet_ipam': [{'subnet_cidr': '195.127.50.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:06:43,135 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3d130a9-a58f-4ee7-98d3-16445170ff02', 'name': 'ctest-vn-15193628', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'project_id': 'fc5b8840882547688072d54ba4298ac5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['82c9a74d-197e-4d77-919d-35caa50bf735'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-vn-15193628'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-policy-allow-all-40125712']], 'subnet_ipam': [{'subnet_cidr': '51.207.67.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:06:43,293 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 15:06:43,642 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 15:06:43,675 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17 2026-02-10 15:06:43,687 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5 2026-02-10 15:06:43,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42 2026-02-10 15:06:43,774 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42 2026-02-10 15:06:43,783 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c 2026-02-10 15:06:43,791 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c 2026-02-10 15:06:43,797 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3eac68e6-9e6b-4e74-90be-0e1f36700b51 2026-02-10 15:06:43,803 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 15:06:43,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42 2026-02-10 15:06:43,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c 2026-02-10 15:06:43,827 - INFO - Verified VN network id 11 for VN b183f4ba-4507-4c8a-9ea6-f5f153ebdd42 2026-02-10 15:06:43,828 - INFO - Verifications in API Server for VN ctest-vn-47204705 passed 2026-02-10 15:06:43,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42 2026-02-10 15:06:43,837 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c 2026-02-10 15:06:43,844 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c 2026-02-10 15:06:43,851 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3eac68e6-9e6b-4e74-90be-0e1f36700b51 2026-02-10 15:06:43,865 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29553491', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12791336447521541258', 'uuid-lslong': '11432095120970472770'}, 'enable': 'true', 'created': '2026-02-10T15:06:41', 'last-modified': '2026-02-10T15:06:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973954'} 2026-02-10 15:06:43,871 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 15:06:43,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47204705 passed 2026-02-10 15:06:43,871 - DEBUG - ====Verifying policy data for ctest-vn-47204705 in API_Server ====== 2026-02-10 15:06:43,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 15:06:43,877 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17 2026-02-10 15:06:43,889 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5 2026-02-10 15:06:43,961 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42 2026-02-10 15:06:43,970 - DEBUG - ==>Verifying data for policy with id: cf6f347c-8b7c-4386-9b8a-157984fbe195, fqn: ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-policy-allow-all-40125712'] 2026-02-10 15:06:43,970 - INFO - VN ctest-vn-47204705 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 15:06:43,970 - DEBUG - Verifying the vn in opserver 2026-02-10 15:06:43,970 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705 virtual network link through opserver 10.0.0.38 2026-02-10 15:06:43,971 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-10 15:06:44,305 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-10 15:06:44,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705?flat'} 2026-02-10 15:06:44,365 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705 is found in opserver 2026-02-10 15:06:44,374 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 15:06:44,379 - DEBUG - VRF ids for VN ctest-vn-47204705: {} 2026-02-10 15:06:44,379 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 15:06:44,384 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17 2026-02-10 15:06:44,395 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5 2026-02-10 15:06:44,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02 2026-02-10 15:06:44,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02 2026-02-10 15:06:44,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf 2026-02-10 15:06:44,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf 2026-02-10 15:06:44,499 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7c0dd13a-aa56-4e9d-b80b-dcf4e19e0347 2026-02-10 15:06:44,506 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 15:06:44,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02 2026-02-10 15:06:44,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf 2026-02-10 15:06:44,529 - INFO - Verified VN network id 12 for VN f3d130a9-a58f-4ee7-98d3-16445170ff02 2026-02-10 15:06:44,530 - INFO - Verifications in API Server for VN ctest-vn-15193628 passed 2026-02-10 15:06:44,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02 2026-02-10 15:06:44,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf 2026-02-10 15:06:44,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf 2026-02-10 15:06:44,554 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7c0dd13a-aa56-4e9d-b80b-dcf4e19e0347 2026-02-10 15:06:44,567 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29553491', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17568877126534254311', 'uuid-lslong': '11012169996530941698'}, 'enable': 'true', 'created': '2026-02-10T15:06:42', 'last-modified': '2026-02-10T15:06:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.454965'} 2026-02-10 15:06:44,574 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 15:06:44,574 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15193628 passed 2026-02-10 15:06:44,574 - DEBUG - ====Verifying policy data for ctest-vn-15193628 in API_Server ====== 2026-02-10 15:06:44,574 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 15:06:44,580 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17 2026-02-10 15:06:44,591 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5 2026-02-10 15:06:44,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02 2026-02-10 15:06:44,669 - DEBUG - ==>Verifying data for policy with id: cf6f347c-8b7c-4386-9b8a-157984fbe195, fqn: ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-policy-allow-all-40125712'] 2026-02-10 15:06:44,669 - INFO - VN ctest-vn-15193628 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 15:06:44,669 - DEBUG - Verifying the vn in opserver 2026-02-10 15:06:44,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628 virtual network link through opserver 10.0.0.38 2026-02-10 15:06:44,669 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-10 15:06:44,680 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628?flat'} 2026-02-10 15:06:44,680 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628 is found in opserver 2026-02-10 15:06:44,690 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 15:06:44,695 - DEBUG - VRF ids for VN ctest-vn-15193628: {} 2026-02-10 15:06:44,759 - DEBUG - Services list from nova: [, , ] 2026-02-10 15:06:45,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5270-1) 2026-02-10 15:06:47,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5270-1) 2026-02-10 15:06:47,159 - INFO - Waiting for VM ctest-TestBasicPolicy-29553491-36190202 to be up.. 2026-02-10 15:06:47,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 15:06:52,360 - DEBUG - VM is in ACTIVE state now 2026-02-10 15:06:52,360 - INFO - VM name : ctest-TestBasicPolicy-29553491-36190202 2026-02-10 15:06:52,442 - DEBUG - VM ctest-TestBasicPolicy-29553491-36190202 ID is ecbf684c-bc13-4437-bf3e-4cca9250c017 2026-02-10 15:06:52,462 - DEBUG - VM ctest-TestBasicPolicy-29553491-36190202 launched on Node cn-jenkins-deploy-platform-ansible-os-5270-1 2026-02-10 15:06:52,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ecbf684c-bc13-4437-bf3e-4cca9250c017 2026-02-10 15:06:52,546 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cd7a19c5-1803-4cd5-8d39-ddfe8438ba36 2026-02-10 15:06:55,789 - 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 1010ms') 2026-02-10 15:06:55,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29553491-36190202 failed! 2026-02-10 15:06:55,845 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705 is 195.127.50.129 and allocation pool is NOT set 2026-02-10 15:06:57,912 - 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=9.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.300 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.300/4.733/9.166/4.433 ms') 2026-02-10 15:06:57,912 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29553491-36190202 passed 2026-02-10 15:06:58,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:06:58,070 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29553491-36190202, IP 195.127.50.131, Port 22 2026-02-10 15:06:58,230 - DEBUG - VM ctest-TestBasicPolicy-29553491-36190202 is ready for SSH connections 2026-02-10 15:06:58,233 - INFO - Waiting for VM ctest-TestBasicPolicy-29553491-26356590 to be up.. 2026-02-10 15:06:58,318 - DEBUG - VM is in ACTIVE state now 2026-02-10 15:06:58,318 - INFO - VM name : ctest-TestBasicPolicy-29553491-26356590 2026-02-10 15:06:58,502 - DEBUG - VM ctest-TestBasicPolicy-29553491-26356590 ID is 8a672fd4-c22a-40b3-8645-7abdc2d7dd30 2026-02-10 15:06:58,502 - DEBUG - VM ctest-TestBasicPolicy-29553491-26356590 launched on Node cn-jenkins-deploy-platform-ansible-os-5270-1 2026-02-10 15:06:58,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8a672fd4-c22a-40b3-8645-7abdc2d7dd30 2026-02-10 15:06:58,615 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bb0c7708-6c05-4bda-9203-0e12ae80c8ca 2026-02-10 15:06:59,863 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.844 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.844/2.504/4.164/1.660 ms') 2026-02-10 15:06:59,863 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29553491-26356590 passed 2026-02-10 15:07:00,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:07:00,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29553491-26356590, IP 51.207.67.67, Port 22 2026-02-10 15:07:00,169 - DEBUG - VM ctest-TestBasicPolicy-29553491-26356590 is ready for SSH connections 2026-02-10 15:07:00,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:07:00,170 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.207.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-10 15:07:00,170 - DEBUG - ping -s 56 -c 3 -W 1 51.207.67.67 2026-02-10 15:07:04,313 - DEBUG - PING 51.207.67.67 (51.207.67.67): 56 data bytes 64 bytes from 51.207.67.67: seq=0 ttl=63 time=4.934 ms 64 bytes from 51.207.67.67: seq=1 ttl=63 time=0.856 ms 64 bytes from 51.207.67.67: seq=2 ttl=63 time=0.889 ms --- 51.207.67.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/2.226/4.934 ms 2026-02-10 15:07:04,313 - INFO - Ping to IP 51.207.67.67 from VM ctest-TestBasicPolicy-29553491-36190202 passed 2026-02-10 15:07:04,493 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cf6f347c-8b7c-4386-9b8a-157984fbe195", "href": "http://10.0.0.38:8082/network-policy/cf6f347c-8b7c-4386-9b8a-157984fbe195"}} 2026-02-10 15:07:04,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:07:04,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.207.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-10 15:07:04,494 - DEBUG - ping -s 56 -c 3 -W 1 51.207.67.67 2026-02-10 15:07:07,729 - DEBUG - PING 51.207.67.67 (51.207.67.67): 56 data bytes --- 51.207.67.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-10 15:07:07,730 - WARNING - Ping to IP 51.207.67.67 from VM ctest-TestBasicPolicy-29553491-36190202 failed 2026-02-10 15:07:07,730 - INFO - Deleting VM ctest-TestBasicPolicy-29553491-26356590 2026-02-10 15:07:07,802 - INFO - Deleting VM ctest-TestBasicPolicy-29553491-36190202 2026-02-10 15:07:08,196 - INFO - Deleted policy ctest-policy-allow-all-40125712 2026-02-10 15:07:08,196 - INFO - Deleting VN ctest-vn-15193628 2026-02-10 15:07:08,241 - DEBUG - VN f3d130a9-a58f-4ee7-98d3-16445170ff02 still in use: Unable to complete operation on network f3d130a9-a58f-4ee7-98d3-16445170ff02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ee21098-5a4e-4e23-8cb9-c99275b9cfce'] 2026-02-10 15:07:08,241 - WARNING - Deleting VN ctest-vn-15193628 failed..Will retry 2026-02-10 15:07:10,342 - DEBUG - Response for deleting network () 2026-02-10 15:07:10,343 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf 2026-02-10 15:07:10,351 - DEBUG - Response Code: 404 2026-02-10 15:07:10,351 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 15:07:10,357 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17 2026-02-10 15:07:10,410 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5 2026-02-10 15:07:10,478 - INFO - Validated that VN ctest-vn-15193628 is not found in API Server 2026-02-10 15:07:10,488 - DEBUG - VN ctest-vn-15193628 is not present in Agent 10.0.0.38 2026-02-10 15:07:10,488 - INFO - Validated that VN ctest-vn-15193628 is not in any agent 2026-02-10 15:07:10,501 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15193628 info 2026-02-10 15:07:10,501 - INFO - Deleting VN ctest-vn-47204705 2026-02-10 15:07:10,600 - DEBUG - Response for deleting network () 2026-02-10 15:07:10,600 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c 2026-02-10 15:07:10,606 - DEBUG - Response Code: 404 2026-02-10 15:07:10,606 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 15:07:10,611 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17 2026-02-10 15:07:10,662 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5 2026-02-10 15:07:10,732 - INFO - Validated that VN ctest-vn-47204705 is not found in API Server 2026-02-10 15:07:10,741 - DEBUG - VN ctest-vn-47204705 is not present in Agent 10.0.0.38 2026-02-10 15:07:10,741 - INFO - Validated that VN ctest-vn-47204705 is not in any agent 2026-02-10 15:07:10,754 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47204705 info 2026-02-10 15:07:11,010 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 15:07:11,010 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2026-02-10 15:07:11,010 - INFO - -------------------------------------------------------------------------------- 2026-02-10 15:07:11,748 - INFO - Deleted project: ctest-TestBasicPolicy-29553491, ID : fc5b8840-8825-4768-8072-d54ba4298ac5