2025-10-30 21:27:30,341 - INFO - Domain Default found not creating 2025-10-30 21:27:30,563 - INFO - Project ctest-TestRouters-89434904 not found, creating it 2025-10-30 21:27:31,134 - INFO - Created Project:ctest-TestRouters-89434904, ID : 72aec9e7-2741-437d-bba1-abb9ccb98d41 2025-10-30 21:27:33,309 - INFO - ================================================================================ 2025-10-30 21:27:33,309 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 21:27:33,310 - 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-30 21:27:33,613 - DEBUG - Nothing to compare xmpp stats {'10.0.0.153': {'10.20.0.254': '0'}} with 2025-10-30 21:27:33,613 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:27:33,613 - INFO - 2025-10-30 21:27:34,323 - DEBUG - Response for create_network : {'network': {'id': 'a98965e4-2019-49fc-8a72-deefc2e079e1', 'name': 'ctest-vn1-94669044', 'tenant_id': '72aec9e72741437dbba1abb9ccb98d41', 'project_id': '72aec9e72741437dbba1abb9ccb98d41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-89434904', 'ctest-vn1-94669044'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:27:34,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '4490a10f-806e-44fd-bc1a-efd5ea017bbd', 'name': '', 'tenant_id': '72aec9e72741437dbba1abb9ccb98d41', 'network_id': 'a98965e4-2019-49fc-8a72-deefc2e079e1', 'ip_version': 4, 'cidr': '198.56.175.128/26', 'allocation_pools': [{'start': '198.56.175.130', 'end': '198.56.175.190'}], 'gateway_ip': '198.56.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.56.175.130', 'tags': [], 'project_id': '72aec9e72741437dbba1abb9ccb98d41'}} 2025-10-30 21:27:34,596 - INFO - Created VN ctest-vn1-94669044 2025-10-30 21:27:34,653 - DEBUG - VN ctest-vn1-94669044 UUID is a98965e4-2019-49fc-8a72-deefc2e079e1 2025-10-30 21:27:35,153 - DEBUG - Response for create_network : {'network': {'id': 'e9393f5e-f18b-4c4e-af5d-dc2a9ec16b18', 'name': 'ctest-vn2-55895479', 'tenant_id': '72aec9e72741437dbba1abb9ccb98d41', 'project_id': '72aec9e72741437dbba1abb9ccb98d41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-89434904', 'ctest-vn2-55895479'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:27:35,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3225684-a548-4563-a825-7b093f6c2b8c', 'name': '', 'tenant_id': '72aec9e72741437dbba1abb9ccb98d41', 'network_id': 'e9393f5e-f18b-4c4e-af5d-dc2a9ec16b18', 'ip_version': 4, 'cidr': '113.94.183.0/26', 'allocation_pools': [{'start': '113.94.183.2', 'end': '113.94.183.62'}], 'gateway_ip': '113.94.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.94.183.2', 'tags': [], 'project_id': '72aec9e72741437dbba1abb9ccb98d41'}} 2025-10-30 21:27:35,440 - INFO - Created VN ctest-vn2-55895479 2025-10-30 21:27:35,501 - DEBUG - VN ctest-vn2-55895479 UUID is e9393f5e-f18b-4c4e-af5d-dc2a9ec16b18 2025-10-30 21:27:35,766 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:27:37,212 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1) 2025-10-30 21:27:38,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1) 2025-10-30 21:27:38,861 - INFO - Adding interface with subnet_id 4490a10f-806e-44fd-bc1a-efd5ea017bbd, port_id None to router 2b4fa8a2-5a0b-4f35-ab0f-11df272d10d9 2025-10-30 21:27:39,164 - INFO - Waiting for VM ctest-vn1-vm1-88647143 to be up.. 2025-10-30 21:27:39,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:27:44,425 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:27:44,426 - INFO - VM name : ctest-vn1-vm1-88647143 2025-10-30 21:27:44,569 - DEBUG - VM ctest-vn1-vm1-88647143 ID is 5d0a6876-1457-4b2f-a4ef-09154caeaa17 2025-10-30 21:27:44,597 - DEBUG - VM ctest-vn1-vm1-88647143 launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1 2025-10-30 21:27:44,727 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/5d0a6876-1457-4b2f-a4ef-09154caeaa17 2025-10-30 21:27:45,032 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/5d0a6876-1457-4b2f-a4ef-09154caeaa17 2025-10-30 21:27:45,068 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/21e1fc96-1f88-48dd-8411-614056c68cd6 2025-10-30 21:27:48,355 - 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 1010ms') 2025-10-30 21:27:48,355 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88647143 failed! 2025-10-30 21:27:48,433 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-89434904:ctest-vn1-94669044 is 198.56.175.129 and allocation pool is NOT set 2025-10-30 21:27:50,509 - 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=5.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.11 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 = 2.112/3.965/5.818/1.853 ms') 2025-10-30 21:27:50,509 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88647143 passed 2025-10-30 21:27:50,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:27:50,669 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88647143, IP 198.56.175.131, Port 22 2025-10-30 21:27:50,734 - 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-30 21:27:50,866 - DEBUG - VM ctest-vn1-vm1-88647143 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 21:27:55,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:27:55,868 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88647143, IP 198.56.175.131, Port 22 2025-10-30 21:27:56,075 - DEBUG - VM ctest-vn1-vm1-88647143 is ready for SSH connections 2025-10-30 21:27:56,076 - INFO - Waiting for VM ctest-vn2-vm1-90598275 to be up.. 2025-10-30 21:27:56,286 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:27:56,286 - INFO - VM name : ctest-vn2-vm1-90598275 2025-10-30 21:27:56,490 - DEBUG - VM ctest-vn2-vm1-90598275 ID is 372a1e83-824c-4700-8c64-616cf5c88dae 2025-10-30 21:27:56,490 - DEBUG - VM ctest-vn2-vm1-90598275 launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1 2025-10-30 21:27:56,686 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/372a1e83-824c-4700-8c64-616cf5c88dae 2025-10-30 21:27:56,707 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/d74f2659-4661-4438-a68c-2d78338c101a 2025-10-30 21:27:58,028 - 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=9.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.756 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.756/5.335/9.915/4.579 ms') 2025-10-30 21:27:58,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-90598275 passed 2025-10-30 21:27:58,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:27:58,209 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90598275, IP 113.94.183.3, Port 22 2025-10-30 21:27:58,418 - DEBUG - VM ctest-vn2-vm1-90598275 is ready for SSH connections 2025-10-30 21:27:58,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:27:58,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.94.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123 2025-10-30 21:27:58,419 - DEBUG - ping -s 56 -c 3 -W 1 113.94.183.3 2025-10-30 21:28:03,575 - DEBUG - PING 113.94.183.3 (113.94.183.3): 56 data bytes --- 113.94.183.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 21:28:03,575 - WARNING - Ping to IP 113.94.183.3 from VM ctest-vn1-vm1-88647143 failed 2025-10-30 21:28:03,576 - INFO - Adding interface with subnet_id b3225684-a548-4563-a825-7b093f6c2b8c, port_id None to router 2b4fa8a2-5a0b-4f35-ab0f-11df272d10d9 2025-10-30 21:28:04,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:28:04,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.94.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123 2025-10-30 21:28:04,036 - DEBUG - ping -s 56 -c 3 -W 1 113.94.183.3 2025-10-30 21:28:06,276 - DEBUG - PING 113.94.183.3 (113.94.183.3): 56 data bytes 64 bytes from 113.94.183.3: seq=0 ttl=63 time=3.127 ms 64 bytes from 113.94.183.3: seq=1 ttl=63 time=1.806 ms 64 bytes from 113.94.183.3: seq=2 ttl=63 time=2.240 ms --- 113.94.183.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.806/2.391/3.127 ms 2025-10-30 21:28:06,277 - INFO - Ping to IP 113.94.183.3 from VM ctest-vn1-vm1-88647143 passed 2025-10-30 21:28:06,277 - INFO - Deleting interface with subnet_id 4490a10f-806e-44fd-bc1a-efd5ea017bbd, port_id None from router 2b4fa8a2-5a0b-4f35-ab0f-11df272d10d9 2025-10-30 21:28:06,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:28:06,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.94.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123 2025-10-30 21:28:06,498 - DEBUG - ping -s 56 -c 3 -W 1 113.94.183.3 2025-10-30 21:28:09,748 - DEBUG - PING 113.94.183.3 (113.94.183.3): 56 data bytes --- 113.94.183.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 21:28:09,748 - WARNING - Ping to IP 113.94.183.3 from VM ctest-vn1-vm1-88647143 failed 2025-10-30 21:28:09,749 - INFO - Adding interface with subnet_id 4490a10f-806e-44fd-bc1a-efd5ea017bbd, port_id None to router 2b4fa8a2-5a0b-4f35-ab0f-11df272d10d9 2025-10-30 21:28:10,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:28:10,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.94.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123 2025-10-30 21:28:10,067 - DEBUG - ping -s 56 -c 3 -W 1 113.94.183.3 2025-10-30 21:28:12,321 - DEBUG - PING 113.94.183.3 (113.94.183.3): 56 data bytes 64 bytes from 113.94.183.3: seq=0 ttl=63 time=2.121 ms 64 bytes from 113.94.183.3: seq=1 ttl=63 time=1.809 ms 64 bytes from 113.94.183.3: seq=2 ttl=63 time=2.156 ms --- 113.94.183.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.809/2.028/2.156 ms 2025-10-30 21:28:12,322 - INFO - Ping to IP 113.94.183.3 from VM ctest-vn1-vm1-88647143 passed 2025-10-30 21:28:12,322 - INFO - Deleting interface with subnet_id b3225684-a548-4563-a825-7b093f6c2b8c, port_id None from router 2b4fa8a2-5a0b-4f35-ab0f-11df272d10d9 2025-10-30 21:28:12,511 - INFO - Deleting interface with subnet_id 4490a10f-806e-44fd-bc1a-efd5ea017bbd, port_id None from router 2b4fa8a2-5a0b-4f35-ab0f-11df272d10d9 2025-10-30 21:28:12,730 - INFO - Deleting VM ctest-vn2-vm1-90598275 2025-10-30 21:28:12,796 - INFO - Deleting VM ctest-vn1-vm1-88647143 2025-10-30 21:28:12,872 - INFO - Deleting VN ctest-vn2-55895479 2025-10-30 21:28:12,932 - DEBUG - VN e9393f5e-f18b-4c4e-af5d-dc2a9ec16b18 still in use: Unable to complete operation on network e9393f5e-f18b-4c4e-af5d-dc2a9ec16b18. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e4c98966-eddc-4a33-ab03-8817cf8418ee'] 2025-10-30 21:28:12,932 - WARNING - Deleting VN ctest-vn2-55895479 failed..Will retry 2025-10-30 21:28:15,132 - DEBUG - Response for deleting network () 2025-10-30 21:28:15,132 - INFO - Deleting VN ctest-vn1-94669044 2025-10-30 21:28:15,270 - DEBUG - Response for deleting network () 2025-10-30 21:28:15,582 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 21:28:15,582 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-10-30 21:28:15,582 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:28:16,455 - INFO - Deleted project: ctest-TestRouters-89434904, ID : 72aec9e7-2741-437d-bba1-abb9ccb98d41