2025-10-23 19:12:57,228 - INFO - Domain Default found not creating 2025-10-23 19:12:57,394 - INFO - Project ctest-TestRouters-42156944 not found, creating it 2025-10-23 19:12:57,892 - INFO - Created Project:ctest-TestRouters-42156944, ID : f532b32d-ff2c-44dd-a1e3-c1cb63b4bb44 2025-10-23 19:12:59,594 - INFO - ================================================================================ 2025-10-23 19:12:59,594 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 19:12:59,595 - 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-10-23 19:12:59,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-23 19:12:59,852 - INFO - Initial checks done. Running the testcase now 2025-10-23 19:12:59,852 - INFO - 2025-10-23 19:13:00,447 - DEBUG - Response for create_network : {'network': {'id': '71cfaec6-b650-490c-9ad8-99efd16381f2', 'name': 'ctest-vn1-99636767', 'tenant_id': 'f532b32dff2c44dda1e3c1cb63b4bb44', 'project_id': 'f532b32dff2c44dda1e3c1cb63b4bb44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42156944', 'ctest-vn1-99636767'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:13:00,643 - DEBUG - Response for create_subnet : {'subnet': {'id': '0527c7ec-51ea-43f4-9904-17b834ad2f02', 'name': '', 'tenant_id': 'f532b32dff2c44dda1e3c1cb63b4bb44', 'network_id': '71cfaec6-b650-490c-9ad8-99efd16381f2', 'ip_version': 4, 'cidr': '63.144.71.64/26', 'allocation_pools': [{'start': '63.144.71.66', 'end': '63.144.71.126'}], 'gateway_ip': '63.144.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.144.71.66', 'tags': [], 'project_id': 'f532b32dff2c44dda1e3c1cb63b4bb44'}} 2025-10-23 19:13:00,662 - INFO - Created VN ctest-vn1-99636767 2025-10-23 19:13:00,715 - DEBUG - VN ctest-vn1-99636767 UUID is 71cfaec6-b650-490c-9ad8-99efd16381f2 2025-10-23 19:13:01,024 - DEBUG - Response for create_network : {'network': {'id': '6514ab50-4500-483b-aaf3-0c6d6a0ade71', 'name': 'ctest-vn2-32060829', 'tenant_id': 'f532b32dff2c44dda1e3c1cb63b4bb44', 'project_id': 'f532b32dff2c44dda1e3c1cb63b4bb44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42156944', 'ctest-vn2-32060829'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:13:01,217 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a00b82cc-c55c-43c7-beec-bd45d608776c', 'name': '', 'tenant_id': 'f532b32dff2c44dda1e3c1cb63b4bb44', 'network_id': '6514ab50-4500-483b-aaf3-0c6d6a0ade71', 'ip_version': 4, 'cidr': '85.54.123.128/26', 'allocation_pools': [{'start': '85.54.123.130', 'end': '85.54.123.190'}], 'gateway_ip': '85.54.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.54.123.130', 'tags': [], 'project_id': 'f532b32dff2c44dda1e3c1cb63b4bb44'}} 2025-10-23 19:13:01,235 - INFO - Created VN ctest-vn2-32060829 2025-10-23 19:13:01,287 - DEBUG - VN ctest-vn2-32060829 UUID is 6514ab50-4500-483b-aaf3-0c6d6a0ade71 2025-10-23 19:13:01,490 - DEBUG - Services list from nova: [, , ] 2025-10-23 19:13:02,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4466-1) 2025-10-23 19:13:03,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4466-1) 2025-10-23 19:13:04,024 - INFO - Adding interface with subnet_id 0527c7ec-51ea-43f4-9904-17b834ad2f02, port_id None to router e7100a8b-829c-4ead-ab09-91ef98193e92 2025-10-23 19:13:04,322 - INFO - Waiting for VM ctest-vn1-vm1-42084079 to be up.. 2025-10-23 19:13:04,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 19:13:09,601 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:13:09,601 - INFO - VM name : ctest-vn1-vm1-42084079 2025-10-23 19:13:09,846 - DEBUG - VM ctest-vn1-vm1-42084079 ID is df229f21-fbd3-429c-9dd5-81ffd3c95547 2025-10-23 19:13:09,875 - DEBUG - VM ctest-vn1-vm1-42084079 launched on Node cn-jenkins-deploy-platform-ansible-os-4466-1 2025-10-23 19:13:10,043 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/df229f21-fbd3-429c-9dd5-81ffd3c95547 2025-10-23 19:13:10,562 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/df229f21-fbd3-429c-9dd5-81ffd3c95547 2025-10-23 19:13:10,632 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/64a89aa3-53dc-4fb6-bcd4-5042084b1615 2025-10-23 19:13:13,943 - 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-10-23 19:13:13,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42084079 failed! 2025-10-23 19:13:13,999 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-42156944:ctest-vn1-99636767 is 63.144.71.65 and allocation pool is NOT set 2025-10-23 19:13:16,061 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.50 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 = 2.501/3.185/3.870/0.684 ms') 2025-10-23 19:13:16,061 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42084079 passed 2025-10-23 19:13:16,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:13:16,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42084079, IP 63.144.71.67, Port 22 2025-10-23 19:13:16,367 - DEBUG - VM ctest-vn1-vm1-42084079 is ready for SSH connections 2025-10-23 19:13:16,367 - INFO - Waiting for VM ctest-vn2-vm1-70165417 to be up.. 2025-10-23 19:13:16,447 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:13:16,447 - INFO - VM name : ctest-vn2-vm1-70165417 2025-10-23 19:13:16,516 - DEBUG - VM ctest-vn2-vm1-70165417 ID is 10d5ab7c-ccb1-43f0-88d0-b4152ebc50b1 2025-10-23 19:13:16,517 - DEBUG - VM ctest-vn2-vm1-70165417 launched on Node cn-jenkins-deploy-platform-ansible-os-4466-1 2025-10-23 19:13:16,585 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/10d5ab7c-ccb1-43f0-88d0-b4152ebc50b1 2025-10-23 19:13:16,593 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/00214975-c2ff-4352-a420-316f9af38bdc 2025-10-23 19:13:17,827 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.46 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 = 1.464/3.459/5.455/1.995 ms') 2025-10-23 19:13:17,827 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-70165417 passed 2025-10-23 19:13:17,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:13:17,935 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-70165417, IP 85.54.123.131, Port 22 2025-10-23 19:13:18,090 - DEBUG - VM ctest-vn2-vm1-70165417 is ready for SSH connections 2025-10-23 19:13:18,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:13:18,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.54.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 19:13:18,091 - DEBUG - ping -s 56 -c 3 -W 1 85.54.123.131 2025-10-23 19:13:23,150 - DEBUG - PING 85.54.123.131 (85.54.123.131): 56 data bytes --- 85.54.123.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 19:13:23,150 - WARNING - Ping to IP 85.54.123.131 from VM ctest-vn1-vm1-42084079 failed 2025-10-23 19:13:23,150 - INFO - Adding interface with subnet_id a00b82cc-c55c-43c7-beec-bd45d608776c, port_id None to router e7100a8b-829c-4ead-ab09-91ef98193e92 2025-10-23 19:13:23,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:13:23,409 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.54.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 19:13:23,409 - DEBUG - ping -s 56 -c 3 -W 1 85.54.123.131 2025-10-23 19:13:26,623 - DEBUG - PING 85.54.123.131 (85.54.123.131): 56 data bytes 64 bytes from 85.54.123.131: seq=1 ttl=63 time=2.773 ms 64 bytes from 85.54.123.131: seq=2 ttl=63 time=0.995 ms --- 85.54.123.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.995/1.884/2.773 ms 2025-10-23 19:13:26,624 - WARNING - Ping to IP 85.54.123.131 from VM ctest-vn1-vm1-42084079 failed 2025-10-23 19:13:27,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.54.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 19:13:27,625 - DEBUG - ping -s 56 -c 3 -W 1 85.54.123.131 2025-10-23 19:13:29,846 - DEBUG - PING 85.54.123.131 (85.54.123.131): 56 data bytes 64 bytes from 85.54.123.131: seq=0 ttl=63 time=1.378 ms 64 bytes from 85.54.123.131: seq=1 ttl=63 time=1.603 ms 64 bytes from 85.54.123.131: seq=2 ttl=63 time=0.995 ms --- 85.54.123.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/1.325/1.603 ms 2025-10-23 19:13:29,846 - INFO - Ping to IP 85.54.123.131 from VM ctest-vn1-vm1-42084079 passed 2025-10-23 19:13:29,846 - INFO - Deleting interface with subnet_id 0527c7ec-51ea-43f4-9904-17b834ad2f02, port_id None from router e7100a8b-829c-4ead-ab09-91ef98193e92 2025-10-23 19:13:29,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:13:29,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.54.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 19:13:29,978 - DEBUG - ping -s 56 -c 3 -W 1 85.54.123.131 2025-10-23 19:13:33,219 - DEBUG - PING 85.54.123.131 (85.54.123.131): 56 data bytes --- 85.54.123.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 19:13:33,219 - WARNING - Ping to IP 85.54.123.131 from VM ctest-vn1-vm1-42084079 failed 2025-10-23 19:13:33,220 - INFO - Adding interface with subnet_id 0527c7ec-51ea-43f4-9904-17b834ad2f02, port_id None to router e7100a8b-829c-4ead-ab09-91ef98193e92 2025-10-23 19:13:33,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:13:33,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.54.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 19:13:33,451 - DEBUG - ping -s 56 -c 3 -W 1 85.54.123.131 2025-10-23 19:13:35,683 - DEBUG - PING 85.54.123.131 (85.54.123.131): 56 data bytes 64 bytes from 85.54.123.131: seq=0 ttl=63 time=1.539 ms 64 bytes from 85.54.123.131: seq=1 ttl=63 time=0.859 ms 64 bytes from 85.54.123.131: seq=2 ttl=63 time=0.824 ms --- 85.54.123.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.074/1.539 ms 2025-10-23 19:13:35,683 - INFO - Ping to IP 85.54.123.131 from VM ctest-vn1-vm1-42084079 passed 2025-10-23 19:13:35,683 - INFO - Deleting interface with subnet_id a00b82cc-c55c-43c7-beec-bd45d608776c, port_id None from router e7100a8b-829c-4ead-ab09-91ef98193e92 2025-10-23 19:13:35,841 - INFO - Deleting interface with subnet_id 0527c7ec-51ea-43f4-9904-17b834ad2f02, port_id None from router e7100a8b-829c-4ead-ab09-91ef98193e92 2025-10-23 19:13:36,034 - INFO - Deleting VM ctest-vn2-vm1-70165417 2025-10-23 19:13:36,104 - INFO - Deleting VM ctest-vn1-vm1-42084079 2025-10-23 19:13:36,186 - INFO - Deleting VN ctest-vn2-32060829 2025-10-23 19:13:36,224 - DEBUG - VN 6514ab50-4500-483b-aaf3-0c6d6a0ade71 still in use: Unable to complete operation on network 6514ab50-4500-483b-aaf3-0c6d6a0ade71. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77f43971-22c8-4147-a5ea-dff142e41acc'] 2025-10-23 19:13:36,224 - WARNING - Deleting VN ctest-vn2-32060829 failed..Will retry 2025-10-23 19:13:38,333 - DEBUG - Response for deleting network () 2025-10-23 19:13:38,333 - INFO - Deleting VN ctest-vn1-99636767 2025-10-23 19:13:38,456 - DEBUG - Response for deleting network () 2025-10-23 19:13:38,713 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 19:13:38,713 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-23 19:13:38,713 - INFO - -------------------------------------------------------------------------------- 2025-10-23 19:13:39,442 - INFO - Deleted project: ctest-TestRouters-42156944, ID : f532b32d-ff2c-44dd-a1e3-c1cb63b4bb44