2025-11-19 07:56:02,496 - INFO - Domain Default found not creating 2025-11-19 07:56:02,660 - INFO - Project ctest-TestRouters-65652269 not found, creating it 2025-11-19 07:56:03,133 - INFO - Created Project:ctest-TestRouters-65652269, ID : f38b9512-100b-40df-a128-482039192fcd 2025-11-19 07:56:04,670 - INFO - ================================================================================ 2025-11-19 07:56:04,670 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-19 07:56:04,670 - 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-19 07:56:04,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-19 07:56:04,924 - INFO - Initial checks done. Running the testcase now 2025-11-19 07:56:04,924 - INFO - 2025-11-19 07:56:05,465 - DEBUG - Response for create_network : {'network': {'id': '7a0695dd-9cec-4c9b-a097-ae42c2db2932', 'name': 'ctest-vn1-22970191', 'tenant_id': 'f38b9512100b40dfa128482039192fcd', 'project_id': 'f38b9512100b40dfa128482039192fcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65652269', 'ctest-vn1-22970191'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 07:56:05,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dae8975-4dac-43ac-9b77-4d6a7c96fb6b', 'name': '', 'tenant_id': 'f38b9512100b40dfa128482039192fcd', 'network_id': '7a0695dd-9cec-4c9b-a097-ae42c2db2932', 'ip_version': 4, 'cidr': '193.212.54.128/26', 'allocation_pools': [{'start': '193.212.54.130', 'end': '193.212.54.190'}], 'gateway_ip': '193.212.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.212.54.130', 'tags': [], 'project_id': 'f38b9512100b40dfa128482039192fcd'}} 2025-11-19 07:56:05,665 - INFO - Created VN ctest-vn1-22970191 2025-11-19 07:56:05,718 - DEBUG - VN ctest-vn1-22970191 UUID is 7a0695dd-9cec-4c9b-a097-ae42c2db2932 2025-11-19 07:56:06,035 - DEBUG - Response for create_network : {'network': {'id': '472585c0-4c44-4804-a8f9-b258bccef736', 'name': 'ctest-vn2-52260108', 'tenant_id': 'f38b9512100b40dfa128482039192fcd', 'project_id': 'f38b9512100b40dfa128482039192fcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65652269', 'ctest-vn2-52260108'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 07:56:06,243 - DEBUG - Response for create_subnet : {'subnet': {'id': '48fa2f85-dd82-45ed-8dbd-c9bb36a80d98', 'name': '', 'tenant_id': 'f38b9512100b40dfa128482039192fcd', 'network_id': '472585c0-4c44-4804-a8f9-b258bccef736', 'ip_version': 4, 'cidr': '41.172.29.128/26', 'allocation_pools': [{'start': '41.172.29.130', 'end': '41.172.29.190'}], 'gateway_ip': '41.172.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.172.29.130', 'tags': [], 'project_id': 'f38b9512100b40dfa128482039192fcd'}} 2025-11-19 07:56:06,259 - INFO - Created VN ctest-vn2-52260108 2025-11-19 07:56:06,309 - DEBUG - VN ctest-vn2-52260108 UUID is 472585c0-4c44-4804-a8f9-b258bccef736 2025-11-19 07:56:06,515 - DEBUG - Services list from nova: [, , ] 2025-11-19 07:56:07,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4759-1) 2025-11-19 07:56:08,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4759-1) 2025-11-19 07:56:08,923 - INFO - Adding interface with subnet_id 4dae8975-4dac-43ac-9b77-4d6a7c96fb6b, port_id None to router 46ee9b76-0baa-4f00-9808-98ac7b59f4b5 2025-11-19 07:56:09,238 - INFO - Waiting for VM ctest-vn1-vm1-52748666 to be up.. 2025-11-19 07:56:09,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 07:56:14,444 - DEBUG - VM is in ACTIVE state now 2025-11-19 07:56:14,444 - INFO - VM name : ctest-vn1-vm1-52748666 2025-11-19 07:56:14,536 - DEBUG - VM ctest-vn1-vm1-52748666 ID is f45cdf4e-93e7-4871-8e3e-3035ddc91ac0 2025-11-19 07:56:14,560 - DEBUG - VM ctest-vn1-vm1-52748666 launched on Node cn-jenkins-deploy-platform-ansible-os-4759-1 2025-11-19 07:56:14,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f45cdf4e-93e7-4871-8e3e-3035ddc91ac0 2025-11-19 07:56:14,934 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f45cdf4e-93e7-4871-8e3e-3035ddc91ac0 2025-11-19 07:56:14,976 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b2598de3-e7c3-4327-97c2-09eb3dd9787d 2025-11-19 07:56:18,240 - 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 1027ms') 2025-11-19 07:56:18,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52748666 failed! 2025-11-19 07:56:18,293 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-65652269:ctest-vn1-22970191 is 193.212.54.129 and allocation pool is NOT set 2025-11-19 07:56:20,357 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.762 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.762/1.991/3.221/1.229 ms') 2025-11-19 07:56:20,357 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52748666 passed 2025-11-19 07:56:20,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:56:20,506 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52748666, IP 193.212.54.131, Port 22 2025-11-19 07:56:20,672 - DEBUG - VM ctest-vn1-vm1-52748666 is ready for SSH connections 2025-11-19 07:56:20,672 - INFO - Waiting for VM ctest-vn2-vm1-56317850 to be up.. 2025-11-19 07:56:20,744 - DEBUG - VM is in ACTIVE state now 2025-11-19 07:56:20,744 - INFO - VM name : ctest-vn2-vm1-56317850 2025-11-19 07:56:20,824 - DEBUG - VM ctest-vn2-vm1-56317850 ID is 7d45b205-710d-4305-8884-9b9921a6675b 2025-11-19 07:56:20,824 - DEBUG - VM ctest-vn2-vm1-56317850 launched on Node cn-jenkins-deploy-platform-ansible-os-4759-1 2025-11-19 07:56:20,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7d45b205-710d-4305-8884-9b9921a6675b 2025-11-19 07:56:20,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fbc5b245-6b1d-4d75-a191-55ded1d9a669 2025-11-19 07:56:22,134 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.792/3.129/1.336 ms') 2025-11-19 07:56:22,134 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-56317850 passed 2025-11-19 07:56:22,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:56:22,286 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-56317850, IP 41.172.29.131, Port 22 2025-11-19 07:56:22,441 - DEBUG - VM ctest-vn2-vm1-56317850 is ready for SSH connections 2025-11-19 07:56:22,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:56:22,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.172.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 07:56:22,441 - DEBUG - ping -s 56 -c 3 -W 1 41.172.29.131 2025-11-19 07:56:27,105 - DEBUG - PING 41.172.29.131 (41.172.29.131): 56 data bytes --- 41.172.29.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 07:56:27,105 - WARNING - Ping to IP 41.172.29.131 from VM ctest-vn1-vm1-52748666 failed 2025-11-19 07:56:27,105 - INFO - Adding interface with subnet_id 48fa2f85-dd82-45ed-8dbd-c9bb36a80d98, port_id None to router 46ee9b76-0baa-4f00-9808-98ac7b59f4b5 2025-11-19 07:56:27,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:56:27,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.172.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 07:56:27,359 - DEBUG - ping -s 56 -c 3 -W 1 41.172.29.131 2025-11-19 07:56:30,563 - DEBUG - PING 41.172.29.131 (41.172.29.131): 56 data bytes 64 bytes from 41.172.29.131: seq=1 ttl=63 time=3.272 ms 64 bytes from 41.172.29.131: seq=2 ttl=63 time=1.329 ms --- 41.172.29.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.329/2.300/3.272 ms 2025-11-19 07:56:30,563 - WARNING - Ping to IP 41.172.29.131 from VM ctest-vn1-vm1-52748666 failed 2025-11-19 07:56:31,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.172.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 07:56:31,564 - DEBUG - ping -s 56 -c 3 -W 1 41.172.29.131 2025-11-19 07:56:33,786 - DEBUG - PING 41.172.29.131 (41.172.29.131): 56 data bytes 64 bytes from 41.172.29.131: seq=0 ttl=63 time=1.462 ms 64 bytes from 41.172.29.131: seq=1 ttl=63 time=1.129 ms 64 bytes from 41.172.29.131: seq=2 ttl=63 time=0.998 ms --- 41.172.29.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/1.196/1.462 ms 2025-11-19 07:56:33,786 - INFO - Ping to IP 41.172.29.131 from VM ctest-vn1-vm1-52748666 passed 2025-11-19 07:56:33,786 - INFO - Deleting interface with subnet_id 4dae8975-4dac-43ac-9b77-4d6a7c96fb6b, port_id None from router 46ee9b76-0baa-4f00-9808-98ac7b59f4b5 2025-11-19 07:56:33,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:56:33,912 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.172.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 07:56:33,912 - DEBUG - ping -s 56 -c 3 -W 1 41.172.29.131 2025-11-19 07:56:37,171 - DEBUG - PING 41.172.29.131 (41.172.29.131): 56 data bytes --- 41.172.29.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 07:56:37,171 - WARNING - Ping to IP 41.172.29.131 from VM ctest-vn1-vm1-52748666 failed 2025-11-19 07:56:37,171 - INFO - Adding interface with subnet_id 4dae8975-4dac-43ac-9b77-4d6a7c96fb6b, port_id None to router 46ee9b76-0baa-4f00-9808-98ac7b59f4b5 2025-11-19 07:56:37,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:56:37,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.172.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 07:56:37,391 - DEBUG - ping -s 56 -c 3 -W 1 41.172.29.131 2025-11-19 07:56:39,651 - DEBUG - PING 41.172.29.131 (41.172.29.131): 56 data bytes 64 bytes from 41.172.29.131: seq=0 ttl=63 time=1.726 ms 64 bytes from 41.172.29.131: seq=1 ttl=63 time=0.825 ms 64 bytes from 41.172.29.131: seq=2 ttl=63 time=0.842 ms --- 41.172.29.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/1.131/1.726 ms 2025-11-19 07:56:39,651 - INFO - Ping to IP 41.172.29.131 from VM ctest-vn1-vm1-52748666 passed 2025-11-19 07:56:39,651 - INFO - Deleting interface with subnet_id 48fa2f85-dd82-45ed-8dbd-c9bb36a80d98, port_id None from router 46ee9b76-0baa-4f00-9808-98ac7b59f4b5 2025-11-19 07:56:39,755 - INFO - Deleting interface with subnet_id 4dae8975-4dac-43ac-9b77-4d6a7c96fb6b, port_id None from router 46ee9b76-0baa-4f00-9808-98ac7b59f4b5 2025-11-19 07:56:39,917 - INFO - Deleting VM ctest-vn2-vm1-56317850 2025-11-19 07:56:39,987 - INFO - Deleting VM ctest-vn1-vm1-52748666 2025-11-19 07:56:40,059 - INFO - Deleting VN ctest-vn2-52260108 2025-11-19 07:56:40,098 - DEBUG - VN 472585c0-4c44-4804-a8f9-b258bccef736 still in use: Unable to complete operation on network 472585c0-4c44-4804-a8f9-b258bccef736. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0c62f88-28a0-41ab-802b-857790af7364'] 2025-11-19 07:56:40,098 - WARNING - Deleting VN ctest-vn2-52260108 failed..Will retry 2025-11-19 07:56:42,190 - DEBUG - Response for deleting network () 2025-11-19 07:56:42,190 - INFO - Deleting VN ctest-vn1-22970191 2025-11-19 07:56:42,288 - DEBUG - Response for deleting network () 2025-11-19 07:56:42,547 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 07:56:42,547 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-19 07:56:42,547 - INFO - -------------------------------------------------------------------------------- 2025-11-19 07:56:43,228 - INFO - Deleted project: ctest-TestRouters-65652269, ID : f38b9512-100b-40df-a128-482039192fcd