2025-10-15 16:02:41,654 - INFO - Domain Default found not creating 2025-10-15 16:02:41,799 - INFO - Project ctest-TestRouters-04226956 not found, creating it 2025-10-15 16:02:42,329 - INFO - Created Project:ctest-TestRouters-04226956, ID : 000c6596-8c73-4c46-b292-d2b19c726d72 2025-10-15 16:02:43,677 - INFO - ================================================================================ 2025-10-15 16:02:43,678 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-15 16:02:43,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-10-15 16:02:44,970 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0', '10.20.0.18': '0'}, '10.0.0.33': {'10.20.0.18': '0', '10.20.0.252': '0'}} with 2025-10-15 16:02:44,970 - INFO - Initial checks done. Running the testcase now 2025-10-15 16:02:44,970 - INFO - 2025-10-15 16:02:45,602 - DEBUG - Response for create_network : {'network': {'id': '57487852-15de-4f09-8579-6cc352e27923', 'name': 'ctest-vn1-75793845', 'tenant_id': '000c65968c734c46b292d2b19c726d72', 'project_id': '000c65968c734c46b292d2b19c726d72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04226956', 'ctest-vn1-75793845'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 16:02:45,829 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c60f56e-1eca-4cd1-8c22-2c395635f987', 'name': '', 'tenant_id': '000c65968c734c46b292d2b19c726d72', 'network_id': '57487852-15de-4f09-8579-6cc352e27923', 'ip_version': 4, 'cidr': '131.76.194.64/26', 'allocation_pools': [{'start': '131.76.194.66', 'end': '131.76.194.126'}], 'gateway_ip': '131.76.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.76.194.66', 'tags': [], 'project_id': '000c65968c734c46b292d2b19c726d72'}} 2025-10-15 16:02:45,857 - INFO - Created VN ctest-vn1-75793845 2025-10-15 16:02:45,871 - DEBUG - VN ctest-vn1-75793845 UUID is 57487852-15de-4f09-8579-6cc352e27923 2025-10-15 16:02:46,221 - DEBUG - Response for create_network : {'network': {'id': '34d3cd6d-7412-40bc-b728-c1dc9a6d93b3', 'name': 'ctest-vn2-26848257', 'tenant_id': '000c65968c734c46b292d2b19c726d72', 'project_id': '000c65968c734c46b292d2b19c726d72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04226956', 'ctest-vn2-26848257'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 16:02:46,500 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd04ee38c-3cbe-4203-a282-aeceb47e7cd9', 'name': '', 'tenant_id': '000c65968c734c46b292d2b19c726d72', 'network_id': '34d3cd6d-7412-40bc-b728-c1dc9a6d93b3', 'ip_version': 4, 'cidr': '181.157.198.128/26', 'allocation_pools': [{'start': '181.157.198.130', 'end': '181.157.198.190'}], 'gateway_ip': '181.157.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.157.198.130', 'tags': [], 'project_id': '000c65968c734c46b292d2b19c726d72'}} 2025-10-15 16:02:46,524 - INFO - Created VN ctest-vn2-26848257 2025-10-15 16:02:46,539 - DEBUG - VN ctest-vn2-26848257 UUID is 34d3cd6d-7412-40bc-b728-c1dc9a6d93b3 2025-10-15 16:02:46,678 - DEBUG - Services list from nova: [, , , ] 2025-10-15 16:02:47,683 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4330-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4330-1) 2025-10-15 16:02:48,804 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4330-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4330-2) 2025-10-15 16:02:48,902 - INFO - Adding interface with subnet_id 2c60f56e-1eca-4cd1-8c22-2c395635f987, port_id None to router 04325273-11c2-46b4-8c68-522a32e7abc3 2025-10-15 16:02:49,237 - INFO - Waiting for VM ctest-vn1-vm1-06070855 to be up.. 2025-10-15 16:02:49,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 16:02:54,437 - DEBUG - VM is in ACTIVE state now 2025-10-15 16:02:54,437 - INFO - VM name : ctest-vn1-vm1-06070855 2025-10-15 16:02:54,523 - DEBUG - VM ctest-vn1-vm1-06070855 ID is 386a7a31-aec1-4512-b193-1b7f92e2d8c5 2025-10-15 16:02:54,545 - DEBUG - VM ctest-vn1-vm1-06070855 launched on Node an-jenkins-deploy-platform-ansible-os-4330-1 2025-10-15 16:02:54,627 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/386a7a31-aec1-4512-b193-1b7f92e2d8c5 2025-10-15 16:02:54,918 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/386a7a31-aec1-4512-b193-1b7f92e2d8c5 2025-10-15 16:02:54,954 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/6cb56fc4-d834-43ed-9425-615c70c09502 2025-10-15 16:02:58,122 - 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-15 16:02:58,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06070855 failed! 2025-10-15 16:02:58,144 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-04226956:ctest-vn1-75793845 is 131.76.194.65 and allocation pool is NOT set 2025-10-15 16:03:00,212 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.440/3.095/3.751/0.655 ms') 2025-10-15 16:03:00,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06070855 passed 2025-10-15 16:03:00,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:03:00,288 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06070855, IP 131.76.194.67, Port 22 2025-10-15 16:03:00,355 - 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-15 16:03:00,440 - DEBUG - VM ctest-vn1-vm1-06070855 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:03:05,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:03:05,441 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06070855, IP 131.76.194.67, Port 22 2025-10-15 16:03:05,615 - DEBUG - VM ctest-vn1-vm1-06070855 is ready for SSH connections 2025-10-15 16:03:05,615 - INFO - Waiting for VM ctest-vn2-vm1-27877025 to be up.. 2025-10-15 16:03:05,693 - DEBUG - VM is in ACTIVE state now 2025-10-15 16:03:05,694 - INFO - VM name : ctest-vn2-vm1-27877025 2025-10-15 16:03:05,780 - DEBUG - VM ctest-vn2-vm1-27877025 ID is 25525095-8f67-4953-93ef-6c64c06ce1ff 2025-10-15 16:03:05,780 - DEBUG - VM ctest-vn2-vm1-27877025 launched on Node an-jenkins-deploy-platform-ansible-os-4330-2 2025-10-15 16:03:05,864 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/25525095-8f67-4953-93ef-6c64c06ce1ff 2025-10-15 16:03:05,878 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/bb4becb7-75c7-4864-b7bf-ad35fc577e12 2025-10-15 16:03:07,051 - 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=1.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.636 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 = 0.636/1.280/1.925/0.644 ms') 2025-10-15 16:03:07,051 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-27877025 passed 2025-10-15 16:03:07,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:03:07,123 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-27877025, IP 181.157.198.131, Port 22 2025-10-15 16:03:07,303 - DEBUG - VM ctest-vn2-vm1-27877025 is ready for SSH connections 2025-10-15 16:03:07,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:03:07,303 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.157.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:03:07,303 - DEBUG - ping -s 56 -c 3 -W 1 181.157.198.131 2025-10-15 16:03:11,224 - DEBUG - PING 181.157.198.131 (181.157.198.131): 56 data bytes --- 181.157.198.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 16:03:11,224 - WARNING - Ping to IP 181.157.198.131 from VM ctest-vn1-vm1-06070855 failed 2025-10-15 16:03:11,224 - INFO - Adding interface with subnet_id d04ee38c-3cbe-4203-a282-aeceb47e7cd9, port_id None to router 04325273-11c2-46b4-8c68-522a32e7abc3 2025-10-15 16:03:11,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:03:11,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.157.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:03:11,580 - DEBUG - ping -s 56 -c 3 -W 1 181.157.198.131 2025-10-15 16:03:14,785 - DEBUG - PING 181.157.198.131 (181.157.198.131): 56 data bytes 64 bytes from 181.157.198.131: seq=1 ttl=63 time=5.464 ms 64 bytes from 181.157.198.131: seq=2 ttl=63 time=1.248 ms --- 181.157.198.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.248/3.356/5.464 ms 2025-10-15 16:03:14,785 - WARNING - Ping to IP 181.157.198.131 from VM ctest-vn1-vm1-06070855 failed 2025-10-15 16:03:15,786 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.157.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:03:15,786 - DEBUG - ping -s 56 -c 3 -W 1 181.157.198.131 2025-10-15 16:03:17,986 - DEBUG - PING 181.157.198.131 (181.157.198.131): 56 data bytes 64 bytes from 181.157.198.131: seq=0 ttl=63 time=3.029 ms 64 bytes from 181.157.198.131: seq=1 ttl=63 time=1.162 ms 64 bytes from 181.157.198.131: seq=2 ttl=63 time=1.287 ms --- 181.157.198.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.162/1.826/3.029 ms 2025-10-15 16:03:17,986 - INFO - Ping to IP 181.157.198.131 from VM ctest-vn1-vm1-06070855 passed 2025-10-15 16:03:17,986 - INFO - Deleting interface with subnet_id 2c60f56e-1eca-4cd1-8c22-2c395635f987, port_id None from router 04325273-11c2-46b4-8c68-522a32e7abc3 2025-10-15 16:03:18,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:03:18,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.157.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:03:18,174 - DEBUG - ping -s 56 -c 3 -W 1 181.157.198.131 2025-10-15 16:03:21,373 - DEBUG - PING 181.157.198.131 (181.157.198.131): 56 data bytes --- 181.157.198.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 16:03:21,373 - WARNING - Ping to IP 181.157.198.131 from VM ctest-vn1-vm1-06070855 failed 2025-10-15 16:03:21,373 - INFO - Adding interface with subnet_id 2c60f56e-1eca-4cd1-8c22-2c395635f987, port_id None to router 04325273-11c2-46b4-8c68-522a32e7abc3 2025-10-15 16:03:21,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:03:21,681 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.157.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:03:21,681 - DEBUG - ping -s 56 -c 3 -W 1 181.157.198.131 2025-10-15 16:03:23,888 - DEBUG - PING 181.157.198.131 (181.157.198.131): 56 data bytes 64 bytes from 181.157.198.131: seq=0 ttl=63 time=2.087 ms 64 bytes from 181.157.198.131: seq=1 ttl=63 time=1.292 ms 64 bytes from 181.157.198.131: seq=2 ttl=63 time=1.782 ms --- 181.157.198.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.292/1.720/2.087 ms 2025-10-15 16:03:23,888 - INFO - Ping to IP 181.157.198.131 from VM ctest-vn1-vm1-06070855 passed 2025-10-15 16:03:23,888 - INFO - Deleting interface with subnet_id d04ee38c-3cbe-4203-a282-aeceb47e7cd9, port_id None from router 04325273-11c2-46b4-8c68-522a32e7abc3 2025-10-15 16:03:24,127 - INFO - Deleting interface with subnet_id 2c60f56e-1eca-4cd1-8c22-2c395635f987, port_id None from router 04325273-11c2-46b4-8c68-522a32e7abc3 2025-10-15 16:03:24,412 - INFO - Deleting VM ctest-vn2-vm1-27877025 2025-10-15 16:03:24,489 - INFO - Deleting VM ctest-vn1-vm1-06070855 2025-10-15 16:03:24,550 - INFO - Deleting VN ctest-vn2-26848257 2025-10-15 16:03:24,594 - DEBUG - VN 34d3cd6d-7412-40bc-b728-c1dc9a6d93b3 still in use: Unable to complete operation on network 34d3cd6d-7412-40bc-b728-c1dc9a6d93b3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b3513e7-7a17-4f77-a38e-c29a5ab1a206'] 2025-10-15 16:03:24,594 - WARNING - Deleting VN ctest-vn2-26848257 failed..Will retry 2025-10-15 16:03:26,811 - DEBUG - Response for deleting network () 2025-10-15 16:03:26,811 - INFO - Deleting VN ctest-vn1-75793845 2025-10-15 16:03:26,974 - DEBUG - Response for deleting network () 2025-10-15 16:03:28,279 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 16:03:28,280 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-10-15 16:03:28,280 - INFO - -------------------------------------------------------------------------------- 2025-10-15 16:03:29,027 - INFO - Deleted project: ctest-TestRouters-04226956, ID : 000c6596-8c73-4c46-b292-d2b19c726d72