2025-10-31 16:24:07,098 - INFO - Domain Default found not creating
2025-10-31 16:24:07,288 - INFO - Project ctest-TestRouters-90051964 not found, creating it
2025-10-31 16:24:07,737 - INFO - Created Project:ctest-TestRouters-90051964, ID : de25a12a-2b4d-4e88-a41b-12a0a446f281
2025-10-31 16:24:09,383 - INFO - ================================================================================
2025-10-31 16:24:09,384 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-31 16:24:09,384 - 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-31 16:24:09,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-10-31 16:24:09,673 - INFO - Initial checks done. Running the testcase now
2025-10-31 16:24:09,673 - INFO -
2025-10-31 16:24:10,352 - DEBUG - Response for create_network : {'network': {'id': '74db39cf-699d-44fe-a8e2-e3bd80e1d088', 'name': 'ctest-vn1-27953566', 'tenant_id': 'de25a12a2b4d4e88a41b12a0a446f281', 'project_id': 'de25a12a2b4d4e88a41b12a0a446f281', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90051964', 'ctest-vn1-27953566'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 16:24:10,572 - DEBUG - Response for create_subnet : {'subnet': {'id': '45a17d75-a485-4137-b40a-ac632a4f84fc', 'name': '', 'tenant_id': 'de25a12a2b4d4e88a41b12a0a446f281', 'network_id': '74db39cf-699d-44fe-a8e2-e3bd80e1d088', 'ip_version': 4, 'cidr': '211.19.58.64/26', 'allocation_pools': [{'start': '211.19.58.66', 'end': '211.19.58.126'}], 'gateway_ip': '211.19.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.19.58.66', 'tags': [], 'project_id': 'de25a12a2b4d4e88a41b12a0a446f281'}}
2025-10-31 16:24:10,597 - INFO - Created VN ctest-vn1-27953566
2025-10-31 16:24:10,652 - DEBUG - VN ctest-vn1-27953566 UUID is 74db39cf-699d-44fe-a8e2-e3bd80e1d088
2025-10-31 16:24:10,982 - DEBUG - Response for create_network : {'network': {'id': '62419219-4408-4bb5-97e8-8f4c06e66a1c', 'name': 'ctest-vn2-81503241', 'tenant_id': 'de25a12a2b4d4e88a41b12a0a446f281', 'project_id': 'de25a12a2b4d4e88a41b12a0a446f281', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90051964', 'ctest-vn2-81503241'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 16:24:11,180 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aafcde9d-c75b-4ecc-abad-b17ec21e64fb', 'name': '', 'tenant_id': 'de25a12a2b4d4e88a41b12a0a446f281', 'network_id': '62419219-4408-4bb5-97e8-8f4c06e66a1c', 'ip_version': 4, 'cidr': '55.191.171.0/26', 'allocation_pools': [{'start': '55.191.171.2', 'end': '55.191.171.62'}], 'gateway_ip': '55.191.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.191.171.2', 'tags': [], 'project_id': 'de25a12a2b4d4e88a41b12a0a446f281'}}
2025-10-31 16:24:11,202 - INFO - Created VN ctest-vn2-81503241
2025-10-31 16:24:11,260 - DEBUG - VN ctest-vn2-81503241 UUID is 62419219-4408-4bb5-97e8-8f4c06e66a1c
2025-10-31 16:24:11,497 - DEBUG - Services list from nova: [, , ]
2025-10-31 16:24:12,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4579-1)
2025-10-31 16:24:14,067 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4579-1)
2025-10-31 16:24:14,154 - INFO - Adding interface with subnet_id 45a17d75-a485-4137-b40a-ac632a4f84fc, port_id None to router 491a4e4f-992e-4677-b4dd-61c05791510b
2025-10-31 16:24:14,429 - INFO - Waiting for VM ctest-vn1-vm1-39549612 to be up..
2025-10-31 16:24:14,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-31 16:24:19,671 - DEBUG - VM is in ACTIVE state now
2025-10-31 16:24:19,672 - INFO - VM name : ctest-vn1-vm1-39549612
2025-10-31 16:24:19,774 - DEBUG - VM ctest-vn1-vm1-39549612 ID is 01a378ad-5040-477c-a3a3-930605551c2d
2025-10-31 16:24:19,795 - DEBUG - VM ctest-vn1-vm1-39549612 launched on Node cn-jenkins-deploy-platform-ansible-os-4579-1
2025-10-31 16:24:19,887 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/01a378ad-5040-477c-a3a3-930605551c2d
2025-10-31 16:24:20,199 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/01a378ad-5040-477c-a3a3-930605551c2d
2025-10-31 16:24:20,244 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30370f3c-5729-4422-8e83-2ccc9189149e
2025-10-31 16:24:23,567 - 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 1019ms')
2025-10-31 16:24:23,567 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39549612 failed!
2025-10-31 16:24:23,637 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-90051964:ctest-vn1-27953566 is 211.19.58.65 and allocation pool is NOT set
2025-10-31 16:24:25,714 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.85 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.542/3.694/3.847/0.152 ms')
2025-10-31 16:24:25,714 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39549612 passed
2025-10-31 16:24:25,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:24:25,892 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39549612, IP 211.19.58.67, Port 22
2025-10-31 16:24:25,961 - 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-10-31 16:24:26,064 - DEBUG - VM ctest-vn1-vm1-39549612 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 16:24:31,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:24:31,066 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39549612, IP 211.19.58.67, Port 22
2025-10-31 16:24:31,267 - DEBUG - VM ctest-vn1-vm1-39549612 is ready for SSH connections
2025-10-31 16:24:31,267 - INFO - Waiting for VM ctest-vn2-vm1-92698257 to be up..
2025-10-31 16:24:31,368 - DEBUG - VM is in ACTIVE state now
2025-10-31 16:24:31,368 - INFO - VM name : ctest-vn2-vm1-92698257
2025-10-31 16:24:31,467 - DEBUG - VM ctest-vn2-vm1-92698257 ID is 44db3671-fe25-4e0e-aedb-a864ace53d68
2025-10-31 16:24:31,468 - DEBUG - VM ctest-vn2-vm1-92698257 launched on Node cn-jenkins-deploy-platform-ansible-os-4579-1
2025-10-31 16:24:31,560 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/44db3671-fe25-4e0e-aedb-a864ace53d68
2025-10-31 16:24:31,570 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e036ca5c-70f1-440b-a479-bb4826e6ae27
2025-10-31 16:24:32,831 - 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=5.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.726 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.726/2.897/5.069/2.171 ms')
2025-10-31 16:24:32,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-92698257 passed
2025-10-31 16:24:33,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:24:33,004 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-92698257, IP 55.191.171.3, Port 22
2025-10-31 16:24:33,181 - DEBUG - VM ctest-vn2-vm1-92698257 is ready for SSH connections
2025-10-31 16:24:33,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:24:33,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.191.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-31 16:24:33,182 - DEBUG - ping -s 56 -c 3 -W 1 55.191.171.3
2025-10-31 16:24:38,550 - DEBUG - PING 55.191.171.3 (55.191.171.3): 56 data bytes
--- 55.191.171.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-31 16:24:38,550 - WARNING - Ping to IP 55.191.171.3 from VM ctest-vn1-vm1-39549612 failed
2025-10-31 16:24:38,551 - INFO - Adding interface with subnet_id aafcde9d-c75b-4ecc-abad-b17ec21e64fb, port_id None to router 491a4e4f-992e-4677-b4dd-61c05791510b
2025-10-31 16:24:38,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:24:38,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.191.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-31 16:24:38,930 - DEBUG - ping -s 56 -c 3 -W 1 55.191.171.3
2025-10-31 16:24:41,231 - DEBUG - PING 55.191.171.3 (55.191.171.3): 56 data bytes
64 bytes from 55.191.171.3: seq=0 ttl=63 time=7.537 ms
64 bytes from 55.191.171.3: seq=1 ttl=63 time=1.854 ms
64 bytes from 55.191.171.3: seq=2 ttl=63 time=1.609 ms
--- 55.191.171.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.609/3.666/7.537 ms
2025-10-31 16:24:41,231 - INFO - Ping to IP 55.191.171.3 from VM ctest-vn1-vm1-39549612 passed
2025-10-31 16:24:41,231 - INFO - Deleting interface with subnet_id 45a17d75-a485-4137-b40a-ac632a4f84fc, port_id None from router 491a4e4f-992e-4677-b4dd-61c05791510b
2025-10-31 16:24:41,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:24:41,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.191.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-31 16:24:41,464 - DEBUG - ping -s 56 -c 3 -W 1 55.191.171.3
2025-10-31 16:24:44,735 - DEBUG - PING 55.191.171.3 (55.191.171.3): 56 data bytes
--- 55.191.171.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-31 16:24:44,735 - WARNING - Ping to IP 55.191.171.3 from VM ctest-vn1-vm1-39549612 failed
2025-10-31 16:24:44,735 - INFO - Adding interface with subnet_id 45a17d75-a485-4137-b40a-ac632a4f84fc, port_id None to router 491a4e4f-992e-4677-b4dd-61c05791510b
2025-10-31 16:24:45,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:24:45,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.191.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-31 16:24:45,056 - DEBUG - ping -s 56 -c 3 -W 1 55.191.171.3
2025-10-31 16:24:47,289 - DEBUG - PING 55.191.171.3 (55.191.171.3): 56 data bytes
64 bytes from 55.191.171.3: seq=0 ttl=63 time=1.572 ms
64 bytes from 55.191.171.3: seq=1 ttl=63 time=1.269 ms
64 bytes from 55.191.171.3: seq=2 ttl=63 time=2.340 ms
--- 55.191.171.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.269/1.727/2.340 ms
2025-10-31 16:24:47,290 - INFO - Ping to IP 55.191.171.3 from VM ctest-vn1-vm1-39549612 passed
2025-10-31 16:24:47,290 - INFO - Deleting interface with subnet_id aafcde9d-c75b-4ecc-abad-b17ec21e64fb, port_id None from router 491a4e4f-992e-4677-b4dd-61c05791510b
2025-10-31 16:24:47,509 - INFO - Deleting interface with subnet_id 45a17d75-a485-4137-b40a-ac632a4f84fc, port_id None from router 491a4e4f-992e-4677-b4dd-61c05791510b
2025-10-31 16:24:47,728 - INFO - Deleting VM ctest-vn2-vm1-92698257
2025-10-31 16:24:47,822 - INFO - Deleting VM ctest-vn1-vm1-39549612
2025-10-31 16:24:47,912 - INFO - Deleting VN ctest-vn2-81503241
2025-10-31 16:24:47,948 - DEBUG - VN 62419219-4408-4bb5-97e8-8f4c06e66a1c still in use: Unable to complete operation on network 62419219-4408-4bb5-97e8-8f4c06e66a1c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8f8fa5a5-b10a-4ae3-8931-10a7d9c04f04']
2025-10-31 16:24:47,949 - WARNING - Deleting VN ctest-vn2-81503241 failed..Will retry
2025-10-31 16:24:50,111 - DEBUG - Response for deleting network ()
2025-10-31 16:24:50,111 - INFO - Deleting VN ctest-vn1-27953566
2025-10-31 16:24:50,238 - DEBUG - Response for deleting network ()
2025-10-31 16:24:50,543 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 16:24:50,543 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41]
2025-10-31 16:24:50,543 - INFO - --------------------------------------------------------------------------------
2025-10-31 16:24:51,415 - INFO - Deleted project: ctest-TestRouters-90051964, ID : de25a12a-2b4d-4e88-a41b-12a0a446f281