2025-10-29 23:17:53,570 - INFO - Domain Default found not creating 2025-10-29 23:17:53,749 - INFO - Project ctest-TestRouters-97688670 not found, creating it 2025-10-29 23:17:54,336 - INFO - Created Project:ctest-TestRouters-97688670, ID : 77776314-09dd-4dbe-b210-546ca44a3866 2025-10-29 23:17:55,837 - INFO - ================================================================================ 2025-10-29 23:17:55,837 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-29 23:17:55,837 - 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-29 23:17:57,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0', '10.20.0.5': '0'}, '10.0.0.33': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-10-29 23:17:57,170 - INFO - Initial checks done. Running the testcase now 2025-10-29 23:17:57,170 - INFO - 2025-10-29 23:17:57,827 - DEBUG - Response for create_network : {'network': {'id': '5c972978-7078-4210-83c1-6eac6b0dbf14', 'name': 'ctest-vn1-00911543', 'tenant_id': '7777631409dd4dbeb210546ca44a3866', 'project_id': '7777631409dd4dbeb210546ca44a3866', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97688670', 'ctest-vn1-00911543'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:17:58,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f9fb220-ff35-4e9b-9e7b-941b5abf1d7e', 'name': '', 'tenant_id': '7777631409dd4dbeb210546ca44a3866', 'network_id': '5c972978-7078-4210-83c1-6eac6b0dbf14', 'ip_version': 4, 'cidr': '13.196.40.192/26', 'allocation_pools': [{'start': '13.196.40.194', 'end': '13.196.40.254'}], 'gateway_ip': '13.196.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.196.40.194', 'tags': [], 'project_id': '7777631409dd4dbeb210546ca44a3866'}} 2025-10-29 23:17:58,118 - INFO - Created VN ctest-vn1-00911543 2025-10-29 23:17:58,127 - DEBUG - VN ctest-vn1-00911543 UUID is 5c972978-7078-4210-83c1-6eac6b0dbf14 2025-10-29 23:17:58,495 - DEBUG - Response for create_network : {'network': {'id': 'eee611ec-9e56-4fae-a0bb-ca4d5650d1d0', 'name': 'ctest-vn2-35183781', 'tenant_id': '7777631409dd4dbeb210546ca44a3866', 'project_id': '7777631409dd4dbeb210546ca44a3866', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97688670', 'ctest-vn2-35183781'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:17:58,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5fd31eb-868b-40dc-93e8-e2e32785a794', 'name': '', 'tenant_id': '7777631409dd4dbeb210546ca44a3866', 'network_id': 'eee611ec-9e56-4fae-a0bb-ca4d5650d1d0', 'ip_version': 4, 'cidr': '78.24.95.192/26', 'allocation_pools': [{'start': '78.24.95.194', 'end': '78.24.95.254'}], 'gateway_ip': '78.24.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.24.95.194', 'tags': [], 'project_id': '7777631409dd4dbeb210546ca44a3866'}} 2025-10-29 23:17:58,707 - INFO - Created VN ctest-vn2-35183781 2025-10-29 23:17:58,728 - DEBUG - VN ctest-vn2-35183781 UUID is eee611ec-9e56-4fae-a0bb-ca4d5650d1d0 2025-10-29 23:17:58,859 - DEBUG - Services list from nova: [, , , ] 2025-10-29 23:17:59,903 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4529-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4529-1) 2025-10-29 23:18:01,286 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4529-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4529-2) 2025-10-29 23:18:01,428 - INFO - Adding interface with subnet_id 6f9fb220-ff35-4e9b-9e7b-941b5abf1d7e, port_id None to router 4a628660-9e2f-429b-9a24-1d139efc3c1c 2025-10-29 23:18:01,790 - INFO - Waiting for VM ctest-vn1-vm1-74653259 to be up.. 2025-10-29 23:18:01,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 23:18:07,027 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:18:07,027 - INFO - VM name : ctest-vn1-vm1-74653259 2025-10-29 23:18:07,104 - DEBUG - VM ctest-vn1-vm1-74653259 ID is 532289fb-0814-45d1-aa96-ae186f746c9c 2025-10-29 23:18:07,130 - DEBUG - VM ctest-vn1-vm1-74653259 launched on Node an-jenkins-deploy-platform-ansible-os-4529-1 2025-10-29 23:18:07,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/532289fb-0814-45d1-aa96-ae186f746c9c 2025-10-29 23:18:07,512 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/532289fb-0814-45d1-aa96-ae186f746c9c 2025-10-29 23:18:07,546 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b11ecad5-248f-4897-be4f-b617cd84148a 2025-10-29 23:18:10,739 - 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 1028ms') 2025-10-29 23:18:10,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74653259 failed! 2025-10-29 23:18:10,752 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-97688670:ctest-vn1-00911543 is 13.196.40.193 and allocation pool is NOT set 2025-10-29 23:18:12,825 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.93 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.928/4.059/4.190/0.131 ms') 2025-10-29 23:18:12,825 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74653259 passed 2025-10-29 23:18:12,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:18:12,891 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74653259, IP 13.196.40.195, Port 22 2025-10-29 23:18:12,957 - 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-10-29 23:18:13,037 - DEBUG - VM ctest-vn1-vm1-74653259 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 23:18:18,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:18:18,038 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74653259, IP 13.196.40.195, Port 22 2025-10-29 23:18:18,203 - DEBUG - VM ctest-vn1-vm1-74653259 is ready for SSH connections 2025-10-29 23:18:18,203 - INFO - Waiting for VM ctest-vn2-vm1-01418485 to be up.. 2025-10-29 23:18:18,318 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:18:18,318 - INFO - VM name : ctest-vn2-vm1-01418485 2025-10-29 23:18:18,411 - DEBUG - VM ctest-vn2-vm1-01418485 ID is e8acc960-308b-4a2d-b39f-25dd4bbea8b6 2025-10-29 23:18:18,411 - DEBUG - VM ctest-vn2-vm1-01418485 launched on Node an-jenkins-deploy-platform-ansible-os-4529-2 2025-10-29 23:18:18,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e8acc960-308b-4a2d-b39f-25dd4bbea8b6 2025-10-29 23:18:18,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/97ea2112-eb26-444f-865c-020fe131af4b 2025-10-29 23:18:19,686 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.127/2.307/3.488/1.180 ms') 2025-10-29 23:18:19,686 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-01418485 passed 2025-10-29 23:18:19,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:18:19,756 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01418485, IP 78.24.95.195, Port 22 2025-10-29 23:18:19,946 - DEBUG - VM ctest-vn2-vm1-01418485 is ready for SSH connections 2025-10-29 23:18:19,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:18:19,946 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.24.95.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-29 23:18:19,946 - DEBUG - ping -s 56 -c 3 -W 1 78.24.95.195 2025-10-29 23:18:23,842 - DEBUG - PING 78.24.95.195 (78.24.95.195): 56 data bytes --- 78.24.95.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 23:18:23,842 - WARNING - Ping to IP 78.24.95.195 from VM ctest-vn1-vm1-74653259 failed 2025-10-29 23:18:23,842 - INFO - Adding interface with subnet_id c5fd31eb-868b-40dc-93e8-e2e32785a794, port_id None to router 4a628660-9e2f-429b-9a24-1d139efc3c1c 2025-10-29 23:18:24,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:18:24,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.24.95.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-29 23:18:24,242 - DEBUG - ping -s 56 -c 3 -W 1 78.24.95.195 2025-10-29 23:18:26,454 - DEBUG - PING 78.24.95.195 (78.24.95.195): 56 data bytes 64 bytes from 78.24.95.195: seq=0 ttl=63 time=7.949 ms 64 bytes from 78.24.95.195: seq=1 ttl=63 time=1.762 ms 64 bytes from 78.24.95.195: seq=2 ttl=63 time=1.635 ms --- 78.24.95.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.635/3.782/7.949 ms 2025-10-29 23:18:26,454 - INFO - Ping to IP 78.24.95.195 from VM ctest-vn1-vm1-74653259 passed 2025-10-29 23:18:26,454 - INFO - Deleting interface with subnet_id 6f9fb220-ff35-4e9b-9e7b-941b5abf1d7e, port_id None from router 4a628660-9e2f-429b-9a24-1d139efc3c1c 2025-10-29 23:18:26,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:18:26,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.24.95.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-29 23:18:26,677 - DEBUG - ping -s 56 -c 3 -W 1 78.24.95.195 2025-10-29 23:18:29,873 - DEBUG - PING 78.24.95.195 (78.24.95.195): 56 data bytes --- 78.24.95.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 23:18:29,873 - WARNING - Ping to IP 78.24.95.195 from VM ctest-vn1-vm1-74653259 failed 2025-10-29 23:18:29,873 - INFO - Adding interface with subnet_id 6f9fb220-ff35-4e9b-9e7b-941b5abf1d7e, port_id None to router 4a628660-9e2f-429b-9a24-1d139efc3c1c 2025-10-29 23:18:30,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:18:30,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.24.95.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-29 23:18:30,136 - DEBUG - ping -s 56 -c 3 -W 1 78.24.95.195 2025-10-29 23:18:32,336 - DEBUG - PING 78.24.95.195 (78.24.95.195): 56 data bytes 64 bytes from 78.24.95.195: seq=0 ttl=63 time=3.991 ms 64 bytes from 78.24.95.195: seq=1 ttl=63 time=1.394 ms 64 bytes from 78.24.95.195: seq=2 ttl=63 time=1.301 ms --- 78.24.95.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.301/2.228/3.991 ms 2025-10-29 23:18:32,336 - INFO - Ping to IP 78.24.95.195 from VM ctest-vn1-vm1-74653259 passed 2025-10-29 23:18:32,336 - INFO - Deleting interface with subnet_id c5fd31eb-868b-40dc-93e8-e2e32785a794, port_id None from router 4a628660-9e2f-429b-9a24-1d139efc3c1c 2025-10-29 23:18:32,551 - INFO - Deleting interface with subnet_id 6f9fb220-ff35-4e9b-9e7b-941b5abf1d7e, port_id None from router 4a628660-9e2f-429b-9a24-1d139efc3c1c 2025-10-29 23:18:32,876 - INFO - Deleting VM ctest-vn2-vm1-01418485 2025-10-29 23:18:32,961 - INFO - Deleting VM ctest-vn1-vm1-74653259 2025-10-29 23:18:33,032 - INFO - Deleting VN ctest-vn2-35183781 2025-10-29 23:18:33,070 - DEBUG - VN eee611ec-9e56-4fae-a0bb-ca4d5650d1d0 still in use: Unable to complete operation on network eee611ec-9e56-4fae-a0bb-ca4d5650d1d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e510c9fb-29c5-4f5f-bb10-0315b13865ee'] 2025-10-29 23:18:33,070 - WARNING - Deleting VN ctest-vn2-35183781 failed..Will retry 2025-10-29 23:18:35,266 - DEBUG - Response for deleting network () 2025-10-29 23:18:35,266 - INFO - Deleting VN ctest-vn1-00911543 2025-10-29 23:18:35,425 - DEBUG - Response for deleting network () 2025-10-29 23:18:36,776 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 23:18:36,776 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41]
2025-10-29 23:18:36,776 - INFO - -------------------------------------------------------------------------------- 2025-10-29 23:18:37,477 - INFO - Deleted project: ctest-TestRouters-97688670, ID : 77776314-09dd-4dbe-b210-546ca44a3866