2025-11-06 08:49:06,575 - INFO - Domain Default found not creating 2025-11-06 08:49:06,735 - INFO - Project ctest-TestRouters-06125895 not found, creating it 2025-11-06 08:49:07,229 - INFO - Created Project:ctest-TestRouters-06125895, ID : 93bb912d-4c50-4c3e-8f70-e4c10de3fbac 2025-11-06 08:49:08,791 - INFO - ================================================================================ 2025-11-06 08:49:08,791 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-06 08:49:08,792 - 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-06 08:49:09,061 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-06 08:49:09,062 - INFO - Initial checks done. Running the testcase now 2025-11-06 08:49:09,062 - INFO - 2025-11-06 08:49:09,676 - DEBUG - Response for create_network : {'network': {'id': 'ce2484e0-3e7b-416e-baad-a197295bf720', 'name': 'ctest-vn1-42057116', 'tenant_id': '93bb912d4c504c3e8f70e4c10de3fbac', 'project_id': '93bb912d4c504c3e8f70e4c10de3fbac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06125895', 'ctest-vn1-42057116'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 08:49:09,923 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e9e2349-5abe-4e46-ba62-f0a41c95ad35', 'name': '', 'tenant_id': '93bb912d4c504c3e8f70e4c10de3fbac', 'network_id': 'ce2484e0-3e7b-416e-baad-a197295bf720', 'ip_version': 4, 'cidr': '23.15.35.192/26', 'allocation_pools': [{'start': '23.15.35.194', 'end': '23.15.35.254'}], 'gateway_ip': '23.15.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.15.35.194', 'tags': [], 'project_id': '93bb912d4c504c3e8f70e4c10de3fbac'}} 2025-11-06 08:49:09,946 - INFO - Created VN ctest-vn1-42057116 2025-11-06 08:49:10,001 - DEBUG - VN ctest-vn1-42057116 UUID is ce2484e0-3e7b-416e-baad-a197295bf720 2025-11-06 08:49:10,306 - DEBUG - Response for create_network : {'network': {'id': 'e08e6832-1664-40b7-a689-b0d393b79add', 'name': 'ctest-vn2-10411030', 'tenant_id': '93bb912d4c504c3e8f70e4c10de3fbac', 'project_id': '93bb912d4c504c3e8f70e4c10de3fbac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06125895', 'ctest-vn2-10411030'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 08:49:10,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a62ba301-ea1e-45f4-af0a-a6f72ce0f015', 'name': '', 'tenant_id': '93bb912d4c504c3e8f70e4c10de3fbac', 'network_id': 'e08e6832-1664-40b7-a689-b0d393b79add', 'ip_version': 4, 'cidr': '33.118.23.192/26', 'allocation_pools': [{'start': '33.118.23.194', 'end': '33.118.23.254'}], 'gateway_ip': '33.118.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.118.23.194', 'tags': [], 'project_id': '93bb912d4c504c3e8f70e4c10de3fbac'}} 2025-11-06 08:49:10,491 - INFO - Created VN ctest-vn2-10411030 2025-11-06 08:49:10,544 - DEBUG - VN ctest-vn2-10411030 UUID is e08e6832-1664-40b7-a689-b0d393b79add 2025-11-06 08:49:10,716 - DEBUG - Services list from nova: [, , ] 2025-11-06 08:49:11,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4666-1) 2025-11-06 08:49:13,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4666-1) 2025-11-06 08:49:13,246 - INFO - Adding interface with subnet_id 4e9e2349-5abe-4e46-ba62-f0a41c95ad35, port_id None to router 982256e3-1442-40de-8e4c-280bca1ef851 2025-11-06 08:49:13,558 - INFO - Waiting for VM ctest-vn1-vm1-97755664 to be up.. 2025-11-06 08:49:13,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 08:49:18,714 - DEBUG - VM is in ACTIVE state now 2025-11-06 08:49:18,714 - INFO - VM name : ctest-vn1-vm1-97755664 2025-11-06 08:49:18,790 - DEBUG - VM ctest-vn1-vm1-97755664 ID is a1ba70eb-ada5-4c9e-8925-2787339b4049 2025-11-06 08:49:18,814 - DEBUG - VM ctest-vn1-vm1-97755664 launched on Node cn-jenkins-deploy-platform-ansible-os-4666-1 2025-11-06 08:49:18,901 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a1ba70eb-ada5-4c9e-8925-2787339b4049 2025-11-06 08:49:19,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a1ba70eb-ada5-4c9e-8925-2787339b4049 2025-11-06 08:49:19,279 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cb9a8b77-feac-47e5-b152-df3d20f403b0 2025-11-06 08:49:22,546 - 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 1030ms') 2025-11-06 08:49:22,546 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97755664 failed! 2025-11-06 08:49:22,604 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-06125895:ctest-vn1-42057116 is 23.15.35.193 and allocation pool is NOT set 2025-11-06 08:49:24,664 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.944/3.431/3.919/0.487 ms') 2025-11-06 08:49:24,665 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97755664 passed 2025-11-06 08:49:24,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:24,813 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97755664, IP 23.15.35.195, Port 22 2025-11-06 08:49:24,883 - 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-06 08:49:24,965 - DEBUG - VM ctest-vn1-vm1-97755664 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 08:49:29,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:29,966 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97755664, IP 23.15.35.195, Port 22 2025-11-06 08:49:30,121 - DEBUG - VM ctest-vn1-vm1-97755664 is ready for SSH connections 2025-11-06 08:49:30,121 - INFO - Waiting for VM ctest-vn2-vm1-32199887 to be up.. 2025-11-06 08:49:30,199 - DEBUG - VM is in ACTIVE state now 2025-11-06 08:49:30,200 - INFO - VM name : ctest-vn2-vm1-32199887 2025-11-06 08:49:30,279 - DEBUG - VM ctest-vn2-vm1-32199887 ID is b8d27ce6-b3b7-4dd6-a96f-c6d34242eda8 2025-11-06 08:49:30,279 - DEBUG - VM ctest-vn2-vm1-32199887 launched on Node cn-jenkins-deploy-platform-ansible-os-4666-1 2025-11-06 08:49:30,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b8d27ce6-b3b7-4dd6-a96f-c6d34242eda8 2025-11-06 08:49:30,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/93bc98c4-efcc-4307-af84-ed5918ad8f0c 2025-11-06 08:49:31,606 - 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=4.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/2.363/4.258/1.894 ms') 2025-11-06 08:49:31,606 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-32199887 passed 2025-11-06 08:49:31,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:31,753 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-32199887, IP 33.118.23.195, Port 22 2025-11-06 08:49:31,908 - DEBUG - VM ctest-vn2-vm1-32199887 is ready for SSH connections 2025-11-06 08:49:31,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:31,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.118.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 08:49:31,909 - DEBUG - ping -s 56 -c 3 -W 1 33.118.23.195 2025-11-06 08:49:36,956 - DEBUG - PING 33.118.23.195 (33.118.23.195): 56 data bytes --- 33.118.23.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-06 08:49:36,956 - WARNING - Ping to IP 33.118.23.195 from VM ctest-vn1-vm1-97755664 failed 2025-11-06 08:49:36,956 - INFO - Adding interface with subnet_id a62ba301-ea1e-45f4-af0a-a6f72ce0f015, port_id None to router 982256e3-1442-40de-8e4c-280bca1ef851 2025-11-06 08:49:37,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:37,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.118.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 08:49:37,184 - DEBUG - ping -s 56 -c 3 -W 1 33.118.23.195 2025-11-06 08:49:40,413 - DEBUG - PING 33.118.23.195 (33.118.23.195): 56 data bytes 64 bytes from 33.118.23.195: seq=1 ttl=63 time=3.241 ms 64 bytes from 33.118.23.195: seq=2 ttl=63 time=0.777 ms --- 33.118.23.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.777/2.009/3.241 ms 2025-11-06 08:49:40,413 - WARNING - Ping to IP 33.118.23.195 from VM ctest-vn1-vm1-97755664 failed 2025-11-06 08:49:41,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.118.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 08:49:41,414 - DEBUG - ping -s 56 -c 3 -W 1 33.118.23.195 2025-11-06 08:49:43,638 - DEBUG - PING 33.118.23.195 (33.118.23.195): 56 data bytes 64 bytes from 33.118.23.195: seq=0 ttl=63 time=1.809 ms 64 bytes from 33.118.23.195: seq=1 ttl=63 time=1.033 ms 64 bytes from 33.118.23.195: seq=2 ttl=63 time=0.871 ms --- 33.118.23.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/1.237/1.809 ms 2025-11-06 08:49:43,638 - INFO - Ping to IP 33.118.23.195 from VM ctest-vn1-vm1-97755664 passed 2025-11-06 08:49:43,638 - INFO - Deleting interface with subnet_id 4e9e2349-5abe-4e46-ba62-f0a41c95ad35, port_id None from router 982256e3-1442-40de-8e4c-280bca1ef851 2025-11-06 08:49:43,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:43,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.118.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 08:49:43,754 - DEBUG - ping -s 56 -c 3 -W 1 33.118.23.195 2025-11-06 08:49:46,977 - DEBUG - PING 33.118.23.195 (33.118.23.195): 56 data bytes --- 33.118.23.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-06 08:49:46,977 - WARNING - Ping to IP 33.118.23.195 from VM ctest-vn1-vm1-97755664 failed 2025-11-06 08:49:46,977 - INFO - Adding interface with subnet_id 4e9e2349-5abe-4e46-ba62-f0a41c95ad35, port_id None to router 982256e3-1442-40de-8e4c-280bca1ef851 2025-11-06 08:49:47,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:47,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.118.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 08:49:47,225 - DEBUG - ping -s 56 -c 3 -W 1 33.118.23.195 2025-11-06 08:49:49,464 - DEBUG - PING 33.118.23.195 (33.118.23.195): 56 data bytes 64 bytes from 33.118.23.195: seq=0 ttl=63 time=1.453 ms 64 bytes from 33.118.23.195: seq=1 ttl=63 time=0.817 ms 64 bytes from 33.118.23.195: seq=2 ttl=63 time=0.836 ms --- 33.118.23.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/1.035/1.453 ms 2025-11-06 08:49:49,464 - INFO - Ping to IP 33.118.23.195 from VM ctest-vn1-vm1-97755664 passed 2025-11-06 08:49:49,464 - INFO - Deleting interface with subnet_id a62ba301-ea1e-45f4-af0a-a6f72ce0f015, port_id None from router 982256e3-1442-40de-8e4c-280bca1ef851 2025-11-06 08:49:49,589 - INFO - Deleting interface with subnet_id 4e9e2349-5abe-4e46-ba62-f0a41c95ad35, port_id None from router 982256e3-1442-40de-8e4c-280bca1ef851 2025-11-06 08:49:49,763 - INFO - Deleting VM ctest-vn2-vm1-32199887 2025-11-06 08:49:49,839 - INFO - Deleting VM ctest-vn1-vm1-97755664 2025-11-06 08:49:49,918 - INFO - Deleting VN ctest-vn2-10411030 2025-11-06 08:49:49,956 - DEBUG - VN e08e6832-1664-40b7-a689-b0d393b79add still in use: Unable to complete operation on network e08e6832-1664-40b7-a689-b0d393b79add. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae541143-e59d-4d7f-806e-f1ed04007a98'] 2025-11-06 08:49:49,956 - WARNING - Deleting VN ctest-vn2-10411030 failed..Will retry 2025-11-06 08:49:52,071 - DEBUG - Response for deleting network () 2025-11-06 08:49:52,071 - INFO - Deleting VN ctest-vn1-42057116 2025-11-06 08:49:52,163 - DEBUG - Response for deleting network () 2025-11-06 08:49:52,433 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 08:49:52,433 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-11-06 08:49:52,433 - INFO - -------------------------------------------------------------------------------- 2025-11-06 08:49:53,208 - INFO - Deleted project: ctest-TestRouters-06125895, ID : 93bb912d-4c50-4c3e-8f70-e4c10de3fbac