2025-08-04 02:23:36,417 - INFO - Domain Default found not creating 2025-08-04 02:23:36,574 - INFO - Project ctest-TestBasicPolicy-54008763 not found, creating it 2025-08-04 02:23:37,049 - INFO - Created Project:ctest-TestBasicPolicy-54008763, ID : 2f6547c0-2cf8-43e9-a1bb-0f15c201a954 2025-08-04 02:23:38,524 - INFO - ================================================================================ 2025-08-04 02:23:38,524 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-04 02:23:38,524 - 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-08-04 02:23:38,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-04 02:23:38,787 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:23:38,787 - INFO - 2025-08-04 02:23:39,369 - DEBUG - Response for create_network : {'network': {'id': 'cb768009-4eb3-4aa1-9b62-60d6b1c79979', 'name': 'ctest-vn-05779014', 'tenant_id': '2f6547c02cf843e9a1bb0f15c201a954', 'project_id': '2f6547c02cf843e9a1bb0f15c201a954', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54008763', 'ctest-vn-05779014'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:39,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '2864922a-0894-4e60-b64a-f66fef1d2834', 'name': '', 'tenant_id': '2f6547c02cf843e9a1bb0f15c201a954', 'network_id': 'cb768009-4eb3-4aa1-9b62-60d6b1c79979', 'ip_version': 4, 'cidr': '179.108.44.192/26', 'allocation_pools': [{'start': '179.108.44.194', 'end': '179.108.44.254'}], 'gateway_ip': '179.108.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.108.44.194', 'tags': [], 'project_id': '2f6547c02cf843e9a1bb0f15c201a954'}} 2025-08-04 02:23:39,604 - INFO - Created VN ctest-vn-05779014 2025-08-04 02:23:39,655 - DEBUG - VN ctest-vn-05779014 UUID is cb768009-4eb3-4aa1-9b62-60d6b1c79979 2025-08-04 02:23:39,960 - DEBUG - Response for create_network : {'network': {'id': 'eae90729-3ae8-4b91-aa6c-68e73f6c6034', 'name': 'ctest-vn-07183349', 'tenant_id': '2f6547c02cf843e9a1bb0f15c201a954', 'project_id': '2f6547c02cf843e9a1bb0f15c201a954', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54008763', 'ctest-vn-07183349'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:40,164 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9f14da0-9a93-4523-96ea-15622526eaf2', 'name': '', 'tenant_id': '2f6547c02cf843e9a1bb0f15c201a954', 'network_id': 'eae90729-3ae8-4b91-aa6c-68e73f6c6034', 'ip_version': 4, 'cidr': '139.73.106.64/26', 'allocation_pools': [{'start': '139.73.106.66', 'end': '139.73.106.126'}], 'gateway_ip': '139.73.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.73.106.66', 'tags': [], 'project_id': '2f6547c02cf843e9a1bb0f15c201a954'}} 2025-08-04 02:23:40,182 - INFO - Created VN ctest-vn-07183349 2025-08-04 02:23:40,235 - DEBUG - VN ctest-vn-07183349 UUID is eae90729-3ae8-4b91-aa6c-68e73f6c6034 2025-08-04 02:23:40,352 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-05779014, 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-54008763:ctest-vn-07183349, 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-08-04 02:23:40,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb768009-4eb3-4aa1-9b62-60d6b1c79979', 'name': 'ctest-vn-05779014', 'tenant_id': '2f6547c02cf843e9a1bb0f15c201a954', 'project_id': '2f6547c02cf843e9a1bb0f15c201a954', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2864922a-0894-4e60-b64a-f66fef1d2834'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54008763', 'ctest-vn-05779014'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54008763', 'ctest-policy-allow-all-13550876']], 'subnet_ipam': [{'subnet_cidr': '179.108.44.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:40,913 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eae90729-3ae8-4b91-aa6c-68e73f6c6034', 'name': 'ctest-vn-07183349', 'tenant_id': '2f6547c02cf843e9a1bb0f15c201a954', 'project_id': '2f6547c02cf843e9a1bb0f15c201a954', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f9f14da0-9a93-4523-96ea-15622526eaf2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54008763', 'ctest-vn-07183349'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54008763', 'ctest-policy-allow-all-13550876']], 'subnet_ipam': [{'subnet_cidr': '139.73.106.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:41,083 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 02:23:41,391 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 02:23:41,421 - DEBUG - Requesting: http://10.0.0.50:8082/domain/24f65d5f-50c0-4485-879b-6ea068bf951d 2025-08-04 02:23:41,436 - DEBUG - Requesting: http://10.0.0.50:8082/project/2f6547c0-2cf8-43e9-a1bb-0f15c201a954 2025-08-04 02:23:41,513 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb768009-4eb3-4aa1-9b62-60d6b1c79979 2025-08-04 02:23:41,527 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb768009-4eb3-4aa1-9b62-60d6b1c79979 2025-08-04 02:23:41,539 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/085f8cc0-eeda-4356-acf5-9602a3bcbff5 2025-08-04 02:23:41,548 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/085f8cc0-eeda-4356-acf5-9602a3bcbff5 2025-08-04 02:23:41,556 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/da4d3326-96b7-42f7-926f-ae484c27b860 2025-08-04 02:23:41,565 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 02:23:41,565 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb768009-4eb3-4aa1-9b62-60d6b1c79979 2025-08-04 02:23:41,576 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/085f8cc0-eeda-4356-acf5-9602a3bcbff5 2025-08-04 02:23:41,593 - INFO - Verified VN network id 9 for VN cb768009-4eb3-4aa1-9b62-60d6b1c79979 2025-08-04 02:23:41,593 - INFO - Verifications in API Server for VN ctest-vn-05779014 passed 2025-08-04 02:23:41,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb768009-4eb3-4aa1-9b62-60d6b1c79979 2025-08-04 02:23:41,604 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/085f8cc0-eeda-4356-acf5-9602a3bcbff5 2025-08-04 02:23:41,614 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/085f8cc0-eeda-4356-acf5-9602a3bcbff5 2025-08-04 02:23:41,621 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/da4d3326-96b7-42f7-926f-ae484c27b860 2025-08-04 02:23:41,636 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-05779014', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54008763', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14661046414414662305', 'uuid-lslong': '11196618098818390393'}, 'enable': 'true', 'created': '2025-08-04T02:23:39', 'last-modified': '2025-08-04T02:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996588'} 2025-08-04 02:23:41,645 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 02:23:41,645 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05779014 passed 2025-08-04 02:23:41,645 - DEBUG - ====Verifying policy data for ctest-vn-05779014 in API_Server ====== 2025-08-04 02:23:41,645 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 02:23:41,651 - DEBUG - Requesting: http://10.0.0.50:8082/domain/24f65d5f-50c0-4485-879b-6ea068bf951d 2025-08-04 02:23:41,663 - DEBUG - Requesting: http://10.0.0.50:8082/project/2f6547c0-2cf8-43e9-a1bb-0f15c201a954 2025-08-04 02:23:41,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb768009-4eb3-4aa1-9b62-60d6b1c79979 2025-08-04 02:23:41,750 - DEBUG - ==>Verifying data for policy with id: 91b67c6c-9524-4da0-9233-b2336e349fee, fqn: ['default-domain', 'ctest-TestBasicPolicy-54008763', 'ctest-policy-allow-all-13550876'] 2025-08-04 02:23:41,750 - INFO - VN ctest-vn-05779014 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-04 02:23:41,750 - DEBUG - Verifying the vn in opserver 2025-08-04 02:23:41,750 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-05779014 virtual network link through opserver 10.0.0.50 2025-08-04 02:23:41,750 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-04 02:23:42,054 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-04 02:23:42,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-05779014', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-05779014?flat'} 2025-08-04 02:23:42,130 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-05779014 is found in opserver 2025-08-04 02:23:42,142 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 02:23:42,148 - DEBUG - VRF ids for VN ctest-vn-05779014: {} 2025-08-04 02:23:42,148 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 02:23:42,155 - DEBUG - Requesting: http://10.0.0.50:8082/domain/24f65d5f-50c0-4485-879b-6ea068bf951d 2025-08-04 02:23:42,167 - DEBUG - Requesting: http://10.0.0.50:8082/project/2f6547c0-2cf8-43e9-a1bb-0f15c201a954 2025-08-04 02:23:42,244 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eae90729-3ae8-4b91-aa6c-68e73f6c6034 2025-08-04 02:23:42,257 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eae90729-3ae8-4b91-aa6c-68e73f6c6034 2025-08-04 02:23:42,268 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9180fb6e-42b1-4814-8a3f-5db524ca62ed 2025-08-04 02:23:42,277 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9180fb6e-42b1-4814-8a3f-5db524ca62ed 2025-08-04 02:23:42,287 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1096cb9c-4a66-4cdf-959c-39a7e3ef8264 2025-08-04 02:23:42,296 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-04 02:23:42,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eae90729-3ae8-4b91-aa6c-68e73f6c6034 2025-08-04 02:23:42,309 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9180fb6e-42b1-4814-8a3f-5db524ca62ed 2025-08-04 02:23:42,329 - INFO - Verified VN network id 10 for VN eae90729-3ae8-4b91-aa6c-68e73f6c6034 2025-08-04 02:23:42,329 - INFO - Verifications in API Server for VN ctest-vn-07183349 passed 2025-08-04 02:23:42,330 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eae90729-3ae8-4b91-aa6c-68e73f6c6034 2025-08-04 02:23:42,341 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9180fb6e-42b1-4814-8a3f-5db524ca62ed 2025-08-04 02:23:42,350 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9180fb6e-42b1-4814-8a3f-5db524ca62ed 2025-08-04 02:23:42,358 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1096cb9c-4a66-4cdf-959c-39a7e3ef8264 2025-08-04 02:23:42,372 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-07183349', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54008763', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16927068548112075665', 'uuid-lslong': '12280305626343301172'}, 'enable': 'true', 'created': '2025-08-04T02:23:39', 'last-modified': '2025-08-04T02:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.484475'} 2025-08-04 02:23:42,379 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-04 02:23:42,379 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07183349 passed 2025-08-04 02:23:42,379 - DEBUG - ====Verifying policy data for ctest-vn-07183349 in API_Server ====== 2025-08-04 02:23:42,379 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 02:23:42,386 - DEBUG - Requesting: http://10.0.0.50:8082/domain/24f65d5f-50c0-4485-879b-6ea068bf951d 2025-08-04 02:23:42,398 - DEBUG - Requesting: http://10.0.0.50:8082/project/2f6547c0-2cf8-43e9-a1bb-0f15c201a954 2025-08-04 02:23:42,474 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eae90729-3ae8-4b91-aa6c-68e73f6c6034 2025-08-04 02:23:42,486 - DEBUG - ==>Verifying data for policy with id: 91b67c6c-9524-4da0-9233-b2336e349fee, fqn: ['default-domain', 'ctest-TestBasicPolicy-54008763', 'ctest-policy-allow-all-13550876'] 2025-08-04 02:23:42,486 - INFO - VN ctest-vn-07183349 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-04 02:23:42,486 - DEBUG - Verifying the vn in opserver 2025-08-04 02:23:42,486 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-07183349 virtual network link through opserver 10.0.0.50 2025-08-04 02:23:42,486 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-04 02:23:42,498 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-07183349', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-07183349?flat'} 2025-08-04 02:23:42,498 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-07183349 is found in opserver 2025-08-04 02:23:42,510 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 02:23:42,516 - DEBUG - VRF ids for VN ctest-vn-07183349: {} 2025-08-04 02:23:42,580 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:23:43,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:23:44,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:23:44,866 - INFO - Waiting for VM ctest-TestBasicPolicy-54008763-51135262 to be up.. 2025-08-04 02:23:44,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:23:50,044 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:23:50,044 - INFO - VM name : ctest-TestBasicPolicy-54008763-51135262 2025-08-04 02:23:50,119 - DEBUG - VM ctest-TestBasicPolicy-54008763-51135262 ID is a4e97433-a056-496d-9665-0c6e4a4f5e92 2025-08-04 02:23:50,140 - DEBUG - VM ctest-TestBasicPolicy-54008763-51135262 launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:23:50,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a4e97433-a056-496d-9665-0c6e4a4f5e92 2025-08-04 02:23:50,236 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5ef943c3-e4d1-449b-9bbe-82caf454b963 2025-08-04 02:23:53,499 - 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') 2025-08-04 02:23:53,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54008763-51135262 failed! 2025-08-04 02:23:53,563 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54008763:ctest-vn-05779014 is 179.108.44.193 and allocation pool is NOT set 2025-08-04 02:23:55,637 - 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=6.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.67 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 = 2.672/4.778/6.884/2.106 ms') 2025-08-04 02:23:55,637 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54008763-51135262 passed 2025-08-04 02:23:55,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:23:55,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54008763-51135262, IP 179.108.44.195, Port 22 2025-08-04 02:23:55,858 - 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-08-04 02:23:55,936 - DEBUG - VM ctest-TestBasicPolicy-54008763-51135262 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 02:24:00,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:00,937 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54008763-51135262, IP 179.108.44.195, Port 22 2025-08-04 02:24:01,117 - DEBUG - VM ctest-TestBasicPolicy-54008763-51135262 is ready for SSH connections 2025-08-04 02:24:01,117 - INFO - Waiting for VM ctest-TestBasicPolicy-54008763-46041191 to be up.. 2025-08-04 02:24:01,198 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:24:01,198 - INFO - VM name : ctest-TestBasicPolicy-54008763-46041191 2025-08-04 02:24:01,286 - DEBUG - VM ctest-TestBasicPolicy-54008763-46041191 ID is 16143015-2671-4868-aa95-22579b037fb7 2025-08-04 02:24:01,287 - DEBUG - VM ctest-TestBasicPolicy-54008763-46041191 launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:24:01,385 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/16143015-2671-4868-aa95-22579b037fb7 2025-08-04 02:24:01,399 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/973f2e39-5344-44a9-b1c2-1153c3a5ba58 2025-08-04 02:24:02,659 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.590 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.590/2.072/3.555/1.482 ms') 2025-08-04 02:24:02,660 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54008763-46041191 passed 2025-08-04 02:24:02,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:02,812 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54008763-46041191, IP 139.73.106.67, Port 22 2025-08-04 02:24:02,967 - DEBUG - VM ctest-TestBasicPolicy-54008763-46041191 is ready for SSH connections 2025-08-04 02:24:02,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:02,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.73.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 02:24:02,967 - DEBUG - ping -s 56 -c 3 -W 1 139.73.106.67 2025-08-04 02:24:06,693 - DEBUG - PING 139.73.106.67 (139.73.106.67): 56 data bytes 64 bytes from 139.73.106.67: seq=0 ttl=63 time=4.542 ms 64 bytes from 139.73.106.67: seq=1 ttl=63 time=0.928 ms 64 bytes from 139.73.106.67: seq=2 ttl=63 time=1.056 ms --- 139.73.106.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/2.175/4.542 ms 2025-08-04 02:24:06,693 - INFO - Ping to IP 139.73.106.67 from VM ctest-TestBasicPolicy-54008763-51135262 passed 2025-08-04 02:24:06,871 - DEBUG - Policy Update Response {"network-policy": {"uuid": "91b67c6c-9524-4da0-9233-b2336e349fee", "href": "http://10.0.0.50:8082/network-policy/91b67c6c-9524-4da0-9233-b2336e349fee"}} 2025-08-04 02:24:06,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:06,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.73.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 02:24:06,872 - DEBUG - ping -s 56 -c 3 -W 1 139.73.106.67 2025-08-04 02:24:10,084 - DEBUG - PING 139.73.106.67 (139.73.106.67): 56 data bytes --- 139.73.106.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 02:24:10,084 - WARNING - Ping to IP 139.73.106.67 from VM ctest-TestBasicPolicy-54008763-51135262 failed 2025-08-04 02:24:10,085 - INFO - Deleting VM ctest-TestBasicPolicy-54008763-46041191 2025-08-04 02:24:10,161 - INFO - Deleting VM ctest-TestBasicPolicy-54008763-51135262 2025-08-04 02:24:10,621 - INFO - Deleted policy ctest-policy-allow-all-13550876 2025-08-04 02:24:10,622 - INFO - Deleting VN ctest-vn-07183349 2025-08-04 02:24:10,662 - DEBUG - VN eae90729-3ae8-4b91-aa6c-68e73f6c6034 still in use: Unable to complete operation on network eae90729-3ae8-4b91-aa6c-68e73f6c6034. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-47c9f0ea-1792-47df-9813-a5c2ce416968'] 2025-08-04 02:24:10,662 - WARNING - Deleting VN ctest-vn-07183349 failed..Will retry 2025-08-04 02:24:12,772 - DEBUG - Response for deleting network () 2025-08-04 02:24:12,773 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9180fb6e-42b1-4814-8a3f-5db524ca62ed 2025-08-04 02:24:12,779 - DEBUG - Response Code: 404 2025-08-04 02:24:12,779 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 02:24:12,785 - DEBUG - Requesting: http://10.0.0.50:8082/domain/24f65d5f-50c0-4485-879b-6ea068bf951d 2025-08-04 02:24:12,842 - DEBUG - Requesting: http://10.0.0.50:8082/project/2f6547c0-2cf8-43e9-a1bb-0f15c201a954 2025-08-04 02:24:12,921 - INFO - Validated that VN ctest-vn-07183349 is not found in API Server 2025-08-04 02:24:12,932 - DEBUG - VN ctest-vn-07183349 is not present in Agent 10.0.0.50 2025-08-04 02:24:12,932 - INFO - Validated that VN ctest-vn-07183349 is not in any agent 2025-08-04 02:24:12,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07183349 info 2025-08-04 02:24:12,950 - INFO - Deleting VN ctest-vn-05779014 2025-08-04 02:24:13,063 - DEBUG - Response for deleting network () 2025-08-04 02:24:13,064 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/085f8cc0-eeda-4356-acf5-9602a3bcbff5 2025-08-04 02:24:13,070 - DEBUG - Response Code: 404 2025-08-04 02:24:13,071 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 02:24:13,077 - DEBUG - Requesting: http://10.0.0.50:8082/domain/24f65d5f-50c0-4485-879b-6ea068bf951d 2025-08-04 02:24:13,135 - DEBUG - Requesting: http://10.0.0.50:8082/project/2f6547c0-2cf8-43e9-a1bb-0f15c201a954 2025-08-04 02:24:13,213 - INFO - Validated that VN ctest-vn-05779014 is not found in API Server 2025-08-04 02:24:13,225 - DEBUG - VN ctest-vn-05779014 is not present in Agent 10.0.0.50 2025-08-04 02:24:13,225 - INFO - Validated that VN ctest-vn-05779014 is not in any agent 2025-08-04 02:24:13,242 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05779014 info 2025-08-04 02:24:13,498 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:24:13,498 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-08-04 02:24:13,498 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:24:14,213 - INFO - Deleted project: ctest-TestBasicPolicy-54008763, ID : 2f6547c0-2cf8-43e9-a1bb-0f15c201a954