2025-12-18 20:51:57,922 - INFO - Domain Default found not creating 2025-12-18 20:51:58,117 - INFO - Project ctest-TestRouters-75588148 not found, creating it 2025-12-18 20:51:58,644 - INFO - Created Project:ctest-TestRouters-75588148, ID : 707beea6-db7b-4d9d-94b2-bc02ca96a89f 2025-12-18 20:52:00,323 - INFO - ================================================================================ 2025-12-18 20:52:00,323 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-18 20:52:00,323 - 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-12-18 20:52:00,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-12-18 20:52:00,593 - INFO - Initial checks done. Running the testcase now 2025-12-18 20:52:00,593 - INFO - 2025-12-18 20:52:01,233 - DEBUG - Response for create_network : {'network': {'id': '6c281af5-59f8-4f8b-84e8-a4373b9a8478', 'name': 'ctest-vn1-97877171', 'tenant_id': '707beea6db7b4d9d94b2bc02ca96a89f', 'project_id': '707beea6db7b4d9d94b2bc02ca96a89f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-75588148', 'ctest-vn1-97877171'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 20:52:01,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '4476aa15-726d-4a1d-a656-df1e7738865b', 'name': '', 'tenant_id': '707beea6db7b4d9d94b2bc02ca96a89f', 'network_id': '6c281af5-59f8-4f8b-84e8-a4373b9a8478', 'ip_version': 4, 'cidr': '176.77.103.64/26', 'allocation_pools': [{'start': '176.77.103.66', 'end': '176.77.103.126'}], 'gateway_ip': '176.77.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.77.103.66', 'tags': [], 'project_id': '707beea6db7b4d9d94b2bc02ca96a89f'}} 2025-12-18 20:52:01,488 - INFO - Created VN ctest-vn1-97877171 2025-12-18 20:52:01,549 - DEBUG - VN ctest-vn1-97877171 UUID is 6c281af5-59f8-4f8b-84e8-a4373b9a8478 2025-12-18 20:52:01,922 - DEBUG - Response for create_network : {'network': {'id': '397ead7d-1683-4712-b9a6-bb936fbf9ee7', 'name': 'ctest-vn2-10788234', 'tenant_id': '707beea6db7b4d9d94b2bc02ca96a89f', 'project_id': '707beea6db7b4d9d94b2bc02ca96a89f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-75588148', 'ctest-vn2-10788234'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 20:52:02,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ece41734-3fb0-42f5-a41a-d0e01d6e7dc4', 'name': '', 'tenant_id': '707beea6db7b4d9d94b2bc02ca96a89f', 'network_id': '397ead7d-1683-4712-b9a6-bb936fbf9ee7', 'ip_version': 4, 'cidr': '33.128.162.192/26', 'allocation_pools': [{'start': '33.128.162.194', 'end': '33.128.162.254'}], 'gateway_ip': '33.128.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.128.162.194', 'tags': [], 'project_id': '707beea6db7b4d9d94b2bc02ca96a89f'}} 2025-12-18 20:52:02,170 - INFO - Created VN ctest-vn2-10788234 2025-12-18 20:52:02,225 - DEBUG - VN ctest-vn2-10788234 UUID is 397ead7d-1683-4712-b9a6-bb936fbf9ee7 2025-12-18 20:52:02,406 - DEBUG - Services list from nova: [, , ] 2025-12-18 20:52:03,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4907-1) 2025-12-18 20:52:04,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4907-1) 2025-12-18 20:52:04,985 - INFO - Adding interface with subnet_id 4476aa15-726d-4a1d-a656-df1e7738865b, port_id None to router 232705db-2228-443e-9000-ea741e44e8e9 2025-12-18 20:52:05,293 - INFO - Waiting for VM ctest-vn1-vm1-40798599 to be up.. 2025-12-18 20:52:05,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 20:52:10,505 - DEBUG - VM is in ACTIVE state now 2025-12-18 20:52:10,506 - INFO - VM name : ctest-vn1-vm1-40798599 2025-12-18 20:52:10,588 - DEBUG - VM ctest-vn1-vm1-40798599 ID is 1835c210-ed2c-4511-a056-52908b8b6049 2025-12-18 20:52:10,611 - DEBUG - VM ctest-vn1-vm1-40798599 launched on Node cn-jenkins-deploy-platform-ansible-os-4907-1 2025-12-18 20:52:10,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1835c210-ed2c-4511-a056-52908b8b6049 2025-12-18 20:52:11,000 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1835c210-ed2c-4511-a056-52908b8b6049 2025-12-18 20:52:11,037 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fdccdc15-9bd2-43fb-aaee-e57ed82c53f4 2025-12-18 20:52:14,306 - 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 1019ms') 2025-12-18 20:52:14,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40798599 failed! 2025-12-18 20:52:14,365 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-75588148:ctest-vn1-97877171 is 176.77.103.65 and allocation pool is NOT set 2025-12-18 20:52:16,425 - 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=4.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.777 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.777/2.665/4.553/1.888 ms') 2025-12-18 20:52:16,425 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40798599 passed 2025-12-18 20:52:16,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 20:52:16,573 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40798599, IP 176.77.103.67, Port 22 2025-12-18 20:52:16,638 - 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-12-18 20:52:16,732 - DEBUG - VM ctest-vn1-vm1-40798599 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 20:52:21,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 20:52:21,733 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40798599, IP 176.77.103.67, Port 22 2025-12-18 20:52:21,905 - DEBUG - VM ctest-vn1-vm1-40798599 is ready for SSH connections 2025-12-18 20:52:21,906 - INFO - Waiting for VM ctest-vn2-vm1-09149861 to be up.. 2025-12-18 20:52:21,983 - DEBUG - VM is in ACTIVE state now 2025-12-18 20:52:21,984 - INFO - VM name : ctest-vn2-vm1-09149861 2025-12-18 20:52:22,058 - DEBUG - VM ctest-vn2-vm1-09149861 ID is 3568f7d9-2371-41ac-b38f-025c4c67ea7e 2025-12-18 20:52:22,058 - DEBUG - VM ctest-vn2-vm1-09149861 launched on Node cn-jenkins-deploy-platform-ansible-os-4907-1 2025-12-18 20:52:22,135 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3568f7d9-2371-41ac-b38f-025c4c67ea7e 2025-12-18 20:52:22,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/857905f0-39b2-463d-b4e0-c0cf75976704 2025-12-18 20:52:23,390 - 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=3.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/2.198/3.974/1.775 ms') 2025-12-18 20:52:23,390 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-09149861 passed 2025-12-18 20:52:23,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 20:52:23,541 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-09149861, IP 33.128.162.195, Port 22 2025-12-18 20:52:23,709 - DEBUG - VM ctest-vn2-vm1-09149861 is ready for SSH connections 2025-12-18 20:52:23,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 20:52:23,709 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.128.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 20:52:23,709 - DEBUG - ping -s 56 -c 3 -W 1 33.128.162.195 2025-12-18 20:52:28,449 - DEBUG - PING 33.128.162.195 (33.128.162.195): 56 data bytes --- 33.128.162.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 20:52:28,449 - WARNING - Ping to IP 33.128.162.195 from VM ctest-vn1-vm1-40798599 failed 2025-12-18 20:52:28,449 - INFO - Adding interface with subnet_id ece41734-3fb0-42f5-a41a-d0e01d6e7dc4, port_id None to router 232705db-2228-443e-9000-ea741e44e8e9 2025-12-18 20:52:28,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 20:52:28,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.128.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 20:52:28,748 - DEBUG - ping -s 56 -c 3 -W 1 33.128.162.195 2025-12-18 20:52:31,968 - DEBUG - PING 33.128.162.195 (33.128.162.195): 56 data bytes 64 bytes from 33.128.162.195: seq=1 ttl=63 time=3.183 ms 64 bytes from 33.128.162.195: seq=2 ttl=63 time=0.968 ms --- 33.128.162.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.968/2.075/3.183 ms 2025-12-18 20:52:31,968 - WARNING - Ping to IP 33.128.162.195 from VM ctest-vn1-vm1-40798599 failed 2025-12-18 20:52:32,969 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.128.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 20:52:32,969 - DEBUG - ping -s 56 -c 3 -W 1 33.128.162.195 2025-12-18 20:52:35,205 - DEBUG - PING 33.128.162.195 (33.128.162.195): 56 data bytes 64 bytes from 33.128.162.195: seq=0 ttl=63 time=1.571 ms 64 bytes from 33.128.162.195: seq=1 ttl=63 time=1.039 ms 64 bytes from 33.128.162.195: seq=2 ttl=63 time=1.082 ms --- 33.128.162.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.039/1.230/1.571 ms 2025-12-18 20:52:35,205 - INFO - Ping to IP 33.128.162.195 from VM ctest-vn1-vm1-40798599 passed 2025-12-18 20:52:35,205 - INFO - Deleting interface with subnet_id 4476aa15-726d-4a1d-a656-df1e7738865b, port_id None from router 232705db-2228-443e-9000-ea741e44e8e9 2025-12-18 20:52:35,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 20:52:35,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.128.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 20:52:35,325 - DEBUG - ping -s 56 -c 3 -W 1 33.128.162.195 2025-12-18 20:52:38,533 - DEBUG - PING 33.128.162.195 (33.128.162.195): 56 data bytes --- 33.128.162.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 20:52:38,533 - WARNING - Ping to IP 33.128.162.195 from VM ctest-vn1-vm1-40798599 failed 2025-12-18 20:52:38,533 - INFO - Adding interface with subnet_id 4476aa15-726d-4a1d-a656-df1e7738865b, port_id None to router 232705db-2228-443e-9000-ea741e44e8e9 2025-12-18 20:52:38,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 20:52:38,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.128.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 20:52:38,777 - DEBUG - ping -s 56 -c 3 -W 1 33.128.162.195 2025-12-18 20:52:40,983 - DEBUG - PING 33.128.162.195 (33.128.162.195): 56 data bytes 64 bytes from 33.128.162.195: seq=0 ttl=63 time=1.442 ms 64 bytes from 33.128.162.195: seq=1 ttl=63 time=0.862 ms 64 bytes from 33.128.162.195: seq=2 ttl=63 time=0.965 ms --- 33.128.162.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/1.089/1.442 ms 2025-12-18 20:52:40,984 - INFO - Ping to IP 33.128.162.195 from VM ctest-vn1-vm1-40798599 passed 2025-12-18 20:52:40,984 - INFO - Deleting interface with subnet_id ece41734-3fb0-42f5-a41a-d0e01d6e7dc4, port_id None from router 232705db-2228-443e-9000-ea741e44e8e9 2025-12-18 20:52:41,123 - INFO - Deleting interface with subnet_id 4476aa15-726d-4a1d-a656-df1e7738865b, port_id None from router 232705db-2228-443e-9000-ea741e44e8e9 2025-12-18 20:52:41,304 - INFO - Deleting VM ctest-vn2-vm1-09149861 2025-12-18 20:52:41,382 - INFO - Deleting VM ctest-vn1-vm1-40798599 2025-12-18 20:52:41,456 - INFO - Deleting VN ctest-vn2-10788234 2025-12-18 20:52:41,496 - DEBUG - VN 397ead7d-1683-4712-b9a6-bb936fbf9ee7 still in use: Unable to complete operation on network 397ead7d-1683-4712-b9a6-bb936fbf9ee7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d246063-e4a4-4588-b682-c313493f4af1'] 2025-12-18 20:52:41,496 - WARNING - Deleting VN ctest-vn2-10788234 failed..Will retry 2025-12-18 20:52:43,595 - DEBUG - Response for deleting network () 2025-12-18 20:52:43,595 - INFO - Deleting VN ctest-vn1-97877171 2025-12-18 20:52:43,700 - DEBUG - Response for deleting network () 2025-12-18 20:52:43,958 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 20:52:43,959 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-12-18 20:52:43,959 - INFO - -------------------------------------------------------------------------------- 2025-12-18 20:52:44,632 - INFO - Deleted project: ctest-TestRouters-75588148, ID : 707beea6-db7b-4d9d-94b2-bc02ca96a89f