2025-10-08 16:41:48,487 - INFO - Domain Default found not creating 2025-10-08 16:41:48,653 - INFO - Project ctest-TestRouters-09407229 not found, creating it 2025-10-08 16:41:49,252 - INFO - Created Project:ctest-TestRouters-09407229, ID : ce61550c-021d-43d0-8bd0-23d7aac845b7 2025-10-08 16:41:50,633 - INFO - ================================================================================ 2025-10-08 16:41:50,633 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-08 16:41:50,633 - 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-08 16:41:51,919 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.192': '0', '10.20.0.19': '0'}, '10.0.0.19': {'10.20.0.192': '0', '10.20.0.19': '0'}} with 2025-10-08 16:41:51,919 - INFO - Initial checks done. Running the testcase now 2025-10-08 16:41:51,919 - INFO - 2025-10-08 16:41:52,622 - DEBUG - Response for create_network : {'network': {'id': '10676140-ccd9-4cae-afe9-fa8d5f765894', 'name': 'ctest-vn1-33722593', 'tenant_id': 'ce61550c021d43d08bd023d7aac845b7', 'project_id': 'ce61550c021d43d08bd023d7aac845b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-09407229', 'ctest-vn1-33722593'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:41:52,874 - DEBUG - Response for create_subnet : {'subnet': {'id': '11ad9ec7-00ac-48be-9c95-e2de356f6c57', 'name': '', 'tenant_id': 'ce61550c021d43d08bd023d7aac845b7', 'network_id': '10676140-ccd9-4cae-afe9-fa8d5f765894', 'ip_version': 4, 'cidr': '118.191.47.128/26', 'allocation_pools': [{'start': '118.191.47.130', 'end': '118.191.47.190'}], 'gateway_ip': '118.191.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.191.47.130', 'tags': [], 'project_id': 'ce61550c021d43d08bd023d7aac845b7'}} 2025-10-08 16:41:52,897 - INFO - Created VN ctest-vn1-33722593 2025-10-08 16:41:52,912 - DEBUG - VN ctest-vn1-33722593 UUID is 10676140-ccd9-4cae-afe9-fa8d5f765894 2025-10-08 16:41:53,320 - DEBUG - Response for create_network : {'network': {'id': '3129cb25-a581-4024-a688-24ac4d8c4bdb', 'name': 'ctest-vn2-20827441', 'tenant_id': 'ce61550c021d43d08bd023d7aac845b7', 'project_id': 'ce61550c021d43d08bd023d7aac845b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-09407229', 'ctest-vn2-20827441'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:41:53,529 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e512acac-f49a-46c4-a87b-b4a9a5258a36', 'name': '', 'tenant_id': 'ce61550c021d43d08bd023d7aac845b7', 'network_id': '3129cb25-a581-4024-a688-24ac4d8c4bdb', 'ip_version': 4, 'cidr': '152.44.193.192/26', 'allocation_pools': [{'start': '152.44.193.194', 'end': '152.44.193.254'}], 'gateway_ip': '152.44.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.44.193.194', 'tags': [], 'project_id': 'ce61550c021d43d08bd023d7aac845b7'}} 2025-10-08 16:41:53,554 - INFO - Created VN ctest-vn2-20827441 2025-10-08 16:41:53,566 - DEBUG - VN ctest-vn2-20827441 UUID is 3129cb25-a581-4024-a688-24ac4d8c4bdb 2025-10-08 16:41:53,695 - DEBUG - Services list from nova: [, , , ] 2025-10-08 16:41:54,794 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-1) 2025-10-08 16:41:56,171 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-2) 2025-10-08 16:41:56,330 - INFO - Adding interface with subnet_id 11ad9ec7-00ac-48be-9c95-e2de356f6c57, port_id None to router 7aaeb883-7e8e-4a82-a17f-d7a03703bc4c 2025-10-08 16:41:56,661 - INFO - Waiting for VM ctest-vn1-vm1-22075797 to be up.. 2025-10-08 16:41:56,774 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 16:42:01,861 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:42:01,861 - INFO - VM name : ctest-vn1-vm1-22075797 2025-10-08 16:42:01,957 - DEBUG - VM ctest-vn1-vm1-22075797 ID is 00b7303f-366c-4ff6-8df6-cccb17388dff 2025-10-08 16:42:01,984 - DEBUG - VM ctest-vn1-vm1-22075797 launched on Node an-jenkins-deploy-platform-ansible-os-4239-1 2025-10-08 16:42:02,061 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/00b7303f-366c-4ff6-8df6-cccb17388dff 2025-10-08 16:42:02,351 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/00b7303f-366c-4ff6-8df6-cccb17388dff 2025-10-08 16:42:02,381 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c093ec75-f8b6-43c5-8691-704fd8588ad5 2025-10-08 16:42:05,589 - 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 1030ms') 2025-10-08 16:42:05,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22075797 failed! 2025-10-08 16:42:05,605 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-09407229:ctest-vn1-33722593 is 118.191.47.129 and allocation pool is NOT set 2025-10-08 16:42:09,681 - 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=2 ttl=63 time=7.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 7.582/7.582/7.582/0.000 ms') 2025-10-08 16:42:09,681 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22075797 passed 2025-10-08 16:42:09,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:42:09,754 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22075797, IP 118.191.47.131, Port 22 2025-10-08 16:42:09,929 - DEBUG - VM ctest-vn1-vm1-22075797 is ready for SSH connections 2025-10-08 16:42:09,930 - INFO - Waiting for VM ctest-vn2-vm1-08215259 to be up.. 2025-10-08 16:42:10,018 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:42:10,018 - INFO - VM name : ctest-vn2-vm1-08215259 2025-10-08 16:42:10,108 - DEBUG - VM ctest-vn2-vm1-08215259 ID is df96f66c-e43a-403b-9969-df556eb29f70 2025-10-08 16:42:10,108 - DEBUG - VM ctest-vn2-vm1-08215259 launched on Node an-jenkins-deploy-platform-ansible-os-4239-2 2025-10-08 16:42:10,192 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/df96f66c-e43a-403b-9969-df556eb29f70 2025-10-08 16:42:10,209 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/85e13e99-e324-4f75-a146-138b67dcb2af 2025-10-08 16:42:11,385 - 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=5.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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.102/3.073/5.045/1.971 ms') 2025-10-08 16:42:11,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-08215259 passed 2025-10-08 16:42:11,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:42:11,453 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08215259, IP 152.44.193.195, Port 22 2025-10-08 16:42:11,635 - DEBUG - VM ctest-vn2-vm1-08215259 is ready for SSH connections 2025-10-08 16:42:11,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:42:11,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.44.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 16:42:11,635 - DEBUG - ping -s 56 -c 3 -W 1 152.44.193.195 2025-10-08 16:42:15,724 - DEBUG - PING 152.44.193.195 (152.44.193.195): 56 data bytes --- 152.44.193.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 16:42:15,725 - WARNING - Ping to IP 152.44.193.195 from VM ctest-vn1-vm1-22075797 failed 2025-10-08 16:42:15,725 - INFO - Adding interface with subnet_id e512acac-f49a-46c4-a87b-b4a9a5258a36, port_id None to router 7aaeb883-7e8e-4a82-a17f-d7a03703bc4c 2025-10-08 16:42:16,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:42:16,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.44.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 16:42:16,107 - DEBUG - ping -s 56 -c 3 -W 1 152.44.193.195 2025-10-08 16:42:19,345 - DEBUG - PING 152.44.193.195 (152.44.193.195): 56 data bytes 64 bytes from 152.44.193.195: seq=1 ttl=63 time=6.273 ms 64 bytes from 152.44.193.195: seq=2 ttl=63 time=1.493 ms --- 152.44.193.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.493/3.883/6.273 ms 2025-10-08 16:42:19,345 - WARNING - Ping to IP 152.44.193.195 from VM ctest-vn1-vm1-22075797 failed 2025-10-08 16:42:20,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.44.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 16:42:20,346 - DEBUG - ping -s 56 -c 3 -W 1 152.44.193.195 2025-10-08 16:42:22,569 - DEBUG - PING 152.44.193.195 (152.44.193.195): 56 data bytes 64 bytes from 152.44.193.195: seq=0 ttl=63 time=3.494 ms 64 bytes from 152.44.193.195: seq=1 ttl=63 time=1.387 ms 64 bytes from 152.44.193.195: seq=2 ttl=63 time=1.256 ms --- 152.44.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.256/2.045/3.494 ms 2025-10-08 16:42:22,569 - INFO - Ping to IP 152.44.193.195 from VM ctest-vn1-vm1-22075797 passed 2025-10-08 16:42:22,569 - INFO - Deleting interface with subnet_id 11ad9ec7-00ac-48be-9c95-e2de356f6c57, port_id None from router 7aaeb883-7e8e-4a82-a17f-d7a03703bc4c 2025-10-08 16:42:22,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:42:22,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.44.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 16:42:22,778 - DEBUG - ping -s 56 -c 3 -W 1 152.44.193.195 2025-10-08 16:42:26,001 - DEBUG - PING 152.44.193.195 (152.44.193.195): 56 data bytes --- 152.44.193.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 16:42:26,002 - WARNING - Ping to IP 152.44.193.195 from VM ctest-vn1-vm1-22075797 failed 2025-10-08 16:42:26,002 - INFO - Adding interface with subnet_id 11ad9ec7-00ac-48be-9c95-e2de356f6c57, port_id None to router 7aaeb883-7e8e-4a82-a17f-d7a03703bc4c 2025-10-08 16:42:26,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:42:26,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.44.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 16:42:26,456 - DEBUG - ping -s 56 -c 3 -W 1 152.44.193.195 2025-10-08 16:42:28,670 - DEBUG - PING 152.44.193.195 (152.44.193.195): 56 data bytes 64 bytes from 152.44.193.195: seq=0 ttl=63 time=2.984 ms 64 bytes from 152.44.193.195: seq=1 ttl=63 time=1.179 ms 64 bytes from 152.44.193.195: seq=2 ttl=63 time=1.137 ms --- 152.44.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.137/1.766/2.984 ms 2025-10-08 16:42:28,670 - INFO - Ping to IP 152.44.193.195 from VM ctest-vn1-vm1-22075797 passed 2025-10-08 16:42:28,670 - INFO - Deleting interface with subnet_id e512acac-f49a-46c4-a87b-b4a9a5258a36, port_id None from router 7aaeb883-7e8e-4a82-a17f-d7a03703bc4c 2025-10-08 16:42:28,907 - INFO - Deleting interface with subnet_id 11ad9ec7-00ac-48be-9c95-e2de356f6c57, port_id None from router 7aaeb883-7e8e-4a82-a17f-d7a03703bc4c 2025-10-08 16:42:29,208 - INFO - Deleting VM ctest-vn2-vm1-08215259 2025-10-08 16:42:29,292 - INFO - Deleting VM ctest-vn1-vm1-22075797 2025-10-08 16:42:29,350 - INFO - Deleting VN ctest-vn2-20827441 2025-10-08 16:42:29,398 - DEBUG - VN 3129cb25-a581-4024-a688-24ac4d8c4bdb still in use: Unable to complete operation on network 3129cb25-a581-4024-a688-24ac4d8c4bdb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48ad27f0-04d5-48f7-bca9-aeaaa6988b5c'] 2025-10-08 16:42:29,399 - WARNING - Deleting VN ctest-vn2-20827441 failed..Will retry 2025-10-08 16:42:31,584 - DEBUG - Response for deleting network () 2025-10-08 16:42:31,584 - INFO - Deleting VN ctest-vn1-33722593 2025-10-08 16:42:31,781 - DEBUG - Response for deleting network () 2025-10-08 16:42:33,261 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 16:42:33,262 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-10-08 16:42:33,262 - INFO - -------------------------------------------------------------------------------- 2025-10-08 16:42:33,979 - INFO - Deleted project: ctest-TestRouters-09407229, ID : ce61550c-021d-43d0-8bd0-23d7aac845b7