2025-12-09 12:07:11,578 - INFO - Domain Default found not creating 2025-12-09 12:07:11,758 - INFO - Project ctest-TestRouters-72846553 not found, creating it 2025-12-09 12:07:12,248 - INFO - Created Project:ctest-TestRouters-72846553, ID : cedecfae-f804-4195-9101-b30090c15edb 2025-12-09 12:07:13,678 - INFO - ================================================================================ 2025-12-09 12:07:13,678 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-09 12:07:13,678 - 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-12-09 12:07:13,933 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 12:07:13,933 - INFO - Initial checks done. Running the testcase now 2025-12-09 12:07:13,933 - INFO - 2025-12-09 12:07:14,432 - DEBUG - Response for create_network : {'network': {'id': '83276de5-e2a0-4b33-8b14-2f933e5af97f', 'name': 'ctest-vn1-97268999', 'tenant_id': 'cedecfaef80441959101b30090c15edb', 'project_id': 'cedecfaef80441959101b30090c15edb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72846553', 'ctest-vn1-97268999'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 12:07:14,637 - DEBUG - Response for create_subnet : {'subnet': {'id': '527bd863-4032-4475-af19-56705ec485a6', 'name': '', 'tenant_id': 'cedecfaef80441959101b30090c15edb', 'network_id': '83276de5-e2a0-4b33-8b14-2f933e5af97f', 'ip_version': 4, 'cidr': '201.6.188.0/26', 'allocation_pools': [{'start': '201.6.188.2', 'end': '201.6.188.62'}], 'gateway_ip': '201.6.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.6.188.2', 'tags': [], 'project_id': 'cedecfaef80441959101b30090c15edb'}} 2025-12-09 12:07:14,654 - INFO - Created VN ctest-vn1-97268999 2025-12-09 12:07:14,704 - DEBUG - VN ctest-vn1-97268999 UUID is 83276de5-e2a0-4b33-8b14-2f933e5af97f 2025-12-09 12:07:15,068 - DEBUG - Response for create_network : {'network': {'id': '7ed7d92c-cb9c-4aba-9ac8-58777fdec5c6', 'name': 'ctest-vn2-94728684', 'tenant_id': 'cedecfaef80441959101b30090c15edb', 'project_id': 'cedecfaef80441959101b30090c15edb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72846553', 'ctest-vn2-94728684'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 12:07:15,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c95a014-9e6a-4563-852b-05c275f57daf', 'name': '', 'tenant_id': 'cedecfaef80441959101b30090c15edb', 'network_id': '7ed7d92c-cb9c-4aba-9ac8-58777fdec5c6', 'ip_version': 4, 'cidr': '42.11.185.64/26', 'allocation_pools': [{'start': '42.11.185.66', 'end': '42.11.185.126'}], 'gateway_ip': '42.11.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.11.185.66', 'tags': [], 'project_id': 'cedecfaef80441959101b30090c15edb'}} 2025-12-09 12:07:15,250 - INFO - Created VN ctest-vn2-94728684 2025-12-09 12:07:15,304 - DEBUG - VN ctest-vn2-94728684 UUID is 7ed7d92c-cb9c-4aba-9ac8-58777fdec5c6 2025-12-09 12:07:15,539 - DEBUG - Services list from nova: [, , ] 2025-12-09 12:07:16,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4869-1) 2025-12-09 12:07:17,660 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4869-1) 2025-12-09 12:07:17,725 - INFO - Adding interface with subnet_id 527bd863-4032-4475-af19-56705ec485a6, port_id None to router aaa093e3-8c15-4738-8ecf-c4d1747b51f1 2025-12-09 12:07:18,016 - INFO - Waiting for VM ctest-vn1-vm1-31727546 to be up.. 2025-12-09 12:07:18,119 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 12:07:23,195 - DEBUG - VM is in ACTIVE state now 2025-12-09 12:07:23,196 - INFO - VM name : ctest-vn1-vm1-31727546 2025-12-09 12:07:23,271 - DEBUG - VM ctest-vn1-vm1-31727546 ID is 1fa1ab90-c899-4285-b8de-912324cf4919 2025-12-09 12:07:23,290 - DEBUG - VM ctest-vn1-vm1-31727546 launched on Node cn-jenkins-deploy-platform-ansible-os-4869-1 2025-12-09 12:07:23,364 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1fa1ab90-c899-4285-b8de-912324cf4919 2025-12-09 12:07:23,666 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1fa1ab90-c899-4285-b8de-912324cf4919 2025-12-09 12:07:23,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/63564c8a-5906-4122-ad1b-4b1cf0c70219 2025-12-09 12:07:26,965 - 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-12-09 12:07:26,965 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31727546 failed! 2025-12-09 12:07:27,020 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72846553:ctest-vn1-97268999 is 201.6.188.1 and allocation pool is NOT set 2025-12-09 12:07:29,079 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.460 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.460/1.867/3.275/1.407 ms') 2025-12-09 12:07:29,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31727546 passed 2025-12-09 12:07:29,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:29,232 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31727546, IP 201.6.188.3, Port 22 2025-12-09 12:07:29,387 - DEBUG - VM ctest-vn1-vm1-31727546 is ready for SSH connections 2025-12-09 12:07:29,388 - INFO - Waiting for VM ctest-vn2-vm1-10565891 to be up.. 2025-12-09 12:07:29,453 - DEBUG - VM is in ACTIVE state now 2025-12-09 12:07:29,453 - INFO - VM name : ctest-vn2-vm1-10565891 2025-12-09 12:07:29,515 - DEBUG - VM ctest-vn2-vm1-10565891 ID is f0b9bf71-5206-48a8-ad4b-9c0608ecac5a 2025-12-09 12:07:29,515 - DEBUG - VM ctest-vn2-vm1-10565891 launched on Node cn-jenkins-deploy-platform-ansible-os-4869-1 2025-12-09 12:07:29,577 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f0b9bf71-5206-48a8-ad4b-9c0608ecac5a 2025-12-09 12:07:29,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/06235aa1-2f87-4c01-b851-98548f53e2eb 2025-12-09 12:07:30,811 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.478/2.579/1.100 ms') 2025-12-09 12:07:30,811 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-10565891 passed 2025-12-09 12:07:30,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:30,961 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-10565891, IP 42.11.185.67, Port 22 2025-12-09 12:07:31,112 - DEBUG - VM ctest-vn2-vm1-10565891 is ready for SSH connections 2025-12-09 12:07:31,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:31,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.11.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 12:07:31,113 - DEBUG - ping -s 56 -c 3 -W 1 42.11.185.67 2025-12-09 12:07:36,113 - DEBUG - PING 42.11.185.67 (42.11.185.67): 56 data bytes --- 42.11.185.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 12:07:36,114 - WARNING - Ping to IP 42.11.185.67 from VM ctest-vn1-vm1-31727546 failed 2025-12-09 12:07:36,114 - INFO - Adding interface with subnet_id 9c95a014-9e6a-4563-852b-05c275f57daf, port_id None to router aaa093e3-8c15-4738-8ecf-c4d1747b51f1 2025-12-09 12:07:36,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:36,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.11.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 12:07:36,337 - DEBUG - ping -s 56 -c 3 -W 1 42.11.185.67 2025-12-09 12:07:38,538 - DEBUG - PING 42.11.185.67 (42.11.185.67): 56 data bytes 64 bytes from 42.11.185.67: seq=0 ttl=63 time=2.330 ms 64 bytes from 42.11.185.67: seq=1 ttl=63 time=0.914 ms 64 bytes from 42.11.185.67: seq=2 ttl=63 time=0.892 ms --- 42.11.185.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/1.378/2.330 ms 2025-12-09 12:07:38,538 - INFO - Ping to IP 42.11.185.67 from VM ctest-vn1-vm1-31727546 passed 2025-12-09 12:07:38,538 - INFO - Deleting interface with subnet_id 527bd863-4032-4475-af19-56705ec485a6, port_id None from router aaa093e3-8c15-4738-8ecf-c4d1747b51f1 2025-12-09 12:07:38,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:38,632 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.11.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 12:07:38,632 - DEBUG - ping -s 56 -c 3 -W 1 42.11.185.67 2025-12-09 12:07:41,831 - DEBUG - PING 42.11.185.67 (42.11.185.67): 56 data bytes --- 42.11.185.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 12:07:41,831 - WARNING - Ping to IP 42.11.185.67 from VM ctest-vn1-vm1-31727546 failed 2025-12-09 12:07:41,831 - INFO - Adding interface with subnet_id 527bd863-4032-4475-af19-56705ec485a6, port_id None to router aaa093e3-8c15-4738-8ecf-c4d1747b51f1 2025-12-09 12:07:42,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:42,012 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.11.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 12:07:42,012 - DEBUG - ping -s 56 -c 3 -W 1 42.11.185.67 2025-12-09 12:07:45,209 - DEBUG - PING 42.11.185.67 (42.11.185.67): 56 data bytes 64 bytes from 42.11.185.67: seq=1 ttl=63 time=1.409 ms 64 bytes from 42.11.185.67: seq=2 ttl=63 time=0.939 ms --- 42.11.185.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.939/1.174/1.409 ms 2025-12-09 12:07:45,209 - WARNING - Ping to IP 42.11.185.67 from VM ctest-vn1-vm1-31727546 failed 2025-12-09 12:07:46,210 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.11.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 12:07:46,210 - DEBUG - ping -s 56 -c 3 -W 1 42.11.185.67 2025-12-09 12:07:48,395 - DEBUG - PING 42.11.185.67 (42.11.185.67): 56 data bytes 64 bytes from 42.11.185.67: seq=0 ttl=63 time=1.282 ms 64 bytes from 42.11.185.67: seq=1 ttl=63 time=0.781 ms 64 bytes from 42.11.185.67: seq=2 ttl=63 time=0.781 ms --- 42.11.185.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/0.948/1.282 ms 2025-12-09 12:07:48,395 - INFO - Ping to IP 42.11.185.67 from VM ctest-vn1-vm1-31727546 passed 2025-12-09 12:07:48,395 - INFO - Deleting interface with subnet_id 9c95a014-9e6a-4563-852b-05c275f57daf, port_id None from router aaa093e3-8c15-4738-8ecf-c4d1747b51f1 2025-12-09 12:07:48,500 - INFO - Deleting interface with subnet_id 527bd863-4032-4475-af19-56705ec485a6, port_id None from router aaa093e3-8c15-4738-8ecf-c4d1747b51f1 2025-12-09 12:07:48,656 - INFO - Deleting VM ctest-vn2-vm1-10565891 2025-12-09 12:07:48,719 - INFO - Deleting VM ctest-vn1-vm1-31727546 2025-12-09 12:07:48,783 - INFO - Deleting VN ctest-vn2-94728684 2025-12-09 12:07:48,813 - DEBUG - VN 7ed7d92c-cb9c-4aba-9ac8-58777fdec5c6 still in use: Unable to complete operation on network 7ed7d92c-cb9c-4aba-9ac8-58777fdec5c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12ba94d6-7bb4-47b4-bd66-d247ea21c02b'] 2025-12-09 12:07:48,813 - WARNING - Deleting VN ctest-vn2-94728684 failed..Will retry 2025-12-09 12:07:50,910 - DEBUG - Response for deleting network () 2025-12-09 12:07:50,911 - INFO - Deleting VN ctest-vn1-97268999 2025-12-09 12:07:50,997 - DEBUG - Response for deleting network () 2025-12-09 12:07:51,254 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 12:07:51,254 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-12-09 12:07:51,254 - INFO - -------------------------------------------------------------------------------- 2025-12-09 12:07:51,895 - INFO - Deleted project: ctest-TestRouters-72846553, ID : cedecfae-f804-4195-9101-b30090c15edb