2025-09-11 12:06:12,287 - INFO - Domain Default found not creating 2025-09-11 12:06:12,442 - INFO - Project ctest-TestRouters-67904114 not found, creating it 2025-09-11 12:06:12,900 - INFO - Created Project:ctest-TestRouters-67904114, ID : f97f59e6-6b10-47ee-bae8-322096882454 2025-09-11 12:06:14,519 - INFO - ================================================================================ 2025-09-11 12:06:14,519 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 12:06:14,519 - 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-11 12:06:14,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 12:06:14,777 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:06:14,777 - INFO - 2025-09-11 12:06:15,504 - DEBUG - Response for create_network : {'network': {'id': 'cd14119e-1348-41b3-ade5-41b5fb8ae03d', 'name': 'ctest-vn1-26124298', 'tenant_id': 'f97f59e66b1047eebae8322096882454', 'project_id': 'f97f59e66b1047eebae8322096882454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67904114', 'ctest-vn1-26124298'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:06:15,746 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddc8fdf9-ba27-4fce-b07c-f62f0e8983fb', 'name': '', 'tenant_id': 'f97f59e66b1047eebae8322096882454', 'network_id': 'cd14119e-1348-41b3-ade5-41b5fb8ae03d', 'ip_version': 4, 'cidr': '197.253.122.128/26', 'allocation_pools': [{'start': '197.253.122.130', 'end': '197.253.122.190'}], 'gateway_ip': '197.253.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.253.122.130', 'tags': [], 'project_id': 'f97f59e66b1047eebae8322096882454'}} 2025-09-11 12:06:15,767 - INFO - Created VN ctest-vn1-26124298 2025-09-11 12:06:15,825 - DEBUG - VN ctest-vn1-26124298 UUID is cd14119e-1348-41b3-ade5-41b5fb8ae03d 2025-09-11 12:06:16,157 - DEBUG - Response for create_network : {'network': {'id': '73ae1e9d-c2ab-407e-bae5-97909ef81d83', 'name': 'ctest-vn2-54133589', 'tenant_id': 'f97f59e66b1047eebae8322096882454', 'project_id': 'f97f59e66b1047eebae8322096882454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67904114', 'ctest-vn2-54133589'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:06:16,369 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ede44e36-e1d0-4ba4-be0e-1c54aa45e5ba', 'name': '', 'tenant_id': 'f97f59e66b1047eebae8322096882454', 'network_id': '73ae1e9d-c2ab-407e-bae5-97909ef81d83', 'ip_version': 4, 'cidr': '162.240.175.0/26', 'allocation_pools': [{'start': '162.240.175.2', 'end': '162.240.175.62'}], 'gateway_ip': '162.240.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.240.175.2', 'tags': [], 'project_id': 'f97f59e66b1047eebae8322096882454'}} 2025-09-11 12:06:16,386 - INFO - Created VN ctest-vn2-54133589 2025-09-11 12:06:16,437 - DEBUG - VN ctest-vn2-54133589 UUID is 73ae1e9d-c2ab-407e-bae5-97909ef81d83 2025-09-11 12:06:16,721 - DEBUG - Services list from nova: [, , ] 2025-09-11 12:06:17,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:06:19,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:06:19,509 - INFO - Adding interface with subnet_id ddc8fdf9-ba27-4fce-b07c-f62f0e8983fb, port_id None to router 9eaff990-ad7a-4ece-b22c-28dc87be845c 2025-09-11 12:06:19,787 - INFO - Waiting for VM ctest-vn1-vm1-38313348 to be up.. 2025-09-11 12:06:19,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 12:06:24,969 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:06:24,969 - INFO - VM name : ctest-vn1-vm1-38313348 2025-09-11 12:06:25,046 - DEBUG - VM ctest-vn1-vm1-38313348 ID is d8b045cc-e735-41d0-bb59-d448dace7248 2025-09-11 12:06:25,066 - DEBUG - VM ctest-vn1-vm1-38313348 launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:06:25,142 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d8b045cc-e735-41d0-bb59-d448dace7248 2025-09-11 12:06:25,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d8b045cc-e735-41d0-bb59-d448dace7248 2025-09-11 12:06:25,512 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/52bd7394-1e38-4247-99fb-7b9012463a3b 2025-09-11 12:06:28,768 - 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-09-11 12:06:28,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38313348 failed! 2025-09-11 12:06:28,829 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-67904114:ctest-vn1-26124298 is 197.253.122.129 and allocation pool is NOT set 2025-09-11 12:06:30,898 - 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=6.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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.612/4.447/6.282/1.835 ms') 2025-09-11 12:06:30,898 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38313348 passed 2025-09-11 12:06:31,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:31,058 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38313348, IP 197.253.122.131, Port 22 2025-09-11 12:06:31,213 - DEBUG - VM ctest-vn1-vm1-38313348 is ready for SSH connections 2025-09-11 12:06:31,213 - INFO - Waiting for VM ctest-vn2-vm1-04687056 to be up.. 2025-09-11 12:06:31,297 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:06:31,298 - INFO - VM name : ctest-vn2-vm1-04687056 2025-09-11 12:06:31,369 - DEBUG - VM ctest-vn2-vm1-04687056 ID is 3bf78359-b4cd-4880-b729-609aa6f9cfd6 2025-09-11 12:06:31,369 - DEBUG - VM ctest-vn2-vm1-04687056 launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:06:31,444 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3bf78359-b4cd-4880-b729-609aa6f9cfd6 2025-09-11 12:06:31,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/23b8d4f3-5e83-4319-8dd1-db6f99d25dbb 2025-09-11 12:06:32,691 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.38 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 = 1.380/2.946/4.513/1.566 ms') 2025-09-11 12:06:32,691 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-04687056 passed 2025-09-11 12:06:32,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:32,845 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-04687056, IP 162.240.175.3, Port 22 2025-09-11 12:06:32,912 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-11 12:06:32,990 - DEBUG - VM ctest-vn2-vm1-04687056 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 12:06:37,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:37,992 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-04687056, IP 162.240.175.3, Port 22 2025-09-11 12:06:38,149 - DEBUG - VM ctest-vn2-vm1-04687056 is ready for SSH connections 2025-09-11 12:06:38,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:38,149 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.240.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:06:38,149 - DEBUG - ping -s 56 -c 3 -W 1 162.240.175.3 2025-09-11 12:06:43,251 - DEBUG - PING 162.240.175.3 (162.240.175.3): 56 data bytes --- 162.240.175.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 12:06:43,251 - WARNING - Ping to IP 162.240.175.3 from VM ctest-vn1-vm1-38313348 failed 2025-09-11 12:06:43,251 - INFO - Adding interface with subnet_id ede44e36-e1d0-4ba4-be0e-1c54aa45e5ba, port_id None to router 9eaff990-ad7a-4ece-b22c-28dc87be845c 2025-09-11 12:06:43,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:43,490 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.240.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:06:43,490 - DEBUG - ping -s 56 -c 3 -W 1 162.240.175.3 2025-09-11 12:06:46,739 - DEBUG - PING 162.240.175.3 (162.240.175.3): 56 data bytes 64 bytes from 162.240.175.3: seq=1 ttl=63 time=5.088 ms 64 bytes from 162.240.175.3: seq=2 ttl=63 time=0.883 ms --- 162.240.175.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.883/2.985/5.088 ms 2025-09-11 12:06:46,739 - WARNING - Ping to IP 162.240.175.3 from VM ctest-vn1-vm1-38313348 failed 2025-09-11 12:06:47,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.240.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:06:47,740 - DEBUG - ping -s 56 -c 3 -W 1 162.240.175.3 2025-09-11 12:06:49,966 - DEBUG - PING 162.240.175.3 (162.240.175.3): 56 data bytes 64 bytes from 162.240.175.3: seq=0 ttl=63 time=1.780 ms 64 bytes from 162.240.175.3: seq=1 ttl=63 time=0.838 ms 64 bytes from 162.240.175.3: seq=2 ttl=63 time=0.918 ms --- 162.240.175.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.178/1.780 ms 2025-09-11 12:06:49,967 - INFO - Ping to IP 162.240.175.3 from VM ctest-vn1-vm1-38313348 passed 2025-09-11 12:06:49,967 - INFO - Deleting interface with subnet_id ddc8fdf9-ba27-4fce-b07c-f62f0e8983fb, port_id None from router 9eaff990-ad7a-4ece-b22c-28dc87be845c 2025-09-11 12:06:50,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:50,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.240.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:06:50,093 - DEBUG - ping -s 56 -c 3 -W 1 162.240.175.3 2025-09-11 12:06:53,362 - DEBUG - PING 162.240.175.3 (162.240.175.3): 56 data bytes --- 162.240.175.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 12:06:53,362 - WARNING - Ping to IP 162.240.175.3 from VM ctest-vn1-vm1-38313348 failed 2025-09-11 12:06:53,362 - INFO - Adding interface with subnet_id ddc8fdf9-ba27-4fce-b07c-f62f0e8983fb, port_id None to router 9eaff990-ad7a-4ece-b22c-28dc87be845c 2025-09-11 12:06:53,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:06:53,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.240.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:06:53,579 - DEBUG - ping -s 56 -c 3 -W 1 162.240.175.3 2025-09-11 12:06:55,819 - DEBUG - PING 162.240.175.3 (162.240.175.3): 56 data bytes 64 bytes from 162.240.175.3: seq=0 ttl=63 time=1.638 ms 64 bytes from 162.240.175.3: seq=1 ttl=63 time=0.882 ms 64 bytes from 162.240.175.3: seq=2 ttl=63 time=0.965 ms --- 162.240.175.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/1.161/1.638 ms 2025-09-11 12:06:55,819 - INFO - Ping to IP 162.240.175.3 from VM ctest-vn1-vm1-38313348 passed 2025-09-11 12:06:55,819 - INFO - Deleting interface with subnet_id ede44e36-e1d0-4ba4-be0e-1c54aa45e5ba, port_id None from router 9eaff990-ad7a-4ece-b22c-28dc87be845c 2025-09-11 12:06:55,937 - INFO - Deleting interface with subnet_id ddc8fdf9-ba27-4fce-b07c-f62f0e8983fb, port_id None from router 9eaff990-ad7a-4ece-b22c-28dc87be845c 2025-09-11 12:06:56,120 - INFO - Deleting VM ctest-vn2-vm1-04687056 2025-09-11 12:06:56,202 - INFO - Deleting VM ctest-vn1-vm1-38313348 2025-09-11 12:06:56,280 - INFO - Deleting VN ctest-vn2-54133589 2025-09-11 12:06:56,325 - DEBUG - VN 73ae1e9d-c2ab-407e-bae5-97909ef81d83 still in use: Unable to complete operation on network 73ae1e9d-c2ab-407e-bae5-97909ef81d83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a848286-ab10-40f9-ae40-06d7298f5e3c'] 2025-09-11 12:06:56,325 - WARNING - Deleting VN ctest-vn2-54133589 failed..Will retry 2025-09-11 12:06:58,432 - DEBUG - Response for deleting network () 2025-09-11 12:06:58,432 - INFO - Deleting VN ctest-vn1-26124298 2025-09-11 12:06:58,536 - DEBUG - Response for deleting network () 2025-09-11 12:06:58,792 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 12:06:58,792 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-09-11 12:06:58,792 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:06:59,527 - INFO - Deleted project: ctest-TestRouters-67904114, ID : f97f59e6-6b10-47ee-bae8-322096882454