2026-02-16 16:23:03,617 - INFO - Domain Default found not creating 2026-02-16 16:23:03,784 - INFO - Project ctest-TestBasicPolicy-61016796 not found, creating it 2026-02-16 16:23:04,281 - INFO - Created Project:ctest-TestBasicPolicy-61016796, ID : 8f4c6211-0550-430e-ae9e-751828d38c13 2026-02-16 16:23:05,741 - INFO - ================================================================================ 2026-02-16 16:23:05,741 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-16 16:23:05,741 - 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-16 16:23:05,996 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-16 16:23:05,996 - INFO - Initial checks done. Running the testcase now 2026-02-16 16:23:05,996 - INFO - 2026-02-16 16:23:06,538 - DEBUG - Response for create_network : {'network': {'id': 'f4140f03-bb11-4786-a608-788c4c8834bc', 'name': 'ctest-vn-56638475', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'project_id': '8f4c62110550430eae9e751828d38c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-vn-56638475'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 16:23:06,707 - DEBUG - Response for create_subnet : {'subnet': {'id': '18c82bd4-8435-463d-a1b6-61bd4c3130fe', 'name': '', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'network_id': 'f4140f03-bb11-4786-a608-788c4c8834bc', 'ip_version': 4, 'cidr': '159.234.235.128/26', 'allocation_pools': [{'start': '159.234.235.130', 'end': '159.234.235.190'}], 'gateway_ip': '159.234.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.234.235.130', 'tags': [], 'project_id': '8f4c62110550430eae9e751828d38c13'}} 2026-02-16 16:23:06,724 - INFO - Created VN ctest-vn-56638475 2026-02-16 16:23:06,775 - DEBUG - VN ctest-vn-56638475 UUID is f4140f03-bb11-4786-a608-788c4c8834bc 2026-02-16 16:23:07,087 - DEBUG - Response for create_network : {'network': {'id': 'a50c4e2d-8a4a-4a27-b910-383b686bd228', 'name': 'ctest-vn-90574270', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'project_id': '8f4c62110550430eae9e751828d38c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-vn-90574270'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 16:23:07,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d808903-36e4-47ca-ad80-5ed1bf7bf354', 'name': '', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'network_id': 'a50c4e2d-8a4a-4a27-b910-383b686bd228', 'ip_version': 4, 'cidr': '5.165.53.0/26', 'allocation_pools': [{'start': '5.165.53.2', 'end': '5.165.53.62'}], 'gateway_ip': '5.165.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.165.53.2', 'tags': [], 'project_id': '8f4c62110550430eae9e751828d38c13'}} 2026-02-16 16:23:07,323 - INFO - Created VN ctest-vn-90574270 2026-02-16 16:23:07,374 - DEBUG - VN ctest-vn-90574270 UUID is a50c4e2d-8a4a-4a27-b910-383b686bd228 2026-02-16 16:23:07,522 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475, 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-61016796:ctest-vn-90574270, 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-16 16:23:07,803 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4140f03-bb11-4786-a608-788c4c8834bc', 'name': 'ctest-vn-56638475', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'project_id': '8f4c62110550430eae9e751828d38c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18c82bd4-8435-463d-a1b6-61bd4c3130fe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-vn-56638475'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-policy-allow-all-40551927']], 'subnet_ipam': [{'subnet_cidr': '159.234.235.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 16:23:08,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a50c4e2d-8a4a-4a27-b910-383b686bd228', 'name': 'ctest-vn-90574270', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'project_id': '8f4c62110550430eae9e751828d38c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d808903-36e4-47ca-ad80-5ed1bf7bf354'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-vn-90574270'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-policy-allow-all-40551927']], 'subnet_ipam': [{'subnet_cidr': '5.165.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 16:23:08,202 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 16:23:08,504 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 16:23:08,532 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab 2026-02-16 16:23:08,544 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13 2026-02-16 16:23:08,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc 2026-02-16 16:23:08,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc 2026-02-16 16:23:08,633 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3 2026-02-16 16:23:08,640 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3 2026-02-16 16:23:08,646 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/07324037-3663-4b51-93c0-42476521d6dc 2026-02-16 16:23:08,652 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 16:23:08,652 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc 2026-02-16 16:23:08,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3 2026-02-16 16:23:08,674 - INFO - Verified VN network id 11 for VN f4140f03-bb11-4786-a608-788c4c8834bc 2026-02-16 16:23:08,674 - INFO - Verifications in API Server for VN ctest-vn-56638475 passed 2026-02-16 16:23:08,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc 2026-02-16 16:23:08,683 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3 2026-02-16 16:23:08,689 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3 2026-02-16 16:23:08,696 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/07324037-3663-4b51-93c0-42476521d6dc 2026-02-16 16:23:08,707 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61016796', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17587698953486419846', 'uuid-lslong': '11963944954084471996'}, 'enable': 'true', 'created': '2026-02-16T16:23:06', 'last-modified': '2026-02-16T16:23:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926895'} 2026-02-16 16:23:08,714 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 16:23:08,714 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56638475 passed 2026-02-16 16:23:08,714 - DEBUG - ====Verifying policy data for ctest-vn-56638475 in API_Server ====== 2026-02-16 16:23:08,714 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 16:23:08,720 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab 2026-02-16 16:23:08,732 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13 2026-02-16 16:23:08,805 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc 2026-02-16 16:23:08,814 - DEBUG - ==>Verifying data for policy with id: c801802b-b45d-4cf7-bc14-f0e993e6ead9, fqn: ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-policy-allow-all-40551927'] 2026-02-16 16:23:08,814 - INFO - VN ctest-vn-56638475 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 16:23:08,815 - DEBUG - Verifying the vn in opserver 2026-02-16 16:23:08,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475 virtual network link through opserver 10.0.0.38 2026-02-16 16:23:08,815 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-16 16:23:09,105 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-16 16:23:09,171 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475?flat'} 2026-02-16 16:23:09,171 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475 is found in opserver 2026-02-16 16:23:09,183 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 16:23:09,188 - DEBUG - VRF ids for VN ctest-vn-56638475: {} 2026-02-16 16:23:09,188 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 16:23:09,195 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab 2026-02-16 16:23:09,207 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13 2026-02-16 16:23:09,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228 2026-02-16 16:23:09,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228 2026-02-16 16:23:09,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5 2026-02-16 16:23:09,307 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5 2026-02-16 16:23:09,313 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/95e17bec-8f5d-4d28-9037-dc40ce5114cf 2026-02-16 16:23:09,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 16:23:09,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228 2026-02-16 16:23:09,330 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5 2026-02-16 16:23:09,346 - INFO - Verified VN network id 12 for VN a50c4e2d-8a4a-4a27-b910-383b686bd228 2026-02-16 16:23:09,346 - INFO - Verifications in API Server for VN ctest-vn-90574270 passed 2026-02-16 16:23:09,346 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228 2026-02-16 16:23:09,357 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5 2026-02-16 16:23:09,365 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5 2026-02-16 16:23:09,372 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/95e17bec-8f5d-4d28-9037-dc40ce5114cf 2026-02-16 16:23:09,386 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61016796', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11892966673479256615', 'uuid-lslong': '13335220324450161192'}, 'enable': 'true', 'created': '2026-02-16T16:23:07', 'last-modified': '2026-02-16T16:23:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391115'} 2026-02-16 16:23:09,393 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 16:23:09,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90574270 passed 2026-02-16 16:23:09,393 - DEBUG - ====Verifying policy data for ctest-vn-90574270 in API_Server ====== 2026-02-16 16:23:09,393 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 16:23:09,401 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab 2026-02-16 16:23:09,414 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13 2026-02-16 16:23:09,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228 2026-02-16 16:23:09,500 - DEBUG - ==>Verifying data for policy with id: c801802b-b45d-4cf7-bc14-f0e993e6ead9, fqn: ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-policy-allow-all-40551927'] 2026-02-16 16:23:09,500 - INFO - VN ctest-vn-90574270 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 16:23:09,500 - DEBUG - Verifying the vn in opserver 2026-02-16 16:23:09,500 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270 virtual network link through opserver 10.0.0.38 2026-02-16 16:23:09,500 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-16 16:23:09,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270?flat'} 2026-02-16 16:23:09,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270 is found in opserver 2026-02-16 16:23:09,526 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 16:23:09,531 - DEBUG - VRF ids for VN ctest-vn-90574270: {} 2026-02-16 16:23:09,600 - DEBUG - Services list from nova: [, , ] 2026-02-16 16:23:10,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5337-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5337-30) 2026-02-16 16:23:11,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5337-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5337-30) 2026-02-16 16:23:11,794 - INFO - Waiting for VM ctest-TestBasicPolicy-61016796-18542436 to be up.. 2026-02-16 16:23:11,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-16 16:23:16,955 - DEBUG - VM is in ACTIVE state now 2026-02-16 16:23:16,955 - INFO - VM name : ctest-TestBasicPolicy-61016796-18542436 2026-02-16 16:23:17,029 - DEBUG - VM ctest-TestBasicPolicy-61016796-18542436 ID is 49129461-e535-4205-9a84-64065fcc1f34 2026-02-16 16:23:17,048 - DEBUG - VM ctest-TestBasicPolicy-61016796-18542436 launched on Node cn-jenkins-deploy-platform-ansible-os-5337-30 2026-02-16 16:23:17,130 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/49129461-e535-4205-9a84-64065fcc1f34 2026-02-16 16:23:17,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/389d57de-fb77-42c2-baeb-3926ae08b1e5 2026-02-16 16:23:20,371 - 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 1007ms') 2026-02-16 16:23:20,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61016796-18542436 failed! 2026-02-16 16:23:20,426 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475 is 159.234.235.129 and allocation pool is NOT set 2026-02-16 16:23:22,485 - 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=7.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.506/3.831/7.157/3.325 ms') 2026-02-16 16:23:22,485 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61016796-18542436 passed 2026-02-16 16:23:22,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:23:22,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61016796-18542436, IP 159.234.235.131, Port 22 2026-02-16 16:23:22,790 - DEBUG - VM ctest-TestBasicPolicy-61016796-18542436 is ready for SSH connections 2026-02-16 16:23:22,790 - INFO - Waiting for VM ctest-TestBasicPolicy-61016796-90825451 to be up.. 2026-02-16 16:23:22,867 - DEBUG - VM is in ACTIVE state now 2026-02-16 16:23:22,867 - INFO - VM name : ctest-TestBasicPolicy-61016796-90825451 2026-02-16 16:23:22,937 - DEBUG - VM ctest-TestBasicPolicy-61016796-90825451 ID is 278718c3-49d1-489b-a81f-99f3af873180 2026-02-16 16:23:22,937 - DEBUG - VM ctest-TestBasicPolicy-61016796-90825451 launched on Node cn-jenkins-deploy-platform-ansible-os-5337-30 2026-02-16 16:23:23,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/278718c3-49d1-489b-a81f-99f3af873180 2026-02-16 16:23:23,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a9cf0328-32bd-41ed-ac31-b5b9e38579e4 2026-02-16 16:23:24,253 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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 = 0.400/2.080/3.760/1.680 ms') 2026-02-16 16:23:24,253 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61016796-90825451 passed 2026-02-16 16:23:24,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:23:24,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61016796-90825451, IP 5.165.53.3, Port 22 2026-02-16 16:23:24,562 - DEBUG - VM ctest-TestBasicPolicy-61016796-90825451 is ready for SSH connections 2026-02-16 16:23:24,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:23:24,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.165.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-16 16:23:24,562 - DEBUG - ping -s 56 -c 3 -W 1 5.165.53.3 2026-02-16 16:23:28,570 - DEBUG - PING 5.165.53.3 (5.165.53.3): 56 data bytes 64 bytes from 5.165.53.3: seq=0 ttl=63 time=3.172 ms 64 bytes from 5.165.53.3: seq=1 ttl=63 time=0.839 ms 64 bytes from 5.165.53.3: seq=2 ttl=63 time=0.821 ms --- 5.165.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/1.610/3.172 ms 2026-02-16 16:23:28,570 - INFO - Ping to IP 5.165.53.3 from VM ctest-TestBasicPolicy-61016796-18542436 passed 2026-02-16 16:23:28,746 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c801802b-b45d-4cf7-bc14-f0e993e6ead9", "href": "http://10.0.0.38:8082/network-policy/c801802b-b45d-4cf7-bc14-f0e993e6ead9"}} 2026-02-16 16:23:28,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:23:28,746 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.165.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-16 16:23:28,747 - DEBUG - ping -s 56 -c 3 -W 1 5.165.53.3 2026-02-16 16:23:31,987 - DEBUG - PING 5.165.53.3 (5.165.53.3): 56 data bytes --- 5.165.53.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-16 16:23:31,987 - WARNING - Ping to IP 5.165.53.3 from VM ctest-TestBasicPolicy-61016796-18542436 failed 2026-02-16 16:23:31,987 - INFO - Deleting VM ctest-TestBasicPolicy-61016796-90825451 2026-02-16 16:23:32,053 - INFO - Deleting VM ctest-TestBasicPolicy-61016796-18542436 2026-02-16 16:23:32,424 - INFO - Deleted policy ctest-policy-allow-all-40551927 2026-02-16 16:23:32,424 - INFO - Deleting VN ctest-vn-90574270 2026-02-16 16:23:32,458 - DEBUG - VN a50c4e2d-8a4a-4a27-b910-383b686bd228 still in use: Unable to complete operation on network a50c4e2d-8a4a-4a27-b910-383b686bd228. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17fd68f9-d60d-4222-beae-c1fc5173d729'] 2026-02-16 16:23:32,458 - WARNING - Deleting VN ctest-vn-90574270 failed..Will retry 2026-02-16 16:23:34,553 - DEBUG - Response for deleting network () 2026-02-16 16:23:34,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5 2026-02-16 16:23:34,559 - DEBUG - Response Code: 404 2026-02-16 16:23:34,559 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 16:23:34,566 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab 2026-02-16 16:23:34,624 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13 2026-02-16 16:23:34,693 - INFO - Validated that VN ctest-vn-90574270 is not found in API Server 2026-02-16 16:23:34,702 - DEBUG - VN ctest-vn-90574270 is not present in Agent 10.0.0.38 2026-02-16 16:23:34,703 - INFO - Validated that VN ctest-vn-90574270 is not in any agent 2026-02-16 16:23:34,716 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90574270 info 2026-02-16 16:23:34,716 - INFO - Deleting VN ctest-vn-56638475 2026-02-16 16:23:34,813 - DEBUG - Response for deleting network () 2026-02-16 16:23:34,813 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3 2026-02-16 16:23:34,819 - DEBUG - Response Code: 404 2026-02-16 16:23:34,819 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 16:23:34,824 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab 2026-02-16 16:23:34,879 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13 2026-02-16 16:23:34,947 - INFO - Validated that VN ctest-vn-56638475 is not found in API Server 2026-02-16 16:23:34,956 - DEBUG - VN ctest-vn-56638475 is not present in Agent 10.0.0.38 2026-02-16 16:23:34,956 - INFO - Validated that VN ctest-vn-56638475 is not in any agent 2026-02-16 16:23:34,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56638475 info 2026-02-16 16:23:35,223 - DEBUG - No XMPP flaps were noticed during the test
2026-02-16 16:23:35,223 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-16 16:23:35,223 - INFO - -------------------------------------------------------------------------------- 2026-02-16 16:23:35,920 - INFO - Deleted project: ctest-TestBasicPolicy-61016796, ID : 8f4c6211-0550-430e-ae9e-751828d38c13