2025-11-05 17:31:23,612 - INFO - Domain Default found not creating 2025-11-05 17:31:23,850 - INFO - Project ctest-TestRouters-92230921 not found, creating it 2025-11-05 17:31:24,334 - INFO - Created Project:ctest-TestRouters-92230921, ID : 74719571-59dc-436d-8712-1e7bbeb95c23 2025-11-05 17:31:26,026 - INFO - ================================================================================ 2025-11-05 17:31:26,026 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 17:31:26,026 - 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-05 17:31:26,281 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-05 17:31:26,281 - INFO - Initial checks done. Running the testcase now 2025-11-05 17:31:26,281 - INFO - 2025-11-05 17:31:26,899 - DEBUG - Response for create_network : {'network': {'id': '4c401316-a696-426b-882f-f0b189a3a7f6', 'name': 'ctest-vn1-98999167', 'tenant_id': '7471957159dc436d87121e7bbeb95c23', 'project_id': '7471957159dc436d87121e7bbeb95c23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92230921', 'ctest-vn1-98999167'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 17:31:27,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fad52c2b-0373-4011-8d4f-33ff6f301f07', 'name': '', 'tenant_id': '7471957159dc436d87121e7bbeb95c23', 'network_id': '4c401316-a696-426b-882f-f0b189a3a7f6', 'ip_version': 4, 'cidr': '43.231.2.128/26', 'allocation_pools': [{'start': '43.231.2.130', 'end': '43.231.2.190'}], 'gateway_ip': '43.231.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.231.2.130', 'tags': [], 'project_id': '7471957159dc436d87121e7bbeb95c23'}} 2025-11-05 17:31:27,125 - INFO - Created VN ctest-vn1-98999167 2025-11-05 17:31:27,179 - DEBUG - VN ctest-vn1-98999167 UUID is 4c401316-a696-426b-882f-f0b189a3a7f6 2025-11-05 17:31:27,556 - DEBUG - Response for create_network : {'network': {'id': 'a216097b-4193-413c-974c-314b3795476d', 'name': 'ctest-vn2-71034174', 'tenant_id': '7471957159dc436d87121e7bbeb95c23', 'project_id': '7471957159dc436d87121e7bbeb95c23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92230921', 'ctest-vn2-71034174'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 17:31:27,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '7469f614-33f2-45b7-b15b-c9c0149aa032', 'name': '', 'tenant_id': '7471957159dc436d87121e7bbeb95c23', 'network_id': 'a216097b-4193-413c-974c-314b3795476d', 'ip_version': 4, 'cidr': '79.74.185.192/26', 'allocation_pools': [{'start': '79.74.185.194', 'end': '79.74.185.254'}], 'gateway_ip': '79.74.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.74.185.194', 'tags': [], 'project_id': '7471957159dc436d87121e7bbeb95c23'}} 2025-11-05 17:31:27,816 - INFO - Created VN ctest-vn2-71034174 2025-11-05 17:31:27,867 - DEBUG - VN ctest-vn2-71034174 UUID is a216097b-4193-413c-974c-314b3795476d 2025-11-05 17:31:28,058 - DEBUG - Services list from nova: [, , ] 2025-11-05 17:31:29,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4652-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4652-1) 2025-11-05 17:31:30,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4652-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4652-1) 2025-11-05 17:31:30,579 - INFO - Adding interface with subnet_id fad52c2b-0373-4011-8d4f-33ff6f301f07, port_id None to router 07d49cd7-92e1-4652-bf6a-9c4086454a2a 2025-11-05 17:31:30,984 - INFO - Waiting for VM ctest-vn1-vm1-61188293 to be up.. 2025-11-05 17:31:31,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 17:31:36,209 - DEBUG - VM is in ACTIVE state now 2025-11-05 17:31:36,209 - INFO - VM name : ctest-vn1-vm1-61188293 2025-11-05 17:31:36,291 - DEBUG - VM ctest-vn1-vm1-61188293 ID is 4951a31c-9b5f-416d-922c-4b4c73cd8fc9 2025-11-05 17:31:36,313 - DEBUG - VM ctest-vn1-vm1-61188293 launched on Node cn-jenkins-deploy-platform-ansible-os-4652-1 2025-11-05 17:31:36,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4951a31c-9b5f-416d-922c-4b4c73cd8fc9 2025-11-05 17:31:36,717 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4951a31c-9b5f-416d-922c-4b4c73cd8fc9 2025-11-05 17:31:36,755 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/80c3881c-2977-4522-8089-5bc765c91a33 2025-11-05 17:31:40,005 - 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 1003ms') 2025-11-05 17:31:40,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61188293 failed! 2025-11-05 17:31:40,064 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-92230921:ctest-vn1-98999167 is 43.231.2.129 and allocation pool is NOT set 2025-11-05 17:31:42,130 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.89 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 = 2.887/3.683/4.480/0.796 ms') 2025-11-05 17:31:42,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61188293 passed 2025-11-05 17:31:42,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:42,292 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61188293, IP 43.231.2.131, Port 22 2025-11-05 17:31:42,358 - 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-05 17:31:42,452 - DEBUG - VM ctest-vn1-vm1-61188293 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 17:31:47,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:47,453 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61188293, IP 43.231.2.131, Port 22 2025-11-05 17:31:47,650 - DEBUG - VM ctest-vn1-vm1-61188293 is ready for SSH connections 2025-11-05 17:31:47,650 - INFO - Waiting for VM ctest-vn2-vm1-35035297 to be up.. 2025-11-05 17:31:47,813 - DEBUG - VM is in ACTIVE state now 2025-11-05 17:31:47,813 - INFO - VM name : ctest-vn2-vm1-35035297 2025-11-05 17:31:47,938 - DEBUG - VM ctest-vn2-vm1-35035297 ID is 68693a02-aff8-4ceb-8fee-96dc8ddc3b5a 2025-11-05 17:31:47,939 - DEBUG - VM ctest-vn2-vm1-35035297 launched on Node cn-jenkins-deploy-platform-ansible-os-4652-1 2025-11-05 17:31:48,053 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/68693a02-aff8-4ceb-8fee-96dc8ddc3b5a 2025-11-05 17:31:48,069 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1fa34eb1-643b-4a41-a153-ece913d7b739 2025-11-05 17:31:49,329 - 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=4.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/2.366/4.238/1.872 ms') 2025-11-05 17:31:49,329 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-35035297 passed 2025-11-05 17:31:49,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:49,500 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-35035297, IP 79.74.185.195, Port 22 2025-11-05 17:31:49,682 - DEBUG - VM ctest-vn2-vm1-35035297 is ready for SSH connections 2025-11-05 17:31:49,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:49,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.74.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 17:31:49,682 - DEBUG - ping -s 56 -c 3 -W 1 79.74.185.195 2025-11-05 17:31:54,801 - DEBUG - PING 79.74.185.195 (79.74.185.195): 56 data bytes --- 79.74.185.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 17:31:54,801 - WARNING - Ping to IP 79.74.185.195 from VM ctest-vn1-vm1-61188293 failed 2025-11-05 17:31:54,801 - INFO - Adding interface with subnet_id 7469f614-33f2-45b7-b15b-c9c0149aa032, port_id None to router 07d49cd7-92e1-4652-bf6a-9c4086454a2a 2025-11-05 17:31:55,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:55,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.74.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 17:31:55,136 - DEBUG - ping -s 56 -c 3 -W 1 79.74.185.195 2025-11-05 17:31:58,352 - DEBUG - PING 79.74.185.195 (79.74.185.195): 56 data bytes 64 bytes from 79.74.185.195: seq=1 ttl=63 time=2.774 ms 64 bytes from 79.74.185.195: seq=2 ttl=63 time=1.236 ms --- 79.74.185.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.236/2.005/2.774 ms 2025-11-05 17:31:58,352 - WARNING - Ping to IP 79.74.185.195 from VM ctest-vn1-vm1-61188293 failed 2025-11-05 17:31:59,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.74.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 17:31:59,353 - DEBUG - ping -s 56 -c 3 -W 1 79.74.185.195 2025-11-05 17:32:01,603 - DEBUG - PING 79.74.185.195 (79.74.185.195): 56 data bytes 64 bytes from 79.74.185.195: seq=0 ttl=63 time=1.861 ms 64 bytes from 79.74.185.195: seq=1 ttl=63 time=1.525 ms 64 bytes from 79.74.185.195: seq=2 ttl=63 time=1.076 ms --- 79.74.185.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.076/1.487/1.861 ms 2025-11-05 17:32:01,603 - INFO - Ping to IP 79.74.185.195 from VM ctest-vn1-vm1-61188293 passed 2025-11-05 17:32:01,604 - INFO - Deleting interface with subnet_id fad52c2b-0373-4011-8d4f-33ff6f301f07, port_id None from router 07d49cd7-92e1-4652-bf6a-9c4086454a2a 2025-11-05 17:32:01,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:32:01,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.74.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 17:32:01,754 - DEBUG - ping -s 56 -c 3 -W 1 79.74.185.195 2025-11-05 17:32:04,997 - DEBUG - PING 79.74.185.195 (79.74.185.195): 56 data bytes --- 79.74.185.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 17:32:04,997 - WARNING - Ping to IP 79.74.185.195 from VM ctest-vn1-vm1-61188293 failed 2025-11-05 17:32:04,997 - INFO - Adding interface with subnet_id fad52c2b-0373-4011-8d4f-33ff6f301f07, port_id None to router 07d49cd7-92e1-4652-bf6a-9c4086454a2a 2025-11-05 17:32:05,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:32:05,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.74.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 17:32:05,231 - DEBUG - ping -s 56 -c 3 -W 1 79.74.185.195 2025-11-05 17:32:07,473 - DEBUG - PING 79.74.185.195 (79.74.185.195): 56 data bytes 64 bytes from 79.74.185.195: seq=0 ttl=63 time=1.591 ms 64 bytes from 79.74.185.195: seq=1 ttl=63 time=1.157 ms 64 bytes from 79.74.185.195: seq=2 ttl=63 time=1.287 ms --- 79.74.185.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.157/1.345/1.591 ms 2025-11-05 17:32:07,473 - INFO - Ping to IP 79.74.185.195 from VM ctest-vn1-vm1-61188293 passed 2025-11-05 17:32:07,473 - INFO - Deleting interface with subnet_id 7469f614-33f2-45b7-b15b-c9c0149aa032, port_id None from router 07d49cd7-92e1-4652-bf6a-9c4086454a2a 2025-11-05 17:32:07,656 - INFO - Deleting interface with subnet_id fad52c2b-0373-4011-8d4f-33ff6f301f07, port_id None from router 07d49cd7-92e1-4652-bf6a-9c4086454a2a 2025-11-05 17:32:07,854 - INFO - Deleting VM ctest-vn2-vm1-35035297 2025-11-05 17:32:07,924 - INFO - Deleting VM ctest-vn1-vm1-61188293 2025-11-05 17:32:08,019 - INFO - Deleting VN ctest-vn2-71034174 2025-11-05 17:32:08,069 - DEBUG - VN a216097b-4193-413c-974c-314b3795476d still in use: Unable to complete operation on network a216097b-4193-413c-974c-314b3795476d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03a4634b-66dd-4187-aedc-3c008c0c6192'] 2025-11-05 17:32:08,069 - WARNING - Deleting VN ctest-vn2-71034174 failed..Will retry 2025-11-05 17:32:10,208 - DEBUG - Response for deleting network () 2025-11-05 17:32:10,209 - INFO - Deleting VN ctest-vn1-98999167 2025-11-05 17:32:10,321 - DEBUG - Response for deleting network () 2025-11-05 17:32:10,581 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 17:32:10,581 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-11-05 17:32:10,581 - INFO - -------------------------------------------------------------------------------- 2025-11-05 17:32:11,299 - INFO - Deleted project: ctest-TestRouters-92230921, ID : 74719571-59dc-436d-8712-1e7bbeb95c23