2025-10-08 13:30:05,741 - INFO - Domain Default found not creating 2025-10-08 13:30:05,873 - INFO - Project ctest-TestRouters-49716334 not found, creating it 2025-10-08 13:30:06,396 - INFO - Created Project:ctest-TestRouters-49716334, ID : 99f671fe-7fb7-4771-81e6-ad9339bfe2c3 2025-10-08 13:30:07,810 - INFO - ================================================================================ 2025-10-08 13:30:07,811 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-08 13:30:07,811 - 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-08 13:30:09,095 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.14': '0', '10.20.0.25': '0'}} with 2025-10-08 13:30:09,095 - INFO - Initial checks done. Running the testcase now 2025-10-08 13:30:09,095 - INFO - 2025-10-08 13:30:09,793 - DEBUG - Response for create_network : {'network': {'id': '17a9933d-5019-4b6e-bdc4-e25345a5a402', 'name': 'ctest-vn1-55776505', 'tenant_id': '99f671fe7fb7477181e6ad9339bfe2c3', 'project_id': '99f671fe7fb7477181e6ad9339bfe2c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-49716334', 'ctest-vn1-55776505'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 13:30:10,036 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7ea1743-c417-42de-915f-e35606bb291c', 'name': '', 'tenant_id': '99f671fe7fb7477181e6ad9339bfe2c3', 'network_id': '17a9933d-5019-4b6e-bdc4-e25345a5a402', 'ip_version': 4, 'cidr': '133.36.73.192/26', 'allocation_pools': [{'start': '133.36.73.194', 'end': '133.36.73.254'}], 'gateway_ip': '133.36.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.36.73.194', 'tags': [], 'project_id': '99f671fe7fb7477181e6ad9339bfe2c3'}} 2025-10-08 13:30:10,062 - INFO - Created VN ctest-vn1-55776505 2025-10-08 13:30:10,076 - DEBUG - VN ctest-vn1-55776505 UUID is 17a9933d-5019-4b6e-bdc4-e25345a5a402 2025-10-08 13:30:10,490 - DEBUG - Response for create_network : {'network': {'id': '6c8d7200-4d0c-473c-a6e1-ce1086fe78e7', 'name': 'ctest-vn2-28910187', 'tenant_id': '99f671fe7fb7477181e6ad9339bfe2c3', 'project_id': '99f671fe7fb7477181e6ad9339bfe2c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-49716334', 'ctest-vn2-28910187'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 13:30:10,758 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1a806b9-4fa1-4671-b711-327accfdd42d', 'name': '', 'tenant_id': '99f671fe7fb7477181e6ad9339bfe2c3', 'network_id': '6c8d7200-4d0c-473c-a6e1-ce1086fe78e7', 'ip_version': 4, 'cidr': '195.142.99.192/26', 'allocation_pools': [{'start': '195.142.99.194', 'end': '195.142.99.254'}], 'gateway_ip': '195.142.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.142.99.194', 'tags': [], 'project_id': '99f671fe7fb7477181e6ad9339bfe2c3'}} 2025-10-08 13:30:10,778 - INFO - Created VN ctest-vn2-28910187 2025-10-08 13:30:10,789 - DEBUG - VN ctest-vn2-28910187 UUID is 6c8d7200-4d0c-473c-a6e1-ce1086fe78e7 2025-10-08 13:30:10,948 - DEBUG - Services list from nova: [, , , ] 2025-10-08 13:30:11,904 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-2) 2025-10-08 13:30:13,223 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-1) 2025-10-08 13:30:13,335 - INFO - Adding interface with subnet_id b7ea1743-c417-42de-915f-e35606bb291c, port_id None to router 5b1fd605-f98b-40b6-9416-91fce4403232 2025-10-08 13:30:13,785 - INFO - Waiting for VM ctest-vn1-vm1-96626746 to be up.. 2025-10-08 13:30:13,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 13:30:19,038 - DEBUG - VM is in ACTIVE state now 2025-10-08 13:30:19,038 - INFO - VM name : ctest-vn1-vm1-96626746 2025-10-08 13:30:19,123 - DEBUG - VM ctest-vn1-vm1-96626746 ID is 6c6db8bc-b35b-4c52-b8c3-2ffdf79dfb2e 2025-10-08 13:30:19,145 - DEBUG - VM ctest-vn1-vm1-96626746 launched on Node an-jenkins-deploy-platform-ansible-os-4234-2 2025-10-08 13:30:19,230 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/6c6db8bc-b35b-4c52-b8c3-2ffdf79dfb2e 2025-10-08 13:30:19,524 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/6c6db8bc-b35b-4c52-b8c3-2ffdf79dfb2e 2025-10-08 13:30:19,556 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/5aa04ce3-1eff-4a7e-8aa2-d397d9c5c2d0 2025-10-08 13:30:22,749 - 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 1014ms') 2025-10-08 13:30:22,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96626746 failed! 2025-10-08 13:30:22,769 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-49716334:ctest-vn1-55776505 is 133.36.73.193 and allocation pool is NOT set 2025-10-08 13:30:26,843 - 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=4.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 4.042/4.042/4.042/0.000 ms') 2025-10-08 13:30:26,843 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96626746 passed 2025-10-08 13:30:26,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:30:26,913 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96626746, IP 133.36.73.195, Port 22 2025-10-08 13:30:27,087 - DEBUG - VM ctest-vn1-vm1-96626746 is ready for SSH connections 2025-10-08 13:30:27,087 - INFO - Waiting for VM ctest-vn2-vm1-70786970 to be up.. 2025-10-08 13:30:27,172 - DEBUG - VM is in ACTIVE state now 2025-10-08 13:30:27,172 - INFO - VM name : ctest-vn2-vm1-70786970 2025-10-08 13:30:27,252 - DEBUG - VM ctest-vn2-vm1-70786970 ID is 4ed582d1-65b3-487d-8758-a647bc794c12 2025-10-08 13:30:27,252 - DEBUG - VM ctest-vn2-vm1-70786970 launched on Node an-jenkins-deploy-platform-ansible-os-4234-1 2025-10-08 13:30:27,336 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/4ed582d1-65b3-487d-8758-a647bc794c12 2025-10-08 13:30:27,346 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/6ee2058b-cccd-4a17-9c7e-fe61e24c7c35 2025-10-08 13:30:28,540 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.45 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 = 3.449/4.136/4.823/0.687 ms') 2025-10-08 13:30:28,540 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-70786970 passed 2025-10-08 13:30:28,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:30:28,613 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-70786970, IP 195.142.99.195, Port 22 2025-10-08 13:30:28,812 - DEBUG - VM ctest-vn2-vm1-70786970 is ready for SSH connections 2025-10-08 13:30:28,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:30:28,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.142.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-08 13:30:28,812 - DEBUG - ping -s 56 -c 3 -W 1 195.142.99.195 2025-10-08 13:30:32,922 - DEBUG - PING 195.142.99.195 (195.142.99.195): 56 data bytes --- 195.142.99.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 13:30:32,922 - WARNING - Ping to IP 195.142.99.195 from VM ctest-vn1-vm1-96626746 failed 2025-10-08 13:30:32,922 - INFO - Adding interface with subnet_id b1a806b9-4fa1-4671-b711-327accfdd42d, port_id None to router 5b1fd605-f98b-40b6-9416-91fce4403232 2025-10-08 13:30:33,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:30:33,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.142.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-08 13:30:33,342 - DEBUG - ping -s 56 -c 3 -W 1 195.142.99.195 2025-10-08 13:30:36,583 - DEBUG - PING 195.142.99.195 (195.142.99.195): 56 data bytes 64 bytes from 195.142.99.195: seq=1 ttl=63 time=6.168 ms 64 bytes from 195.142.99.195: seq=2 ttl=63 time=1.559 ms --- 195.142.99.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.559/3.863/6.168 ms 2025-10-08 13:30:36,584 - WARNING - Ping to IP 195.142.99.195 from VM ctest-vn1-vm1-96626746 failed 2025-10-08 13:30:37,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.142.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-08 13:30:37,585 - DEBUG - ping -s 56 -c 3 -W 1 195.142.99.195 2025-10-08 13:30:39,819 - DEBUG - PING 195.142.99.195 (195.142.99.195): 56 data bytes 64 bytes from 195.142.99.195: seq=0 ttl=63 time=3.548 ms 64 bytes from 195.142.99.195: seq=1 ttl=63 time=1.634 ms 64 bytes from 195.142.99.195: seq=2 ttl=63 time=1.527 ms --- 195.142.99.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.527/2.236/3.548 ms 2025-10-08 13:30:39,819 - INFO - Ping to IP 195.142.99.195 from VM ctest-vn1-vm1-96626746 passed 2025-10-08 13:30:39,819 - INFO - Deleting interface with subnet_id b7ea1743-c417-42de-915f-e35606bb291c, port_id None from router 5b1fd605-f98b-40b6-9416-91fce4403232 2025-10-08 13:30:40,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:30:40,089 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.142.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-08 13:30:40,090 - DEBUG - ping -s 56 -c 3 -W 1 195.142.99.195 2025-10-08 13:30:43,341 - DEBUG - PING 195.142.99.195 (195.142.99.195): 56 data bytes --- 195.142.99.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 13:30:43,341 - WARNING - Ping to IP 195.142.99.195 from VM ctest-vn1-vm1-96626746 failed 2025-10-08 13:30:43,341 - INFO - Adding interface with subnet_id b7ea1743-c417-42de-915f-e35606bb291c, port_id None to router 5b1fd605-f98b-40b6-9416-91fce4403232 2025-10-08 13:30:43,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:30:43,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.142.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-08 13:30:43,757 - DEBUG - ping -s 56 -c 3 -W 1 195.142.99.195 2025-10-08 13:30:45,991 - DEBUG - PING 195.142.99.195 (195.142.99.195): 56 data bytes 64 bytes from 195.142.99.195: seq=0 ttl=63 time=4.150 ms 64 bytes from 195.142.99.195: seq=1 ttl=63 time=1.678 ms 64 bytes from 195.142.99.195: seq=2 ttl=63 time=1.435 ms --- 195.142.99.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.435/2.421/4.150 ms 2025-10-08 13:30:45,992 - INFO - Ping to IP 195.142.99.195 from VM ctest-vn1-vm1-96626746 passed 2025-10-08 13:30:45,992 - INFO - Deleting interface with subnet_id b1a806b9-4fa1-4671-b711-327accfdd42d, port_id None from router 5b1fd605-f98b-40b6-9416-91fce4403232 2025-10-08 13:30:46,181 - INFO - Deleting interface with subnet_id b7ea1743-c417-42de-915f-e35606bb291c, port_id None from router 5b1fd605-f98b-40b6-9416-91fce4403232 2025-10-08 13:30:46,477 - INFO - Deleting VM ctest-vn2-vm1-70786970 2025-10-08 13:30:46,561 - INFO - Deleting VM ctest-vn1-vm1-96626746 2025-10-08 13:30:46,615 - INFO - Deleting VN ctest-vn2-28910187 2025-10-08 13:30:46,654 - DEBUG - VN 6c8d7200-4d0c-473c-a6e1-ce1086fe78e7 still in use: Unable to complete operation on network 6c8d7200-4d0c-473c-a6e1-ce1086fe78e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35b0bf9e-dbc1-48e5-a4cf-fbbc5c0a5709'] 2025-10-08 13:30:46,654 - WARNING - Deleting VN ctest-vn2-28910187 failed..Will retry 2025-10-08 13:30:48,813 - DEBUG - Response for deleting network () 2025-10-08 13:30:48,813 - INFO - Deleting VN ctest-vn1-55776505 2025-10-08 13:30:48,990 - DEBUG - Response for deleting network () 2025-10-08 13:30:50,280 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 13:30:50,280 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-10-08 13:30:50,280 - INFO - -------------------------------------------------------------------------------- 2025-10-08 13:30:51,028 - INFO - Deleted project: ctest-TestRouters-49716334, ID : 99f671fe-7fb7-4771-81e6-ad9339bfe2c3