2025-11-17 02:06:54,110 - INFO - Domain Default found not creating 2025-11-17 02:06:54,279 - INFO - Project ctest-TestRP-91595792 not found, creating it 2025-11-17 02:06:54,730 - INFO - Created Project:ctest-TestRP-91595792, ID : 3413bee0-1679-4d66-b9d8-7152e2b6d2da 2025-11-17 02:06:56,292 - DEBUG - Services list from nova: [, , ] 2025-11-17 02:06:56,293 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4737-1']} 2025-11-17 02:06:56,295 - INFO - ================================================================================ 2025-11-17 02:06:56,295 - INFO - STARTING TEST : test_rp_interface 2025-11-17 02:06:56,295 - 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-17 02:06:56,556 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-11-17 02:06:56,556 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:06:56,556 - INFO - 2025-11-17 02:06:57,166 - DEBUG - Response for create_network : {'network': {'id': '55727cce-d985-4ad9-967e-37dc3fe20d86', 'name': 'ctest-bgpaas_vn-63329122', 'tenant_id': '3413bee016794d66b9d87152e2b6d2da', 'project_id': '3413bee016794d66b9d87152e2b6d2da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-91595792', 'ctest-bgpaas_vn-63329122'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:06:57,343 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c89bca5-8394-4cc6-9ba2-486b49d37123', 'name': '', 'tenant_id': '3413bee016794d66b9d87152e2b6d2da', 'network_id': '55727cce-d985-4ad9-967e-37dc3fe20d86', 'ip_version': 4, 'cidr': '33.21.183.0/26', 'allocation_pools': [{'start': '33.21.183.2', 'end': '33.21.183.62'}], 'gateway_ip': '33.21.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.21.183.2', 'tags': [], 'project_id': '3413bee016794d66b9d87152e2b6d2da'}} 2025-11-17 02:06:57,361 - INFO - Created VN ctest-bgpaas_vn-63329122 2025-11-17 02:06:57,411 - DEBUG - VN ctest-bgpaas_vn-63329122 UUID is 55727cce-d985-4ad9-967e-37dc3fe20d86 2025-11-17 02:06:57,861 - DEBUG - Response for create_network : {'network': {'id': '58a4ea24-e0e8-4c8e-8f75-668d659c64d6', 'name': 'ctest-bgpaas_vn-94095227', 'tenant_id': '3413bee016794d66b9d87152e2b6d2da', 'project_id': '3413bee016794d66b9d87152e2b6d2da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-91595792', 'ctest-bgpaas_vn-94095227'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:06:58,078 - DEBUG - Response for create_subnet : {'subnet': {'id': '09323a6d-6dec-4f21-b756-8c414a1088bb', 'name': '', 'tenant_id': '3413bee016794d66b9d87152e2b6d2da', 'network_id': '58a4ea24-e0e8-4c8e-8f75-668d659c64d6', 'ip_version': 4, 'cidr': '36.251.26.192/26', 'allocation_pools': [{'start': '36.251.26.194', 'end': '36.251.26.254'}], 'gateway_ip': '36.251.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.251.26.194', 'tags': [], 'project_id': '3413bee016794d66b9d87152e2b6d2da'}} 2025-11-17 02:06:58,095 - INFO - Created VN ctest-bgpaas_vn-94095227 2025-11-17 02:06:58,147 - DEBUG - VN ctest-bgpaas_vn-94095227 UUID is 58a4ea24-e0e8-4c8e-8f75-668d659c64d6 2025-11-17 02:06:59,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:07:01,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:07:01,099 - INFO - Waiting for VM test_vm to be up.. 2025-11-17 02:07:01,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:07:06,257 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:07:06,257 - INFO - VM name : test_vm 2025-11-17 02:07:06,334 - DEBUG - VM test_vm ID is ec8f3818-c2f4-4fd4-ab3d-fda92c445c81 2025-11-17 02:07:06,356 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:07:06,442 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ec8f3818-c2f4-4fd4-ab3d-fda92c445c81 2025-11-17 02:07:06,790 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ec8f3818-c2f4-4fd4-ab3d-fda92c445c81 2025-11-17 02:07:06,829 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/070a66d6-3b97-4aa0-a87e-3ab7b5eef246 2025-11-17 02:07:10,092 - 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 1026ms') 2025-11-17 02:07:10,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-17 02:07:10,147 - DEBUG - Gateway for vn default-domain:ctest-TestRP-91595792:ctest-bgpaas_vn-63329122 is 33.21.183.1 and allocation pool is NOT set 2025-11-17 02:07:12,214 - 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=8.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.560 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 = 0.560/4.576/8.592/4.016 ms') 2025-11-17 02:07:12,214 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-17 02:07:12,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:07:12,363 - DEBUG - Waiting to SSH to VM test_vm, IP 33.21.183.3, Port 22 2025-11-17 02:07:12,432 - 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-11-17 02:07:12,506 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 02:07:17,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:07:17,507 - DEBUG - Waiting to SSH to VM test_vm, IP 33.21.183.3, Port 22 2025-11-17 02:07:17,662 - DEBUG - VM test_vm is ready for SSH connections 2025-11-17 02:07:17,662 - INFO - Waiting for VM test2_vm to be up.. 2025-11-17 02:07:17,735 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:07:17,735 - INFO - VM name : test2_vm 2025-11-17 02:07:17,810 - DEBUG - VM test2_vm ID is 2992d5b7-6623-4326-98ee-fbd5a23ebcfa 2025-11-17 02:07:17,810 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:07:17,877 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2992d5b7-6623-4326-98ee-fbd5a23ebcfa 2025-11-17 02:07:17,885 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5451d4f6-265e-4ce5-9fb6-2c02ec3ece46 2025-11-17 02:07:19,111 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.398/1.703/3.009/1.305 ms') 2025-11-17 02:07:19,111 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-17 02:07:19,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:07:19,263 - DEBUG - Waiting to SSH to VM test2_vm, IP 36.251.26.195, Port 22 2025-11-17 02:07:19,429 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-17 02:07:19,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:07:19,576 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-91595792:ctest-bgpaas_vn-63329122:ctest-bgpaas_vn-63329122.inet.0 2025-11-17 02:07:19,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:07:19,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.251.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:07:19,585 - DEBUG - ping -s 56 -c 3 -W 1 36.251.26.195 2025-11-17 02:07:23,295 - DEBUG - PING 36.251.26.195 (36.251.26.195): 56 data bytes 64 bytes from 36.251.26.195: seq=0 ttl=63 time=3.674 ms 64 bytes from 36.251.26.195: seq=1 ttl=63 time=0.971 ms 64 bytes from 36.251.26.195: seq=2 ttl=63 time=0.798 ms --- 36.251.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.814/3.674 ms 2025-11-17 02:07:23,295 - INFO - Ping to IP 36.251.26.195 from VM test_vm passed 2025-11-17 02:07:23,357 - INFO - Deleting VM test2_vm 2025-11-17 02:07:23,546 - INFO - Deleting VM test_vm 2025-11-17 02:07:23,620 - INFO - Deleting VN ctest-bgpaas_vn-94095227 2025-11-17 02:07:23,668 - DEBUG - VN 58a4ea24-e0e8-4c8e-8f75-668d659c64d6 still in use: Unable to complete operation on network 58a4ea24-e0e8-4c8e-8f75-668d659c64d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ad1fbc1-ec93-47ca-9213-25d4d4bbd41b'] 2025-11-17 02:07:23,668 - WARNING - Deleting VN ctest-bgpaas_vn-94095227 failed..Will retry 2025-11-17 02:07:25,768 - DEBUG - Response for deleting network () 2025-11-17 02:07:25,768 - INFO - Deleting VN ctest-bgpaas_vn-63329122 2025-11-17 02:07:25,855 - DEBUG - Response for deleting network () 2025-11-17 02:07:26,120 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 02:07:26,120 - INFO - END TEST : test_rp_interface : PASSED[0:00:30] 2025-11-17 02:07:26,120 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:07:26,851 - INFO - Deleted project: ctest-TestRP-91595792, ID : 3413bee0-1679-4d66-b9d8-7152e2b6d2da