2026-02-08 19:09:45,753 - INFO - Domain Default found not creating 2026-02-08 19:09:45,922 - INFO - Project ctest-TestBasicPolicy-40982571 not found, creating it 2026-02-08 19:09:46,381 - INFO - Created Project:ctest-TestBasicPolicy-40982571, ID : 77821de6-13b0-4bfb-9314-d9f35ade650a 2026-02-08 19:09:47,908 - INFO - ================================================================================ 2026-02-08 19:09:47,908 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-08 19:09:47,908 - 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-08 19:09:48,166 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-02-08 19:09:48,166 - INFO - Initial checks done. Running the testcase now 2026-02-08 19:09:48,166 - INFO - 2026-02-08 19:09:48,733 - DEBUG - Response for create_network : {'network': {'id': '9bba23a0-54ca-440c-9951-83a531ba0858', 'name': 'ctest-vn-70654566', 'tenant_id': '77821de613b04bfb9314d9f35ade650a', 'project_id': '77821de613b04bfb9314d9f35ade650a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40982571', 'ctest-vn-70654566'], 'port_security_enabled': True, 'description': ''}} 2026-02-08 19:09:48,890 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e3e06aa-a8f0-413f-883f-cc9a46603d86', 'name': '', 'tenant_id': '77821de613b04bfb9314d9f35ade650a', 'network_id': '9bba23a0-54ca-440c-9951-83a531ba0858', 'ip_version': 4, 'cidr': '203.114.154.0/26', 'allocation_pools': [{'start': '203.114.154.2', 'end': '203.114.154.62'}], 'gateway_ip': '203.114.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.114.154.2', 'tags': [], 'project_id': '77821de613b04bfb9314d9f35ade650a'}} 2026-02-08 19:09:48,905 - INFO - Created VN ctest-vn-70654566 2026-02-08 19:09:48,957 - DEBUG - VN ctest-vn-70654566 UUID is 9bba23a0-54ca-440c-9951-83a531ba0858 2026-02-08 19:09:49,235 - DEBUG - Response for create_network : {'network': {'id': '3bf41f9d-6fa5-4068-b867-acde1b392b44', 'name': 'ctest-vn-61536426', 'tenant_id': '77821de613b04bfb9314d9f35ade650a', 'project_id': '77821de613b04bfb9314d9f35ade650a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40982571', 'ctest-vn-61536426'], 'port_security_enabled': True, 'description': ''}} 2026-02-08 19:09:49,444 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6de72ce-7846-46e6-9cc4-f5a38e9d5413', 'name': '', 'tenant_id': '77821de613b04bfb9314d9f35ade650a', 'network_id': '3bf41f9d-6fa5-4068-b867-acde1b392b44', 'ip_version': 4, 'cidr': '106.201.11.128/26', 'allocation_pools': [{'start': '106.201.11.130', 'end': '106.201.11.190'}], 'gateway_ip': '106.201.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.201.11.130', 'tags': [], 'project_id': '77821de613b04bfb9314d9f35ade650a'}} 2026-02-08 19:09:49,464 - INFO - Created VN ctest-vn-61536426 2026-02-08 19:09:49,517 - DEBUG - VN ctest-vn-61536426 UUID is 3bf41f9d-6fa5-4068-b867-acde1b392b44 2026-02-08 19:09:49,673 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-70654566, 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-40982571:ctest-vn-61536426, 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-08 19:09:49,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9bba23a0-54ca-440c-9951-83a531ba0858', 'name': 'ctest-vn-70654566', 'tenant_id': '77821de613b04bfb9314d9f35ade650a', 'project_id': '77821de613b04bfb9314d9f35ade650a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e3e06aa-a8f0-413f-883f-cc9a46603d86'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40982571', 'ctest-vn-70654566'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40982571', 'ctest-policy-allow-all-44250909']], 'subnet_ipam': [{'subnet_cidr': '203.114.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-08 19:09:50,229 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bf41f9d-6fa5-4068-b867-acde1b392b44', 'name': 'ctest-vn-61536426', 'tenant_id': '77821de613b04bfb9314d9f35ade650a', 'project_id': '77821de613b04bfb9314d9f35ade650a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f6de72ce-7846-46e6-9cc4-f5a38e9d5413'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40982571', 'ctest-vn-61536426'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40982571', 'ctest-policy-allow-all-44250909']], 'subnet_ipam': [{'subnet_cidr': '106.201.11.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-08 19:09:50,373 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-08 19:09:50,677 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-08 19:09:50,711 - DEBUG - Requesting: http://10.0.0.249:8082/domain/90687d1f-de58-44e3-9156-30fe74f161e1 2026-02-08 19:09:50,721 - DEBUG - Requesting: http://10.0.0.249:8082/project/77821de6-13b0-4bfb-9314-d9f35ade650a 2026-02-08 19:09:50,794 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9bba23a0-54ca-440c-9951-83a531ba0858 2026-02-08 19:09:50,803 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9bba23a0-54ca-440c-9951-83a531ba0858 2026-02-08 19:09:50,812 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/59c17ae0-b7fe-4860-8e24-059cd47c43bc 2026-02-08 19:09:50,819 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/59c17ae0-b7fe-4860-8e24-059cd47c43bc 2026-02-08 19:09:50,824 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/03f4d9a5-cf37-4151-a521-e7d8e336af23 2026-02-08 19:09:50,829 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-08 19:09:50,829 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9bba23a0-54ca-440c-9951-83a531ba0858 2026-02-08 19:09:50,836 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/59c17ae0-b7fe-4860-8e24-059cd47c43bc 2026-02-08 19:09:50,851 - INFO - Verified VN network id 12 for VN 9bba23a0-54ca-440c-9951-83a531ba0858 2026-02-08 19:09:50,851 - INFO - Verifications in API Server for VN ctest-vn-70654566 passed 2026-02-08 19:09:50,851 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9bba23a0-54ca-440c-9951-83a531ba0858 2026-02-08 19:09:50,861 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/59c17ae0-b7fe-4860-8e24-059cd47c43bc 2026-02-08 19:09:50,867 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/59c17ae0-b7fe-4860-8e24-059cd47c43bc 2026-02-08 19:09:50,873 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/03f4d9a5-cf37-4151-a521-e7d8e336af23 2026-02-08 19:09:50,883 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-70654566', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40982571', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11221320593071293452', 'uuid-lslong': '11047756106443655256'}, 'enable': 'true', 'created': '2026-02-08T19:09:48', 'last-modified': '2026-02-08T19:09:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944826'} 2026-02-08 19:09:50,890 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-08 19:09:50,890 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70654566 passed 2026-02-08 19:09:50,890 - DEBUG - ====Verifying policy data for ctest-vn-70654566 in API_Server ====== 2026-02-08 19:09:50,890 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-08 19:09:50,895 - DEBUG - Requesting: http://10.0.0.249:8082/domain/90687d1f-de58-44e3-9156-30fe74f161e1 2026-02-08 19:09:50,905 - DEBUG - Requesting: http://10.0.0.249:8082/project/77821de6-13b0-4bfb-9314-d9f35ade650a 2026-02-08 19:09:50,974 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9bba23a0-54ca-440c-9951-83a531ba0858 2026-02-08 19:09:50,984 - DEBUG - ==>Verifying data for policy with id: b3ed56cf-b3f2-4cbc-b7a9-3a427b47bd0d, fqn: ['default-domain', 'ctest-TestBasicPolicy-40982571', 'ctest-policy-allow-all-44250909'] 2026-02-08 19:09:50,984 - INFO - VN ctest-vn-70654566 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-08 19:09:50,984 - DEBUG - Verifying the vn in opserver 2026-02-08 19:09:50,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-70654566 virtual network link through opserver 10.0.0.249 2026-02-08 19:09:50,984 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-08 19:09:51,301 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-08 19:09:51,373 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-70654566', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-70654566?flat'} 2026-02-08 19:09:51,373 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-70654566 is found in opserver 2026-02-08 19:09:51,384 - DEBUG - Do not have enough data to verify VN in agent 2026-02-08 19:09:51,388 - DEBUG - VRF ids for VN ctest-vn-70654566: {} 2026-02-08 19:09:51,388 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-08 19:09:51,394 - DEBUG - Requesting: http://10.0.0.249:8082/domain/90687d1f-de58-44e3-9156-30fe74f161e1 2026-02-08 19:09:51,404 - DEBUG - Requesting: http://10.0.0.249:8082/project/77821de6-13b0-4bfb-9314-d9f35ade650a 2026-02-08 19:09:51,480 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bf41f9d-6fa5-4068-b867-acde1b392b44 2026-02-08 19:09:51,492 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bf41f9d-6fa5-4068-b867-acde1b392b44 2026-02-08 19:09:51,501 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/607608c3-7d45-46ea-9905-b092df64956f 2026-02-08 19:09:51,508 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/607608c3-7d45-46ea-9905-b092df64956f 2026-02-08 19:09:51,514 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b4e581b7-d1d5-486f-bbfe-3b48b02491a1 2026-02-08 19:09:51,521 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-08 19:09:51,522 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bf41f9d-6fa5-4068-b867-acde1b392b44 2026-02-08 19:09:51,530 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/607608c3-7d45-46ea-9905-b092df64956f 2026-02-08 19:09:51,542 - INFO - Verified VN network id 13 for VN 3bf41f9d-6fa5-4068-b867-acde1b392b44 2026-02-08 19:09:51,542 - INFO - Verifications in API Server for VN ctest-vn-61536426 passed 2026-02-08 19:09:51,543 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bf41f9d-6fa5-4068-b867-acde1b392b44 2026-02-08 19:09:51,551 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/607608c3-7d45-46ea-9905-b092df64956f 2026-02-08 19:09:51,559 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/607608c3-7d45-46ea-9905-b092df64956f 2026-02-08 19:09:51,565 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b4e581b7-d1d5-486f-bbfe-3b48b02491a1 2026-02-08 19:09:51,580 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-61536426', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40982571', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4320112703598575720', 'uuid-lslong': '13287779295519386436'}, 'enable': 'true', 'created': '2026-02-08T19:09:49', 'last-modified': '2026-02-08T19:09:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414955'} 2026-02-08 19:09:51,585 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-08 19:09:51,585 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61536426 passed 2026-02-08 19:09:51,586 - DEBUG - ====Verifying policy data for ctest-vn-61536426 in API_Server ====== 2026-02-08 19:09:51,586 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-08 19:09:51,592 - DEBUG - Requesting: http://10.0.0.249:8082/domain/90687d1f-de58-44e3-9156-30fe74f161e1 2026-02-08 19:09:51,603 - DEBUG - Requesting: http://10.0.0.249:8082/project/77821de6-13b0-4bfb-9314-d9f35ade650a 2026-02-08 19:09:51,671 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bf41f9d-6fa5-4068-b867-acde1b392b44 2026-02-08 19:09:51,682 - DEBUG - ==>Verifying data for policy with id: b3ed56cf-b3f2-4cbc-b7a9-3a427b47bd0d, fqn: ['default-domain', 'ctest-TestBasicPolicy-40982571', 'ctest-policy-allow-all-44250909'] 2026-02-08 19:09:51,682 - INFO - VN ctest-vn-61536426 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-08 19:09:51,682 - DEBUG - Verifying the vn in opserver 2026-02-08 19:09:51,682 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-61536426 virtual network link through opserver 10.0.0.249 2026-02-08 19:09:51,682 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-08 19:09:51,693 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-61536426', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-61536426?flat'} 2026-02-08 19:09:51,693 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-61536426 is found in opserver 2026-02-08 19:09:51,704 - DEBUG - Do not have enough data to verify VN in agent 2026-02-08 19:09:51,710 - DEBUG - VRF ids for VN ctest-vn-61536426: {} 2026-02-08 19:09:51,773 - DEBUG - Services list from nova: [, , ] 2026-02-08 19:09:52,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5233-1) 2026-02-08 19:09:54,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5233-1) 2026-02-08 19:09:54,007 - INFO - Waiting for VM ctest-TestBasicPolicy-40982571-87481003 to be up.. 2026-02-08 19:09:54,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-08 19:09:59,175 - DEBUG - VM is in ACTIVE state now 2026-02-08 19:09:59,175 - INFO - VM name : ctest-TestBasicPolicy-40982571-87481003 2026-02-08 19:09:59,266 - DEBUG - VM ctest-TestBasicPolicy-40982571-87481003 ID is 79c2d912-53bd-40e8-ac61-aacbe63995e5 2026-02-08 19:09:59,291 - DEBUG - VM ctest-TestBasicPolicy-40982571-87481003 launched on Node cn-jenkins-deploy-platform-ansible-os-5233-1 2026-02-08 19:09:59,384 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/79c2d912-53bd-40e8-ac61-aacbe63995e5 2026-02-08 19:09:59,392 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cb6e166b-d905-4f36-ad3a-755cd3b1f950 2026-02-08 19:10:02,634 - 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-08 19:10:02,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40982571-87481003 failed! 2026-02-08 19:10:02,697 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40982571:ctest-vn-70654566 is 203.114.154.1 and allocation pool is NOT set 2026-02-08 19:10:04,759 - 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=9.79 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.428/6.110/9.793/3.682 ms') 2026-02-08 19:10:04,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40982571-87481003 passed 2026-02-08 19:10:04,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-08 19:10:04,909 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40982571-87481003, IP 203.114.154.3, Port 22 2026-02-08 19:10:05,065 - DEBUG - VM ctest-TestBasicPolicy-40982571-87481003 is ready for SSH connections 2026-02-08 19:10:05,065 - INFO - Waiting for VM ctest-TestBasicPolicy-40982571-27050662 to be up.. 2026-02-08 19:10:05,149 - DEBUG - VM is in ACTIVE state now 2026-02-08 19:10:05,149 - INFO - VM name : ctest-TestBasicPolicy-40982571-27050662 2026-02-08 19:10:05,266 - DEBUG - VM ctest-TestBasicPolicy-40982571-27050662 ID is 8f67cad4-ec2e-4155-b035-26130cb397c5 2026-02-08 19:10:05,266 - DEBUG - VM ctest-TestBasicPolicy-40982571-27050662 launched on Node cn-jenkins-deploy-platform-ansible-os-5233-1 2026-02-08 19:10:05,351 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8f67cad4-ec2e-4155-b035-26130cb397c5 2026-02-08 19:10:05,359 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cf2a0e21-5c52-498e-83d0-1d3247d49c54 2026-02-08 19:10:06,608 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.997 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.997/1.895/2.793/0.898 ms') 2026-02-08 19:10:06,608 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40982571-27050662 passed 2026-02-08 19:10:06,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-08 19:10:06,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40982571-27050662, IP 106.201.11.131, Port 22 2026-02-08 19:10:06,941 - DEBUG - VM ctest-TestBasicPolicy-40982571-27050662 is ready for SSH connections 2026-02-08 19:10:06,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-08 19:10:06,941 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.201.11.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-02-08 19:10:06,941 - DEBUG - ping -s 56 -c 3 -W 1 106.201.11.131 2026-02-08 19:10:11,033 - DEBUG - PING 106.201.11.131 (106.201.11.131): 56 data bytes 64 bytes from 106.201.11.131: seq=0 ttl=63 time=4.187 ms 64 bytes from 106.201.11.131: seq=1 ttl=63 time=1.072 ms 64 bytes from 106.201.11.131: seq=2 ttl=63 time=1.269 ms --- 106.201.11.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.072/2.176/4.187 ms 2026-02-08 19:10:11,033 - INFO - Ping to IP 106.201.11.131 from VM ctest-TestBasicPolicy-40982571-87481003 passed 2026-02-08 19:10:11,217 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b3ed56cf-b3f2-4cbc-b7a9-3a427b47bd0d", "href": "http://10.0.0.249:8082/network-policy/b3ed56cf-b3f2-4cbc-b7a9-3a427b47bd0d"}} 2026-02-08 19:10:11,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-08 19:10:11,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.201.11.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-02-08 19:10:11,217 - DEBUG - ping -s 56 -c 3 -W 1 106.201.11.131 2026-02-08 19:10:14,447 - DEBUG - PING 106.201.11.131 (106.201.11.131): 56 data bytes --- 106.201.11.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-08 19:10:14,447 - WARNING - Ping to IP 106.201.11.131 from VM ctest-TestBasicPolicy-40982571-87481003 failed 2026-02-08 19:10:14,447 - INFO - Deleting VM ctest-TestBasicPolicy-40982571-27050662 2026-02-08 19:10:14,614 - INFO - Deleting VM ctest-TestBasicPolicy-40982571-87481003 2026-02-08 19:10:14,992 - INFO - Deleted policy ctest-policy-allow-all-44250909 2026-02-08 19:10:14,992 - INFO - Deleting VN ctest-vn-61536426 2026-02-08 19:10:15,032 - DEBUG - VN 3bf41f9d-6fa5-4068-b867-acde1b392b44 still in use: Unable to complete operation on network 3bf41f9d-6fa5-4068-b867-acde1b392b44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-442629aa-3e70-4235-a514-160c8a106064'] 2026-02-08 19:10:15,032 - WARNING - Deleting VN ctest-vn-61536426 failed..Will retry 2026-02-08 19:10:17,122 - DEBUG - Response for deleting network () 2026-02-08 19:10:17,122 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/607608c3-7d45-46ea-9905-b092df64956f 2026-02-08 19:10:17,126 - DEBUG - Response Code: 404 2026-02-08 19:10:17,126 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-08 19:10:17,134 - DEBUG - Requesting: http://10.0.0.249:8082/domain/90687d1f-de58-44e3-9156-30fe74f161e1 2026-02-08 19:10:17,186 - DEBUG - Requesting: http://10.0.0.249:8082/project/77821de6-13b0-4bfb-9314-d9f35ade650a 2026-02-08 19:10:17,260 - INFO - Validated that VN ctest-vn-61536426 is not found in API Server 2026-02-08 19:10:17,270 - DEBUG - VN ctest-vn-61536426 is not present in Agent 10.0.0.249 2026-02-08 19:10:17,270 - INFO - Validated that VN ctest-vn-61536426 is not in any agent 2026-02-08 19:10:17,283 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61536426 info 2026-02-08 19:10:17,283 - INFO - Deleting VN ctest-vn-70654566 2026-02-08 19:10:17,385 - DEBUG - Response for deleting network () 2026-02-08 19:10:17,385 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/59c17ae0-b7fe-4860-8e24-059cd47c43bc 2026-02-08 19:10:17,398 - DEBUG - Response Code: 404 2026-02-08 19:10:17,398 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-08 19:10:17,402 - DEBUG - Requesting: http://10.0.0.249:8082/domain/90687d1f-de58-44e3-9156-30fe74f161e1 2026-02-08 19:10:17,458 - DEBUG - Requesting: http://10.0.0.249:8082/project/77821de6-13b0-4bfb-9314-d9f35ade650a 2026-02-08 19:10:17,527 - INFO - Validated that VN ctest-vn-70654566 is not found in API Server 2026-02-08 19:10:17,537 - DEBUG - VN ctest-vn-70654566 is not present in Agent 10.0.0.249 2026-02-08 19:10:17,537 - INFO - Validated that VN ctest-vn-70654566 is not in any agent 2026-02-08 19:10:17,551 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70654566 info 2026-02-08 19:10:17,809 - DEBUG - No XMPP flaps were noticed during the test
2026-02-08 19:10:17,809 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-08 19:10:17,809 - INFO - -------------------------------------------------------------------------------- 2026-02-08 19:10:18,522 - INFO - Deleted project: ctest-TestBasicPolicy-40982571, ID : 77821de6-13b0-4bfb-9314-d9f35ade650a