2025-09-19 21:33:03,367 - INFO - Domain Default found not creating 2025-09-19 21:33:03,525 - INFO - Project ctest-TestRP-51881986 not found, creating it 2025-09-19 21:33:03,940 - INFO - Created Project:ctest-TestRP-51881986, ID : b8a64879-37e6-4cf9-9d0a-d5a1f76e4bc8 2025-09-19 21:33:05,287 - DEBUG - Services list from nova: [, , ] 2025-09-19 21:33:05,287 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4153-1']} 2025-09-19 21:33:05,290 - INFO - ================================================================================ 2025-09-19 21:33:05,290 - INFO - STARTING TEST : test_rp_interface 2025-09-19 21:33:05,290 - 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-09-19 21:33:05,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 21:33:05,543 - INFO - Initial checks done. Running the testcase now 2025-09-19 21:33:05,543 - INFO - 2025-09-19 21:33:06,060 - DEBUG - Response for create_network : {'network': {'id': '72964e76-af34-44c3-8f48-1f72c190165d', 'name': 'ctest-bgpaas_vn-27329713', 'tenant_id': 'b8a6487937e64cf99d0ad5a1f76e4bc8', 'project_id': 'b8a6487937e64cf99d0ad5a1f76e4bc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-51881986', 'ctest-bgpaas_vn-27329713'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:33:06,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ca19f8b-176b-4201-913e-92808223ea4e', 'name': '', 'tenant_id': 'b8a6487937e64cf99d0ad5a1f76e4bc8', 'network_id': '72964e76-af34-44c3-8f48-1f72c190165d', 'ip_version': 4, 'cidr': '14.227.15.128/26', 'allocation_pools': [{'start': '14.227.15.130', 'end': '14.227.15.190'}], 'gateway_ip': '14.227.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.227.15.130', 'tags': [], 'project_id': 'b8a6487937e64cf99d0ad5a1f76e4bc8'}} 2025-09-19 21:33:06,261 - INFO - Created VN ctest-bgpaas_vn-27329713 2025-09-19 21:33:06,314 - DEBUG - VN ctest-bgpaas_vn-27329713 UUID is 72964e76-af34-44c3-8f48-1f72c190165d 2025-09-19 21:33:06,758 - DEBUG - Response for create_network : {'network': {'id': '93466e8f-2bbf-490a-9e49-d0c9a46c29fa', 'name': 'ctest-bgpaas_vn-97097446', 'tenant_id': 'b8a6487937e64cf99d0ad5a1f76e4bc8', 'project_id': 'b8a6487937e64cf99d0ad5a1f76e4bc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-51881986', 'ctest-bgpaas_vn-97097446'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:33:06,917 - DEBUG - Response for create_subnet : {'subnet': {'id': '8de890c8-171e-4003-b016-0a27e3318295', 'name': '', 'tenant_id': 'b8a6487937e64cf99d0ad5a1f76e4bc8', 'network_id': '93466e8f-2bbf-490a-9e49-d0c9a46c29fa', 'ip_version': 4, 'cidr': '200.137.54.192/26', 'allocation_pools': [{'start': '200.137.54.194', 'end': '200.137.54.254'}], 'gateway_ip': '200.137.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.137.54.194', 'tags': [], 'project_id': 'b8a6487937e64cf99d0ad5a1f76e4bc8'}} 2025-09-19 21:33:06,932 - INFO - Created VN ctest-bgpaas_vn-97097446 2025-09-19 21:33:06,982 - DEBUG - VN ctest-bgpaas_vn-97097446 UUID is 93466e8f-2bbf-490a-9e49-d0c9a46c29fa 2025-09-19 21:33:08,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1) 2025-09-19 21:33:09,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1) 2025-09-19 21:33:09,353 - INFO - Waiting for VM test_vm to be up.. 2025-09-19 21:33:09,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 21:33:14,505 - DEBUG - VM is in ACTIVE state now 2025-09-19 21:33:14,505 - INFO - VM name : test_vm 2025-09-19 21:33:14,580 - DEBUG - VM test_vm ID is df56f491-e247-4d70-9786-0a00dc8d66d0 2025-09-19 21:33:14,603 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1 2025-09-19 21:33:14,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df56f491-e247-4d70-9786-0a00dc8d66d0 2025-09-19 21:33:14,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df56f491-e247-4d70-9786-0a00dc8d66d0 2025-09-19 21:33:14,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bcda15db-07b2-4a4c-8c1a-5615b4f371a6 2025-09-19 21:33:18,250 - 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 1024ms') 2025-09-19 21:33:18,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-09-19 21:33:18,306 - DEBUG - Gateway for vn default-domain:ctest-TestRP-51881986:ctest-bgpaas_vn-27329713 is 14.227.15.129 and allocation pool is NOT set 2025-09-19 21:33:20,369 - 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=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 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.525/2.573/2.621/0.048 ms') 2025-09-19 21:33:20,369 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-09-19 21:33:20,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:33:20,518 - DEBUG - Waiting to SSH to VM test_vm, IP 14.227.15.131, Port 22 2025-09-19 21:33:20,573 - 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-09-19 21:33:20,637 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-09-19 21:33:25,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:33:25,638 - DEBUG - Waiting to SSH to VM test_vm, IP 14.227.15.131, Port 22 2025-09-19 21:33:25,789 - DEBUG - VM test_vm is ready for SSH connections 2025-09-19 21:33:25,789 - INFO - Waiting for VM test2_vm to be up.. 2025-09-19 21:33:25,852 - DEBUG - VM is in ACTIVE state now 2025-09-19 21:33:25,852 - INFO - VM name : test2_vm 2025-09-19 21:33:25,916 - DEBUG - VM test2_vm ID is df4deb63-448f-4432-ae11-20c20e4836b8 2025-09-19 21:33:25,916 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1 2025-09-19 21:33:25,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df4deb63-448f-4432-ae11-20c20e4836b8 2025-09-19 21:33:25,987 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/594e2b1b-55d4-4492-8eb2-2dd641575e79 2025-09-19 21:33:27,229 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.329 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.329/1.512/2.695/1.183 ms') 2025-09-19 21:33:27,229 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-09-19 21:33:27,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:33:27,382 - DEBUG - Waiting to SSH to VM test2_vm, IP 200.137.54.195, Port 22 2025-09-19 21:33:27,541 - DEBUG - VM test2_vm is ready for SSH connections 2025-09-19 21:33:27,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:33:27,707 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-51881986:ctest-bgpaas_vn-27329713:ctest-bgpaas_vn-27329713.inet.0 2025-09-19 21:33:27,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:33:27,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.137.54.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:33:27,717 - DEBUG - ping -s 56 -c 3 -W 1 200.137.54.195 2025-09-19 21:33:31,680 - DEBUG - PING 200.137.54.195 (200.137.54.195): 56 data bytes 64 bytes from 200.137.54.195: seq=0 ttl=63 time=3.309 ms 64 bytes from 200.137.54.195: seq=1 ttl=63 time=0.632 ms 64 bytes from 200.137.54.195: seq=2 ttl=63 time=0.664 ms --- 200.137.54.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.632/1.535/3.309 ms 2025-09-19 21:33:31,680 - INFO - Ping to IP 200.137.54.195 from VM test_vm passed 2025-09-19 21:33:31,732 - INFO - Deleting VM test2_vm 2025-09-19 21:33:31,793 - INFO - Deleting VM test_vm 2025-09-19 21:33:31,859 - INFO - Deleting VN ctest-bgpaas_vn-97097446 2025-09-19 21:33:31,893 - DEBUG - VN 93466e8f-2bbf-490a-9e49-d0c9a46c29fa still in use: Unable to complete operation on network 93466e8f-2bbf-490a-9e49-d0c9a46c29fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd443e74-c93a-4865-bf95-7db3a1ec0ac3'] 2025-09-19 21:33:31,893 - WARNING - Deleting VN ctest-bgpaas_vn-97097446 failed..Will retry 2025-09-19 21:33:33,978 - DEBUG - Response for deleting network () 2025-09-19 21:33:33,978 - INFO - Deleting VN ctest-bgpaas_vn-27329713 2025-09-19 21:33:34,066 - DEBUG - Response for deleting network () 2025-09-19 21:33:34,322 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 21:33:34,322 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-09-19 21:33:34,322 - INFO - -------------------------------------------------------------------------------- 2025-09-19 21:33:34,964 - INFO - Deleted project: ctest-TestRP-51881986, ID : b8a64879-37e6-4cf9-9d0a-d5a1f76e4bc8