2025-10-21 14:34:25,608 - INFO - Domain Default found not creating 2025-10-21 14:34:25,755 - INFO - Project ctest-TestRouters-66584499 not found, creating it 2025-10-21 14:34:26,215 - INFO - Created Project:ctest-TestRouters-66584499, ID : 20957fa1-bae6-4a83-975b-78b4c67097c9 2025-10-21 14:34:27,587 - INFO - ================================================================================ 2025-10-21 14:34:27,587 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 14:34:27,587 - 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-21 14:34:27,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-21 14:34:27,848 - INFO - Initial checks done. Running the testcase now 2025-10-21 14:34:27,848 - INFO - 2025-10-21 14:34:28,368 - DEBUG - Response for create_network : {'network': {'id': 'e63481cf-31cb-4a08-b01e-c2d31a7928bb', 'name': 'ctest-vn1-82799052', 'tenant_id': '20957fa1bae64a83975b78b4c67097c9', 'project_id': '20957fa1bae64a83975b78b4c67097c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66584499', 'ctest-vn1-82799052'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:34:28,517 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea05b8f3-497c-4bdf-8622-140c32baf978', 'name': '', 'tenant_id': '20957fa1bae64a83975b78b4c67097c9', 'network_id': 'e63481cf-31cb-4a08-b01e-c2d31a7928bb', 'ip_version': 4, 'cidr': '166.74.201.0/26', 'allocation_pools': [{'start': '166.74.201.2', 'end': '166.74.201.62'}], 'gateway_ip': '166.74.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.74.201.2', 'tags': [], 'project_id': '20957fa1bae64a83975b78b4c67097c9'}} 2025-10-21 14:34:28,533 - INFO - Created VN ctest-vn1-82799052 2025-10-21 14:34:28,583 - DEBUG - VN ctest-vn1-82799052 UUID is e63481cf-31cb-4a08-b01e-c2d31a7928bb 2025-10-21 14:34:28,883 - DEBUG - Response for create_network : {'network': {'id': '262e7d87-bbd6-4875-bede-31a542181c4a', 'name': 'ctest-vn2-79159314', 'tenant_id': '20957fa1bae64a83975b78b4c67097c9', 'project_id': '20957fa1bae64a83975b78b4c67097c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66584499', 'ctest-vn2-79159314'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:34:29,077 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e02fc20-c1b8-4d33-b727-ac990ef925e7', 'name': '', 'tenant_id': '20957fa1bae64a83975b78b4c67097c9', 'network_id': '262e7d87-bbd6-4875-bede-31a542181c4a', 'ip_version': 4, 'cidr': '185.36.249.64/26', 'allocation_pools': [{'start': '185.36.249.66', 'end': '185.36.249.126'}], 'gateway_ip': '185.36.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.36.249.66', 'tags': [], 'project_id': '20957fa1bae64a83975b78b4c67097c9'}} 2025-10-21 14:34:29,093 - INFO - Created VN ctest-vn2-79159314 2025-10-21 14:34:29,147 - DEBUG - VN ctest-vn2-79159314 UUID is 262e7d87-bbd6-4875-bede-31a542181c4a 2025-10-21 14:34:29,395 - DEBUG - Services list from nova: [, , ] 2025-10-21 14:34:30,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4395-1) 2025-10-21 14:34:31,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4395-1) 2025-10-21 14:34:31,570 - INFO - Adding interface with subnet_id ea05b8f3-497c-4bdf-8622-140c32baf978, port_id None to router 69994df8-d3a2-4fc1-b001-fcc816583ad8 2025-10-21 14:34:31,820 - INFO - Waiting for VM ctest-vn1-vm1-05499319 to be up.. 2025-10-21 14:34:31,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 14:34:36,981 - DEBUG - VM is in ACTIVE state now 2025-10-21 14:34:36,981 - INFO - VM name : ctest-vn1-vm1-05499319 2025-10-21 14:34:37,048 - DEBUG - VM ctest-vn1-vm1-05499319 ID is 7a32ae1d-0cfc-4a1b-9c0a-c782a4c24a47 2025-10-21 14:34:37,065 - DEBUG - VM ctest-vn1-vm1-05499319 launched on Node cn-jenkins-deploy-platform-ansible-os-4395-1 2025-10-21 14:34:37,130 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a32ae1d-0cfc-4a1b-9c0a-c782a4c24a47 2025-10-21 14:34:37,418 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a32ae1d-0cfc-4a1b-9c0a-c782a4c24a47 2025-10-21 14:34:37,446 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/776a2ffa-cafd-4444-947e-587e8dcc6510 2025-10-21 14:34:40,693 - 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 1011ms') 2025-10-21 14:34:40,693 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05499319 failed! 2025-10-21 14:34:40,747 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-66584499:ctest-vn1-82799052 is 166.74.201.1 and allocation pool is NOT set 2025-10-21 14:34:42,811 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 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.497/1.224/1.952/0.727 ms') 2025-10-21 14:34:42,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05499319 passed 2025-10-21 14:34:42,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:34:42,959 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05499319, IP 166.74.201.3, Port 22 2025-10-21 14:34:43,111 - DEBUG - VM ctest-vn1-vm1-05499319 is ready for SSH connections 2025-10-21 14:34:43,111 - INFO - Waiting for VM ctest-vn2-vm1-26449436 to be up.. 2025-10-21 14:34:43,175 - DEBUG - VM is in ACTIVE state now 2025-10-21 14:34:43,175 - INFO - VM name : ctest-vn2-vm1-26449436 2025-10-21 14:34:43,237 - DEBUG - VM ctest-vn2-vm1-26449436 ID is c44bfa9c-2414-4166-95b5-58e8f66e96b7 2025-10-21 14:34:43,237 - DEBUG - VM ctest-vn2-vm1-26449436 launched on Node cn-jenkins-deploy-platform-ansible-os-4395-1 2025-10-21 14:34:43,298 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c44bfa9c-2414-4166-95b5-58e8f66e96b7 2025-10-21 14:34:43,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/71e6f3ad-46f3-48be-9ddd-bf5a51b299c4 2025-10-21 14:34:44,539 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.545/2.648/1.103 ms') 2025-10-21 14:34:44,539 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-26449436 passed 2025-10-21 14:34:44,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:34:44,687 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-26449436, IP 185.36.249.67, Port 22 2025-10-21 14:34:44,848 - DEBUG - VM ctest-vn2-vm1-26449436 is ready for SSH connections 2025-10-21 14:34:44,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:34:44,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.36.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 14:34:44,849 - DEBUG - ping -s 56 -c 3 -W 1 185.36.249.67 2025-10-21 14:34:49,496 - DEBUG - PING 185.36.249.67 (185.36.249.67): 56 data bytes --- 185.36.249.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 14:34:49,496 - WARNING - Ping to IP 185.36.249.67 from VM ctest-vn1-vm1-05499319 failed 2025-10-21 14:34:49,497 - INFO - Adding interface with subnet_id 1e02fc20-c1b8-4d33-b727-ac990ef925e7, port_id None to router 69994df8-d3a2-4fc1-b001-fcc816583ad8 2025-10-21 14:34:49,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:34:49,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.36.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 14:34:49,720 - DEBUG - ping -s 56 -c 3 -W 1 185.36.249.67 2025-10-21 14:34:51,916 - DEBUG - PING 185.36.249.67 (185.36.249.67): 56 data bytes 64 bytes from 185.36.249.67: seq=0 ttl=63 time=2.165 ms 64 bytes from 185.36.249.67: seq=1 ttl=63 time=0.819 ms 64 bytes from 185.36.249.67: seq=2 ttl=63 time=0.690 ms --- 185.36.249.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/1.224/2.165 ms 2025-10-21 14:34:51,916 - INFO - Ping to IP 185.36.249.67 from VM ctest-vn1-vm1-05499319 passed 2025-10-21 14:34:51,916 - INFO - Deleting interface with subnet_id ea05b8f3-497c-4bdf-8622-140c32baf978, port_id None from router 69994df8-d3a2-4fc1-b001-fcc816583ad8 2025-10-21 14:34:52,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:34:52,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.36.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 14:34:52,029 - DEBUG - ping -s 56 -c 3 -W 1 185.36.249.67 2025-10-21 14:34:55,224 - DEBUG - PING 185.36.249.67 (185.36.249.67): 56 data bytes --- 185.36.249.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 14:34:55,224 - WARNING - Ping to IP 185.36.249.67 from VM ctest-vn1-vm1-05499319 failed 2025-10-21 14:34:55,224 - INFO - Adding interface with subnet_id ea05b8f3-497c-4bdf-8622-140c32baf978, port_id None to router 69994df8-d3a2-4fc1-b001-fcc816583ad8 2025-10-21 14:34:55,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:34:55,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.36.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 14:34:55,427 - DEBUG - ping -s 56 -c 3 -W 1 185.36.249.67 2025-10-21 14:34:58,625 - DEBUG - PING 185.36.249.67 (185.36.249.67): 56 data bytes 64 bytes from 185.36.249.67: seq=1 ttl=63 time=1.379 ms 64 bytes from 185.36.249.67: seq=2 ttl=63 time=0.684 ms --- 185.36.249.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.684/1.031/1.379 ms 2025-10-21 14:34:58,625 - WARNING - Ping to IP 185.36.249.67 from VM ctest-vn1-vm1-05499319 failed 2025-10-21 14:34:59,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.36.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 14:34:59,625 - DEBUG - ping -s 56 -c 3 -W 1 185.36.249.67 2025-10-21 14:35:01,821 - DEBUG - PING 185.36.249.67 (185.36.249.67): 56 data bytes 64 bytes from 185.36.249.67: seq=0 ttl=63 time=1.430 ms 64 bytes from 185.36.249.67: seq=1 ttl=63 time=0.702 ms 64 bytes from 185.36.249.67: seq=2 ttl=63 time=0.746 ms --- 185.36.249.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.702/0.959/1.430 ms 2025-10-21 14:35:01,821 - INFO - Ping to IP 185.36.249.67 from VM ctest-vn1-vm1-05499319 passed 2025-10-21 14:35:01,821 - INFO - Deleting interface with subnet_id 1e02fc20-c1b8-4d33-b727-ac990ef925e7, port_id None from router 69994df8-d3a2-4fc1-b001-fcc816583ad8 2025-10-21 14:35:01,934 - INFO - Deleting interface with subnet_id ea05b8f3-497c-4bdf-8622-140c32baf978, port_id None from router 69994df8-d3a2-4fc1-b001-fcc816583ad8 2025-10-21 14:35:02,096 - INFO - Deleting VM ctest-vn2-vm1-26449436 2025-10-21 14:35:02,158 - INFO - Deleting VM ctest-vn1-vm1-05499319 2025-10-21 14:35:02,226 - INFO - Deleting VN ctest-vn2-79159314 2025-10-21 14:35:02,262 - DEBUG - VN 262e7d87-bbd6-4875-bede-31a542181c4a still in use: Unable to complete operation on network 262e7d87-bbd6-4875-bede-31a542181c4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c23f361-eeb2-4732-b1e7-e8e5db29b476'] 2025-10-21 14:35:02,262 - WARNING - Deleting VN ctest-vn2-79159314 failed..Will retry 2025-10-21 14:35:04,359 - DEBUG - Response for deleting network () 2025-10-21 14:35:04,359 - INFO - Deleting VN ctest-vn1-82799052 2025-10-21 14:35:04,486 - DEBUG - Response for deleting network () 2025-10-21 14:35:04,739 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 14:35:04,739 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-21 14:35:04,739 - INFO - -------------------------------------------------------------------------------- 2025-10-21 14:35:05,375 - INFO - Deleted project: ctest-TestRouters-66584499, ID : 20957fa1-bae6-4a83-975b-78b4c67097c9