2026-01-08 02:09:41,256 - INFO - Domain Default found not creating 2026-01-08 02:09:41,429 - INFO - Project ctest-TestBasicPolicy-36111217 not found, creating it 2026-01-08 02:09:41,893 - INFO - Created Project:ctest-TestBasicPolicy-36111217, ID : 2dca1231-bfc1-41ad-ad98-967db0a38d09 2026-01-08 02:09:43,359 - INFO - ================================================================================ 2026-01-08 02:09:43,359 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-08 02:09:43,360 - 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-01-08 02:09:43,613 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2026-01-08 02:09:43,613 - INFO - Initial checks done. Running the testcase now 2026-01-08 02:09:43,614 - INFO - 2026-01-08 02:09:44,193 - DEBUG - Response for create_network : {'network': {'id': 'f0721ed7-a621-4ae6-823e-19853b150deb', 'name': 'ctest-vn-75296924', 'tenant_id': '2dca1231bfc141adad98967db0a38d09', 'project_id': '2dca1231bfc141adad98967db0a38d09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36111217', 'ctest-vn-75296924'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:09:44,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9902e37-31ae-4611-9118-ae4f1543b5aa', 'name': '', 'tenant_id': '2dca1231bfc141adad98967db0a38d09', 'network_id': 'f0721ed7-a621-4ae6-823e-19853b150deb', 'ip_version': 4, 'cidr': '85.251.115.0/26', 'allocation_pools': [{'start': '85.251.115.2', 'end': '85.251.115.62'}], 'gateway_ip': '85.251.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.251.115.2', 'tags': [], 'project_id': '2dca1231bfc141adad98967db0a38d09'}} 2026-01-08 02:09:44,437 - INFO - Created VN ctest-vn-75296924 2026-01-08 02:09:44,488 - DEBUG - VN ctest-vn-75296924 UUID is f0721ed7-a621-4ae6-823e-19853b150deb 2026-01-08 02:09:44,765 - DEBUG - Response for create_network : {'network': {'id': '0556e7b6-5a04-4ced-8612-d6078194b8a1', 'name': 'ctest-vn-10381866', 'tenant_id': '2dca1231bfc141adad98967db0a38d09', 'project_id': '2dca1231bfc141adad98967db0a38d09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36111217', 'ctest-vn-10381866'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:09:44,959 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a103480-0604-41f6-ad93-4cbf44ffbd45', 'name': '', 'tenant_id': '2dca1231bfc141adad98967db0a38d09', 'network_id': '0556e7b6-5a04-4ced-8612-d6078194b8a1', 'ip_version': 4, 'cidr': '108.144.217.64/26', 'allocation_pools': [{'start': '108.144.217.66', 'end': '108.144.217.126'}], 'gateway_ip': '108.144.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.144.217.66', 'tags': [], 'project_id': '2dca1231bfc141adad98967db0a38d09'}} 2026-01-08 02:09:44,979 - INFO - Created VN ctest-vn-10381866 2026-01-08 02:09:45,032 - DEBUG - VN ctest-vn-10381866 UUID is 0556e7b6-5a04-4ced-8612-d6078194b8a1 2026-01-08 02:09:45,188 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-75296924, 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-36111217:ctest-vn-10381866, 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-01-08 02:09:45,479 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0721ed7-a621-4ae6-823e-19853b150deb', 'name': 'ctest-vn-75296924', 'tenant_id': '2dca1231bfc141adad98967db0a38d09', 'project_id': '2dca1231bfc141adad98967db0a38d09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e9902e37-31ae-4611-9118-ae4f1543b5aa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36111217', 'ctest-vn-75296924'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36111217', 'ctest-policy-allow-all-49074346']], 'subnet_ipam': [{'subnet_cidr': '85.251.115.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:09:45,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0556e7b6-5a04-4ced-8612-d6078194b8a1', 'name': 'ctest-vn-10381866', 'tenant_id': '2dca1231bfc141adad98967db0a38d09', 'project_id': '2dca1231bfc141adad98967db0a38d09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a103480-0604-41f6-ad93-4cbf44ffbd45'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36111217', 'ctest-vn-10381866'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36111217', 'ctest-policy-allow-all-49074346']], 'subnet_ipam': [{'subnet_cidr': '108.144.217.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:09:45,868 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-08 02:09:46,172 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-08 02:09:46,201 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd468b36-442d-49bf-b5d3-8ada6376a516 2026-01-08 02:09:46,212 - DEBUG - Requesting: http://10.0.0.22:8082/project/2dca1231-bfc1-41ad-ad98-967db0a38d09 2026-01-08 02:09:46,283 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0721ed7-a621-4ae6-823e-19853b150deb 2026-01-08 02:09:46,292 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0721ed7-a621-4ae6-823e-19853b150deb 2026-01-08 02:09:46,300 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/db2f7223-6150-4f2c-8b85-62d5849d2fdc 2026-01-08 02:09:46,306 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/db2f7223-6150-4f2c-8b85-62d5849d2fdc 2026-01-08 02:09:46,313 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/775e751f-47dd-4591-bbd9-5b93a5009df1 2026-01-08 02:09:46,319 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-08 02:09:46,319 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0721ed7-a621-4ae6-823e-19853b150deb 2026-01-08 02:09:46,328 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/db2f7223-6150-4f2c-8b85-62d5849d2fdc 2026-01-08 02:09:46,340 - INFO - Verified VN network id 11 for VN f0721ed7-a621-4ae6-823e-19853b150deb 2026-01-08 02:09:46,340 - INFO - Verifications in API Server for VN ctest-vn-75296924 passed 2026-01-08 02:09:46,341 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0721ed7-a621-4ae6-823e-19853b150deb 2026-01-08 02:09:46,355 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/db2f7223-6150-4f2c-8b85-62d5849d2fdc 2026-01-08 02:09:46,363 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/db2f7223-6150-4f2c-8b85-62d5849d2fdc 2026-01-08 02:09:46,371 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/775e751f-47dd-4591-bbd9-5b93a5009df1 2026-01-08 02:09:46,383 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-75296924', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36111217', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17325944628001721062', 'uuid-lslong': '9384966733499272683'}, 'enable': 'true', 'created': '2026-01-08T02:09:44', 'last-modified': '2026-01-08T02:09:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926595'} 2026-01-08 02:09:46,389 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-08 02:09:46,389 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75296924 passed 2026-01-08 02:09:46,389 - DEBUG - ====Verifying policy data for ctest-vn-75296924 in API_Server ====== 2026-01-08 02:09:46,389 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-08 02:09:46,394 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd468b36-442d-49bf-b5d3-8ada6376a516 2026-01-08 02:09:46,406 - DEBUG - Requesting: http://10.0.0.22:8082/project/2dca1231-bfc1-41ad-ad98-967db0a38d09 2026-01-08 02:09:46,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0721ed7-a621-4ae6-823e-19853b150deb 2026-01-08 02:09:46,489 - DEBUG - ==>Verifying data for policy with id: 3cd18876-c5ad-4aa0-b3e1-c9da4a744287, fqn: ['default-domain', 'ctest-TestBasicPolicy-36111217', 'ctest-policy-allow-all-49074346'] 2026-01-08 02:09:46,489 - INFO - VN ctest-vn-75296924 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-08 02:09:46,489 - DEBUG - Verifying the vn in opserver 2026-01-08 02:09:46,489 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-75296924 virtual network link through opserver 10.0.0.22 2026-01-08 02:09:46,489 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-08 02:09:46,785 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-08 02:09:46,845 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-75296924', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-75296924?flat'} 2026-01-08 02:09:46,845 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-75296924 is found in opserver 2026-01-08 02:09:46,855 - DEBUG - Do not have enough data to verify VN in agent 2026-01-08 02:09:46,860 - DEBUG - VRF ids for VN ctest-vn-75296924: {} 2026-01-08 02:09:46,860 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-08 02:09:46,866 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd468b36-442d-49bf-b5d3-8ada6376a516 2026-01-08 02:09:46,876 - DEBUG - Requesting: http://10.0.0.22:8082/project/2dca1231-bfc1-41ad-ad98-967db0a38d09 2026-01-08 02:09:46,942 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0556e7b6-5a04-4ced-8612-d6078194b8a1 2026-01-08 02:09:46,952 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0556e7b6-5a04-4ced-8612-d6078194b8a1 2026-01-08 02:09:46,960 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c5635dc1-1126-4419-b49c-b932294031ba 2026-01-08 02:09:46,979 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c5635dc1-1126-4419-b49c-b932294031ba 2026-01-08 02:09:46,986 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0ef5d7e4-7c56-4766-b2f4-c476e1303e85 2026-01-08 02:09:46,993 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-08 02:09:46,993 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0556e7b6-5a04-4ced-8612-d6078194b8a1 2026-01-08 02:09:47,002 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c5635dc1-1126-4419-b49c-b932294031ba 2026-01-08 02:09:47,018 - INFO - Verified VN network id 12 for VN 0556e7b6-5a04-4ced-8612-d6078194b8a1 2026-01-08 02:09:47,018 - INFO - Verifications in API Server for VN ctest-vn-10381866 passed 2026-01-08 02:09:47,018 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0556e7b6-5a04-4ced-8612-d6078194b8a1 2026-01-08 02:09:47,028 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c5635dc1-1126-4419-b49c-b932294031ba 2026-01-08 02:09:47,035 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c5635dc1-1126-4419-b49c-b932294031ba 2026-01-08 02:09:47,041 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0ef5d7e4-7c56-4766-b2f4-c476e1303e85 2026-01-08 02:09:47,054 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-10381866', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36111217', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '384749588567051501', 'uuid-lslong': '9661019478390257825'}, 'enable': 'true', 'created': '2026-01-08T02:09:44', 'last-modified': '2026-01-08T02:09:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.369593'} 2026-01-08 02:09:47,060 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-08 02:09:47,060 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10381866 passed 2026-01-08 02:09:47,061 - DEBUG - ====Verifying policy data for ctest-vn-10381866 in API_Server ====== 2026-01-08 02:09:47,061 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-08 02:09:47,068 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd468b36-442d-49bf-b5d3-8ada6376a516 2026-01-08 02:09:47,078 - DEBUG - Requesting: http://10.0.0.22:8082/project/2dca1231-bfc1-41ad-ad98-967db0a38d09 2026-01-08 02:09:47,148 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0556e7b6-5a04-4ced-8612-d6078194b8a1 2026-01-08 02:09:47,157 - DEBUG - ==>Verifying data for policy with id: 3cd18876-c5ad-4aa0-b3e1-c9da4a744287, fqn: ['default-domain', 'ctest-TestBasicPolicy-36111217', 'ctest-policy-allow-all-49074346'] 2026-01-08 02:09:47,157 - INFO - VN ctest-vn-10381866 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-08 02:09:47,157 - DEBUG - Verifying the vn in opserver 2026-01-08 02:09:47,157 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-10381866 virtual network link through opserver 10.0.0.22 2026-01-08 02:09:47,157 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-08 02:09:47,165 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-10381866', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-10381866?flat'} 2026-01-08 02:09:47,165 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-10381866 is found in opserver 2026-01-08 02:09:47,173 - DEBUG - Do not have enough data to verify VN in agent 2026-01-08 02:09:47,177 - DEBUG - VRF ids for VN ctest-vn-10381866: {} 2026-01-08 02:09:47,230 - DEBUG - Services list from nova: [, , ] 2026-01-08 02:09:48,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4977-1) 2026-01-08 02:09:49,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4977-1) 2026-01-08 02:09:49,408 - INFO - Waiting for VM ctest-TestBasicPolicy-36111217-95671072 to be up.. 2026-01-08 02:09:49,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 02:09:54,557 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:09:54,557 - INFO - VM name : ctest-TestBasicPolicy-36111217-95671072 2026-01-08 02:09:54,630 - DEBUG - VM ctest-TestBasicPolicy-36111217-95671072 ID is db690b6f-8b89-4061-bb38-30d60e115a35 2026-01-08 02:09:54,646 - DEBUG - VM ctest-TestBasicPolicy-36111217-95671072 launched on Node cn-jenkins-deploy-platform-ansible-os-4977-1 2026-01-08 02:09:54,713 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/db690b6f-8b89-4061-bb38-30d60e115a35 2026-01-08 02:09:54,720 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f386c899-1e20-41da-a686-bcead67f19aa 2026-01-08 02:09:57,988 - 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 1031ms') 2026-01-08 02:09:57,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36111217-95671072 failed! 2026-01-08 02:09:58,040 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36111217:ctest-vn-75296924 is 85.251.115.1 and allocation pool is NOT set 2026-01-08 02:10:00,100 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.517 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.517/3.878/7.239/3.361 ms') 2026-01-08 02:10:00,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36111217-95671072 passed 2026-01-08 02:10:00,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:10:00,248 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36111217-95671072, IP 85.251.115.3, Port 22 2026-01-08 02:10:00,404 - DEBUG - VM ctest-TestBasicPolicy-36111217-95671072 is ready for SSH connections 2026-01-08 02:10:00,404 - INFO - Waiting for VM ctest-TestBasicPolicy-36111217-35975467 to be up.. 2026-01-08 02:10:00,492 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:10:00,492 - INFO - VM name : ctest-TestBasicPolicy-36111217-35975467 2026-01-08 02:10:00,579 - DEBUG - VM ctest-TestBasicPolicy-36111217-35975467 ID is 7cee8cd0-0cc5-4ab2-9041-0e67c8891be6 2026-01-08 02:10:00,579 - DEBUG - VM ctest-TestBasicPolicy-36111217-35975467 launched on Node cn-jenkins-deploy-platform-ansible-os-4977-1 2026-01-08 02:10:00,662 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7cee8cd0-0cc5-4ab2-9041-0e67c8891be6 2026-01-08 02:10:00,671 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/73c9cb5b-80ee-4599-8e58-c144fc2e0cb2 2026-01-08 02:10:01,913 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.620/2.784/1.164 ms') 2026-01-08 02:10:01,914 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36111217-35975467 passed 2026-01-08 02:10:02,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:10:02,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36111217-35975467, IP 108.144.217.67, Port 22 2026-01-08 02:10:02,230 - DEBUG - VM ctest-TestBasicPolicy-36111217-35975467 is ready for SSH connections 2026-01-08 02:10:02,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:10:02,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.144.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-08 02:10:02,231 - DEBUG - ping -s 56 -c 3 -W 1 108.144.217.67 2026-01-08 02:10:06,276 - DEBUG - PING 108.144.217.67 (108.144.217.67): 56 data bytes 64 bytes from 108.144.217.67: seq=0 ttl=63 time=4.487 ms 64 bytes from 108.144.217.67: seq=1 ttl=63 time=0.919 ms 64 bytes from 108.144.217.67: seq=2 ttl=63 time=1.275 ms --- 108.144.217.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/2.227/4.487 ms 2026-01-08 02:10:06,276 - INFO - Ping to IP 108.144.217.67 from VM ctest-TestBasicPolicy-36111217-95671072 passed 2026-01-08 02:10:06,456 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3cd18876-c5ad-4aa0-b3e1-c9da4a744287", "href": "http://10.0.0.22:8082/network-policy/3cd18876-c5ad-4aa0-b3e1-c9da4a744287"}} 2026-01-08 02:10:06,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:10:06,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.144.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-08 02:10:06,456 - DEBUG - ping -s 56 -c 3 -W 1 108.144.217.67 2026-01-08 02:10:09,666 - DEBUG - PING 108.144.217.67 (108.144.217.67): 56 data bytes --- 108.144.217.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-08 02:10:09,666 - WARNING - Ping to IP 108.144.217.67 from VM ctest-TestBasicPolicy-36111217-95671072 failed 2026-01-08 02:10:09,666 - INFO - Deleting VM ctest-TestBasicPolicy-36111217-35975467 2026-01-08 02:10:09,729 - INFO - Deleting VM ctest-TestBasicPolicy-36111217-95671072 2026-01-08 02:10:10,076 - INFO - Deleted policy ctest-policy-allow-all-49074346 2026-01-08 02:10:10,076 - INFO - Deleting VN ctest-vn-10381866 2026-01-08 02:10:10,112 - DEBUG - VN 0556e7b6-5a04-4ced-8612-d6078194b8a1 still in use: Unable to complete operation on network 0556e7b6-5a04-4ced-8612-d6078194b8a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf607c3c-55d6-46de-b121-dee512bdf60e'] 2026-01-08 02:10:10,113 - WARNING - Deleting VN ctest-vn-10381866 failed..Will retry 2026-01-08 02:10:12,203 - DEBUG - Response for deleting network () 2026-01-08 02:10:12,203 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c5635dc1-1126-4419-b49c-b932294031ba 2026-01-08 02:10:12,208 - DEBUG - Response Code: 404 2026-01-08 02:10:12,208 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-08 02:10:12,214 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd468b36-442d-49bf-b5d3-8ada6376a516 2026-01-08 02:10:12,265 - DEBUG - Requesting: http://10.0.0.22:8082/project/2dca1231-bfc1-41ad-ad98-967db0a38d09 2026-01-08 02:10:12,338 - INFO - Validated that VN ctest-vn-10381866 is not found in API Server 2026-01-08 02:10:12,347 - DEBUG - VN ctest-vn-10381866 is not present in Agent 10.0.0.22 2026-01-08 02:10:12,347 - INFO - Validated that VN ctest-vn-10381866 is not in any agent 2026-01-08 02:10:12,360 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10381866 info 2026-01-08 02:10:12,360 - INFO - Deleting VN ctest-vn-75296924 2026-01-08 02:10:12,472 - DEBUG - Response for deleting network () 2026-01-08 02:10:12,472 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/db2f7223-6150-4f2c-8b85-62d5849d2fdc 2026-01-08 02:10:12,476 - DEBUG - Response Code: 404 2026-01-08 02:10:12,477 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-08 02:10:12,481 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd468b36-442d-49bf-b5d3-8ada6376a516 2026-01-08 02:10:12,533 - DEBUG - Requesting: http://10.0.0.22:8082/project/2dca1231-bfc1-41ad-ad98-967db0a38d09 2026-01-08 02:10:12,599 - INFO - Validated that VN ctest-vn-75296924 is not found in API Server 2026-01-08 02:10:12,607 - DEBUG - VN ctest-vn-75296924 is not present in Agent 10.0.0.22 2026-01-08 02:10:12,608 - INFO - Validated that VN ctest-vn-75296924 is not in any agent 2026-01-08 02:10:12,620 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75296924 info 2026-01-08 02:10:12,873 - DEBUG - No XMPP flaps were noticed during the test
2026-01-08 02:10:12,873 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-08 02:10:12,873 - INFO - -------------------------------------------------------------------------------- 2026-01-08 02:10:13,575 - INFO - Deleted project: ctest-TestBasicPolicy-36111217, ID : 2dca1231-bfc1-41ad-ad98-967db0a38d09