2026-10-01 15:24:39,022 - INFO - Domain Default found not creating 2026-10-01 15:24:39,226 - INFO - Project ctest-TestBasicPolicy-23874919 not found, creating it 2026-10-01 15:24:39,745 - INFO - Created Project:ctest-TestBasicPolicy-23874919, ID : 405ae51a-38d1-4138-823a-ee4e12f30efc 2026-10-01 15:24:41,610 - INFO - ================================================================================ 2026-10-01 15:24:41,610 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-01 15:24:41,611 - 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-10-01 15:24:41,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-10-01 15:24:41,885 - INFO - Initial checks done. Running the testcase now 2026-10-01 15:24:41,885 - INFO - 2026-10-01 15:24:42,594 - DEBUG - Response for create_network : {'network': {'id': 'd73e764c-c933-4a6a-afaf-3973eb237dbd', 'name': 'ctest-vn-74409893', 'tenant_id': '405ae51a38d14138823aee4e12f30efc', 'project_id': '405ae51a38d14138823aee4e12f30efc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23874919', 'ctest-vn-74409893'], 'port_security_enabled': True, 'description': ''}} 2026-10-01 15:24:42,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '13653af9-025d-46bf-b182-58d6088cd66e', 'name': '', 'tenant_id': '405ae51a38d14138823aee4e12f30efc', 'network_id': 'd73e764c-c933-4a6a-afaf-3973eb237dbd', 'ip_version': 4, 'cidr': '54.245.87.128/26', 'allocation_pools': [{'start': '54.245.87.130', 'end': '54.245.87.190'}], 'gateway_ip': '54.245.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.245.87.130', 'tags': [], 'project_id': '405ae51a38d14138823aee4e12f30efc'}} 2026-10-01 15:24:42,860 - INFO - Created VN ctest-vn-74409893 2026-10-01 15:24:42,916 - DEBUG - VN ctest-vn-74409893 UUID is d73e764c-c933-4a6a-afaf-3973eb237dbd 2026-10-01 15:24:43,287 - DEBUG - Response for create_network : {'network': {'id': '4dec79e4-8195-4c4d-aed8-532fa728b29e', 'name': 'ctest-vn-04317892', 'tenant_id': '405ae51a38d14138823aee4e12f30efc', 'project_id': '405ae51a38d14138823aee4e12f30efc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23874919', 'ctest-vn-04317892'], 'port_security_enabled': True, 'description': ''}} 2026-10-01 15:24:43,510 - DEBUG - Response for create_subnet : {'subnet': {'id': '88e9d40b-871a-44c2-8d9a-d0d65db425bd', 'name': '', 'tenant_id': '405ae51a38d14138823aee4e12f30efc', 'network_id': '4dec79e4-8195-4c4d-aed8-532fa728b29e', 'ip_version': 4, 'cidr': '166.239.61.192/26', 'allocation_pools': [{'start': '166.239.61.194', 'end': '166.239.61.254'}], 'gateway_ip': '166.239.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.239.61.194', 'tags': [], 'project_id': '405ae51a38d14138823aee4e12f30efc'}} 2026-10-01 15:24:43,529 - INFO - Created VN ctest-vn-04317892 2026-10-01 15:24:43,584 - DEBUG - VN ctest-vn-04317892 UUID is 4dec79e4-8195-4c4d-aed8-532fa728b29e 2026-10-01 15:24:43,706 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-74409893, 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-23874919:ctest-vn-04317892, 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-10-01 15:24:44,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd73e764c-c933-4a6a-afaf-3973eb237dbd', 'name': 'ctest-vn-74409893', 'tenant_id': '405ae51a38d14138823aee4e12f30efc', 'project_id': '405ae51a38d14138823aee4e12f30efc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['13653af9-025d-46bf-b182-58d6088cd66e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23874919', 'ctest-vn-74409893'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23874919', 'ctest-policy-allow-all-51699563']], 'subnet_ipam': [{'subnet_cidr': '54.245.87.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-01 15:24:44,313 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4dec79e4-8195-4c4d-aed8-532fa728b29e', 'name': 'ctest-vn-04317892', 'tenant_id': '405ae51a38d14138823aee4e12f30efc', 'project_id': '405ae51a38d14138823aee4e12f30efc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['88e9d40b-871a-44c2-8d9a-d0d65db425bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23874919', 'ctest-vn-04317892'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23874919', 'ctest-policy-allow-all-51699563']], 'subnet_ipam': [{'subnet_cidr': '166.239.61.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-01 15:24:44,480 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-01 15:24:44,864 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-01 15:24:44,898 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd25e915-831b-460e-89e9-be5dae3eb79a 2026-10-01 15:24:44,913 - DEBUG - Requesting: http://10.0.0.50:8082/project/405ae51a-38d1-4138-823a-ee4e12f30efc 2026-10-01 15:24:45,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d73e764c-c933-4a6a-afaf-3973eb237dbd 2026-10-01 15:24:45,016 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d73e764c-c933-4a6a-afaf-3973eb237dbd 2026-10-01 15:24:45,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96c3dcac-47af-4da3-953c-bfc337c927c4 2026-10-01 15:24:45,039 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96c3dcac-47af-4da3-953c-bfc337c927c4 2026-10-01 15:24:45,049 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d38595f2-6df9-4714-bcab-eb8b1b3324c7 2026-10-01 15:24:45,057 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-01 15:24:45,057 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d73e764c-c933-4a6a-afaf-3973eb237dbd 2026-10-01 15:24:45,069 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96c3dcac-47af-4da3-953c-bfc337c927c4 2026-10-01 15:24:45,089 - INFO - Verified VN network id 12 for VN d73e764c-c933-4a6a-afaf-3973eb237dbd 2026-10-01 15:24:45,089 - INFO - Verifications in API Server for VN ctest-vn-74409893 passed 2026-10-01 15:24:45,089 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d73e764c-c933-4a6a-afaf-3973eb237dbd 2026-10-01 15:24:45,102 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96c3dcac-47af-4da3-953c-bfc337c927c4 2026-10-01 15:24:45,111 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96c3dcac-47af-4da3-953c-bfc337c927c4 2026-10-01 15:24:45,121 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d38595f2-6df9-4714-bcab-eb8b1b3324c7 2026-10-01 15:24:45,137 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-74409893', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23874919', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15509964238875740778', 'uuid-lslong': '12659400247590747581'}, 'enable': 'true', 'created': '2026-10-01T15:24:42', 'last-modified': '2026-10-01T15:24:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.121483'} 2026-10-01 15:24:45,144 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-01 15:24:45,144 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74409893 passed 2026-10-01 15:24:45,145 - DEBUG - ====Verifying policy data for ctest-vn-74409893 in API_Server ====== 2026-10-01 15:24:45,145 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-01 15:24:45,151 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd25e915-831b-460e-89e9-be5dae3eb79a 2026-10-01 15:24:45,163 - DEBUG - Requesting: http://10.0.0.50:8082/project/405ae51a-38d1-4138-823a-ee4e12f30efc 2026-10-01 15:24:45,243 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d73e764c-c933-4a6a-afaf-3973eb237dbd 2026-10-01 15:24:45,255 - DEBUG - ==>Verifying data for policy with id: b667e717-2f77-4641-b628-1572126bbe7e, fqn: ['default-domain', 'ctest-TestBasicPolicy-23874919', 'ctest-policy-allow-all-51699563'] 2026-10-01 15:24:45,256 - INFO - VN ctest-vn-74409893 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-01 15:24:45,256 - DEBUG - Verifying the vn in opserver 2026-10-01 15:24:45,256 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-74409893 virtual network link through opserver 10.0.0.50 2026-10-01 15:24:45,256 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-01 15:24:45,637 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-01 15:24:45,704 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-74409893', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-74409893?flat'} 2026-10-01 15:24:45,704 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-74409893 is found in opserver 2026-10-01 15:24:45,717 - DEBUG - Do not have enough data to verify VN in agent 2026-10-01 15:24:45,722 - DEBUG - VRF ids for VN ctest-vn-74409893: {} 2026-10-01 15:24:45,722 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-01 15:24:45,729 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd25e915-831b-460e-89e9-be5dae3eb79a 2026-10-01 15:24:45,742 - DEBUG - Requesting: http://10.0.0.50:8082/project/405ae51a-38d1-4138-823a-ee4e12f30efc 2026-10-01 15:24:45,826 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dec79e4-8195-4c4d-aed8-532fa728b29e 2026-10-01 15:24:45,842 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dec79e4-8195-4c4d-aed8-532fa728b29e 2026-10-01 15:24:45,854 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1ffe8002-b7d2-4ed0-beb7-69b8b7ea12f9 2026-10-01 15:24:45,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1ffe8002-b7d2-4ed0-beb7-69b8b7ea12f9 2026-10-01 15:24:45,871 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fa4a0bda-b9ef-4e1a-b8a9-36ed6dce36ff 2026-10-01 15:24:45,879 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-01 15:24:45,879 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dec79e4-8195-4c4d-aed8-532fa728b29e 2026-10-01 15:24:45,890 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1ffe8002-b7d2-4ed0-beb7-69b8b7ea12f9 2026-10-01 15:24:45,910 - INFO - Verified VN network id 13 for VN 4dec79e4-8195-4c4d-aed8-532fa728b29e 2026-10-01 15:24:45,910 - INFO - Verifications in API Server for VN ctest-vn-04317892 passed 2026-10-01 15:24:45,910 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dec79e4-8195-4c4d-aed8-532fa728b29e 2026-10-01 15:24:45,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1ffe8002-b7d2-4ed0-beb7-69b8b7ea12f9 2026-10-01 15:24:45,930 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1ffe8002-b7d2-4ed0-beb7-69b8b7ea12f9 2026-10-01 15:24:45,938 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fa4a0bda-b9ef-4e1a-b8a9-36ed6dce36ff 2026-10-01 15:24:45,954 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-04317892', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23874919', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5614996857757715533', 'uuid-lslong': '12598911421701993118'}, 'enable': 'true', 'created': '2026-10-01T15:24:43', 'last-modified': '2026-10-01T15:24:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.673476'} 2026-10-01 15:24:45,962 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-01 15:24:45,962 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04317892 passed 2026-10-01 15:24:45,962 - DEBUG - ====Verifying policy data for ctest-vn-04317892 in API_Server ====== 2026-10-01 15:24:45,962 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-01 15:24:45,969 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd25e915-831b-460e-89e9-be5dae3eb79a 2026-10-01 15:24:45,986 - DEBUG - Requesting: http://10.0.0.50:8082/project/405ae51a-38d1-4138-823a-ee4e12f30efc 2026-10-01 15:24:46,075 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dec79e4-8195-4c4d-aed8-532fa728b29e 2026-10-01 15:24:46,087 - DEBUG - ==>Verifying data for policy with id: b667e717-2f77-4641-b628-1572126bbe7e, fqn: ['default-domain', 'ctest-TestBasicPolicy-23874919', 'ctest-policy-allow-all-51699563'] 2026-10-01 15:24:46,087 - INFO - VN ctest-vn-04317892 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-01 15:24:46,087 - DEBUG - Verifying the vn in opserver 2026-10-01 15:24:46,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-04317892 virtual network link through opserver 10.0.0.50 2026-10-01 15:24:46,088 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-01 15:24:46,100 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-04317892', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-04317892?flat'} 2026-10-01 15:24:46,100 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-04317892 is found in opserver 2026-10-01 15:24:46,111 - DEBUG - Do not have enough data to verify VN in agent 2026-10-01 15:24:46,119 - DEBUG - VRF ids for VN ctest-vn-04317892: {} 2026-10-01 15:24:46,192 - DEBUG - Services list from nova: [, , ] 2026-10-01 15:24:46,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6336-1) 2026-10-01 15:24:47,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6336-1) 2026-10-01 15:24:47,155 - INFO - Waiting for VM ctest-TestBasicPolicy-23874919-27196574 to be up.. 2026-10-01 15:24:47,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 15:24:52,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 15:24:57,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 15:25:02,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 15:25:07,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 15:25:12,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 15:25:17,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 15:25:22,851 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 15:25:27,940 - DEBUG - VM is in ACTIVE state now 2026-10-01 15:25:27,940 - INFO - VM name : ctest-TestBasicPolicy-23874919-27196574 2026-10-01 15:25:28,042 - DEBUG - VM ctest-TestBasicPolicy-23874919-27196574 ID is 1f7217b7-922f-4a5c-9283-76cf0fd775e6 2026-10-01 15:25:28,066 - DEBUG - VM ctest-TestBasicPolicy-23874919-27196574 launched on Node cn-jenkins-deploy-platform-ansible-os-6336-1 2026-10-01 15:25:28,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1f7217b7-922f-4a5c-9283-76cf0fd775e6 2026-10-01 15:25:28,179 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a033cc33-5c89-4d89-9a56-5ed80eda48d3 2026-10-01 15:25:31,457 - 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 1021ms') 2026-10-01 15:25:31,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23874919-27196574 failed! 2026-10-01 15:25:31,512 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23874919:ctest-vn-74409893 is 54.245.87.129 and allocation pool is NOT set 2026-10-01 15:25:35,594 - 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=2 ttl=63 time=3.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 3.013/3.013/3.013/0.000 ms') 2026-10-01 15:25:35,595 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23874919-27196574 passed 2026-10-01 15:25:35,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 15:25:35,748 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23874919-27196574, IP 54.245.87.131, Port 22 2026-10-01 15:25:35,815 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-01 15:25:35,902 - DEBUG - VM ctest-TestBasicPolicy-23874919-27196574 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-01 15:25:40,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 15:25:40,904 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23874919-27196574, IP 54.245.87.131, Port 22 2026-10-01 15:25:41,075 - DEBUG - VM ctest-TestBasicPolicy-23874919-27196574 is ready for SSH connections 2026-10-01 15:25:41,075 - INFO - Waiting for VM ctest-TestBasicPolicy-23874919-84384354 to be up.. 2026-10-01 15:25:41,168 - DEBUG - VM is in ACTIVE state now 2026-10-01 15:25:41,168 - INFO - VM name : ctest-TestBasicPolicy-23874919-84384354 2026-10-01 15:25:41,257 - DEBUG - VM ctest-TestBasicPolicy-23874919-84384354 ID is bdf1d32a-5e38-4259-981e-9fb8c82a8869 2026-10-01 15:25:41,258 - DEBUG - VM ctest-TestBasicPolicy-23874919-84384354 launched on Node cn-jenkins-deploy-platform-ansible-os-6336-1 2026-10-01 15:25:41,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bdf1d32a-5e38-4259-981e-9fb8c82a8869 2026-10-01 15:25:41,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f26ecccc-b10d-4383-b6c1-7e4d635b7508 2026-10-01 15:25:42,606 - 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=3.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/2.238/3.966/1.728 ms') 2026-10-01 15:25:42,606 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23874919-84384354 passed 2026-10-01 15:25:42,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 15:25:42,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23874919-84384354, IP 166.239.61.195, Port 22 2026-10-01 15:25:42,926 - DEBUG - VM ctest-TestBasicPolicy-23874919-84384354 is ready for SSH connections 2026-10-01 15:25:42,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 15:25:42,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.239.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-01 15:25:42,927 - DEBUG - ping -s 56 -c 3 -W 1 166.239.61.195 2026-10-01 15:25:47,014 - DEBUG - PING 166.239.61.195 (166.239.61.195): 56 data bytes 64 bytes from 166.239.61.195: seq=0 ttl=63 time=6.334 ms 64 bytes from 166.239.61.195: seq=1 ttl=63 time=0.966 ms 64 bytes from 166.239.61.195: seq=2 ttl=63 time=1.016 ms --- 166.239.61.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.966/2.772/6.334 ms 2026-10-01 15:25:47,014 - INFO - Ping to IP 166.239.61.195 from VM ctest-TestBasicPolicy-23874919-27196574 passed 2026-10-01 15:25:47,204 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b667e717-2f77-4641-b628-1572126bbe7e", "href": "http://10.0.0.50:8082/network-policy/b667e717-2f77-4641-b628-1572126bbe7e"}} 2026-10-01 15:25:47,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 15:25:47,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.239.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-01 15:25:47,204 - DEBUG - ping -s 56 -c 3 -W 1 166.239.61.195 2026-10-01 15:25:50,343 - DEBUG - PING 166.239.61.195 (166.239.61.195): 56 data bytes 64 bytes from 166.239.61.195: seq=0 ttl=63 time=1.672 ms --- 166.239.61.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.672/1.672/1.672 ms 2026-10-01 15:25:50,343 - WARNING - Ping to IP 166.239.61.195 from VM ctest-TestBasicPolicy-23874919-27196574 failed 2026-10-01 15:25:50,343 - INFO - Deleting VM ctest-TestBasicPolicy-23874919-84384354 2026-10-01 15:25:50,424 - INFO - Deleting VM ctest-TestBasicPolicy-23874919-27196574 2026-10-01 15:25:50,838 - INFO - Deleted policy ctest-policy-allow-all-51699563 2026-10-01 15:25:50,839 - INFO - Deleting VN ctest-vn-04317892 2026-10-01 15:25:50,876 - DEBUG - VN 4dec79e4-8195-4c4d-aed8-532fa728b29e still in use: Unable to complete operation on network 4dec79e4-8195-4c4d-aed8-532fa728b29e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d1b31067-98c8-487f-88f7-491583832899'] 2026-10-01 15:25:50,876 - WARNING - Deleting VN ctest-vn-04317892 failed..Will retry 2026-10-01 15:25:53,048 - DEBUG - Response for deleting network () 2026-10-01 15:25:53,049 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1ffe8002-b7d2-4ed0-beb7-69b8b7ea12f9 2026-10-01 15:25:53,059 - DEBUG - Response Code: 404 2026-10-01 15:25:53,059 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-01 15:25:53,067 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd25e915-831b-460e-89e9-be5dae3eb79a 2026-10-01 15:25:53,124 - DEBUG - Requesting: http://10.0.0.50:8082/project/405ae51a-38d1-4138-823a-ee4e12f30efc 2026-10-01 15:25:53,214 - INFO - Validated that VN ctest-vn-04317892 is not found in API Server 2026-10-01 15:25:53,232 - DEBUG - VN ctest-vn-04317892 is not present in Agent 10.0.0.50 2026-10-01 15:25:53,232 - INFO - Validated that VN ctest-vn-04317892 is not in any agent 2026-10-01 15:25:53,250 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04317892 info 2026-10-01 15:25:53,251 - INFO - Deleting VN ctest-vn-74409893 2026-10-01 15:25:53,387 - DEBUG - Response for deleting network () 2026-10-01 15:25:53,387 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96c3dcac-47af-4da3-953c-bfc337c927c4 2026-10-01 15:25:53,396 - DEBUG - Response Code: 404 2026-10-01 15:25:53,396 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-01 15:25:53,403 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd25e915-831b-460e-89e9-be5dae3eb79a 2026-10-01 15:25:53,457 - DEBUG - Requesting: http://10.0.0.50:8082/project/405ae51a-38d1-4138-823a-ee4e12f30efc 2026-10-01 15:25:53,538 - INFO - Validated that VN ctest-vn-74409893 is not found in API Server 2026-10-01 15:25:53,552 - DEBUG - VN ctest-vn-74409893 is not present in Agent 10.0.0.50 2026-10-01 15:25:53,552 - INFO - Validated that VN ctest-vn-74409893 is not in any agent 2026-10-01 15:25:53,576 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74409893 info 2026-10-01 15:25:53,858 - DEBUG - No XMPP flaps were noticed during the test 2026-10-01 15:25:53,858 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-10-01 15:25:53,858 - INFO - -------------------------------------------------------------------------------- 2026-10-01 15:25:54,710 - INFO - Deleted project: ctest-TestBasicPolicy-23874919, ID : 405ae51a-38d1-4138-823a-ee4e12f30efc