2025-10-30 21:29:54,816 - INFO - Domain Default found not creating 2025-10-30 21:29:55,223 - INFO - Project ctest-TestRP-11882108 not found, creating it 2025-10-30 21:29:56,002 - INFO - Created Project:ctest-TestRP-11882108, ID : ef816665-f2c1-42fb-b90d-daba0de159e5 2025-10-30 21:29:57,893 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:29:57,893 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4554-1']} 2025-10-30 21:29:57,901 - INFO - ================================================================================ 2025-10-30 21:29:57,902 - INFO - STARTING TEST : test_rp_interface 2025-10-30 21:29:57,902 - 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-10-30 21:29:58,223 - DEBUG - Nothing to compare xmpp stats {'10.0.0.153': {'10.20.0.254': '0'}} with 2025-10-30 21:29:58,223 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:29:58,224 - INFO - 2025-10-30 21:29:59,028 - DEBUG - Response for create_network : {'network': {'id': 'b29dbfd1-e9d4-4c4b-836a-47975a5aa6d3', 'name': 'ctest-bgpaas_vn-12518507', 'tenant_id': 'ef816665f2c142fbb90ddaba0de159e5', 'project_id': 'ef816665f2c142fbb90ddaba0de159e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-11882108', 'ctest-bgpaas_vn-12518507'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:29:59,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a7ffbbe-b970-42d6-99cc-fe0166a20859', 'name': '', 'tenant_id': 'ef816665f2c142fbb90ddaba0de159e5', 'network_id': 'b29dbfd1-e9d4-4c4b-836a-47975a5aa6d3', 'ip_version': 4, 'cidr': '212.148.220.128/26', 'allocation_pools': [{'start': '212.148.220.130', 'end': '212.148.220.190'}], 'gateway_ip': '212.148.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.148.220.130', 'tags': [], 'project_id': 'ef816665f2c142fbb90ddaba0de159e5'}} 2025-10-30 21:29:59,358 - INFO - Created VN ctest-bgpaas_vn-12518507 2025-10-30 21:29:59,421 - DEBUG - VN ctest-bgpaas_vn-12518507 UUID is b29dbfd1-e9d4-4c4b-836a-47975a5aa6d3 2025-10-30 21:30:00,140 - DEBUG - Response for create_network : {'network': {'id': '9545c030-a727-4cce-ad4b-7724e31b34ff', 'name': 'ctest-bgpaas_vn-38360689', 'tenant_id': 'ef816665f2c142fbb90ddaba0de159e5', 'project_id': 'ef816665f2c142fbb90ddaba0de159e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-11882108', 'ctest-bgpaas_vn-38360689'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:30:00,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '34fb05d8-d056-4b9e-9347-87a555e0b186', 'name': '', 'tenant_id': 'ef816665f2c142fbb90ddaba0de159e5', 'network_id': '9545c030-a727-4cce-ad4b-7724e31b34ff', 'ip_version': 4, 'cidr': '183.39.181.192/26', 'allocation_pools': [{'start': '183.39.181.194', 'end': '183.39.181.254'}], 'gateway_ip': '183.39.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.39.181.194', 'tags': [], 'project_id': 'ef816665f2c142fbb90ddaba0de159e5'}} 2025-10-30 21:30:00,379 - INFO - Created VN ctest-bgpaas_vn-38360689 2025-10-30 21:30:00,441 - DEBUG - VN ctest-bgpaas_vn-38360689 UUID is 9545c030-a727-4cce-ad4b-7724e31b34ff 2025-10-30 21:30:02,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1) 2025-10-30 21:30:04,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1) 2025-10-30 21:30:04,241 - INFO - Waiting for VM test_vm to be up.. 2025-10-30 21:30:04,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:30:09,490 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:30:09,490 - INFO - VM name : test_vm 2025-10-30 21:30:09,590 - DEBUG - VM test_vm ID is 503400a5-4cf8-4612-9a49-d5cffc782544 2025-10-30 21:30:09,614 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1 2025-10-30 21:30:09,706 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/503400a5-4cf8-4612-9a49-d5cffc782544 2025-10-30 21:30:10,081 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/503400a5-4cf8-4612-9a49-d5cffc782544 2025-10-30 21:30:10,120 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/4ecc99fc-a38e-4bde-a11e-eda366cc211f 2025-10-30 21:30:13,410 - 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-30 21:30:13,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-30 21:30:13,480 - DEBUG - Gateway for vn default-domain:ctest-TestRP-11882108:ctest-bgpaas_vn-12518507 is 212.148.220.129 and allocation pool is NOT set 2025-10-30 21:30:15,572 - 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=3.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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.181/2.748/3.316/0.567 ms') 2025-10-30 21:30:15,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-30 21:30:15,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:30:15,753 - DEBUG - Waiting to SSH to VM test_vm, IP 212.148.220.131, Port 22 2025-10-30 21:30:15,830 - 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-30 21:30:15,977 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 21:30:20,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:30:20,977 - DEBUG - Waiting to SSH to VM test_vm, IP 212.148.220.131, Port 22 2025-10-30 21:30:21,170 - DEBUG - VM test_vm is ready for SSH connections 2025-10-30 21:30:21,170 - INFO - Waiting for VM test2_vm to be up.. 2025-10-30 21:30:21,496 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:30:21,496 - INFO - VM name : test2_vm 2025-10-30 21:30:21,650 - DEBUG - VM test2_vm ID is 5c6136ec-5e86-45de-9143-cb496b77e28a 2025-10-30 21:30:21,650 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1 2025-10-30 21:30:21,833 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/5c6136ec-5e86-45de-9143-cb496b77e28a 2025-10-30 21:30:21,849 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/21a19b5e-b0a3-4237-bf9b-91451c5239c3 2025-10-30 21:30:23,148 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.721 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.721/3.850/6.980/3.129 ms') 2025-10-30 21:30:23,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-30 21:30:23,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:30:23,341 - DEBUG - Waiting to SSH to VM test2_vm, IP 183.39.181.195, Port 22 2025-10-30 21:30:23,540 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-30 21:30:23,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:30:23,790 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-11882108:ctest-bgpaas_vn-12518507:ctest-bgpaas_vn-12518507.inet.0 2025-10-30 21:30:23,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:30:23,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.39.181.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123 2025-10-30 21:30:23,810 - DEBUG - ping -s 56 -c 3 -W 1 183.39.181.195 2025-10-30 21:30:27,978 - DEBUG - PING 183.39.181.195 (183.39.181.195): 56 data bytes 64 bytes from 183.39.181.195: seq=0 ttl=63 time=11.356 ms 64 bytes from 183.39.181.195: seq=1 ttl=63 time=2.217 ms 64 bytes from 183.39.181.195: seq=2 ttl=63 time=1.763 ms --- 183.39.181.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.763/5.112/11.356 ms 2025-10-30 21:30:27,978 - INFO - Ping to IP 183.39.181.195 from VM test_vm passed 2025-10-30 21:30:28,084 - INFO - Deleting VM test2_vm 2025-10-30 21:30:28,163 - INFO - Deleting VM test_vm 2025-10-30 21:30:28,278 - INFO - Deleting VN ctest-bgpaas_vn-38360689 2025-10-30 21:30:28,361 - DEBUG - VN 9545c030-a727-4cce-ad4b-7724e31b34ff still in use: Unable to complete operation on network 9545c030-a727-4cce-ad4b-7724e31b34ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-607f0d53-2ea7-46e2-a964-c5c3250c86b9'] 2025-10-30 21:30:28,362 - WARNING - Deleting VN ctest-bgpaas_vn-38360689 failed..Will retry 2025-10-30 21:30:30,641 - DEBUG - Response for deleting network () 2025-10-30 21:30:30,641 - INFO - Deleting VN ctest-bgpaas_vn-12518507 2025-10-30 21:30:30,788 - DEBUG - Response for deleting network () 2025-10-30 21:30:31,075 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 21:30:31,076 - INFO - END TEST : test_rp_interface : PASSED[0:00:34] 2025-10-30 21:30:31,076 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:30:32,122 - INFO - Deleted project: ctest-TestRP-11882108, ID : ef816665-f2c1-42fb-b90d-daba0de159e5