2025-10-13 13:00:56,740 - INFO - Domain Default found not creating 2025-10-13 13:00:56,928 - INFO - Project ctest-TestRouters-93961672 not found, creating it 2025-10-13 13:00:57,479 - INFO - Created Project:ctest-TestRouters-93961672, ID : 6a70ec74-843e-42ba-952f-64aa561278f0 2025-10-13 13:00:59,234 - INFO - ================================================================================ 2025-10-13 13:00:59,234 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-13 13:00:59,235 - 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-13 13:00:59,498 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.192': '0'}} with 2025-10-13 13:00:59,498 - INFO - Initial checks done. Running the testcase now 2025-10-13 13:00:59,499 - INFO - 2025-10-13 13:01:00,198 - DEBUG - Response for create_network : {'network': {'id': '21b1e0ef-c5aa-4ab7-84f6-708952de233c', 'name': 'ctest-vn1-94706423', 'tenant_id': '6a70ec74843e42ba952f64aa561278f0', 'project_id': '6a70ec74843e42ba952f64aa561278f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-93961672', 'ctest-vn1-94706423'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 13:01:00,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e106f7f-edf3-4c9a-b65d-74d9f4685f8d', 'name': '', 'tenant_id': '6a70ec74843e42ba952f64aa561278f0', 'network_id': '21b1e0ef-c5aa-4ab7-84f6-708952de233c', 'ip_version': 4, 'cidr': '51.5.239.128/26', 'allocation_pools': [{'start': '51.5.239.130', 'end': '51.5.239.190'}], 'gateway_ip': '51.5.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.5.239.130', 'tags': [], 'project_id': '6a70ec74843e42ba952f64aa561278f0'}} 2025-10-13 13:01:00,494 - INFO - Created VN ctest-vn1-94706423 2025-10-13 13:01:00,548 - DEBUG - VN ctest-vn1-94706423 UUID is 21b1e0ef-c5aa-4ab7-84f6-708952de233c 2025-10-13 13:01:00,888 - DEBUG - Response for create_network : {'network': {'id': '13dab888-348a-4d74-a11b-f0306896e8ea', 'name': 'ctest-vn2-02541049', 'tenant_id': '6a70ec74843e42ba952f64aa561278f0', 'project_id': '6a70ec74843e42ba952f64aa561278f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-93961672', 'ctest-vn2-02541049'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 13:01:01,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '88bfdb32-66db-45fb-a608-c8a963b9f649', 'name': '', 'tenant_id': '6a70ec74843e42ba952f64aa561278f0', 'network_id': '13dab888-348a-4d74-a11b-f0306896e8ea', 'ip_version': 4, 'cidr': '52.203.201.128/26', 'allocation_pools': [{'start': '52.203.201.130', 'end': '52.203.201.190'}], 'gateway_ip': '52.203.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.203.201.130', 'tags': [], 'project_id': '6a70ec74843e42ba952f64aa561278f0'}} 2025-10-13 13:01:01,108 - INFO - Created VN ctest-vn2-02541049 2025-10-13 13:01:01,168 - DEBUG - VN ctest-vn2-02541049 UUID is 13dab888-348a-4d74-a11b-f0306896e8ea 2025-10-13 13:01:01,371 - DEBUG - Services list from nova: [, , ] 2025-10-13 13:01:02,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4303-1) 2025-10-13 13:01:04,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4303-1) 2025-10-13 13:01:04,183 - INFO - Adding interface with subnet_id 5e106f7f-edf3-4c9a-b65d-74d9f4685f8d, port_id None to router 91cb700d-dd76-4959-aed4-b736311ab2c6 2025-10-13 13:01:04,576 - INFO - Waiting for VM ctest-vn1-vm1-28194634 to be up.. 2025-10-13 13:01:04,701 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 13:01:09,793 - DEBUG - VM is in ACTIVE state now 2025-10-13 13:01:09,794 - INFO - VM name : ctest-vn1-vm1-28194634 2025-10-13 13:01:09,878 - DEBUG - VM ctest-vn1-vm1-28194634 ID is c893ecb3-fd0b-4a9f-847b-223b89f66e34 2025-10-13 13:01:09,902 - DEBUG - VM ctest-vn1-vm1-28194634 launched on Node cn-jenkins-deploy-platform-ansible-os-4303-1 2025-10-13 13:01:09,988 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/c893ecb3-fd0b-4a9f-847b-223b89f66e34 2025-10-13 13:01:10,334 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/c893ecb3-fd0b-4a9f-847b-223b89f66e34 2025-10-13 13:01:10,378 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/97466d72-9d32-41df-981d-25f57da0be44 2025-10-13 13:01:13,631 - 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 1001ms') 2025-10-13 13:01:13,631 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28194634 failed! 2025-10-13 13:01:13,700 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-93961672:ctest-vn1-94706423 is 51.5.239.129 and allocation pool is NOT set 2025-10-13 13:01:15,769 - 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=9.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 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 = 1.778/5.450/9.123/3.672 ms') 2025-10-13 13:01:15,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28194634 passed 2025-10-13 13:01:15,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:01:15,924 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28194634, IP 51.5.239.131, Port 22 2025-10-13 13:01:15,990 - 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-10-13 13:01:16,082 - DEBUG - VM ctest-vn1-vm1-28194634 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 13:01:21,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:01:21,083 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28194634, IP 51.5.239.131, Port 22 2025-10-13 13:01:21,273 - DEBUG - VM ctest-vn1-vm1-28194634 is ready for SSH connections 2025-10-13 13:01:21,273 - INFO - Waiting for VM ctest-vn2-vm1-57375738 to be up.. 2025-10-13 13:01:21,362 - DEBUG - VM is in ACTIVE state now 2025-10-13 13:01:21,363 - INFO - VM name : ctest-vn2-vm1-57375738 2025-10-13 13:01:21,452 - DEBUG - VM ctest-vn2-vm1-57375738 ID is 0c7ca528-f97f-4070-b38e-ccb57665c147 2025-10-13 13:01:21,453 - DEBUG - VM ctest-vn2-vm1-57375738 launched on Node cn-jenkins-deploy-platform-ansible-os-4303-1 2025-10-13 13:01:21,536 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/0c7ca528-f97f-4070-b38e-ccb57665c147 2025-10-13 13:01:21,546 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f227a7dd-12c4-42b1-a4d9-30a076817b6f 2025-10-13 13:01:22,799 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.798/3.079/1.281 ms') 2025-10-13 13:01:22,799 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-57375738 passed 2025-10-13 13:01:22,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:01:22,952 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-57375738, IP 52.203.201.131, Port 22 2025-10-13 13:01:23,125 - DEBUG - VM ctest-vn2-vm1-57375738 is ready for SSH connections 2025-10-13 13:01:23,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:01:23,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.203.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-13 13:01:23,126 - DEBUG - ping -s 56 -c 3 -W 1 52.203.201.131 2025-10-13 13:01:28,268 - DEBUG - PING 52.203.201.131 (52.203.201.131): 56 data bytes --- 52.203.201.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 13:01:28,268 - WARNING - Ping to IP 52.203.201.131 from VM ctest-vn1-vm1-28194634 failed 2025-10-13 13:01:28,268 - INFO - Adding interface with subnet_id 88bfdb32-66db-45fb-a608-c8a963b9f649, port_id None to router 91cb700d-dd76-4959-aed4-b736311ab2c6 2025-10-13 13:01:28,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:01:28,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.203.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-13 13:01:28,546 - DEBUG - ping -s 56 -c 3 -W 1 52.203.201.131 2025-10-13 13:01:31,780 - DEBUG - PING 52.203.201.131 (52.203.201.131): 56 data bytes 64 bytes from 52.203.201.131: seq=1 ttl=63 time=3.583 ms 64 bytes from 52.203.201.131: seq=2 ttl=63 time=1.054 ms --- 52.203.201.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.054/2.318/3.583 ms 2025-10-13 13:01:31,780 - WARNING - Ping to IP 52.203.201.131 from VM ctest-vn1-vm1-28194634 failed 2025-10-13 13:01:32,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.203.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-13 13:01:32,781 - DEBUG - ping -s 56 -c 3 -W 1 52.203.201.131 2025-10-13 13:01:35,019 - DEBUG - PING 52.203.201.131 (52.203.201.131): 56 data bytes 64 bytes from 52.203.201.131: seq=0 ttl=63 time=1.776 ms 64 bytes from 52.203.201.131: seq=1 ttl=63 time=1.477 ms 64 bytes from 52.203.201.131: seq=2 ttl=63 time=1.299 ms --- 52.203.201.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.299/1.517/1.776 ms 2025-10-13 13:01:35,019 - INFO - Ping to IP 52.203.201.131 from VM ctest-vn1-vm1-28194634 passed 2025-10-13 13:01:35,020 - INFO - Deleting interface with subnet_id 5e106f7f-edf3-4c9a-b65d-74d9f4685f8d, port_id None from router 91cb700d-dd76-4959-aed4-b736311ab2c6 2025-10-13 13:01:35,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:01:35,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.203.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-13 13:01:35,153 - DEBUG - ping -s 56 -c 3 -W 1 52.203.201.131 2025-10-13 13:01:38,379 - DEBUG - PING 52.203.201.131 (52.203.201.131): 56 data bytes --- 52.203.201.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 13:01:38,379 - WARNING - Ping to IP 52.203.201.131 from VM ctest-vn1-vm1-28194634 failed 2025-10-13 13:01:38,379 - INFO - Adding interface with subnet_id 5e106f7f-edf3-4c9a-b65d-74d9f4685f8d, port_id None to router 91cb700d-dd76-4959-aed4-b736311ab2c6 2025-10-13 13:01:38,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:01:38,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.203.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-13 13:01:38,609 - DEBUG - ping -s 56 -c 3 -W 1 52.203.201.131 2025-10-13 13:01:40,838 - DEBUG - PING 52.203.201.131 (52.203.201.131): 56 data bytes 64 bytes from 52.203.201.131: seq=0 ttl=63 time=1.922 ms 64 bytes from 52.203.201.131: seq=1 ttl=63 time=1.051 ms 64 bytes from 52.203.201.131: seq=2 ttl=63 time=1.091 ms --- 52.203.201.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.051/1.354/1.922 ms 2025-10-13 13:01:40,838 - INFO - Ping to IP 52.203.201.131 from VM ctest-vn1-vm1-28194634 passed 2025-10-13 13:01:40,838 - INFO - Deleting interface with subnet_id 88bfdb32-66db-45fb-a608-c8a963b9f649, port_id None from router 91cb700d-dd76-4959-aed4-b736311ab2c6 2025-10-13 13:01:40,971 - INFO - Deleting interface with subnet_id 5e106f7f-edf3-4c9a-b65d-74d9f4685f8d, port_id None from router 91cb700d-dd76-4959-aed4-b736311ab2c6 2025-10-13 13:01:41,194 - INFO - Deleting VM ctest-vn2-vm1-57375738 2025-10-13 13:01:41,280 - INFO - Deleting VM ctest-vn1-vm1-28194634 2025-10-13 13:01:41,363 - INFO - Deleting VN ctest-vn2-02541049 2025-10-13 13:01:41,419 - DEBUG - VN 13dab888-348a-4d74-a11b-f0306896e8ea still in use: Unable to complete operation on network 13dab888-348a-4d74-a11b-f0306896e8ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c41cacdd-4167-46e3-925d-bf047df13651'] 2025-10-13 13:01:41,419 - WARNING - Deleting VN ctest-vn2-02541049 failed..Will retry 2025-10-13 13:01:43,537 - DEBUG - Response for deleting network () 2025-10-13 13:01:43,537 - INFO - Deleting VN ctest-vn1-94706423 2025-10-13 13:01:43,661 - DEBUG - Response for deleting network () 2025-10-13 13:01:43,921 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 13:01:43,921 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-10-13 13:01:43,922 - INFO - -------------------------------------------------------------------------------- 2025-10-13 13:01:44,656 - INFO - Deleted project: ctest-TestRouters-93961672, ID : 6a70ec74-843e-42ba-952f-64aa561278f0