2026-02-22 10:57:31,939 - INFO - Domain Default found not creating 2026-02-22 10:57:32,111 - INFO - Project ctest-TestBasicPolicy-64005441 not found, creating it 2026-02-22 10:57:32,579 - INFO - Created Project:ctest-TestBasicPolicy-64005441, ID : 59b05d87-4555-4f2c-adf6-2ab0ce4c314d 2026-02-22 10:57:34,071 - INFO - ================================================================================ 2026-02-22 10:57:34,071 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-22 10:57:34,072 - 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-22 10:57:34,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-22 10:57:34,324 - INFO - Initial checks done. Running the testcase now 2026-02-22 10:57:34,324 - INFO - 2026-02-22 10:57:34,890 - DEBUG - Response for create_network : {'network': {'id': '88d88fed-9da0-4b66-bf64-d0d32fd78d74', 'name': 'ctest-vn-84032323', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'project_id': '59b05d8745554f2cadf62ab0ce4c314d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-vn-84032323'], 'port_security_enabled': True, 'description': ''}} 2026-02-22 10:57:35,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b660321-5942-45cc-a3b3-90dbe6c80b96', 'name': '', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'network_id': '88d88fed-9da0-4b66-bf64-d0d32fd78d74', 'ip_version': 4, 'cidr': '194.1.145.64/26', 'allocation_pools': [{'start': '194.1.145.66', 'end': '194.1.145.126'}], 'gateway_ip': '194.1.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.1.145.66', 'tags': [], 'project_id': '59b05d8745554f2cadf62ab0ce4c314d'}} 2026-02-22 10:57:35,067 - INFO - Created VN ctest-vn-84032323 2026-02-22 10:57:35,118 - DEBUG - VN ctest-vn-84032323 UUID is 88d88fed-9da0-4b66-bf64-d0d32fd78d74 2026-02-22 10:57:35,422 - DEBUG - Response for create_network : {'network': {'id': '89117fee-e103-4d6e-bf31-0881ac637bb6', 'name': 'ctest-vn-48233099', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'project_id': '59b05d8745554f2cadf62ab0ce4c314d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-vn-48233099'], 'port_security_enabled': True, 'description': ''}} 2026-02-22 10:57:35,588 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eefcd782-895c-4713-b50c-3755bf152b7b', 'name': '', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'network_id': '89117fee-e103-4d6e-bf31-0881ac637bb6', 'ip_version': 4, 'cidr': '156.19.86.64/26', 'allocation_pools': [{'start': '156.19.86.66', 'end': '156.19.86.126'}], 'gateway_ip': '156.19.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.19.86.66', 'tags': [], 'project_id': '59b05d8745554f2cadf62ab0ce4c314d'}} 2026-02-22 10:57:35,605 - INFO - Created VN ctest-vn-48233099 2026-02-22 10:57:35,658 - DEBUG - VN ctest-vn-48233099 UUID is 89117fee-e103-4d6e-bf31-0881ac637bb6 2026-02-22 10:57:35,776 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323, 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-64005441:ctest-vn-48233099, 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-22 10:57:36,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88d88fed-9da0-4b66-bf64-d0d32fd78d74', 'name': 'ctest-vn-84032323', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'project_id': '59b05d8745554f2cadf62ab0ce4c314d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b660321-5942-45cc-a3b3-90dbe6c80b96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-vn-84032323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-policy-allow-all-75023886']], 'subnet_ipam': [{'subnet_cidr': '194.1.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-22 10:57:36,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89117fee-e103-4d6e-bf31-0881ac637bb6', 'name': 'ctest-vn-48233099', 'tenant_id': '59b05d8745554f2cadf62ab0ce4c314d', 'project_id': '59b05d8745554f2cadf62ab0ce4c314d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eefcd782-895c-4713-b50c-3755bf152b7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-vn-48233099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-policy-allow-all-75023886']], 'subnet_ipam': [{'subnet_cidr': '156.19.86.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-22 10:57:36,482 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 10:57:36,805 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 10:57:36,845 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81 2026-02-22 10:57:36,861 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d 2026-02-22 10:57:36,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74 2026-02-22 10:57:36,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74 2026-02-22 10:57:36,967 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614 2026-02-22 10:57:36,974 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614 2026-02-22 10:57:36,981 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e480f367-af23-43a0-9b35-30aaf383f933 2026-02-22 10:57:36,988 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-22 10:57:36,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74 2026-02-22 10:57:36,999 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614 2026-02-22 10:57:37,016 - INFO - Verified VN network id 12 for VN 88d88fed-9da0-4b66-bf64-d0d32fd78d74 2026-02-22 10:57:37,016 - INFO - Verifications in API Server for VN ctest-vn-84032323 passed 2026-02-22 10:57:37,016 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74 2026-02-22 10:57:37,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614 2026-02-22 10:57:37,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614 2026-02-22 10:57:37,046 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e480f367-af23-43a0-9b35-30aaf383f933 2026-02-22 10:57:37,060 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64005441', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9860789634842250086', 'uuid-lslong': '13791377564374633844'}, 'enable': 'true', 'created': '2026-02-22T10:57:34', 'last-modified': '2026-02-22T10:57:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.010755'} 2026-02-22 10:57:37,068 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-22 10:57:37,069 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84032323 passed 2026-02-22 10:57:37,069 - DEBUG - ====Verifying policy data for ctest-vn-84032323 in API_Server ====== 2026-02-22 10:57:37,069 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 10:57:37,077 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81 2026-02-22 10:57:37,089 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d 2026-02-22 10:57:37,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/88d88fed-9da0-4b66-bf64-d0d32fd78d74 2026-02-22 10:57:37,178 - DEBUG - ==>Verifying data for policy with id: 768a3f9c-dc03-4cea-97db-856c61b19485, fqn: ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-policy-allow-all-75023886'] 2026-02-22 10:57:37,178 - INFO - VN ctest-vn-84032323 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-22 10:57:37,178 - DEBUG - Verifying the vn in opserver 2026-02-22 10:57:37,178 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323 virtual network link through opserver 10.0.0.50 2026-02-22 10:57:37,178 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-22 10:57:37,474 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-22 10:57:37,536 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323?flat'} 2026-02-22 10:57:37,536 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323 is found in opserver 2026-02-22 10:57:37,545 - DEBUG - Do not have enough data to verify VN in agent 2026-02-22 10:57:37,550 - DEBUG - VRF ids for VN ctest-vn-84032323: {} 2026-02-22 10:57:37,550 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 10:57:37,555 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81 2026-02-22 10:57:37,567 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d 2026-02-22 10:57:37,637 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6 2026-02-22 10:57:37,649 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6 2026-02-22 10:57:37,660 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24 2026-02-22 10:57:37,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24 2026-02-22 10:57:37,676 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1af61b98-f72a-422c-a68a-febf0adfbb51 2026-02-22 10:57:37,684 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-22 10:57:37,684 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6 2026-02-22 10:57:37,693 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24 2026-02-22 10:57:37,707 - INFO - Verified VN network id 13 for VN 89117fee-e103-4d6e-bf31-0881ac637bb6 2026-02-22 10:57:37,707 - INFO - Verifications in API Server for VN ctest-vn-48233099 passed 2026-02-22 10:57:37,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6 2026-02-22 10:57:37,717 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24 2026-02-22 10:57:37,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24 2026-02-22 10:57:37,731 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1af61b98-f72a-422c-a68a-febf0adfbb51 2026-02-22 10:57:37,743 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64005441', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9876816121754242414', 'uuid-lslong': '13776802088139062198'}, 'enable': 'true', 'created': '2026-02-22T10:57:35', 'last-modified': '2026-02-22T10:57:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.463797'} 2026-02-22 10:57:37,749 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-22 10:57:37,749 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48233099 passed 2026-02-22 10:57:37,749 - DEBUG - ====Verifying policy data for ctest-vn-48233099 in API_Server ====== 2026-02-22 10:57:37,749 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 10:57:37,755 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81 2026-02-22 10:57:37,765 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d 2026-02-22 10:57:37,837 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89117fee-e103-4d6e-bf31-0881ac637bb6 2026-02-22 10:57:37,847 - DEBUG - ==>Verifying data for policy with id: 768a3f9c-dc03-4cea-97db-856c61b19485, fqn: ['default-domain', 'ctest-TestBasicPolicy-64005441', 'ctest-policy-allow-all-75023886'] 2026-02-22 10:57:37,847 - INFO - VN ctest-vn-48233099 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-22 10:57:37,847 - DEBUG - Verifying the vn in opserver 2026-02-22 10:57:37,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099 virtual network link through opserver 10.0.0.50 2026-02-22 10:57:37,847 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-22 10:57:37,857 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099?flat'} 2026-02-22 10:57:37,857 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-48233099 is found in opserver 2026-02-22 10:57:37,867 - DEBUG - Do not have enough data to verify VN in agent 2026-02-22 10:57:37,872 - DEBUG - VRF ids for VN ctest-vn-48233099: {} 2026-02-22 10:57:37,929 - DEBUG - Services list from nova: [, , ] 2026-02-22 10:57:38,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5381-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5381-1) 2026-02-22 10:57:40,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5381-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5381-1) 2026-02-22 10:57:40,126 - INFO - Waiting for VM ctest-TestBasicPolicy-64005441-36231949 to be up.. 2026-02-22 10:57:40,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-22 10:57:45,294 - DEBUG - VM is in ACTIVE state now 2026-02-22 10:57:45,294 - INFO - VM name : ctest-TestBasicPolicy-64005441-36231949 2026-02-22 10:57:45,384 - DEBUG - VM ctest-TestBasicPolicy-64005441-36231949 ID is 8676aea4-18e1-404b-ab02-d7fb5b0a1233 2026-02-22 10:57:45,408 - DEBUG - VM ctest-TestBasicPolicy-64005441-36231949 launched on Node cn-jenkins-deploy-platform-ansible-os-5381-1 2026-02-22 10:57:45,501 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8676aea4-18e1-404b-ab02-d7fb5b0a1233 2026-02-22 10:57:45,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/89134ce0-e828-4cf7-9c4f-9f7d8ddb7767 2026-02-22 10:57:48,775 - 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 1026ms') 2026-02-22 10:57:48,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64005441-36231949 failed! 2026-02-22 10:57:48,830 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64005441:ctest-vn-84032323 is 194.1.145.65 and allocation pool is NOT set 2026-02-22 10:57:50,893 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.292 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 = 0.292/4.080/7.869/3.788 ms') 2026-02-22 10:57:50,893 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64005441-36231949 passed 2026-02-22 10:57:51,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 10:57:51,051 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64005441-36231949, IP 194.1.145.67, Port 22 2026-02-22 10:57:51,216 - DEBUG - VM ctest-TestBasicPolicy-64005441-36231949 is ready for SSH connections 2026-02-22 10:57:51,216 - INFO - Waiting for VM ctest-TestBasicPolicy-64005441-26281497 to be up.. 2026-02-22 10:57:51,303 - DEBUG - VM is in ACTIVE state now 2026-02-22 10:57:51,304 - INFO - VM name : ctest-TestBasicPolicy-64005441-26281497 2026-02-22 10:57:51,382 - DEBUG - VM ctest-TestBasicPolicy-64005441-26281497 ID is a92e8082-3bfa-425a-999f-a1274f47604b 2026-02-22 10:57:51,383 - DEBUG - VM ctest-TestBasicPolicy-64005441-26281497 launched on Node cn-jenkins-deploy-platform-ansible-os-5381-1 2026-02-22 10:57:51,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a92e8082-3bfa-425a-999f-a1274f47604b 2026-02-22 10:57:51,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f97d8882-963a-430e-82ad-f60a1d5e24ae 2026-02-22 10:57:52,716 - 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=5.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.79 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.788/3.616/5.445/1.828 ms') 2026-02-22 10:57:52,716 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64005441-26281497 passed 2026-02-22 10:57:52,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 10:57:52,867 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64005441-26281497, IP 156.19.86.67, Port 22 2026-02-22 10:57:52,922 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-22 10:57:52,997 - DEBUG - VM ctest-TestBasicPolicy-64005441-26281497 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-22 10:57:57,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 10:57:57,999 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64005441-26281497, IP 156.19.86.67, Port 22 2026-02-22 10:57:58,154 - DEBUG - VM ctest-TestBasicPolicy-64005441-26281497 is ready for SSH connections 2026-02-22 10:57:58,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 10:57:58,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.19.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-22 10:57:58,155 - DEBUG - ping -s 56 -c 3 -W 1 156.19.86.67 2026-02-22 10:58:02,230 - DEBUG - PING 156.19.86.67 (156.19.86.67): 56 data bytes 64 bytes from 156.19.86.67: seq=0 ttl=63 time=4.476 ms 64 bytes from 156.19.86.67: seq=1 ttl=63 time=1.078 ms 64 bytes from 156.19.86.67: seq=2 ttl=63 time=1.007 ms --- 156.19.86.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.007/2.187/4.476 ms 2026-02-22 10:58:02,230 - INFO - Ping to IP 156.19.86.67 from VM ctest-TestBasicPolicy-64005441-36231949 passed 2026-02-22 10:58:02,422 - DEBUG - Policy Update Response {"network-policy": {"uuid": "768a3f9c-dc03-4cea-97db-856c61b19485", "href": "http://10.0.0.50:8082/network-policy/768a3f9c-dc03-4cea-97db-856c61b19485"}} 2026-02-22 10:58:02,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 10:58:02,422 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.19.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-22 10:58:02,422 - DEBUG - ping -s 56 -c 3 -W 1 156.19.86.67 2026-02-22 10:58:05,650 - DEBUG - PING 156.19.86.67 (156.19.86.67): 56 data bytes --- 156.19.86.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-22 10:58:05,650 - WARNING - Ping to IP 156.19.86.67 from VM ctest-TestBasicPolicy-64005441-36231949 failed 2026-02-22 10:58:05,650 - INFO - Deleting VM ctest-TestBasicPolicy-64005441-26281497 2026-02-22 10:58:05,744 - INFO - Deleting VM ctest-TestBasicPolicy-64005441-36231949 2026-02-22 10:58:06,114 - INFO - Deleted policy ctest-policy-allow-all-75023886 2026-02-22 10:58:06,115 - INFO - Deleting VN ctest-vn-48233099 2026-02-22 10:58:06,158 - DEBUG - VN 89117fee-e103-4d6e-bf31-0881ac637bb6 still in use: Unable to complete operation on network 89117fee-e103-4d6e-bf31-0881ac637bb6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ae7706c-a903-48f9-93ab-275dc65513ff'] 2026-02-22 10:58:06,158 - WARNING - Deleting VN ctest-vn-48233099 failed..Will retry 2026-02-22 10:58:08,282 - DEBUG - Response for deleting network () 2026-02-22 10:58:08,283 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ac8b2469-fd71-4793-afad-3356b19b8d24 2026-02-22 10:58:08,289 - DEBUG - Response Code: 404 2026-02-22 10:58:08,289 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 10:58:08,296 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81 2026-02-22 10:58:08,353 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d 2026-02-22 10:58:08,435 - INFO - Validated that VN ctest-vn-48233099 is not found in API Server 2026-02-22 10:58:08,446 - DEBUG - VN ctest-vn-48233099 is not present in Agent 10.0.0.50 2026-02-22 10:58:08,446 - INFO - Validated that VN ctest-vn-48233099 is not in any agent 2026-02-22 10:58:08,464 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48233099 info 2026-02-22 10:58:08,465 - INFO - Deleting VN ctest-vn-84032323 2026-02-22 10:58:08,579 - DEBUG - Response for deleting network () 2026-02-22 10:58:08,579 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b89df613-ca09-4e0b-a407-aa00ed3d2614 2026-02-22 10:58:08,585 - DEBUG - Response Code: 404 2026-02-22 10:58:08,585 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 10:58:08,590 - DEBUG - Requesting: http://10.0.0.50:8082/domain/99b185b4-6d4c-497b-a6a8-a2b58ca2ce81 2026-02-22 10:58:08,648 - DEBUG - Requesting: http://10.0.0.50:8082/project/59b05d87-4555-4f2c-adf6-2ab0ce4c314d 2026-02-22 10:58:08,727 - INFO - Validated that VN ctest-vn-84032323 is not found in API Server 2026-02-22 10:58:08,737 - DEBUG - VN ctest-vn-84032323 is not present in Agent 10.0.0.50 2026-02-22 10:58:08,737 - INFO - Validated that VN ctest-vn-84032323 is not in any agent 2026-02-22 10:58:08,751 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84032323 info 2026-02-22 10:58:09,003 - DEBUG - No XMPP flaps were noticed during the test 2026-02-22 10:58:09,003 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-22 10:58:09,003 - INFO - -------------------------------------------------------------------------------- 2026-02-22 10:58:09,694 - INFO - Deleted project: ctest-TestBasicPolicy-64005441, ID : 59b05d87-4555-4f2c-adf6-2ab0ce4c314d