2025-08-28 17:21:35,577 - INFO - Domain Default found not creating 2025-08-28 17:21:35,773 - INFO - Project ctest-TestRouters-58814006 not found, creating it 2025-08-28 17:21:36,296 - INFO - Created Project:ctest-TestRouters-58814006, ID : 8c97c82a-f01d-4cda-bca4-31e9abf54cdd 2025-08-28 17:21:38,026 - INFO - ================================================================================ 2025-08-28 17:21:38,026 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-28 17:21:38,026 - 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-28 17:21:38,295 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-28 17:21:38,296 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:21:38,296 - INFO - 2025-08-28 17:21:39,012 - DEBUG - Response for create_network : {'network': {'id': '1275d54a-26e1-4148-a328-0b12171a05b9', 'name': 'ctest-vn1-55037838', 'tenant_id': '8c97c82af01d4cdabca431e9abf54cdd', 'project_id': '8c97c82af01d4cdabca431e9abf54cdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58814006', 'ctest-vn1-55037838'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:21:39,285 - DEBUG - Response for create_subnet : {'subnet': {'id': '42012cee-2ccd-4891-8483-d094fccaccf9', 'name': '', 'tenant_id': '8c97c82af01d4cdabca431e9abf54cdd', 'network_id': '1275d54a-26e1-4148-a328-0b12171a05b9', 'ip_version': 4, 'cidr': '21.118.92.64/26', 'allocation_pools': [{'start': '21.118.92.66', 'end': '21.118.92.126'}], 'gateway_ip': '21.118.92.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.118.92.66', 'tags': [], 'project_id': '8c97c82af01d4cdabca431e9abf54cdd'}} 2025-08-28 17:21:39,309 - INFO - Created VN ctest-vn1-55037838 2025-08-28 17:21:39,367 - DEBUG - VN ctest-vn1-55037838 UUID is 1275d54a-26e1-4148-a328-0b12171a05b9 2025-08-28 17:21:39,687 - DEBUG - Response for create_network : {'network': {'id': '8f99c2b8-8908-48ba-ac23-f7e92d106f03', 'name': 'ctest-vn2-23897518', 'tenant_id': '8c97c82af01d4cdabca431e9abf54cdd', 'project_id': '8c97c82af01d4cdabca431e9abf54cdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58814006', 'ctest-vn2-23897518'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:21:39,918 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc1ec51e-995a-49a4-8491-a58e7aac4f6f', 'name': '', 'tenant_id': '8c97c82af01d4cdabca431e9abf54cdd', 'network_id': '8f99c2b8-8908-48ba-ac23-f7e92d106f03', 'ip_version': 4, 'cidr': '111.101.180.192/26', 'allocation_pools': [{'start': '111.101.180.194', 'end': '111.101.180.254'}], 'gateway_ip': '111.101.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.101.180.194', 'tags': [], 'project_id': '8c97c82af01d4cdabca431e9abf54cdd'}} 2025-08-28 17:21:39,941 - INFO - Created VN ctest-vn2-23897518 2025-08-28 17:21:39,995 - DEBUG - VN ctest-vn2-23897518 UUID is 8f99c2b8-8908-48ba-ac23-f7e92d106f03 2025-08-28 17:21:40,202 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:21:41,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3963-1) 2025-08-28 17:21:42,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3963-1) 2025-08-28 17:21:42,984 - INFO - Adding interface with subnet_id 42012cee-2ccd-4891-8483-d094fccaccf9, port_id None to router a65e6b18-3b25-4fc5-9f60-7e16ac8bde32 2025-08-28 17:21:43,344 - INFO - Waiting for VM ctest-vn1-vm1-17919323 to be up.. 2025-08-28 17:21:43,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:21:48,547 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:21:48,547 - INFO - VM name : ctest-vn1-vm1-17919323 2025-08-28 17:21:48,653 - DEBUG - VM ctest-vn1-vm1-17919323 ID is a09c4c7c-82ef-4f89-8558-52a4d8a314a5 2025-08-28 17:21:48,677 - DEBUG - VM ctest-vn1-vm1-17919323 launched on Node cn-jenkins-deploy-platform-ansible-os-3963-1 2025-08-28 17:21:48,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a09c4c7c-82ef-4f89-8558-52a4d8a314a5 2025-08-28 17:21:49,125 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a09c4c7c-82ef-4f89-8558-52a4d8a314a5 2025-08-28 17:21:49,168 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4569ef06-794a-4d23-bad2-67796ad37cd2 2025-08-28 17:21:52,438 - 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 1014ms') 2025-08-28 17:21:52,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17919323 failed! 2025-08-28 17:21:52,495 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-58814006:ctest-vn1-55037838 is 21.118.92.65 and allocation pool is NOT set 2025-08-28 17:21:54,565 - 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=13.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.819 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 = 0.819/7.180/13.542/6.361 ms') 2025-08-28 17:21:54,565 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17919323 passed 2025-08-28 17:21:54,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:21:54,819 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17919323, IP 21.118.92.67, Port 22 2025-08-28 17:21:54,885 - 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-08-28 17:21:55,105 - DEBUG - VM ctest-vn1-vm1-17919323 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 17:22:00,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:22:00,106 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17919323, IP 21.118.92.67, Port 22 2025-08-28 17:22:00,266 - DEBUG - VM ctest-vn1-vm1-17919323 is ready for SSH connections 2025-08-28 17:22:00,267 - INFO - Waiting for VM ctest-vn2-vm1-82758288 to be up.. 2025-08-28 17:22:00,358 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:22:00,358 - INFO - VM name : ctest-vn2-vm1-82758288 2025-08-28 17:22:00,469 - DEBUG - VM ctest-vn2-vm1-82758288 ID is 7bd2e0c4-98cb-40b5-8672-27bdd93d61ab 2025-08-28 17:22:00,470 - DEBUG - VM ctest-vn2-vm1-82758288 launched on Node cn-jenkins-deploy-platform-ansible-os-3963-1 2025-08-28 17:22:00,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7bd2e0c4-98cb-40b5-8672-27bdd93d61ab 2025-08-28 17:22:00,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ec7233f4-c11b-4d63-9308-6c7742236e56 2025-08-28 17:22:01,839 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/1.795/3.181/1.386 ms') 2025-08-28 17:22:01,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-82758288 passed 2025-08-28 17:22:01,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:22:01,991 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-82758288, IP 111.101.180.195, Port 22 2025-08-28 17:22:02,161 - DEBUG - VM ctest-vn2-vm1-82758288 is ready for SSH connections 2025-08-28 17:22:02,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:22:02,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.101.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 17:22:02,161 - DEBUG - ping -s 56 -c 3 -W 1 111.101.180.195 2025-08-28 17:22:07,326 - DEBUG - PING 111.101.180.195 (111.101.180.195): 56 data bytes --- 111.101.180.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 17:22:07,326 - WARNING - Ping to IP 111.101.180.195 from VM ctest-vn1-vm1-17919323 failed 2025-08-28 17:22:07,327 - INFO - Adding interface with subnet_id fc1ec51e-995a-49a4-8491-a58e7aac4f6f, port_id None to router a65e6b18-3b25-4fc5-9f60-7e16ac8bde32 2025-08-28 17:22:07,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:22:07,637 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.101.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 17:22:07,637 - DEBUG - ping -s 56 -c 3 -W 1 111.101.180.195 2025-08-28 17:22:10,870 - DEBUG - PING 111.101.180.195 (111.101.180.195): 56 data bytes 64 bytes from 111.101.180.195: seq=1 ttl=63 time=3.670 ms 64 bytes from 111.101.180.195: seq=2 ttl=63 time=1.062 ms --- 111.101.180.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.062/2.366/3.670 ms 2025-08-28 17:22:10,870 - WARNING - Ping to IP 111.101.180.195 from VM ctest-vn1-vm1-17919323 failed 2025-08-28 17:22:11,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.101.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 17:22:11,872 - DEBUG - ping -s 56 -c 3 -W 1 111.101.180.195 2025-08-28 17:22:14,171 - DEBUG - PING 111.101.180.195 (111.101.180.195): 56 data bytes 64 bytes from 111.101.180.195: seq=0 ttl=63 time=2.320 ms 64 bytes from 111.101.180.195: seq=1 ttl=63 time=1.056 ms 64 bytes from 111.101.180.195: seq=2 ttl=63 time=1.173 ms --- 111.101.180.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.056/1.516/2.320 ms 2025-08-28 17:22:14,171 - INFO - Ping to IP 111.101.180.195 from VM ctest-vn1-vm1-17919323 passed 2025-08-28 17:22:14,171 - INFO - Deleting interface with subnet_id 42012cee-2ccd-4891-8483-d094fccaccf9, port_id None from router a65e6b18-3b25-4fc5-9f60-7e16ac8bde32 2025-08-28 17:22:14,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:22:14,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.101.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 17:22:14,331 - DEBUG - ping -s 56 -c 3 -W 1 111.101.180.195 2025-08-28 17:22:17,580 - DEBUG - PING 111.101.180.195 (111.101.180.195): 56 data bytes --- 111.101.180.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 17:22:17,580 - WARNING - Ping to IP 111.101.180.195 from VM ctest-vn1-vm1-17919323 failed 2025-08-28 17:22:17,580 - INFO - Adding interface with subnet_id 42012cee-2ccd-4891-8483-d094fccaccf9, port_id None to router a65e6b18-3b25-4fc5-9f60-7e16ac8bde32 2025-08-28 17:22:17,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:22:17,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.101.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 17:22:17,831 - DEBUG - ping -s 56 -c 3 -W 1 111.101.180.195 2025-08-28 17:22:20,069 - DEBUG - PING 111.101.180.195 (111.101.180.195): 56 data bytes 64 bytes from 111.101.180.195: seq=0 ttl=63 time=1.941 ms 64 bytes from 111.101.180.195: seq=1 ttl=63 time=0.992 ms 64 bytes from 111.101.180.195: seq=2 ttl=63 time=1.280 ms --- 111.101.180.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.992/1.404/1.941 ms 2025-08-28 17:22:20,069 - INFO - Ping to IP 111.101.180.195 from VM ctest-vn1-vm1-17919323 passed 2025-08-28 17:22:20,069 - INFO - Deleting interface with subnet_id fc1ec51e-995a-49a4-8491-a58e7aac4f6f, port_id None from router a65e6b18-3b25-4fc5-9f60-7e16ac8bde32 2025-08-28 17:22:20,201 - INFO - Deleting interface with subnet_id 42012cee-2ccd-4891-8483-d094fccaccf9, port_id None from router a65e6b18-3b25-4fc5-9f60-7e16ac8bde32 2025-08-28 17:22:20,395 - INFO - Deleting VM ctest-vn2-vm1-82758288 2025-08-28 17:22:20,472 - INFO - Deleting VM ctest-vn1-vm1-17919323 2025-08-28 17:22:20,557 - INFO - Deleting VN ctest-vn2-23897518 2025-08-28 17:22:20,598 - DEBUG - VN 8f99c2b8-8908-48ba-ac23-f7e92d106f03 still in use: Unable to complete operation on network 8f99c2b8-8908-48ba-ac23-f7e92d106f03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c9f6e91b-711f-431b-b0dd-94212fa8c2c0'] 2025-08-28 17:22:20,598 - WARNING - Deleting VN ctest-vn2-23897518 failed..Will retry 2025-08-28 17:22:22,725 - DEBUG - Response for deleting network () 2025-08-28 17:22:22,725 - INFO - Deleting VN ctest-vn1-55037838 2025-08-28 17:22:22,857 - DEBUG - Response for deleting network () 2025-08-28 17:22:23,117 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:22:23,117 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-08-28 17:22:23,118 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:22:23,858 - INFO - Deleted project: ctest-TestRouters-58814006, ID : 8c97c82a-f01d-4cda-bca4-31e9abf54cdd