2025-11-20 01:57:00,119 - INFO - Domain Default found not creating 2025-11-20 01:57:00,275 - INFO - Project ctest-TestRouters-99005770 not found, creating it 2025-11-20 01:57:00,729 - INFO - Created Project:ctest-TestRouters-99005770, ID : 5e055f75-ddf0-4f24-b373-ac0043d70ffb 2025-11-20 01:57:02,209 - INFO - ================================================================================ 2025-11-20 01:57:02,209 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-20 01:57:02,209 - 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-20 01:57:02,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.241': '0'}} with 2025-11-20 01:57:02,468 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:57:02,468 - INFO - 2025-11-20 01:57:03,024 - DEBUG - Response for create_network : {'network': {'id': 'cb5731ba-e9c3-4975-89ae-8561f1eea35e', 'name': 'ctest-vn1-74775427', 'tenant_id': '5e055f75ddf04f24b373ac0043d70ffb', 'project_id': '5e055f75ddf04f24b373ac0043d70ffb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99005770', 'ctest-vn1-74775427'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:57:03,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '750fe646-8cda-49b8-83d4-58575f024ef4', 'name': '', 'tenant_id': '5e055f75ddf04f24b373ac0043d70ffb', 'network_id': 'cb5731ba-e9c3-4975-89ae-8561f1eea35e', 'ip_version': 4, 'cidr': '42.4.8.64/26', 'allocation_pools': [{'start': '42.4.8.66', 'end': '42.4.8.126'}], 'gateway_ip': '42.4.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.4.8.66', 'tags': [], 'project_id': '5e055f75ddf04f24b373ac0043d70ffb'}} 2025-11-20 01:57:03,224 - INFO - Created VN ctest-vn1-74775427 2025-11-20 01:57:03,279 - DEBUG - VN ctest-vn1-74775427 UUID is cb5731ba-e9c3-4975-89ae-8561f1eea35e 2025-11-20 01:57:03,607 - DEBUG - Response for create_network : {'network': {'id': '9cffe548-d825-4748-a92f-3a2fa94f44e9', 'name': 'ctest-vn2-67519227', 'tenant_id': '5e055f75ddf04f24b373ac0043d70ffb', 'project_id': '5e055f75ddf04f24b373ac0043d70ffb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99005770', 'ctest-vn2-67519227'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:57:03,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '19d97db9-d97e-4f13-848f-899ef8a897aa', 'name': '', 'tenant_id': '5e055f75ddf04f24b373ac0043d70ffb', 'network_id': '9cffe548-d825-4748-a92f-3a2fa94f44e9', 'ip_version': 4, 'cidr': '62.251.141.192/26', 'allocation_pools': [{'start': '62.251.141.194', 'end': '62.251.141.254'}], 'gateway_ip': '62.251.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.251.141.194', 'tags': [], 'project_id': '5e055f75ddf04f24b373ac0043d70ffb'}} 2025-11-20 01:57:03,812 - INFO - Created VN ctest-vn2-67519227 2025-11-20 01:57:03,867 - DEBUG - VN ctest-vn2-67519227 UUID is 9cffe548-d825-4748-a92f-3a2fa94f44e9 2025-11-20 01:57:04,131 - DEBUG - Services list from nova: [, , ] 2025-11-20 01:57:05,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4771-1) 2025-11-20 01:57:06,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4771-1) 2025-11-20 01:57:06,486 - INFO - Adding interface with subnet_id 750fe646-8cda-49b8-83d4-58575f024ef4, port_id None to router 03b51b56-4d29-401f-aae9-786d7791a05f 2025-11-20 01:57:06,777 - INFO - Waiting for VM ctest-vn1-vm1-76684052 to be up.. 2025-11-20 01:57:06,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 01:57:11,958 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:57:11,958 - INFO - VM name : ctest-vn1-vm1-76684052 2025-11-20 01:57:12,032 - DEBUG - VM ctest-vn1-vm1-76684052 ID is a4b56d90-0914-4422-9a03-d091776c0d2d 2025-11-20 01:57:12,052 - DEBUG - VM ctest-vn1-vm1-76684052 launched on Node cn-jenkins-deploy-platform-ansible-os-4771-1 2025-11-20 01:57:12,146 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a4b56d90-0914-4422-9a03-d091776c0d2d 2025-11-20 01:57:12,461 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a4b56d90-0914-4422-9a03-d091776c0d2d 2025-11-20 01:57:12,499 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/87de0405-50e1-4650-954f-3c9650f2343b 2025-11-20 01:57:15,758 - 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 1023ms') 2025-11-20 01:57:15,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76684052 failed! 2025-11-20 01:57:15,811 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99005770:ctest-vn1-74775427 is 42.4.8.65 and allocation pool is NOT set 2025-11-20 01:57:17,868 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.299 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.299/2.032/3.766/1.733 ms') 2025-11-20 01:57:17,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76684052 passed 2025-11-20 01:57:18,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:57:18,019 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76684052, IP 42.4.8.67, Port 22 2025-11-20 01:57:18,178 - DEBUG - VM ctest-vn1-vm1-76684052 is ready for SSH connections 2025-11-20 01:57:18,178 - INFO - Waiting for VM ctest-vn2-vm1-37575501 to be up.. 2025-11-20 01:57:18,250 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:57:18,250 - INFO - VM name : ctest-vn2-vm1-37575501 2025-11-20 01:57:18,322 - DEBUG - VM ctest-vn2-vm1-37575501 ID is e94eec12-a5b1-4a42-8a44-e7e899bb0a69 2025-11-20 01:57:18,322 - DEBUG - VM ctest-vn2-vm1-37575501 launched on Node cn-jenkins-deploy-platform-ansible-os-4771-1 2025-11-20 01:57:18,391 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e94eec12-a5b1-4a42-8a44-e7e899bb0a69 2025-11-20 01:57:18,398 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/9d7f5acf-5c27-4885-9f21-dd03c5e3b84d 2025-11-20 01:57:19,629 - 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.463 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.463/1.783/3.103/1.320 ms') 2025-11-20 01:57:19,629 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-37575501 passed 2025-11-20 01:57:19,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:57:19,783 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-37575501, IP 62.251.141.195, Port 22 2025-11-20 01:57:19,938 - DEBUG - VM ctest-vn2-vm1-37575501 is ready for SSH connections 2025-11-20 01:57:19,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:57:19,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.251.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:57:19,939 - DEBUG - ping -s 56 -c 3 -W 1 62.251.141.195 2025-11-20 01:57:24,892 - DEBUG - PING 62.251.141.195 (62.251.141.195): 56 data bytes --- 62.251.141.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 01:57:24,892 - WARNING - Ping to IP 62.251.141.195 from VM ctest-vn1-vm1-76684052 failed 2025-11-20 01:57:24,892 - INFO - Adding interface with subnet_id 19d97db9-d97e-4f13-848f-899ef8a897aa, port_id None to router 03b51b56-4d29-401f-aae9-786d7791a05f 2025-11-20 01:57:25,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:57:25,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.251.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:57:25,131 - DEBUG - ping -s 56 -c 3 -W 1 62.251.141.195 2025-11-20 01:57:28,336 - DEBUG - PING 62.251.141.195 (62.251.141.195): 56 data bytes 64 bytes from 62.251.141.195: seq=1 ttl=63 time=2.638 ms 64 bytes from 62.251.141.195: seq=2 ttl=63 time=1.414 ms --- 62.251.141.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.414/2.026/2.638 ms 2025-11-20 01:57:28,336 - WARNING - Ping to IP 62.251.141.195 from VM ctest-vn1-vm1-76684052 failed 2025-11-20 01:57:29,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.251.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:57:29,337 - DEBUG - ping -s 56 -c 3 -W 1 62.251.141.195 2025-11-20 01:57:31,541 - DEBUG - PING 62.251.141.195 (62.251.141.195): 56 data bytes 64 bytes from 62.251.141.195: seq=0 ttl=63 time=1.796 ms 64 bytes from 62.251.141.195: seq=1 ttl=63 time=0.908 ms 64 bytes from 62.251.141.195: seq=2 ttl=63 time=1.114 ms --- 62.251.141.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/1.272/1.796 ms 2025-11-20 01:57:31,541 - INFO - Ping to IP 62.251.141.195 from VM ctest-vn1-vm1-76684052 passed 2025-11-20 01:57:31,541 - INFO - Deleting interface with subnet_id 750fe646-8cda-49b8-83d4-58575f024ef4, port_id None from router 03b51b56-4d29-401f-aae9-786d7791a05f 2025-11-20 01:57:31,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:57:31,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.251.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:57:31,654 - DEBUG - ping -s 56 -c 3 -W 1 62.251.141.195 2025-11-20 01:57:34,853 - DEBUG - PING 62.251.141.195 (62.251.141.195): 56 data bytes --- 62.251.141.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 01:57:34,854 - WARNING - Ping to IP 62.251.141.195 from VM ctest-vn1-vm1-76684052 failed 2025-11-20 01:57:34,854 - INFO - Adding interface with subnet_id 750fe646-8cda-49b8-83d4-58575f024ef4, port_id None to router 03b51b56-4d29-401f-aae9-786d7791a05f 2025-11-20 01:57:35,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:57:35,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.251.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:57:35,053 - DEBUG - ping -s 56 -c 3 -W 1 62.251.141.195 2025-11-20 01:57:37,248 - DEBUG - PING 62.251.141.195 (62.251.141.195): 56 data bytes 64 bytes from 62.251.141.195: seq=0 ttl=63 time=1.678 ms 64 bytes from 62.251.141.195: seq=1 ttl=63 time=1.008 ms 64 bytes from 62.251.141.195: seq=2 ttl=63 time=1.044 ms --- 62.251.141.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.008/1.243/1.678 ms 2025-11-20 01:57:37,249 - INFO - Ping to IP 62.251.141.195 from VM ctest-vn1-vm1-76684052 passed 2025-11-20 01:57:37,249 - INFO - Deleting interface with subnet_id 19d97db9-d97e-4f13-848f-899ef8a897aa, port_id None from router 03b51b56-4d29-401f-aae9-786d7791a05f 2025-11-20 01:57:37,379 - INFO - Deleting interface with subnet_id 750fe646-8cda-49b8-83d4-58575f024ef4, port_id None from router 03b51b56-4d29-401f-aae9-786d7791a05f 2025-11-20 01:57:37,563 - INFO - Deleting VM ctest-vn2-vm1-37575501 2025-11-20 01:57:37,634 - INFO - Deleting VM ctest-vn1-vm1-76684052 2025-11-20 01:57:37,720 - INFO - Deleting VN ctest-vn2-67519227 2025-11-20 01:57:37,761 - DEBUG - VN 9cffe548-d825-4748-a92f-3a2fa94f44e9 still in use: Unable to complete operation on network 9cffe548-d825-4748-a92f-3a2fa94f44e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c98d65e1-0f6b-4de0-9480-e4d220db3d0f'] 2025-11-20 01:57:37,761 - WARNING - Deleting VN ctest-vn2-67519227 failed..Will retry 2025-11-20 01:57:39,859 - DEBUG - Response for deleting network () 2025-11-20 01:57:39,859 - INFO - Deleting VN ctest-vn1-74775427 2025-11-20 01:57:39,959 - DEBUG - Response for deleting network () 2025-11-20 01:57:40,225 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 01:57:40,225 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-20 01:57:40,225 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:57:40,915 - INFO - Deleted project: ctest-TestRouters-99005770, ID : 5e055f75-ddf0-4f24-b373-ac0043d70ffb