2025-08-07 14:22:04,670 - INFO - Domain Default found not creating 2025-08-07 14:22:04,858 - INFO - Project ctest-TestRouters-48751125 not found, creating it 2025-08-07 14:22:05,398 - INFO - Created Project:ctest-TestRouters-48751125, ID : 4fc94577-b0a2-4f6e-b35e-f949638c105f 2025-08-07 14:22:07,090 - INFO - ================================================================================ 2025-08-07 14:22:07,090 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-07 14:22:07,090 - 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-08-07 14:22:07,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-07 14:22:07,363 - INFO - Initial checks done. Running the testcase now 2025-08-07 14:22:07,363 - INFO - 2025-08-07 14:22:08,078 - DEBUG - Response for create_network : {'network': {'id': '1d592970-5d05-462e-80cc-91d5cff036eb', 'name': 'ctest-vn1-24013016', 'tenant_id': '4fc94577b0a24f6eb35ef949638c105f', 'project_id': '4fc94577b0a24f6eb35ef949638c105f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48751125', 'ctest-vn1-24013016'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:22:08,335 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7f6422d-da99-49d1-8236-b21471fc01fc', 'name': '', 'tenant_id': '4fc94577b0a24f6eb35ef949638c105f', 'network_id': '1d592970-5d05-462e-80cc-91d5cff036eb', 'ip_version': 4, 'cidr': '178.138.215.0/26', 'allocation_pools': [{'start': '178.138.215.2', 'end': '178.138.215.62'}], 'gateway_ip': '178.138.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.138.215.2', 'tags': [], 'project_id': '4fc94577b0a24f6eb35ef949638c105f'}} 2025-08-07 14:22:08,361 - INFO - Created VN ctest-vn1-24013016 2025-08-07 14:22:08,417 - DEBUG - VN ctest-vn1-24013016 UUID is 1d592970-5d05-462e-80cc-91d5cff036eb 2025-08-07 14:22:08,790 - DEBUG - Response for create_network : {'network': {'id': 'a514159e-6b5f-44c7-aef5-9068a050a6a6', 'name': 'ctest-vn2-03198761', 'tenant_id': '4fc94577b0a24f6eb35ef949638c105f', 'project_id': '4fc94577b0a24f6eb35ef949638c105f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48751125', 'ctest-vn2-03198761'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:22:09,015 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1e144eb-a9c5-4293-a57e-fad3100e3320', 'name': '', 'tenant_id': '4fc94577b0a24f6eb35ef949638c105f', 'network_id': 'a514159e-6b5f-44c7-aef5-9068a050a6a6', 'ip_version': 4, 'cidr': '122.34.0.64/26', 'allocation_pools': [{'start': '122.34.0.66', 'end': '122.34.0.126'}], 'gateway_ip': '122.34.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.34.0.66', 'tags': [], 'project_id': '4fc94577b0a24f6eb35ef949638c105f'}} 2025-08-07 14:22:09,034 - INFO - Created VN ctest-vn2-03198761 2025-08-07 14:22:09,089 - DEBUG - VN ctest-vn2-03198761 UUID is a514159e-6b5f-44c7-aef5-9068a050a6a6 2025-08-07 14:22:09,277 - DEBUG - Services list from nova: [, , ] 2025-08-07 14:22:10,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3770-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3770-1) 2025-08-07 14:22:11,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3770-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3770-1) 2025-08-07 14:22:11,950 - INFO - Adding interface with subnet_id f7f6422d-da99-49d1-8236-b21471fc01fc, port_id None to router 89a5076c-e59e-4034-bafe-a7f7c5916ba4 2025-08-07 14:22:12,380 - INFO - Waiting for VM ctest-vn1-vm1-59815803 to be up.. 2025-08-07 14:22:12,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 14:22:17,620 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:22:17,620 - INFO - VM name : ctest-vn1-vm1-59815803 2025-08-07 14:22:17,709 - DEBUG - VM ctest-vn1-vm1-59815803 ID is 348f8398-ea05-4ee9-8e4b-372bf35c2109 2025-08-07 14:22:17,734 - DEBUG - VM ctest-vn1-vm1-59815803 launched on Node cn-jenkins-deploy-platform-ansible-os-3770-1 2025-08-07 14:22:17,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/348f8398-ea05-4ee9-8e4b-372bf35c2109 2025-08-07 14:22:18,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/348f8398-ea05-4ee9-8e4b-372bf35c2109 2025-08-07 14:22:18,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9c332c25-07de-4d1e-99a4-6780ea912547 2025-08-07 14:22:21,490 - 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 1012ms') 2025-08-07 14:22:21,491 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59815803 failed! 2025-08-07 14:22:21,549 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48751125:ctest-vn1-24013016 is 178.138.215.1 and allocation pool is NOT set 2025-08-07 14:22:23,626 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.06 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 = 4.061/4.613/5.165/0.552 ms') 2025-08-07 14:22:23,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59815803 passed 2025-08-07 14:22:23,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:22:23,801 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59815803, IP 178.138.215.3, Port 22 2025-08-07 14:22:23,972 - DEBUG - VM ctest-vn1-vm1-59815803 is ready for SSH connections 2025-08-07 14:22:23,972 - INFO - Waiting for VM ctest-vn2-vm1-37023822 to be up.. 2025-08-07 14:22:24,071 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:22:24,071 - INFO - VM name : ctest-vn2-vm1-37023822 2025-08-07 14:22:24,173 - DEBUG - VM ctest-vn2-vm1-37023822 ID is 6e456fb4-4ce5-4cd2-9512-7626c142adf7 2025-08-07 14:22:24,173 - DEBUG - VM ctest-vn2-vm1-37023822 launched on Node cn-jenkins-deploy-platform-ansible-os-3770-1 2025-08-07 14:22:24,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6e456fb4-4ce5-4cd2-9512-7626c142adf7 2025-08-07 14:22:24,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/20a239a9-0907-4403-9a77-01eed48eebd4 2025-08-07 14:22:25,557 - 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=4.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.17 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 = 1.173/2.873/4.573/1.700 ms') 2025-08-07 14:22:25,557 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-37023822 passed 2025-08-07 14:22:25,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:22:25,713 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-37023822, IP 122.34.0.67, Port 22 2025-08-07 14:22:25,869 - DEBUG - VM ctest-vn2-vm1-37023822 is ready for SSH connections 2025-08-07 14:22:25,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:22:25,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.34.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 14:22:25,869 - DEBUG - ping -s 56 -c 3 -W 1 122.34.0.67 2025-08-07 14:22:31,018 - DEBUG - PING 122.34.0.67 (122.34.0.67): 56 data bytes --- 122.34.0.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 14:22:31,018 - WARNING - Ping to IP 122.34.0.67 from VM ctest-vn1-vm1-59815803 failed 2025-08-07 14:22:31,019 - INFO - Adding interface with subnet_id c1e144eb-a9c5-4293-a57e-fad3100e3320, port_id None to router 89a5076c-e59e-4034-bafe-a7f7c5916ba4 2025-08-07 14:22:31,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:22:31,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.34.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 14:22:31,293 - DEBUG - ping -s 56 -c 3 -W 1 122.34.0.67 2025-08-07 14:22:34,536 - DEBUG - PING 122.34.0.67 (122.34.0.67): 56 data bytes 64 bytes from 122.34.0.67: seq=1 ttl=63 time=3.629 ms 64 bytes from 122.34.0.67: seq=2 ttl=63 time=0.942 ms --- 122.34.0.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.942/2.285/3.629 ms 2025-08-07 14:22:34,536 - WARNING - Ping to IP 122.34.0.67 from VM ctest-vn1-vm1-59815803 failed 2025-08-07 14:22:35,537 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.34.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 14:22:35,537 - DEBUG - ping -s 56 -c 3 -W 1 122.34.0.67 2025-08-07 14:22:37,762 - DEBUG - PING 122.34.0.67 (122.34.0.67): 56 data bytes 64 bytes from 122.34.0.67: seq=0 ttl=63 time=1.886 ms 64 bytes from 122.34.0.67: seq=1 ttl=63 time=1.058 ms 64 bytes from 122.34.0.67: seq=2 ttl=63 time=0.950 ms --- 122.34.0.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.950/1.298/1.886 ms 2025-08-07 14:22:37,762 - INFO - Ping to IP 122.34.0.67 from VM ctest-vn1-vm1-59815803 passed 2025-08-07 14:22:37,763 - INFO - Deleting interface with subnet_id f7f6422d-da99-49d1-8236-b21471fc01fc, port_id None from router 89a5076c-e59e-4034-bafe-a7f7c5916ba4 2025-08-07 14:22:37,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:22:37,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.34.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 14:22:37,903 - DEBUG - ping -s 56 -c 3 -W 1 122.34.0.67 2025-08-07 14:22:41,132 - DEBUG - PING 122.34.0.67 (122.34.0.67): 56 data bytes --- 122.34.0.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 14:22:41,132 - WARNING - Ping to IP 122.34.0.67 from VM ctest-vn1-vm1-59815803 failed 2025-08-07 14:22:41,132 - INFO - Adding interface with subnet_id f7f6422d-da99-49d1-8236-b21471fc01fc, port_id None to router 89a5076c-e59e-4034-bafe-a7f7c5916ba4 2025-08-07 14:22:41,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:22:41,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.34.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 14:22:41,405 - DEBUG - ping -s 56 -c 3 -W 1 122.34.0.67 2025-08-07 14:22:43,647 - DEBUG - PING 122.34.0.67 (122.34.0.67): 56 data bytes 64 bytes from 122.34.0.67: seq=0 ttl=63 time=1.637 ms 64 bytes from 122.34.0.67: seq=1 ttl=63 time=1.072 ms 64 bytes from 122.34.0.67: seq=2 ttl=63 time=1.486 ms --- 122.34.0.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.072/1.398/1.637 ms 2025-08-07 14:22:43,647 - INFO - Ping to IP 122.34.0.67 from VM ctest-vn1-vm1-59815803 passed 2025-08-07 14:22:43,647 - INFO - Deleting interface with subnet_id c1e144eb-a9c5-4293-a57e-fad3100e3320, port_id None from router 89a5076c-e59e-4034-bafe-a7f7c5916ba4 2025-08-07 14:22:43,808 - INFO - Deleting interface with subnet_id f7f6422d-da99-49d1-8236-b21471fc01fc, port_id None from router 89a5076c-e59e-4034-bafe-a7f7c5916ba4 2025-08-07 14:22:44,075 - INFO - Deleting VM ctest-vn2-vm1-37023822 2025-08-07 14:22:44,176 - INFO - Deleting VM ctest-vn1-vm1-59815803 2025-08-07 14:22:44,266 - INFO - Deleting VN ctest-vn2-03198761 2025-08-07 14:22:44,335 - DEBUG - VN a514159e-6b5f-44c7-aef5-9068a050a6a6 still in use: Unable to complete operation on network a514159e-6b5f-44c7-aef5-9068a050a6a6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c99ba45-561f-4f85-b7aa-f58f59538990'] 2025-08-07 14:22:44,335 - WARNING - Deleting VN ctest-vn2-03198761 failed..Will retry 2025-08-07 14:22:46,454 - DEBUG - Response for deleting network () 2025-08-07 14:22:46,454 - INFO - Deleting VN ctest-vn1-24013016 2025-08-07 14:22:46,582 - DEBUG - Response for deleting network () 2025-08-07 14:22:46,840 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 14:22:46,840 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-07 14:22:46,840 - INFO - -------------------------------------------------------------------------------- 2025-08-07 14:22:47,612 - INFO - Deleted project: ctest-TestRouters-48751125, ID : 4fc94577-b0a2-4f6e-b35e-f949638c105f