2026-09-29 15:24:58,624 - INFO - Domain Default found not creating 2026-09-29 15:24:58,827 - INFO - Project ctest-TestBasicPolicy-89437715 not found, creating it 2026-09-29 15:24:59,336 - INFO - Created Project:ctest-TestBasicPolicy-89437715, ID : 0fa143d5-4d3b-4181-9dae-97478e1d59db 2026-09-29 15:25:01,177 - INFO - ================================================================================ 2026-09-29 15:25:01,177 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-29 15:25:01,177 - 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-09-29 15:25:01,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-09-29 15:25:01,448 - INFO - Initial checks done. Running the testcase now 2026-09-29 15:25:01,448 - INFO - 2026-09-29 15:25:02,159 - DEBUG - Response for create_network : {'network': {'id': '2f673a17-822d-4635-bba3-4c70560e6658', 'name': 'ctest-vn-75142354', 'tenant_id': '0fa143d54d3b41819dae97478e1d59db', 'project_id': '0fa143d54d3b41819dae97478e1d59db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89437715', 'ctest-vn-75142354'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 15:25:02,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '02595f78-bb88-47b7-98d8-217739736b3d', 'name': '', 'tenant_id': '0fa143d54d3b41819dae97478e1d59db', 'network_id': '2f673a17-822d-4635-bba3-4c70560e6658', 'ip_version': 4, 'cidr': '201.169.65.64/26', 'allocation_pools': [{'start': '201.169.65.66', 'end': '201.169.65.126'}], 'gateway_ip': '201.169.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.169.65.66', 'tags': [], 'project_id': '0fa143d54d3b41819dae97478e1d59db'}} 2026-09-29 15:25:02,431 - INFO - Created VN ctest-vn-75142354 2026-09-29 15:25:02,486 - DEBUG - VN ctest-vn-75142354 UUID is 2f673a17-822d-4635-bba3-4c70560e6658 2026-09-29 15:25:02,861 - DEBUG - Response for create_network : {'network': {'id': 'dbf27c0e-0e40-4d80-be7d-344f0e359531', 'name': 'ctest-vn-41397659', 'tenant_id': '0fa143d54d3b41819dae97478e1d59db', 'project_id': '0fa143d54d3b41819dae97478e1d59db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89437715', 'ctest-vn-41397659'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 15:25:03,098 - DEBUG - Response for create_subnet : {'subnet': {'id': '58e1eea0-fe2c-4ad8-a604-3e02d1ee5f69', 'name': '', 'tenant_id': '0fa143d54d3b41819dae97478e1d59db', 'network_id': 'dbf27c0e-0e40-4d80-be7d-344f0e359531', 'ip_version': 4, 'cidr': '47.214.42.0/26', 'allocation_pools': [{'start': '47.214.42.2', 'end': '47.214.42.62'}], 'gateway_ip': '47.214.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.214.42.2', 'tags': [], 'project_id': '0fa143d54d3b41819dae97478e1d59db'}} 2026-09-29 15:25:03,117 - INFO - Created VN ctest-vn-41397659 2026-09-29 15:25:03,174 - DEBUG - VN ctest-vn-41397659 UUID is dbf27c0e-0e40-4d80-be7d-344f0e359531 2026-09-29 15:25:03,290 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-75142354, 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-89437715:ctest-vn-41397659, 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-09-29 15:25:03,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f673a17-822d-4635-bba3-4c70560e6658', 'name': 'ctest-vn-75142354', 'tenant_id': '0fa143d54d3b41819dae97478e1d59db', 'project_id': '0fa143d54d3b41819dae97478e1d59db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['02595f78-bb88-47b7-98d8-217739736b3d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89437715', 'ctest-vn-75142354'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89437715', 'ctest-policy-allow-all-64930931']], 'subnet_ipam': [{'subnet_cidr': '201.169.65.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-29 15:25:03,897 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dbf27c0e-0e40-4d80-be7d-344f0e359531', 'name': 'ctest-vn-41397659', 'tenant_id': '0fa143d54d3b41819dae97478e1d59db', 'project_id': '0fa143d54d3b41819dae97478e1d59db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['58e1eea0-fe2c-4ad8-a604-3e02d1ee5f69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89437715', 'ctest-vn-41397659'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89437715', 'ctest-policy-allow-all-64930931']], 'subnet_ipam': [{'subnet_cidr': '47.214.42.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-29 15:25:04,070 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 15:25:04,442 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 15:25:04,474 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d6812ad-3d63-4717-b4c3-2139d5df56ed 2026-09-29 15:25:04,488 - DEBUG - Requesting: http://10.0.0.38:8082/project/0fa143d5-4d3b-4181-9dae-97478e1d59db 2026-09-29 15:25:04,573 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f673a17-822d-4635-bba3-4c70560e6658 2026-09-29 15:25:04,586 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f673a17-822d-4635-bba3-4c70560e6658 2026-09-29 15:25:04,597 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ee7398e-ef9b-488c-b7d4-1fccbdc1b6a7 2026-09-29 15:25:04,606 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ee7398e-ef9b-488c-b7d4-1fccbdc1b6a7 2026-09-29 15:25:04,614 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/df3697f5-4a84-4e74-bcea-ac8741e37374 2026-09-29 15:25:04,622 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-29 15:25:04,622 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f673a17-822d-4635-bba3-4c70560e6658 2026-09-29 15:25:04,632 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ee7398e-ef9b-488c-b7d4-1fccbdc1b6a7 2026-09-29 15:25:04,648 - INFO - Verified VN network id 12 for VN 2f673a17-822d-4635-bba3-4c70560e6658 2026-09-29 15:25:04,648 - INFO - Verifications in API Server for VN ctest-vn-75142354 passed 2026-09-29 15:25:04,648 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f673a17-822d-4635-bba3-4c70560e6658 2026-09-29 15:25:04,658 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ee7398e-ef9b-488c-b7d4-1fccbdc1b6a7 2026-09-29 15:25:04,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ee7398e-ef9b-488c-b7d4-1fccbdc1b6a7 2026-09-29 15:25:04,676 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/df3697f5-4a84-4e74-bcea-ac8741e37374 2026-09-29 15:25:04,690 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-75142354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89437715', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3415762715026474549', 'uuid-lslong': '13520734551660193368'}, 'enable': 'true', 'created': '2026-09-29T15:25:02', 'last-modified': '2026-09-29T15:25:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.103758'} 2026-09-29 15:25:04,699 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-29 15:25:04,699 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75142354 passed 2026-09-29 15:25:04,699 - DEBUG - ====Verifying policy data for ctest-vn-75142354 in API_Server ====== 2026-09-29 15:25:04,699 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 15:25:04,706 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d6812ad-3d63-4717-b4c3-2139d5df56ed 2026-09-29 15:25:04,720 - DEBUG - Requesting: http://10.0.0.38:8082/project/0fa143d5-4d3b-4181-9dae-97478e1d59db 2026-09-29 15:25:04,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f673a17-822d-4635-bba3-4c70560e6658 2026-09-29 15:25:04,819 - DEBUG - ==>Verifying data for policy with id: 2a917952-b3f2-4323-aada-88ec8c49a223, fqn: ['default-domain', 'ctest-TestBasicPolicy-89437715', 'ctest-policy-allow-all-64930931'] 2026-09-29 15:25:04,819 - INFO - VN ctest-vn-75142354 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-29 15:25:04,819 - DEBUG - Verifying the vn in opserver 2026-09-29 15:25:04,819 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-75142354 virtual network link through opserver 10.0.0.38 2026-09-29 15:25:04,819 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-29 15:25:05,194 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-29 15:25:05,257 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-75142354', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-75142354?flat'} 2026-09-29 15:25:05,257 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-75142354 is found in opserver 2026-09-29 15:25:05,271 - DEBUG - Do not have enough data to verify VN in agent 2026-09-29 15:25:05,277 - DEBUG - VRF ids for VN ctest-vn-75142354: {} 2026-09-29 15:25:05,278 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 15:25:05,284 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d6812ad-3d63-4717-b4c3-2139d5df56ed 2026-09-29 15:25:05,299 - DEBUG - Requesting: http://10.0.0.38:8082/project/0fa143d5-4d3b-4181-9dae-97478e1d59db 2026-09-29 15:25:05,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbf27c0e-0e40-4d80-be7d-344f0e359531 2026-09-29 15:25:05,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbf27c0e-0e40-4d80-be7d-344f0e359531 2026-09-29 15:25:05,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a31eccc5-5c70-45ad-8b9c-4bab5f65fc43 2026-09-29 15:25:05,412 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a31eccc5-5c70-45ad-8b9c-4bab5f65fc43 2026-09-29 15:25:05,420 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/60de8709-bb48-4192-95b9-cf1b823f9510 2026-09-29 15:25:05,429 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-29 15:25:05,429 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbf27c0e-0e40-4d80-be7d-344f0e359531 2026-09-29 15:25:05,439 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a31eccc5-5c70-45ad-8b9c-4bab5f65fc43 2026-09-29 15:25:05,456 - INFO - Verified VN network id 13 for VN dbf27c0e-0e40-4d80-be7d-344f0e359531 2026-09-29 15:25:05,456 - INFO - Verifications in API Server for VN ctest-vn-41397659 passed 2026-09-29 15:25:05,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbf27c0e-0e40-4d80-be7d-344f0e359531 2026-09-29 15:25:05,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a31eccc5-5c70-45ad-8b9c-4bab5f65fc43 2026-09-29 15:25:05,477 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a31eccc5-5c70-45ad-8b9c-4bab5f65fc43 2026-09-29 15:25:05,486 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/60de8709-bb48-4192-95b9-cf1b823f9510 2026-09-29 15:25:05,499 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-41397659', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89437715', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15848866438480678272', 'uuid-lslong': '13726184753440593201'}, 'enable': 'true', 'created': '2026-09-29T15:25:02', 'last-modified': '2026-09-29T15:25:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.637279'} 2026-09-29 15:25:05,506 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-29 15:25:05,507 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41397659 passed 2026-09-29 15:25:05,507 - DEBUG - ====Verifying policy data for ctest-vn-41397659 in API_Server ====== 2026-09-29 15:25:05,507 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 15:25:05,513 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d6812ad-3d63-4717-b4c3-2139d5df56ed 2026-09-29 15:25:05,528 - DEBUG - Requesting: http://10.0.0.38:8082/project/0fa143d5-4d3b-4181-9dae-97478e1d59db 2026-09-29 15:25:05,616 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbf27c0e-0e40-4d80-be7d-344f0e359531 2026-09-29 15:25:05,629 - DEBUG - ==>Verifying data for policy with id: 2a917952-b3f2-4323-aada-88ec8c49a223, fqn: ['default-domain', 'ctest-TestBasicPolicy-89437715', 'ctest-policy-allow-all-64930931'] 2026-09-29 15:25:05,629 - INFO - VN ctest-vn-41397659 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-29 15:25:05,629 - DEBUG - Verifying the vn in opserver 2026-09-29 15:25:05,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-41397659 virtual network link through opserver 10.0.0.38 2026-09-29 15:25:05,629 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-29 15:25:05,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-41397659', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-41397659?flat'} 2026-09-29 15:25:05,641 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89437715:ctest-vn-41397659 is found in opserver 2026-09-29 15:25:05,655 - DEBUG - Do not have enough data to verify VN in agent 2026-09-29 15:25:05,660 - DEBUG - VRF ids for VN ctest-vn-41397659: {} 2026-09-29 15:25:05,748 - DEBUG - Services list from nova: [, , ] 2026-09-29 15:25:06,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6327-1) 2026-09-29 15:25:06,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6327-1) 2026-09-29 15:25:06,557 - INFO - Waiting for VM ctest-TestBasicPolicy-89437715-61919136 to be up.. 2026-09-29 15:25:06,600 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:11,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:16,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:21,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:26,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:32,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:37,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:42,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:47,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:25:52,463 - DEBUG - VM is in ACTIVE state now 2026-09-29 15:25:52,463 - INFO - VM name : ctest-TestBasicPolicy-89437715-61919136 2026-09-29 15:25:52,567 - DEBUG - VM ctest-TestBasicPolicy-89437715-61919136 ID is 57c3bc94-f645-40e5-9f62-3c95a8113be7 2026-09-29 15:25:52,600 - DEBUG - VM ctest-TestBasicPolicy-89437715-61919136 launched on Node cn-jenkins-deploy-platform-ansible-os-6327-1 2026-09-29 15:25:52,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/57c3bc94-f645-40e5-9f62-3c95a8113be7 2026-09-29 15:25:52,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/74a17fbe-eb05-4930-a836-46318163394c 2026-09-29 15:25:56,009 - 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=3.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 3.689/3.689/3.689/0.000 ms') 2026-09-29 15:25:56,010 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89437715-61919136 passed 2026-09-29 15:25:56,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 15:25:56,166 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89437715-61919136, IP 201.169.65.67, Port 22 2026-09-29 15:25:56,332 - DEBUG - VM ctest-TestBasicPolicy-89437715-61919136 is ready for SSH connections 2026-09-29 15:25:56,332 - INFO - Waiting for VM ctest-TestBasicPolicy-89437715-53379842 to be up.. 2026-09-29 15:25:56,423 - DEBUG - VM is in ACTIVE state now 2026-09-29 15:25:56,423 - INFO - VM name : ctest-TestBasicPolicy-89437715-53379842 2026-09-29 15:25:56,519 - DEBUG - VM ctest-TestBasicPolicy-89437715-53379842 ID is 121adf87-2ee5-41a9-b28e-ef035bc4bfdb 2026-09-29 15:25:56,519 - DEBUG - VM ctest-TestBasicPolicy-89437715-53379842 launched on Node cn-jenkins-deploy-platform-ansible-os-6327-1 2026-09-29 15:25:56,616 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/121adf87-2ee5-41a9-b28e-ef035bc4bfdb 2026-09-29 15:25:56,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/10ab00c2-3334-4a47-8126-bb13519c43d4 2026-09-29 15:25:57,877 - 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=5.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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.472/2.785/5.099/2.313 ms') 2026-09-29 15:25:57,877 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89437715-53379842 passed 2026-09-29 15:25:58,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 15:25:58,030 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89437715-53379842, IP 47.214.42.3, Port 22 2026-09-29 15:25:58,203 - DEBUG - VM ctest-TestBasicPolicy-89437715-53379842 is ready for SSH connections 2026-09-29 15:25:58,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 15:25:58,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.214.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-29 15:25:58,204 - DEBUG - ping -s 56 -c 3 -W 1 47.214.42.3 2026-09-29 15:26:02,262 - DEBUG - PING 47.214.42.3 (47.214.42.3): 56 data bytes 64 bytes from 47.214.42.3: seq=0 ttl=63 time=4.785 ms 64 bytes from 47.214.42.3: seq=1 ttl=63 time=0.863 ms 64 bytes from 47.214.42.3: seq=2 ttl=63 time=0.964 ms --- 47.214.42.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/2.204/4.785 ms 2026-09-29 15:26:02,263 - INFO - Ping to IP 47.214.42.3 from VM ctest-TestBasicPolicy-89437715-61919136 passed 2026-09-29 15:26:02,445 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2a917952-b3f2-4323-aada-88ec8c49a223", "href": "http://10.0.0.38:8082/network-policy/2a917952-b3f2-4323-aada-88ec8c49a223"}} 2026-09-29 15:26:02,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 15:26:02,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.214.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-29 15:26:02,446 - DEBUG - ping -s 56 -c 3 -W 1 47.214.42.3 2026-09-29 15:26:05,592 - DEBUG - PING 47.214.42.3 (47.214.42.3): 56 data bytes 64 bytes from 47.214.42.3: seq=0 ttl=63 time=1.622 ms --- 47.214.42.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.622/1.622/1.622 ms 2026-09-29 15:26:05,592 - WARNING - Ping to IP 47.214.42.3 from VM ctest-TestBasicPolicy-89437715-61919136 failed 2026-09-29 15:26:05,592 - INFO - Deleting VM ctest-TestBasicPolicy-89437715-53379842 2026-09-29 15:26:05,685 - INFO - Deleting VM ctest-TestBasicPolicy-89437715-61919136 2026-09-29 15:26:06,105 - INFO - Deleted policy ctest-policy-allow-all-64930931 2026-09-29 15:26:06,105 - INFO - Deleting VN ctest-vn-41397659 2026-09-29 15:26:06,142 - DEBUG - VN dbf27c0e-0e40-4d80-be7d-344f0e359531 still in use: Unable to complete operation on network dbf27c0e-0e40-4d80-be7d-344f0e359531. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8b1e1814-a67f-44bc-8980-f3b29f75c60d'] 2026-09-29 15:26:06,142 - WARNING - Deleting VN ctest-vn-41397659 failed..Will retry 2026-09-29 15:26:08,264 - DEBUG - Response for deleting network () 2026-09-29 15:26:08,264 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a31eccc5-5c70-45ad-8b9c-4bab5f65fc43 2026-09-29 15:26:08,278 - DEBUG - Response Code: 404 2026-09-29 15:26:08,278 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 15:26:08,285 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d6812ad-3d63-4717-b4c3-2139d5df56ed 2026-09-29 15:26:08,341 - DEBUG - Requesting: http://10.0.0.38:8082/project/0fa143d5-4d3b-4181-9dae-97478e1d59db 2026-09-29 15:26:08,427 - INFO - Validated that VN ctest-vn-41397659 is not found in API Server 2026-09-29 15:26:08,442 - DEBUG - VN ctest-vn-41397659 is not present in Agent 10.0.0.38 2026-09-29 15:26:08,442 - INFO - Validated that VN ctest-vn-41397659 is not in any agent 2026-09-29 15:26:08,464 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41397659 info 2026-09-29 15:26:08,464 - INFO - Deleting VN ctest-vn-75142354 2026-09-29 15:26:08,619 - DEBUG - Response for deleting network () 2026-09-29 15:26:08,619 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ee7398e-ef9b-488c-b7d4-1fccbdc1b6a7 2026-09-29 15:26:08,629 - DEBUG - Response Code: 404 2026-09-29 15:26:08,629 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 15:26:08,637 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d6812ad-3d63-4717-b4c3-2139d5df56ed 2026-09-29 15:26:08,691 - DEBUG - Requesting: http://10.0.0.38:8082/project/0fa143d5-4d3b-4181-9dae-97478e1d59db 2026-09-29 15:26:08,779 - INFO - Validated that VN ctest-vn-75142354 is not found in API Server 2026-09-29 15:26:08,790 - DEBUG - VN ctest-vn-75142354 is not present in Agent 10.0.0.38 2026-09-29 15:26:08,790 - INFO - Validated that VN ctest-vn-75142354 is not in any agent 2026-09-29 15:26:08,809 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75142354 info 2026-09-29 15:26:09,080 - DEBUG - No XMPP flaps were noticed during the test 2026-09-29 15:26:09,080 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08] 2026-09-29 15:26:09,080 - INFO - -------------------------------------------------------------------------------- 2026-09-29 15:26:09,883 - INFO - Deleted project: ctest-TestBasicPolicy-89437715, ID : 0fa143d5-4d3b-4181-9dae-97478e1d59db