2025-08-19 13:15:14,627 - INFO - Domain Default found not creating 2025-08-19 13:15:14,766 - INFO - Project ctest-TestRouters-92391004 not found, creating it 2025-08-19 13:15:15,234 - INFO - Created Project:ctest-TestRouters-92391004, ID : 94b88141-2f42-487b-bb61-f4aac565c9da 2025-08-19 13:15:16,785 - INFO - ================================================================================ 2025-08-19 13:15:16,785 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-19 13:15:16,785 - 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-19 13:15:17,047 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-19 13:15:17,047 - INFO - Initial checks done. Running the testcase now 2025-08-19 13:15:17,047 - INFO - 2025-08-19 13:15:17,654 - DEBUG - Response for create_network : {'network': {'id': '3ff004f5-3a4d-4416-9ba3-e383d4c55f52', 'name': 'ctest-vn1-91440430', 'tenant_id': '94b881412f42487bbb61f4aac565c9da', 'project_id': '94b881412f42487bbb61f4aac565c9da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92391004', 'ctest-vn1-91440430'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 13:15:17,829 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d139c5b-aac6-4d4f-9f18-a1769fd0ad48', 'name': '', 'tenant_id': '94b881412f42487bbb61f4aac565c9da', 'network_id': '3ff004f5-3a4d-4416-9ba3-e383d4c55f52', 'ip_version': 4, 'cidr': '217.208.45.192/26', 'allocation_pools': [{'start': '217.208.45.194', 'end': '217.208.45.254'}], 'gateway_ip': '217.208.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.208.45.194', 'tags': [], 'project_id': '94b881412f42487bbb61f4aac565c9da'}} 2025-08-19 13:15:17,846 - INFO - Created VN ctest-vn1-91440430 2025-08-19 13:15:17,901 - DEBUG - VN ctest-vn1-91440430 UUID is 3ff004f5-3a4d-4416-9ba3-e383d4c55f52 2025-08-19 13:15:18,255 - DEBUG - Response for create_network : {'network': {'id': 'c16c6791-d5cc-409b-b63e-81da90013dc6', 'name': 'ctest-vn2-81986177', 'tenant_id': '94b881412f42487bbb61f4aac565c9da', 'project_id': '94b881412f42487bbb61f4aac565c9da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92391004', 'ctest-vn2-81986177'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 13:15:18,671 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a62c0191-b4e7-4717-8e44-d5c1eb98a997', 'name': '', 'tenant_id': '94b881412f42487bbb61f4aac565c9da', 'network_id': 'c16c6791-d5cc-409b-b63e-81da90013dc6', 'ip_version': 4, 'cidr': '73.58.241.0/26', 'allocation_pools': [{'start': '73.58.241.2', 'end': '73.58.241.62'}], 'gateway_ip': '73.58.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.58.241.2', 'tags': [], 'project_id': '94b881412f42487bbb61f4aac565c9da'}} 2025-08-19 13:15:18,693 - INFO - Created VN ctest-vn2-81986177 2025-08-19 13:15:18,749 - DEBUG - VN ctest-vn2-81986177 UUID is c16c6791-d5cc-409b-b63e-81da90013dc6 2025-08-19 13:15:18,998 - DEBUG - Services list from nova: [, , ] 2025-08-19 13:15:20,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3884-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3884-1) 2025-08-19 13:15:21,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3884-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3884-1) 2025-08-19 13:15:21,576 - INFO - Adding interface with subnet_id 6d139c5b-aac6-4d4f-9f18-a1769fd0ad48, port_id None to router fb54c7c8-d2c6-41bb-a456-81c79b70d650 2025-08-19 13:15:21,871 - INFO - Waiting for VM ctest-vn1-vm1-12074310 to be up.. 2025-08-19 13:15:22,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 13:15:27,077 - DEBUG - VM is in ACTIVE state now 2025-08-19 13:15:27,077 - INFO - VM name : ctest-vn1-vm1-12074310 2025-08-19 13:15:27,144 - DEBUG - VM ctest-vn1-vm1-12074310 ID is 214c82e9-e1e6-4dcb-ad60-5698767bb8c5 2025-08-19 13:15:27,162 - DEBUG - VM ctest-vn1-vm1-12074310 launched on Node cn-jenkins-deploy-platform-ansible-os-3884-1 2025-08-19 13:15:27,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/214c82e9-e1e6-4dcb-ad60-5698767bb8c5 2025-08-19 13:15:27,562 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/214c82e9-e1e6-4dcb-ad60-5698767bb8c5 2025-08-19 13:15:27,595 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/db7d1801-3855-4cd2-9870-b01e08c903c5 2025-08-19 13:15:30,858 - 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 1011ms') 2025-08-19 13:15:30,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12074310 failed! 2025-08-19 13:15:30,913 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-92391004:ctest-vn1-91440430 is 217.208.45.193 and allocation pool is NOT set 2025-08-19 13:15:32,977 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.45 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 = 3.449/3.732/4.016/0.283 ms') 2025-08-19 13:15:32,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12074310 passed 2025-08-19 13:15:33,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:33,129 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12074310, IP 217.208.45.195, Port 22 2025-08-19 13:15:33,195 - 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-19 13:15:33,273 - DEBUG - VM ctest-vn1-vm1-12074310 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-19 13:15:38,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:38,274 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12074310, IP 217.208.45.195, Port 22 2025-08-19 13:15:38,429 - DEBUG - VM ctest-vn1-vm1-12074310 is ready for SSH connections 2025-08-19 13:15:38,429 - INFO - Waiting for VM ctest-vn2-vm1-08938279 to be up.. 2025-08-19 13:15:38,502 - DEBUG - VM is in ACTIVE state now 2025-08-19 13:15:38,503 - INFO - VM name : ctest-vn2-vm1-08938279 2025-08-19 13:15:38,571 - DEBUG - VM ctest-vn2-vm1-08938279 ID is e1fd601b-4783-48bc-a170-6d3c3beb2780 2025-08-19 13:15:38,572 - DEBUG - VM ctest-vn2-vm1-08938279 launched on Node cn-jenkins-deploy-platform-ansible-os-3884-1 2025-08-19 13:15:38,641 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e1fd601b-4783-48bc-a170-6d3c3beb2780 2025-08-19 13:15:38,649 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3ffa3a4a-4435-4f08-b95a-063c07952d31 2025-08-19 13:15:39,893 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.731/3.101/1.369 ms') 2025-08-19 13:15:39,893 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08938279 passed 2025-08-19 13:15:40,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:40,045 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08938279, IP 73.58.241.3, Port 22 2025-08-19 13:15:40,200 - DEBUG - VM ctest-vn2-vm1-08938279 is ready for SSH connections 2025-08-19 13:15:40,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:40,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.58.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 13:15:40,201 - DEBUG - ping -s 56 -c 3 -W 1 73.58.241.3 2025-08-19 13:15:45,197 - DEBUG - PING 73.58.241.3 (73.58.241.3): 56 data bytes --- 73.58.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 13:15:45,197 - WARNING - Ping to IP 73.58.241.3 from VM ctest-vn1-vm1-12074310 failed 2025-08-19 13:15:45,197 - INFO - Adding interface with subnet_id a62c0191-b4e7-4717-8e44-d5c1eb98a997, port_id None to router fb54c7c8-d2c6-41bb-a456-81c79b70d650 2025-08-19 13:15:45,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:45,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.58.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 13:15:45,447 - DEBUG - ping -s 56 -c 3 -W 1 73.58.241.3 2025-08-19 13:15:48,661 - DEBUG - PING 73.58.241.3 (73.58.241.3): 56 data bytes 64 bytes from 73.58.241.3: seq=1 ttl=63 time=2.788 ms 64 bytes from 73.58.241.3: seq=2 ttl=63 time=0.761 ms --- 73.58.241.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.761/1.774/2.788 ms 2025-08-19 13:15:48,662 - WARNING - Ping to IP 73.58.241.3 from VM ctest-vn1-vm1-12074310 failed 2025-08-19 13:15:49,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.58.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 13:15:49,663 - DEBUG - ping -s 56 -c 3 -W 1 73.58.241.3 2025-08-19 13:15:51,875 - DEBUG - PING 73.58.241.3 (73.58.241.3): 56 data bytes 64 bytes from 73.58.241.3: seq=0 ttl=63 time=1.427 ms 64 bytes from 73.58.241.3: seq=1 ttl=63 time=0.728 ms 64 bytes from 73.58.241.3: seq=2 ttl=63 time=0.746 ms --- 73.58.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/0.967/1.427 ms 2025-08-19 13:15:51,875 - INFO - Ping to IP 73.58.241.3 from VM ctest-vn1-vm1-12074310 passed 2025-08-19 13:15:51,875 - INFO - Deleting interface with subnet_id 6d139c5b-aac6-4d4f-9f18-a1769fd0ad48, port_id None from router fb54c7c8-d2c6-41bb-a456-81c79b70d650 2025-08-19 13:15:51,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:51,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.58.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 13:15:51,985 - DEBUG - ping -s 56 -c 3 -W 1 73.58.241.3 2025-08-19 13:15:55,197 - DEBUG - PING 73.58.241.3 (73.58.241.3): 56 data bytes --- 73.58.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 13:15:55,198 - WARNING - Ping to IP 73.58.241.3 from VM ctest-vn1-vm1-12074310 failed 2025-08-19 13:15:55,198 - INFO - Adding interface with subnet_id 6d139c5b-aac6-4d4f-9f18-a1769fd0ad48, port_id None to router fb54c7c8-d2c6-41bb-a456-81c79b70d650 2025-08-19 13:15:55,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:55,399 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.58.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 13:15:55,399 - DEBUG - ping -s 56 -c 3 -W 1 73.58.241.3 2025-08-19 13:15:57,609 - DEBUG - PING 73.58.241.3 (73.58.241.3): 56 data bytes 64 bytes from 73.58.241.3: seq=0 ttl=63 time=1.223 ms 64 bytes from 73.58.241.3: seq=1 ttl=63 time=0.912 ms 64 bytes from 73.58.241.3: seq=2 ttl=63 time=0.883 ms --- 73.58.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/1.006/1.223 ms 2025-08-19 13:15:57,609 - INFO - Ping to IP 73.58.241.3 from VM ctest-vn1-vm1-12074310 passed 2025-08-19 13:15:57,609 - INFO - Deleting interface with subnet_id a62c0191-b4e7-4717-8e44-d5c1eb98a997, port_id None from router fb54c7c8-d2c6-41bb-a456-81c79b70d650 2025-08-19 13:15:57,759 - INFO - Deleting interface with subnet_id 6d139c5b-aac6-4d4f-9f18-a1769fd0ad48, port_id None from router fb54c7c8-d2c6-41bb-a456-81c79b70d650 2025-08-19 13:15:57,954 - INFO - Deleting VM ctest-vn2-vm1-08938279 2025-08-19 13:15:58,022 - INFO - Deleting VM ctest-vn1-vm1-12074310 2025-08-19 13:15:58,087 - INFO - Deleting VN ctest-vn2-81986177 2025-08-19 13:15:58,129 - DEBUG - VN c16c6791-d5cc-409b-b63e-81da90013dc6 still in use: Unable to complete operation on network c16c6791-d5cc-409b-b63e-81da90013dc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d12a98e-5e95-4d02-8736-7819bca49089'] 2025-08-19 13:15:58,129 - WARNING - Deleting VN ctest-vn2-81986177 failed..Will retry 2025-08-19 13:16:00,228 - DEBUG - Response for deleting network () 2025-08-19 13:16:00,229 - INFO - Deleting VN ctest-vn1-91440430 2025-08-19 13:16:00,330 - DEBUG - Response for deleting network () 2025-08-19 13:16:00,582 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 13:16:00,583 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-08-19 13:16:00,583 - INFO - -------------------------------------------------------------------------------- 2025-08-19 13:16:01,300 - INFO - Deleted project: ctest-TestRouters-92391004, ID : 94b88141-2f42-487b-bb61-f4aac565c9da