2025-09-04 12:32:20,825 - INFO - Domain Default found not creating 2025-09-04 12:32:20,964 - INFO - Project ctest-TestRouters-14206558 not found, creating it 2025-09-04 12:32:21,410 - INFO - Created Project:ctest-TestRouters-14206558, ID : 42a9bd35-053e-4ea2-896d-f8e017fa026a 2025-09-04 12:32:22,803 - INFO - ================================================================================ 2025-09-04 12:32:22,803 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-04 12:32:22,803 - 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-04 12:32:23,060 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-04 12:32:23,060 - INFO - Initial checks done. Running the testcase now 2025-09-04 12:32:23,060 - INFO - 2025-09-04 12:32:23,585 - DEBUG - Response for create_network : {'network': {'id': '6b793d04-4645-4b2c-aadc-a83112ee49f3', 'name': 'ctest-vn1-87950959', 'tenant_id': '42a9bd35053e4ea2896df8e017fa026a', 'project_id': '42a9bd35053e4ea2896df8e017fa026a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14206558', 'ctest-vn1-87950959'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 12:32:23,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a347246-53d7-4c4e-9898-9da0c4dde9d5', 'name': '', 'tenant_id': '42a9bd35053e4ea2896df8e017fa026a', 'network_id': '6b793d04-4645-4b2c-aadc-a83112ee49f3', 'ip_version': 4, 'cidr': '34.27.134.0/26', 'allocation_pools': [{'start': '34.27.134.2', 'end': '34.27.134.62'}], 'gateway_ip': '34.27.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.27.134.2', 'tags': [], 'project_id': '42a9bd35053e4ea2896df8e017fa026a'}} 2025-09-04 12:32:23,796 - INFO - Created VN ctest-vn1-87950959 2025-09-04 12:32:23,850 - DEBUG - VN ctest-vn1-87950959 UUID is 6b793d04-4645-4b2c-aadc-a83112ee49f3 2025-09-04 12:32:24,162 - DEBUG - Response for create_network : {'network': {'id': 'f9ec15c4-6047-4fe7-8cdf-880766db4cec', 'name': 'ctest-vn2-53723126', 'tenant_id': '42a9bd35053e4ea2896df8e017fa026a', 'project_id': '42a9bd35053e4ea2896df8e017fa026a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14206558', 'ctest-vn2-53723126'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 12:32:24,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d92c26d-efcb-44ba-97e0-a9fb14da4219', 'name': '', 'tenant_id': '42a9bd35053e4ea2896df8e017fa026a', 'network_id': 'f9ec15c4-6047-4fe7-8cdf-880766db4cec', 'ip_version': 4, 'cidr': '129.31.253.64/26', 'allocation_pools': [{'start': '129.31.253.66', 'end': '129.31.253.126'}], 'gateway_ip': '129.31.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.31.253.66', 'tags': [], 'project_id': '42a9bd35053e4ea2896df8e017fa026a'}} 2025-09-04 12:32:24,398 - INFO - Created VN ctest-vn2-53723126 2025-09-04 12:32:24,454 - DEBUG - VN ctest-vn2-53723126 UUID is f9ec15c4-6047-4fe7-8cdf-880766db4cec 2025-09-04 12:32:24,701 - DEBUG - Services list from nova: [, , ] 2025-09-04 12:32:25,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4014-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4014-1) 2025-09-04 12:32:26,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4014-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4014-1) 2025-09-04 12:32:26,862 - INFO - Adding interface with subnet_id 8a347246-53d7-4c4e-9898-9da0c4dde9d5, port_id None to router 22399856-8c69-4f23-9d0f-50e7f726369f 2025-09-04 12:32:27,106 - INFO - Waiting for VM ctest-vn1-vm1-92244809 to be up.. 2025-09-04 12:32:27,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 12:32:32,251 - DEBUG - VM is in ACTIVE state now 2025-09-04 12:32:32,251 - INFO - VM name : ctest-vn1-vm1-92244809 2025-09-04 12:32:32,313 - DEBUG - VM ctest-vn1-vm1-92244809 ID is 60f36079-7ef4-43d6-897e-2171880f1577 2025-09-04 12:32:32,330 - DEBUG - VM ctest-vn1-vm1-92244809 launched on Node cn-jenkins-deploy-platform-ansible-os-4014-1 2025-09-04 12:32:32,393 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/60f36079-7ef4-43d6-897e-2171880f1577 2025-09-04 12:32:32,683 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/60f36079-7ef4-43d6-897e-2171880f1577 2025-09-04 12:32:32,709 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/15fef1c6-8e4b-4d66-a924-5dbbf5d7e33d 2025-09-04 12:32:35,959 - 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 1024ms') 2025-09-04 12:32:35,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92244809 failed! 2025-09-04 12:32:36,014 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-14206558:ctest-vn1-87950959 is 34.27.134.1 and allocation pool is NOT set 2025-09-04 12:32:38,079 - 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.308 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.308/1.643/2.979/1.335 ms') 2025-09-04 12:32:38,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92244809 passed 2025-09-04 12:32:38,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:32:38,242 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92244809, IP 34.27.134.3, Port 22 2025-09-04 12:32:38,402 - DEBUG - VM ctest-vn1-vm1-92244809 is ready for SSH connections 2025-09-04 12:32:38,402 - INFO - Waiting for VM ctest-vn2-vm1-18024071 to be up.. 2025-09-04 12:32:38,479 - DEBUG - VM is in ACTIVE state now 2025-09-04 12:32:38,479 - INFO - VM name : ctest-vn2-vm1-18024071 2025-09-04 12:32:38,555 - DEBUG - VM ctest-vn2-vm1-18024071 ID is 2a1e874f-5364-47a8-9364-4d4d27860410 2025-09-04 12:32:38,555 - DEBUG - VM ctest-vn2-vm1-18024071 launched on Node cn-jenkins-deploy-platform-ansible-os-4014-1 2025-09-04 12:32:38,620 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2a1e874f-5364-47a8-9364-4d4d27860410 2025-09-04 12:32:38,627 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c4536d3b-16b1-4069-8b61-9b1655ff4ed2 2025-09-04 12:32:39,858 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.329 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.329/1.588/2.848/1.259 ms') 2025-09-04 12:32:39,858 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-18024071 passed 2025-09-04 12:32:40,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:32:40,006 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-18024071, IP 129.31.253.67, Port 22 2025-09-04 12:32:40,157 - DEBUG - VM ctest-vn2-vm1-18024071 is ready for SSH connections 2025-09-04 12:32:40,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:32:40,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.31.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 12:32:40,157 - DEBUG - ping -s 56 -c 3 -W 1 129.31.253.67 2025-09-04 12:32:45,087 - DEBUG - PING 129.31.253.67 (129.31.253.67): 56 data bytes --- 129.31.253.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 12:32:45,087 - WARNING - Ping to IP 129.31.253.67 from VM ctest-vn1-vm1-92244809 failed 2025-09-04 12:32:45,087 - INFO - Adding interface with subnet_id 0d92c26d-efcb-44ba-97e0-a9fb14da4219, port_id None to router 22399856-8c69-4f23-9d0f-50e7f726369f 2025-09-04 12:32:45,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:32:45,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.31.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 12:32:45,339 - DEBUG - ping -s 56 -c 3 -W 1 129.31.253.67 2025-09-04 12:32:47,539 - DEBUG - PING 129.31.253.67 (129.31.253.67): 56 data bytes 64 bytes from 129.31.253.67: seq=0 ttl=63 time=2.605 ms 64 bytes from 129.31.253.67: seq=1 ttl=63 time=0.818 ms 64 bytes from 129.31.253.67: seq=2 ttl=63 time=0.926 ms --- 129.31.253.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.449/2.605 ms 2025-09-04 12:32:47,539 - INFO - Ping to IP 129.31.253.67 from VM ctest-vn1-vm1-92244809 passed 2025-09-04 12:32:47,539 - INFO - Deleting interface with subnet_id 8a347246-53d7-4c4e-9898-9da0c4dde9d5, port_id None from router 22399856-8c69-4f23-9d0f-50e7f726369f 2025-09-04 12:32:47,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:32:47,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.31.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 12:32:47,645 - DEBUG - ping -s 56 -c 3 -W 1 129.31.253.67 2025-09-04 12:32:50,839 - DEBUG - PING 129.31.253.67 (129.31.253.67): 56 data bytes --- 129.31.253.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 12:32:50,839 - WARNING - Ping to IP 129.31.253.67 from VM ctest-vn1-vm1-92244809 failed 2025-09-04 12:32:50,839 - INFO - Adding interface with subnet_id 8a347246-53d7-4c4e-9898-9da0c4dde9d5, port_id None to router 22399856-8c69-4f23-9d0f-50e7f726369f 2025-09-04 12:32:51,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:32:51,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.31.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 12:32:51,042 - DEBUG - ping -s 56 -c 3 -W 1 129.31.253.67 2025-09-04 12:32:53,240 - DEBUG - PING 129.31.253.67 (129.31.253.67): 56 data bytes 64 bytes from 129.31.253.67: seq=0 ttl=63 time=1.370 ms 64 bytes from 129.31.253.67: seq=1 ttl=63 time=0.891 ms 64 bytes from 129.31.253.67: seq=2 ttl=63 time=1.033 ms --- 129.31.253.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/1.098/1.370 ms 2025-09-04 12:32:53,240 - INFO - Ping to IP 129.31.253.67 from VM ctest-vn1-vm1-92244809 passed 2025-09-04 12:32:53,240 - INFO - Deleting interface with subnet_id 0d92c26d-efcb-44ba-97e0-a9fb14da4219, port_id None from router 22399856-8c69-4f23-9d0f-50e7f726369f 2025-09-04 12:32:53,353 - INFO - Deleting interface with subnet_id 8a347246-53d7-4c4e-9898-9da0c4dde9d5, port_id None from router 22399856-8c69-4f23-9d0f-50e7f726369f 2025-09-04 12:32:53,502 - INFO - Deleting VM ctest-vn2-vm1-18024071 2025-09-04 12:32:53,565 - INFO - Deleting VM ctest-vn1-vm1-92244809 2025-09-04 12:32:53,629 - INFO - Deleting VN ctest-vn2-53723126 2025-09-04 12:32:53,662 - DEBUG - VN f9ec15c4-6047-4fe7-8cdf-880766db4cec still in use: Unable to complete operation on network f9ec15c4-6047-4fe7-8cdf-880766db4cec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c781e8c7-39a8-465f-b06b-5fadcfe61cef'] 2025-09-04 12:32:53,663 - WARNING - Deleting VN ctest-vn2-53723126 failed..Will retry 2025-09-04 12:32:55,755 - DEBUG - Response for deleting network () 2025-09-04 12:32:55,755 - INFO - Deleting VN ctest-vn1-87950959 2025-09-04 12:32:55,845 - DEBUG - Response for deleting network () 2025-09-04 12:32:56,094 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 12:32:56,094 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34]
2025-09-04 12:32:56,094 - INFO - -------------------------------------------------------------------------------- 2025-09-04 12:32:56,733 - INFO - Deleted project: ctest-TestRouters-14206558, ID : 42a9bd35-053e-4ea2-896d-f8e017fa026a