2025-11-03 02:26:34,909 - INFO - Domain Default found not creating 2025-11-03 02:26:35,060 - INFO - Project ctest-TestRouters-95389901 not found, creating it 2025-11-03 02:26:35,520 - INFO - Created Project:ctest-TestRouters-95389901, ID : 4063d6ac-aead-4b6c-bd76-be8b4729377d 2025-11-03 02:26:37,044 - INFO - ================================================================================ 2025-11-03 02:26:37,044 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-03 02:26:37,045 - 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-03 02:26:37,300 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-03 02:26:37,300 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:26:37,300 - INFO - 2025-11-03 02:26:38,149 - DEBUG - Response for create_network : {'network': {'id': '3a62e60e-1c7e-4506-bf37-5132aaa122c6', 'name': 'ctest-vn1-36395456', 'tenant_id': '4063d6acaead4b6cbd76be8b4729377d', 'project_id': '4063d6acaead4b6cbd76be8b4729377d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-95389901', 'ctest-vn1-36395456'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:26:38,309 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1cc4274-bd3c-4247-927a-48043e78b3b5', 'name': '', 'tenant_id': '4063d6acaead4b6cbd76be8b4729377d', 'network_id': '3a62e60e-1c7e-4506-bf37-5132aaa122c6', 'ip_version': 4, 'cidr': '196.47.95.192/26', 'allocation_pools': [{'start': '196.47.95.194', 'end': '196.47.95.254'}], 'gateway_ip': '196.47.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.47.95.194', 'tags': [], 'project_id': '4063d6acaead4b6cbd76be8b4729377d'}} 2025-11-03 02:26:38,326 - INFO - Created VN ctest-vn1-36395456 2025-11-03 02:26:38,379 - DEBUG - VN ctest-vn1-36395456 UUID is 3a62e60e-1c7e-4506-bf37-5132aaa122c6 2025-11-03 02:26:38,731 - DEBUG - Response for create_network : {'network': {'id': 'd5fa4982-73b4-425c-8f07-9a668aa24b5a', 'name': 'ctest-vn2-66167541', 'tenant_id': '4063d6acaead4b6cbd76be8b4729377d', 'project_id': '4063d6acaead4b6cbd76be8b4729377d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-95389901', 'ctest-vn2-66167541'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:26:38,884 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a6237fb-78e6-4ecf-aad1-f2410cde8c8e', 'name': '', 'tenant_id': '4063d6acaead4b6cbd76be8b4729377d', 'network_id': 'd5fa4982-73b4-425c-8f07-9a668aa24b5a', 'ip_version': 4, 'cidr': '54.144.28.0/26', 'allocation_pools': [{'start': '54.144.28.2', 'end': '54.144.28.62'}], 'gateway_ip': '54.144.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.144.28.2', 'tags': [], 'project_id': '4063d6acaead4b6cbd76be8b4729377d'}} 2025-11-03 02:26:38,901 - INFO - Created VN ctest-vn2-66167541 2025-11-03 02:26:38,951 - DEBUG - VN ctest-vn2-66167541 UUID is d5fa4982-73b4-425c-8f07-9a668aa24b5a 2025-11-03 02:26:39,159 - DEBUG - Services list from nova: [, , ] 2025-11-03 02:26:40,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4598-1) 2025-11-03 02:26:41,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4598-1) 2025-11-03 02:26:41,546 - INFO - Adding interface with subnet_id d1cc4274-bd3c-4247-927a-48043e78b3b5, port_id None to router fdfbd692-654a-4c7f-831a-4e5db550ff86 2025-11-03 02:26:41,798 - INFO - Waiting for VM ctest-vn1-vm1-55065400 to be up.. 2025-11-03 02:26:41,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:26:46,949 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:26:52,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:26:57,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:27:02,218 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:27:02,219 - INFO - VM name : ctest-vn1-vm1-55065400 2025-11-03 02:27:02,305 - DEBUG - VM ctest-vn1-vm1-55065400 ID is 56d6b05b-1b22-4066-a672-f4d1f8132094 2025-11-03 02:27:02,326 - DEBUG - VM ctest-vn1-vm1-55065400 launched on Node cn-jenkins-deploy-platform-ansible-os-4598-1 2025-11-03 02:27:02,407 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/56d6b05b-1b22-4066-a672-f4d1f8132094 2025-11-03 02:27:02,704 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/56d6b05b-1b22-4066-a672-f4d1f8132094 2025-11-03 02:27:02,735 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/eebe76b6-ba4f-4ac1-8058-f57173590487 2025-11-03 02:27:05,996 - 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 1025ms') 2025-11-03 02:27:05,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55065400 failed! 2025-11-03 02:27:06,051 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-95389901:ctest-vn1-36395456 is 196.47.95.193 and allocation pool is NOT set 2025-11-03 02:27:08,114 - 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=5.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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.740/3.374/5.009/1.634 ms') 2025-11-03 02:27:08,114 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55065400 passed 2025-11-03 02:27:08,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:27:08,275 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55065400, IP 196.47.95.195, Port 22 2025-11-03 02:27:08,341 - 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-11-03 02:27:08,435 - DEBUG - VM ctest-vn1-vm1-55065400 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 02:27:13,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:27:13,436 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55065400, IP 196.47.95.195, Port 22 2025-11-03 02:27:13,598 - DEBUG - VM ctest-vn1-vm1-55065400 is ready for SSH connections 2025-11-03 02:27:13,599 - INFO - Waiting for VM ctest-vn2-vm1-83660783 to be up.. 2025-11-03 02:27:13,670 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:27:13,670 - INFO - VM name : ctest-vn2-vm1-83660783 2025-11-03 02:27:13,744 - DEBUG - VM ctest-vn2-vm1-83660783 ID is b6ef759f-1c36-4c44-8921-9463916e84ce 2025-11-03 02:27:13,744 - DEBUG - VM ctest-vn2-vm1-83660783 launched on Node cn-jenkins-deploy-platform-ansible-os-4598-1 2025-11-03 02:27:13,812 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b6ef759f-1c36-4c44-8921-9463916e84ce 2025-11-03 02:27:13,820 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dcf7bc75-e5ce-4cd7-928f-86dddca53fa5 2025-11-03 02:27:15,063 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.514 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.514/1.753/2.992/1.239 ms') 2025-11-03 02:27:15,064 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-83660783 passed 2025-11-03 02:27:15,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:27:15,215 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-83660783, IP 54.144.28.3, Port 22 2025-11-03 02:27:15,375 - DEBUG - VM ctest-vn2-vm1-83660783 is ready for SSH connections 2025-11-03 02:27:15,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:27:15,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.144.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-03 02:27:15,375 - DEBUG - ping -s 56 -c 3 -W 1 54.144.28.3 2025-11-03 02:27:20,370 - DEBUG - PING 54.144.28.3 (54.144.28.3): 56 data bytes --- 54.144.28.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 02:27:20,370 - WARNING - Ping to IP 54.144.28.3 from VM ctest-vn1-vm1-55065400 failed 2025-11-03 02:27:20,370 - INFO - Adding interface with subnet_id 0a6237fb-78e6-4ecf-aad1-f2410cde8c8e, port_id None to router fdfbd692-654a-4c7f-831a-4e5db550ff86 2025-11-03 02:27:20,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:27:20,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.144.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-03 02:27:20,621 - DEBUG - ping -s 56 -c 3 -W 1 54.144.28.3 2025-11-03 02:27:22,828 - DEBUG - PING 54.144.28.3 (54.144.28.3): 56 data bytes 64 bytes from 54.144.28.3: seq=0 ttl=63 time=2.599 ms 64 bytes from 54.144.28.3: seq=1 ttl=63 time=0.833 ms 64 bytes from 54.144.28.3: seq=2 ttl=63 time=0.811 ms --- 54.144.28.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/1.414/2.599 ms 2025-11-03 02:27:22,828 - INFO - Ping to IP 54.144.28.3 from VM ctest-vn1-vm1-55065400 passed 2025-11-03 02:27:22,828 - INFO - Deleting interface with subnet_id d1cc4274-bd3c-4247-927a-48043e78b3b5, port_id None from router fdfbd692-654a-4c7f-831a-4e5db550ff86 2025-11-03 02:27:22,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:27:22,943 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.144.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-03 02:27:22,943 - DEBUG - ping -s 56 -c 3 -W 1 54.144.28.3 2025-11-03 02:27:26,167 - DEBUG - PING 54.144.28.3 (54.144.28.3): 56 data bytes --- 54.144.28.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 02:27:26,167 - WARNING - Ping to IP 54.144.28.3 from VM ctest-vn1-vm1-55065400 failed 2025-11-03 02:27:26,168 - INFO - Adding interface with subnet_id d1cc4274-bd3c-4247-927a-48043e78b3b5, port_id None to router fdfbd692-654a-4c7f-831a-4e5db550ff86 2025-11-03 02:27:26,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:27:26,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.144.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-03 02:27:26,465 - DEBUG - ping -s 56 -c 3 -W 1 54.144.28.3 2025-11-03 02:27:28,663 - DEBUG - PING 54.144.28.3 (54.144.28.3): 56 data bytes 64 bytes from 54.144.28.3: seq=0 ttl=63 time=2.752 ms 64 bytes from 54.144.28.3: seq=1 ttl=63 time=1.431 ms 64 bytes from 54.144.28.3: seq=2 ttl=63 time=1.172 ms --- 54.144.28.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.172/1.785/2.752 ms 2025-11-03 02:27:28,664 - INFO - Ping to IP 54.144.28.3 from VM ctest-vn1-vm1-55065400 passed 2025-11-03 02:27:28,664 - INFO - Deleting interface with subnet_id 0a6237fb-78e6-4ecf-aad1-f2410cde8c8e, port_id None from router fdfbd692-654a-4c7f-831a-4e5db550ff86 2025-11-03 02:27:28,783 - INFO - Deleting interface with subnet_id d1cc4274-bd3c-4247-927a-48043e78b3b5, port_id None from router fdfbd692-654a-4c7f-831a-4e5db550ff86 2025-11-03 02:27:28,980 - INFO - Deleting VM ctest-vn2-vm1-83660783 2025-11-03 02:27:29,057 - INFO - Deleting VM ctest-vn1-vm1-55065400 2025-11-03 02:27:29,132 - INFO - Deleting VN ctest-vn2-66167541 2025-11-03 02:27:29,168 - DEBUG - VN d5fa4982-73b4-425c-8f07-9a668aa24b5a still in use: Unable to complete operation on network d5fa4982-73b4-425c-8f07-9a668aa24b5a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-926f3f93-d448-4a87-a83b-86f87ee15991'] 2025-11-03 02:27:29,168 - WARNING - Deleting VN ctest-vn2-66167541 failed..Will retry 2025-11-03 02:27:31,274 - DEBUG - Response for deleting network () 2025-11-03 02:27:31,274 - INFO - Deleting VN ctest-vn1-36395456 2025-11-03 02:27:31,375 - DEBUG - Response for deleting network () 2025-11-03 02:27:31,632 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 02:27:31,632 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:54] 2025-11-03 02:27:31,632 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:27:32,323 - INFO - Deleted project: ctest-TestRouters-95389901, ID : 4063d6ac-aead-4b6c-bd76-be8b4729377d