2025-11-13 02:06:28,473 - INFO - Domain Default found not creating 2025-11-13 02:06:28,670 - INFO - Project ctest-TestRouters-23720110 not found, creating it 2025-11-13 02:06:29,143 - INFO - Created Project:ctest-TestRouters-23720110, ID : 8ed98a17-66ff-40d9-a192-f707e4cba202 2025-11-13 02:06:30,683 - INFO - ================================================================================ 2025-11-13 02:06:30,683 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-13 02:06:30,683 - 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-13 02:06:30,946 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-11-13 02:06:30,946 - INFO - Initial checks done. Running the testcase now 2025-11-13 02:06:30,947 - INFO - 2025-11-13 02:06:31,544 - DEBUG - Response for create_network : {'network': {'id': '9ba896bb-3d46-4df0-b6b3-d586b0e75e3c', 'name': 'ctest-vn1-91262937', 'tenant_id': '8ed98a1766ff40d9a192f707e4cba202', 'project_id': '8ed98a1766ff40d9a192f707e4cba202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23720110', 'ctest-vn1-91262937'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:06:31,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9193c42-9c44-4673-9340-ecf69f90db5b', 'name': '', 'tenant_id': '8ed98a1766ff40d9a192f707e4cba202', 'network_id': '9ba896bb-3d46-4df0-b6b3-d586b0e75e3c', 'ip_version': 4, 'cidr': '167.185.64.0/26', 'allocation_pools': [{'start': '167.185.64.2', 'end': '167.185.64.62'}], 'gateway_ip': '167.185.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.185.64.2', 'tags': [], 'project_id': '8ed98a1766ff40d9a192f707e4cba202'}} 2025-11-13 02:06:31,777 - INFO - Created VN ctest-vn1-91262937 2025-11-13 02:06:31,828 - DEBUG - VN ctest-vn1-91262937 UUID is 9ba896bb-3d46-4df0-b6b3-d586b0e75e3c 2025-11-13 02:06:32,132 - DEBUG - Response for create_network : {'network': {'id': 'cb817d63-795a-4938-9e28-bf0d4c59154d', 'name': 'ctest-vn2-28288072', 'tenant_id': '8ed98a1766ff40d9a192f707e4cba202', 'project_id': '8ed98a1766ff40d9a192f707e4cba202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23720110', 'ctest-vn2-28288072'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:06:32,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '53ebb14e-cd9e-4292-b19a-1bcd53fa69ff', 'name': '', 'tenant_id': '8ed98a1766ff40d9a192f707e4cba202', 'network_id': 'cb817d63-795a-4938-9e28-bf0d4c59154d', 'ip_version': 4, 'cidr': '130.40.14.192/26', 'allocation_pools': [{'start': '130.40.14.194', 'end': '130.40.14.254'}], 'gateway_ip': '130.40.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.40.14.194', 'tags': [], 'project_id': '8ed98a1766ff40d9a192f707e4cba202'}} 2025-11-13 02:06:32,410 - INFO - Created VN ctest-vn2-28288072 2025-11-13 02:06:32,467 - DEBUG - VN ctest-vn2-28288072 UUID is cb817d63-795a-4938-9e28-bf0d4c59154d 2025-11-13 02:06:32,643 - DEBUG - Services list from nova: [, , ] 2025-11-13 02:06:33,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4715-1) 2025-11-13 02:06:34,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4715-1) 2025-11-13 02:06:34,955 - INFO - Adding interface with subnet_id a9193c42-9c44-4673-9340-ecf69f90db5b, port_id None to router af626e0c-45c5-43da-899b-39b128dc18af 2025-11-13 02:06:35,206 - INFO - Waiting for VM ctest-vn1-vm1-01134714 to be up.. 2025-11-13 02:06:35,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 02:06:40,362 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:06:40,362 - INFO - VM name : ctest-vn1-vm1-01134714 2025-11-13 02:06:40,429 - DEBUG - VM ctest-vn1-vm1-01134714 ID is 10af95f0-ab78-4917-9ec6-c69eca969727 2025-11-13 02:06:40,460 - DEBUG - VM ctest-vn1-vm1-01134714 launched on Node cn-jenkins-deploy-platform-ansible-os-4715-1 2025-11-13 02:06:40,537 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/10af95f0-ab78-4917-9ec6-c69eca969727 2025-11-13 02:06:40,837 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/10af95f0-ab78-4917-9ec6-c69eca969727 2025-11-13 02:06:40,866 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/84e91846-4c91-4b97-aaa7-0811c8d2f636 2025-11-13 02:06:44,125 - 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-13 02:06:44,125 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01134714 failed! 2025-11-13 02:06:44,180 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-23720110:ctest-vn1-91262937 is 167.185.64.1 and allocation pool is NOT set 2025-11-13 02:06:46,237 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/2.191/3.915/1.723 ms') 2025-11-13 02:06:46,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01134714 passed 2025-11-13 02:06:46,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:06:46,384 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01134714, IP 167.185.64.3, Port 22 2025-11-13 02:06:46,555 - DEBUG - VM ctest-vn1-vm1-01134714 is ready for SSH connections 2025-11-13 02:06:46,555 - INFO - Waiting for VM ctest-vn2-vm1-07363535 to be up.. 2025-11-13 02:06:46,628 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:06:46,628 - INFO - VM name : ctest-vn2-vm1-07363535 2025-11-13 02:06:46,701 - DEBUG - VM ctest-vn2-vm1-07363535 ID is 931a3cad-76ee-438b-93ba-fb57c56f33cb 2025-11-13 02:06:46,701 - DEBUG - VM ctest-vn2-vm1-07363535 launched on Node cn-jenkins-deploy-platform-ansible-os-4715-1 2025-11-13 02:06:46,771 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/931a3cad-76ee-438b-93ba-fb57c56f33cb 2025-11-13 02:06:46,779 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ebb8d65d-5a0f-445c-8f27-55fc35e368d2 2025-11-13 02:06:48,019 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.268 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.268/1.702/3.137/1.434 ms') 2025-11-13 02:06:48,019 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-07363535 passed 2025-11-13 02:06:48,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:06:48,168 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-07363535, IP 130.40.14.195, Port 22 2025-11-13 02:06:48,323 - DEBUG - VM ctest-vn2-vm1-07363535 is ready for SSH connections 2025-11-13 02:06:48,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:06:48,323 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-13 02:06:48,323 - DEBUG - ping -s 56 -c 3 -W 1 130.40.14.195 2025-11-13 02:06:53,313 - DEBUG - PING 130.40.14.195 (130.40.14.195): 56 data bytes --- 130.40.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 02:06:53,313 - WARNING - Ping to IP 130.40.14.195 from VM ctest-vn1-vm1-01134714 failed 2025-11-13 02:06:53,313 - INFO - Adding interface with subnet_id 53ebb14e-cd9e-4292-b19a-1bcd53fa69ff, port_id None to router af626e0c-45c5-43da-899b-39b128dc18af 2025-11-13 02:06:53,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:06:53,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-13 02:06:53,556 - DEBUG - ping -s 56 -c 3 -W 1 130.40.14.195 2025-11-13 02:06:56,756 - DEBUG - PING 130.40.14.195 (130.40.14.195): 56 data bytes 64 bytes from 130.40.14.195: seq=1 ttl=63 time=3.639 ms 64 bytes from 130.40.14.195: seq=2 ttl=63 time=0.896 ms --- 130.40.14.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.896/2.267/3.639 ms 2025-11-13 02:06:56,757 - WARNING - Ping to IP 130.40.14.195 from VM ctest-vn1-vm1-01134714 failed 2025-11-13 02:06:57,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-13 02:06:57,758 - DEBUG - ping -s 56 -c 3 -W 1 130.40.14.195 2025-11-13 02:06:59,965 - DEBUG - PING 130.40.14.195 (130.40.14.195): 56 data bytes 64 bytes from 130.40.14.195: seq=0 ttl=63 time=1.417 ms 64 bytes from 130.40.14.195: seq=1 ttl=63 time=0.878 ms 64 bytes from 130.40.14.195: seq=2 ttl=63 time=1.094 ms --- 130.40.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/1.129/1.417 ms 2025-11-13 02:06:59,965 - INFO - Ping to IP 130.40.14.195 from VM ctest-vn1-vm1-01134714 passed 2025-11-13 02:06:59,965 - INFO - Deleting interface with subnet_id a9193c42-9c44-4673-9340-ecf69f90db5b, port_id None from router af626e0c-45c5-43da-899b-39b128dc18af 2025-11-13 02:07:00,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:00,121 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-13 02:07:00,121 - DEBUG - ping -s 56 -c 3 -W 1 130.40.14.195 2025-11-13 02:07:03,336 - DEBUG - PING 130.40.14.195 (130.40.14.195): 56 data bytes --- 130.40.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 02:07:03,336 - WARNING - Ping to IP 130.40.14.195 from VM ctest-vn1-vm1-01134714 failed 2025-11-13 02:07:03,337 - INFO - Adding interface with subnet_id a9193c42-9c44-4673-9340-ecf69f90db5b, port_id None to router af626e0c-45c5-43da-899b-39b128dc18af 2025-11-13 02:07:03,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:03,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-13 02:07:03,554 - DEBUG - ping -s 56 -c 3 -W 1 130.40.14.195 2025-11-13 02:07:05,783 - DEBUG - PING 130.40.14.195 (130.40.14.195): 56 data bytes 64 bytes from 130.40.14.195: seq=0 ttl=63 time=1.513 ms 64 bytes from 130.40.14.195: seq=1 ttl=63 time=1.008 ms 64 bytes from 130.40.14.195: seq=2 ttl=63 time=0.952 ms --- 130.40.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/1.157/1.513 ms 2025-11-13 02:07:05,784 - INFO - Ping to IP 130.40.14.195 from VM ctest-vn1-vm1-01134714 passed 2025-11-13 02:07:05,784 - INFO - Deleting interface with subnet_id 53ebb14e-cd9e-4292-b19a-1bcd53fa69ff, port_id None from router af626e0c-45c5-43da-899b-39b128dc18af 2025-11-13 02:07:05,884 - INFO - Deleting interface with subnet_id a9193c42-9c44-4673-9340-ecf69f90db5b, port_id None from router af626e0c-45c5-43da-899b-39b128dc18af 2025-11-13 02:07:06,063 - INFO - Deleting VM ctest-vn2-vm1-07363535 2025-11-13 02:07:06,141 - INFO - Deleting VM ctest-vn1-vm1-01134714 2025-11-13 02:07:06,243 - INFO - Deleting VN ctest-vn2-28288072 2025-11-13 02:07:06,279 - DEBUG - VN cb817d63-795a-4938-9e28-bf0d4c59154d still in use: Unable to complete operation on network cb817d63-795a-4938-9e28-bf0d4c59154d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7fdb4ce-44d8-48f2-ba93-2426a006b717'] 2025-11-13 02:07:06,279 - WARNING - Deleting VN ctest-vn2-28288072 failed..Will retry 2025-11-13 02:07:08,394 - DEBUG - Response for deleting network () 2025-11-13 02:07:08,394 - INFO - Deleting VN ctest-vn1-91262937 2025-11-13 02:07:08,487 - DEBUG - Response for deleting network () 2025-11-13 02:07:08,751 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 02:07:08,752 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-13 02:07:08,752 - INFO - -------------------------------------------------------------------------------- 2025-11-13 02:07:09,434 - INFO - Deleted project: ctest-TestRouters-23720110, ID : 8ed98a17-66ff-40d9-a192-f707e4cba202