2025-10-12 19:08:10,442 - INFO - Domain Default found not creating 2025-10-12 19:08:10,598 - INFO - Project ctest-TestRouters-65701102 not found, creating it 2025-10-12 19:08:11,057 - INFO - Created Project:ctest-TestRouters-65701102, ID : d7d47dbc-516b-4007-93f0-e4064d58b570 2025-10-12 19:08:12,542 - INFO - ================================================================================ 2025-10-12 19:08:12,542 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-12 19:08:12,542 - 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-12 19:08:12,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-10-12 19:08:12,800 - INFO - Initial checks done. Running the testcase now 2025-10-12 19:08:12,800 - INFO - 2025-10-12 19:08:13,321 - DEBUG - Response for create_network : {'network': {'id': '5a4fcb3d-169d-4b63-9061-7c3481b9263c', 'name': 'ctest-vn1-62587638', 'tenant_id': 'd7d47dbc516b400793f0e4064d58b570', 'project_id': 'd7d47dbc516b400793f0e4064d58b570', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65701102', 'ctest-vn1-62587638'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 19:08:13,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a76509ef-2ab5-4fbf-a727-aa2648c90e6f', 'name': '', 'tenant_id': 'd7d47dbc516b400793f0e4064d58b570', 'network_id': '5a4fcb3d-169d-4b63-9061-7c3481b9263c', 'ip_version': 4, 'cidr': '195.239.74.64/26', 'allocation_pools': [{'start': '195.239.74.66', 'end': '195.239.74.126'}], 'gateway_ip': '195.239.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.239.74.66', 'tags': [], 'project_id': 'd7d47dbc516b400793f0e4064d58b570'}} 2025-10-12 19:08:13,489 - INFO - Created VN ctest-vn1-62587638 2025-10-12 19:08:13,539 - DEBUG - VN ctest-vn1-62587638 UUID is 5a4fcb3d-169d-4b63-9061-7c3481b9263c 2025-10-12 19:08:13,888 - DEBUG - Response for create_network : {'network': {'id': 'b62f286e-92ca-46be-9c4c-1ae3f3dbdbfb', 'name': 'ctest-vn2-01233855', 'tenant_id': 'd7d47dbc516b400793f0e4064d58b570', 'project_id': 'd7d47dbc516b400793f0e4064d58b570', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65701102', 'ctest-vn2-01233855'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 19:08:14,141 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bae44441-3e0a-49f0-ba24-6a3dcee87bfe', 'name': '', 'tenant_id': 'd7d47dbc516b400793f0e4064d58b570', 'network_id': 'b62f286e-92ca-46be-9c4c-1ae3f3dbdbfb', 'ip_version': 4, 'cidr': '13.240.25.0/26', 'allocation_pools': [{'start': '13.240.25.2', 'end': '13.240.25.62'}], 'gateway_ip': '13.240.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.240.25.2', 'tags': [], 'project_id': 'd7d47dbc516b400793f0e4064d58b570'}} 2025-10-12 19:08:14,170 - INFO - Created VN ctest-vn2-01233855 2025-10-12 19:08:14,223 - DEBUG - VN ctest-vn2-01233855 UUID is b62f286e-92ca-46be-9c4c-1ae3f3dbdbfb 2025-10-12 19:08:14,451 - DEBUG - Services list from nova: [, , ] 2025-10-12 19:08:15,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4292-1) 2025-10-12 19:08:16,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4292-1) 2025-10-12 19:08:16,674 - INFO - Adding interface with subnet_id a76509ef-2ab5-4fbf-a727-aa2648c90e6f, port_id None to router ea0b84fd-7ab8-4d8c-83e3-46fdd7b99c14 2025-10-12 19:08:16,940 - INFO - Waiting for VM ctest-vn1-vm1-00299209 to be up.. 2025-10-12 19:08:17,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 19:08:22,096 - DEBUG - VM is in ACTIVE state now 2025-10-12 19:08:22,097 - INFO - VM name : ctest-vn1-vm1-00299209 2025-10-12 19:08:22,168 - DEBUG - VM ctest-vn1-vm1-00299209 ID is 00010fb8-3847-4a80-affe-6dae6cedc9f2 2025-10-12 19:08:22,186 - DEBUG - VM ctest-vn1-vm1-00299209 launched on Node cn-jenkins-deploy-platform-ansible-os-4292-1 2025-10-12 19:08:22,259 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/00010fb8-3847-4a80-affe-6dae6cedc9f2 2025-10-12 19:08:22,575 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/00010fb8-3847-4a80-affe-6dae6cedc9f2 2025-10-12 19:08:22,603 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/fec4a504-292d-479f-b1db-926891cd0075 2025-10-12 19:08:25,856 - 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-12 19:08:25,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00299209 failed! 2025-10-12 19:08:25,911 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-65701102:ctest-vn1-62587638 is 195.239.74.65 and allocation pool is NOT set 2025-10-12 19:08:27,970 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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 = 0.383/1.611/2.840/1.228 ms') 2025-10-12 19:08:27,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00299209 passed 2025-10-12 19:08:28,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:08:28,123 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00299209, IP 195.239.74.67, Port 22 2025-10-12 19:08:28,283 - DEBUG - VM ctest-vn1-vm1-00299209 is ready for SSH connections 2025-10-12 19:08:28,283 - INFO - Waiting for VM ctest-vn2-vm1-87910091 to be up.. 2025-10-12 19:08:28,357 - DEBUG - VM is in ACTIVE state now 2025-10-12 19:08:28,357 - INFO - VM name : ctest-vn2-vm1-87910091 2025-10-12 19:08:28,435 - DEBUG - VM ctest-vn2-vm1-87910091 ID is 62270217-87c2-4b9b-bddc-2a3497dbd7eb 2025-10-12 19:08:28,435 - DEBUG - VM ctest-vn2-vm1-87910091 launched on Node cn-jenkins-deploy-platform-ansible-os-4292-1 2025-10-12 19:08:28,504 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/62270217-87c2-4b9b-bddc-2a3497dbd7eb 2025-10-12 19:08:28,512 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c89850f2-2a87-41d9-a6db-6fdade21a8b5 2025-10-12 19:08:29,748 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/1.704/2.969/1.264 ms') 2025-10-12 19:08:29,748 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-87910091 passed 2025-10-12 19:08:29,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:08:29,895 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-87910091, IP 13.240.25.3, Port 22 2025-10-12 19:08:30,050 - DEBUG - VM ctest-vn2-vm1-87910091 is ready for SSH connections 2025-10-12 19:08:30,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:08:30,051 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.240.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 19:08:30,051 - DEBUG - ping -s 56 -c 3 -W 1 13.240.25.3 2025-10-12 19:08:34,985 - DEBUG - PING 13.240.25.3 (13.240.25.3): 56 data bytes --- 13.240.25.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-12 19:08:34,985 - WARNING - Ping to IP 13.240.25.3 from VM ctest-vn1-vm1-00299209 failed 2025-10-12 19:08:34,985 - INFO - Adding interface with subnet_id bae44441-3e0a-49f0-ba24-6a3dcee87bfe, port_id None to router ea0b84fd-7ab8-4d8c-83e3-46fdd7b99c14 2025-10-12 19:08:35,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:08:35,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.240.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 19:08:35,257 - DEBUG - ping -s 56 -c 3 -W 1 13.240.25.3 2025-10-12 19:08:38,456 - DEBUG - PING 13.240.25.3 (13.240.25.3): 56 data bytes 64 bytes from 13.240.25.3: seq=1 ttl=63 time=2.566 ms 64 bytes from 13.240.25.3: seq=2 ttl=63 time=0.816 ms --- 13.240.25.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.816/1.691/2.566 ms 2025-10-12 19:08:38,456 - WARNING - Ping to IP 13.240.25.3 from VM ctest-vn1-vm1-00299209 failed 2025-10-12 19:08:39,457 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.240.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 19:08:39,457 - DEBUG - ping -s 56 -c 3 -W 1 13.240.25.3 2025-10-12 19:08:41,662 - DEBUG - PING 13.240.25.3 (13.240.25.3): 56 data bytes 64 bytes from 13.240.25.3: seq=0 ttl=63 time=1.368 ms 64 bytes from 13.240.25.3: seq=1 ttl=63 time=0.858 ms 64 bytes from 13.240.25.3: seq=2 ttl=63 time=0.803 ms --- 13.240.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/1.009/1.368 ms 2025-10-12 19:08:41,662 - INFO - Ping to IP 13.240.25.3 from VM ctest-vn1-vm1-00299209 passed 2025-10-12 19:08:41,662 - INFO - Deleting interface with subnet_id a76509ef-2ab5-4fbf-a727-aa2648c90e6f, port_id None from router ea0b84fd-7ab8-4d8c-83e3-46fdd7b99c14 2025-10-12 19:08:41,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:08:41,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.240.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 19:08:41,762 - DEBUG - ping -s 56 -c 3 -W 1 13.240.25.3 2025-10-12 19:08:44,960 - DEBUG - PING 13.240.25.3 (13.240.25.3): 56 data bytes --- 13.240.25.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-12 19:08:44,961 - WARNING - Ping to IP 13.240.25.3 from VM ctest-vn1-vm1-00299209 failed 2025-10-12 19:08:44,961 - INFO - Adding interface with subnet_id a76509ef-2ab5-4fbf-a727-aa2648c90e6f, port_id None to router ea0b84fd-7ab8-4d8c-83e3-46fdd7b99c14 2025-10-12 19:08:45,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:08:45,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.240.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 19:08:45,148 - DEBUG - ping -s 56 -c 3 -W 1 13.240.25.3 2025-10-12 19:08:47,366 - DEBUG - PING 13.240.25.3 (13.240.25.3): 56 data bytes 64 bytes from 13.240.25.3: seq=0 ttl=63 time=1.408 ms 64 bytes from 13.240.25.3: seq=1 ttl=63 time=0.925 ms 64 bytes from 13.240.25.3: seq=2 ttl=63 time=0.862 ms --- 13.240.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/1.065/1.408 ms 2025-10-12 19:08:47,367 - INFO - Ping to IP 13.240.25.3 from VM ctest-vn1-vm1-00299209 passed 2025-10-12 19:08:47,367 - INFO - Deleting interface with subnet_id bae44441-3e0a-49f0-ba24-6a3dcee87bfe, port_id None from router ea0b84fd-7ab8-4d8c-83e3-46fdd7b99c14 2025-10-12 19:08:47,469 - INFO - Deleting interface with subnet_id a76509ef-2ab5-4fbf-a727-aa2648c90e6f, port_id None from router ea0b84fd-7ab8-4d8c-83e3-46fdd7b99c14 2025-10-12 19:08:47,633 - INFO - Deleting VM ctest-vn2-vm1-87910091 2025-10-12 19:08:47,715 - INFO - Deleting VM ctest-vn1-vm1-00299209 2025-10-12 19:08:47,785 - INFO - Deleting VN ctest-vn2-01233855 2025-10-12 19:08:47,820 - DEBUG - VN b62f286e-92ca-46be-9c4c-1ae3f3dbdbfb still in use: Unable to complete operation on network b62f286e-92ca-46be-9c4c-1ae3f3dbdbfb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c44c176-a651-41a4-87a7-175db9219202'] 2025-10-12 19:08:47,820 - WARNING - Deleting VN ctest-vn2-01233855 failed..Will retry 2025-10-12 19:08:49,906 - DEBUG - Response for deleting network () 2025-10-12 19:08:49,906 - INFO - Deleting VN ctest-vn1-62587638 2025-10-12 19:08:50,006 - DEBUG - Response for deleting network () 2025-10-12 19:08:50,260 - DEBUG - No XMPP flaps were noticed during the test
2025-10-12 19:08:50,260 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-12 19:08:50,260 - INFO - -------------------------------------------------------------------------------- 2025-10-12 19:08:51,221 - INFO - Deleted project: ctest-TestRouters-65701102, ID : d7d47dbc-516b-4007-93f0-e4064d58b570