2025-11-10 20:20:48,038 - INFO - Domain Default found not creating 2025-11-10 20:20:48,209 - INFO - Project ctest-TestRouters-55563079 not found, creating it 2025-11-10 20:20:48,707 - INFO - Created Project:ctest-TestRouters-55563079, ID : 32ffa28b-9f2f-4e98-b8fd-df63aa7bde69 2025-11-10 20:20:50,823 - INFO - ================================================================================ 2025-11-10 20:20:50,824 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-10 20:20:50,824 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-11-10 20:20:51,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-11-10 20:20:51,087 - INFO - Initial checks done. Running the testcase now 2025-11-10 20:20:51,087 - INFO - 2025-11-10 20:20:51,691 - DEBUG - Response for create_network : {'network': {'id': '2e49e415-54e7-4948-956b-d341c15a9612', 'name': 'ctest-vn1-78303077', 'tenant_id': '32ffa28b9f2f4e98b8fddf63aa7bde69', 'project_id': '32ffa28b9f2f4e98b8fddf63aa7bde69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55563079', 'ctest-vn1-78303077'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 20:20:52,065 - DEBUG - Response for create_subnet : {'subnet': {'id': '430ef64e-2830-43f0-8cd7-2d47eb0451d6', 'name': '', 'tenant_id': '32ffa28b9f2f4e98b8fddf63aa7bde69', 'network_id': '2e49e415-54e7-4948-956b-d341c15a9612', 'ip_version': 4, 'cidr': '50.223.70.128/26', 'allocation_pools': [{'start': '50.223.70.130', 'end': '50.223.70.190'}], 'gateway_ip': '50.223.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.223.70.130', 'tags': [], 'project_id': '32ffa28b9f2f4e98b8fddf63aa7bde69'}} 2025-11-10 20:20:52,099 - INFO - Created VN ctest-vn1-78303077 2025-11-10 20:20:52,168 - DEBUG - VN ctest-vn1-78303077 UUID is 2e49e415-54e7-4948-956b-d341c15a9612 2025-11-10 20:20:52,558 - DEBUG - Response for create_network : {'network': {'id': 'bd86a828-70b7-418a-981e-bd8fbd491c69', 'name': 'ctest-vn2-34072920', 'tenant_id': '32ffa28b9f2f4e98b8fddf63aa7bde69', 'project_id': '32ffa28b9f2f4e98b8fddf63aa7bde69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55563079', 'ctest-vn2-34072920'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 20:20:52,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '242755b8-0ac6-49c1-a888-b4a140f7953a', 'name': '', 'tenant_id': '32ffa28b9f2f4e98b8fddf63aa7bde69', 'network_id': 'bd86a828-70b7-418a-981e-bd8fbd491c69', 'ip_version': 4, 'cidr': '170.43.105.192/26', 'allocation_pools': [{'start': '170.43.105.194', 'end': '170.43.105.254'}], 'gateway_ip': '170.43.105.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.43.105.194', 'tags': [], 'project_id': '32ffa28b9f2f4e98b8fddf63aa7bde69'}} 2025-11-10 20:20:52,739 - INFO - Created VN ctest-vn2-34072920 2025-11-10 20:20:52,792 - DEBUG - VN ctest-vn2-34072920 UUID is bd86a828-70b7-418a-981e-bd8fbd491c69 2025-11-10 20:20:53,023 - DEBUG - Services list from nova: [, , ] 2025-11-10 20:20:54,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4688-1) 2025-11-10 20:20:55,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4688-1) 2025-11-10 20:20:55,934 - INFO - Adding interface with subnet_id 430ef64e-2830-43f0-8cd7-2d47eb0451d6, port_id None to router 0d2a054b-a8da-455f-95cf-c8f29a184490 2025-11-10 20:20:56,195 - INFO - Waiting for VM ctest-vn1-vm1-93409740 to be up.. 2025-11-10 20:20:56,305 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 20:21:01,482 - DEBUG - VM is in ACTIVE state now 2025-11-10 20:21:01,482 - INFO - VM name : ctest-vn1-vm1-93409740 2025-11-10 20:21:01,599 - DEBUG - VM ctest-vn1-vm1-93409740 ID is ebe2f298-e182-44f9-a725-425132f6991a 2025-11-10 20:21:01,625 - DEBUG - VM ctest-vn1-vm1-93409740 launched on Node cn-jenkins-deploy-platform-ansible-os-4688-1 2025-11-10 20:21:01,718 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ebe2f298-e182-44f9-a725-425132f6991a 2025-11-10 20:21:02,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ebe2f298-e182-44f9-a725-425132f6991a 2025-11-10 20:21:02,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/810de79e-63cc-4fe4-aafc-13aed938ac8e 2025-11-10 20:21:05,360 - 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 1002ms') 2025-11-10 20:21:05,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93409740 failed! 2025-11-10 20:21:05,424 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55563079:ctest-vn1-78303077 is 50.223.70.129 and allocation pool is NOT set 2025-11-10 20:21:07,495 - 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=13.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 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.066/7.575/13.084/5.509 ms') 2025-11-10 20:21:07,495 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93409740 passed 2025-11-10 20:21:07,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:07,660 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93409740, IP 50.223.70.131, Port 22 2025-11-10 20:21:07,726 - 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-10 20:21:07,833 - DEBUG - VM ctest-vn1-vm1-93409740 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 20:21:12,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:12,834 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93409740, IP 50.223.70.131, Port 22 2025-11-10 20:21:13,010 - DEBUG - VM ctest-vn1-vm1-93409740 is ready for SSH connections 2025-11-10 20:21:13,011 - INFO - Waiting for VM ctest-vn2-vm1-47444769 to be up.. 2025-11-10 20:21:13,151 - DEBUG - VM is in ACTIVE state now 2025-11-10 20:21:13,151 - INFO - VM name : ctest-vn2-vm1-47444769 2025-11-10 20:21:13,321 - DEBUG - VM ctest-vn2-vm1-47444769 ID is d103db52-8a0d-4089-8da6-47fe8ea8f439 2025-11-10 20:21:13,321 - DEBUG - VM ctest-vn2-vm1-47444769 launched on Node cn-jenkins-deploy-platform-ansible-os-4688-1 2025-11-10 20:21:13,491 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d103db52-8a0d-4089-8da6-47fe8ea8f439 2025-11-10 20:21:13,511 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/beaf5f2b-1f72-40db-9b77-ef213dd749cd 2025-11-10 20:21:14,834 - 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=8.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.730 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.730/4.514/8.299/3.784 ms') 2025-11-10 20:21:14,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-47444769 passed 2025-11-10 20:21:15,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:15,013 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-47444769, IP 170.43.105.195, Port 22 2025-11-10 20:21:15,204 - DEBUG - VM ctest-vn2-vm1-47444769 is ready for SSH connections 2025-11-10 20:21:15,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:15,205 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.43.105.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 20:21:15,205 - DEBUG - ping -s 56 -c 3 -W 1 170.43.105.195 2025-11-10 20:21:20,605 - DEBUG - PING 170.43.105.195 (170.43.105.195): 56 data bytes --- 170.43.105.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 20:21:20,605 - WARNING - Ping to IP 170.43.105.195 from VM ctest-vn1-vm1-93409740 failed 2025-11-10 20:21:20,605 - INFO - Adding interface with subnet_id 242755b8-0ac6-49c1-a888-b4a140f7953a, port_id None to router 0d2a054b-a8da-455f-95cf-c8f29a184490 2025-11-10 20:21:21,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:21,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.43.105.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 20:21:21,009 - DEBUG - ping -s 56 -c 3 -W 1 170.43.105.195 2025-11-10 20:21:23,281 - DEBUG - PING 170.43.105.195 (170.43.105.195): 56 data bytes 64 bytes from 170.43.105.195: seq=0 ttl=63 time=3.065 ms 64 bytes from 170.43.105.195: seq=1 ttl=63 time=1.619 ms 64 bytes from 170.43.105.195: seq=2 ttl=63 time=2.075 ms --- 170.43.105.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.619/2.253/3.065 ms 2025-11-10 20:21:23,281 - INFO - Ping to IP 170.43.105.195 from VM ctest-vn1-vm1-93409740 passed 2025-11-10 20:21:23,281 - INFO - Deleting interface with subnet_id 430ef64e-2830-43f0-8cd7-2d47eb0451d6, port_id None from router 0d2a054b-a8da-455f-95cf-c8f29a184490 2025-11-10 20:21:23,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:23,457 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.43.105.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 20:21:23,457 - DEBUG - ping -s 56 -c 3 -W 1 170.43.105.195 2025-11-10 20:21:26,781 - DEBUG - PING 170.43.105.195 (170.43.105.195): 56 data bytes --- 170.43.105.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 20:21:26,781 - WARNING - Ping to IP 170.43.105.195 from VM ctest-vn1-vm1-93409740 failed 2025-11-10 20:21:26,781 - INFO - Adding interface with subnet_id 430ef64e-2830-43f0-8cd7-2d47eb0451d6, port_id None to router 0d2a054b-a8da-455f-95cf-c8f29a184490 2025-11-10 20:21:27,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:27,105 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.43.105.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 20:21:27,105 - DEBUG - ping -s 56 -c 3 -W 1 170.43.105.195 2025-11-10 20:21:29,325 - DEBUG - PING 170.43.105.195 (170.43.105.195): 56 data bytes 64 bytes from 170.43.105.195: seq=0 ttl=63 time=1.832 ms 64 bytes from 170.43.105.195: seq=1 ttl=63 time=0.954 ms 64 bytes from 170.43.105.195: seq=2 ttl=63 time=1.695 ms --- 170.43.105.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.954/1.493/1.832 ms 2025-11-10 20:21:29,325 - INFO - Ping to IP 170.43.105.195 from VM ctest-vn1-vm1-93409740 passed 2025-11-10 20:21:29,326 - INFO - Deleting interface with subnet_id 242755b8-0ac6-49c1-a888-b4a140f7953a, port_id None from router 0d2a054b-a8da-455f-95cf-c8f29a184490 2025-11-10 20:21:29,565 - INFO - Deleting interface with subnet_id 430ef64e-2830-43f0-8cd7-2d47eb0451d6, port_id None from router 0d2a054b-a8da-455f-95cf-c8f29a184490 2025-11-10 20:21:29,787 - INFO - Deleting VM ctest-vn2-vm1-47444769 2025-11-10 20:21:29,861 - INFO - Deleting VM ctest-vn1-vm1-93409740 2025-11-10 20:21:29,951 - INFO - Deleting VN ctest-vn2-34072920 2025-11-10 20:21:30,006 - DEBUG - VN bd86a828-70b7-418a-981e-bd8fbd491c69 still in use: Unable to complete operation on network bd86a828-70b7-418a-981e-bd8fbd491c69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0b0a9f1-7014-4b2e-8dda-93d966a1ba1c'] 2025-11-10 20:21:30,006 - WARNING - Deleting VN ctest-vn2-34072920 failed..Will retry 2025-11-10 20:21:32,171 - DEBUG - Response for deleting network () 2025-11-10 20:21:32,171 - INFO - Deleting VN ctest-vn1-78303077 2025-11-10 20:21:32,295 - DEBUG - Response for deleting network () 2025-11-10 20:21:32,599 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 20:21:32,599 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42] 2025-11-10 20:21:32,600 - INFO - -------------------------------------------------------------------------------- 2025-11-10 20:21:33,472 - INFO - Deleted project: ctest-TestRouters-55563079, ID : 32ffa28b-9f2f-4e98-b8fd-df63aa7bde69