2025-10-09 14:35:21,053 - INFO - Domain Default found not creating 2025-10-09 14:35:21,194 - INFO - Project ctest-TestRouters-72843647 not found, creating it 2025-10-09 14:35:21,641 - INFO - Created Project:ctest-TestRouters-72843647, ID : 059ade11-8213-46c2-acea-a33def0b0920 2025-10-09 14:35:23,119 - INFO - ================================================================================ 2025-10-09 14:35:23,119 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 14:35:23,119 - 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-09 14:35:23,374 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-10-09 14:35:23,374 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:35:23,374 - INFO - 2025-10-09 14:35:23,905 - DEBUG - Response for create_network : {'network': {'id': '4ecaaa2e-4de2-436a-8197-3497298e2e29', 'name': 'ctest-vn1-87776335', 'tenant_id': '059ade11821346c2aceaa33def0b0920', 'project_id': '059ade11821346c2aceaa33def0b0920', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72843647', 'ctest-vn1-87776335'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:35:24,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe624d40-98af-4edd-9470-1f06345aae37', 'name': '', 'tenant_id': '059ade11821346c2aceaa33def0b0920', 'network_id': '4ecaaa2e-4de2-436a-8197-3497298e2e29', 'ip_version': 4, 'cidr': '116.168.169.128/26', 'allocation_pools': [{'start': '116.168.169.130', 'end': '116.168.169.190'}], 'gateway_ip': '116.168.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.168.169.130', 'tags': [], 'project_id': '059ade11821346c2aceaa33def0b0920'}} 2025-10-09 14:35:24,108 - INFO - Created VN ctest-vn1-87776335 2025-10-09 14:35:24,160 - DEBUG - VN ctest-vn1-87776335 UUID is 4ecaaa2e-4de2-436a-8197-3497298e2e29 2025-10-09 14:35:24,482 - DEBUG - Response for create_network : {'network': {'id': '394ab93a-2bbf-42d7-94b9-aa33801d65af', 'name': 'ctest-vn2-15160989', 'tenant_id': '059ade11821346c2aceaa33def0b0920', 'project_id': '059ade11821346c2aceaa33def0b0920', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72843647', 'ctest-vn2-15160989'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:35:24,725 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd28ae8d-fd1a-439d-b676-41d5129d4e2d', 'name': '', 'tenant_id': '059ade11821346c2aceaa33def0b0920', 'network_id': '394ab93a-2bbf-42d7-94b9-aa33801d65af', 'ip_version': 4, 'cidr': '183.101.164.192/26', 'allocation_pools': [{'start': '183.101.164.194', 'end': '183.101.164.254'}], 'gateway_ip': '183.101.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.101.164.194', 'tags': [], 'project_id': '059ade11821346c2aceaa33def0b0920'}} 2025-10-09 14:35:24,743 - INFO - Created VN ctest-vn2-15160989 2025-10-09 14:35:24,796 - DEBUG - VN ctest-vn2-15160989 UUID is 394ab93a-2bbf-42d7-94b9-aa33801d65af 2025-10-09 14:35:25,001 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:35:26,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:35:27,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:35:27,282 - INFO - Adding interface with subnet_id fe624d40-98af-4edd-9470-1f06345aae37, port_id None to router d17dac71-3593-4889-9464-06c6d3f8d513 2025-10-09 14:35:27,564 - INFO - Waiting for VM ctest-vn1-vm1-08530841 to be up.. 2025-10-09 14:35:27,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:35:32,785 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:35:32,785 - INFO - VM name : ctest-vn1-vm1-08530841 2025-10-09 14:35:32,859 - DEBUG - VM ctest-vn1-vm1-08530841 ID is 538f78bc-01d4-48e9-b82a-4c59606bbae1 2025-10-09 14:35:32,877 - DEBUG - VM ctest-vn1-vm1-08530841 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:35:32,947 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/538f78bc-01d4-48e9-b82a-4c59606bbae1 2025-10-09 14:35:33,250 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/538f78bc-01d4-48e9-b82a-4c59606bbae1 2025-10-09 14:35:33,280 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/fc26ba27-55dc-47e7-b34a-faa06a94934b 2025-10-09 14:35:36,524 - 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 1015ms') 2025-10-09 14:35:36,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08530841 failed! 2025-10-09 14:35:36,576 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72843647:ctest-vn1-87776335 is 116.168.169.129 and allocation pool is NOT set 2025-10-09 14:35:38,635 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.598 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.598/2.245/3.893/1.647 ms') 2025-10-09 14:35:38,635 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08530841 passed 2025-10-09 14:35:38,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:38,784 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08530841, IP 116.168.169.131, Port 22 2025-10-09 14:35:38,954 - DEBUG - VM ctest-vn1-vm1-08530841 is ready for SSH connections 2025-10-09 14:35:38,954 - INFO - Waiting for VM ctest-vn2-vm1-91867982 to be up.. 2025-10-09 14:35:39,026 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:35:39,026 - INFO - VM name : ctest-vn2-vm1-91867982 2025-10-09 14:35:39,098 - DEBUG - VM ctest-vn2-vm1-91867982 ID is 89a1b359-5fde-453d-846f-c3b67ce4b1b1 2025-10-09 14:35:39,098 - DEBUG - VM ctest-vn2-vm1-91867982 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:35:39,173 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/89a1b359-5fde-453d-846f-c3b67ce4b1b1 2025-10-09 14:35:39,181 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/38e5a66e-a135-4576-ac61-33af8c04cc41 2025-10-09 14:35:40,411 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/2.332/4.244/1.911 ms') 2025-10-09 14:35:40,411 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-91867982 passed 2025-10-09 14:35:40,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:40,560 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-91867982, IP 183.101.164.195, Port 22 2025-10-09 14:35:40,725 - DEBUG - VM ctest-vn2-vm1-91867982 is ready for SSH connections 2025-10-09 14:35:40,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:40,725 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.101.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:35:40,725 - DEBUG - ping -s 56 -c 3 -W 1 183.101.164.195 2025-10-09 14:35:45,352 - DEBUG - PING 183.101.164.195 (183.101.164.195): 56 data bytes --- 183.101.164.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 14:35:45,352 - WARNING - Ping to IP 183.101.164.195 from VM ctest-vn1-vm1-08530841 failed 2025-10-09 14:35:45,352 - INFO - Adding interface with subnet_id bd28ae8d-fd1a-439d-b676-41d5129d4e2d, port_id None to router d17dac71-3593-4889-9464-06c6d3f8d513 2025-10-09 14:35:45,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:45,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.101.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:35:45,626 - DEBUG - ping -s 56 -c 3 -W 1 183.101.164.195 2025-10-09 14:35:47,828 - DEBUG - PING 183.101.164.195 (183.101.164.195): 56 data bytes 64 bytes from 183.101.164.195: seq=0 ttl=63 time=2.820 ms 64 bytes from 183.101.164.195: seq=1 ttl=63 time=0.966 ms 64 bytes from 183.101.164.195: seq=2 ttl=63 time=0.834 ms --- 183.101.164.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.540/2.820 ms 2025-10-09 14:35:47,828 - INFO - Ping to IP 183.101.164.195 from VM ctest-vn1-vm1-08530841 passed 2025-10-09 14:35:47,828 - INFO - Deleting interface with subnet_id fe624d40-98af-4edd-9470-1f06345aae37, port_id None from router d17dac71-3593-4889-9464-06c6d3f8d513 2025-10-09 14:35:47,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:47,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.101.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:35:47,940 - DEBUG - ping -s 56 -c 3 -W 1 183.101.164.195 2025-10-09 14:35:51,138 - DEBUG - PING 183.101.164.195 (183.101.164.195): 56 data bytes --- 183.101.164.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 14:35:51,138 - WARNING - Ping to IP 183.101.164.195 from VM ctest-vn1-vm1-08530841 failed 2025-10-09 14:35:51,138 - INFO - Adding interface with subnet_id fe624d40-98af-4edd-9470-1f06345aae37, port_id None to router d17dac71-3593-4889-9464-06c6d3f8d513 2025-10-09 14:35:51,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:35:51,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.101.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:35:51,351 - DEBUG - ping -s 56 -c 3 -W 1 183.101.164.195 2025-10-09 14:35:54,584 - DEBUG - PING 183.101.164.195 (183.101.164.195): 56 data bytes 64 bytes from 183.101.164.195: seq=1 ttl=63 time=1.378 ms 64 bytes from 183.101.164.195: seq=2 ttl=63 time=0.892 ms --- 183.101.164.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.892/1.135/1.378 ms 2025-10-09 14:35:54,584 - WARNING - Ping to IP 183.101.164.195 from VM ctest-vn1-vm1-08530841 failed 2025-10-09 14:35:55,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.101.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:35:55,585 - DEBUG - ping -s 56 -c 3 -W 1 183.101.164.195 2025-10-09 14:35:57,783 - DEBUG - PING 183.101.164.195 (183.101.164.195): 56 data bytes 64 bytes from 183.101.164.195: seq=0 ttl=63 time=1.752 ms 64 bytes from 183.101.164.195: seq=1 ttl=63 time=0.841 ms 64 bytes from 183.101.164.195: seq=2 ttl=63 time=0.816 ms --- 183.101.164.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.136/1.752 ms 2025-10-09 14:35:57,783 - INFO - Ping to IP 183.101.164.195 from VM ctest-vn1-vm1-08530841 passed 2025-10-09 14:35:57,784 - INFO - Deleting interface with subnet_id bd28ae8d-fd1a-439d-b676-41d5129d4e2d, port_id None from router d17dac71-3593-4889-9464-06c6d3f8d513 2025-10-09 14:35:57,889 - INFO - Deleting interface with subnet_id fe624d40-98af-4edd-9470-1f06345aae37, port_id None from router d17dac71-3593-4889-9464-06c6d3f8d513 2025-10-09 14:35:58,040 - INFO - Deleting VM ctest-vn2-vm1-91867982 2025-10-09 14:35:58,107 - INFO - Deleting VM ctest-vn1-vm1-08530841 2025-10-09 14:35:58,170 - INFO - Deleting VN ctest-vn2-15160989 2025-10-09 14:35:58,206 - DEBUG - VN 394ab93a-2bbf-42d7-94b9-aa33801d65af still in use: Unable to complete operation on network 394ab93a-2bbf-42d7-94b9-aa33801d65af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-30ebc13f-98bb-42a2-8ecf-a85f25f0a0de'] 2025-10-09 14:35:58,206 - WARNING - Deleting VN ctest-vn2-15160989 failed..Will retry 2025-10-09 14:36:00,307 - DEBUG - Response for deleting network () 2025-10-09 14:36:00,307 - INFO - Deleting VN ctest-vn1-87776335 2025-10-09 14:36:00,404 - DEBUG - Response for deleting network () 2025-10-09 14:36:00,660 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 14:36:00,660 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-09 14:36:00,661 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:36:01,846 - INFO - Deleted project: ctest-TestRouters-72843647, ID : 059ade11-8213-46c2-acea-a33def0b0920