2025-11-04 21:51:06,839 - INFO - Domain Default found not creating 2025-11-04 21:51:06,989 - INFO - Project ctest-TestRouters-41996276 not found, creating it 2025-11-04 21:51:07,467 - INFO - Created Project:ctest-TestRouters-41996276, ID : 05b5bc48-adba-4677-96e5-1439ef585100 2025-11-04 21:51:09,020 - INFO - ================================================================================ 2025-11-04 21:51:09,021 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-04 21:51:09,021 - 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-04 21:51:09,277 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-11-04 21:51:09,277 - INFO - Initial checks done. Running the testcase now 2025-11-04 21:51:09,277 - INFO - 2025-11-04 21:51:09,824 - DEBUG - Response for create_network : {'network': {'id': '5c76aba9-bf01-451e-ad79-1f61d5d5c29e', 'name': 'ctest-vn1-56729908', 'tenant_id': '05b5bc48adba467796e51439ef585100', 'project_id': '05b5bc48adba467796e51439ef585100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41996276', 'ctest-vn1-56729908'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:10,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fc3fc3d-0b73-46f8-b36f-5a9bd4717e82', 'name': '', 'tenant_id': '05b5bc48adba467796e51439ef585100', 'network_id': '5c76aba9-bf01-451e-ad79-1f61d5d5c29e', 'ip_version': 4, 'cidr': '41.77.167.64/26', 'allocation_pools': [{'start': '41.77.167.66', 'end': '41.77.167.126'}], 'gateway_ip': '41.77.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.77.167.66', 'tags': [], 'project_id': '05b5bc48adba467796e51439ef585100'}} 2025-11-04 21:51:10,041 - INFO - Created VN ctest-vn1-56729908 2025-11-04 21:51:10,091 - DEBUG - VN ctest-vn1-56729908 UUID is 5c76aba9-bf01-451e-ad79-1f61d5d5c29e 2025-11-04 21:51:10,437 - DEBUG - Response for create_network : {'network': {'id': '2202a8d9-9d4a-4e79-ac8e-d42fade77268', 'name': 'ctest-vn2-15842442', 'tenant_id': '05b5bc48adba467796e51439ef585100', 'project_id': '05b5bc48adba467796e51439ef585100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41996276', 'ctest-vn2-15842442'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:10,636 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbe11e33-a7be-4114-9fa1-e1fcbeef1ea0', 'name': '', 'tenant_id': '05b5bc48adba467796e51439ef585100', 'network_id': '2202a8d9-9d4a-4e79-ac8e-d42fade77268', 'ip_version': 4, 'cidr': '87.52.250.128/26', 'allocation_pools': [{'start': '87.52.250.130', 'end': '87.52.250.190'}], 'gateway_ip': '87.52.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.52.250.130', 'tags': [], 'project_id': '05b5bc48adba467796e51439ef585100'}} 2025-11-04 21:51:10,656 - INFO - Created VN ctest-vn2-15842442 2025-11-04 21:51:10,711 - DEBUG - VN ctest-vn2-15842442 UUID is 2202a8d9-9d4a-4e79-ac8e-d42fade77268 2025-11-04 21:51:10,911 - DEBUG - Services list from nova: [, , ] 2025-11-04 21:51:11,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4622-1) 2025-11-04 21:51:13,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4622-1) 2025-11-04 21:51:13,210 - INFO - Adding interface with subnet_id 4fc3fc3d-0b73-46f8-b36f-5a9bd4717e82, port_id None to router 48bb494e-400b-4871-87b7-cb4e84a580ae 2025-11-04 21:51:13,493 - INFO - Waiting for VM ctest-vn1-vm1-10573504 to be up.. 2025-11-04 21:51:13,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 21:51:18,662 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:51:18,662 - INFO - VM name : ctest-vn1-vm1-10573504 2025-11-04 21:51:18,733 - DEBUG - VM ctest-vn1-vm1-10573504 ID is c0eca1e3-9e59-43c2-93dd-a7082c792c8b 2025-11-04 21:51:18,753 - DEBUG - VM ctest-vn1-vm1-10573504 launched on Node cn-jenkins-deploy-platform-ansible-os-4622-1 2025-11-04 21:51:18,821 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c0eca1e3-9e59-43c2-93dd-a7082c792c8b 2025-11-04 21:51:19,134 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c0eca1e3-9e59-43c2-93dd-a7082c792c8b 2025-11-04 21:51:19,166 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/77386106-4a51-4004-aeb0-93414001dd2c 2025-11-04 21:51:20,413 - 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=9.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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 = 1.901/5.664/9.427/3.763 ms') 2025-11-04 21:51:20,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10573504 passed 2025-11-04 21:51:20,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:20,564 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10573504, IP 41.77.167.67, Port 22 2025-11-04 21:51:20,629 - 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-04 21:51:20,696 - DEBUG - VM ctest-vn1-vm1-10573504 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-04 21:51:25,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:25,697 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10573504, IP 41.77.167.67, Port 22 2025-11-04 21:51:25,878 - DEBUG - VM ctest-vn1-vm1-10573504 is ready for SSH connections 2025-11-04 21:51:25,878 - INFO - Waiting for VM ctest-vn2-vm1-08868474 to be up.. 2025-11-04 21:51:25,958 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:51:25,958 - INFO - VM name : ctest-vn2-vm1-08868474 2025-11-04 21:51:26,019 - DEBUG - VM ctest-vn2-vm1-08868474 ID is 01610c28-cc79-4d06-9d57-b67d251696c3 2025-11-04 21:51:26,019 - DEBUG - VM ctest-vn2-vm1-08868474 launched on Node cn-jenkins-deploy-platform-ansible-os-4622-1 2025-11-04 21:51:26,121 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/01610c28-cc79-4d06-9d57-b67d251696c3 2025-11-04 21:51:26,131 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/65c98de5-83cc-44d9-a97a-2cf3106999ee 2025-11-04 21:51:27,380 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/2.122/3.848/1.726 ms') 2025-11-04 21:51:27,380 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08868474 passed 2025-11-04 21:51:27,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:27,532 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08868474, IP 87.52.250.131, Port 22 2025-11-04 21:51:27,692 - DEBUG - VM ctest-vn2-vm1-08868474 is ready for SSH connections 2025-11-04 21:51:27,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:27,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.52.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-04 21:51:27,692 - DEBUG - ping -s 56 -c 3 -W 1 87.52.250.131 2025-11-04 21:51:32,260 - DEBUG - PING 87.52.250.131 (87.52.250.131): 56 data bytes --- 87.52.250.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 21:51:32,260 - WARNING - Ping to IP 87.52.250.131 from VM ctest-vn1-vm1-10573504 failed 2025-11-04 21:51:32,260 - INFO - Adding interface with subnet_id cbe11e33-a7be-4114-9fa1-e1fcbeef1ea0, port_id None to router 48bb494e-400b-4871-87b7-cb4e84a580ae 2025-11-04 21:51:32,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:32,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.52.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-04 21:51:32,506 - DEBUG - ping -s 56 -c 3 -W 1 87.52.250.131 2025-11-04 21:51:34,633 - DEBUG - PING 87.52.250.131 (87.52.250.131): 56 data bytes 64 bytes from 87.52.250.131: seq=0 ttl=63 time=2.310 ms 64 bytes from 87.52.250.131: seq=1 ttl=63 time=0.851 ms 64 bytes from 87.52.250.131: seq=2 ttl=63 time=1.073 ms --- 87.52.250.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.411/2.310 ms 2025-11-04 21:51:34,634 - INFO - Ping to IP 87.52.250.131 from VM ctest-vn1-vm1-10573504 passed 2025-11-04 21:51:34,634 - INFO - Deleting interface with subnet_id 4fc3fc3d-0b73-46f8-b36f-5a9bd4717e82, port_id None from router 48bb494e-400b-4871-87b7-cb4e84a580ae 2025-11-04 21:51:34,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:34,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.52.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-04 21:51:34,761 - DEBUG - ping -s 56 -c 3 -W 1 87.52.250.131 2025-11-04 21:51:37,868 - DEBUG - PING 87.52.250.131 (87.52.250.131): 56 data bytes --- 87.52.250.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 21:51:37,868 - WARNING - Ping to IP 87.52.250.131 from VM ctest-vn1-vm1-10573504 failed 2025-11-04 21:51:37,868 - INFO - Adding interface with subnet_id 4fc3fc3d-0b73-46f8-b36f-5a9bd4717e82, port_id None to router 48bb494e-400b-4871-87b7-cb4e84a580ae 2025-11-04 21:51:38,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:38,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.52.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-04 21:51:38,135 - DEBUG - ping -s 56 -c 3 -W 1 87.52.250.131 2025-11-04 21:51:41,252 - DEBUG - PING 87.52.250.131 (87.52.250.131): 56 data bytes 64 bytes from 87.52.250.131: seq=1 ttl=63 time=1.702 ms 64 bytes from 87.52.250.131: seq=2 ttl=63 time=1.041 ms --- 87.52.250.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.041/1.371/1.702 ms 2025-11-04 21:51:41,252 - WARNING - Ping to IP 87.52.250.131 from VM ctest-vn1-vm1-10573504 failed 2025-11-04 21:51:42,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.52.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-04 21:51:42,253 - DEBUG - ping -s 56 -c 3 -W 1 87.52.250.131 2025-11-04 21:51:44,363 - DEBUG - PING 87.52.250.131 (87.52.250.131): 56 data bytes 64 bytes from 87.52.250.131: seq=0 ttl=63 time=1.638 ms 64 bytes from 87.52.250.131: seq=1 ttl=63 time=0.976 ms 64 bytes from 87.52.250.131: seq=2 ttl=63 time=0.968 ms --- 87.52.250.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.968/1.194/1.638 ms 2025-11-04 21:51:44,363 - INFO - Ping to IP 87.52.250.131 from VM ctest-vn1-vm1-10573504 passed 2025-11-04 21:51:44,364 - INFO - Deleting interface with subnet_id cbe11e33-a7be-4114-9fa1-e1fcbeef1ea0, port_id None from router 48bb494e-400b-4871-87b7-cb4e84a580ae 2025-11-04 21:51:44,484 - INFO - Deleting interface with subnet_id 4fc3fc3d-0b73-46f8-b36f-5a9bd4717e82, port_id None from router 48bb494e-400b-4871-87b7-cb4e84a580ae 2025-11-04 21:51:44,673 - INFO - Deleting VM ctest-vn2-vm1-08868474 2025-11-04 21:51:44,830 - INFO - Deleting VM ctest-vn1-vm1-10573504 2025-11-04 21:51:44,895 - INFO - Deleting VN ctest-vn2-15842442 2025-11-04 21:51:44,929 - DEBUG - VN 2202a8d9-9d4a-4e79-ac8e-d42fade77268 still in use: Unable to complete operation on network 2202a8d9-9d4a-4e79-ac8e-d42fade77268. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c52acedf-1abc-4c25-9255-804121463ea9'] 2025-11-04 21:51:44,929 - WARNING - Deleting VN ctest-vn2-15842442 failed..Will retry 2025-11-04 21:51:47,022 - DEBUG - Response for deleting network () 2025-11-04 21:51:47,023 - INFO - Deleting VN ctest-vn1-56729908 2025-11-04 21:51:47,134 - DEBUG - Response for deleting network () 2025-11-04 21:51:47,392 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 21:51:47,392 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-04 21:51:47,393 - INFO - -------------------------------------------------------------------------------- 2025-11-04 21:51:48,110 - INFO - Deleted project: ctest-TestRouters-41996276, ID : 05b5bc48-adba-4677-96e5-1439ef585100