2025-10-14 18:12:21,517 - INFO - Domain Default found not creating 2025-10-14 18:12:21,656 - INFO - Project ctest-TestRouters-11706763 not found, creating it 2025-10-14 18:12:22,095 - INFO - Created Project:ctest-TestRouters-11706763, ID : f95a861e-a891-482c-b221-d8ff4040828a 2025-10-14 18:12:23,495 - INFO - ================================================================================ 2025-10-14 18:12:23,495 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-14 18:12:23,495 - 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-14 18:12:23,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-14 18:12:23,748 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:12:23,748 - INFO - 2025-10-14 18:12:24,269 - DEBUG - Response for create_network : {'network': {'id': '73e1fbc4-650d-41df-8a25-758777b9fa66', 'name': 'ctest-vn1-68139779', 'tenant_id': 'f95a861ea891482cb221d8ff4040828a', 'project_id': 'f95a861ea891482cb221d8ff4040828a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11706763', 'ctest-vn1-68139779'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:12:24,469 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe9476ca-5522-4b8d-9810-dbd02e0ab82d', 'name': '', 'tenant_id': 'f95a861ea891482cb221d8ff4040828a', 'network_id': '73e1fbc4-650d-41df-8a25-758777b9fa66', 'ip_version': 4, 'cidr': '154.71.0.192/26', 'allocation_pools': [{'start': '154.71.0.194', 'end': '154.71.0.254'}], 'gateway_ip': '154.71.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.71.0.194', 'tags': [], 'project_id': 'f95a861ea891482cb221d8ff4040828a'}} 2025-10-14 18:12:24,486 - INFO - Created VN ctest-vn1-68139779 2025-10-14 18:12:24,536 - DEBUG - VN ctest-vn1-68139779 UUID is 73e1fbc4-650d-41df-8a25-758777b9fa66 2025-10-14 18:12:24,861 - DEBUG - Response for create_network : {'network': {'id': '6ca1d561-0fab-45b0-b013-83d8819cf18e', 'name': 'ctest-vn2-20516607', 'tenant_id': 'f95a861ea891482cb221d8ff4040828a', 'project_id': 'f95a861ea891482cb221d8ff4040828a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11706763', 'ctest-vn2-20516607'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:12:25,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '190f8d31-afbf-40ed-895b-4f65492fd0f5', 'name': '', 'tenant_id': 'f95a861ea891482cb221d8ff4040828a', 'network_id': '6ca1d561-0fab-45b0-b013-83d8819cf18e', 'ip_version': 4, 'cidr': '70.167.252.128/26', 'allocation_pools': [{'start': '70.167.252.130', 'end': '70.167.252.190'}], 'gateway_ip': '70.167.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.167.252.130', 'tags': [], 'project_id': 'f95a861ea891482cb221d8ff4040828a'}} 2025-10-14 18:12:25,100 - INFO - Created VN ctest-vn2-20516607 2025-10-14 18:12:25,152 - DEBUG - VN ctest-vn2-20516607 UUID is 6ca1d561-0fab-45b0-b013-83d8819cf18e 2025-10-14 18:12:25,359 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:12:26,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4316-1) 2025-10-14 18:12:27,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4316-1) 2025-10-14 18:12:27,582 - INFO - Adding interface with subnet_id fe9476ca-5522-4b8d-9810-dbd02e0ab82d, port_id None to router 6558167e-9e9d-4283-a43a-23f1cd25830d 2025-10-14 18:12:27,886 - INFO - Waiting for VM ctest-vn1-vm1-04325632 to be up.. 2025-10-14 18:12:28,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:12:33,108 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:12:33,108 - INFO - VM name : ctest-vn1-vm1-04325632 2025-10-14 18:12:33,187 - DEBUG - VM ctest-vn1-vm1-04325632 ID is b9a0559a-e0bc-4ef7-a026-430f573a5510 2025-10-14 18:12:33,208 - DEBUG - VM ctest-vn1-vm1-04325632 launched on Node cn-jenkins-deploy-platform-ansible-os-4316-1 2025-10-14 18:12:33,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b9a0559a-e0bc-4ef7-a026-430f573a5510 2025-10-14 18:12:33,668 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b9a0559a-e0bc-4ef7-a026-430f573a5510 2025-10-14 18:12:33,694 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3aa6d88f-f975-479d-9f25-ad5fcfa3cee9 2025-10-14 18:12:36,946 - 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 1019ms') 2025-10-14 18:12:36,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04325632 failed! 2025-10-14 18:12:37,000 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-11706763:ctest-vn1-68139779 is 154.71.0.193 and allocation pool is NOT set 2025-10-14 18:12:39,062 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.870/3.289/1.418 ms') 2025-10-14 18:12:39,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04325632 passed 2025-10-14 18:12:39,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:39,208 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04325632, IP 154.71.0.195, Port 22 2025-10-14 18:12:39,359 - DEBUG - VM ctest-vn1-vm1-04325632 is ready for SSH connections 2025-10-14 18:12:39,359 - INFO - Waiting for VM ctest-vn2-vm1-57836548 to be up.. 2025-10-14 18:12:39,429 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:12:39,429 - INFO - VM name : ctest-vn2-vm1-57836548 2025-10-14 18:12:39,495 - DEBUG - VM ctest-vn2-vm1-57836548 ID is a885144a-86c2-4ea8-b8a0-55caee780aeb 2025-10-14 18:12:39,496 - DEBUG - VM ctest-vn2-vm1-57836548 launched on Node cn-jenkins-deploy-platform-ansible-os-4316-1 2025-10-14 18:12:39,566 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a885144a-86c2-4ea8-b8a0-55caee780aeb 2025-10-14 18:12:39,573 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5c15d947-2136-4509-bccc-c9493c317d80 2025-10-14 18:12:40,806 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.838/3.327/1.489 ms') 2025-10-14 18:12:40,806 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-57836548 passed 2025-10-14 18:12:40,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:40,956 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-57836548, IP 70.167.252.131, Port 22 2025-10-14 18:12:41,116 - DEBUG - VM ctest-vn2-vm1-57836548 is ready for SSH connections 2025-10-14 18:12:41,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:41,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.167.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:12:41,116 - DEBUG - ping -s 56 -c 3 -W 1 70.167.252.131 2025-10-14 18:12:45,759 - DEBUG - PING 70.167.252.131 (70.167.252.131): 56 data bytes --- 70.167.252.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-14 18:12:45,759 - WARNING - Ping to IP 70.167.252.131 from VM ctest-vn1-vm1-04325632 failed 2025-10-14 18:12:45,759 - INFO - Adding interface with subnet_id 190f8d31-afbf-40ed-895b-4f65492fd0f5, port_id None to router 6558167e-9e9d-4283-a43a-23f1cd25830d 2025-10-14 18:12:45,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:45,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.167.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:12:45,994 - DEBUG - ping -s 56 -c 3 -W 1 70.167.252.131 2025-10-14 18:12:48,195 - DEBUG - PING 70.167.252.131 (70.167.252.131): 56 data bytes 64 bytes from 70.167.252.131: seq=0 ttl=63 time=2.304 ms 64 bytes from 70.167.252.131: seq=1 ttl=63 time=0.807 ms 64 bytes from 70.167.252.131: seq=2 ttl=63 time=0.861 ms --- 70.167.252.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.807/1.324/2.304 ms 2025-10-14 18:12:48,195 - INFO - Ping to IP 70.167.252.131 from VM ctest-vn1-vm1-04325632 passed 2025-10-14 18:12:48,195 - INFO - Deleting interface with subnet_id fe9476ca-5522-4b8d-9810-dbd02e0ab82d, port_id None from router 6558167e-9e9d-4283-a43a-23f1cd25830d 2025-10-14 18:12:48,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:48,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.167.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:12:48,325 - DEBUG - ping -s 56 -c 3 -W 1 70.167.252.131 2025-10-14 18:12:51,525 - DEBUG - PING 70.167.252.131 (70.167.252.131): 56 data bytes --- 70.167.252.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-14 18:12:51,525 - WARNING - Ping to IP 70.167.252.131 from VM ctest-vn1-vm1-04325632 failed 2025-10-14 18:12:51,525 - INFO - Adding interface with subnet_id fe9476ca-5522-4b8d-9810-dbd02e0ab82d, port_id None to router 6558167e-9e9d-4283-a43a-23f1cd25830d 2025-10-14 18:12:51,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:51,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.167.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:12:51,735 - DEBUG - ping -s 56 -c 3 -W 1 70.167.252.131 2025-10-14 18:12:54,940 - DEBUG - PING 70.167.252.131 (70.167.252.131): 56 data bytes 64 bytes from 70.167.252.131: seq=1 ttl=63 time=1.428 ms 64 bytes from 70.167.252.131: seq=2 ttl=63 time=0.767 ms --- 70.167.252.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.767/1.097/1.428 ms 2025-10-14 18:12:54,941 - WARNING - Ping to IP 70.167.252.131 from VM ctest-vn1-vm1-04325632 failed 2025-10-14 18:12:55,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.167.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:12:55,942 - DEBUG - ping -s 56 -c 3 -W 1 70.167.252.131 2025-10-14 18:12:58,140 - DEBUG - PING 70.167.252.131 (70.167.252.131): 56 data bytes 64 bytes from 70.167.252.131: seq=0 ttl=63 time=1.426 ms 64 bytes from 70.167.252.131: seq=1 ttl=63 time=0.874 ms 64 bytes from 70.167.252.131: seq=2 ttl=63 time=0.883 ms --- 70.167.252.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/1.061/1.426 ms 2025-10-14 18:12:58,140 - INFO - Ping to IP 70.167.252.131 from VM ctest-vn1-vm1-04325632 passed 2025-10-14 18:12:58,140 - INFO - Deleting interface with subnet_id 190f8d31-afbf-40ed-895b-4f65492fd0f5, port_id None from router 6558167e-9e9d-4283-a43a-23f1cd25830d 2025-10-14 18:12:58,284 - INFO - Deleting interface with subnet_id fe9476ca-5522-4b8d-9810-dbd02e0ab82d, port_id None from router 6558167e-9e9d-4283-a43a-23f1cd25830d 2025-10-14 18:12:58,452 - INFO - Deleting VM ctest-vn2-vm1-57836548 2025-10-14 18:12:58,534 - INFO - Deleting VM ctest-vn1-vm1-04325632 2025-10-14 18:12:58,616 - INFO - Deleting VN ctest-vn2-20516607 2025-10-14 18:12:58,651 - DEBUG - VN 6ca1d561-0fab-45b0-b013-83d8819cf18e still in use: Unable to complete operation on network 6ca1d561-0fab-45b0-b013-83d8819cf18e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27ff8f5b-6b40-4200-af44-c1c9ed110b07'] 2025-10-14 18:12:58,651 - WARNING - Deleting VN ctest-vn2-20516607 failed..Will retry 2025-10-14 18:13:00,733 - DEBUG - Response for deleting network () 2025-10-14 18:13:00,733 - INFO - Deleting VN ctest-vn1-68139779 2025-10-14 18:13:00,835 - DEBUG - Response for deleting network () 2025-10-14 18:13:01,089 - DEBUG - No XMPP flaps were noticed during the test
2025-10-14 18:13:01,089 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-14 18:13:01,089 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:13:01,749 - INFO - Deleted project: ctest-TestRouters-11706763, ID : f95a861e-a891-482c-b221-d8ff4040828a