2025-10-28 21:34:22,178 - INFO - Domain Default found not creating 2025-10-28 21:34:22,323 - INFO - Project ctest-TestRouters-56699987 not found, creating it 2025-10-28 21:34:22,773 - INFO - Created Project:ctest-TestRouters-56699987, ID : d110d8d8-1169-4e89-8e7d-4e8ba8ae75ae 2025-10-28 21:34:24,212 - INFO - ================================================================================ 2025-10-28 21:34:24,212 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-28 21:34:24,213 - 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-10-28 21:34:24,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-28 21:34:24,476 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:34:24,476 - INFO - 2025-10-28 21:34:25,007 - DEBUG - Response for create_network : {'network': {'id': 'd4683e6c-b6c1-4c5d-ba25-ced26941f8fc', 'name': 'ctest-vn1-41793194', 'tenant_id': 'd110d8d811694e898e7d4e8ba8ae75ae', 'project_id': 'd110d8d811694e898e7d4e8ba8ae75ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-56699987', 'ctest-vn1-41793194'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:34:25,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '127c540e-9ba0-4881-9276-a4a97cf6435b', 'name': '', 'tenant_id': 'd110d8d811694e898e7d4e8ba8ae75ae', 'network_id': 'd4683e6c-b6c1-4c5d-ba25-ced26941f8fc', 'ip_version': 4, 'cidr': '136.154.95.128/26', 'allocation_pools': [{'start': '136.154.95.130', 'end': '136.154.95.190'}], 'gateway_ip': '136.154.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.154.95.130', 'tags': [], 'project_id': 'd110d8d811694e898e7d4e8ba8ae75ae'}} 2025-10-28 21:34:25,160 - INFO - Created VN ctest-vn1-41793194 2025-10-28 21:34:25,211 - DEBUG - VN ctest-vn1-41793194 UUID is d4683e6c-b6c1-4c5d-ba25-ced26941f8fc 2025-10-28 21:34:25,555 - DEBUG - Response for create_network : {'network': {'id': '547e1ec2-0b01-46ce-8de1-d35cd0e5d79e', 'name': 'ctest-vn2-72672153', 'tenant_id': 'd110d8d811694e898e7d4e8ba8ae75ae', 'project_id': 'd110d8d811694e898e7d4e8ba8ae75ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-56699987', 'ctest-vn2-72672153'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:34:25,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '1714a750-d213-417d-824b-7a788f0c7a63', 'name': '', 'tenant_id': 'd110d8d811694e898e7d4e8ba8ae75ae', 'network_id': '547e1ec2-0b01-46ce-8de1-d35cd0e5d79e', 'ip_version': 4, 'cidr': '159.36.43.192/26', 'allocation_pools': [{'start': '159.36.43.194', 'end': '159.36.43.254'}], 'gateway_ip': '159.36.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.36.43.194', 'tags': [], 'project_id': 'd110d8d811694e898e7d4e8ba8ae75ae'}} 2025-10-28 21:34:25,753 - INFO - Created VN ctest-vn2-72672153 2025-10-28 21:34:25,803 - DEBUG - VN ctest-vn2-72672153 UUID is 547e1ec2-0b01-46ce-8de1-d35cd0e5d79e 2025-10-28 21:34:26,016 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:34:27,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4518-1) 2025-10-28 21:34:28,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4518-1) 2025-10-28 21:34:28,310 - INFO - Adding interface with subnet_id 127c540e-9ba0-4881-9276-a4a97cf6435b, port_id None to router 62457b52-3bab-4e5b-a2e7-1791ce231c78 2025-10-28 21:34:28,587 - INFO - Waiting for VM ctest-vn1-vm1-75284670 to be up.. 2025-10-28 21:34:28,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:34:33,757 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:34:33,757 - INFO - VM name : ctest-vn1-vm1-75284670 2025-10-28 21:34:33,827 - DEBUG - VM ctest-vn1-vm1-75284670 ID is b756c3da-4ce3-4a91-ae2f-c3fc43b03bbe 2025-10-28 21:34:33,854 - DEBUG - VM ctest-vn1-vm1-75284670 launched on Node cn-jenkins-deploy-platform-ansible-os-4518-1 2025-10-28 21:34:33,923 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b756c3da-4ce3-4a91-ae2f-c3fc43b03bbe 2025-10-28 21:34:34,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b756c3da-4ce3-4a91-ae2f-c3fc43b03bbe 2025-10-28 21:34:34,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7267bc36-e22f-421c-be19-9e21751b166b 2025-10-28 21:34:37,633 - 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 1015ms') 2025-10-28 21:34:37,633 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75284670 failed! 2025-10-28 21:34:37,687 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-56699987:ctest-vn1-41793194 is 136.154.95.129 and allocation pool is NOT set 2025-10-28 21:34:39,755 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.353 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.353/1.951/3.550/1.598 ms') 2025-10-28 21:34:39,756 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75284670 passed 2025-10-28 21:34:39,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:39,907 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75284670, IP 136.154.95.131, Port 22 2025-10-28 21:34:40,063 - DEBUG - VM ctest-vn1-vm1-75284670 is ready for SSH connections 2025-10-28 21:34:40,063 - INFO - Waiting for VM ctest-vn2-vm1-81499691 to be up.. 2025-10-28 21:34:40,137 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:34:40,137 - INFO - VM name : ctest-vn2-vm1-81499691 2025-10-28 21:34:40,207 - DEBUG - VM ctest-vn2-vm1-81499691 ID is b3dbdd5e-df50-4290-ad40-3e094b3b4041 2025-10-28 21:34:40,207 - DEBUG - VM ctest-vn2-vm1-81499691 launched on Node cn-jenkins-deploy-platform-ansible-os-4518-1 2025-10-28 21:34:40,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b3dbdd5e-df50-4290-ad40-3e094b3b4041 2025-10-28 21:34:40,285 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/640da3d3-e64e-494d-ac2c-48621659534d 2025-10-28 21:34:41,525 - 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=3.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.777/3.151/1.374 ms') 2025-10-28 21:34:41,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-81499691 passed 2025-10-28 21:34:41,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:41,675 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-81499691, IP 159.36.43.195, Port 22 2025-10-28 21:34:41,831 - DEBUG - VM ctest-vn2-vm1-81499691 is ready for SSH connections 2025-10-28 21:34:41,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:41,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.36.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-28 21:34:41,832 - DEBUG - ping -s 56 -c 3 -W 1 159.36.43.195 2025-10-28 21:34:46,525 - DEBUG - PING 159.36.43.195 (159.36.43.195): 56 data bytes --- 159.36.43.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:34:46,525 - WARNING - Ping to IP 159.36.43.195 from VM ctest-vn1-vm1-75284670 failed 2025-10-28 21:34:46,525 - INFO - Adding interface with subnet_id 1714a750-d213-417d-824b-7a788f0c7a63, port_id None to router 62457b52-3bab-4e5b-a2e7-1791ce231c78 2025-10-28 21:34:46,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:46,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.36.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-28 21:34:46,740 - DEBUG - ping -s 56 -c 3 -W 1 159.36.43.195 2025-10-28 21:34:49,950 - DEBUG - PING 159.36.43.195 (159.36.43.195): 56 data bytes 64 bytes from 159.36.43.195: seq=1 ttl=63 time=2.702 ms 64 bytes from 159.36.43.195: seq=2 ttl=63 time=0.965 ms --- 159.36.43.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.965/1.833/2.702 ms 2025-10-28 21:34:49,950 - WARNING - Ping to IP 159.36.43.195 from VM ctest-vn1-vm1-75284670 failed 2025-10-28 21:34:50,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.36.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-28 21:34:50,951 - DEBUG - ping -s 56 -c 3 -W 1 159.36.43.195 2025-10-28 21:34:53,161 - DEBUG - PING 159.36.43.195 (159.36.43.195): 56 data bytes 64 bytes from 159.36.43.195: seq=0 ttl=63 time=1.352 ms 64 bytes from 159.36.43.195: seq=1 ttl=63 time=0.863 ms 64 bytes from 159.36.43.195: seq=2 ttl=63 time=0.984 ms --- 159.36.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.066/1.352 ms 2025-10-28 21:34:53,161 - INFO - Ping to IP 159.36.43.195 from VM ctest-vn1-vm1-75284670 passed 2025-10-28 21:34:53,162 - INFO - Deleting interface with subnet_id 127c540e-9ba0-4881-9276-a4a97cf6435b, port_id None from router 62457b52-3bab-4e5b-a2e7-1791ce231c78 2025-10-28 21:34:53,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:53,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.36.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-28 21:34:53,276 - DEBUG - ping -s 56 -c 3 -W 1 159.36.43.195 2025-10-28 21:34:56,476 - DEBUG - PING 159.36.43.195 (159.36.43.195): 56 data bytes --- 159.36.43.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:34:56,476 - WARNING - Ping to IP 159.36.43.195 from VM ctest-vn1-vm1-75284670 failed 2025-10-28 21:34:56,476 - INFO - Adding interface with subnet_id 127c540e-9ba0-4881-9276-a4a97cf6435b, port_id None to router 62457b52-3bab-4e5b-a2e7-1791ce231c78 2025-10-28 21:34:56,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:56,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.36.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-28 21:34:56,691 - DEBUG - ping -s 56 -c 3 -W 1 159.36.43.195 2025-10-28 21:34:58,896 - DEBUG - PING 159.36.43.195 (159.36.43.195): 56 data bytes 64 bytes from 159.36.43.195: seq=0 ttl=63 time=1.614 ms 64 bytes from 159.36.43.195: seq=1 ttl=63 time=1.438 ms 64 bytes from 159.36.43.195: seq=2 ttl=63 time=1.050 ms --- 159.36.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.050/1.367/1.614 ms 2025-10-28 21:34:58,896 - INFO - Ping to IP 159.36.43.195 from VM ctest-vn1-vm1-75284670 passed 2025-10-28 21:34:58,897 - INFO - Deleting interface with subnet_id 1714a750-d213-417d-824b-7a788f0c7a63, port_id None from router 62457b52-3bab-4e5b-a2e7-1791ce231c78 2025-10-28 21:34:59,014 - INFO - Deleting interface with subnet_id 127c540e-9ba0-4881-9276-a4a97cf6435b, port_id None from router 62457b52-3bab-4e5b-a2e7-1791ce231c78 2025-10-28 21:34:59,188 - INFO - Deleting VM ctest-vn2-vm1-81499691 2025-10-28 21:34:59,251 - INFO - Deleting VM ctest-vn1-vm1-75284670 2025-10-28 21:34:59,320 - INFO - Deleting VN ctest-vn2-72672153 2025-10-28 21:34:59,353 - DEBUG - VN 547e1ec2-0b01-46ce-8de1-d35cd0e5d79e still in use: Unable to complete operation on network 547e1ec2-0b01-46ce-8de1-d35cd0e5d79e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ce1f79a-f1e1-4fe2-aae8-aaeeaee8dae8'] 2025-10-28 21:34:59,353 - WARNING - Deleting VN ctest-vn2-72672153 failed..Will retry 2025-10-28 21:35:01,465 - DEBUG - Response for deleting network () 2025-10-28 21:35:01,465 - INFO - Deleting VN ctest-vn1-41793194 2025-10-28 21:35:01,561 - DEBUG - Response for deleting network () 2025-10-28 21:35:01,826 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:35:01,826 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-28 21:35:01,826 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:35:02,505 - INFO - Deleted project: ctest-TestRouters-56699987, ID : d110d8d8-1169-4e89-8e7d-4e8ba8ae75ae