2026-01-26 18:52:12,291 - INFO - Domain Default found not creating 2026-01-26 18:52:12,563 - INFO - Project ctest-TestBasicPolicy-37072474 not found, creating it 2026-01-26 18:52:13,121 - INFO - Created Project:ctest-TestBasicPolicy-37072474, ID : 49b0219a-0902-41ac-9eb0-fbaa322d30a4 2026-01-26 18:52:15,003 - INFO - ================================================================================ 2026-01-26 18:52:15,003 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-26 18:52:15,004 - 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-01-26 18:52:15,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-26 18:52:15,304 - INFO - Initial checks done. Running the testcase now 2026-01-26 18:52:15,304 - INFO - 2026-01-26 18:52:15,994 - DEBUG - Response for create_network : {'network': {'id': '8da45d90-3cef-4fc2-897f-828c68e539b2', 'name': 'ctest-vn-02464844', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'project_id': '49b0219a090241ac9eb0fbaa322d30a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-vn-02464844'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 18:52:16,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '72d50067-65ba-45c6-8a1d-62da3314a32c', 'name': '', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'network_id': '8da45d90-3cef-4fc2-897f-828c68e539b2', 'ip_version': 4, 'cidr': '183.222.71.192/26', 'allocation_pools': [{'start': '183.222.71.194', 'end': '183.222.71.254'}], 'gateway_ip': '183.222.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.222.71.194', 'tags': [], 'project_id': '49b0219a090241ac9eb0fbaa322d30a4'}} 2026-01-26 18:52:16,181 - INFO - Created VN ctest-vn-02464844 2026-01-26 18:52:16,233 - DEBUG - VN ctest-vn-02464844 UUID is 8da45d90-3cef-4fc2-897f-828c68e539b2 2026-01-26 18:52:16,558 - DEBUG - Response for create_network : {'network': {'id': 'ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b', 'name': 'ctest-vn-71418881', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'project_id': '49b0219a090241ac9eb0fbaa322d30a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-vn-71418881'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 18:52:16,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '15a8b527-31b6-4086-b398-96bf83a55654', 'name': '', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'network_id': 'ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b', 'ip_version': 4, 'cidr': '70.234.140.64/26', 'allocation_pools': [{'start': '70.234.140.66', 'end': '70.234.140.126'}], 'gateway_ip': '70.234.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.234.140.66', 'tags': [], 'project_id': '49b0219a090241ac9eb0fbaa322d30a4'}} 2026-01-26 18:52:16,827 - INFO - Created VN ctest-vn-71418881 2026-01-26 18:52:16,885 - DEBUG - VN ctest-vn-71418881 UUID is ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b 2026-01-26 18:52:17,012 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844, 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-37072474:ctest-vn-71418881, 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-01-26 18:52:17,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8da45d90-3cef-4fc2-897f-828c68e539b2', 'name': 'ctest-vn-02464844', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'project_id': '49b0219a090241ac9eb0fbaa322d30a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72d50067-65ba-45c6-8a1d-62da3314a32c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-vn-02464844'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-policy-allow-all-49814212']], 'subnet_ipam': [{'subnet_cidr': '183.222.71.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 18:52:17,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b', 'name': 'ctest-vn-71418881', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'project_id': '49b0219a090241ac9eb0fbaa322d30a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['15a8b527-31b6-4086-b398-96bf83a55654'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-vn-71418881'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-policy-allow-all-49814212']], 'subnet_ipam': [{'subnet_cidr': '70.234.140.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 18:52:17,777 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 18:52:18,090 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 18:52:18,129 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4 2026-01-26 18:52:18,154 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4 2026-01-26 18:52:18,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2 2026-01-26 18:52:18,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2 2026-01-26 18:52:18,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d 2026-01-26 18:52:18,274 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d 2026-01-26 18:52:18,281 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f0f075d-dbc1-42eb-8646-b8d400428ba1 2026-01-26 18:52:18,290 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 18:52:18,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2 2026-01-26 18:52:18,301 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d 2026-01-26 18:52:18,323 - INFO - Verified VN network id 11 for VN 8da45d90-3cef-4fc2-897f-828c68e539b2 2026-01-26 18:52:18,323 - INFO - Verifications in API Server for VN ctest-vn-02464844 passed 2026-01-26 18:52:18,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2 2026-01-26 18:52:18,338 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d 2026-01-26 18:52:18,347 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d 2026-01-26 18:52:18,355 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f0f075d-dbc1-42eb-8646-b8d400428ba1 2026-01-26 18:52:18,369 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37072474', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10206385529607376834', 'uuid-lslong': '9907781244805265842'}, 'enable': 'true', 'created': '2026-01-26T18:52:15', 'last-modified': '2026-01-26T18:52:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.053410'} 2026-01-26 18:52:18,375 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 18:52:18,375 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02464844 passed 2026-01-26 18:52:18,376 - DEBUG - ====Verifying policy data for ctest-vn-02464844 in API_Server ====== 2026-01-26 18:52:18,376 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 18:52:18,382 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4 2026-01-26 18:52:18,394 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4 2026-01-26 18:52:18,473 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2 2026-01-26 18:52:18,484 - DEBUG - ==>Verifying data for policy with id: 8ada2016-af87-47ea-aaa8-81ef5ae0bd64, fqn: ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-policy-allow-all-49814212'] 2026-01-26 18:52:18,485 - INFO - VN ctest-vn-02464844 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 18:52:18,485 - DEBUG - Verifying the vn in opserver 2026-01-26 18:52:18,485 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844 virtual network link through opserver 10.0.0.38 2026-01-26 18:52:18,485 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-26 18:52:18,794 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-26 18:52:18,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844?flat'} 2026-01-26 18:52:18,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844 is found in opserver 2026-01-26 18:52:18,887 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 18:52:18,894 - DEBUG - VRF ids for VN ctest-vn-02464844: {} 2026-01-26 18:52:18,894 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 18:52:18,901 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4 2026-01-26 18:52:18,917 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4 2026-01-26 18:52:18,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b 2026-01-26 18:52:19,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b 2026-01-26 18:52:19,020 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef 2026-01-26 18:52:19,028 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef 2026-01-26 18:52:19,035 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8df2d213-94c2-4c33-99f5-86c5533be555 2026-01-26 18:52:19,043 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 18:52:19,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b 2026-01-26 18:52:19,055 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef 2026-01-26 18:52:19,072 - INFO - Verified VN network id 12 for VN ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b 2026-01-26 18:52:19,072 - INFO - Verifications in API Server for VN ctest-vn-71418881 passed 2026-01-26 18:52:19,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b 2026-01-26 18:52:19,083 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef 2026-01-26 18:52:19,092 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef 2026-01-26 18:52:19,100 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8df2d213-94c2-4c33-99f5-86c5533be555 2026-01-26 18:52:19,117 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37072474', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17175243000271948961', 'uuid-lslong': '13423737083869978219'}, 'enable': 'true', 'created': '2026-01-26T18:52:16', 'last-modified': '2026-01-26T18:52:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.544593'} 2026-01-26 18:52:19,126 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 18:52:19,126 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71418881 passed 2026-01-26 18:52:19,126 - DEBUG - ====Verifying policy data for ctest-vn-71418881 in API_Server ====== 2026-01-26 18:52:19,126 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 18:52:19,134 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4 2026-01-26 18:52:19,147 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4 2026-01-26 18:52:19,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b 2026-01-26 18:52:19,241 - DEBUG - ==>Verifying data for policy with id: 8ada2016-af87-47ea-aaa8-81ef5ae0bd64, fqn: ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-policy-allow-all-49814212'] 2026-01-26 18:52:19,241 - INFO - VN ctest-vn-71418881 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 18:52:19,242 - DEBUG - Verifying the vn in opserver 2026-01-26 18:52:19,242 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881 virtual network link through opserver 10.0.0.38 2026-01-26 18:52:19,242 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-26 18:52:19,252 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881?flat'} 2026-01-26 18:52:19,252 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881 is found in opserver 2026-01-26 18:52:19,265 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 18:52:19,272 - DEBUG - VRF ids for VN ctest-vn-71418881: {} 2026-01-26 18:52:19,347 - DEBUG - Services list from nova: [, , ] 2026-01-26 18:52:20,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5084-1) 2026-01-26 18:52:21,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5084-1) 2026-01-26 18:52:21,715 - INFO - Waiting for VM ctest-TestBasicPolicy-37072474-67467748 to be up.. 2026-01-26 18:52:21,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 18:52:26,962 - DEBUG - VM is in ACTIVE state now 2026-01-26 18:52:26,962 - INFO - VM name : ctest-TestBasicPolicy-37072474-67467748 2026-01-26 18:52:27,055 - DEBUG - VM ctest-TestBasicPolicy-37072474-67467748 ID is 16313e9c-dbe3-41ef-95ce-6194aa80bcf8 2026-01-26 18:52:27,078 - DEBUG - VM ctest-TestBasicPolicy-37072474-67467748 launched on Node cn-jenkins-deploy-platform-ansible-os-5084-1 2026-01-26 18:52:27,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/16313e9c-dbe3-41ef-95ce-6194aa80bcf8 2026-01-26 18:52:27,170 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/820e77dc-c330-4aac-8c39-7bc6577fd427 2026-01-26 18:52:30,432 - 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 1004ms') 2026-01-26 18:52:30,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37072474-67467748 failed! 2026-01-26 18:52:30,505 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844 is 183.222.71.193 and allocation pool is NOT set 2026-01-26 18:52:34,593 - 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 1022ms') 2026-01-26 18:52:34,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37072474-67467748 failed! 2026-01-26 18:52:34,658 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844 is 183.222.71.193 and allocation pool is NOT set 2026-01-26 18:52:36,739 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.790 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.790/5.014/9.238/4.224 ms') 2026-01-26 18:52:36,739 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37072474-67467748 passed 2026-01-26 18:52:36,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:52:36,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37072474-67467748, IP 183.222.71.195, Port 22 2026-01-26 18:52:37,076 - DEBUG - VM ctest-TestBasicPolicy-37072474-67467748 is ready for SSH connections 2026-01-26 18:52:37,076 - INFO - Waiting for VM ctest-TestBasicPolicy-37072474-82214816 to be up.. 2026-01-26 18:52:37,226 - DEBUG - VM is in ACTIVE state now 2026-01-26 18:52:37,227 - INFO - VM name : ctest-TestBasicPolicy-37072474-82214816 2026-01-26 18:52:37,330 - DEBUG - VM ctest-TestBasicPolicy-37072474-82214816 ID is 2c3b00a4-3955-4345-b1a9-1cff6bd1dc42 2026-01-26 18:52:37,330 - DEBUG - VM ctest-TestBasicPolicy-37072474-82214816 launched on Node cn-jenkins-deploy-platform-ansible-os-5084-1 2026-01-26 18:52:37,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2c3b00a4-3955-4345-b1a9-1cff6bd1dc42 2026-01-26 18:52:37,446 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9d8e811c-763b-4bd7-bcf0-83d8f7e94477 2026-01-26 18:52:38,702 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.827 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.827/2.684/4.542/1.857 ms') 2026-01-26 18:52:38,702 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37072474-82214816 passed 2026-01-26 18:52:38,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:52:38,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37072474-82214816, IP 70.234.140.67, Port 22 2026-01-26 18:52:39,061 - DEBUG - VM ctest-TestBasicPolicy-37072474-82214816 is ready for SSH connections 2026-01-26 18:52:39,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:52:39,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.234.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-26 18:52:39,062 - DEBUG - ping -s 56 -c 3 -W 1 70.234.140.67 2026-01-26 18:52:43,345 - DEBUG - PING 70.234.140.67 (70.234.140.67): 56 data bytes 64 bytes from 70.234.140.67: seq=0 ttl=63 time=4.039 ms 64 bytes from 70.234.140.67: seq=1 ttl=63 time=0.847 ms 64 bytes from 70.234.140.67: seq=2 ttl=63 time=2.561 ms --- 70.234.140.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/2.482/4.039 ms 2026-01-26 18:52:43,345 - INFO - Ping to IP 70.234.140.67 from VM ctest-TestBasicPolicy-37072474-67467748 passed 2026-01-26 18:52:43,541 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8ada2016-af87-47ea-aaa8-81ef5ae0bd64", "href": "http://10.0.0.38:8082/network-policy/8ada2016-af87-47ea-aaa8-81ef5ae0bd64"}} 2026-01-26 18:52:43,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:52:43,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.234.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-26 18:52:43,541 - DEBUG - ping -s 56 -c 3 -W 1 70.234.140.67 2026-01-26 18:52:46,834 - DEBUG - PING 70.234.140.67 (70.234.140.67): 56 data bytes --- 70.234.140.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-26 18:52:46,835 - WARNING - Ping to IP 70.234.140.67 from VM ctest-TestBasicPolicy-37072474-67467748 failed 2026-01-26 18:52:46,835 - INFO - Deleting VM ctest-TestBasicPolicy-37072474-82214816 2026-01-26 18:52:46,955 - INFO - Deleting VM ctest-TestBasicPolicy-37072474-67467748 2026-01-26 18:52:47,461 - INFO - Deleted policy ctest-policy-allow-all-49814212 2026-01-26 18:52:47,461 - INFO - Deleting VN ctest-vn-71418881 2026-01-26 18:52:47,502 - DEBUG - VN ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b still in use: Unable to complete operation on network ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b173a3b8-be36-49d2-a84a-2459d224765a'] 2026-01-26 18:52:47,502 - WARNING - Deleting VN ctest-vn-71418881 failed..Will retry 2026-01-26 18:52:49,718 - DEBUG - Response for deleting network () 2026-01-26 18:52:49,718 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef 2026-01-26 18:52:49,728 - DEBUG - Response Code: 404 2026-01-26 18:52:49,728 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 18:52:49,738 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4 2026-01-26 18:52:49,803 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4 2026-01-26 18:52:49,893 - INFO - Validated that VN ctest-vn-71418881 is not found in API Server 2026-01-26 18:52:49,909 - DEBUG - VN ctest-vn-71418881 is not present in Agent 10.0.0.38 2026-01-26 18:52:49,910 - INFO - Validated that VN ctest-vn-71418881 is not in any agent 2026-01-26 18:52:49,932 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71418881 info 2026-01-26 18:52:49,933 - INFO - Deleting VN ctest-vn-02464844 2026-01-26 18:52:50,061 - DEBUG - Response for deleting network () 2026-01-26 18:52:50,061 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d 2026-01-26 18:52:50,073 - DEBUG - Response Code: 404 2026-01-26 18:52:50,073 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 18:52:50,080 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4 2026-01-26 18:52:50,134 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4 2026-01-26 18:52:50,211 - INFO - Validated that VN ctest-vn-02464844 is not found in API Server 2026-01-26 18:52:50,230 - DEBUG - VN ctest-vn-02464844 is not present in Agent 10.0.0.38 2026-01-26 18:52:50,231 - INFO - Validated that VN ctest-vn-02464844 is not in any agent 2026-01-26 18:52:50,254 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02464844 info 2026-01-26 18:52:50,532 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 18:52:50,532 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-26 18:52:50,532 - INFO - -------------------------------------------------------------------------------- 2026-01-26 18:52:51,307 - INFO - Deleted project: ctest-TestBasicPolicy-37072474, ID : 49b0219a-0902-41ac-9eb0-fbaa322d30a4