2026-11-02 14:22:19,787 - INFO - Domain Default found not creating 2026-11-02 14:22:20,033 - INFO - Project ctest-TestBasicPolicy-75392934 not found, creating it 2026-11-02 14:22:20,589 - INFO - Created Project:ctest-TestBasicPolicy-75392934, ID : dca4e45b-779c-42c3-8b97-473f90ecde4d 2026-11-02 14:22:22,557 - INFO - ================================================================================ 2026-11-02 14:22:22,557 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-02 14:22:22,557 - 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-11-02 14:22:22,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.29': '0'}} with 2026-11-02 14:22:22,835 - INFO - Initial checks done. Running the testcase now 2026-11-02 14:22:22,835 - INFO - 2026-11-02 14:22:23,566 - DEBUG - Response for create_network : {'network': {'id': '99ac02f3-c24e-430a-b8a9-d231ded43f00', 'name': 'ctest-vn-31758521', 'tenant_id': 'dca4e45b779c42c38b97473f90ecde4d', 'project_id': 'dca4e45b779c42c38b97473f90ecde4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75392934', 'ctest-vn-31758521'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:22:23,802 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6fc5e7c-7ebc-44e5-b684-92d12b8bf4cd', 'name': '', 'tenant_id': 'dca4e45b779c42c38b97473f90ecde4d', 'network_id': '99ac02f3-c24e-430a-b8a9-d231ded43f00', 'ip_version': 4, 'cidr': '174.249.37.192/26', 'allocation_pools': [{'start': '174.249.37.194', 'end': '174.249.37.254'}], 'gateway_ip': '174.249.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.249.37.194', 'tags': [], 'project_id': 'dca4e45b779c42c38b97473f90ecde4d'}} 2026-11-02 14:22:23,824 - INFO - Created VN ctest-vn-31758521 2026-11-02 14:22:23,881 - DEBUG - VN ctest-vn-31758521 UUID is 99ac02f3-c24e-430a-b8a9-d231ded43f00 2026-11-02 14:22:24,251 - DEBUG - Response for create_network : {'network': {'id': '83b4eaf6-a703-434f-b398-49510aff46d7', 'name': 'ctest-vn-68579186', 'tenant_id': 'dca4e45b779c42c38b97473f90ecde4d', 'project_id': 'dca4e45b779c42c38b97473f90ecde4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75392934', 'ctest-vn-68579186'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:22:24,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '53875473-db50-4909-8039-3f2b134079ad', 'name': '', 'tenant_id': 'dca4e45b779c42c38b97473f90ecde4d', 'network_id': '83b4eaf6-a703-434f-b398-49510aff46d7', 'ip_version': 4, 'cidr': '108.50.162.192/26', 'allocation_pools': [{'start': '108.50.162.194', 'end': '108.50.162.254'}], 'gateway_ip': '108.50.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.50.162.194', 'tags': [], 'project_id': 'dca4e45b779c42c38b97473f90ecde4d'}} 2026-11-02 14:22:24,483 - INFO - Created VN ctest-vn-68579186 2026-11-02 14:22:24,541 - DEBUG - VN ctest-vn-68579186 UUID is 83b4eaf6-a703-434f-b398-49510aff46d7 2026-11-02 14:22:24,669 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-31758521, 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-75392934:ctest-vn-68579186, 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-11-02 14:22:25,040 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99ac02f3-c24e-430a-b8a9-d231ded43f00', 'name': 'ctest-vn-31758521', 'tenant_id': 'dca4e45b779c42c38b97473f90ecde4d', 'project_id': 'dca4e45b779c42c38b97473f90ecde4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b6fc5e7c-7ebc-44e5-b684-92d12b8bf4cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75392934', 'ctest-vn-31758521'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75392934', 'ctest-policy-allow-all-51800878']], 'subnet_ipam': [{'subnet_cidr': '174.249.37.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:22:25,349 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83b4eaf6-a703-434f-b398-49510aff46d7', 'name': 'ctest-vn-68579186', 'tenant_id': 'dca4e45b779c42c38b97473f90ecde4d', 'project_id': 'dca4e45b779c42c38b97473f90ecde4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['53875473-db50-4909-8039-3f2b134079ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75392934', 'ctest-vn-68579186'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75392934', 'ctest-policy-allow-all-51800878']], 'subnet_ipam': [{'subnet_cidr': '108.50.162.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:22:25,561 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-11-02 14:22:25,991 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-11-02 14:22:26,033 - DEBUG - Requesting: http://10.0.0.188:8082/domain/632b849e-e68b-4161-83bc-e671973a3f99 2026-11-02 14:22:26,055 - DEBUG - Requesting: http://10.0.0.188:8082/project/dca4e45b-779c-42c3-8b97-473f90ecde4d 2026-11-02 14:22:26,150 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/99ac02f3-c24e-430a-b8a9-d231ded43f00 2026-11-02 14:22:26,168 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/99ac02f3-c24e-430a-b8a9-d231ded43f00 2026-11-02 14:22:26,182 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ce3ec063-3a62-4eef-b100-7e489fc0a9e9 2026-11-02 14:22:26,195 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ce3ec063-3a62-4eef-b100-7e489fc0a9e9 2026-11-02 14:22:26,207 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/e3b1c30c-f038-4c90-bd48-b6b840ed999f 2026-11-02 14:22:26,220 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 14:22:26,220 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/99ac02f3-c24e-430a-b8a9-d231ded43f00 2026-11-02 14:22:26,234 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ce3ec063-3a62-4eef-b100-7e489fc0a9e9 2026-11-02 14:22:26,263 - INFO - Verified VN network id 12 for VN 99ac02f3-c24e-430a-b8a9-d231ded43f00 2026-11-02 14:22:26,263 - INFO - Verifications in API Server for VN ctest-vn-31758521 passed 2026-11-02 14:22:26,263 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/99ac02f3-c24e-430a-b8a9-d231ded43f00 2026-11-02 14:22:26,281 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ce3ec063-3a62-4eef-b100-7e489fc0a9e9 2026-11-02 14:22:26,293 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ce3ec063-3a62-4eef-b100-7e489fc0a9e9 2026-11-02 14:22:26,303 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/e3b1c30c-f038-4c90-bd48-b6b840ed999f 2026-11-02 14:22:26,325 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-31758521', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75392934', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11073228829757424394', 'uuid-lslong': '13306397685676523264'}, 'enable': 'true', 'created': '2026-11-02T14:22:23', 'last-modified': '2026-11-02T14:22:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325887'} 2026-11-02 14:22:26,336 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 14:22:26,336 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31758521 passed 2026-11-02 14:22:26,337 - DEBUG - ====Verifying policy data for ctest-vn-31758521 in API_Server ====== 2026-11-02 14:22:26,337 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-11-02 14:22:26,347 - DEBUG - Requesting: http://10.0.0.188:8082/domain/632b849e-e68b-4161-83bc-e671973a3f99 2026-11-02 14:22:26,366 - DEBUG - Requesting: http://10.0.0.188:8082/project/dca4e45b-779c-42c3-8b97-473f90ecde4d 2026-11-02 14:22:26,460 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/99ac02f3-c24e-430a-b8a9-d231ded43f00 2026-11-02 14:22:26,472 - DEBUG - ==>Verifying data for policy with id: 624756e2-20f5-4cac-8d17-fac2c682598c, fqn: ['default-domain', 'ctest-TestBasicPolicy-75392934', 'ctest-policy-allow-all-51800878'] 2026-11-02 14:22:26,473 - INFO - VN ctest-vn-31758521 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 14:22:26,473 - DEBUG - Verifying the vn in opserver 2026-11-02 14:22:26,473 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-31758521 virtual network link through opserver 10.0.0.188 2026-11-02 14:22:26,473 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-11-02 14:22:26,893 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-11-02 14:22:26,963 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-31758521', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-31758521?flat'} 2026-11-02 14:22:26,963 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-31758521 is found in opserver 2026-11-02 14:22:26,976 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 14:22:26,981 - DEBUG - VRF ids for VN ctest-vn-31758521: {} 2026-11-02 14:22:26,982 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-11-02 14:22:26,989 - DEBUG - Requesting: http://10.0.0.188:8082/domain/632b849e-e68b-4161-83bc-e671973a3f99 2026-11-02 14:22:27,002 - DEBUG - Requesting: http://10.0.0.188:8082/project/dca4e45b-779c-42c3-8b97-473f90ecde4d 2026-11-02 14:22:27,095 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/83b4eaf6-a703-434f-b398-49510aff46d7 2026-11-02 14:22:27,110 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/83b4eaf6-a703-434f-b398-49510aff46d7 2026-11-02 14:22:27,124 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/f94f8b3c-b22e-4219-ae23-342cf8debfb9 2026-11-02 14:22:27,134 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/f94f8b3c-b22e-4219-ae23-342cf8debfb9 2026-11-02 14:22:27,144 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/f0fe0905-2f30-4a0f-815e-7606d39f2626 2026-11-02 14:22:27,153 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 14:22:27,153 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/83b4eaf6-a703-434f-b398-49510aff46d7 2026-11-02 14:22:27,163 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/f94f8b3c-b22e-4219-ae23-342cf8debfb9 2026-11-02 14:22:27,183 - INFO - Verified VN network id 13 for VN 83b4eaf6-a703-434f-b398-49510aff46d7 2026-11-02 14:22:27,184 - INFO - Verifications in API Server for VN ctest-vn-68579186 passed 2026-11-02 14:22:27,184 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/83b4eaf6-a703-434f-b398-49510aff46d7 2026-11-02 14:22:27,198 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/f94f8b3c-b22e-4219-ae23-342cf8debfb9 2026-11-02 14:22:27,208 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/f94f8b3c-b22e-4219-ae23-342cf8debfb9 2026-11-02 14:22:27,218 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/f0fe0905-2f30-4a0f-815e-7606d39f2626 2026-11-02 14:22:27,231 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-68579186', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75392934', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9490468659861341007', 'uuid-lslong': '12941174141674800855'}, 'enable': 'true', 'created': '2026-11-02T14:22:24', 'last-modified': '2026-11-02T14:22:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.936606'} 2026-11-02 14:22:27,239 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 14:22:27,239 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68579186 passed 2026-11-02 14:22:27,239 - DEBUG - ====Verifying policy data for ctest-vn-68579186 in API_Server ====== 2026-11-02 14:22:27,239 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-11-02 14:22:27,246 - DEBUG - Requesting: http://10.0.0.188:8082/domain/632b849e-e68b-4161-83bc-e671973a3f99 2026-11-02 14:22:27,265 - DEBUG - Requesting: http://10.0.0.188:8082/project/dca4e45b-779c-42c3-8b97-473f90ecde4d 2026-11-02 14:22:27,372 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/83b4eaf6-a703-434f-b398-49510aff46d7 2026-11-02 14:22:27,388 - DEBUG - ==>Verifying data for policy with id: 624756e2-20f5-4cac-8d17-fac2c682598c, fqn: ['default-domain', 'ctest-TestBasicPolicy-75392934', 'ctest-policy-allow-all-51800878'] 2026-11-02 14:22:27,388 - INFO - VN ctest-vn-68579186 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 14:22:27,388 - DEBUG - Verifying the vn in opserver 2026-11-02 14:22:27,388 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-68579186 virtual network link through opserver 10.0.0.188 2026-11-02 14:22:27,388 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-11-02 14:22:27,402 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-68579186', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-68579186?flat'} 2026-11-02 14:22:27,402 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-68579186 is found in opserver 2026-11-02 14:22:27,416 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 14:22:27,422 - DEBUG - VRF ids for VN ctest-vn-68579186: {} 2026-11-02 14:22:27,498 - DEBUG - Services list from nova: [, , ] 2026-11-02 14:22:27,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6465-1) 2026-11-02 14:22:28,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6465-1) 2026-11-02 14:22:28,440 - INFO - Waiting for VM ctest-TestBasicPolicy-75392934-24911575 to be up.. 2026-11-02 14:22:28,490 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:22:33,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:22:38,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:22:43,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:22:48,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:22:54,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:22:59,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:23:04,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:23:09,317 - DEBUG - VM is in ACTIVE state now 2026-11-02 14:23:09,318 - INFO - VM name : ctest-TestBasicPolicy-75392934-24911575 2026-11-02 14:23:09,413 - DEBUG - VM ctest-TestBasicPolicy-75392934-24911575 ID is 748e7b12-27d5-429b-8203-71155061fefa 2026-11-02 14:23:09,439 - DEBUG - VM ctest-TestBasicPolicy-75392934-24911575 launched on Node cn-jenkins-deploy-platform-ansible-os-6465-1 2026-11-02 14:23:09,529 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/748e7b12-27d5-429b-8203-71155061fefa 2026-11-02 14:23:09,541 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/33885f9c-e6fe-4820-ae92-ed227efcda55 2026-11-02 14:23:12,839 - 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 1025ms') 2026-11-02 14:23:12,839 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75392934-24911575 failed! 2026-11-02 14:23:12,897 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-31758521 is 174.249.37.193 and allocation pool is NOT set 2026-11-02 14:23:16,998 - 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 1028ms') 2026-11-02 14:23:16,998 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75392934-24911575 failed! 2026-11-02 14:23:17,057 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75392934:ctest-vn-31758521 is 174.249.37.193 and allocation pool is NOT set 2026-11-02 14:23:19,126 - 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=5.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.810 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.810/3.030/5.250/2.220 ms') 2026-11-02 14:23:19,126 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75392934-24911575 passed 2026-11-02 14:23:19,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:23:19,285 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75392934-24911575, IP 174.249.37.195, Port 22 2026-11-02 14:23:19,455 - DEBUG - VM ctest-TestBasicPolicy-75392934-24911575 is ready for SSH connections 2026-11-02 14:23:19,455 - INFO - Waiting for VM ctest-TestBasicPolicy-75392934-91799696 to be up.. 2026-11-02 14:23:19,581 - DEBUG - VM is in ACTIVE state now 2026-11-02 14:23:19,581 - INFO - VM name : ctest-TestBasicPolicy-75392934-91799696 2026-11-02 14:23:19,698 - DEBUG - VM ctest-TestBasicPolicy-75392934-91799696 ID is 6214b7b5-4694-4fd8-8555-1537c2e1c595 2026-11-02 14:23:19,698 - DEBUG - VM ctest-TestBasicPolicy-75392934-91799696 launched on Node cn-jenkins-deploy-platform-ansible-os-6465-1 2026-11-02 14:23:19,804 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/6214b7b5-4694-4fd8-8555-1537c2e1c595 2026-11-02 14:23:19,817 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/9911aca5-02a1-48a5-80fc-8f2fbfb2c881 2026-11-02 14:23:21,080 - 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=9.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/4.792/9.032/4.240 ms') 2026-11-02 14:23:21,081 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75392934-91799696 passed 2026-11-02 14:23:21,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:23:21,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75392934-91799696, IP 108.50.162.195, Port 22 2026-11-02 14:23:21,411 - DEBUG - VM ctest-TestBasicPolicy-75392934-91799696 is ready for SSH connections 2026-11-02 14:23:21,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:23:21,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.50.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-11-02 14:23:21,411 - DEBUG - ping -s 56 -c 3 -W 1 108.50.162.195 2026-11-02 14:23:25,530 - DEBUG - PING 108.50.162.195 (108.50.162.195): 56 data bytes 64 bytes from 108.50.162.195: seq=0 ttl=63 time=5.218 ms 64 bytes from 108.50.162.195: seq=1 ttl=63 time=1.177 ms 64 bytes from 108.50.162.195: seq=2 ttl=63 time=1.373 ms --- 108.50.162.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.177/2.589/5.218 ms 2026-11-02 14:23:25,530 - INFO - Ping to IP 108.50.162.195 from VM ctest-TestBasicPolicy-75392934-24911575 passed 2026-11-02 14:23:25,761 - DEBUG - Policy Update Response {"network-policy": {"uuid": "624756e2-20f5-4cac-8d17-fac2c682598c", "href": "http://10.0.0.188:8082/network-policy/624756e2-20f5-4cac-8d17-fac2c682598c"}} 2026-11-02 14:23:25,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:23:25,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.50.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-11-02 14:23:25,761 - DEBUG - ping -s 56 -c 3 -W 1 108.50.162.195 2026-11-02 14:23:28,944 - DEBUG - PING 108.50.162.195 (108.50.162.195): 56 data bytes 64 bytes from 108.50.162.195: seq=0 ttl=63 time=1.652 ms --- 108.50.162.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.652/1.652/1.652 ms 2026-11-02 14:23:28,944 - WARNING - Ping to IP 108.50.162.195 from VM ctest-TestBasicPolicy-75392934-24911575 failed 2026-11-02 14:23:28,945 - INFO - Deleting VM ctest-TestBasicPolicy-75392934-91799696 2026-11-02 14:23:29,037 - INFO - Deleting VM ctest-TestBasicPolicy-75392934-24911575 2026-11-02 14:23:29,535 - INFO - Deleted policy ctest-policy-allow-all-51800878 2026-11-02 14:23:29,535 - INFO - Deleting VN ctest-vn-68579186 2026-11-02 14:23:29,577 - DEBUG - VN 83b4eaf6-a703-434f-b398-49510aff46d7 still in use: Unable to complete operation on network 83b4eaf6-a703-434f-b398-49510aff46d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96f98668-dbf8-4d48-8cf5-6c0097852dcb'] 2026-11-02 14:23:29,577 - WARNING - Deleting VN ctest-vn-68579186 failed..Will retry 2026-11-02 14:23:31,643 - DEBUG - VN 83b4eaf6-a703-434f-b398-49510aff46d7 still in use: Unable to complete operation on network 83b4eaf6-a703-434f-b398-49510aff46d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec3c5e6c-00b0-47c6-b2b0-82b0be2dd754'] 2026-11-02 14:23:31,644 - WARNING - Deleting VN ctest-vn-68579186 failed..Will retry 2026-11-02 14:23:33,814 - DEBUG - Response for deleting network () 2026-11-02 14:23:33,814 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/f94f8b3c-b22e-4219-ae23-342cf8debfb9 2026-11-02 14:23:33,825 - DEBUG - Response Code: 404 2026-11-02 14:23:33,825 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-11-02 14:23:33,835 - DEBUG - Requesting: http://10.0.0.188:8082/domain/632b849e-e68b-4161-83bc-e671973a3f99 2026-11-02 14:23:33,898 - DEBUG - Requesting: http://10.0.0.188:8082/project/dca4e45b-779c-42c3-8b97-473f90ecde4d 2026-11-02 14:23:34,014 - INFO - Validated that VN ctest-vn-68579186 is not found in API Server 2026-11-02 14:23:34,034 - DEBUG - VN ctest-vn-68579186 is not present in Agent 10.0.0.188 2026-11-02 14:23:34,035 - INFO - Validated that VN ctest-vn-68579186 is not in any agent 2026-11-02 14:23:34,062 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68579186 info 2026-11-02 14:23:34,062 - INFO - Deleting VN ctest-vn-31758521 2026-11-02 14:23:34,229 - DEBUG - Response for deleting network () 2026-11-02 14:23:34,229 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ce3ec063-3a62-4eef-b100-7e489fc0a9e9 2026-11-02 14:23:34,236 - DEBUG - Response Code: 404 2026-11-02 14:23:34,237 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-11-02 14:23:34,245 - DEBUG - Requesting: http://10.0.0.188:8082/domain/632b849e-e68b-4161-83bc-e671973a3f99 2026-11-02 14:23:34,308 - DEBUG - Requesting: http://10.0.0.188:8082/project/dca4e45b-779c-42c3-8b97-473f90ecde4d 2026-11-02 14:23:34,408 - INFO - Validated that VN ctest-vn-31758521 is not found in API Server 2026-11-02 14:23:34,423 - DEBUG - VN ctest-vn-31758521 is not present in Agent 10.0.0.188 2026-11-02 14:23:34,423 - INFO - Validated that VN ctest-vn-31758521 is not in any agent 2026-11-02 14:23:34,442 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31758521 info 2026-11-02 14:23:34,725 - DEBUG - No XMPP flaps were noticed during the test 2026-11-02 14:23:34,725 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-11-02 14:23:34,725 - INFO - -------------------------------------------------------------------------------- 2026-11-02 14:23:35,662 - INFO - Deleted project: ctest-TestBasicPolicy-75392934, ID : dca4e45b-779c-42c3-8b97-473f90ecde4d