2026-05-12 17:43:44,793 - INFO - Domain Default found not creating 2026-05-12 17:43:44,970 - INFO - Project ctest-TestBasicPolicy-67840431 not found, creating it 2026-05-12 17:43:45,452 - INFO - Created Project:ctest-TestBasicPolicy-67840431, ID : a13f5d62-c37f-4ed9-96f4-565cf29eb7f6 2026-05-12 17:43:46,977 - INFO - ================================================================================ 2026-05-12 17:43:46,977 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-12 17:43:46,977 - 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-05-12 17:43:47,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-05-12 17:43:47,238 - INFO - Initial checks done. Running the testcase now 2026-05-12 17:43:47,238 - INFO - 2026-05-12 17:43:47,794 - DEBUG - Response for create_network : {'network': {'id': 'dec26a2b-f5eb-46ee-871a-ba737ac750e7', 'name': 'ctest-vn-83231718', 'tenant_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'project_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67840431', 'ctest-vn-83231718'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 17:43:48,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '179a7c8b-e269-436b-9c2b-07f6c4d3a1ac', 'name': '', 'tenant_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'network_id': 'dec26a2b-f5eb-46ee-871a-ba737ac750e7', 'ip_version': 4, 'cidr': '201.228.23.128/26', 'allocation_pools': [{'start': '201.228.23.130', 'end': '201.228.23.190'}], 'gateway_ip': '201.228.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.228.23.130', 'tags': [], 'project_id': 'a13f5d62c37f4ed996f4565cf29eb7f6'}} 2026-05-12 17:43:48,051 - INFO - Created VN ctest-vn-83231718 2026-05-12 17:43:48,107 - DEBUG - VN ctest-vn-83231718 UUID is dec26a2b-f5eb-46ee-871a-ba737ac750e7 2026-05-12 17:43:48,402 - DEBUG - Response for create_network : {'network': {'id': 'ee44ce05-d797-4bfa-a0ed-6359e7aa5b23', 'name': 'ctest-vn-01453884', 'tenant_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'project_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67840431', 'ctest-vn-01453884'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 17:43:48,592 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f41181a6-8a76-4d94-b4ae-b3394913cec8', 'name': '', 'tenant_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'network_id': 'ee44ce05-d797-4bfa-a0ed-6359e7aa5b23', 'ip_version': 4, 'cidr': '217.184.119.64/26', 'allocation_pools': [{'start': '217.184.119.66', 'end': '217.184.119.126'}], 'gateway_ip': '217.184.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.184.119.66', 'tags': [], 'project_id': 'a13f5d62c37f4ed996f4565cf29eb7f6'}} 2026-05-12 17:43:48,610 - INFO - Created VN ctest-vn-01453884 2026-05-12 17:43:48,663 - DEBUG - VN ctest-vn-01453884 UUID is ee44ce05-d797-4bfa-a0ed-6359e7aa5b23 2026-05-12 17:43:48,777 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-83231718, 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-67840431:ctest-vn-01453884, 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-05-12 17:43:49,080 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dec26a2b-f5eb-46ee-871a-ba737ac750e7', 'name': 'ctest-vn-83231718', 'tenant_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'project_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['179a7c8b-e269-436b-9c2b-07f6c4d3a1ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67840431', 'ctest-vn-83231718'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67840431', 'ctest-policy-allow-all-27261952']], 'subnet_ipam': [{'subnet_cidr': '201.228.23.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-12 17:43:49,322 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee44ce05-d797-4bfa-a0ed-6359e7aa5b23', 'name': 'ctest-vn-01453884', 'tenant_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'project_id': 'a13f5d62c37f4ed996f4565cf29eb7f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f41181a6-8a76-4d94-b4ae-b3394913cec8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67840431', 'ctest-vn-01453884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67840431', 'ctest-policy-allow-all-27261952']], 'subnet_ipam': [{'subnet_cidr': '217.184.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-12 17:43:49,495 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-12 17:43:49,790 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-12 17:43:49,823 - DEBUG - Requesting: http://10.0.0.242:8082/domain/22ec9995-416d-4053-9875-5a199a9ea372 2026-05-12 17:43:49,837 - DEBUG - Requesting: http://10.0.0.242:8082/project/a13f5d62-c37f-4ed9-96f4-565cf29eb7f6 2026-05-12 17:43:49,916 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dec26a2b-f5eb-46ee-871a-ba737ac750e7 2026-05-12 17:43:49,928 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dec26a2b-f5eb-46ee-871a-ba737ac750e7 2026-05-12 17:43:49,937 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4d230f28-84eb-4f8b-a517-3f713f9dacc8 2026-05-12 17:43:49,943 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4d230f28-84eb-4f8b-a517-3f713f9dacc8 2026-05-12 17:43:49,950 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/cbd8046c-a4b6-467b-83c6-232e755353af 2026-05-12 17:43:49,956 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-12 17:43:49,956 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dec26a2b-f5eb-46ee-871a-ba737ac750e7 2026-05-12 17:43:49,964 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4d230f28-84eb-4f8b-a517-3f713f9dacc8 2026-05-12 17:43:49,977 - INFO - Verified VN network id 11 for VN dec26a2b-f5eb-46ee-871a-ba737ac750e7 2026-05-12 17:43:49,977 - INFO - Verifications in API Server for VN ctest-vn-83231718 passed 2026-05-12 17:43:49,977 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dec26a2b-f5eb-46ee-871a-ba737ac750e7 2026-05-12 17:43:49,986 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4d230f28-84eb-4f8b-a517-3f713f9dacc8 2026-05-12 17:43:49,992 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4d230f28-84eb-4f8b-a517-3f713f9dacc8 2026-05-12 17:43:49,998 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/cbd8046c-a4b6-467b-83c6-232e755353af 2026-05-12 17:43:50,011 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-83231718', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67840431', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16051508758943844078', 'uuid-lslong': '9735298549658636519'}, 'enable': 'true', 'created': '2026-05-12T17:43:47', 'last-modified': '2026-05-12T17:43:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950045'} 2026-05-12 17:43:50,018 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-12 17:43:50,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83231718 passed 2026-05-12 17:43:50,019 - DEBUG - ====Verifying policy data for ctest-vn-83231718 in API_Server ====== 2026-05-12 17:43:50,019 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-12 17:43:50,025 - DEBUG - Requesting: http://10.0.0.242:8082/domain/22ec9995-416d-4053-9875-5a199a9ea372 2026-05-12 17:43:50,038 - DEBUG - Requesting: http://10.0.0.242:8082/project/a13f5d62-c37f-4ed9-96f4-565cf29eb7f6 2026-05-12 17:43:50,110 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dec26a2b-f5eb-46ee-871a-ba737ac750e7 2026-05-12 17:43:50,120 - DEBUG - ==>Verifying data for policy with id: 6a0bdf0f-914a-4bb3-a82b-e43d0f180ef9, fqn: ['default-domain', 'ctest-TestBasicPolicy-67840431', 'ctest-policy-allow-all-27261952'] 2026-05-12 17:43:50,120 - INFO - VN ctest-vn-83231718 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-12 17:43:50,120 - DEBUG - Verifying the vn in opserver 2026-05-12 17:43:50,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-83231718 virtual network link through opserver 10.0.0.242 2026-05-12 17:43:50,121 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-12 17:43:50,416 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-12 17:43:50,486 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-83231718', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-83231718?flat'} 2026-05-12 17:43:50,486 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-83231718 is found in opserver 2026-05-12 17:43:50,495 - DEBUG - Do not have enough data to verify VN in agent 2026-05-12 17:43:50,499 - DEBUG - VRF ids for VN ctest-vn-83231718: {} 2026-05-12 17:43:50,500 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-12 17:43:50,505 - DEBUG - Requesting: http://10.0.0.242:8082/domain/22ec9995-416d-4053-9875-5a199a9ea372 2026-05-12 17:43:50,515 - DEBUG - Requesting: http://10.0.0.242:8082/project/a13f5d62-c37f-4ed9-96f4-565cf29eb7f6 2026-05-12 17:43:50,585 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ee44ce05-d797-4bfa-a0ed-6359e7aa5b23 2026-05-12 17:43:50,596 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ee44ce05-d797-4bfa-a0ed-6359e7aa5b23 2026-05-12 17:43:50,603 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/04e68758-1fca-4e7d-8447-41406bdffcb7 2026-05-12 17:43:50,609 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/04e68758-1fca-4e7d-8447-41406bdffcb7 2026-05-12 17:43:50,615 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/85cb156e-ea25-4f67-8fc9-ec62a5d41ef4 2026-05-12 17:43:50,621 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-12 17:43:50,621 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ee44ce05-d797-4bfa-a0ed-6359e7aa5b23 2026-05-12 17:43:50,629 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/04e68758-1fca-4e7d-8447-41406bdffcb7 2026-05-12 17:43:50,642 - INFO - Verified VN network id 12 for VN ee44ce05-d797-4bfa-a0ed-6359e7aa5b23 2026-05-12 17:43:50,642 - INFO - Verifications in API Server for VN ctest-vn-01453884 passed 2026-05-12 17:43:50,643 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ee44ce05-d797-4bfa-a0ed-6359e7aa5b23 2026-05-12 17:43:50,651 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/04e68758-1fca-4e7d-8447-41406bdffcb7 2026-05-12 17:43:50,658 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/04e68758-1fca-4e7d-8447-41406bdffcb7 2026-05-12 17:43:50,665 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/85cb156e-ea25-4f67-8fc9-ec62a5d41ef4 2026-05-12 17:43:50,678 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-01453884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67840431', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17169074203930348538', 'uuid-lslong': '11596033853338835747'}, 'enable': 'true', 'created': '2026-05-12T17:43:48', 'last-modified': '2026-05-12T17:43:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378675'} 2026-05-12 17:43:50,686 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-12 17:43:50,686 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01453884 passed 2026-05-12 17:43:50,686 - DEBUG - ====Verifying policy data for ctest-vn-01453884 in API_Server ====== 2026-05-12 17:43:50,686 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-12 17:43:50,691 - DEBUG - Requesting: http://10.0.0.242:8082/domain/22ec9995-416d-4053-9875-5a199a9ea372 2026-05-12 17:43:50,702 - DEBUG - Requesting: http://10.0.0.242:8082/project/a13f5d62-c37f-4ed9-96f4-565cf29eb7f6 2026-05-12 17:43:50,778 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ee44ce05-d797-4bfa-a0ed-6359e7aa5b23 2026-05-12 17:43:50,789 - DEBUG - ==>Verifying data for policy with id: 6a0bdf0f-914a-4bb3-a82b-e43d0f180ef9, fqn: ['default-domain', 'ctest-TestBasicPolicy-67840431', 'ctest-policy-allow-all-27261952'] 2026-05-12 17:43:50,789 - INFO - VN ctest-vn-01453884 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-12 17:43:50,789 - DEBUG - Verifying the vn in opserver 2026-05-12 17:43:50,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-01453884 virtual network link through opserver 10.0.0.242 2026-05-12 17:43:50,789 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-12 17:43:50,800 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-01453884', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-01453884?flat'} 2026-05-12 17:43:50,800 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-01453884 is found in opserver 2026-05-12 17:43:50,809 - DEBUG - Do not have enough data to verify VN in agent 2026-05-12 17:43:50,813 - DEBUG - VRF ids for VN ctest-vn-01453884: {} 2026-05-12 17:43:50,873 - DEBUG - Services list from nova: [, , ] 2026-05-12 17:43:51,930 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5772-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5772-1) 2026-05-12 17:43:53,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5772-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5772-1) 2026-05-12 17:43:53,102 - INFO - Waiting for VM ctest-TestBasicPolicy-67840431-48823093 to be up.. 2026-05-12 17:43:53,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-12 17:43:58,273 - DEBUG - VM is in ACTIVE state now 2026-05-12 17:43:58,273 - INFO - VM name : ctest-TestBasicPolicy-67840431-48823093 2026-05-12 17:43:58,351 - DEBUG - VM ctest-TestBasicPolicy-67840431-48823093 ID is ddea3264-c0a6-4683-bb36-42b5b90e803d 2026-05-12 17:43:58,372 - DEBUG - VM ctest-TestBasicPolicy-67840431-48823093 launched on Node cn-jenkins-deploy-platform-ansible-os-5772-1 2026-05-12 17:43:58,450 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ddea3264-c0a6-4683-bb36-42b5b90e803d 2026-05-12 17:43:58,460 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a0cdf918-b807-4a17-b418-b8237abbd7e0 2026-05-12 17:44:01,725 - 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 1018ms') 2026-05-12 17:44:01,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67840431-48823093 failed! 2026-05-12 17:44:01,783 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67840431:ctest-vn-83231718 is 201.228.23.129 and allocation pool is NOT set 2026-05-12 17:44:03,847 - 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=8.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.72 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.719/5.798/8.878/3.079 ms') 2026-05-12 17:44:03,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67840431-48823093 passed 2026-05-12 17:44:03,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:44:03,999 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67840431-48823093, IP 201.228.23.131, Port 22 2026-05-12 17:44:04,165 - DEBUG - VM ctest-TestBasicPolicy-67840431-48823093 is ready for SSH connections 2026-05-12 17:44:04,165 - INFO - Waiting for VM ctest-TestBasicPolicy-67840431-30388308 to be up.. 2026-05-12 17:44:04,253 - DEBUG - VM is in ACTIVE state now 2026-05-12 17:44:04,253 - INFO - VM name : ctest-TestBasicPolicy-67840431-30388308 2026-05-12 17:44:04,340 - DEBUG - VM ctest-TestBasicPolicy-67840431-30388308 ID is acf2ddd1-7568-4af4-80d5-c729a5925fb6 2026-05-12 17:44:04,340 - DEBUG - VM ctest-TestBasicPolicy-67840431-30388308 launched on Node cn-jenkins-deploy-platform-ansible-os-5772-1 2026-05-12 17:44:04,430 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/acf2ddd1-7568-4af4-80d5-c729a5925fb6 2026-05-12 17:44:04,440 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d40213b4-4e6f-404e-ad49-0e212e5f3fd5 2026-05-12 17:44:05,690 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.13 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 = 2.131/3.004/3.878/0.873 ms') 2026-05-12 17:44:05,690 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67840431-30388308 passed 2026-05-12 17:44:05,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:44:05,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67840431-30388308, IP 217.184.119.67, Port 22 2026-05-12 17:44:06,003 - DEBUG - VM ctest-TestBasicPolicy-67840431-30388308 is ready for SSH connections 2026-05-12 17:44:06,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:44:06,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.184.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-12 17:44:06,004 - DEBUG - ping -s 56 -c 3 -W 1 217.184.119.67 2026-05-12 17:44:10,051 - DEBUG - PING 217.184.119.67 (217.184.119.67): 56 data bytes 64 bytes from 217.184.119.67: seq=0 ttl=63 time=3.608 ms 64 bytes from 217.184.119.67: seq=1 ttl=63 time=0.953 ms 64 bytes from 217.184.119.67: seq=2 ttl=63 time=1.011 ms --- 217.184.119.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/1.857/3.608 ms 2026-05-12 17:44:10,051 - INFO - Ping to IP 217.184.119.67 from VM ctest-TestBasicPolicy-67840431-48823093 passed 2026-05-12 17:44:10,243 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a0bdf0f-914a-4bb3-a82b-e43d0f180ef9", "href": "http://10.0.0.242:8082/network-policy/6a0bdf0f-914a-4bb3-a82b-e43d0f180ef9"}} 2026-05-12 17:44:10,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:44:10,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.184.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-12 17:44:10,243 - DEBUG - ping -s 56 -c 3 -W 1 217.184.119.67 2026-05-12 17:44:13,445 - DEBUG - PING 217.184.119.67 (217.184.119.67): 56 data bytes --- 217.184.119.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-12 17:44:13,445 - WARNING - Ping to IP 217.184.119.67 from VM ctest-TestBasicPolicy-67840431-48823093 failed 2026-05-12 17:44:13,445 - INFO - Deleting VM ctest-TestBasicPolicy-67840431-30388308 2026-05-12 17:44:13,514 - INFO - Deleting VM ctest-TestBasicPolicy-67840431-48823093 2026-05-12 17:44:13,899 - INFO - Deleted policy ctest-policy-allow-all-27261952 2026-05-12 17:44:13,899 - INFO - Deleting VN ctest-vn-01453884 2026-05-12 17:44:13,935 - DEBUG - VN ee44ce05-d797-4bfa-a0ed-6359e7aa5b23 still in use: Unable to complete operation on network ee44ce05-d797-4bfa-a0ed-6359e7aa5b23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c10bc4f9-7643-4b38-99f8-26ab37b40410'] 2026-05-12 17:44:13,936 - WARNING - Deleting VN ctest-vn-01453884 failed..Will retry 2026-05-12 17:44:16,043 - DEBUG - Response for deleting network () 2026-05-12 17:44:16,043 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/04e68758-1fca-4e7d-8447-41406bdffcb7 2026-05-12 17:44:16,051 - DEBUG - Response Code: 404 2026-05-12 17:44:16,052 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-12 17:44:16,057 - DEBUG - Requesting: http://10.0.0.242:8082/domain/22ec9995-416d-4053-9875-5a199a9ea372 2026-05-12 17:44:16,114 - DEBUG - Requesting: http://10.0.0.242:8082/project/a13f5d62-c37f-4ed9-96f4-565cf29eb7f6 2026-05-12 17:44:16,191 - INFO - Validated that VN ctest-vn-01453884 is not found in API Server 2026-05-12 17:44:16,200 - DEBUG - VN ctest-vn-01453884 is not present in Agent 10.0.0.242 2026-05-12 17:44:16,200 - INFO - Validated that VN ctest-vn-01453884 is not in any agent 2026-05-12 17:44:16,215 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01453884 info 2026-05-12 17:44:16,215 - INFO - Deleting VN ctest-vn-83231718 2026-05-12 17:44:16,317 - DEBUG - Response for deleting network () 2026-05-12 17:44:16,317 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4d230f28-84eb-4f8b-a517-3f713f9dacc8 2026-05-12 17:44:16,324 - DEBUG - Response Code: 404 2026-05-12 17:44:16,325 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-12 17:44:16,332 - DEBUG - Requesting: http://10.0.0.242:8082/domain/22ec9995-416d-4053-9875-5a199a9ea372 2026-05-12 17:44:16,388 - DEBUG - Requesting: http://10.0.0.242:8082/project/a13f5d62-c37f-4ed9-96f4-565cf29eb7f6 2026-05-12 17:44:16,497 - INFO - Validated that VN ctest-vn-83231718 is not found in API Server 2026-05-12 17:44:16,506 - DEBUG - VN ctest-vn-83231718 is not present in Agent 10.0.0.242 2026-05-12 17:44:16,506 - INFO - Validated that VN ctest-vn-83231718 is not in any agent 2026-05-12 17:44:16,522 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83231718 info 2026-05-12 17:44:16,781 - DEBUG - No XMPP flaps were noticed during the test
2026-05-12 17:44:16,781 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-12 17:44:16,781 - INFO - -------------------------------------------------------------------------------- 2026-05-12 17:44:17,569 - INFO - Deleted project: ctest-TestBasicPolicy-67840431, ID : a13f5d62-c37f-4ed9-96f4-565cf29eb7f6