2025-10-09 09:22:36,210 - INFO - Domain Default found not creating 2025-10-09 09:22:36,366 - INFO - Project ctest-TestRouters-25235377 not found, creating it 2025-10-09 09:22:36,813 - INFO - Created Project:ctest-TestRouters-25235377, ID : 4aac5304-c812-422f-b83c-1aff917d2980 2025-10-09 09:22:38,214 - INFO - ================================================================================ 2025-10-09 09:22:38,214 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 09:22:38,215 - 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-09 09:22:38,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 09:22:38,477 - INFO - Initial checks done. Running the testcase now 2025-10-09 09:22:38,477 - INFO - 2025-10-09 09:22:39,052 - DEBUG - Response for create_network : {'network': {'id': 'b5d9f443-bddd-4dcc-807c-00618e58b448', 'name': 'ctest-vn1-35258689', 'tenant_id': '4aac5304c812422fb83c1aff917d2980', 'project_id': '4aac5304c812422fb83c1aff917d2980', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25235377', 'ctest-vn1-35258689'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 09:22:39,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '153eee1b-23d7-4277-b9ad-d1c92405d4bb', 'name': '', 'tenant_id': '4aac5304c812422fb83c1aff917d2980', 'network_id': 'b5d9f443-bddd-4dcc-807c-00618e58b448', 'ip_version': 4, 'cidr': '143.37.142.128/26', 'allocation_pools': [{'start': '143.37.142.130', 'end': '143.37.142.190'}], 'gateway_ip': '143.37.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.37.142.130', 'tags': [], 'project_id': '4aac5304c812422fb83c1aff917d2980'}} 2025-10-09 09:22:39,232 - INFO - Created VN ctest-vn1-35258689 2025-10-09 09:22:39,283 - DEBUG - VN ctest-vn1-35258689 UUID is b5d9f443-bddd-4dcc-807c-00618e58b448 2025-10-09 09:22:39,632 - DEBUG - Response for create_network : {'network': {'id': 'f3903961-5e8b-4772-8c60-ccc830af5869', 'name': 'ctest-vn2-30487153', 'tenant_id': '4aac5304c812422fb83c1aff917d2980', 'project_id': '4aac5304c812422fb83c1aff917d2980', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25235377', 'ctest-vn2-30487153'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 09:22:39,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6b1db57-ac9c-46e9-97eb-3e9cabc8e5d9', 'name': '', 'tenant_id': '4aac5304c812422fb83c1aff917d2980', 'network_id': 'f3903961-5e8b-4772-8c60-ccc830af5869', 'ip_version': 4, 'cidr': '180.95.113.128/26', 'allocation_pools': [{'start': '180.95.113.130', 'end': '180.95.113.190'}], 'gateway_ip': '180.95.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.95.113.130', 'tags': [], 'project_id': '4aac5304c812422fb83c1aff917d2980'}} 2025-10-09 09:22:39,827 - INFO - Created VN ctest-vn2-30487153 2025-10-09 09:22:39,879 - DEBUG - VN ctest-vn2-30487153 UUID is f3903961-5e8b-4772-8c60-ccc830af5869 2025-10-09 09:22:40,128 - DEBUG - Services list from nova: [, , ] 2025-10-09 09:22:41,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4255-1) 2025-10-09 09:22:42,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4255-1) 2025-10-09 09:22:42,449 - INFO - Adding interface with subnet_id 153eee1b-23d7-4277-b9ad-d1c92405d4bb, port_id None to router cbd4984c-bd59-4008-97db-50406913ba0f 2025-10-09 09:22:42,710 - INFO - Waiting for VM ctest-vn1-vm1-70647508 to be up.. 2025-10-09 09:22:42,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 09:22:47,900 - DEBUG - VM is in ACTIVE state now 2025-10-09 09:22:47,900 - INFO - VM name : ctest-vn1-vm1-70647508 2025-10-09 09:22:47,975 - DEBUG - VM ctest-vn1-vm1-70647508 ID is cc56d38e-b9b3-4c87-8f7c-e38183629963 2025-10-09 09:22:47,993 - DEBUG - VM ctest-vn1-vm1-70647508 launched on Node cn-jenkins-deploy-platform-ansible-os-4255-1 2025-10-09 09:22:48,068 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cc56d38e-b9b3-4c87-8f7c-e38183629963 2025-10-09 09:22:48,360 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cc56d38e-b9b3-4c87-8f7c-e38183629963 2025-10-09 09:22:48,389 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/84fefdea-19c4-4637-add4-9cfcf11b5dad 2025-10-09 09:22:51,646 - 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 1022ms') 2025-10-09 09:22:51,646 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70647508 failed! 2025-10-09 09:22:51,699 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-25235377:ctest-vn1-35258689 is 143.37.142.129 and allocation pool is NOT set 2025-10-09 09:22:53,762 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.511 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 = 0.511/1.650/2.789/1.139 ms') 2025-10-09 09:22:53,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70647508 passed 2025-10-09 09:22:53,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:22:53,912 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70647508, IP 143.37.142.131, Port 22 2025-10-09 09:22:54,070 - DEBUG - VM ctest-vn1-vm1-70647508 is ready for SSH connections 2025-10-09 09:22:54,071 - INFO - Waiting for VM ctest-vn2-vm1-71991334 to be up.. 2025-10-09 09:22:54,147 - DEBUG - VM is in ACTIVE state now 2025-10-09 09:22:54,147 - INFO - VM name : ctest-vn2-vm1-71991334 2025-10-09 09:22:54,218 - DEBUG - VM ctest-vn2-vm1-71991334 ID is ba0a6e14-fc38-4249-bc9a-a31e3dbdc7c9 2025-10-09 09:22:54,218 - DEBUG - VM ctest-vn2-vm1-71991334 launched on Node cn-jenkins-deploy-platform-ansible-os-4255-1 2025-10-09 09:22:54,289 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba0a6e14-fc38-4249-bc9a-a31e3dbdc7c9 2025-10-09 09:22:54,297 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1c38f736-64fa-4863-8265-d19774aa8f0e 2025-10-09 09:22:55,532 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.708 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.708/1.946/3.184/1.238 ms') 2025-10-09 09:22:55,532 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-71991334 passed 2025-10-09 09:22:55,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:22:55,687 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-71991334, IP 180.95.113.131, Port 22 2025-10-09 09:22:55,842 - DEBUG - VM ctest-vn2-vm1-71991334 is ready for SSH connections 2025-10-09 09:22:55,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:22:55,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.95.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 09:22:55,842 - DEBUG - ping -s 56 -c 3 -W 1 180.95.113.131 2025-10-09 09:23:00,925 - DEBUG - PING 180.95.113.131 (180.95.113.131): 56 data bytes --- 180.95.113.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 09:23:00,925 - WARNING - Ping to IP 180.95.113.131 from VM ctest-vn1-vm1-70647508 failed 2025-10-09 09:23:00,925 - INFO - Adding interface with subnet_id d6b1db57-ac9c-46e9-97eb-3e9cabc8e5d9, port_id None to router cbd4984c-bd59-4008-97db-50406913ba0f 2025-10-09 09:23:01,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:23:01,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.95.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 09:23:01,171 - DEBUG - ping -s 56 -c 3 -W 1 180.95.113.131 2025-10-09 09:23:04,380 - DEBUG - PING 180.95.113.131 (180.95.113.131): 56 data bytes 64 bytes from 180.95.113.131: seq=1 ttl=63 time=3.191 ms 64 bytes from 180.95.113.131: seq=2 ttl=63 time=0.747 ms --- 180.95.113.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.747/1.969/3.191 ms 2025-10-09 09:23:04,380 - WARNING - Ping to IP 180.95.113.131 from VM ctest-vn1-vm1-70647508 failed 2025-10-09 09:23:05,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.95.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 09:23:05,381 - DEBUG - ping -s 56 -c 3 -W 1 180.95.113.131 2025-10-09 09:23:07,575 - DEBUG - PING 180.95.113.131 (180.95.113.131): 56 data bytes 64 bytes from 180.95.113.131: seq=0 ttl=63 time=1.188 ms 64 bytes from 180.95.113.131: seq=1 ttl=63 time=0.977 ms 64 bytes from 180.95.113.131: seq=2 ttl=63 time=0.924 ms --- 180.95.113.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.924/1.029/1.188 ms 2025-10-09 09:23:07,576 - INFO - Ping to IP 180.95.113.131 from VM ctest-vn1-vm1-70647508 passed 2025-10-09 09:23:07,576 - INFO - Deleting interface with subnet_id 153eee1b-23d7-4277-b9ad-d1c92405d4bb, port_id None from router cbd4984c-bd59-4008-97db-50406913ba0f 2025-10-09 09:23:07,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:23:07,696 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.95.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 09:23:07,696 - DEBUG - ping -s 56 -c 3 -W 1 180.95.113.131 2025-10-09 09:23:10,904 - DEBUG - PING 180.95.113.131 (180.95.113.131): 56 data bytes --- 180.95.113.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 09:23:10,904 - WARNING - Ping to IP 180.95.113.131 from VM ctest-vn1-vm1-70647508 failed 2025-10-09 09:23:10,904 - INFO - Adding interface with subnet_id 153eee1b-23d7-4277-b9ad-d1c92405d4bb, port_id None to router cbd4984c-bd59-4008-97db-50406913ba0f 2025-10-09 09:23:11,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:23:11,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.95.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 09:23:11,124 - DEBUG - ping -s 56 -c 3 -W 1 180.95.113.131 2025-10-09 09:23:13,331 - DEBUG - PING 180.95.113.131 (180.95.113.131): 56 data bytes 64 bytes from 180.95.113.131: seq=0 ttl=63 time=1.705 ms 64 bytes from 180.95.113.131: seq=1 ttl=63 time=1.057 ms 64 bytes from 180.95.113.131: seq=2 ttl=63 time=0.872 ms --- 180.95.113.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.211/1.705 ms 2025-10-09 09:23:13,331 - INFO - Ping to IP 180.95.113.131 from VM ctest-vn1-vm1-70647508 passed 2025-10-09 09:23:13,331 - INFO - Deleting interface with subnet_id d6b1db57-ac9c-46e9-97eb-3e9cabc8e5d9, port_id None from router cbd4984c-bd59-4008-97db-50406913ba0f 2025-10-09 09:23:13,437 - INFO - Deleting interface with subnet_id 153eee1b-23d7-4277-b9ad-d1c92405d4bb, port_id None from router cbd4984c-bd59-4008-97db-50406913ba0f 2025-10-09 09:23:13,601 - INFO - Deleting VM ctest-vn2-vm1-71991334 2025-10-09 09:23:13,681 - INFO - Deleting VM ctest-vn1-vm1-70647508 2025-10-09 09:23:13,747 - INFO - Deleting VN ctest-vn2-30487153 2025-10-09 09:23:13,783 - DEBUG - VN f3903961-5e8b-4772-8c60-ccc830af5869 still in use: Unable to complete operation on network f3903961-5e8b-4772-8c60-ccc830af5869. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91dbe658-6f10-4464-9047-18bf349eaff4'] 2025-10-09 09:23:13,784 - WARNING - Deleting VN ctest-vn2-30487153 failed..Will retry 2025-10-09 09:23:15,884 - DEBUG - Response for deleting network () 2025-10-09 09:23:15,884 - INFO - Deleting VN ctest-vn1-35258689 2025-10-09 09:23:15,994 - DEBUG - Response for deleting network () 2025-10-09 09:23:16,250 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 09:23:16,250 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-09 09:23:16,250 - INFO - -------------------------------------------------------------------------------- 2025-10-09 09:23:16,929 - INFO - Deleted project: ctest-TestRouters-25235377, ID : 4aac5304-c812-422f-b83c-1aff917d2980