2025-11-17 18:14:28,413 - INFO - Domain Default found not creating 2025-11-17 18:14:29,075 - INFO - Project ctest-TestRouters-08705687 not found, creating it 2025-11-17 18:14:29,590 - INFO - Created Project:ctest-TestRouters-08705687, ID : 1416f71d-8432-4b62-9f04-e7bc8152f23e 2025-11-17 18:14:31,404 - INFO - ================================================================================ 2025-11-17 18:14:31,404 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-17 18:14:31,404 - 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-11-17 18:14:31,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 18:14:31,691 - INFO - Initial checks done. Running the testcase now 2025-11-17 18:14:31,691 - INFO - 2025-11-17 18:14:32,382 - DEBUG - Response for create_network : {'network': {'id': 'c16bd4c0-e1eb-434d-aab7-f741612a25c9', 'name': 'ctest-vn1-25236177', 'tenant_id': '1416f71d84324b629f04e7bc8152f23e', 'project_id': '1416f71d84324b629f04e7bc8152f23e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08705687', 'ctest-vn1-25236177'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:14:32,616 - DEBUG - Response for create_subnet : {'subnet': {'id': '69509d1d-6bba-48ee-8864-e4ba03f278b9', 'name': '', 'tenant_id': '1416f71d84324b629f04e7bc8152f23e', 'network_id': 'c16bd4c0-e1eb-434d-aab7-f741612a25c9', 'ip_version': 4, 'cidr': '109.114.241.0/26', 'allocation_pools': [{'start': '109.114.241.2', 'end': '109.114.241.62'}], 'gateway_ip': '109.114.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.114.241.2', 'tags': [], 'project_id': '1416f71d84324b629f04e7bc8152f23e'}} 2025-11-17 18:14:32,637 - INFO - Created VN ctest-vn1-25236177 2025-11-17 18:14:32,691 - DEBUG - VN ctest-vn1-25236177 UUID is c16bd4c0-e1eb-434d-aab7-f741612a25c9 2025-11-17 18:14:33,093 - DEBUG - Response for create_network : {'network': {'id': '002d71bb-ea73-45ad-86bd-9c6aa7dd9d1a', 'name': 'ctest-vn2-78135162', 'tenant_id': '1416f71d84324b629f04e7bc8152f23e', 'project_id': '1416f71d84324b629f04e7bc8152f23e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08705687', 'ctest-vn2-78135162'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:14:33,329 - DEBUG - Response for create_subnet : {'subnet': {'id': '339f46ea-6955-445c-8b98-21e506970826', 'name': '', 'tenant_id': '1416f71d84324b629f04e7bc8152f23e', 'network_id': '002d71bb-ea73-45ad-86bd-9c6aa7dd9d1a', 'ip_version': 4, 'cidr': '63.197.125.64/26', 'allocation_pools': [{'start': '63.197.125.66', 'end': '63.197.125.126'}], 'gateway_ip': '63.197.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.197.125.66', 'tags': [], 'project_id': '1416f71d84324b629f04e7bc8152f23e'}} 2025-11-17 18:14:33,350 - INFO - Created VN ctest-vn2-78135162 2025-11-17 18:14:33,403 - DEBUG - VN ctest-vn2-78135162 UUID is 002d71bb-ea73-45ad-86bd-9c6aa7dd9d1a 2025-11-17 18:14:33,592 - DEBUG - Services list from nova: [, , ] 2025-11-17 18:14:34,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:14:36,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:14:36,291 - INFO - Adding interface with subnet_id 69509d1d-6bba-48ee-8864-e4ba03f278b9, port_id None to router 0dd072b9-d539-47bd-8f0e-32e9557c8e8e 2025-11-17 18:14:36,622 - INFO - Waiting for VM ctest-vn1-vm1-97757801 to be up.. 2025-11-17 18:14:36,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 18:14:41,836 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:14:41,837 - INFO - VM name : ctest-vn1-vm1-97757801 2025-11-17 18:14:41,933 - DEBUG - VM ctest-vn1-vm1-97757801 ID is dee5c410-f54b-40eb-a35d-097ad4a934f4 2025-11-17 18:14:41,960 - DEBUG - VM ctest-vn1-vm1-97757801 launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:14:42,058 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dee5c410-f54b-40eb-a35d-097ad4a934f4 2025-11-17 18:14:42,364 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dee5c410-f54b-40eb-a35d-097ad4a934f4 2025-11-17 18:14:42,407 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c6c24feb-0d36-4e51-bb06-152e24d603bc 2025-11-17 18:14:45,688 - 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 1022ms') 2025-11-17 18:14:45,688 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97757801 failed! 2025-11-17 18:14:45,743 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-08705687:ctest-vn1-25236177 is 109.114.241.1 and allocation pool is NOT set 2025-11-17 18:14:47,810 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.930 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.930/2.266/3.603/1.336 ms') 2025-11-17 18:14:47,810 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97757801 passed 2025-11-17 18:14:47,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:47,971 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97757801, IP 109.114.241.3, Port 22 2025-11-17 18:14:48,144 - DEBUG - VM ctest-vn1-vm1-97757801 is ready for SSH connections 2025-11-17 18:14:48,144 - INFO - Waiting for VM ctest-vn2-vm1-30393779 to be up.. 2025-11-17 18:14:48,265 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:14:48,265 - INFO - VM name : ctest-vn2-vm1-30393779 2025-11-17 18:14:48,362 - DEBUG - VM ctest-vn2-vm1-30393779 ID is cf7509af-de79-43f6-81a2-150de61e986e 2025-11-17 18:14:48,362 - DEBUG - VM ctest-vn2-vm1-30393779 launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:14:48,481 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cf7509af-de79-43f6-81a2-150de61e986e 2025-11-17 18:14:48,494 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b8bdf439-ed19-4d20-b6ff-8aba2ea6ee0c 2025-11-17 18:14:49,765 - 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=5.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.64 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 = 1.641/3.561/5.482/1.920 ms') 2025-11-17 18:14:49,765 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-30393779 passed 2025-11-17 18:14:49,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:49,919 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-30393779, IP 63.197.125.67, Port 22 2025-11-17 18:14:49,985 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-17 18:14:50,085 - DEBUG - VM ctest-vn2-vm1-30393779 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 18:14:55,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:55,087 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-30393779, IP 63.197.125.67, Port 22 2025-11-17 18:14:55,262 - DEBUG - VM ctest-vn2-vm1-30393779 is ready for SSH connections 2025-11-17 18:14:55,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:55,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.197.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:14:55,262 - DEBUG - ping -s 56 -c 3 -W 1 63.197.125.67 2025-11-17 18:15:00,399 - DEBUG - PING 63.197.125.67 (63.197.125.67): 56 data bytes --- 63.197.125.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 18:15:00,399 - WARNING - Ping to IP 63.197.125.67 from VM ctest-vn1-vm1-97757801 failed 2025-11-17 18:15:00,400 - INFO - Adding interface with subnet_id 339f46ea-6955-445c-8b98-21e506970826, port_id None to router 0dd072b9-d539-47bd-8f0e-32e9557c8e8e 2025-11-17 18:15:00,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:15:00,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.197.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:15:00,710 - DEBUG - ping -s 56 -c 3 -W 1 63.197.125.67 2025-11-17 18:15:03,945 - DEBUG - PING 63.197.125.67 (63.197.125.67): 56 data bytes 64 bytes from 63.197.125.67: seq=1 ttl=63 time=5.356 ms 64 bytes from 63.197.125.67: seq=2 ttl=63 time=1.384 ms --- 63.197.125.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.384/3.370/5.356 ms 2025-11-17 18:15:03,946 - WARNING - Ping to IP 63.197.125.67 from VM ctest-vn1-vm1-97757801 failed 2025-11-17 18:15:04,946 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.197.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:15:04,947 - DEBUG - ping -s 56 -c 3 -W 1 63.197.125.67 2025-11-17 18:15:07,175 - DEBUG - PING 63.197.125.67 (63.197.125.67): 56 data bytes 64 bytes from 63.197.125.67: seq=0 ttl=63 time=2.126 ms 64 bytes from 63.197.125.67: seq=1 ttl=63 time=1.252 ms 64 bytes from 63.197.125.67: seq=2 ttl=63 time=1.250 ms --- 63.197.125.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.250/1.542/2.126 ms 2025-11-17 18:15:07,176 - INFO - Ping to IP 63.197.125.67 from VM ctest-vn1-vm1-97757801 passed 2025-11-17 18:15:07,176 - INFO - Deleting interface with subnet_id 69509d1d-6bba-48ee-8864-e4ba03f278b9, port_id None from router 0dd072b9-d539-47bd-8f0e-32e9557c8e8e 2025-11-17 18:15:07,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:15:07,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.197.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:15:07,346 - DEBUG - ping -s 56 -c 3 -W 1 63.197.125.67 2025-11-17 18:15:10,574 - DEBUG - PING 63.197.125.67 (63.197.125.67): 56 data bytes --- 63.197.125.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 18:15:10,575 - WARNING - Ping to IP 63.197.125.67 from VM ctest-vn1-vm1-97757801 failed 2025-11-17 18:15:10,575 - INFO - Adding interface with subnet_id 69509d1d-6bba-48ee-8864-e4ba03f278b9, port_id None to router 0dd072b9-d539-47bd-8f0e-32e9557c8e8e 2025-11-17 18:15:10,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:15:10,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.197.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:15:10,812 - DEBUG - ping -s 56 -c 3 -W 1 63.197.125.67 2025-11-17 18:15:13,045 - DEBUG - PING 63.197.125.67 (63.197.125.67): 56 data bytes 64 bytes from 63.197.125.67: seq=0 ttl=63 time=1.700 ms 64 bytes from 63.197.125.67: seq=1 ttl=63 time=1.719 ms 64 bytes from 63.197.125.67: seq=2 ttl=63 time=1.159 ms --- 63.197.125.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.159/1.526/1.719 ms 2025-11-17 18:15:13,045 - INFO - Ping to IP 63.197.125.67 from VM ctest-vn1-vm1-97757801 passed 2025-11-17 18:15:13,045 - INFO - Deleting interface with subnet_id 339f46ea-6955-445c-8b98-21e506970826, port_id None from router 0dd072b9-d539-47bd-8f0e-32e9557c8e8e 2025-11-17 18:15:13,213 - INFO - Deleting interface with subnet_id 69509d1d-6bba-48ee-8864-e4ba03f278b9, port_id None from router 0dd072b9-d539-47bd-8f0e-32e9557c8e8e 2025-11-17 18:15:13,440 - INFO - Deleting VM ctest-vn2-vm1-30393779 2025-11-17 18:15:13,548 - INFO - Deleting VM ctest-vn1-vm1-97757801 2025-11-17 18:15:13,651 - INFO - Deleting VN ctest-vn2-78135162 2025-11-17 18:15:13,700 - DEBUG - VN 002d71bb-ea73-45ad-86bd-9c6aa7dd9d1a still in use: Unable to complete operation on network 002d71bb-ea73-45ad-86bd-9c6aa7dd9d1a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-51fbdee1-3254-496c-ad4a-30bcf8084075'] 2025-11-17 18:15:13,700 - WARNING - Deleting VN ctest-vn2-78135162 failed..Will retry 2025-11-17 18:15:15,840 - DEBUG - Response for deleting network () 2025-11-17 18:15:15,841 - INFO - Deleting VN ctest-vn1-25236177 2025-11-17 18:15:15,962 - DEBUG - Response for deleting network () 2025-11-17 18:15:16,233 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 18:15:16,233 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-11-17 18:15:16,233 - INFO - -------------------------------------------------------------------------------- 2025-11-17 18:15:16,979 - INFO - Deleted project: ctest-TestRouters-08705687, ID : 1416f71d-8432-4b62-9f04-e7bc8152f23e