2026-03-24 15:35:55,426 - INFO - Domain Default found not creating 2026-03-24 15:35:55,637 - INFO - Project ctest-TestBasicPolicy-76378946 not found, creating it 2026-03-24 15:35:56,141 - INFO - Created Project:ctest-TestBasicPolicy-76378946, ID : 65065277-79ee-46d3-9499-48cf19206627 2026-03-24 15:35:57,730 - INFO - ================================================================================ 2026-03-24 15:35:57,730 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-24 15:35:57,730 - 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-03-24 15:35:57,993 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-24 15:35:57,993 - INFO - Initial checks done. Running the testcase now 2026-03-24 15:35:57,993 - INFO - 2026-03-24 15:35:59,125 - DEBUG - Response for create_network : {'network': {'id': '84724681-10e1-41f5-89c9-0283fe449b34', 'name': 'ctest-vn-45385071', 'tenant_id': '6506527779ee46d3949948cf19206627', 'project_id': '6506527779ee46d3949948cf19206627', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76378946', 'ctest-vn-45385071'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 15:35:59,329 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b39f5304-d1a2-4564-b412-b513e745bf5b', 'name': '', 'tenant_id': '6506527779ee46d3949948cf19206627', 'network_id': '84724681-10e1-41f5-89c9-0283fe449b34', 'ip_version': 4, 'cidr': '119.79.2.128/26', 'allocation_pools': [{'start': '119.79.2.130', 'end': '119.79.2.190'}], 'gateway_ip': '119.79.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.79.2.130', 'tags': [], 'project_id': '6506527779ee46d3949948cf19206627'}} 2026-03-24 15:35:59,350 - INFO - Created VN ctest-vn-45385071 2026-03-24 15:35:59,403 - DEBUG - VN ctest-vn-45385071 UUID is 84724681-10e1-41f5-89c9-0283fe449b34 2026-03-24 15:35:59,712 - DEBUG - Response for create_network : {'network': {'id': '26ec26e0-ff81-437c-98ab-b7d8e7edff66', 'name': 'ctest-vn-50709391', 'tenant_id': '6506527779ee46d3949948cf19206627', 'project_id': '6506527779ee46d3949948cf19206627', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76378946', 'ctest-vn-50709391'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 15:35:59,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c814732-cb2f-4465-9ca2-7aeefd35367c', 'name': '', 'tenant_id': '6506527779ee46d3949948cf19206627', 'network_id': '26ec26e0-ff81-437c-98ab-b7d8e7edff66', 'ip_version': 4, 'cidr': '120.235.131.0/26', 'allocation_pools': [{'start': '120.235.131.2', 'end': '120.235.131.62'}], 'gateway_ip': '120.235.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.235.131.2', 'tags': [], 'project_id': '6506527779ee46d3949948cf19206627'}} 2026-03-24 15:35:59,967 - INFO - Created VN ctest-vn-50709391 2026-03-24 15:36:00,023 - DEBUG - VN ctest-vn-50709391 UUID is 26ec26e0-ff81-437c-98ab-b7d8e7edff66 2026-03-24 15:36:00,142 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-45385071, 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-76378946:ctest-vn-50709391, 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-03-24 15:36:00,467 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '84724681-10e1-41f5-89c9-0283fe449b34', 'name': 'ctest-vn-45385071', 'tenant_id': '6506527779ee46d3949948cf19206627', 'project_id': '6506527779ee46d3949948cf19206627', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b39f5304-d1a2-4564-b412-b513e745bf5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76378946', 'ctest-vn-45385071'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76378946', 'ctest-policy-allow-all-05957209']], 'subnet_ipam': [{'subnet_cidr': '119.79.2.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 15:36:00,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26ec26e0-ff81-437c-98ab-b7d8e7edff66', 'name': 'ctest-vn-50709391', 'tenant_id': '6506527779ee46d3949948cf19206627', 'project_id': '6506527779ee46d3949948cf19206627', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c814732-cb2f-4465-9ca2-7aeefd35367c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76378946', 'ctest-vn-50709391'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76378946', 'ctest-policy-allow-all-05957209']], 'subnet_ipam': [{'subnet_cidr': '120.235.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 15:36:00,903 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 15:36:01,213 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 15:36:01,255 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4d11412f-45ef-4562-ab17-cb9dcfac57d1 2026-03-24 15:36:01,269 - DEBUG - Requesting: http://10.0.0.38:8082/project/65065277-79ee-46d3-9499-48cf19206627 2026-03-24 15:36:01,345 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84724681-10e1-41f5-89c9-0283fe449b34 2026-03-24 15:36:01,357 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84724681-10e1-41f5-89c9-0283fe449b34 2026-03-24 15:36:01,370 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b6099a5f-ab5e-4586-8de1-53ddbeb16e32 2026-03-24 15:36:01,378 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b6099a5f-ab5e-4586-8de1-53ddbeb16e32 2026-03-24 15:36:01,387 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47fcbe42-09a4-4d73-bc9a-9ff43b4ae75c 2026-03-24 15:36:01,398 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 15:36:01,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84724681-10e1-41f5-89c9-0283fe449b34 2026-03-24 15:36:01,408 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b6099a5f-ab5e-4586-8de1-53ddbeb16e32 2026-03-24 15:36:01,422 - INFO - Verified VN network id 12 for VN 84724681-10e1-41f5-89c9-0283fe449b34 2026-03-24 15:36:01,422 - INFO - Verifications in API Server for VN ctest-vn-45385071 passed 2026-03-24 15:36:01,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84724681-10e1-41f5-89c9-0283fe449b34 2026-03-24 15:36:01,432 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b6099a5f-ab5e-4586-8de1-53ddbeb16e32 2026-03-24 15:36:01,439 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b6099a5f-ab5e-4586-8de1-53ddbeb16e32 2026-03-24 15:36:01,450 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47fcbe42-09a4-4d73-bc9a-9ff43b4ae75c 2026-03-24 15:36:01,466 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-45385071', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76378946', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9543768080499425781', 'uuid-lslong': '9928469619444849460'}, 'enable': 'true', 'created': '2026-03-24T15:35:59', 'last-modified': '2026-03-24T15:36:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.024706'} 2026-03-24 15:36:01,472 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 15:36:01,472 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45385071 passed 2026-03-24 15:36:01,473 - DEBUG - ====Verifying policy data for ctest-vn-45385071 in API_Server ====== 2026-03-24 15:36:01,473 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 15:36:01,480 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4d11412f-45ef-4562-ab17-cb9dcfac57d1 2026-03-24 15:36:01,493 - DEBUG - Requesting: http://10.0.0.38:8082/project/65065277-79ee-46d3-9499-48cf19206627 2026-03-24 15:36:01,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84724681-10e1-41f5-89c9-0283fe449b34 2026-03-24 15:36:01,577 - DEBUG - ==>Verifying data for policy with id: 55e0b531-3632-4932-af2b-5356a29cc3b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-76378946', 'ctest-policy-allow-all-05957209'] 2026-03-24 15:36:01,577 - INFO - VN ctest-vn-45385071 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 15:36:01,577 - DEBUG - Verifying the vn in opserver 2026-03-24 15:36:01,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-45385071 virtual network link through opserver 10.0.0.38 2026-03-24 15:36:01,577 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-24 15:36:01,884 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-24 15:36:01,968 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-45385071', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-45385071?flat'} 2026-03-24 15:36:01,968 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-45385071 is found in opserver 2026-03-24 15:36:01,983 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 15:36:01,991 - DEBUG - VRF ids for VN ctest-vn-45385071: {} 2026-03-24 15:36:01,991 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 15:36:01,998 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4d11412f-45ef-4562-ab17-cb9dcfac57d1 2026-03-24 15:36:02,013 - DEBUG - Requesting: http://10.0.0.38:8082/project/65065277-79ee-46d3-9499-48cf19206627 2026-03-24 15:36:02,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26ec26e0-ff81-437c-98ab-b7d8e7edff66 2026-03-24 15:36:02,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26ec26e0-ff81-437c-98ab-b7d8e7edff66 2026-03-24 15:36:02,109 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4f3a843-1c56-436c-b4d5-b598f44567d4 2026-03-24 15:36:02,117 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4f3a843-1c56-436c-b4d5-b598f44567d4 2026-03-24 15:36:02,125 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/291e3f41-8bf8-4cb6-bcc0-692b010ffeb3 2026-03-24 15:36:02,133 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 15:36:02,133 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26ec26e0-ff81-437c-98ab-b7d8e7edff66 2026-03-24 15:36:02,144 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4f3a843-1c56-436c-b4d5-b598f44567d4 2026-03-24 15:36:02,163 - INFO - Verified VN network id 13 for VN 26ec26e0-ff81-437c-98ab-b7d8e7edff66 2026-03-24 15:36:02,163 - INFO - Verifications in API Server for VN ctest-vn-50709391 passed 2026-03-24 15:36:02,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26ec26e0-ff81-437c-98ab-b7d8e7edff66 2026-03-24 15:36:02,175 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4f3a843-1c56-436c-b4d5-b598f44567d4 2026-03-24 15:36:02,182 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4f3a843-1c56-436c-b4d5-b598f44567d4 2026-03-24 15:36:02,190 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/291e3f41-8bf8-4cb6-bcc0-692b010ffeb3 2026-03-24 15:36:02,201 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-50709391', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76378946', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2804659415746167676', 'uuid-lslong': '11001088657014521702'}, 'enable': 'true', 'created': '2026-03-24T15:35:59', 'last-modified': '2026-03-24T15:36:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.508247'} 2026-03-24 15:36:02,207 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 15:36:02,207 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50709391 passed 2026-03-24 15:36:02,208 - DEBUG - ====Verifying policy data for ctest-vn-50709391 in API_Server ====== 2026-03-24 15:36:02,208 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 15:36:02,214 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4d11412f-45ef-4562-ab17-cb9dcfac57d1 2026-03-24 15:36:02,226 - DEBUG - Requesting: http://10.0.0.38:8082/project/65065277-79ee-46d3-9499-48cf19206627 2026-03-24 15:36:02,297 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26ec26e0-ff81-437c-98ab-b7d8e7edff66 2026-03-24 15:36:02,306 - DEBUG - ==>Verifying data for policy with id: 55e0b531-3632-4932-af2b-5356a29cc3b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-76378946', 'ctest-policy-allow-all-05957209'] 2026-03-24 15:36:02,306 - INFO - VN ctest-vn-50709391 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 15:36:02,306 - DEBUG - Verifying the vn in opserver 2026-03-24 15:36:02,306 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-50709391 virtual network link through opserver 10.0.0.38 2026-03-24 15:36:02,306 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-24 15:36:02,317 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-50709391', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-50709391?flat'} 2026-03-24 15:36:02,317 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-50709391 is found in opserver 2026-03-24 15:36:02,327 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 15:36:02,332 - DEBUG - VRF ids for VN ctest-vn-50709391: {} 2026-03-24 15:36:02,406 - DEBUG - Services list from nova: [, , ] 2026-03-24 15:36:03,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5534-1) 2026-03-24 15:36:04,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5534-1) 2026-03-24 15:36:04,779 - INFO - Waiting for VM ctest-TestBasicPolicy-76378946-77549512 to be up.. 2026-03-24 15:36:04,876 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-24 15:36:09,960 - DEBUG - VM is in ACTIVE state now 2026-03-24 15:36:09,960 - INFO - VM name : ctest-TestBasicPolicy-76378946-77549512 2026-03-24 15:36:10,042 - DEBUG - VM ctest-TestBasicPolicy-76378946-77549512 ID is a856b995-189b-4910-937e-3de07651f192 2026-03-24 15:36:10,065 - DEBUG - VM ctest-TestBasicPolicy-76378946-77549512 launched on Node cn-jenkins-deploy-platform-ansible-os-5534-1 2026-03-24 15:36:10,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a856b995-189b-4910-937e-3de07651f192 2026-03-24 15:36:10,166 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/69f3fee1-3f86-40db-a8a6-8d15924f60e7 2026-03-24 15:36:13,434 - 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 1021ms') 2026-03-24 15:36:13,434 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76378946-77549512 failed! 2026-03-24 15:36:13,495 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76378946:ctest-vn-45385071 is 119.79.2.129 and allocation pool is NOT set 2026-03-24 15:36:15,557 - 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=20.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.43 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.431/11.564/20.697/9.133 ms') 2026-03-24 15:36:15,557 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76378946-77549512 passed 2026-03-24 15:36:15,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 15:36:15,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76378946-77549512, IP 119.79.2.131, Port 22 2026-03-24 15:36:15,889 - DEBUG - VM ctest-TestBasicPolicy-76378946-77549512 is ready for SSH connections 2026-03-24 15:36:15,889 - INFO - Waiting for VM ctest-TestBasicPolicy-76378946-52002851 to be up.. 2026-03-24 15:36:16,003 - DEBUG - VM is in ACTIVE state now 2026-03-24 15:36:16,003 - INFO - VM name : ctest-TestBasicPolicy-76378946-52002851 2026-03-24 15:36:16,099 - DEBUG - VM ctest-TestBasicPolicy-76378946-52002851 ID is 07eecb5f-25a3-478a-af0b-a0c0c64888db 2026-03-24 15:36:16,099 - DEBUG - VM ctest-TestBasicPolicy-76378946-52002851 launched on Node cn-jenkins-deploy-platform-ansible-os-5534-1 2026-03-24 15:36:16,201 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/07eecb5f-25a3-478a-af0b-a0c0c64888db 2026-03-24 15:36:16,210 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/70ee049d-f515-49c6-b8a4-6f63700dc145 2026-03-24 15:36:17,472 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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 = 1.343/2.594/3.845/1.251 ms') 2026-03-24 15:36:17,472 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76378946-52002851 passed 2026-03-24 15:36:17,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 15:36:17,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76378946-52002851, IP 120.235.131.3, Port 22 2026-03-24 15:36:17,798 - DEBUG - VM ctest-TestBasicPolicy-76378946-52002851 is ready for SSH connections 2026-03-24 15:36:17,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 15:36:17,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.235.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-24 15:36:17,798 - DEBUG - ping -s 56 -c 3 -W 1 120.235.131.3 2026-03-24 15:36:22,021 - DEBUG - PING 120.235.131.3 (120.235.131.3): 56 data bytes 64 bytes from 120.235.131.3: seq=0 ttl=63 time=3.938 ms 64 bytes from 120.235.131.3: seq=1 ttl=63 time=1.121 ms 64 bytes from 120.235.131.3: seq=2 ttl=63 time=1.143 ms --- 120.235.131.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.121/2.067/3.938 ms 2026-03-24 15:36:22,021 - INFO - Ping to IP 120.235.131.3 from VM ctest-TestBasicPolicy-76378946-77549512 passed 2026-03-24 15:36:22,199 - DEBUG - Policy Update Response {"network-policy": {"uuid": "55e0b531-3632-4932-af2b-5356a29cc3b7", "href": "http://10.0.0.38:8082/network-policy/55e0b531-3632-4932-af2b-5356a29cc3b7"}} 2026-03-24 15:36:22,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 15:36:22,199 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.235.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-24 15:36:22,199 - DEBUG - ping -s 56 -c 3 -W 1 120.235.131.3 2026-03-24 15:36:25,405 - DEBUG - PING 120.235.131.3 (120.235.131.3): 56 data bytes --- 120.235.131.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-24 15:36:25,405 - WARNING - Ping to IP 120.235.131.3 from VM ctest-TestBasicPolicy-76378946-77549512 failed 2026-03-24 15:36:25,405 - INFO - Deleting VM ctest-TestBasicPolicy-76378946-52002851 2026-03-24 15:36:25,488 - INFO - Deleting VM ctest-TestBasicPolicy-76378946-77549512 2026-03-24 15:36:25,907 - INFO - Deleted policy ctest-policy-allow-all-05957209 2026-03-24 15:36:25,907 - INFO - Deleting VN ctest-vn-50709391 2026-03-24 15:36:25,951 - DEBUG - VN 26ec26e0-ff81-437c-98ab-b7d8e7edff66 still in use: Unable to complete operation on network 26ec26e0-ff81-437c-98ab-b7d8e7edff66. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-812275ea-bbf0-4e00-b6f3-73a46d79e912'] 2026-03-24 15:36:25,951 - WARNING - Deleting VN ctest-vn-50709391 failed..Will retry 2026-03-24 15:36:28,070 - DEBUG - Response for deleting network () 2026-03-24 15:36:28,070 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4f3a843-1c56-436c-b4d5-b598f44567d4 2026-03-24 15:36:28,076 - DEBUG - Response Code: 404 2026-03-24 15:36:28,077 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 15:36:28,082 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4d11412f-45ef-4562-ab17-cb9dcfac57d1 2026-03-24 15:36:28,136 - DEBUG - Requesting: http://10.0.0.38:8082/project/65065277-79ee-46d3-9499-48cf19206627 2026-03-24 15:36:28,210 - INFO - Validated that VN ctest-vn-50709391 is not found in API Server 2026-03-24 15:36:28,222 - DEBUG - VN ctest-vn-50709391 is not present in Agent 10.0.0.38 2026-03-24 15:36:28,222 - INFO - Validated that VN ctest-vn-50709391 is not in any agent 2026-03-24 15:36:28,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50709391 info 2026-03-24 15:36:28,238 - INFO - Deleting VN ctest-vn-45385071 2026-03-24 15:36:28,365 - DEBUG - Response for deleting network () 2026-03-24 15:36:28,365 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b6099a5f-ab5e-4586-8de1-53ddbeb16e32 2026-03-24 15:36:28,372 - DEBUG - Response Code: 404 2026-03-24 15:36:28,372 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 15:36:28,380 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4d11412f-45ef-4562-ab17-cb9dcfac57d1 2026-03-24 15:36:28,433 - DEBUG - Requesting: http://10.0.0.38:8082/project/65065277-79ee-46d3-9499-48cf19206627 2026-03-24 15:36:28,508 - INFO - Validated that VN ctest-vn-45385071 is not found in API Server 2026-03-24 15:36:28,521 - DEBUG - VN ctest-vn-45385071 is not present in Agent 10.0.0.38 2026-03-24 15:36:28,522 - INFO - Validated that VN ctest-vn-45385071 is not in any agent 2026-03-24 15:36:28,538 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45385071 info 2026-03-24 15:36:28,809 - DEBUG - No XMPP flaps were noticed during the test 2026-03-24 15:36:28,809 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-03-24 15:36:28,809 - INFO - -------------------------------------------------------------------------------- 2026-03-24 15:36:29,526 - INFO - Deleted project: ctest-TestBasicPolicy-76378946, ID : 65065277-79ee-46d3-9499-48cf19206627