2025-09-23 22:48:06,971 - INFO - Domain Default found not creating 2025-09-23 22:48:07,151 - INFO - Project ctest-TestRouters-81267817 not found, creating it 2025-09-23 22:48:07,636 - INFO - Created Project:ctest-TestRouters-81267817, ID : 2242d624-6036-4e35-8429-c975ee2d0a97 2025-09-23 22:48:09,081 - INFO - ================================================================================ 2025-09-23 22:48:09,081 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-23 22:48:09,081 - 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-09-23 22:48:09,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-23 22:48:09,335 - INFO - Initial checks done. Running the testcase now 2025-09-23 22:48:09,335 - INFO - 2025-09-23 22:48:09,927 - DEBUG - Response for create_network : {'network': {'id': 'fab2feca-4d92-49f7-9e94-1d931c3ad507', 'name': 'ctest-vn1-75045649', 'tenant_id': '2242d62460364e358429c975ee2d0a97', 'project_id': '2242d62460364e358429c975ee2d0a97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-81267817', 'ctest-vn1-75045649'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 22:48:10,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '799478fb-f8f6-400f-8c5a-16456e4dea15', 'name': '', 'tenant_id': '2242d62460364e358429c975ee2d0a97', 'network_id': 'fab2feca-4d92-49f7-9e94-1d931c3ad507', 'ip_version': 4, 'cidr': '178.49.200.128/26', 'allocation_pools': [{'start': '178.49.200.130', 'end': '178.49.200.190'}], 'gateway_ip': '178.49.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.49.200.130', 'tags': [], 'project_id': '2242d62460364e358429c975ee2d0a97'}} 2025-09-23 22:48:10,133 - INFO - Created VN ctest-vn1-75045649 2025-09-23 22:48:10,186 - DEBUG - VN ctest-vn1-75045649 UUID is fab2feca-4d92-49f7-9e94-1d931c3ad507 2025-09-23 22:48:10,512 - DEBUG - Response for create_network : {'network': {'id': '21f9b721-7708-4aeb-a3ff-413ede77793e', 'name': 'ctest-vn2-09018793', 'tenant_id': '2242d62460364e358429c975ee2d0a97', 'project_id': '2242d62460364e358429c975ee2d0a97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-81267817', 'ctest-vn2-09018793'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 22:48:10,673 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dccfac31-ee8e-41c5-8196-ef1eee5e44d9', 'name': '', 'tenant_id': '2242d62460364e358429c975ee2d0a97', 'network_id': '21f9b721-7708-4aeb-a3ff-413ede77793e', 'ip_version': 4, 'cidr': '41.145.205.64/26', 'allocation_pools': [{'start': '41.145.205.66', 'end': '41.145.205.126'}], 'gateway_ip': '41.145.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.145.205.66', 'tags': [], 'project_id': '2242d62460364e358429c975ee2d0a97'}} 2025-09-23 22:48:10,691 - INFO - Created VN ctest-vn2-09018793 2025-09-23 22:48:10,742 - DEBUG - VN ctest-vn2-09018793 UUID is 21f9b721-7708-4aeb-a3ff-413ede77793e 2025-09-23 22:48:10,953 - DEBUG - Services list from nova: [, , ] 2025-09-23 22:48:12,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4179-1) 2025-09-23 22:48:13,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4179-1) 2025-09-23 22:48:13,318 - INFO - Adding interface with subnet_id 799478fb-f8f6-400f-8c5a-16456e4dea15, port_id None to router ac89e432-6a69-43e3-9594-6134cf8f1e5d 2025-09-23 22:48:13,620 - INFO - Waiting for VM ctest-vn1-vm1-05385381 to be up.. 2025-09-23 22:48:13,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 22:48:18,794 - DEBUG - VM is in ACTIVE state now 2025-09-23 22:48:18,794 - INFO - VM name : ctest-vn1-vm1-05385381 2025-09-23 22:48:18,861 - DEBUG - VM ctest-vn1-vm1-05385381 ID is dd9a32de-3aba-444d-967c-4328930b4ece 2025-09-23 22:48:18,878 - DEBUG - VM ctest-vn1-vm1-05385381 launched on Node cn-jenkins-deploy-platform-ansible-os-4179-1 2025-09-23 22:48:18,943 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/dd9a32de-3aba-444d-967c-4328930b4ece 2025-09-23 22:48:19,237 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/dd9a32de-3aba-444d-967c-4328930b4ece 2025-09-23 22:48:19,269 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/082b4d5f-04c6-4f5b-b2fd-937011f20eba 2025-09-23 22:48:22,552 - 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 1031ms') 2025-09-23 22:48:22,552 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05385381 failed! 2025-09-23 22:48:22,610 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-81267817:ctest-vn1-75045649 is 178.49.200.129 and allocation pool is NOT set 2025-09-23 22:48:24,673 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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.378/1.805/3.232/1.427 ms') 2025-09-23 22:48:24,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05385381 passed 2025-09-23 22:48:24,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:48:24,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05385381, IP 178.49.200.131, Port 22 2025-09-23 22:48:24,888 - 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-09-23 22:48:24,957 - DEBUG - VM ctest-vn1-vm1-05385381 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-23 22:48:29,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:48:29,958 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05385381, IP 178.49.200.131, Port 22 2025-09-23 22:48:30,113 - DEBUG - VM ctest-vn1-vm1-05385381 is ready for SSH connections 2025-09-23 22:48:30,113 - INFO - Waiting for VM ctest-vn2-vm1-13035739 to be up.. 2025-09-23 22:48:30,184 - DEBUG - VM is in ACTIVE state now 2025-09-23 22:48:30,184 - INFO - VM name : ctest-vn2-vm1-13035739 2025-09-23 22:48:30,249 - DEBUG - VM ctest-vn2-vm1-13035739 ID is 5e02181f-5a3c-469e-9d36-85f517c7c87a 2025-09-23 22:48:30,249 - DEBUG - VM ctest-vn2-vm1-13035739 launched on Node cn-jenkins-deploy-platform-ansible-os-4179-1 2025-09-23 22:48:30,313 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5e02181f-5a3c-469e-9d36-85f517c7c87a 2025-09-23 22:48:30,319 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/aa1da80a-a9e0-4c7b-bd5b-bee79d9c61be 2025-09-23 22:48:31,553 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.773/3.097/1.323 ms') 2025-09-23 22:48:31,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-13035739 passed 2025-09-23 22:48:31,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:48:31,702 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-13035739, IP 41.145.205.67, Port 22 2025-09-23 22:48:31,862 - DEBUG - VM ctest-vn2-vm1-13035739 is ready for SSH connections 2025-09-23 22:48:31,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:48:31,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.145.205.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-23 22:48:31,862 - DEBUG - ping -s 56 -c 3 -W 1 41.145.205.67 2025-09-23 22:48:36,571 - DEBUG - PING 41.145.205.67 (41.145.205.67): 56 data bytes --- 41.145.205.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 22:48:36,571 - WARNING - Ping to IP 41.145.205.67 from VM ctest-vn1-vm1-05385381 failed 2025-09-23 22:48:36,571 - INFO - Adding interface with subnet_id dccfac31-ee8e-41c5-8196-ef1eee5e44d9, port_id None to router ac89e432-6a69-43e3-9594-6134cf8f1e5d 2025-09-23 22:48:36,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:48:36,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.145.205.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-23 22:48:36,805 - DEBUG - ping -s 56 -c 3 -W 1 41.145.205.67 2025-09-23 22:48:40,004 - DEBUG - PING 41.145.205.67 (41.145.205.67): 56 data bytes 64 bytes from 41.145.205.67: seq=1 ttl=63 time=2.742 ms 64 bytes from 41.145.205.67: seq=2 ttl=63 time=0.894 ms --- 41.145.205.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.894/1.818/2.742 ms 2025-09-23 22:48:40,004 - WARNING - Ping to IP 41.145.205.67 from VM ctest-vn1-vm1-05385381 failed 2025-09-23 22:48:41,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.145.205.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-23 22:48:41,005 - DEBUG - ping -s 56 -c 3 -W 1 41.145.205.67 2025-09-23 22:48:43,243 - DEBUG - PING 41.145.205.67 (41.145.205.67): 56 data bytes 64 bytes from 41.145.205.67: seq=0 ttl=63 time=1.537 ms 64 bytes from 41.145.205.67: seq=1 ttl=63 time=1.077 ms 64 bytes from 41.145.205.67: seq=2 ttl=63 time=0.982 ms --- 41.145.205.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/1.198/1.537 ms 2025-09-23 22:48:43,243 - INFO - Ping to IP 41.145.205.67 from VM ctest-vn1-vm1-05385381 passed 2025-09-23 22:48:43,243 - INFO - Deleting interface with subnet_id 799478fb-f8f6-400f-8c5a-16456e4dea15, port_id None from router ac89e432-6a69-43e3-9594-6134cf8f1e5d 2025-09-23 22:48:43,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:48:43,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.145.205.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-23 22:48:43,392 - DEBUG - ping -s 56 -c 3 -W 1 41.145.205.67 2025-09-23 22:48:46,591 - DEBUG - PING 41.145.205.67 (41.145.205.67): 56 data bytes --- 41.145.205.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 22:48:46,591 - WARNING - Ping to IP 41.145.205.67 from VM ctest-vn1-vm1-05385381 failed 2025-09-23 22:48:46,591 - INFO - Adding interface with subnet_id 799478fb-f8f6-400f-8c5a-16456e4dea15, port_id None to router ac89e432-6a69-43e3-9594-6134cf8f1e5d 2025-09-23 22:48:46,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 22:48:46,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.145.205.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-23 22:48:46,792 - DEBUG - ping -s 56 -c 3 -W 1 41.145.205.67 2025-09-23 22:48:48,998 - DEBUG - PING 41.145.205.67 (41.145.205.67): 56 data bytes 64 bytes from 41.145.205.67: seq=0 ttl=63 time=1.780 ms 64 bytes from 41.145.205.67: seq=1 ttl=63 time=0.963 ms 64 bytes from 41.145.205.67: seq=2 ttl=63 time=0.835 ms --- 41.145.205.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.192/1.780 ms 2025-09-23 22:48:48,998 - INFO - Ping to IP 41.145.205.67 from VM ctest-vn1-vm1-05385381 passed 2025-09-23 22:48:48,998 - INFO - Deleting interface with subnet_id dccfac31-ee8e-41c5-8196-ef1eee5e44d9, port_id None from router ac89e432-6a69-43e3-9594-6134cf8f1e5d 2025-09-23 22:48:49,114 - INFO - Deleting interface with subnet_id 799478fb-f8f6-400f-8c5a-16456e4dea15, port_id None from router ac89e432-6a69-43e3-9594-6134cf8f1e5d 2025-09-23 22:48:49,268 - INFO - Deleting VM ctest-vn2-vm1-13035739 2025-09-23 22:48:49,340 - INFO - Deleting VM ctest-vn1-vm1-05385381 2025-09-23 22:48:49,408 - INFO - Deleting VN ctest-vn2-09018793 2025-09-23 22:48:49,443 - DEBUG - VN 21f9b721-7708-4aeb-a3ff-413ede77793e still in use: Unable to complete operation on network 21f9b721-7708-4aeb-a3ff-413ede77793e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79792d99-3612-4849-b9f0-ce8222449878'] 2025-09-23 22:48:49,443 - WARNING - Deleting VN ctest-vn2-09018793 failed..Will retry 2025-09-23 22:48:51,553 - DEBUG - Response for deleting network () 2025-09-23 22:48:51,553 - INFO - Deleting VN ctest-vn1-75045649 2025-09-23 22:48:51,663 - DEBUG - Response for deleting network () 2025-09-23 22:48:51,920 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 22:48:51,920 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-09-23 22:48:51,920 - INFO - -------------------------------------------------------------------------------- 2025-09-23 22:48:52,634 - INFO - Deleted project: ctest-TestRouters-81267817, ID : 2242d624-6036-4e35-8429-c975ee2d0a97