2025-11-27 02:11:02,850 - INFO - Domain Default found not creating 2025-11-27 02:11:03,060 - INFO - Project ctest-TestRouters-58986134 not found, creating it 2025-11-27 02:11:03,597 - INFO - Created Project:ctest-TestRouters-58986134, ID : e6aa76b1-79b9-4d91-b8ec-a192356267b7 2025-11-27 02:11:05,307 - INFO - ================================================================================ 2025-11-27 02:11:05,307 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-27 02:11:05,307 - 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-27 02:11:05,579 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.201': '0'}} with 2025-11-27 02:11:05,580 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:11:05,580 - INFO - 2025-11-27 02:11:06,251 - DEBUG - Response for create_network : {'network': {'id': '1f2e21c8-bfb7-421f-ae1d-692b744ec784', 'name': 'ctest-vn1-74986576', 'tenant_id': 'e6aa76b179b94d91b8eca192356267b7', 'project_id': 'e6aa76b179b94d91b8eca192356267b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58986134', 'ctest-vn1-74986576'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:11:06,489 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd378acce-5a43-40e3-a671-7c557f3919a7', 'name': '', 'tenant_id': 'e6aa76b179b94d91b8eca192356267b7', 'network_id': '1f2e21c8-bfb7-421f-ae1d-692b744ec784', 'ip_version': 4, 'cidr': '153.246.238.128/26', 'allocation_pools': [{'start': '153.246.238.130', 'end': '153.246.238.190'}], 'gateway_ip': '153.246.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.246.238.130', 'tags': [], 'project_id': 'e6aa76b179b94d91b8eca192356267b7'}} 2025-11-27 02:11:06,510 - INFO - Created VN ctest-vn1-74986576 2025-11-27 02:11:06,571 - DEBUG - VN ctest-vn1-74986576 UUID is 1f2e21c8-bfb7-421f-ae1d-692b744ec784 2025-11-27 02:11:06,912 - DEBUG - Response for create_network : {'network': {'id': 'e79ff524-7e03-4dd0-bd99-2d1d3324b859', 'name': 'ctest-vn2-06159273', 'tenant_id': 'e6aa76b179b94d91b8eca192356267b7', 'project_id': 'e6aa76b179b94d91b8eca192356267b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58986134', 'ctest-vn2-06159273'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:11:07,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '0abea0b0-cf09-476a-b170-9161d6e186c3', 'name': '', 'tenant_id': 'e6aa76b179b94d91b8eca192356267b7', 'network_id': 'e79ff524-7e03-4dd0-bd99-2d1d3324b859', 'ip_version': 4, 'cidr': '168.92.3.128/26', 'allocation_pools': [{'start': '168.92.3.130', 'end': '168.92.3.190'}], 'gateway_ip': '168.92.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.92.3.130', 'tags': [], 'project_id': 'e6aa76b179b94d91b8eca192356267b7'}} 2025-11-27 02:11:07,103 - INFO - Created VN ctest-vn2-06159273 2025-11-27 02:11:07,155 - DEBUG - VN ctest-vn2-06159273 UUID is e79ff524-7e03-4dd0-bd99-2d1d3324b859 2025-11-27 02:11:07,350 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:11:08,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4821-1) 2025-11-27 02:11:09,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4821-1) 2025-11-27 02:11:10,066 - INFO - Adding interface with subnet_id d378acce-5a43-40e3-a671-7c557f3919a7, port_id None to router d4e3ddcc-81bd-494b-9299-83c74ffb3ac1 2025-11-27 02:11:10,380 - INFO - Waiting for VM ctest-vn1-vm1-59971001 to be up.. 2025-11-27 02:11:10,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:11:15,590 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:11:15,590 - INFO - VM name : ctest-vn1-vm1-59971001 2025-11-27 02:11:15,686 - DEBUG - VM ctest-vn1-vm1-59971001 ID is e31e7c14-d58e-4115-ab5a-6069eb7887c8 2025-11-27 02:11:15,708 - DEBUG - VM ctest-vn1-vm1-59971001 launched on Node cn-jenkins-deploy-platform-ansible-os-4821-1 2025-11-27 02:11:15,791 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e31e7c14-d58e-4115-ab5a-6069eb7887c8 2025-11-27 02:11:16,175 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e31e7c14-d58e-4115-ab5a-6069eb7887c8 2025-11-27 02:11:16,211 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a3abc899-7e7e-4ada-903a-40e132140571 2025-11-27 02:11:19,465 - 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 1009ms') 2025-11-27 02:11:19,465 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59971001 failed! 2025-11-27 02:11:19,519 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-58986134:ctest-vn1-74986576 is 153.246.238.129 and allocation pool is NOT set 2025-11-27 02:11:21,591 - 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=4.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.34 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 = 2.339/3.551/4.764/1.212 ms') 2025-11-27 02:11:21,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59971001 passed 2025-11-27 02:11:21,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:11:21,743 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59971001, IP 153.246.238.131, Port 22 2025-11-27 02:11:21,800 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-27 02:11:21,902 - DEBUG - VM ctest-vn1-vm1-59971001 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 02:11:26,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:11:26,903 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59971001, IP 153.246.238.131, Port 22 2025-11-27 02:11:27,074 - DEBUG - VM ctest-vn1-vm1-59971001 is ready for SSH connections 2025-11-27 02:11:27,074 - INFO - Waiting for VM ctest-vn2-vm1-22306838 to be up.. 2025-11-27 02:11:27,166 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:11:27,166 - INFO - VM name : ctest-vn2-vm1-22306838 2025-11-27 02:11:27,249 - DEBUG - VM ctest-vn2-vm1-22306838 ID is 550487c8-a2c9-4ac4-b43d-cb53c456e488 2025-11-27 02:11:27,249 - DEBUG - VM ctest-vn2-vm1-22306838 launched on Node cn-jenkins-deploy-platform-ansible-os-4821-1 2025-11-27 02:11:27,330 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/550487c8-a2c9-4ac4-b43d-cb53c456e488 2025-11-27 02:11:27,339 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/07cda3f1-1a52-454b-9110-b4d758ffb32a 2025-11-27 02:11:28,591 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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 = 0.431/2.020/3.609/1.589 ms') 2025-11-27 02:11:28,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-22306838 passed 2025-11-27 02:11:28,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:11:28,747 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-22306838, IP 168.92.3.131, Port 22 2025-11-27 02:11:28,922 - DEBUG - VM ctest-vn2-vm1-22306838 is ready for SSH connections 2025-11-27 02:11:28,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:11:28,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.92.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-27 02:11:28,922 - DEBUG - ping -s 56 -c 3 -W 1 168.92.3.131 2025-11-27 02:11:34,090 - DEBUG - PING 168.92.3.131 (168.92.3.131): 56 data bytes --- 168.92.3.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 02:11:34,091 - WARNING - Ping to IP 168.92.3.131 from VM ctest-vn1-vm1-59971001 failed 2025-11-27 02:11:34,091 - INFO - Adding interface with subnet_id 0abea0b0-cf09-476a-b170-9161d6e186c3, port_id None to router d4e3ddcc-81bd-494b-9299-83c74ffb3ac1 2025-11-27 02:11:34,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:11:34,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.92.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-27 02:11:34,357 - DEBUG - ping -s 56 -c 3 -W 1 168.92.3.131 2025-11-27 02:11:37,595 - DEBUG - PING 168.92.3.131 (168.92.3.131): 56 data bytes 64 bytes from 168.92.3.131: seq=1 ttl=63 time=3.755 ms 64 bytes from 168.92.3.131: seq=2 ttl=63 time=1.050 ms --- 168.92.3.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.050/2.402/3.755 ms 2025-11-27 02:11:37,595 - WARNING - Ping to IP 168.92.3.131 from VM ctest-vn1-vm1-59971001 failed 2025-11-27 02:11:38,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.92.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-27 02:11:38,596 - DEBUG - ping -s 56 -c 3 -W 1 168.92.3.131 2025-11-27 02:11:40,883 - DEBUG - PING 168.92.3.131 (168.92.3.131): 56 data bytes 64 bytes from 168.92.3.131: seq=0 ttl=63 time=1.812 ms 64 bytes from 168.92.3.131: seq=1 ttl=63 time=1.415 ms 64 bytes from 168.92.3.131: seq=2 ttl=63 time=1.404 ms --- 168.92.3.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.404/1.543/1.812 ms 2025-11-27 02:11:40,883 - INFO - Ping to IP 168.92.3.131 from VM ctest-vn1-vm1-59971001 passed 2025-11-27 02:11:40,883 - INFO - Deleting interface with subnet_id d378acce-5a43-40e3-a671-7c557f3919a7, port_id None from router d4e3ddcc-81bd-494b-9299-83c74ffb3ac1 2025-11-27 02:11:41,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:11:41,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.92.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-27 02:11:41,014 - DEBUG - ping -s 56 -c 3 -W 1 168.92.3.131 2025-11-27 02:11:44,251 - DEBUG - PING 168.92.3.131 (168.92.3.131): 56 data bytes --- 168.92.3.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 02:11:44,251 - WARNING - Ping to IP 168.92.3.131 from VM ctest-vn1-vm1-59971001 failed 2025-11-27 02:11:44,251 - INFO - Adding interface with subnet_id d378acce-5a43-40e3-a671-7c557f3919a7, port_id None to router d4e3ddcc-81bd-494b-9299-83c74ffb3ac1 2025-11-27 02:11:44,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:11:44,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.92.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-27 02:11:44,505 - DEBUG - ping -s 56 -c 3 -W 1 168.92.3.131 2025-11-27 02:11:46,752 - DEBUG - PING 168.92.3.131 (168.92.3.131): 56 data bytes 64 bytes from 168.92.3.131: seq=0 ttl=63 time=1.516 ms 64 bytes from 168.92.3.131: seq=1 ttl=63 time=0.980 ms 64 bytes from 168.92.3.131: seq=2 ttl=63 time=1.036 ms --- 168.92.3.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/1.177/1.516 ms 2025-11-27 02:11:46,752 - INFO - Ping to IP 168.92.3.131 from VM ctest-vn1-vm1-59971001 passed 2025-11-27 02:11:46,752 - INFO - Deleting interface with subnet_id 0abea0b0-cf09-476a-b170-9161d6e186c3, port_id None from router d4e3ddcc-81bd-494b-9299-83c74ffb3ac1 2025-11-27 02:11:46,873 - INFO - Deleting interface with subnet_id d378acce-5a43-40e3-a671-7c557f3919a7, port_id None from router d4e3ddcc-81bd-494b-9299-83c74ffb3ac1 2025-11-27 02:11:47,068 - INFO - Deleting VM ctest-vn2-vm1-22306838 2025-11-27 02:11:47,153 - INFO - Deleting VM ctest-vn1-vm1-59971001 2025-11-27 02:11:47,238 - INFO - Deleting VN ctest-vn2-06159273 2025-11-27 02:11:47,280 - DEBUG - VN e79ff524-7e03-4dd0-bd99-2d1d3324b859 still in use: Unable to complete operation on network e79ff524-7e03-4dd0-bd99-2d1d3324b859. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-159e49de-45d5-473a-a414-c892eb848f68'] 2025-11-27 02:11:47,280 - WARNING - Deleting VN ctest-vn2-06159273 failed..Will retry 2025-11-27 02:11:49,394 - DEBUG - Response for deleting network () 2025-11-27 02:11:49,394 - INFO - Deleting VN ctest-vn1-74986576 2025-11-27 02:11:49,526 - DEBUG - Response for deleting network () 2025-11-27 02:11:49,786 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:11:49,787 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-11-27 02:11:49,787 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:11:50,577 - INFO - Deleted project: ctest-TestRouters-58986134, ID : e6aa76b1-79b9-4d91-b8ec-a192356267b7