2025-11-24 14:33:33,806 - INFO - Domain Default found not creating 2025-11-24 14:33:34,004 - INFO - Project ctest-TestRouters-76688937 not found, creating it 2025-11-24 14:33:34,510 - INFO - Created Project:ctest-TestRouters-76688937, ID : d1a73168-d93d-4723-bc6d-3da25d0b8ec1 2025-11-24 14:33:36,308 - INFO - ================================================================================ 2025-11-24 14:33:36,309 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-24 14:33:36,309 - 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-24 14:33:36,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-24 14:33:36,578 - INFO - Initial checks done. Running the testcase now 2025-11-24 14:33:36,578 - INFO - 2025-11-24 14:33:37,285 - DEBUG - Response for create_network : {'network': {'id': '3fc4960c-8290-42d4-87ef-cc6a1214e56e', 'name': 'ctest-vn1-72377637', 'tenant_id': 'd1a73168d93d4723bc6d3da25d0b8ec1', 'project_id': 'd1a73168d93d4723bc6d3da25d0b8ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76688937', 'ctest-vn1-72377637'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:33:37,538 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1ce57f3-99af-4191-9055-c61b4c9c339a', 'name': '', 'tenant_id': 'd1a73168d93d4723bc6d3da25d0b8ec1', 'network_id': '3fc4960c-8290-42d4-87ef-cc6a1214e56e', 'ip_version': 4, 'cidr': '100.22.124.64/26', 'allocation_pools': [{'start': '100.22.124.66', 'end': '100.22.124.126'}], 'gateway_ip': '100.22.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.22.124.66', 'tags': [], 'project_id': 'd1a73168d93d4723bc6d3da25d0b8ec1'}} 2025-11-24 14:33:37,561 - INFO - Created VN ctest-vn1-72377637 2025-11-24 14:33:37,614 - DEBUG - VN ctest-vn1-72377637 UUID is 3fc4960c-8290-42d4-87ef-cc6a1214e56e 2025-11-24 14:33:37,958 - DEBUG - Response for create_network : {'network': {'id': 'b8f4566c-93a0-466c-8ed4-1c2d7efe8aab', 'name': 'ctest-vn2-54420341', 'tenant_id': 'd1a73168d93d4723bc6d3da25d0b8ec1', 'project_id': 'd1a73168d93d4723bc6d3da25d0b8ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76688937', 'ctest-vn2-54420341'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:33:38,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '48862353-875a-4705-9505-01a0c14a2043', 'name': '', 'tenant_id': 'd1a73168d93d4723bc6d3da25d0b8ec1', 'network_id': 'b8f4566c-93a0-466c-8ed4-1c2d7efe8aab', 'ip_version': 4, 'cidr': '204.4.135.64/26', 'allocation_pools': [{'start': '204.4.135.66', 'end': '204.4.135.126'}], 'gateway_ip': '204.4.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.4.135.66', 'tags': [], 'project_id': 'd1a73168d93d4723bc6d3da25d0b8ec1'}} 2025-11-24 14:33:38,223 - INFO - Created VN ctest-vn2-54420341 2025-11-24 14:33:38,278 - DEBUG - VN ctest-vn2-54420341 UUID is b8f4566c-93a0-466c-8ed4-1c2d7efe8aab 2025-11-24 14:33:38,479 - DEBUG - Services list from nova: [, , ] 2025-11-24 14:33:39,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:33:41,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:33:41,328 - INFO - Adding interface with subnet_id e1ce57f3-99af-4191-9055-c61b4c9c339a, port_id None to router 102918e8-5357-405c-bcb8-1c58379a6876 2025-11-24 14:33:41,681 - INFO - Waiting for VM ctest-vn1-vm1-10489531 to be up.. 2025-11-24 14:33:41,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 14:33:46,922 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:33:46,923 - INFO - VM name : ctest-vn1-vm1-10489531 2025-11-24 14:33:47,019 - DEBUG - VM ctest-vn1-vm1-10489531 ID is b870e009-f920-4cae-916a-e352292ebc89 2025-11-24 14:33:47,043 - DEBUG - VM ctest-vn1-vm1-10489531 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:33:47,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b870e009-f920-4cae-916a-e352292ebc89 2025-11-24 14:33:47,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b870e009-f920-4cae-916a-e352292ebc89 2025-11-24 14:33:47,565 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57820e10-7627-48b8-9b48-d409764a737e 2025-11-24 14:33:50,825 - 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 1008ms') 2025-11-24 14:33:50,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10489531 failed! 2025-11-24 14:33:50,890 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-76688937:ctest-vn1-72377637 is 100.22.124.65 and allocation pool is NOT set 2025-11-24 14:33:52,967 - 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=5.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/2.818/5.193/2.375 ms') 2025-11-24 14:33:52,967 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10489531 passed 2025-11-24 14:33:53,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:33:53,122 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10489531, IP 100.22.124.67, Port 22 2025-11-24 14:33:53,293 - DEBUG - VM ctest-vn1-vm1-10489531 is ready for SSH connections 2025-11-24 14:33:53,294 - INFO - Waiting for VM ctest-vn2-vm1-42366666 to be up.. 2025-11-24 14:33:53,396 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:33:53,396 - INFO - VM name : ctest-vn2-vm1-42366666 2025-11-24 14:33:53,487 - DEBUG - VM ctest-vn2-vm1-42366666 ID is 41b5daed-155e-425a-ba46-857495ffc541 2025-11-24 14:33:53,487 - DEBUG - VM ctest-vn2-vm1-42366666 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:33:53,575 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/41b5daed-155e-425a-ba46-857495ffc541 2025-11-24 14:33:53,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dcade904-f885-417f-a3ad-165fdba596bd 2025-11-24 14:33:54,820 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/2.016/3.603/1.586 ms') 2025-11-24 14:33:54,820 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-42366666 passed 2025-11-24 14:33:54,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:33:54,979 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42366666, IP 204.4.135.67, Port 22 2025-11-24 14:33:55,156 - DEBUG - VM ctest-vn2-vm1-42366666 is ready for SSH connections 2025-11-24 14:33:55,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:33:55,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.4.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:33:55,157 - DEBUG - ping -s 56 -c 3 -W 1 204.4.135.67 2025-11-24 14:34:00,320 - DEBUG - PING 204.4.135.67 (204.4.135.67): 56 data bytes --- 204.4.135.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 14:34:00,320 - WARNING - Ping to IP 204.4.135.67 from VM ctest-vn1-vm1-10489531 failed 2025-11-24 14:34:00,321 - INFO - Adding interface with subnet_id 48862353-875a-4705-9505-01a0c14a2043, port_id None to router 102918e8-5357-405c-bcb8-1c58379a6876 2025-11-24 14:34:00,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:34:00,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.4.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:34:00,656 - DEBUG - ping -s 56 -c 3 -W 1 204.4.135.67 2025-11-24 14:34:02,914 - DEBUG - PING 204.4.135.67 (204.4.135.67): 56 data bytes 64 bytes from 204.4.135.67: seq=0 ttl=63 time=3.596 ms 64 bytes from 204.4.135.67: seq=1 ttl=63 time=0.964 ms 64 bytes from 204.4.135.67: seq=2 ttl=63 time=1.188 ms --- 204.4.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/1.916/3.596 ms 2025-11-24 14:34:02,914 - INFO - Ping to IP 204.4.135.67 from VM ctest-vn1-vm1-10489531 passed 2025-11-24 14:34:02,914 - INFO - Deleting interface with subnet_id e1ce57f3-99af-4191-9055-c61b4c9c339a, port_id None from router 102918e8-5357-405c-bcb8-1c58379a6876 2025-11-24 14:34:03,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:34:03,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.4.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:34:03,041 - DEBUG - ping -s 56 -c 3 -W 1 204.4.135.67 2025-11-24 14:34:06,299 - DEBUG - PING 204.4.135.67 (204.4.135.67): 56 data bytes --- 204.4.135.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 14:34:06,299 - WARNING - Ping to IP 204.4.135.67 from VM ctest-vn1-vm1-10489531 failed 2025-11-24 14:34:06,299 - INFO - Adding interface with subnet_id e1ce57f3-99af-4191-9055-c61b4c9c339a, port_id None to router 102918e8-5357-405c-bcb8-1c58379a6876 2025-11-24 14:34:06,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:34:06,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.4.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:34:06,560 - DEBUG - ping -s 56 -c 3 -W 1 204.4.135.67 2025-11-24 14:34:08,805 - DEBUG - PING 204.4.135.67 (204.4.135.67): 56 data bytes 64 bytes from 204.4.135.67: seq=0 ttl=63 time=1.737 ms 64 bytes from 204.4.135.67: seq=1 ttl=63 time=1.318 ms 64 bytes from 204.4.135.67: seq=2 ttl=63 time=1.046 ms --- 204.4.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.046/1.367/1.737 ms 2025-11-24 14:34:08,806 - INFO - Ping to IP 204.4.135.67 from VM ctest-vn1-vm1-10489531 passed 2025-11-24 14:34:08,806 - INFO - Deleting interface with subnet_id 48862353-875a-4705-9505-01a0c14a2043, port_id None from router 102918e8-5357-405c-bcb8-1c58379a6876 2025-11-24 14:34:08,940 - INFO - Deleting interface with subnet_id e1ce57f3-99af-4191-9055-c61b4c9c339a, port_id None from router 102918e8-5357-405c-bcb8-1c58379a6876 2025-11-24 14:34:09,136 - INFO - Deleting VM ctest-vn2-vm1-42366666 2025-11-24 14:34:09,216 - INFO - Deleting VM ctest-vn1-vm1-10489531 2025-11-24 14:34:09,304 - INFO - Deleting VN ctest-vn2-54420341 2025-11-24 14:34:09,344 - DEBUG - VN b8f4566c-93a0-466c-8ed4-1c2d7efe8aab still in use: Unable to complete operation on network b8f4566c-93a0-466c-8ed4-1c2d7efe8aab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a290748d-1965-43e7-86c5-947896270d3c'] 2025-11-24 14:34:09,344 - WARNING - Deleting VN ctest-vn2-54420341 failed..Will retry 2025-11-24 14:34:11,472 - DEBUG - Response for deleting network () 2025-11-24 14:34:11,472 - INFO - Deleting VN ctest-vn1-72377637 2025-11-24 14:34:11,595 - DEBUG - Response for deleting network () 2025-11-24 14:34:11,867 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 14:34:11,867 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:35]
2025-11-24 14:34:11,867 - INFO - -------------------------------------------------------------------------------- 2025-11-24 14:34:12,630 - INFO - Deleted project: ctest-TestRouters-76688937, ID : d1a73168-d93d-4723-bc6d-3da25d0b8ec1