2025-09-27 12:50:38,392 - INFO - Domain Default found not creating 2025-09-27 12:50:38,574 - INFO - Project ctest-TestRouters-19961210 not found, creating it 2025-09-27 12:50:39,063 - INFO - Created Project:ctest-TestRouters-19961210, ID : d8351b97-207b-4c5e-bbd5-b268a321833c 2025-09-27 12:50:40,958 - INFO - ================================================================================ 2025-09-27 12:50:40,958 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-27 12:50:40,959 - 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-09-27 12:50:41,228 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-27 12:50:41,228 - INFO - Initial checks done. Running the testcase now 2025-09-27 12:50:41,228 - INFO - 2025-09-27 12:50:41,822 - DEBUG - Response for create_network : {'network': {'id': 'a08e8be7-55e0-4e29-9577-f82a448fda06', 'name': 'ctest-vn1-03709338', 'tenant_id': 'd8351b97207b4c5ebbd5b268a321833c', 'project_id': 'd8351b97207b4c5ebbd5b268a321833c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19961210', 'ctest-vn1-03709338'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 12:50:42,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '81bb4cfc-abc9-4cbe-bf28-860791e0f840', 'name': '', 'tenant_id': 'd8351b97207b4c5ebbd5b268a321833c', 'network_id': 'a08e8be7-55e0-4e29-9577-f82a448fda06', 'ip_version': 4, 'cidr': '56.168.97.192/26', 'allocation_pools': [{'start': '56.168.97.194', 'end': '56.168.97.254'}], 'gateway_ip': '56.168.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.168.97.194', 'tags': [], 'project_id': 'd8351b97207b4c5ebbd5b268a321833c'}} 2025-09-27 12:50:42,024 - INFO - Created VN ctest-vn1-03709338 2025-09-27 12:50:42,078 - DEBUG - VN ctest-vn1-03709338 UUID is a08e8be7-55e0-4e29-9577-f82a448fda06 2025-09-27 12:50:42,420 - DEBUG - Response for create_network : {'network': {'id': 'd6c0c113-75bd-4d5a-bc66-ba49912bee05', 'name': 'ctest-vn2-81158773', 'tenant_id': 'd8351b97207b4c5ebbd5b268a321833c', 'project_id': 'd8351b97207b4c5ebbd5b268a321833c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19961210', 'ctest-vn2-81158773'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 12:50:42,645 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4d8c1f7-ccb1-4f49-b7d2-d62d3c281f61', 'name': '', 'tenant_id': 'd8351b97207b4c5ebbd5b268a321833c', 'network_id': 'd6c0c113-75bd-4d5a-bc66-ba49912bee05', 'ip_version': 4, 'cidr': '25.34.77.192/26', 'allocation_pools': [{'start': '25.34.77.194', 'end': '25.34.77.254'}], 'gateway_ip': '25.34.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.34.77.194', 'tags': [], 'project_id': 'd8351b97207b4c5ebbd5b268a321833c'}} 2025-09-27 12:50:42,666 - INFO - Created VN ctest-vn2-81158773 2025-09-27 12:50:42,722 - DEBUG - VN ctest-vn2-81158773 UUID is d6c0c113-75bd-4d5a-bc66-ba49912bee05 2025-09-27 12:50:42,926 - DEBUG - Services list from nova: [, , ] 2025-09-27 12:50:44,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4199-1) 2025-09-27 12:50:45,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4199-1) 2025-09-27 12:50:45,522 - INFO - Adding interface with subnet_id 81bb4cfc-abc9-4cbe-bf28-860791e0f840, port_id None to router 2f57014d-d4a0-4fa5-aa0f-824045de9fcd 2025-09-27 12:50:45,839 - INFO - Waiting for VM ctest-vn1-vm1-67402954 to be up.. 2025-09-27 12:50:46,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-27 12:50:51,089 - DEBUG - VM is in ACTIVE state now 2025-09-27 12:50:51,090 - INFO - VM name : ctest-vn1-vm1-67402954 2025-09-27 12:50:51,194 - DEBUG - VM ctest-vn1-vm1-67402954 ID is cc2f3ed5-1708-4a5c-becb-281deeee6c66 2025-09-27 12:50:51,221 - DEBUG - VM ctest-vn1-vm1-67402954 launched on Node cn-jenkins-deploy-platform-ansible-os-4199-1 2025-09-27 12:50:51,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc2f3ed5-1708-4a5c-becb-281deeee6c66 2025-09-27 12:50:51,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc2f3ed5-1708-4a5c-becb-281deeee6c66 2025-09-27 12:50:51,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a1a8bfb-fee0-4fc7-9e6e-c7359e5ad69b 2025-09-27 12:50:54,898 - 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 1001ms') 2025-09-27 12:50:54,898 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67402954 failed! 2025-09-27 12:50:54,954 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19961210:ctest-vn1-03709338 is 56.168.97.193 and allocation pool is NOT set 2025-09-27 12:50:57,027 - 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=2.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.568 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.568/1.773/2.978/1.205 ms') 2025-09-27 12:50:57,028 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67402954 passed 2025-09-27 12:50:57,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:50:57,182 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67402954, IP 56.168.97.195, Port 22 2025-09-27 12:50:57,356 - DEBUG - VM ctest-vn1-vm1-67402954 is ready for SSH connections 2025-09-27 12:50:57,356 - INFO - Waiting for VM ctest-vn2-vm1-98906277 to be up.. 2025-09-27 12:50:57,462 - DEBUG - VM is in ACTIVE state now 2025-09-27 12:50:57,462 - INFO - VM name : ctest-vn2-vm1-98906277 2025-09-27 12:50:57,547 - DEBUG - VM ctest-vn2-vm1-98906277 ID is 129c0da1-592f-4572-a08e-ca1caceeea8e 2025-09-27 12:50:57,547 - DEBUG - VM ctest-vn2-vm1-98906277 launched on Node cn-jenkins-deploy-platform-ansible-os-4199-1 2025-09-27 12:50:57,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/129c0da1-592f-4572-a08e-ca1caceeea8e 2025-09-27 12:50:57,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7aad3a9a-0895-4860-ab66-e75efd269b16 2025-09-27 12:50:58,900 - 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=4.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/2.426/4.363/1.937 ms') 2025-09-27 12:50:58,900 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-98906277 passed 2025-09-27 12:50:59,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:50:59,054 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-98906277, IP 25.34.77.195, Port 22 2025-09-27 12:50:59,220 - DEBUG - VM ctest-vn2-vm1-98906277 is ready for SSH connections 2025-09-27 12:50:59,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:50:59,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.34.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-27 12:50:59,221 - DEBUG - ping -s 56 -c 3 -W 1 25.34.77.195 2025-09-27 12:51:04,491 - DEBUG - PING 25.34.77.195 (25.34.77.195): 56 data bytes --- 25.34.77.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-27 12:51:04,491 - WARNING - Ping to IP 25.34.77.195 from VM ctest-vn1-vm1-67402954 failed 2025-09-27 12:51:04,492 - INFO - Adding interface with subnet_id c4d8c1f7-ccb1-4f49-b7d2-d62d3c281f61, port_id None to router 2f57014d-d4a0-4fa5-aa0f-824045de9fcd 2025-09-27 12:51:04,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:51:04,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.34.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-27 12:51:04,797 - DEBUG - ping -s 56 -c 3 -W 1 25.34.77.195 2025-09-27 12:51:08,033 - DEBUG - PING 25.34.77.195 (25.34.77.195): 56 data bytes 64 bytes from 25.34.77.195: seq=1 ttl=63 time=3.330 ms 64 bytes from 25.34.77.195: seq=2 ttl=63 time=1.257 ms --- 25.34.77.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.257/2.293/3.330 ms 2025-09-27 12:51:08,033 - WARNING - Ping to IP 25.34.77.195 from VM ctest-vn1-vm1-67402954 failed 2025-09-27 12:51:09,034 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.34.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-27 12:51:09,035 - DEBUG - ping -s 56 -c 3 -W 1 25.34.77.195 2025-09-27 12:51:11,271 - DEBUG - PING 25.34.77.195 (25.34.77.195): 56 data bytes 64 bytes from 25.34.77.195: seq=0 ttl=63 time=1.889 ms 64 bytes from 25.34.77.195: seq=1 ttl=63 time=1.155 ms 64 bytes from 25.34.77.195: seq=2 ttl=63 time=1.121 ms --- 25.34.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.121/1.388/1.889 ms 2025-09-27 12:51:11,272 - INFO - Ping to IP 25.34.77.195 from VM ctest-vn1-vm1-67402954 passed 2025-09-27 12:51:11,272 - INFO - Deleting interface with subnet_id 81bb4cfc-abc9-4cbe-bf28-860791e0f840, port_id None from router 2f57014d-d4a0-4fa5-aa0f-824045de9fcd 2025-09-27 12:51:11,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:51:11,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.34.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-27 12:51:11,398 - DEBUG - ping -s 56 -c 3 -W 1 25.34.77.195 2025-09-27 12:51:14,629 - DEBUG - PING 25.34.77.195 (25.34.77.195): 56 data bytes --- 25.34.77.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-27 12:51:14,629 - WARNING - Ping to IP 25.34.77.195 from VM ctest-vn1-vm1-67402954 failed 2025-09-27 12:51:14,629 - INFO - Adding interface with subnet_id 81bb4cfc-abc9-4cbe-bf28-860791e0f840, port_id None to router 2f57014d-d4a0-4fa5-aa0f-824045de9fcd 2025-09-27 12:51:14,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:51:14,870 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.34.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-27 12:51:14,870 - DEBUG - ping -s 56 -c 3 -W 1 25.34.77.195 2025-09-27 12:51:17,093 - DEBUG - PING 25.34.77.195 (25.34.77.195): 56 data bytes 64 bytes from 25.34.77.195: seq=0 ttl=63 time=2.684 ms 64 bytes from 25.34.77.195: seq=1 ttl=63 time=1.556 ms 64 bytes from 25.34.77.195: seq=2 ttl=63 time=1.113 ms --- 25.34.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.113/1.784/2.684 ms 2025-09-27 12:51:17,093 - INFO - Ping to IP 25.34.77.195 from VM ctest-vn1-vm1-67402954 passed 2025-09-27 12:51:17,094 - INFO - Deleting interface with subnet_id c4d8c1f7-ccb1-4f49-b7d2-d62d3c281f61, port_id None from router 2f57014d-d4a0-4fa5-aa0f-824045de9fcd 2025-09-27 12:51:17,234 - INFO - Deleting interface with subnet_id 81bb4cfc-abc9-4cbe-bf28-860791e0f840, port_id None from router 2f57014d-d4a0-4fa5-aa0f-824045de9fcd 2025-09-27 12:51:17,455 - INFO - Deleting VM ctest-vn2-vm1-98906277 2025-09-27 12:51:17,556 - INFO - Deleting VM ctest-vn1-vm1-67402954 2025-09-27 12:51:17,671 - INFO - Deleting VN ctest-vn2-81158773 2025-09-27 12:51:17,716 - DEBUG - VN d6c0c113-75bd-4d5a-bc66-ba49912bee05 still in use: Unable to complete operation on network d6c0c113-75bd-4d5a-bc66-ba49912bee05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4232cf37-e51c-424f-9f97-9a86b11f6c0d'] 2025-09-27 12:51:17,716 - WARNING - Deleting VN ctest-vn2-81158773 failed..Will retry 2025-09-27 12:51:19,828 - DEBUG - Response for deleting network () 2025-09-27 12:51:19,829 - INFO - Deleting VN ctest-vn1-03709338 2025-09-27 12:51:19,952 - DEBUG - Response for deleting network () 2025-09-27 12:51:20,207 - DEBUG - No XMPP flaps were noticed during the test
2025-09-27 12:51:20,207 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-09-27 12:51:20,207 - INFO - -------------------------------------------------------------------------------- 2025-09-27 12:51:20,917 - INFO - Deleted project: ctest-TestRouters-19961210, ID : d8351b97-207b-4c5e-bbd5-b268a321833c