2026-02-16 14:18:37,051 - INFO - Domain Default found not creating 2026-02-16 14:18:37,233 - INFO - Project ctest-TestBasicPolicy-23018108 not found, creating it 2026-02-16 14:18:37,702 - INFO - Created Project:ctest-TestBasicPolicy-23018108, ID : 405ca84b-3f9c-470e-8db0-581c9a1b763b 2026-02-16 14:18:39,133 - INFO - ================================================================================ 2026-02-16 14:18:39,133 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-16 14:18:39,133 - 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-16 14:18:39,391 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2026-02-16 14:18:39,391 - INFO - Initial checks done. Running the testcase now 2026-02-16 14:18:39,391 - INFO - 2026-02-16 14:18:39,920 - DEBUG - Response for create_network : {'network': {'id': '893d6f3f-c4e9-4341-b96a-00b32dbf2fcf', 'name': 'ctest-vn-36012256', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'project_id': '405ca84b3f9c470e8db0581c9a1b763b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-vn-36012256'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 14:18:40,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '2efdf789-bef8-4a84-b46d-87e1f0ded4ad', 'name': '', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'network_id': '893d6f3f-c4e9-4341-b96a-00b32dbf2fcf', 'ip_version': 4, 'cidr': '91.18.33.192/26', 'allocation_pools': [{'start': '91.18.33.194', 'end': '91.18.33.254'}], 'gateway_ip': '91.18.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.18.33.194', 'tags': [], 'project_id': '405ca84b3f9c470e8db0581c9a1b763b'}} 2026-02-16 14:18:40,102 - INFO - Created VN ctest-vn-36012256 2026-02-16 14:18:40,154 - DEBUG - VN ctest-vn-36012256 UUID is 893d6f3f-c4e9-4341-b96a-00b32dbf2fcf 2026-02-16 14:18:40,453 - DEBUG - Response for create_network : {'network': {'id': '5db5656e-f633-4dbc-ace6-6a88768ce648', 'name': 'ctest-vn-18362496', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'project_id': '405ca84b3f9c470e8db0581c9a1b763b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-vn-18362496'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 14:18:40,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '38330618-2741-4ad2-a501-5b0d58ae4980', 'name': '', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'network_id': '5db5656e-f633-4dbc-ace6-6a88768ce648', 'ip_version': 4, 'cidr': '139.0.156.192/26', 'allocation_pools': [{'start': '139.0.156.194', 'end': '139.0.156.254'}], 'gateway_ip': '139.0.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.0.156.194', 'tags': [], 'project_id': '405ca84b3f9c470e8db0581c9a1b763b'}} 2026-02-16 14:18:40,645 - INFO - Created VN ctest-vn-18362496 2026-02-16 14:18:40,694 - DEBUG - VN ctest-vn-18362496 UUID is 5db5656e-f633-4dbc-ace6-6a88768ce648 2026-02-16 14:18:40,838 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256, 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-23018108:ctest-vn-18362496, 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-16 14:18:41,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '893d6f3f-c4e9-4341-b96a-00b32dbf2fcf', 'name': 'ctest-vn-36012256', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'project_id': '405ca84b3f9c470e8db0581c9a1b763b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2efdf789-bef8-4a84-b46d-87e1f0ded4ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-vn-36012256'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-policy-allow-all-87213080']], 'subnet_ipam': [{'subnet_cidr': '91.18.33.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 14:18:41,376 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5db5656e-f633-4dbc-ace6-6a88768ce648', 'name': 'ctest-vn-18362496', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'project_id': '405ca84b3f9c470e8db0581c9a1b763b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['38330618-2741-4ad2-a501-5b0d58ae4980'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-vn-18362496'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-policy-allow-all-87213080']], 'subnet_ipam': [{'subnet_cidr': '139.0.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 14:18:41,534 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-16 14:18:41,877 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-16 14:18:41,905 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20 2026-02-16 14:18:41,916 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b 2026-02-16 14:18:41,987 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf 2026-02-16 14:18:41,999 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf 2026-02-16 14:18:42,008 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2 2026-02-16 14:18:42,014 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2 2026-02-16 14:18:42,021 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3b850b16-c2f0-4cd1-927e-dbe341bdc98d 2026-02-16 14:18:42,026 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 14:18:42,026 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf 2026-02-16 14:18:42,034 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2 2026-02-16 14:18:42,048 - INFO - Verified VN network id 11 for VN 893d6f3f-c4e9-4341-b96a-00b32dbf2fcf 2026-02-16 14:18:42,048 - INFO - Verifications in API Server for VN ctest-vn-36012256 passed 2026-02-16 14:18:42,048 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf 2026-02-16 14:18:42,056 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2 2026-02-16 14:18:42,063 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2 2026-02-16 14:18:42,069 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3b850b16-c2f0-4cd1-927e-dbe341bdc98d 2026-02-16 14:18:42,080 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23018108', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9889182676452721473', 'uuid-lslong': '13360492014114648015'}, 'enable': 'true', 'created': '2026-02-16T14:18:39', 'last-modified': '2026-02-16T14:18:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983160'} 2026-02-16 14:18:42,089 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 14:18:42,089 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36012256 passed 2026-02-16 14:18:42,089 - DEBUG - ====Verifying policy data for ctest-vn-36012256 in API_Server ====== 2026-02-16 14:18:42,089 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-16 14:18:42,095 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20 2026-02-16 14:18:42,107 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b 2026-02-16 14:18:42,179 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf 2026-02-16 14:18:42,189 - DEBUG - ==>Verifying data for policy with id: 568b06ca-7dc2-4aab-9cdf-eb302cf83d4b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-policy-allow-all-87213080'] 2026-02-16 14:18:42,189 - INFO - VN ctest-vn-36012256 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 14:18:42,189 - DEBUG - Verifying the vn in opserver 2026-02-16 14:18:42,189 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256 virtual network link through opserver 10.0.0.242 2026-02-16 14:18:42,189 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-16 14:18:42,479 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-16 14:18:42,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256?flat'} 2026-02-16 14:18:42,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256 is found in opserver 2026-02-16 14:18:42,541 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 14:18:42,545 - DEBUG - VRF ids for VN ctest-vn-36012256: {} 2026-02-16 14:18:42,545 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-16 14:18:42,549 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20 2026-02-16 14:18:42,559 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b 2026-02-16 14:18:42,626 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648 2026-02-16 14:18:42,637 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648 2026-02-16 14:18:42,645 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8 2026-02-16 14:18:42,651 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8 2026-02-16 14:18:42,657 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d0eaac41-47d5-4838-9ced-02b386c7d015 2026-02-16 14:18:42,663 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 14:18:42,663 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648 2026-02-16 14:18:42,670 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8 2026-02-16 14:18:42,682 - INFO - Verified VN network id 12 for VN 5db5656e-f633-4dbc-ace6-6a88768ce648 2026-02-16 14:18:42,682 - INFO - Verifications in API Server for VN ctest-vn-18362496 passed 2026-02-16 14:18:42,683 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648 2026-02-16 14:18:42,691 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8 2026-02-16 14:18:42,696 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8 2026-02-16 14:18:42,702 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d0eaac41-47d5-4838-9ced-02b386c7d015 2026-02-16 14:18:42,712 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23018108', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6752414743563292092', 'uuid-lslong': '12458762553504097864'}, 'enable': 'true', 'created': '2026-02-16T14:18:40', 'last-modified': '2026-02-16T14:18:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399044'} 2026-02-16 14:18:42,717 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 14:18:42,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18362496 passed 2026-02-16 14:18:42,717 - DEBUG - ====Verifying policy data for ctest-vn-18362496 in API_Server ====== 2026-02-16 14:18:42,717 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-16 14:18:42,724 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20 2026-02-16 14:18:42,733 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b 2026-02-16 14:18:42,798 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648 2026-02-16 14:18:42,807 - DEBUG - ==>Verifying data for policy with id: 568b06ca-7dc2-4aab-9cdf-eb302cf83d4b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-policy-allow-all-87213080'] 2026-02-16 14:18:42,807 - INFO - VN ctest-vn-18362496 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 14:18:42,807 - DEBUG - Verifying the vn in opserver 2026-02-16 14:18:42,807 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496 virtual network link through opserver 10.0.0.242 2026-02-16 14:18:42,807 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-16 14:18:42,816 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496?flat'} 2026-02-16 14:18:42,816 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496 is found in opserver 2026-02-16 14:18:42,824 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 14:18:42,829 - DEBUG - VRF ids for VN ctest-vn-18362496: {} 2026-02-16 14:18:42,882 - DEBUG - Services list from nova: [, , ] 2026-02-16 14:18:43,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5334-1) 2026-02-16 14:18:44,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5334-1) 2026-02-16 14:18:44,935 - INFO - Waiting for VM ctest-TestBasicPolicy-23018108-71748308 to be up.. 2026-02-16 14:18:45,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-16 14:18:50,082 - DEBUG - VM is in ACTIVE state now 2026-02-16 14:18:50,083 - INFO - VM name : ctest-TestBasicPolicy-23018108-71748308 2026-02-16 14:18:50,153 - DEBUG - VM ctest-TestBasicPolicy-23018108-71748308 ID is 0cef3bd8-f30a-49c6-9244-0fea87c088ec 2026-02-16 14:18:50,170 - DEBUG - VM ctest-TestBasicPolicy-23018108-71748308 launched on Node cn-jenkins-deploy-platform-ansible-os-5334-1 2026-02-16 14:18:50,236 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0cef3bd8-f30a-49c6-9244-0fea87c088ec 2026-02-16 14:18:50,244 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/09b74f82-58b6-40ba-8d5e-2041c847f5c1 2026-02-16 14:18:53,485 - 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-16 14:18:53,485 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23018108-71748308 failed! 2026-02-16 14:18:53,543 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256 is 91.18.33.193 and allocation pool is NOT set 2026-02-16 14:18:55,608 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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 = 0.456/1.702/2.948/1.246 ms') 2026-02-16 14:18:55,608 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23018108-71748308 passed 2026-02-16 14:18:55,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 14:18:55,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23018108-71748308, IP 91.18.33.195, Port 22 2026-02-16 14:18:55,914 - DEBUG - VM ctest-TestBasicPolicy-23018108-71748308 is ready for SSH connections 2026-02-16 14:18:55,914 - INFO - Waiting for VM ctest-TestBasicPolicy-23018108-40386639 to be up.. 2026-02-16 14:18:55,993 - DEBUG - VM is in ACTIVE state now 2026-02-16 14:18:55,993 - INFO - VM name : ctest-TestBasicPolicy-23018108-40386639 2026-02-16 14:18:56,063 - DEBUG - VM ctest-TestBasicPolicy-23018108-40386639 ID is 86913bd5-00de-4023-9357-bafce81fc571 2026-02-16 14:18:56,064 - DEBUG - VM ctest-TestBasicPolicy-23018108-40386639 launched on Node cn-jenkins-deploy-platform-ansible-os-5334-1 2026-02-16 14:18:56,135 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/86913bd5-00de-4023-9357-bafce81fc571 2026-02-16 14:18:56,144 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f61e7939-dbb6-480c-b4fd-a540960d568e 2026-02-16 14:18:57,383 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.640/2.838/1.198 ms') 2026-02-16 14:18:57,384 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23018108-40386639 passed 2026-02-16 14:18:57,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 14:18:57,535 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23018108-40386639, IP 139.0.156.195, Port 22 2026-02-16 14:18:57,689 - DEBUG - VM ctest-TestBasicPolicy-23018108-40386639 is ready for SSH connections 2026-02-16 14:18:57,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 14:18:57,690 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.0.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-16 14:18:57,690 - DEBUG - ping -s 56 -c 3 -W 1 139.0.156.195 2026-02-16 14:19:01,696 - DEBUG - PING 139.0.156.195 (139.0.156.195): 56 data bytes 64 bytes from 139.0.156.195: seq=0 ttl=63 time=4.138 ms 64 bytes from 139.0.156.195: seq=1 ttl=63 time=0.855 ms 64 bytes from 139.0.156.195: seq=2 ttl=63 time=0.782 ms --- 139.0.156.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.925/4.138 ms 2026-02-16 14:19:01,696 - INFO - Ping to IP 139.0.156.195 from VM ctest-TestBasicPolicy-23018108-71748308 passed 2026-02-16 14:19:01,870 - DEBUG - Policy Update Response {"network-policy": {"uuid": "568b06ca-7dc2-4aab-9cdf-eb302cf83d4b", "href": "http://10.0.0.242:8082/network-policy/568b06ca-7dc2-4aab-9cdf-eb302cf83d4b"}} 2026-02-16 14:19:01,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 14:19:01,870 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.0.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-16 14:19:01,871 - DEBUG - ping -s 56 -c 3 -W 1 139.0.156.195 2026-02-16 14:19:05,080 - DEBUG - PING 139.0.156.195 (139.0.156.195): 56 data bytes --- 139.0.156.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-16 14:19:05,080 - WARNING - Ping to IP 139.0.156.195 from VM ctest-TestBasicPolicy-23018108-71748308 failed 2026-02-16 14:19:05,080 - INFO - Deleting VM ctest-TestBasicPolicy-23018108-40386639 2026-02-16 14:19:05,139 - INFO - Deleting VM ctest-TestBasicPolicy-23018108-71748308 2026-02-16 14:19:05,459 - INFO - Deleted policy ctest-policy-allow-all-87213080 2026-02-16 14:19:05,459 - INFO - Deleting VN ctest-vn-18362496 2026-02-16 14:19:05,499 - DEBUG - VN 5db5656e-f633-4dbc-ace6-6a88768ce648 still in use: Unable to complete operation on network 5db5656e-f633-4dbc-ace6-6a88768ce648. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-247dd09b-1449-42b7-8808-3c528dc2c9db'] 2026-02-16 14:19:05,499 - WARNING - Deleting VN ctest-vn-18362496 failed..Will retry 2026-02-16 14:19:07,659 - DEBUG - Response for deleting network () 2026-02-16 14:19:07,659 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8 2026-02-16 14:19:07,664 - DEBUG - Response Code: 404 2026-02-16 14:19:07,664 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-16 14:19:07,669 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20 2026-02-16 14:19:07,723 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b 2026-02-16 14:19:07,792 - INFO - Validated that VN ctest-vn-18362496 is not found in API Server 2026-02-16 14:19:07,801 - DEBUG - VN ctest-vn-18362496 is not present in Agent 10.0.0.242 2026-02-16 14:19:07,801 - INFO - Validated that VN ctest-vn-18362496 is not in any agent 2026-02-16 14:19:07,815 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18362496 info 2026-02-16 14:19:07,815 - INFO - Deleting VN ctest-vn-36012256 2026-02-16 14:19:07,904 - DEBUG - Response for deleting network () 2026-02-16 14:19:07,906 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2 2026-02-16 14:19:07,911 - DEBUG - Response Code: 404 2026-02-16 14:19:07,911 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-16 14:19:07,916 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20 2026-02-16 14:19:07,967 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b 2026-02-16 14:19:08,033 - INFO - Validated that VN ctest-vn-36012256 is not found in API Server 2026-02-16 14:19:08,044 - DEBUG - VN ctest-vn-36012256 is not present in Agent 10.0.0.242 2026-02-16 14:19:08,044 - INFO - Validated that VN ctest-vn-36012256 is not in any agent 2026-02-16 14:19:08,058 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36012256 info 2026-02-16 14:19:08,311 - DEBUG - No XMPP flaps were noticed during the test
2026-02-16 14:19:08,311 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-16 14:19:08,311 - INFO - -------------------------------------------------------------------------------- 2026-02-16 14:19:08,973 - INFO - Deleted project: ctest-TestBasicPolicy-23018108, ID : 405ca84b-3f9c-470e-8db0-581c9a1b763b