2025-11-01 07:41:09,083 - INFO - Domain Default found not creating 2025-11-01 07:41:09,360 - INFO - Project ctest-TestRouters-97329014 not found, creating it 2025-11-01 07:41:09,908 - INFO - Created Project:ctest-TestRouters-97329014, ID : c6040d2b-6812-4a3d-b8a9-78ce87e7bfee 2025-11-01 07:41:11,870 - INFO - ================================================================================ 2025-11-01 07:41:11,870 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-01 07:41:11,870 - 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-01 07:41:12,168 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-01 07:41:12,168 - INFO - Initial checks done. Running the testcase now 2025-11-01 07:41:12,168 - INFO - 2025-11-01 07:41:12,905 - DEBUG - Response for create_network : {'network': {'id': 'd71332d1-d9a6-45fe-8152-b55302b6fc4d', 'name': 'ctest-vn1-30268747', 'tenant_id': 'c6040d2b68124a3db8a978ce87e7bfee', 'project_id': 'c6040d2b68124a3db8a978ce87e7bfee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97329014', 'ctest-vn1-30268747'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 07:41:13,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '95aced17-9fc5-4697-a245-8b7a333b9c44', 'name': '', 'tenant_id': 'c6040d2b68124a3db8a978ce87e7bfee', 'network_id': 'd71332d1-d9a6-45fe-8152-b55302b6fc4d', 'ip_version': 4, 'cidr': '139.134.71.64/26', 'allocation_pools': [{'start': '139.134.71.66', 'end': '139.134.71.126'}], 'gateway_ip': '139.134.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.134.71.66', 'tags': [], 'project_id': 'c6040d2b68124a3db8a978ce87e7bfee'}} 2025-11-01 07:41:13,122 - INFO - Created VN ctest-vn1-30268747 2025-11-01 07:41:13,175 - DEBUG - VN ctest-vn1-30268747 UUID is d71332d1-d9a6-45fe-8152-b55302b6fc4d 2025-11-01 07:41:13,677 - DEBUG - Response for create_network : {'network': {'id': '1c12ae08-ea97-490f-8c84-ecbda228fa62', 'name': 'ctest-vn2-50109390', 'tenant_id': 'c6040d2b68124a3db8a978ce87e7bfee', 'project_id': 'c6040d2b68124a3db8a978ce87e7bfee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97329014', 'ctest-vn2-50109390'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 07:41:13,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '89cca523-b3ae-44b2-99af-64945128e623', 'name': '', 'tenant_id': 'c6040d2b68124a3db8a978ce87e7bfee', 'network_id': '1c12ae08-ea97-490f-8c84-ecbda228fa62', 'ip_version': 4, 'cidr': '19.179.9.192/26', 'allocation_pools': [{'start': '19.179.9.194', 'end': '19.179.9.254'}], 'gateway_ip': '19.179.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.179.9.194', 'tags': [], 'project_id': 'c6040d2b68124a3db8a978ce87e7bfee'}} 2025-11-01 07:41:13,977 - INFO - Created VN ctest-vn2-50109390 2025-11-01 07:41:14,031 - DEBUG - VN ctest-vn2-50109390 UUID is 1c12ae08-ea97-490f-8c84-ecbda228fa62 2025-11-01 07:41:14,236 - DEBUG - Services list from nova: [, , ] 2025-11-01 07:41:15,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4586-1) 2025-11-01 07:41:16,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4586-1) 2025-11-01 07:41:16,984 - INFO - Adding interface with subnet_id 95aced17-9fc5-4697-a245-8b7a333b9c44, port_id None to router 5bbddc97-9866-4303-9e2b-3a8303793286 2025-11-01 07:41:17,297 - INFO - Waiting for VM ctest-vn1-vm1-81192597 to be up.. 2025-11-01 07:41:17,418 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 07:41:22,566 - DEBUG - VM is in ACTIVE state now 2025-11-01 07:41:22,567 - INFO - VM name : ctest-vn1-vm1-81192597 2025-11-01 07:41:22,677 - DEBUG - VM ctest-vn1-vm1-81192597 ID is 410405ac-ded0-4739-a00d-5d0181d238d5 2025-11-01 07:41:22,703 - DEBUG - VM ctest-vn1-vm1-81192597 launched on Node cn-jenkins-deploy-platform-ansible-os-4586-1 2025-11-01 07:41:22,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/410405ac-ded0-4739-a00d-5d0181d238d5 2025-11-01 07:41:23,093 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/410405ac-ded0-4739-a00d-5d0181d238d5 2025-11-01 07:41:23,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d77f5e6b-d788-4e08-bd37-fa2ecb69e5c3 2025-11-01 07:41:26,427 - 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 1026ms') 2025-11-01 07:41:26,428 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81192597 failed! 2025-11-01 07:41:26,504 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-97329014:ctest-vn1-30268747 is 139.134.71.65 and allocation pool is NOT set 2025-11-01 07:41:28,581 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.778 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.778/2.778/4.779/2.000 ms') 2025-11-01 07:41:28,581 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81192597 passed 2025-11-01 07:41:28,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:28,739 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81192597, IP 139.134.71.67, Port 22 2025-11-01 07:41:28,806 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-01 07:41:28,931 - DEBUG - VM ctest-vn1-vm1-81192597 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 07:41:33,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:33,932 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81192597, IP 139.134.71.67, Port 22 2025-11-01 07:41:34,101 - DEBUG - VM ctest-vn1-vm1-81192597 is ready for SSH connections 2025-11-01 07:41:34,101 - INFO - Waiting for VM ctest-vn2-vm1-08141889 to be up.. 2025-11-01 07:41:34,193 - DEBUG - VM is in ACTIVE state now 2025-11-01 07:41:34,193 - INFO - VM name : ctest-vn2-vm1-08141889 2025-11-01 07:41:34,287 - DEBUG - VM ctest-vn2-vm1-08141889 ID is e7e79a02-5c5a-4b0b-a962-db33795f3732 2025-11-01 07:41:34,287 - DEBUG - VM ctest-vn2-vm1-08141889 launched on Node cn-jenkins-deploy-platform-ansible-os-4586-1 2025-11-01 07:41:34,416 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e7e79a02-5c5a-4b0b-a962-db33795f3732 2025-11-01 07:41:34,429 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1854890d-d3fa-4c47-a669-2873b071ded5 2025-11-01 07:41:35,695 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/2.028/3.588/1.559 ms') 2025-11-01 07:41:35,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08141889 passed 2025-11-01 07:41:35,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:35,876 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08141889, IP 19.179.9.195, Port 22 2025-11-01 07:41:36,068 - DEBUG - VM ctest-vn2-vm1-08141889 is ready for SSH connections 2025-11-01 07:41:36,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:36,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.179.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 07:41:36,069 - DEBUG - ping -s 56 -c 3 -W 1 19.179.9.195 2025-11-01 07:41:41,269 - DEBUG - PING 19.179.9.195 (19.179.9.195): 56 data bytes --- 19.179.9.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 07:41:41,269 - WARNING - Ping to IP 19.179.9.195 from VM ctest-vn1-vm1-81192597 failed 2025-11-01 07:41:41,269 - INFO - Adding interface with subnet_id 89cca523-b3ae-44b2-99af-64945128e623, port_id None to router 5bbddc97-9866-4303-9e2b-3a8303793286 2025-11-01 07:41:41,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:41,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.179.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 07:41:41,614 - DEBUG - ping -s 56 -c 3 -W 1 19.179.9.195 2025-11-01 07:41:43,880 - DEBUG - PING 19.179.9.195 (19.179.9.195): 56 data bytes 64 bytes from 19.179.9.195: seq=0 ttl=63 time=3.190 ms 64 bytes from 19.179.9.195: seq=1 ttl=63 time=1.385 ms 64 bytes from 19.179.9.195: seq=2 ttl=63 time=1.810 ms --- 19.179.9.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.385/2.128/3.190 ms 2025-11-01 07:41:43,881 - INFO - Ping to IP 19.179.9.195 from VM ctest-vn1-vm1-81192597 passed 2025-11-01 07:41:43,881 - INFO - Deleting interface with subnet_id 95aced17-9fc5-4697-a245-8b7a333b9c44, port_id None from router 5bbddc97-9866-4303-9e2b-3a8303793286 2025-11-01 07:41:44,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:44,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.179.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 07:41:44,050 - DEBUG - ping -s 56 -c 3 -W 1 19.179.9.195 2025-11-01 07:41:47,331 - DEBUG - PING 19.179.9.195 (19.179.9.195): 56 data bytes --- 19.179.9.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 07:41:47,332 - WARNING - Ping to IP 19.179.9.195 from VM ctest-vn1-vm1-81192597 failed 2025-11-01 07:41:47,332 - INFO - Adding interface with subnet_id 95aced17-9fc5-4697-a245-8b7a333b9c44, port_id None to router 5bbddc97-9866-4303-9e2b-3a8303793286 2025-11-01 07:41:47,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 07:41:47,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.179.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 07:41:47,603 - DEBUG - ping -s 56 -c 3 -W 1 19.179.9.195 2025-11-01 07:41:49,890 - DEBUG - PING 19.179.9.195 (19.179.9.195): 56 data bytes 64 bytes from 19.179.9.195: seq=0 ttl=63 time=3.187 ms 64 bytes from 19.179.9.195: seq=1 ttl=63 time=1.133 ms 64 bytes from 19.179.9.195: seq=2 ttl=63 time=2.237 ms --- 19.179.9.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.133/2.185/3.187 ms 2025-11-01 07:41:49,891 - INFO - Ping to IP 19.179.9.195 from VM ctest-vn1-vm1-81192597 passed 2025-11-01 07:41:49,891 - INFO - Deleting interface with subnet_id 89cca523-b3ae-44b2-99af-64945128e623, port_id None from router 5bbddc97-9866-4303-9e2b-3a8303793286 2025-11-01 07:41:50,129 - INFO - Deleting interface with subnet_id 95aced17-9fc5-4697-a245-8b7a333b9c44, port_id None from router 5bbddc97-9866-4303-9e2b-3a8303793286 2025-11-01 07:41:50,363 - INFO - Deleting VM ctest-vn2-vm1-08141889 2025-11-01 07:41:50,452 - INFO - Deleting VM ctest-vn1-vm1-81192597 2025-11-01 07:41:50,531 - INFO - Deleting VN ctest-vn2-50109390 2025-11-01 07:41:50,577 - DEBUG - VN 1c12ae08-ea97-490f-8c84-ecbda228fa62 still in use: Unable to complete operation on network 1c12ae08-ea97-490f-8c84-ecbda228fa62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08f7b0c9-cc14-4699-be7e-d5398a23a99c'] 2025-11-01 07:41:50,577 - WARNING - Deleting VN ctest-vn2-50109390 failed..Will retry 2025-11-01 07:41:52,723 - DEBUG - Response for deleting network () 2025-11-01 07:41:52,723 - INFO - Deleting VN ctest-vn1-30268747 2025-11-01 07:41:52,867 - DEBUG - Response for deleting network () 2025-11-01 07:41:53,149 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 07:41:53,149 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-11-01 07:41:53,149 - INFO - -------------------------------------------------------------------------------- 2025-11-01 07:41:53,893 - INFO - Deleted project: ctest-TestRouters-97329014, ID : c6040d2b-6812-4a3d-b8a9-78ce87e7bfee