2026-08-15 15:33:44,314 - INFO - Domain Default found not creating 2026-08-15 15:33:44,477 - INFO - Project ctest-TestBasicPolicy-05539627 not found, creating it 2026-08-15 15:33:44,970 - INFO - Created Project:ctest-TestBasicPolicy-05539627, ID : 84e655c9-fabc-4492-b1a8-d620057cc2ae 2026-08-15 15:33:46,679 - INFO - ================================================================================ 2026-08-15 15:33:46,679 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-15 15:33:46,679 - 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-08-15 15:33:46,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-15 15:33:46,954 - INFO - Initial checks done. Running the testcase now 2026-08-15 15:33:46,954 - INFO - 2026-08-15 15:33:47,616 - DEBUG - Response for create_network : {'network': {'id': 'c720c7ae-5982-413e-9385-91b1f667896f', 'name': 'ctest-vn-24626665', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'project_id': '84e655c9fabc4492b1a8d620057cc2ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-vn-24626665'], 'port_security_enabled': True, 'description': ''}} 2026-08-15 15:33:47,845 - DEBUG - Response for create_subnet : {'subnet': {'id': '8958b1cb-3c00-403a-9b33-d9dc4b9bf466', 'name': '', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'network_id': 'c720c7ae-5982-413e-9385-91b1f667896f', 'ip_version': 4, 'cidr': '98.74.147.0/26', 'allocation_pools': [{'start': '98.74.147.2', 'end': '98.74.147.62'}], 'gateway_ip': '98.74.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.74.147.2', 'tags': [], 'project_id': '84e655c9fabc4492b1a8d620057cc2ae'}} 2026-08-15 15:33:47,863 - INFO - Created VN ctest-vn-24626665 2026-08-15 15:33:47,916 - DEBUG - VN ctest-vn-24626665 UUID is c720c7ae-5982-413e-9385-91b1f667896f 2026-08-15 15:33:48,242 - DEBUG - Response for create_network : {'network': {'id': '89f2e2ae-65de-4399-b96a-3e51cbe676cf', 'name': 'ctest-vn-39434286', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'project_id': '84e655c9fabc4492b1a8d620057cc2ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-vn-39434286'], 'port_security_enabled': True, 'description': ''}} 2026-08-15 15:33:48,465 - DEBUG - Response for create_subnet : {'subnet': {'id': '87c82418-2ff7-4bd1-9fc4-9bd7d8b5828f', 'name': '', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'network_id': '89f2e2ae-65de-4399-b96a-3e51cbe676cf', 'ip_version': 4, 'cidr': '68.127.173.192/26', 'allocation_pools': [{'start': '68.127.173.194', 'end': '68.127.173.254'}], 'gateway_ip': '68.127.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.127.173.194', 'tags': [], 'project_id': '84e655c9fabc4492b1a8d620057cc2ae'}} 2026-08-15 15:33:48,482 - INFO - Created VN ctest-vn-39434286 2026-08-15 15:33:48,532 - DEBUG - VN ctest-vn-39434286 UUID is 89f2e2ae-65de-4399-b96a-3e51cbe676cf 2026-08-15 15:33:48,684 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665, 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-05539627:ctest-vn-39434286, 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-08-15 15:33:49,000 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c720c7ae-5982-413e-9385-91b1f667896f', 'name': 'ctest-vn-24626665', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'project_id': '84e655c9fabc4492b1a8d620057cc2ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8958b1cb-3c00-403a-9b33-d9dc4b9bf466'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-vn-24626665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-policy-allow-all-19577144']], 'subnet_ipam': [{'subnet_cidr': '98.74.147.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-15 15:33:49,216 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89f2e2ae-65de-4399-b96a-3e51cbe676cf', 'name': 'ctest-vn-39434286', 'tenant_id': '84e655c9fabc4492b1a8d620057cc2ae', 'project_id': '84e655c9fabc4492b1a8d620057cc2ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87c82418-2ff7-4bd1-9fc4-9bd7d8b5828f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-vn-39434286'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-policy-allow-all-19577144']], 'subnet_ipam': [{'subnet_cidr': '68.127.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-15 15:33:49,384 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-15 15:33:49,755 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-15 15:33:49,786 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4 2026-08-15 15:33:49,803 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae 2026-08-15 15:33:49,887 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f 2026-08-15 15:33:49,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f 2026-08-15 15:33:49,910 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd 2026-08-15 15:33:49,917 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd 2026-08-15 15:33:49,923 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c26821e2-59f4-41c6-91b6-f6683389f1b4 2026-08-15 15:33:49,930 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-15 15:33:49,930 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f 2026-08-15 15:33:49,939 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd 2026-08-15 15:33:49,952 - INFO - Verified VN network id 12 for VN c720c7ae-5982-413e-9385-91b1f667896f 2026-08-15 15:33:49,952 - INFO - Verifications in API Server for VN ctest-vn-24626665 passed 2026-08-15 15:33:49,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f 2026-08-15 15:33:49,961 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd 2026-08-15 15:33:49,968 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd 2026-08-15 15:33:49,975 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c26821e2-59f4-41c6-91b6-f6683389f1b4 2026-08-15 15:33:49,988 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05539627', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14348687964442345790', 'uuid-lslong': '10630062689007143279'}, 'enable': 'true', 'created': '2026-08-15T15:33:47', 'last-modified': '2026-08-15T15:33:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.013533'} 2026-08-15 15:33:49,997 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-15 15:33:49,997 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24626665 passed 2026-08-15 15:33:49,997 - DEBUG - ====Verifying policy data for ctest-vn-24626665 in API_Server ====== 2026-08-15 15:33:49,997 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-15 15:33:50,004 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4 2026-08-15 15:33:50,015 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae 2026-08-15 15:33:50,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c720c7ae-5982-413e-9385-91b1f667896f 2026-08-15 15:33:50,104 - DEBUG - ==>Verifying data for policy with id: 0f1e5b6b-b98f-419f-8ba1-7a1dda991c89, fqn: ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-policy-allow-all-19577144'] 2026-08-15 15:33:50,105 - INFO - VN ctest-vn-24626665 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-15 15:33:50,105 - DEBUG - Verifying the vn in opserver 2026-08-15 15:33:50,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665 virtual network link through opserver 10.0.0.50 2026-08-15 15:33:50,105 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-15 15:33:50,472 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-15 15:33:50,528 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665?flat'} 2026-08-15 15:33:50,528 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665 is found in opserver 2026-08-15 15:33:50,541 - DEBUG - Do not have enough data to verify VN in agent 2026-08-15 15:33:50,546 - DEBUG - VRF ids for VN ctest-vn-24626665: {} 2026-08-15 15:33:50,547 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-15 15:33:50,553 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4 2026-08-15 15:33:50,566 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae 2026-08-15 15:33:50,645 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf 2026-08-15 15:33:50,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf 2026-08-15 15:33:50,667 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f 2026-08-15 15:33:50,674 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f 2026-08-15 15:33:50,681 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ad8f8ece-750c-4e0a-b39c-7d864afb251f 2026-08-15 15:33:50,688 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-15 15:33:50,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf 2026-08-15 15:33:50,698 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f 2026-08-15 15:33:50,713 - INFO - Verified VN network id 13 for VN 89f2e2ae-65de-4399-b96a-3e51cbe676cf 2026-08-15 15:33:50,713 - INFO - Verifications in API Server for VN ctest-vn-39434286 passed 2026-08-15 15:33:50,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf 2026-08-15 15:33:50,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f 2026-08-15 15:33:50,732 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f 2026-08-15 15:33:50,741 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ad8f8ece-750c-4e0a-b39c-7d864afb251f 2026-08-15 15:33:50,755 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05539627', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9940256566221357977', 'uuid-lslong': '13360559765582149327'}, 'enable': 'true', 'created': '2026-08-15T15:33:48', 'last-modified': '2026-08-15T15:33:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.564695'} 2026-08-15 15:33:50,764 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-15 15:33:50,764 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39434286 passed 2026-08-15 15:33:50,764 - DEBUG - ====Verifying policy data for ctest-vn-39434286 in API_Server ====== 2026-08-15 15:33:50,764 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-15 15:33:50,771 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4 2026-08-15 15:33:50,783 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae 2026-08-15 15:33:50,858 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89f2e2ae-65de-4399-b96a-3e51cbe676cf 2026-08-15 15:33:50,869 - DEBUG - ==>Verifying data for policy with id: 0f1e5b6b-b98f-419f-8ba1-7a1dda991c89, fqn: ['default-domain', 'ctest-TestBasicPolicy-05539627', 'ctest-policy-allow-all-19577144'] 2026-08-15 15:33:50,869 - INFO - VN ctest-vn-39434286 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-15 15:33:50,869 - DEBUG - Verifying the vn in opserver 2026-08-15 15:33:50,869 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286 virtual network link through opserver 10.0.0.50 2026-08-15 15:33:50,869 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-15 15:33:50,882 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286?flat'} 2026-08-15 15:33:50,882 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-39434286 is found in opserver 2026-08-15 15:33:50,896 - DEBUG - Do not have enough data to verify VN in agent 2026-08-15 15:33:50,903 - DEBUG - VRF ids for VN ctest-vn-39434286: {} 2026-08-15 15:33:50,968 - DEBUG - Services list from nova: [, , ] 2026-08-15 15:33:51,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6165-1) 2026-08-15 15:33:51,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6165-1) 2026-08-15 15:33:51,853 - INFO - Waiting for VM ctest-TestBasicPolicy-05539627-89794821 to be up.. 2026-08-15 15:33:51,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 15:33:56,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 15:34:02,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 15:34:07,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 15:34:12,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 15:34:17,317 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 15:34:22,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 15:34:27,480 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-15 15:34:32,568 - DEBUG - VM is in ACTIVE state now 2026-08-15 15:34:32,568 - INFO - VM name : ctest-TestBasicPolicy-05539627-89794821 2026-08-15 15:34:32,643 - DEBUG - VM ctest-TestBasicPolicy-05539627-89794821 ID is aae73fd9-3f35-4874-8982-ef69118f0d29 2026-08-15 15:34:32,666 - DEBUG - VM ctest-TestBasicPolicy-05539627-89794821 launched on Node cn-jenkins-deploy-platform-ansible-os-6165-1 2026-08-15 15:34:32,749 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aae73fd9-3f35-4874-8982-ef69118f0d29 2026-08-15 15:34:32,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/33c00ad6-b7c4-46cf-b78d-2415ce7fcbf9 2026-08-15 15:34:36,001 - 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 1002ms') 2026-08-15 15:34:36,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05539627-89794821 failed! 2026-08-15 15:34:36,060 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05539627:ctest-vn-24626665 is 98.74.147.1 and allocation pool is NOT set 2026-08-15 15:34:38,128 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.796/7.830/10.864/3.034 ms') 2026-08-15 15:34:38,128 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05539627-89794821 passed 2026-08-15 15:34:38,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 15:34:38,280 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05539627-89794821, IP 98.74.147.3, Port 22 2026-08-15 15:34:38,346 - 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-08-15 15:34:38,444 - DEBUG - VM ctest-TestBasicPolicy-05539627-89794821 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-15 15:34:43,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 15:34:43,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05539627-89794821, IP 98.74.147.3, Port 22 2026-08-15 15:34:43,615 - DEBUG - VM ctest-TestBasicPolicy-05539627-89794821 is ready for SSH connections 2026-08-15 15:34:43,615 - INFO - Waiting for VM ctest-TestBasicPolicy-05539627-26742988 to be up.. 2026-08-15 15:34:43,704 - DEBUG - VM is in ACTIVE state now 2026-08-15 15:34:43,704 - INFO - VM name : ctest-TestBasicPolicy-05539627-26742988 2026-08-15 15:34:43,791 - DEBUG - VM ctest-TestBasicPolicy-05539627-26742988 ID is 23e9ae4b-2f68-4bd5-bdeb-2dec72cbae6b 2026-08-15 15:34:43,792 - DEBUG - VM ctest-TestBasicPolicy-05539627-26742988 launched on Node cn-jenkins-deploy-platform-ansible-os-6165-1 2026-08-15 15:34:43,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/23e9ae4b-2f68-4bd5-bdeb-2dec72cbae6b 2026-08-15 15:34:43,895 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9791bd33-024e-4435-a7a2-9d64c1ca7d46 2026-08-15 15:34:45,146 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/2.335/4.230/1.895 ms') 2026-08-15 15:34:45,146 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05539627-26742988 passed 2026-08-15 15:34:45,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 15:34:45,296 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05539627-26742988, IP 68.127.173.195, Port 22 2026-08-15 15:34:45,466 - DEBUG - VM ctest-TestBasicPolicy-05539627-26742988 is ready for SSH connections 2026-08-15 15:34:45,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 15:34:45,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.127.173.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-15 15:34:45,467 - DEBUG - ping -s 56 -c 3 -W 1 68.127.173.195 2026-08-15 15:34:49,459 - DEBUG - PING 68.127.173.195 (68.127.173.195): 56 data bytes 64 bytes from 68.127.173.195: seq=0 ttl=63 time=5.162 ms 64 bytes from 68.127.173.195: seq=1 ttl=63 time=1.134 ms 64 bytes from 68.127.173.195: seq=2 ttl=63 time=0.970 ms --- 68.127.173.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/2.422/5.162 ms 2026-08-15 15:34:49,459 - INFO - Ping to IP 68.127.173.195 from VM ctest-TestBasicPolicy-05539627-89794821 passed 2026-08-15 15:34:49,644 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f1e5b6b-b98f-419f-8ba1-7a1dda991c89", "href": "http://10.0.0.50:8082/network-policy/0f1e5b6b-b98f-419f-8ba1-7a1dda991c89"}} 2026-08-15 15:34:49,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-15 15:34:49,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.127.173.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-15 15:34:49,644 - DEBUG - ping -s 56 -c 3 -W 1 68.127.173.195 2026-08-15 15:34:52,786 - DEBUG - PING 68.127.173.195 (68.127.173.195): 56 data bytes 64 bytes from 68.127.173.195: seq=0 ttl=63 time=3.176 ms --- 68.127.173.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.176/3.176/3.176 ms 2026-08-15 15:34:52,786 - WARNING - Ping to IP 68.127.173.195 from VM ctest-TestBasicPolicy-05539627-89794821 failed 2026-08-15 15:34:52,786 - INFO - Deleting VM ctest-TestBasicPolicy-05539627-26742988 2026-08-15 15:34:52,863 - INFO - Deleting VM ctest-TestBasicPolicy-05539627-89794821 2026-08-15 15:34:53,230 - INFO - Deleted policy ctest-policy-allow-all-19577144 2026-08-15 15:34:53,231 - INFO - Deleting VN ctest-vn-39434286 2026-08-15 15:34:53,264 - DEBUG - VN 89f2e2ae-65de-4399-b96a-3e51cbe676cf still in use: Unable to complete operation on network 89f2e2ae-65de-4399-b96a-3e51cbe676cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e49317bb-e861-47d0-874d-b4cd41821b8a'] 2026-08-15 15:34:53,265 - WARNING - Deleting VN ctest-vn-39434286 failed..Will retry 2026-08-15 15:34:55,376 - DEBUG - Response for deleting network () 2026-08-15 15:34:55,376 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e73a46a6-e4ae-4576-a8d5-09c46ccebd2f 2026-08-15 15:34:55,384 - DEBUG - Response Code: 404 2026-08-15 15:34:55,384 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-15 15:34:55,392 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4 2026-08-15 15:34:55,446 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae 2026-08-15 15:34:55,526 - INFO - Validated that VN ctest-vn-39434286 is not found in API Server 2026-08-15 15:34:55,539 - DEBUG - VN ctest-vn-39434286 is not present in Agent 10.0.0.50 2026-08-15 15:34:55,539 - INFO - Validated that VN ctest-vn-39434286 is not in any agent 2026-08-15 15:34:55,559 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39434286 info 2026-08-15 15:34:55,559 - INFO - Deleting VN ctest-vn-24626665 2026-08-15 15:34:55,703 - DEBUG - Response for deleting network () 2026-08-15 15:34:55,703 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2d150fe9-f3e4-4cce-a7e3-a06b3632d6fd 2026-08-15 15:34:55,708 - DEBUG - Response Code: 404 2026-08-15 15:34:55,708 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-15 15:34:55,713 - DEBUG - Requesting: http://10.0.0.50:8082/domain/318fd4e0-44ea-4e3a-bd43-4da9dbf7f5a4 2026-08-15 15:34:55,765 - DEBUG - Requesting: http://10.0.0.50:8082/project/84e655c9-fabc-4492-b1a8-d620057cc2ae 2026-08-15 15:34:55,845 - INFO - Validated that VN ctest-vn-24626665 is not found in API Server 2026-08-15 15:34:55,859 - DEBUG - VN ctest-vn-24626665 is not present in Agent 10.0.0.50 2026-08-15 15:34:55,859 - INFO - Validated that VN ctest-vn-24626665 is not in any agent 2026-08-15 15:34:55,874 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24626665 info 2026-08-15 15:34:56,145 - DEBUG - No XMPP flaps were noticed during the test 2026-08-15 15:34:56,145 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-08-15 15:34:56,145 - INFO - -------------------------------------------------------------------------------- 2026-08-15 15:34:56,898 - INFO - Deleted project: ctest-TestBasicPolicy-05539627, ID : 84e655c9-fabc-4492-b1a8-d620057cc2ae