2025-10-22 10:49:25,825 - INFO - Domain Default found not creating 2025-10-22 10:49:25,980 - INFO - Project ctest-TestBasicPolicy-40503373 not found, creating it 2025-10-22 10:49:26,445 - INFO - Created Project:ctest-TestBasicPolicy-40503373, ID : 0e649000-31ca-4af5-a828-b8cf7002aa44 2025-10-22 10:49:27,884 - INFO - ================================================================================ 2025-10-22 10:49:27,884 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 10:49:27,885 - 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 2025-10-22 10:49:28,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-10-22 10:49:28,138 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:49:28,138 - INFO - 2025-10-22 10:49:28,672 - DEBUG - Response for create_network : {'network': {'id': 'b0958502-8b67-4c80-8b12-6ea9f6855d8b', 'name': 'ctest-vn-96161141', 'tenant_id': '0e64900031ca4af5a828b8cf7002aa44', 'project_id': '0e64900031ca4af5a828b8cf7002aa44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40503373', 'ctest-vn-96161141'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:49:28,877 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0137499-9c54-4593-8086-06ef0328bbfe', 'name': '', 'tenant_id': '0e64900031ca4af5a828b8cf7002aa44', 'network_id': 'b0958502-8b67-4c80-8b12-6ea9f6855d8b', 'ip_version': 4, 'cidr': '40.221.81.64/26', 'allocation_pools': [{'start': '40.221.81.66', 'end': '40.221.81.126'}], 'gateway_ip': '40.221.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.221.81.66', 'tags': [], 'project_id': '0e64900031ca4af5a828b8cf7002aa44'}} 2025-10-22 10:49:28,895 - INFO - Created VN ctest-vn-96161141 2025-10-22 10:49:28,945 - DEBUG - VN ctest-vn-96161141 UUID is b0958502-8b67-4c80-8b12-6ea9f6855d8b 2025-10-22 10:49:29,256 - DEBUG - Response for create_network : {'network': {'id': '3dca202c-3c60-4cf9-9ad6-ec36ce602421', 'name': 'ctest-vn-10626715', 'tenant_id': '0e64900031ca4af5a828b8cf7002aa44', 'project_id': '0e64900031ca4af5a828b8cf7002aa44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40503373', 'ctest-vn-10626715'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:49:29,403 - DEBUG - Response for create_subnet : {'subnet': {'id': '9172aee2-e51e-419f-b90e-435b7e50b483', 'name': '', 'tenant_id': '0e64900031ca4af5a828b8cf7002aa44', 'network_id': '3dca202c-3c60-4cf9-9ad6-ec36ce602421', 'ip_version': 4, 'cidr': '137.134.138.192/26', 'allocation_pools': [{'start': '137.134.138.194', 'end': '137.134.138.254'}], 'gateway_ip': '137.134.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.134.138.194', 'tags': [], 'project_id': '0e64900031ca4af5a828b8cf7002aa44'}} 2025-10-22 10:49:29,420 - INFO - Created VN ctest-vn-10626715 2025-10-22 10:49:29,473 - DEBUG - VN ctest-vn-10626715 UUID is 3dca202c-3c60-4cf9-9ad6-ec36ce602421 2025-10-22 10:49:29,625 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-96161141, 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-40503373:ctest-vn-10626715, 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] 2025-10-22 10:49:29,915 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b0958502-8b67-4c80-8b12-6ea9f6855d8b', 'name': 'ctest-vn-96161141', 'tenant_id': '0e64900031ca4af5a828b8cf7002aa44', 'project_id': '0e64900031ca4af5a828b8cf7002aa44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f0137499-9c54-4593-8086-06ef0328bbfe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40503373', 'ctest-vn-96161141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40503373', 'ctest-policy-allow-all-41059646']], 'subnet_ipam': [{'subnet_cidr': '40.221.81.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:49:30,131 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3dca202c-3c60-4cf9-9ad6-ec36ce602421', 'name': 'ctest-vn-10626715', 'tenant_id': '0e64900031ca4af5a828b8cf7002aa44', 'project_id': '0e64900031ca4af5a828b8cf7002aa44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9172aee2-e51e-419f-b90e-435b7e50b483'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40503373', 'ctest-vn-10626715'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40503373', 'ctest-policy-allow-all-41059646']], 'subnet_ipam': [{'subnet_cidr': '137.134.138.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:49:30,285 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-22 10:49:30,585 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-22 10:49:30,614 - DEBUG - Requesting: http://10.0.0.27:8082/domain/231ff27d-41cd-42f4-abf3-2f09c6cda50e 2025-10-22 10:49:30,626 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e649000-31ca-4af5-a828-b8cf7002aa44 2025-10-22 10:49:30,703 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b0958502-8b67-4c80-8b12-6ea9f6855d8b 2025-10-22 10:49:30,712 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b0958502-8b67-4c80-8b12-6ea9f6855d8b 2025-10-22 10:49:30,721 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/248e0a4a-b509-4a29-bce3-1459cb86bc61 2025-10-22 10:49:30,727 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/248e0a4a-b509-4a29-bce3-1459cb86bc61 2025-10-22 10:49:30,733 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/32b3d05b-29e9-4334-ad15-283c80a43a5f 2025-10-22 10:49:30,739 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 10:49:30,740 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b0958502-8b67-4c80-8b12-6ea9f6855d8b 2025-10-22 10:49:30,749 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/248e0a4a-b509-4a29-bce3-1459cb86bc61 2025-10-22 10:49:30,766 - INFO - Verified VN network id 11 for VN b0958502-8b67-4c80-8b12-6ea9f6855d8b 2025-10-22 10:49:30,766 - INFO - Verifications in API Server for VN ctest-vn-96161141 passed 2025-10-22 10:49:30,766 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b0958502-8b67-4c80-8b12-6ea9f6855d8b 2025-10-22 10:49:30,777 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/248e0a4a-b509-4a29-bce3-1459cb86bc61 2025-10-22 10:49:30,785 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/248e0a4a-b509-4a29-bce3-1459cb86bc61 2025-10-22 10:49:30,793 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/32b3d05b-29e9-4334-ad15-283c80a43a5f 2025-10-22 10:49:30,805 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-96161141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40503373', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12724222568180436096', 'uuid-lslong': '10021193797117238667'}, 'enable': 'true', 'created': '2025-10-22T10:49:28', 'last-modified': '2025-10-22T10:49:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908907'} 2025-10-22 10:49:30,811 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 10:49:30,811 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96161141 passed 2025-10-22 10:49:30,811 - DEBUG - ====Verifying policy data for ctest-vn-96161141 in API_Server ====== 2025-10-22 10:49:30,811 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-22 10:49:30,816 - DEBUG - Requesting: http://10.0.0.27:8082/domain/231ff27d-41cd-42f4-abf3-2f09c6cda50e 2025-10-22 10:49:30,826 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e649000-31ca-4af5-a828-b8cf7002aa44 2025-10-22 10:49:30,895 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b0958502-8b67-4c80-8b12-6ea9f6855d8b 2025-10-22 10:49:30,904 - DEBUG - ==>Verifying data for policy with id: 284844ad-aab5-478e-baaa-a0f02a6e6d24, fqn: ['default-domain', 'ctest-TestBasicPolicy-40503373', 'ctest-policy-allow-all-41059646'] 2025-10-22 10:49:30,904 - INFO - VN ctest-vn-96161141 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 10:49:30,905 - DEBUG - Verifying the vn in opserver 2025-10-22 10:49:30,905 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-96161141 virtual network link through opserver 10.0.0.27 2025-10-22 10:49:30,905 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-22 10:49:31,198 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-22 10:49:31,253 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-96161141', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-96161141?flat'} 2025-10-22 10:49:31,253 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-96161141 is found in opserver 2025-10-22 10:49:31,263 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 10:49:31,267 - DEBUG - VRF ids for VN ctest-vn-96161141: {} 2025-10-22 10:49:31,267 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-22 10:49:31,273 - DEBUG - Requesting: http://10.0.0.27:8082/domain/231ff27d-41cd-42f4-abf3-2f09c6cda50e 2025-10-22 10:49:31,283 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e649000-31ca-4af5-a828-b8cf7002aa44 2025-10-22 10:49:31,351 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3dca202c-3c60-4cf9-9ad6-ec36ce602421 2025-10-22 10:49:31,364 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3dca202c-3c60-4cf9-9ad6-ec36ce602421 2025-10-22 10:49:31,373 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ab1fe510-1f3a-4a8d-87e3-d6c4252c55c0 2025-10-22 10:49:31,380 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ab1fe510-1f3a-4a8d-87e3-d6c4252c55c0 2025-10-22 10:49:31,387 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/788c00f7-d8cb-4a2c-bcda-79d9a4148d16 2025-10-22 10:49:31,393 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 10:49:31,393 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3dca202c-3c60-4cf9-9ad6-ec36ce602421 2025-10-22 10:49:31,402 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ab1fe510-1f3a-4a8d-87e3-d6c4252c55c0 2025-10-22 10:49:31,417 - INFO - Verified VN network id 12 for VN 3dca202c-3c60-4cf9-9ad6-ec36ce602421 2025-10-22 10:49:31,417 - INFO - Verifications in API Server for VN ctest-vn-10626715 passed 2025-10-22 10:49:31,417 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3dca202c-3c60-4cf9-9ad6-ec36ce602421 2025-10-22 10:49:31,427 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ab1fe510-1f3a-4a8d-87e3-d6c4252c55c0 2025-10-22 10:49:31,435 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ab1fe510-1f3a-4a8d-87e3-d6c4252c55c0 2025-10-22 10:49:31,442 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/788c00f7-d8cb-4a2c-bcda-79d9a4148d16 2025-10-22 10:49:31,457 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-10626715', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40503373', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4452406555972750585', 'uuid-lslong': '11157364846991778849'}, 'enable': 'true', 'created': '2025-10-22T10:49:29', 'last-modified': '2025-10-22T10:49:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344568'} 2025-10-22 10:49:31,464 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 10:49:31,464 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10626715 passed 2025-10-22 10:49:31,464 - DEBUG - ====Verifying policy data for ctest-vn-10626715 in API_Server ====== 2025-10-22 10:49:31,464 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-22 10:49:31,470 - DEBUG - Requesting: http://10.0.0.27:8082/domain/231ff27d-41cd-42f4-abf3-2f09c6cda50e 2025-10-22 10:49:31,484 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e649000-31ca-4af5-a828-b8cf7002aa44 2025-10-22 10:49:31,554 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3dca202c-3c60-4cf9-9ad6-ec36ce602421 2025-10-22 10:49:31,564 - DEBUG - ==>Verifying data for policy with id: 284844ad-aab5-478e-baaa-a0f02a6e6d24, fqn: ['default-domain', 'ctest-TestBasicPolicy-40503373', 'ctest-policy-allow-all-41059646'] 2025-10-22 10:49:31,564 - INFO - VN ctest-vn-10626715 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 10:49:31,564 - DEBUG - Verifying the vn in opserver 2025-10-22 10:49:31,564 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-10626715 virtual network link through opserver 10.0.0.27 2025-10-22 10:49:31,564 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-22 10:49:31,574 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-10626715', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-10626715?flat'} 2025-10-22 10:49:31,574 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-10626715 is found in opserver 2025-10-22 10:49:31,583 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 10:49:31,588 - DEBUG - VRF ids for VN ctest-vn-10626715: {} 2025-10-22 10:49:31,641 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:49:32,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4421-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4421-1) 2025-10-22 10:49:33,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4421-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4421-1) 2025-10-22 10:49:33,757 - INFO - Waiting for VM ctest-TestBasicPolicy-40503373-49908171 to be up.. 2025-10-22 10:49:33,836 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:49:38,910 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:49:38,910 - INFO - VM name : ctest-TestBasicPolicy-40503373-49908171 2025-10-22 10:49:38,979 - DEBUG - VM ctest-TestBasicPolicy-40503373-49908171 ID is 733230a7-55bb-4e99-ae9e-94329df7cf3b 2025-10-22 10:49:38,997 - DEBUG - VM ctest-TestBasicPolicy-40503373-49908171 launched on Node cn-jenkins-deploy-platform-ansible-os-4421-1 2025-10-22 10:49:39,071 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/733230a7-55bb-4e99-ae9e-94329df7cf3b 2025-10-22 10:49:39,079 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/da1941de-bbc2-4a7f-bbab-42ba92a3d6be 2025-10-22 10:49:42,343 - 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 1031ms') 2025-10-22 10:49:42,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40503373-49908171 failed! 2025-10-22 10:49:42,397 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40503373:ctest-vn-96161141 is 40.221.81.65 and allocation pool is NOT set 2025-10-22 10:49:44,459 - 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=5.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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 = 1.282/3.146/5.010/1.864 ms') 2025-10-22 10:49:44,459 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40503373-49908171 passed 2025-10-22 10:49:44,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:49:44,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40503373-49908171, IP 40.221.81.67, Port 22 2025-10-22 10:49:44,684 - 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': ''} 2025-10-22 10:49:44,767 - DEBUG - VM ctest-TestBasicPolicy-40503373-49908171 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 10:49:49,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:49:49,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40503373-49908171, IP 40.221.81.67, Port 22 2025-10-22 10:49:49,924 - DEBUG - VM ctest-TestBasicPolicy-40503373-49908171 is ready for SSH connections 2025-10-22 10:49:49,924 - INFO - Waiting for VM ctest-TestBasicPolicy-40503373-41804891 to be up.. 2025-10-22 10:49:50,005 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:49:50,005 - INFO - VM name : ctest-TestBasicPolicy-40503373-41804891 2025-10-22 10:49:50,074 - DEBUG - VM ctest-TestBasicPolicy-40503373-41804891 ID is 14bca91f-80d7-4119-bc65-5baa43c8ac66 2025-10-22 10:49:50,075 - DEBUG - VM ctest-TestBasicPolicy-40503373-41804891 launched on Node cn-jenkins-deploy-platform-ansible-os-4421-1 2025-10-22 10:49:50,149 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/14bca91f-80d7-4119-bc65-5baa43c8ac66 2025-10-22 10:49:50,159 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e3b30523-df88-4c2e-ab0d-035624338074 2025-10-22 10:49:51,391 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.899/3.394/1.495 ms') 2025-10-22 10:49:51,392 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40503373-41804891 passed 2025-10-22 10:49:51,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:49:51,541 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40503373-41804891, IP 137.134.138.195, Port 22 2025-10-22 10:49:51,692 - DEBUG - VM ctest-TestBasicPolicy-40503373-41804891 is ready for SSH connections 2025-10-22 10:49:51,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:49:51,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.134.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-22 10:49:51,693 - DEBUG - ping -s 56 -c 3 -W 1 137.134.138.195 2025-10-22 10:49:55,792 - DEBUG - PING 137.134.138.195 (137.134.138.195): 56 data bytes 64 bytes from 137.134.138.195: seq=0 ttl=63 time=3.823 ms 64 bytes from 137.134.138.195: seq=1 ttl=63 time=0.811 ms 64 bytes from 137.134.138.195: seq=2 ttl=63 time=0.891 ms --- 137.134.138.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/1.841/3.823 ms 2025-10-22 10:49:55,792 - INFO - Ping to IP 137.134.138.195 from VM ctest-TestBasicPolicy-40503373-49908171 passed 2025-10-22 10:49:55,969 - DEBUG - Policy Update Response {"network-policy": {"uuid": "284844ad-aab5-478e-baaa-a0f02a6e6d24", "href": "http://10.0.0.27:8082/network-policy/284844ad-aab5-478e-baaa-a0f02a6e6d24"}} 2025-10-22 10:49:55,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:49:55,969 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.134.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-22 10:49:55,969 - DEBUG - ping -s 56 -c 3 -W 1 137.134.138.195 2025-10-22 10:49:59,186 - DEBUG - PING 137.134.138.195 (137.134.138.195): 56 data bytes --- 137.134.138.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 10:49:59,187 - WARNING - Ping to IP 137.134.138.195 from VM ctest-TestBasicPolicy-40503373-49908171 failed 2025-10-22 10:49:59,187 - INFO - Deleting VM ctest-TestBasicPolicy-40503373-41804891 2025-10-22 10:49:59,255 - INFO - Deleting VM ctest-TestBasicPolicy-40503373-49908171 2025-10-22 10:49:59,609 - INFO - Deleted policy ctest-policy-allow-all-41059646 2025-10-22 10:49:59,609 - INFO - Deleting VN ctest-vn-10626715 2025-10-22 10:49:59,644 - DEBUG - VN 3dca202c-3c60-4cf9-9ad6-ec36ce602421 still in use: Unable to complete operation on network 3dca202c-3c60-4cf9-9ad6-ec36ce602421. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de6ed74a-0164-4d23-b191-708a76ec9b4e'] 2025-10-22 10:49:59,644 - WARNING - Deleting VN ctest-vn-10626715 failed..Will retry 2025-10-22 10:50:01,747 - DEBUG - Response for deleting network () 2025-10-22 10:50:01,748 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ab1fe510-1f3a-4a8d-87e3-d6c4252c55c0 2025-10-22 10:50:01,752 - DEBUG - Response Code: 404 2025-10-22 10:50:01,752 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-22 10:50:01,757 - DEBUG - Requesting: http://10.0.0.27:8082/domain/231ff27d-41cd-42f4-abf3-2f09c6cda50e 2025-10-22 10:50:01,810 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e649000-31ca-4af5-a828-b8cf7002aa44 2025-10-22 10:50:01,879 - INFO - Validated that VN ctest-vn-10626715 is not found in API Server 2025-10-22 10:50:01,888 - DEBUG - VN ctest-vn-10626715 is not present in Agent 10.0.0.27 2025-10-22 10:50:01,888 - INFO - Validated that VN ctest-vn-10626715 is not in any agent 2025-10-22 10:50:01,901 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10626715 info 2025-10-22 10:50:01,902 - INFO - Deleting VN ctest-vn-96161141 2025-10-22 10:50:01,998 - DEBUG - Response for deleting network () 2025-10-22 10:50:01,998 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/248e0a4a-b509-4a29-bce3-1459cb86bc61 2025-10-22 10:50:02,005 - DEBUG - Response Code: 404 2025-10-22 10:50:02,005 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-22 10:50:02,010 - DEBUG - Requesting: http://10.0.0.27:8082/domain/231ff27d-41cd-42f4-abf3-2f09c6cda50e 2025-10-22 10:50:02,062 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e649000-31ca-4af5-a828-b8cf7002aa44 2025-10-22 10:50:02,130 - INFO - Validated that VN ctest-vn-96161141 is not found in API Server 2025-10-22 10:50:02,142 - DEBUG - VN ctest-vn-96161141 is not present in Agent 10.0.0.27 2025-10-22 10:50:02,142 - INFO - Validated that VN ctest-vn-96161141 is not in any agent 2025-10-22 10:50:02,158 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96161141 info 2025-10-22 10:50:02,420 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 10:50:02,420 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-22 10:50:02,421 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:50:03,087 - INFO - Deleted project: ctest-TestBasicPolicy-40503373, ID : 0e649000-31ca-4af5-a828-b8cf7002aa44