2025-08-19 21:02:17,271 - INFO - Domain Default found not creating 2025-08-19 21:02:17,422 - INFO - Project ctest-TestRouters-43160159 not found, creating it 2025-08-19 21:02:17,874 - INFO - Created Project:ctest-TestRouters-43160159, ID : 883e2464-a6fc-436c-96c5-9af648c8e775 2025-08-19 21:02:19,243 - INFO - ================================================================================ 2025-08-19 21:02:19,244 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-19 21:02:19,244 - 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-08-19 21:02:19,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-19 21:02:19,495 - INFO - Initial checks done. Running the testcase now 2025-08-19 21:02:19,495 - INFO - 2025-08-19 21:02:20,041 - DEBUG - Response for create_network : {'network': {'id': '26877b10-fc17-401a-b1d8-63709eb4c199', 'name': 'ctest-vn1-47550085', 'tenant_id': '883e2464a6fc436c96c59af648c8e775', 'project_id': '883e2464a6fc436c96c59af648c8e775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43160159', 'ctest-vn1-47550085'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:02:20,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afcf05ee-b695-4b3c-9726-4a2219cecbe1', 'name': '', 'tenant_id': '883e2464a6fc436c96c59af648c8e775', 'network_id': '26877b10-fc17-401a-b1d8-63709eb4c199', 'ip_version': 4, 'cidr': '147.83.178.128/26', 'allocation_pools': [{'start': '147.83.178.130', 'end': '147.83.178.190'}], 'gateway_ip': '147.83.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.83.178.130', 'tags': [], 'project_id': '883e2464a6fc436c96c59af648c8e775'}} 2025-08-19 21:02:20,254 - INFO - Created VN ctest-vn1-47550085 2025-08-19 21:02:20,307 - DEBUG - VN ctest-vn1-47550085 UUID is 26877b10-fc17-401a-b1d8-63709eb4c199 2025-08-19 21:02:20,629 - DEBUG - Response for create_network : {'network': {'id': '3320605d-a194-4b30-9ad5-0e7407ee0388', 'name': 'ctest-vn2-91096763', 'tenant_id': '883e2464a6fc436c96c59af648c8e775', 'project_id': '883e2464a6fc436c96c59af648c8e775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43160159', 'ctest-vn2-91096763'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:02:20,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '75b65233-b695-41dc-870d-9b65db87ae26', 'name': '', 'tenant_id': '883e2464a6fc436c96c59af648c8e775', 'network_id': '3320605d-a194-4b30-9ad5-0e7407ee0388', 'ip_version': 4, 'cidr': '81.67.71.0/26', 'allocation_pools': [{'start': '81.67.71.2', 'end': '81.67.71.62'}], 'gateway_ip': '81.67.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.67.71.2', 'tags': [], 'project_id': '883e2464a6fc436c96c59af648c8e775'}} 2025-08-19 21:02:20,851 - INFO - Created VN ctest-vn2-91096763 2025-08-19 21:02:20,902 - DEBUG - VN ctest-vn2-91096763 UUID is 3320605d-a194-4b30-9ad5-0e7407ee0388 2025-08-19 21:02:21,127 - DEBUG - Services list from nova: [, , ] 2025-08-19 21:02:22,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3888-1) 2025-08-19 21:02:23,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3888-1) 2025-08-19 21:02:23,376 - INFO - Adding interface with subnet_id afcf05ee-b695-4b3c-9726-4a2219cecbe1, port_id None to router 0581eccc-3eba-47b9-bb85-6181a7ca5158 2025-08-19 21:02:23,696 - INFO - Waiting for VM ctest-vn1-vm1-27133752 to be up.. 2025-08-19 21:02:23,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 21:02:28,889 - DEBUG - VM is in ACTIVE state now 2025-08-19 21:02:28,889 - INFO - VM name : ctest-vn1-vm1-27133752 2025-08-19 21:02:28,962 - DEBUG - VM ctest-vn1-vm1-27133752 ID is e1bca5cf-34b7-41fb-848d-7b8746aafeb0 2025-08-19 21:02:28,983 - DEBUG - VM ctest-vn1-vm1-27133752 launched on Node cn-jenkins-deploy-platform-ansible-os-3888-1. 2025-08-19 21:02:29,054 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e1bca5cf-34b7-41fb-848d-7b8746aafeb0 2025-08-19 21:02:29,372 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e1bca5cf-34b7-41fb-848d-7b8746aafeb0 2025-08-19 21:02:29,404 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cc22c18c-9159-4d22-8381-79ba3ca9ca7e 2025-08-19 21:02:32,656 - 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=2 ttl=63 time=11.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 11.206/11.206/11.206/0.000 ms') 2025-08-19 21:02:32,656 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27133752 passed 2025-08-19 21:02:32,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:32,815 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27133752, IP 147.83.178.131, Port 22 2025-08-19 21:02:32,966 - DEBUG - VM ctest-vn1-vm1-27133752 is ready for SSH connections 2025-08-19 21:02:32,966 - INFO - Waiting for VM ctest-vn2-vm1-08967459 to be up.. 2025-08-19 21:02:33,044 - DEBUG - VM is in ACTIVE state now 2025-08-19 21:02:33,044 - INFO - VM name : ctest-vn2-vm1-08967459 2025-08-19 21:02:33,123 - DEBUG - VM ctest-vn2-vm1-08967459 ID is 1cb11e22-aaf7-4599-9563-0eda94d19be1 2025-08-19 21:02:33,123 - DEBUG - VM ctest-vn2-vm1-08967459 launched on Node cn-jenkins-deploy-platform-ansible-os-3888-1. 2025-08-19 21:02:33,190 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1cb11e22-aaf7-4599-9563-0eda94d19be1 2025-08-19 21:02:33,197 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3b415d3b-f227-471d-9b34-b7be2f173265 2025-08-19 21:02:34,434 - 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=8.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/4.609/8.837/4.228 ms') 2025-08-19 21:02:34,434 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08967459 passed 2025-08-19 21:02:34,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:34,579 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08967459, IP 81.67.71.3, Port 22 2025-08-19 21:02:34,734 - DEBUG - VM ctest-vn2-vm1-08967459 is ready for SSH connections 2025-08-19 21:02:34,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:34,734 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.67.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 21:02:34,734 - DEBUG - ping -s 56 -c 3 -W 1 81.67.71.3 2025-08-19 21:02:39,381 - DEBUG - PING 81.67.71.3 (81.67.71.3): 56 data bytes --- 81.67.71.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 21:02:39,382 - WARNING - Ping to IP 81.67.71.3 from VM ctest-vn1-vm1-27133752 failed 2025-08-19 21:02:39,382 - INFO - Adding interface with subnet_id 75b65233-b695-41dc-870d-9b65db87ae26, port_id None to router 0581eccc-3eba-47b9-bb85-6181a7ca5158 2025-08-19 21:02:39,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:39,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.67.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 21:02:39,658 - DEBUG - ping -s 56 -c 3 -W 1 81.67.71.3 2025-08-19 21:02:41,855 - DEBUG - PING 81.67.71.3 (81.67.71.3): 56 data bytes 64 bytes from 81.67.71.3: seq=0 ttl=63 time=2.273 ms 64 bytes from 81.67.71.3: seq=1 ttl=63 time=0.796 ms 64 bytes from 81.67.71.3: seq=2 ttl=63 time=0.893 ms --- 81.67.71.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.320/2.273 ms 2025-08-19 21:02:41,856 - INFO - Ping to IP 81.67.71.3 from VM ctest-vn1-vm1-27133752 passed 2025-08-19 21:02:41,856 - INFO - Deleting interface with subnet_id afcf05ee-b695-4b3c-9726-4a2219cecbe1, port_id None from router 0581eccc-3eba-47b9-bb85-6181a7ca5158 2025-08-19 21:02:41,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:41,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.67.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 21:02:41,975 - DEBUG - ping -s 56 -c 3 -W 1 81.67.71.3 2025-08-19 21:02:45,180 - DEBUG - PING 81.67.71.3 (81.67.71.3): 56 data bytes --- 81.67.71.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 21:02:45,180 - WARNING - Ping to IP 81.67.71.3 from VM ctest-vn1-vm1-27133752 failed 2025-08-19 21:02:45,180 - INFO - Adding interface with subnet_id afcf05ee-b695-4b3c-9726-4a2219cecbe1, port_id None to router 0581eccc-3eba-47b9-bb85-6181a7ca5158 2025-08-19 21:02:45,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:02:45,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.67.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 21:02:45,426 - DEBUG - ping -s 56 -c 3 -W 1 81.67.71.3 2025-08-19 21:02:47,617 - DEBUG - PING 81.67.71.3 (81.67.71.3): 56 data bytes 64 bytes from 81.67.71.3: seq=0 ttl=63 time=1.423 ms 64 bytes from 81.67.71.3: seq=1 ttl=63 time=0.890 ms 64 bytes from 81.67.71.3: seq=2 ttl=63 time=0.893 ms --- 81.67.71.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/1.068/1.423 ms 2025-08-19 21:02:47,617 - INFO - Ping to IP 81.67.71.3 from VM ctest-vn1-vm1-27133752 passed 2025-08-19 21:02:47,617 - INFO - Deleting interface with subnet_id 75b65233-b695-41dc-870d-9b65db87ae26, port_id None from router 0581eccc-3eba-47b9-bb85-6181a7ca5158 2025-08-19 21:02:47,784 - INFO - Deleting interface with subnet_id afcf05ee-b695-4b3c-9726-4a2219cecbe1, port_id None from router 0581eccc-3eba-47b9-bb85-6181a7ca5158 2025-08-19 21:02:47,938 - INFO - Deleting VM ctest-vn2-vm1-08967459 2025-08-19 21:02:48,000 - INFO - Deleting VM ctest-vn1-vm1-27133752 2025-08-19 21:02:48,070 - INFO - Deleting VN ctest-vn2-91096763 2025-08-19 21:02:48,105 - DEBUG - VN 3320605d-a194-4b30-9ad5-0e7407ee0388 still in use: Unable to complete operation on network 3320605d-a194-4b30-9ad5-0e7407ee0388. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d39fa2d9-b5d9-4ebc-93f1-6757dd89ef1b'] 2025-08-19 21:02:48,106 - WARNING - Deleting VN ctest-vn2-91096763 failed..Will retry 2025-08-19 21:02:50,204 - DEBUG - Response for deleting network () 2025-08-19 21:02:50,204 - INFO - Deleting VN ctest-vn1-47550085 2025-08-19 21:02:50,317 - DEBUG - Response for deleting network () 2025-08-19 21:02:50,574 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 21:02:50,574 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31] 2025-08-19 21:02:50,574 - INFO - -------------------------------------------------------------------------------- 2025-08-19 21:02:51,209 - INFO - Deleted project: ctest-TestRouters-43160159, ID : 883e2464-a6fc-436c-96c5-9af648c8e775