2026-02-17 11:10:49,290 - INFO - Domain Default found not creating 2026-02-17 11:10:49,541 - INFO - Project ctest-TestBasicPolicy-89053783 not found, creating it 2026-02-17 11:10:50,109 - INFO - Created Project:ctest-TestBasicPolicy-89053783, ID : 9eb65f19-50bb-4dec-937f-1df2e6a4abe9 2026-02-17 11:10:52,030 - INFO - ================================================================================ 2026-02-17 11:10:52,030 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-17 11:10:52,030 - 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-17 11:10:52,312 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-17 11:10:52,312 - INFO - Initial checks done. Running the testcase now 2026-02-17 11:10:52,313 - INFO - 2026-02-17 11:10:53,008 - DEBUG - Response for create_network : {'network': {'id': 'f2defa18-3c7f-4496-baa9-cb1d1a0c544e', 'name': 'ctest-vn-78780767', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-vn-78780767'], 'port_security_enabled': True, 'description': ''}} 2026-02-17 11:10:53,183 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee708fb0-de6b-4ace-97d6-ed9a7b4703b0', 'name': '', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'network_id': 'f2defa18-3c7f-4496-baa9-cb1d1a0c544e', 'ip_version': 4, 'cidr': '214.2.156.192/26', 'allocation_pools': [{'start': '214.2.156.194', 'end': '214.2.156.254'}], 'gateway_ip': '214.2.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.2.156.194', 'tags': [], 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9'}} 2026-02-17 11:10:53,206 - INFO - Created VN ctest-vn-78780767 2026-02-17 11:10:53,264 - DEBUG - VN ctest-vn-78780767 UUID is f2defa18-3c7f-4496-baa9-cb1d1a0c544e 2026-02-17 11:10:53,708 - DEBUG - Response for create_network : {'network': {'id': '1a4445fc-7a7a-4eaf-a87e-ba945c9d757e', 'name': 'ctest-vn-11024748', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-vn-11024748'], 'port_security_enabled': True, 'description': ''}} 2026-02-17 11:10:53,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '93a7c269-f842-40c4-9515-24003f38a4ef', 'name': '', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'network_id': '1a4445fc-7a7a-4eaf-a87e-ba945c9d757e', 'ip_version': 4, 'cidr': '108.177.37.128/26', 'allocation_pools': [{'start': '108.177.37.130', 'end': '108.177.37.190'}], 'gateway_ip': '108.177.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.177.37.130', 'tags': [], 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9'}} 2026-02-17 11:10:54,002 - INFO - Created VN ctest-vn-11024748 2026-02-17 11:10:54,060 - DEBUG - VN ctest-vn-11024748 UUID is 1a4445fc-7a7a-4eaf-a87e-ba945c9d757e 2026-02-17 11:10:54,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767, 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-89053783:ctest-vn-11024748, 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-17 11:10:54,551 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2defa18-3c7f-4496-baa9-cb1d1a0c544e', 'name': 'ctest-vn-78780767', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee708fb0-de6b-4ace-97d6-ed9a7b4703b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-vn-78780767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-policy-allow-all-11491115']], 'subnet_ipam': [{'subnet_cidr': '214.2.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-17 11:10:54,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a4445fc-7a7a-4eaf-a87e-ba945c9d757e', 'name': 'ctest-vn-11024748', 'tenant_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'project_id': '9eb65f1950bb4dec937f1df2e6a4abe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93a7c269-f842-40c4-9515-24003f38a4ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-vn-11024748'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-policy-allow-all-11491115']], 'subnet_ipam': [{'subnet_cidr': '108.177.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-17 11:10:54,983 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 11:10:55,283 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 11:10:55,334 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00 2026-02-17 11:10:55,362 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9 2026-02-17 11:10:55,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e 2026-02-17 11:10:55,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e 2026-02-17 11:10:55,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c 2026-02-17 11:10:55,497 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c 2026-02-17 11:10:55,505 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2dd91d05-fdca-4671-acc3-26eae7e6d430 2026-02-17 11:10:55,513 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-17 11:10:55,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e 2026-02-17 11:10:55,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c 2026-02-17 11:10:55,541 - INFO - Verified VN network id 11 for VN f2defa18-3c7f-4496-baa9-cb1d1a0c544e 2026-02-17 11:10:55,541 - INFO - Verifications in API Server for VN ctest-vn-78780767 passed 2026-02-17 11:10:55,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e 2026-02-17 11:10:55,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c 2026-02-17 11:10:55,563 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c 2026-02-17 11:10:55,570 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2dd91d05-fdca-4671-acc3-26eae7e6d430 2026-02-17 11:10:55,585 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89053783', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17500700184009458838', 'uuid-lslong': '13450505087970202702'}, 'enable': 'true', 'created': '2026-02-17T11:10:52', 'last-modified': '2026-02-17T11:10:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.061799'} 2026-02-17 11:10:55,593 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-17 11:10:55,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78780767 passed 2026-02-17 11:10:55,594 - DEBUG - ====Verifying policy data for ctest-vn-78780767 in API_Server ====== 2026-02-17 11:10:55,594 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 11:10:55,600 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00 2026-02-17 11:10:55,619 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9 2026-02-17 11:10:55,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f2defa18-3c7f-4496-baa9-cb1d1a0c544e 2026-02-17 11:10:55,718 - DEBUG - ==>Verifying data for policy with id: e46cfefa-48f8-4345-bcb9-67ee873489db, fqn: ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-policy-allow-all-11491115'] 2026-02-17 11:10:55,718 - INFO - VN ctest-vn-78780767 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-17 11:10:55,718 - DEBUG - Verifying the vn in opserver 2026-02-17 11:10:55,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767 virtual network link through opserver 10.0.0.38 2026-02-17 11:10:55,718 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-17 11:10:56,024 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-17 11:10:56,096 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767?flat'} 2026-02-17 11:10:56,096 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767 is found in opserver 2026-02-17 11:10:56,108 - DEBUG - Do not have enough data to verify VN in agent 2026-02-17 11:10:56,117 - DEBUG - VRF ids for VN ctest-vn-78780767: {} 2026-02-17 11:10:56,117 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 11:10:56,124 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00 2026-02-17 11:10:56,138 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9 2026-02-17 11:10:56,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e 2026-02-17 11:10:56,231 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e 2026-02-17 11:10:56,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad 2026-02-17 11:10:56,252 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad 2026-02-17 11:10:56,259 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a528b7d-4303-481e-b465-07e7d7700e62 2026-02-17 11:10:56,266 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-17 11:10:56,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e 2026-02-17 11:10:56,277 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad 2026-02-17 11:10:56,294 - INFO - Verified VN network id 12 for VN 1a4445fc-7a7a-4eaf-a87e-ba945c9d757e 2026-02-17 11:10:56,294 - INFO - Verifications in API Server for VN ctest-vn-11024748 passed 2026-02-17 11:10:56,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e 2026-02-17 11:10:56,303 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad 2026-02-17 11:10:56,313 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad 2026-02-17 11:10:56,322 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a528b7d-4303-481e-b465-07e7d7700e62 2026-02-17 11:10:56,338 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89053783', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1892714694091361967', 'uuid-lslong': '12141346791809185150'}, 'enable': 'true', 'created': '2026-02-17T11:10:53', 'last-modified': '2026-02-17T11:10:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.547746'} 2026-02-17 11:10:56,346 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-17 11:10:56,346 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11024748 passed 2026-02-17 11:10:56,346 - DEBUG - ====Verifying policy data for ctest-vn-11024748 in API_Server ====== 2026-02-17 11:10:56,346 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 11:10:56,355 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00 2026-02-17 11:10:56,372 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9 2026-02-17 11:10:56,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a4445fc-7a7a-4eaf-a87e-ba945c9d757e 2026-02-17 11:10:56,482 - DEBUG - ==>Verifying data for policy with id: e46cfefa-48f8-4345-bcb9-67ee873489db, fqn: ['default-domain', 'ctest-TestBasicPolicy-89053783', 'ctest-policy-allow-all-11491115'] 2026-02-17 11:10:56,482 - INFO - VN ctest-vn-11024748 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-17 11:10:56,482 - DEBUG - Verifying the vn in opserver 2026-02-17 11:10:56,482 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748 virtual network link through opserver 10.0.0.38 2026-02-17 11:10:56,482 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-17 11:10:56,497 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748?flat'} 2026-02-17 11:10:56,497 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-11024748 is found in opserver 2026-02-17 11:10:56,511 - DEBUG - Do not have enough data to verify VN in agent 2026-02-17 11:10:56,518 - DEBUG - VRF ids for VN ctest-vn-11024748: {} 2026-02-17 11:10:56,601 - DEBUG - Services list from nova: [, , ] 2026-02-17 11:10:57,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5342-1) 2026-02-17 11:10:59,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5342-1) 2026-02-17 11:10:59,209 - INFO - Waiting for VM ctest-TestBasicPolicy-89053783-35002172 to be up.. 2026-02-17 11:10:59,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-17 11:11:04,430 - DEBUG - VM is in ACTIVE state now 2026-02-17 11:11:04,430 - INFO - VM name : ctest-TestBasicPolicy-89053783-35002172 2026-02-17 11:11:04,524 - DEBUG - VM ctest-TestBasicPolicy-89053783-35002172 ID is d512a1d1-4d9b-4358-8b97-ceff70f183a0 2026-02-17 11:11:04,547 - DEBUG - VM ctest-TestBasicPolicy-89053783-35002172 launched on Node cn-jenkins-deploy-platform-ansible-os-5342-1 2026-02-17 11:11:04,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d512a1d1-4d9b-4358-8b97-ceff70f183a0 2026-02-17 11:11:04,651 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/03390657-fe4e-4b08-a03f-e8b055e4a41d 2026-02-17 11:11:07,918 - 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 1016ms') 2026-02-17 11:11:07,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89053783-35002172 failed! 2026-02-17 11:11:07,984 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89053783:ctest-vn-78780767 is 214.2.156.193 and allocation pool is NOT set 2026-02-17 11:11:12,081 - 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=2 ttl=63 time=4.14 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 4.135/4.135/4.135/0.000 ms') 2026-02-17 11:11:12,082 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89053783-35002172 passed 2026-02-17 11:11:12,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 11:11:12,252 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89053783-35002172, IP 214.2.156.195, Port 22 2026-02-17 11:11:12,422 - DEBUG - VM ctest-TestBasicPolicy-89053783-35002172 is ready for SSH connections 2026-02-17 11:11:12,422 - INFO - Waiting for VM ctest-TestBasicPolicy-89053783-53593317 to be up.. 2026-02-17 11:11:12,524 - DEBUG - VM is in ACTIVE state now 2026-02-17 11:11:12,524 - INFO - VM name : ctest-TestBasicPolicy-89053783-53593317 2026-02-17 11:11:12,629 - DEBUG - VM ctest-TestBasicPolicy-89053783-53593317 ID is 48a1a26e-6b1c-4a9f-85d4-06a2621d1536 2026-02-17 11:11:12,629 - DEBUG - VM ctest-TestBasicPolicy-89053783-53593317 launched on Node cn-jenkins-deploy-platform-ansible-os-5342-1 2026-02-17 11:11:12,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/48a1a26e-6b1c-4a9f-85d4-06a2621d1536 2026-02-17 11:11:12,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4b33d375-6dae-446b-b048-a6cd1bf5d48a 2026-02-17 11:11:13,988 - 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=6.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.46 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.462/4.454/6.447/1.992 ms') 2026-02-17 11:11:13,988 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89053783-53593317 passed 2026-02-17 11:11:14,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 11:11:14,144 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89053783-53593317, IP 108.177.37.131, Port 22 2026-02-17 11:11:14,315 - DEBUG - VM ctest-TestBasicPolicy-89053783-53593317 is ready for SSH connections 2026-02-17 11:11:14,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 11:11:14,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.177.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-17 11:11:14,315 - DEBUG - ping -s 56 -c 3 -W 1 108.177.37.131 2026-02-17 11:11:18,608 - DEBUG - PING 108.177.37.131 (108.177.37.131): 56 data bytes 64 bytes from 108.177.37.131: seq=0 ttl=63 time=5.328 ms 64 bytes from 108.177.37.131: seq=1 ttl=63 time=1.417 ms 64 bytes from 108.177.37.131: seq=2 ttl=63 time=1.519 ms --- 108.177.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.417/2.754/5.328 ms 2026-02-17 11:11:18,608 - INFO - Ping to IP 108.177.37.131 from VM ctest-TestBasicPolicy-89053783-35002172 passed 2026-02-17 11:11:18,807 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e46cfefa-48f8-4345-bcb9-67ee873489db", "href": "http://10.0.0.38:8082/network-policy/e46cfefa-48f8-4345-bcb9-67ee873489db"}} 2026-02-17 11:11:18,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 11:11:18,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.177.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-17 11:11:18,808 - DEBUG - ping -s 56 -c 3 -W 1 108.177.37.131 2026-02-17 11:11:22,043 - DEBUG - PING 108.177.37.131 (108.177.37.131): 56 data bytes --- 108.177.37.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-17 11:11:22,043 - WARNING - Ping to IP 108.177.37.131 from VM ctest-TestBasicPolicy-89053783-35002172 failed 2026-02-17 11:11:22,044 - INFO - Deleting VM ctest-TestBasicPolicy-89053783-53593317 2026-02-17 11:11:22,143 - INFO - Deleting VM ctest-TestBasicPolicy-89053783-35002172 2026-02-17 11:11:22,601 - INFO - Deleted policy ctest-policy-allow-all-11491115 2026-02-17 11:11:22,601 - INFO - Deleting VN ctest-vn-11024748 2026-02-17 11:11:22,643 - DEBUG - VN 1a4445fc-7a7a-4eaf-a87e-ba945c9d757e still in use: Unable to complete operation on network 1a4445fc-7a7a-4eaf-a87e-ba945c9d757e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a01cb232-ed41-4554-8556-7139d1bc4caf'] 2026-02-17 11:11:22,643 - WARNING - Deleting VN ctest-vn-11024748 failed..Will retry 2026-02-17 11:11:24,788 - DEBUG - Response for deleting network () 2026-02-17 11:11:24,788 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2dd36875-4e60-468d-bf4f-710803d008ad 2026-02-17 11:11:24,794 - DEBUG - Response Code: 404 2026-02-17 11:11:24,794 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 11:11:24,805 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00 2026-02-17 11:11:24,863 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9 2026-02-17 11:11:24,956 - INFO - Validated that VN ctest-vn-11024748 is not found in API Server 2026-02-17 11:11:24,974 - DEBUG - VN ctest-vn-11024748 is not present in Agent 10.0.0.38 2026-02-17 11:11:24,974 - INFO - Validated that VN ctest-vn-11024748 is not in any agent 2026-02-17 11:11:24,999 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11024748 info 2026-02-17 11:11:24,999 - INFO - Deleting VN ctest-vn-78780767 2026-02-17 11:11:25,138 - DEBUG - Response for deleting network () 2026-02-17 11:11:25,138 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1403804-87d2-421c-b932-8f21cbe0a77c 2026-02-17 11:11:25,159 - DEBUG - Response Code: 404 2026-02-17 11:11:25,159 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 11:11:25,166 - DEBUG - Requesting: http://10.0.0.38:8082/domain/675ca7df-856d-40bd-87ce-a196b8ab4d00 2026-02-17 11:11:25,222 - DEBUG - Requesting: http://10.0.0.38:8082/project/9eb65f19-50bb-4dec-937f-1df2e6a4abe9 2026-02-17 11:11:25,299 - INFO - Validated that VN ctest-vn-78780767 is not found in API Server 2026-02-17 11:11:25,311 - DEBUG - VN ctest-vn-78780767 is not present in Agent 10.0.0.38 2026-02-17 11:11:25,311 - INFO - Validated that VN ctest-vn-78780767 is not in any agent 2026-02-17 11:11:25,328 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78780767 info 2026-02-17 11:11:25,624 - DEBUG - No XMPP flaps were noticed during the test
2026-02-17 11:11:25,624 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2026-02-17 11:11:25,624 - INFO - -------------------------------------------------------------------------------- 2026-02-17 11:11:26,393 - INFO - Deleted project: ctest-TestBasicPolicy-89053783, ID : 9eb65f19-50bb-4dec-937f-1df2e6a4abe9