2025-11-02 22:40:30,010 - INFO - Domain Default found not creating 2025-11-02 22:40:30,175 - INFO - Project ctest-TestRP-67313081 not found, creating it 2025-11-02 22:40:30,658 - INFO - Created Project:ctest-TestRP-67313081, ID : 85101b16-0f97-4895-880b-3a63106459df 2025-11-02 22:40:32,105 - DEBUG - Services list from nova: [, , ] 2025-11-02 22:40:32,105 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4596-1']} 2025-11-02 22:40:32,107 - INFO - ================================================================================ 2025-11-02 22:40:32,107 - INFO - STARTING TEST : test_rp_interface 2025-11-02 22:40:32,107 - INFO - TEST DESCRIPTION : 1. Create a routing policy with interface match. 2. Launch VMs. 3. Attach policy to VN and confirm if policy takes hold. 2025-11-02 22:40:32,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 22:40:32,377 - INFO - Initial checks done. Running the testcase now 2025-11-02 22:40:32,377 - INFO - 2025-11-02 22:40:32,913 - DEBUG - Response for create_network : {'network': {'id': '85c5d8b4-218a-409d-9b23-746de64d8e05', 'name': 'ctest-bgpaas_vn-01670428', 'tenant_id': '85101b160f974895880b3a63106459df', 'project_id': '85101b160f974895880b3a63106459df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-67313081', 'ctest-bgpaas_vn-01670428'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 22:40:33,094 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9be26c6-1388-4c5f-bdcd-4e85fccbecb1', 'name': '', 'tenant_id': '85101b160f974895880b3a63106459df', 'network_id': '85c5d8b4-218a-409d-9b23-746de64d8e05', 'ip_version': 4, 'cidr': '94.98.110.64/26', 'allocation_pools': [{'start': '94.98.110.66', 'end': '94.98.110.126'}], 'gateway_ip': '94.98.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.98.110.66', 'tags': [], 'project_id': '85101b160f974895880b3a63106459df'}} 2025-11-02 22:40:33,110 - INFO - Created VN ctest-bgpaas_vn-01670428 2025-11-02 22:40:33,160 - DEBUG - VN ctest-bgpaas_vn-01670428 UUID is 85c5d8b4-218a-409d-9b23-746de64d8e05 2025-11-02 22:40:33,655 - DEBUG - Response for create_network : {'network': {'id': 'f6f32e1c-7dda-49dc-a0c6-031dabd526fe', 'name': 'ctest-bgpaas_vn-71349106', 'tenant_id': '85101b160f974895880b3a63106459df', 'project_id': '85101b160f974895880b3a63106459df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-67313081', 'ctest-bgpaas_vn-71349106'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 22:40:33,866 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e83ae4f7-4571-4c3c-b53d-65fc2fb47145', 'name': '', 'tenant_id': '85101b160f974895880b3a63106459df', 'network_id': 'f6f32e1c-7dda-49dc-a0c6-031dabd526fe', 'ip_version': 4, 'cidr': '132.151.213.0/26', 'allocation_pools': [{'start': '132.151.213.2', 'end': '132.151.213.62'}], 'gateway_ip': '132.151.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.151.213.2', 'tags': [], 'project_id': '85101b160f974895880b3a63106459df'}} 2025-11-02 22:40:33,882 - INFO - Created VN ctest-bgpaas_vn-71349106 2025-11-02 22:40:33,936 - DEBUG - VN ctest-bgpaas_vn-71349106 UUID is f6f32e1c-7dda-49dc-a0c6-031dabd526fe 2025-11-02 22:40:35,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4596-1) 2025-11-02 22:40:36,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4596-1) 2025-11-02 22:40:36,627 - INFO - Waiting for VM test_vm to be up.. 2025-11-02 22:40:36,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:40:41,773 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:40:46,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:40:51,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:40:57,010 - DEBUG - VM is in ACTIVE state now 2025-11-02 22:40:57,010 - INFO - VM name : test_vm 2025-11-02 22:40:57,083 - DEBUG - VM test_vm ID is ad86247b-746e-435a-8699-85948f8ff35d 2025-11-02 22:40:57,101 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4596-1 2025-11-02 22:40:57,176 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ad86247b-746e-435a-8699-85948f8ff35d 2025-11-02 22:40:57,483 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ad86247b-746e-435a-8699-85948f8ff35d 2025-11-02 22:40:57,518 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/6809c336-10ec-42cb-aaaf-70324a998b13 2025-11-02 22:41:00,769 - 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 1008ms') 2025-11-02 22:41:00,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-02 22:41:00,824 - DEBUG - Gateway for vn default-domain:ctest-TestRP-67313081:ctest-bgpaas_vn-01670428 is 94.98.110.65 and allocation pool is NOT set 2025-11-02 22:41:02,889 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.771/6.050/9.330/3.279 ms') 2025-11-02 22:41:02,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-02 22:41:03,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:41:03,040 - DEBUG - Waiting to SSH to VM test_vm, IP 94.98.110.67, Port 22 2025-11-02 22:41:03,206 - DEBUG - VM test_vm is ready for SSH connections 2025-11-02 22:41:03,206 - INFO - Waiting for VM test2_vm to be up.. 2025-11-02 22:41:03,284 - DEBUG - VM is in ACTIVE state now 2025-11-02 22:41:03,284 - INFO - VM name : test2_vm 2025-11-02 22:41:03,366 - DEBUG - VM test2_vm ID is e3d7a8eb-a2ca-4f8a-9a98-29c2fd3095ed 2025-11-02 22:41:03,366 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4596-1 2025-11-02 22:41:03,444 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e3d7a8eb-a2ca-4f8a-9a98-29c2fd3095ed 2025-11-02 22:41:03,457 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/60fd88ad-fa8d-4dce-a403-d25979751140 2025-11-02 22:41:04,696 - 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=6.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.66 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 = 3.656/4.884/6.112/1.228 ms') 2025-11-02 22:41:04,696 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-02 22:41:04,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:41:04,844 - DEBUG - Waiting to SSH to VM test2_vm, IP 132.151.213.3, Port 22 2025-11-02 22:41:04,901 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-02 22:41:04,975 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-02 22:41:09,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:41:09,977 - DEBUG - Waiting to SSH to VM test2_vm, IP 132.151.213.3, Port 22 2025-11-02 22:41:10,147 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-02 22:41:10,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:41:10,295 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-67313081:ctest-bgpaas_vn-01670428:ctest-bgpaas_vn-01670428.inet.0 2025-11-02 22:41:11,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:41:11,310 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-67313081:ctest-bgpaas_vn-01670428:ctest-bgpaas_vn-01670428.inet.0 2025-11-02 22:41:11,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:41:11,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.151.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 22:41:11,320 - DEBUG - ping -s 56 -c 3 -W 1 132.151.213.3 2025-11-02 22:41:14,984 - DEBUG - PING 132.151.213.3 (132.151.213.3): 56 data bytes 64 bytes from 132.151.213.3: seq=0 ttl=63 time=3.737 ms 64 bytes from 132.151.213.3: seq=1 ttl=63 time=1.161 ms 64 bytes from 132.151.213.3: seq=2 ttl=63 time=0.952 ms --- 132.151.213.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/1.950/3.737 ms 2025-11-02 22:41:14,985 - INFO - Ping to IP 132.151.213.3 from VM test_vm passed 2025-11-02 22:41:15,056 - INFO - Deleting VM test2_vm 2025-11-02 22:41:15,137 - INFO - Deleting VM test_vm 2025-11-02 22:41:15,216 - INFO - Deleting VN ctest-bgpaas_vn-71349106 2025-11-02 22:41:15,253 - DEBUG - VN f6f32e1c-7dda-49dc-a0c6-031dabd526fe still in use: Unable to complete operation on network f6f32e1c-7dda-49dc-a0c6-031dabd526fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-534eb433-cd2e-4e7b-8d3d-7540af87e978'] 2025-11-02 22:41:15,253 - WARNING - Deleting VN ctest-bgpaas_vn-71349106 failed..Will retry 2025-11-02 22:41:17,360 - DEBUG - Response for deleting network () 2025-11-02 22:41:17,360 - INFO - Deleting VN ctest-bgpaas_vn-01670428 2025-11-02 22:41:17,475 - DEBUG - Response for deleting network () 2025-11-02 22:41:17,749 - DEBUG - No XMPP flaps were noticed during the test 2025-11-02 22:41:17,749 - INFO - END TEST : test_rp_interface : PASSED[0:00:45] 2025-11-02 22:41:17,749 - INFO - -------------------------------------------------------------------------------- 2025-11-02 22:41:18,441 - INFO - Deleted project: ctest-TestRP-67313081, ID : 85101b16-0f97-4895-880b-3a63106459df