2026-06-01 16:56:05,615 - INFO - Domain Default found not creating 2026-06-01 16:56:05,811 - INFO - Project ctest-TestBasicPolicy-41375933 not found, creating it 2026-06-01 16:56:06,307 - INFO - Created Project:ctest-TestBasicPolicy-41375933, ID : bfcfc0c0-89c1-4f1f-97fe-13cc6bb9562d 2026-06-01 16:56:07,872 - INFO - ================================================================================ 2026-06-01 16:56:07,873 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 16:56:07,873 - 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-06-01 16:56:08,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2026-06-01 16:56:08,131 - INFO - Initial checks done. Running the testcase now 2026-06-01 16:56:08,131 - INFO - 2026-06-01 16:56:08,680 - DEBUG - Response for create_network : {'network': {'id': '28980438-6fe0-4e4d-8c4a-b63c5f12673b', 'name': 'ctest-vn-05636324', 'tenant_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'project_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41375933', 'ctest-vn-05636324'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 16:56:08,917 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6e5a641-717f-4da9-b90d-f0ef8d566b18', 'name': '', 'tenant_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'network_id': '28980438-6fe0-4e4d-8c4a-b63c5f12673b', 'ip_version': 4, 'cidr': '114.223.237.64/26', 'allocation_pools': [{'start': '114.223.237.66', 'end': '114.223.237.126'}], 'gateway_ip': '114.223.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.223.237.66', 'tags': [], 'project_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d'}} 2026-06-01 16:56:08,935 - INFO - Created VN ctest-vn-05636324 2026-06-01 16:56:08,988 - DEBUG - VN ctest-vn-05636324 UUID is 28980438-6fe0-4e4d-8c4a-b63c5f12673b 2026-06-01 16:56:09,280 - DEBUG - Response for create_network : {'network': {'id': '985c097d-28d0-47cb-a8f5-167d606b9b95', 'name': 'ctest-vn-12594414', 'tenant_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'project_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41375933', 'ctest-vn-12594414'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 16:56:09,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '534a8b36-77bb-40ce-832d-f272b4722d03', 'name': '', 'tenant_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'network_id': '985c097d-28d0-47cb-a8f5-167d606b9b95', 'ip_version': 4, 'cidr': '112.97.239.192/26', 'allocation_pools': [{'start': '112.97.239.194', 'end': '112.97.239.254'}], 'gateway_ip': '112.97.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.97.239.194', 'tags': [], 'project_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d'}} 2026-06-01 16:56:09,496 - INFO - Created VN ctest-vn-12594414 2026-06-01 16:56:09,548 - DEBUG - VN ctest-vn-12594414 UUID is 985c097d-28d0-47cb-a8f5-167d606b9b95 2026-06-01 16:56:09,660 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-05636324, 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-41375933:ctest-vn-12594414, 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-06-01 16:56:09,945 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28980438-6fe0-4e4d-8c4a-b63c5f12673b', 'name': 'ctest-vn-05636324', 'tenant_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'project_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6e5a641-717f-4da9-b90d-f0ef8d566b18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41375933', 'ctest-vn-05636324'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41375933', 'ctest-policy-allow-all-69304916']], 'subnet_ipam': [{'subnet_cidr': '114.223.237.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 16:56:10,176 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '985c097d-28d0-47cb-a8f5-167d606b9b95', 'name': 'ctest-vn-12594414', 'tenant_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'project_id': 'bfcfc0c089c14f1f97fe13cc6bb9562d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['534a8b36-77bb-40ce-832d-f272b4722d03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41375933', 'ctest-vn-12594414'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41375933', 'ctest-policy-allow-all-69304916']], 'subnet_ipam': [{'subnet_cidr': '112.97.239.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 16:56:10,344 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 16:56:10,638 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 16:56:10,674 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d44d57d-20aa-4b4e-84cd-9570c3803a31 2026-06-01 16:56:10,686 - DEBUG - Requesting: http://10.0.0.38:8082/project/bfcfc0c0-89c1-4f1f-97fe-13cc6bb9562d 2026-06-01 16:56:10,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28980438-6fe0-4e4d-8c4a-b63c5f12673b 2026-06-01 16:56:10,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28980438-6fe0-4e4d-8c4a-b63c5f12673b 2026-06-01 16:56:10,776 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3340e11d-b86c-4cb3-af93-c8bac8389046 2026-06-01 16:56:10,784 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3340e11d-b86c-4cb3-af93-c8bac8389046 2026-06-01 16:56:10,790 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cf3a70d8-27e1-4c7b-b3e0-bbb69d140bea 2026-06-01 16:56:10,796 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 16:56:10,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28980438-6fe0-4e4d-8c4a-b63c5f12673b 2026-06-01 16:56:10,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3340e11d-b86c-4cb3-af93-c8bac8389046 2026-06-01 16:56:10,819 - INFO - Verified VN network id 11 for VN 28980438-6fe0-4e4d-8c4a-b63c5f12673b 2026-06-01 16:56:10,819 - INFO - Verifications in API Server for VN ctest-vn-05636324 passed 2026-06-01 16:56:10,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28980438-6fe0-4e4d-8c4a-b63c5f12673b 2026-06-01 16:56:10,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3340e11d-b86c-4cb3-af93-c8bac8389046 2026-06-01 16:56:10,834 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3340e11d-b86c-4cb3-af93-c8bac8389046 2026-06-01 16:56:10,840 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cf3a70d8-27e1-4c7b-b3e0-bbb69d140bea 2026-06-01 16:56:10,852 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-05636324', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41375933', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2925092598418787917', 'uuid-lslong': '10109092683995834171'}, 'enable': 'true', 'created': '2026-06-01T16:56:08', 'last-modified': '2026-06-01T16:56:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926991'} 2026-06-01 16:56:10,860 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 16:56:10,860 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05636324 passed 2026-06-01 16:56:10,860 - DEBUG - ====Verifying policy data for ctest-vn-05636324 in API_Server ====== 2026-06-01 16:56:10,861 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 16:56:10,866 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d44d57d-20aa-4b4e-84cd-9570c3803a31 2026-06-01 16:56:10,877 - DEBUG - Requesting: http://10.0.0.38:8082/project/bfcfc0c0-89c1-4f1f-97fe-13cc6bb9562d 2026-06-01 16:56:10,945 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28980438-6fe0-4e4d-8c4a-b63c5f12673b 2026-06-01 16:56:10,954 - DEBUG - ==>Verifying data for policy with id: d3593043-e1c8-45b8-a5f6-49725b76e94f, fqn: ['default-domain', 'ctest-TestBasicPolicy-41375933', 'ctest-policy-allow-all-69304916'] 2026-06-01 16:56:10,954 - INFO - VN ctest-vn-05636324 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 16:56:10,954 - DEBUG - Verifying the vn in opserver 2026-06-01 16:56:10,954 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-05636324 virtual network link through opserver 10.0.0.38 2026-06-01 16:56:10,955 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 16:56:11,251 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 16:56:11,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-05636324', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-05636324?flat'} 2026-06-01 16:56:11,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-05636324 is found in opserver 2026-06-01 16:56:11,329 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 16:56:11,333 - DEBUG - VRF ids for VN ctest-vn-05636324: {} 2026-06-01 16:56:11,334 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 16:56:11,340 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d44d57d-20aa-4b4e-84cd-9570c3803a31 2026-06-01 16:56:11,350 - DEBUG - Requesting: http://10.0.0.38:8082/project/bfcfc0c0-89c1-4f1f-97fe-13cc6bb9562d 2026-06-01 16:56:11,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/985c097d-28d0-47cb-a8f5-167d606b9b95 2026-06-01 16:56:11,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/985c097d-28d0-47cb-a8f5-167d606b9b95 2026-06-01 16:56:11,441 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16b3a108-9756-4cb6-97dd-0d773f571969 2026-06-01 16:56:11,448 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16b3a108-9756-4cb6-97dd-0d773f571969 2026-06-01 16:56:11,455 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/35057db7-90e9-4d8b-92c5-57615a0c92cd 2026-06-01 16:56:11,462 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 16:56:11,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/985c097d-28d0-47cb-a8f5-167d606b9b95 2026-06-01 16:56:11,471 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16b3a108-9756-4cb6-97dd-0d773f571969 2026-06-01 16:56:11,486 - INFO - Verified VN network id 12 for VN 985c097d-28d0-47cb-a8f5-167d606b9b95 2026-06-01 16:56:11,486 - INFO - Verifications in API Server for VN ctest-vn-12594414 passed 2026-06-01 16:56:11,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/985c097d-28d0-47cb-a8f5-167d606b9b95 2026-06-01 16:56:11,498 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16b3a108-9756-4cb6-97dd-0d773f571969 2026-06-01 16:56:11,508 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16b3a108-9756-4cb6-97dd-0d773f571969 2026-06-01 16:56:11,516 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/35057db7-90e9-4d8b-92c5-57615a0c92cd 2026-06-01 16:56:11,528 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-12594414', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41375933', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10978660424782727115', 'uuid-lslong': '12174661895410391957'}, 'enable': 'true', 'created': '2026-06-01T16:56:09', 'last-modified': '2026-06-01T16:56:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376267'} 2026-06-01 16:56:11,535 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 16:56:11,535 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12594414 passed 2026-06-01 16:56:11,535 - DEBUG - ====Verifying policy data for ctest-vn-12594414 in API_Server ====== 2026-06-01 16:56:11,535 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 16:56:11,541 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d44d57d-20aa-4b4e-84cd-9570c3803a31 2026-06-01 16:56:11,554 - DEBUG - Requesting: http://10.0.0.38:8082/project/bfcfc0c0-89c1-4f1f-97fe-13cc6bb9562d 2026-06-01 16:56:11,628 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/985c097d-28d0-47cb-a8f5-167d606b9b95 2026-06-01 16:56:11,638 - DEBUG - ==>Verifying data for policy with id: d3593043-e1c8-45b8-a5f6-49725b76e94f, fqn: ['default-domain', 'ctest-TestBasicPolicy-41375933', 'ctest-policy-allow-all-69304916'] 2026-06-01 16:56:11,638 - INFO - VN ctest-vn-12594414 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 16:56:11,638 - DEBUG - Verifying the vn in opserver 2026-06-01 16:56:11,638 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-12594414 virtual network link through opserver 10.0.0.38 2026-06-01 16:56:11,638 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 16:56:11,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-12594414', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-12594414?flat'} 2026-06-01 16:56:11,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-12594414 is found in opserver 2026-06-01 16:56:11,668 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 16:56:11,672 - DEBUG - VRF ids for VN ctest-vn-12594414: {} 2026-06-01 16:56:11,734 - DEBUG - Services list from nova: [, , ] 2026-06-01 16:56:12,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5873-1) 2026-06-01 16:56:13,928 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5873-1) 2026-06-01 16:56:13,928 - INFO - Waiting for VM ctest-TestBasicPolicy-41375933-52614110 to be up.. 2026-06-01 16:56:14,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 16:56:19,101 - DEBUG - VM is in ACTIVE state now 2026-06-01 16:56:19,101 - INFO - VM name : ctest-TestBasicPolicy-41375933-52614110 2026-06-01 16:56:19,183 - DEBUG - VM ctest-TestBasicPolicy-41375933-52614110 ID is 53adfb57-caa6-4f1f-bbfc-96c2155be2ed 2026-06-01 16:56:19,206 - DEBUG - VM ctest-TestBasicPolicy-41375933-52614110 launched on Node cn-jenkins-deploy-platform-ansible-os-5873-1 2026-06-01 16:56:19,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/53adfb57-caa6-4f1f-bbfc-96c2155be2ed 2026-06-01 16:56:19,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2330cc99-d49a-4ed1-aba2-553ffa8358f1 2026-06-01 16:56:22,566 - 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 1030ms') 2026-06-01 16:56:22,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41375933-52614110 failed! 2026-06-01 16:56:22,620 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41375933:ctest-vn-05636324 is 114.223.237.65 and allocation pool is NOT set 2026-06-01 16:56:24,680 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.467/4.303/7.140/2.836 ms') 2026-06-01 16:56:24,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41375933-52614110 passed 2026-06-01 16:56:24,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 16:56:24,828 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41375933-52614110, IP 114.223.237.67, Port 22 2026-06-01 16:56:24,998 - DEBUG - VM ctest-TestBasicPolicy-41375933-52614110 is ready for SSH connections 2026-06-01 16:56:24,998 - INFO - Waiting for VM ctest-TestBasicPolicy-41375933-38390671 to be up.. 2026-06-01 16:56:25,080 - DEBUG - VM is in ACTIVE state now 2026-06-01 16:56:25,081 - INFO - VM name : ctest-TestBasicPolicy-41375933-38390671 2026-06-01 16:56:25,153 - DEBUG - VM ctest-TestBasicPolicy-41375933-38390671 ID is 5765b457-9b3d-460d-9be9-ecd25aabb259 2026-06-01 16:56:25,153 - DEBUG - VM ctest-TestBasicPolicy-41375933-38390671 launched on Node cn-jenkins-deploy-platform-ansible-os-5873-1 2026-06-01 16:56:25,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5765b457-9b3d-460d-9be9-ecd25aabb259 2026-06-01 16:56:25,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1ba1bfb9-08ab-440c-b618-5659dfda608c 2026-06-01 16:56:26,475 - 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=4.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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.354/2.933/4.512/1.579 ms') 2026-06-01 16:56:26,475 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41375933-38390671 passed 2026-06-01 16:56:26,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 16:56:26,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41375933-38390671, IP 112.97.239.195, Port 22 2026-06-01 16:56:26,703 - 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-06-01 16:56:26,786 - DEBUG - VM ctest-TestBasicPolicy-41375933-38390671 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 16:56:31,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 16:56:31,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41375933-38390671, IP 112.97.239.195, Port 22 2026-06-01 16:56:31,951 - DEBUG - VM ctest-TestBasicPolicy-41375933-38390671 is ready for SSH connections 2026-06-01 16:56:31,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 16:56:31,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.97.239.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 16:56:31,952 - DEBUG - ping -s 56 -c 3 -W 1 112.97.239.195 2026-06-01 16:56:36,006 - DEBUG - PING 112.97.239.195 (112.97.239.195): 56 data bytes 64 bytes from 112.97.239.195: seq=0 ttl=63 time=3.734 ms 64 bytes from 112.97.239.195: seq=1 ttl=63 time=1.341 ms 64 bytes from 112.97.239.195: seq=2 ttl=63 time=1.130 ms --- 112.97.239.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.130/2.068/3.734 ms 2026-06-01 16:56:36,006 - INFO - Ping to IP 112.97.239.195 from VM ctest-TestBasicPolicy-41375933-52614110 passed 2026-06-01 16:56:36,200 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d3593043-e1c8-45b8-a5f6-49725b76e94f", "href": "http://10.0.0.38:8082/network-policy/d3593043-e1c8-45b8-a5f6-49725b76e94f"}} 2026-06-01 16:56:36,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 16:56:36,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.97.239.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 16:56:36,200 - DEBUG - ping -s 56 -c 3 -W 1 112.97.239.195 2026-06-01 16:56:39,409 - DEBUG - PING 112.97.239.195 (112.97.239.195): 56 data bytes --- 112.97.239.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-01 16:56:39,409 - WARNING - Ping to IP 112.97.239.195 from VM ctest-TestBasicPolicy-41375933-52614110 failed 2026-06-01 16:56:39,409 - INFO - Deleting VM ctest-TestBasicPolicy-41375933-38390671 2026-06-01 16:56:39,482 - INFO - Deleting VM ctest-TestBasicPolicy-41375933-52614110 2026-06-01 16:56:39,868 - INFO - Deleted policy ctest-policy-allow-all-69304916 2026-06-01 16:56:39,868 - INFO - Deleting VN ctest-vn-12594414 2026-06-01 16:56:39,907 - DEBUG - VN 985c097d-28d0-47cb-a8f5-167d606b9b95 still in use: Unable to complete operation on network 985c097d-28d0-47cb-a8f5-167d606b9b95. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-676f3382-141b-4355-b757-f5cfac066d94'] 2026-06-01 16:56:39,907 - WARNING - Deleting VN ctest-vn-12594414 failed..Will retry 2026-06-01 16:56:42,029 - DEBUG - Response for deleting network () 2026-06-01 16:56:42,029 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16b3a108-9756-4cb6-97dd-0d773f571969 2026-06-01 16:56:42,035 - DEBUG - Response Code: 404 2026-06-01 16:56:42,035 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 16:56:42,042 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d44d57d-20aa-4b4e-84cd-9570c3803a31 2026-06-01 16:56:42,097 - DEBUG - Requesting: http://10.0.0.38:8082/project/bfcfc0c0-89c1-4f1f-97fe-13cc6bb9562d 2026-06-01 16:56:42,166 - INFO - Validated that VN ctest-vn-12594414 is not found in API Server 2026-06-01 16:56:42,175 - DEBUG - VN ctest-vn-12594414 is not present in Agent 10.0.0.38 2026-06-01 16:56:42,176 - INFO - Validated that VN ctest-vn-12594414 is not in any agent 2026-06-01 16:56:42,190 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12594414 info 2026-06-01 16:56:42,190 - INFO - Deleting VN ctest-vn-05636324 2026-06-01 16:56:42,302 - DEBUG - Response for deleting network () 2026-06-01 16:56:42,302 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3340e11d-b86c-4cb3-af93-c8bac8389046 2026-06-01 16:56:42,307 - DEBUG - Response Code: 404 2026-06-01 16:56:42,307 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 16:56:42,312 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d44d57d-20aa-4b4e-84cd-9570c3803a31 2026-06-01 16:56:42,365 - DEBUG - Requesting: http://10.0.0.38:8082/project/bfcfc0c0-89c1-4f1f-97fe-13cc6bb9562d 2026-06-01 16:56:42,438 - INFO - Validated that VN ctest-vn-05636324 is not found in API Server 2026-06-01 16:56:42,447 - DEBUG - VN ctest-vn-05636324 is not present in Agent 10.0.0.38 2026-06-01 16:56:42,447 - INFO - Validated that VN ctest-vn-05636324 is not in any agent 2026-06-01 16:56:42,459 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05636324 info 2026-06-01 16:56:42,713 - DEBUG - No XMPP flaps were noticed during the test 2026-06-01 16:56:42,713 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-06-01 16:56:42,713 - INFO - -------------------------------------------------------------------------------- 2026-06-01 16:56:43,402 - INFO - Deleted project: ctest-TestBasicPolicy-41375933, ID : bfcfc0c0-89c1-4f1f-97fe-13cc6bb9562d