2025-07-22 20:58:43,521 - INFO - Domain Default found not creating 2025-07-22 20:58:43,659 - INFO - Project ctest-TestRouters-01178556 not found, creating it 2025-07-22 20:58:44,133 - INFO - Created Project:ctest-TestRouters-01178556, ID : f4a9ca11-a8a0-4736-b6e7-d5eeb4f245d0 2025-07-22 20:58:45,544 - INFO - ================================================================================ 2025-07-22 20:58:45,544 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-22 20:58:45,545 - 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-07-22 20:58:45,805 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-22 20:58:45,805 - INFO - Initial checks done. Running the testcase now 2025-07-22 20:58:45,805 - INFO - 2025-07-22 20:58:46,363 - DEBUG - Response for create_network : {'network': {'id': '948a9fa5-0351-4902-b9e9-b163485a7a37', 'name': 'ctest-vn1-71840103', 'tenant_id': 'f4a9ca11a8a04736b6e7d5eeb4f245d0', 'project_id': 'f4a9ca11a8a04736b6e7d5eeb4f245d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01178556', 'ctest-vn1-71840103'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 20:58:46,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '569f89db-ead5-4eba-b38d-3d3d55a3a380', 'name': '', 'tenant_id': 'f4a9ca11a8a04736b6e7d5eeb4f245d0', 'network_id': '948a9fa5-0351-4902-b9e9-b163485a7a37', 'ip_version': 4, 'cidr': '15.63.94.192/26', 'allocation_pools': [{'start': '15.63.94.194', 'end': '15.63.94.254'}], 'gateway_ip': '15.63.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.63.94.194', 'tags': [], 'project_id': 'f4a9ca11a8a04736b6e7d5eeb4f245d0'}} 2025-07-22 20:58:46,585 - INFO - Created VN ctest-vn1-71840103 2025-07-22 20:58:46,638 - DEBUG - VN ctest-vn1-71840103 UUID is 948a9fa5-0351-4902-b9e9-b163485a7a37 2025-07-22 20:58:47,007 - DEBUG - Response for create_network : {'network': {'id': 'c4c82854-f032-419a-a11f-e9f9321f2e52', 'name': 'ctest-vn2-87972628', 'tenant_id': 'f4a9ca11a8a04736b6e7d5eeb4f245d0', 'project_id': 'f4a9ca11a8a04736b6e7d5eeb4f245d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01178556', 'ctest-vn2-87972628'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 20:58:47,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '19cf83c6-bef1-411a-b33f-08cef18da714', 'name': '', 'tenant_id': 'f4a9ca11a8a04736b6e7d5eeb4f245d0', 'network_id': 'c4c82854-f032-419a-a11f-e9f9321f2e52', 'ip_version': 4, 'cidr': '154.129.134.128/26', 'allocation_pools': [{'start': '154.129.134.130', 'end': '154.129.134.190'}], 'gateway_ip': '154.129.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.129.134.130', 'tags': [], 'project_id': 'f4a9ca11a8a04736b6e7d5eeb4f245d0'}} 2025-07-22 20:58:47,281 - INFO - Created VN ctest-vn2-87972628 2025-07-22 20:58:47,338 - DEBUG - VN ctest-vn2-87972628 UUID is c4c82854-f032-419a-a11f-e9f9321f2e52 2025-07-22 20:58:47,592 - DEBUG - Services list from nova: [, , ] 2025-07-22 20:58:48,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3695-1) 2025-07-22 20:58:49,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3695-1) 2025-07-22 20:58:49,864 - INFO - Adding interface with subnet_id 569f89db-ead5-4eba-b38d-3d3d55a3a380, port_id None to router 4dcc5d0e-eaaa-4c52-b626-19fb02face87 2025-07-22 20:58:50,210 - INFO - Waiting for VM ctest-vn1-vm1-32378741 to be up.. 2025-07-22 20:58:50,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 20:58:55,442 - DEBUG - VM is in ACTIVE state now 2025-07-22 20:58:55,442 - INFO - VM name : ctest-vn1-vm1-32378741 2025-07-22 20:58:55,522 - DEBUG - VM ctest-vn1-vm1-32378741 ID is e6931f14-8234-4c89-8fdb-4cba65cce63e 2025-07-22 20:58:55,540 - DEBUG - VM ctest-vn1-vm1-32378741 launched on Node cn-jenkins-deploy-platform-ansible-os-3695-1 2025-07-22 20:58:55,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e6931f14-8234-4c89-8fdb-4cba65cce63e 2025-07-22 20:58:55,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e6931f14-8234-4c89-8fdb-4cba65cce63e 2025-07-22 20:58:55,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1fab4869-a826-4751-928e-9391a980311a 2025-07-22 20:58:59,175 - 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=6.50 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 6.504/6.504/6.504/0.000 ms') 2025-07-22 20:58:59,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32378741 passed 2025-07-22 20:58:59,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:58:59,334 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32378741, IP 15.63.94.195, Port 22 2025-07-22 20:58:59,500 - DEBUG - VM ctest-vn1-vm1-32378741 is ready for SSH connections 2025-07-22 20:58:59,500 - INFO - Waiting for VM ctest-vn2-vm1-89619686 to be up.. 2025-07-22 20:58:59,580 - DEBUG - VM is in ACTIVE state now 2025-07-22 20:58:59,580 - INFO - VM name : ctest-vn2-vm1-89619686 2025-07-22 20:58:59,657 - DEBUG - VM ctest-vn2-vm1-89619686 ID is 6d1f4ef0-cd90-453e-834c-d49408897cbe 2025-07-22 20:58:59,657 - DEBUG - VM ctest-vn2-vm1-89619686 launched on Node cn-jenkins-deploy-platform-ansible-os-3695-1 2025-07-22 20:58:59,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6d1f4ef0-cd90-453e-834c-d49408897cbe 2025-07-22 20:58:59,730 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44c44abb-bc76-4cfb-bf00-16c048436412 2025-07-22 20:59:00,968 - 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=2.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.434/1.449/2.464/1.015 ms') 2025-07-22 20:59:00,968 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-89619686 passed 2025-07-22 20:59:01,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:59:01,118 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89619686, IP 154.129.134.131, Port 22 2025-07-22 20:59:01,269 - DEBUG - VM ctest-vn2-vm1-89619686 is ready for SSH connections 2025-07-22 20:59:01,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:59:01,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.129.134.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 20:59:01,270 - DEBUG - ping -s 56 -c 3 -W 1 154.129.134.131 2025-07-22 20:59:05,924 - DEBUG - PING 154.129.134.131 (154.129.134.131): 56 data bytes --- 154.129.134.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 20:59:05,925 - WARNING - Ping to IP 154.129.134.131 from VM ctest-vn1-vm1-32378741 failed 2025-07-22 20:59:05,925 - INFO - Adding interface with subnet_id 19cf83c6-bef1-411a-b33f-08cef18da714, port_id None to router 4dcc5d0e-eaaa-4c52-b626-19fb02face87 2025-07-22 20:59:06,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:59:06,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.129.134.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 20:59:06,196 - DEBUG - ping -s 56 -c 3 -W 1 154.129.134.131 2025-07-22 20:59:08,402 - DEBUG - PING 154.129.134.131 (154.129.134.131): 56 data bytes 64 bytes from 154.129.134.131: seq=0 ttl=63 time=3.108 ms 64 bytes from 154.129.134.131: seq=1 ttl=63 time=0.911 ms 64 bytes from 154.129.134.131: seq=2 ttl=63 time=0.980 ms --- 154.129.134.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/1.666/3.108 ms 2025-07-22 20:59:08,402 - INFO - Ping to IP 154.129.134.131 from VM ctest-vn1-vm1-32378741 passed 2025-07-22 20:59:08,402 - INFO - Deleting interface with subnet_id 569f89db-ead5-4eba-b38d-3d3d55a3a380, port_id None from router 4dcc5d0e-eaaa-4c52-b626-19fb02face87 2025-07-22 20:59:08,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:59:08,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.129.134.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 20:59:08,553 - DEBUG - ping -s 56 -c 3 -W 1 154.129.134.131 2025-07-22 20:59:11,773 - DEBUG - PING 154.129.134.131 (154.129.134.131): 56 data bytes --- 154.129.134.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 20:59:11,773 - WARNING - Ping to IP 154.129.134.131 from VM ctest-vn1-vm1-32378741 failed 2025-07-22 20:59:11,774 - INFO - Adding interface with subnet_id 569f89db-ead5-4eba-b38d-3d3d55a3a380, port_id None to router 4dcc5d0e-eaaa-4c52-b626-19fb02face87 2025-07-22 20:59:12,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:59:12,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.129.134.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 20:59:12,005 - DEBUG - ping -s 56 -c 3 -W 1 154.129.134.131 2025-07-22 20:59:15,207 - DEBUG - PING 154.129.134.131 (154.129.134.131): 56 data bytes 64 bytes from 154.129.134.131: seq=1 ttl=63 time=1.668 ms 64 bytes from 154.129.134.131: seq=2 ttl=63 time=0.727 ms --- 154.129.134.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.727/1.197/1.668 ms 2025-07-22 20:59:15,207 - WARNING - Ping to IP 154.129.134.131 from VM ctest-vn1-vm1-32378741 failed 2025-07-22 20:59:16,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.129.134.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 20:59:16,208 - DEBUG - ping -s 56 -c 3 -W 1 154.129.134.131 2025-07-22 20:59:18,416 - DEBUG - PING 154.129.134.131 (154.129.134.131): 56 data bytes 64 bytes from 154.129.134.131: seq=0 ttl=63 time=1.479 ms 64 bytes from 154.129.134.131: seq=1 ttl=63 time=0.758 ms 64 bytes from 154.129.134.131: seq=2 ttl=63 time=0.708 ms --- 154.129.134.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/0.981/1.479 ms 2025-07-22 20:59:18,416 - INFO - Ping to IP 154.129.134.131 from VM ctest-vn1-vm1-32378741 passed 2025-07-22 20:59:18,416 - INFO - Deleting interface with subnet_id 19cf83c6-bef1-411a-b33f-08cef18da714, port_id None from router 4dcc5d0e-eaaa-4c52-b626-19fb02face87 2025-07-22 20:59:18,543 - INFO - Deleting interface with subnet_id 569f89db-ead5-4eba-b38d-3d3d55a3a380, port_id None from router 4dcc5d0e-eaaa-4c52-b626-19fb02face87 2025-07-22 20:59:18,717 - INFO - Deleting VM ctest-vn2-vm1-89619686 2025-07-22 20:59:18,782 - INFO - Deleting VM ctest-vn1-vm1-32378741 2025-07-22 20:59:18,847 - INFO - Deleting VN ctest-vn2-87972628 2025-07-22 20:59:18,880 - DEBUG - VN c4c82854-f032-419a-a11f-e9f9321f2e52 still in use: Unable to complete operation on network c4c82854-f032-419a-a11f-e9f9321f2e52. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b8538169-32e3-46d4-b31f-50e24f6d9e06'] 2025-07-22 20:59:18,880 - WARNING - Deleting VN ctest-vn2-87972628 failed..Will retry 2025-07-22 20:59:20,980 - DEBUG - Response for deleting network () 2025-07-22 20:59:20,980 - INFO - Deleting VN ctest-vn1-71840103 2025-07-22 20:59:21,076 - DEBUG - Response for deleting network () 2025-07-22 20:59:21,331 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 20:59:21,331 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36]
2025-07-22 20:59:21,331 - INFO - -------------------------------------------------------------------------------- 2025-07-22 20:59:21,975 - INFO - Deleted project: ctest-TestRouters-01178556, ID : f4a9ca11-a8a0-4736-b6e7-d5eeb4f245d0