2025-11-24 02:12:57,154 - INFO - Domain Default found not creating 2025-11-24 02:12:57,304 - INFO - Project ctest-TestRP-13314385 not found, creating it 2025-11-24 02:12:57,756 - INFO - Created Project:ctest-TestRP-13314385, ID : 64aa29a6-adcf-49e8-bdc1-b3885b755305 2025-11-24 02:12:59,225 - DEBUG - Services list from nova: [, , ] 2025-11-24 02:12:59,225 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4804-1']} 2025-11-24 02:12:59,227 - INFO - ================================================================================ 2025-11-24 02:12:59,228 - INFO - STARTING TEST : test_rp_interface 2025-11-24 02:12:59,228 - 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-24 02:12:59,483 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2025-11-24 02:12:59,483 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:12:59,483 - INFO - 2025-11-24 02:13:00,052 - DEBUG - Response for create_network : {'network': {'id': '4843852e-039a-42bb-825e-1f5ceac0aa3d', 'name': 'ctest-bgpaas_vn-05078709', 'tenant_id': '64aa29a6adcf49e8bdc1b3885b755305', 'project_id': '64aa29a6adcf49e8bdc1b3885b755305', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-13314385', 'ctest-bgpaas_vn-05078709'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:13:00,256 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c966ae67-1afa-4eff-92fb-9139bb2f532c', 'name': '', 'tenant_id': '64aa29a6adcf49e8bdc1b3885b755305', 'network_id': '4843852e-039a-42bb-825e-1f5ceac0aa3d', 'ip_version': 4, 'cidr': '123.69.3.128/26', 'allocation_pools': [{'start': '123.69.3.130', 'end': '123.69.3.190'}], 'gateway_ip': '123.69.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.69.3.130', 'tags': [], 'project_id': '64aa29a6adcf49e8bdc1b3885b755305'}} 2025-11-24 02:13:00,272 - INFO - Created VN ctest-bgpaas_vn-05078709 2025-11-24 02:13:00,322 - DEBUG - VN ctest-bgpaas_vn-05078709 UUID is 4843852e-039a-42bb-825e-1f5ceac0aa3d 2025-11-24 02:13:00,791 - DEBUG - Response for create_network : {'network': {'id': 'b009705c-1580-4b87-8734-4b04407cc08e', 'name': 'ctest-bgpaas_vn-45094354', 'tenant_id': '64aa29a6adcf49e8bdc1b3885b755305', 'project_id': '64aa29a6adcf49e8bdc1b3885b755305', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-13314385', 'ctest-bgpaas_vn-45094354'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:13:00,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '69f7d0d5-43e9-40d7-92d2-a916cef70de5', 'name': '', 'tenant_id': '64aa29a6adcf49e8bdc1b3885b755305', 'network_id': 'b009705c-1580-4b87-8734-4b04407cc08e', 'ip_version': 4, 'cidr': '43.2.232.192/26', 'allocation_pools': [{'start': '43.2.232.194', 'end': '43.2.232.254'}], 'gateway_ip': '43.2.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.2.232.194', 'tags': [], 'project_id': '64aa29a6adcf49e8bdc1b3885b755305'}} 2025-11-24 02:13:00,999 - INFO - Created VN ctest-bgpaas_vn-45094354 2025-11-24 02:13:01,050 - DEBUG - VN ctest-bgpaas_vn-45094354 UUID is b009705c-1580-4b87-8734-4b04407cc08e 2025-11-24 02:13:02,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4804-1) 2025-11-24 02:13:03,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4804-1) 2025-11-24 02:13:03,486 - INFO - Waiting for VM test_vm to be up.. 2025-11-24 02:13:03,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:13:08,631 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:13:08,631 - INFO - VM name : test_vm 2025-11-24 02:13:08,702 - DEBUG - VM test_vm ID is b9976105-f5ad-4dcb-81c5-878b8eff3e32 2025-11-24 02:13:08,719 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4804-1 2025-11-24 02:13:08,801 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b9976105-f5ad-4dcb-81c5-878b8eff3e32 2025-11-24 02:13:09,096 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b9976105-f5ad-4dcb-81c5-878b8eff3e32 2025-11-24 02:13:09,129 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/eb53ece6-b1b5-42b2-94f2-77e8319c91af 2025-11-24 02:13:12,365 - 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 1011ms') 2025-11-24 02:13:12,366 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-24 02:13:12,418 - DEBUG - Gateway for vn default-domain:ctest-TestRP-13314385:ctest-bgpaas_vn-05078709 is 123.69.3.129 and allocation pool is NOT set 2025-11-24 02:13:14,483 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 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 = 0.436/2.255/4.074/1.819 ms') 2025-11-24 02:13:14,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-24 02:13:14,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:14,631 - DEBUG - Waiting to SSH to VM test_vm, IP 123.69.3.131, Port 22 2025-11-24 02:13:14,796 - DEBUG - VM test_vm is ready for SSH connections 2025-11-24 02:13:14,796 - INFO - Waiting for VM test2_vm to be up.. 2025-11-24 02:13:14,871 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:13:14,871 - INFO - VM name : test2_vm 2025-11-24 02:13:14,940 - DEBUG - VM test2_vm ID is f9590f84-b705-44f7-8f5a-24368383f5d6 2025-11-24 02:13:14,940 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4804-1 2025-11-24 02:13:15,012 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f9590f84-b705-44f7-8f5a-24368383f5d6 2025-11-24 02:13:15,021 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a44d7b86-b137-4814-b19c-953cf9fda692 2025-11-24 02:13:16,259 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.953 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.953/1.892/2.832/0.939 ms') 2025-11-24 02:13:16,260 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-24 02:13:16,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:16,410 - DEBUG - Waiting to SSH to VM test2_vm, IP 43.2.232.195, Port 22 2025-11-24 02:13:16,466 - 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-24 02:13:16,535 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 02:13:21,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:21,535 - DEBUG - Waiting to SSH to VM test2_vm, IP 43.2.232.195, Port 22 2025-11-24 02:13:21,689 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-24 02:13:21,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:21,840 - DEBUG - Requesting: http://10.20.0.201:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-13314385:ctest-bgpaas_vn-05078709:ctest-bgpaas_vn-05078709.inet.0 2025-11-24 02:13:21,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:21,849 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.2.232.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 02:13:21,849 - DEBUG - ping -s 56 -c 3 -W 1 43.2.232.195 2025-11-24 02:13:25,504 - DEBUG - PING 43.2.232.195 (43.2.232.195): 56 data bytes 64 bytes from 43.2.232.195: seq=0 ttl=63 time=4.050 ms 64 bytes from 43.2.232.195: seq=1 ttl=63 time=0.796 ms 64 bytes from 43.2.232.195: seq=2 ttl=63 time=0.958 ms --- 43.2.232.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.934/4.050 ms 2025-11-24 02:13:25,504 - INFO - Ping to IP 43.2.232.195 from VM test_vm passed 2025-11-24 02:13:25,561 - INFO - Deleting VM test2_vm 2025-11-24 02:13:25,624 - INFO - Deleting VM test_vm 2025-11-24 02:13:25,691 - INFO - Deleting VN ctest-bgpaas_vn-45094354 2025-11-24 02:13:25,736 - DEBUG - VN b009705c-1580-4b87-8734-4b04407cc08e still in use: Unable to complete operation on network b009705c-1580-4b87-8734-4b04407cc08e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ebf842e-f035-4365-a926-8e2515f443fa'] 2025-11-24 02:13:25,736 - WARNING - Deleting VN ctest-bgpaas_vn-45094354 failed..Will retry 2025-11-24 02:13:27,826 - DEBUG - Response for deleting network () 2025-11-24 02:13:27,826 - INFO - Deleting VN ctest-bgpaas_vn-05078709 2025-11-24 02:13:27,922 - DEBUG - Response for deleting network () 2025-11-24 02:13:28,175 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 02:13:28,175 - INFO - END TEST : test_rp_interface : PASSED[0:00:29]
2025-11-24 02:13:28,175 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:13:28,843 - INFO - Deleted project: ctest-TestRP-13314385, ID : 64aa29a6-adcf-49e8-bdc1-b3885b755305