2025-09-15 18:38:26,799 - INFO - Domain Default found not creating 2025-09-15 18:38:26,931 - INFO - Project ctest-TestRouters-60070873 not found, creating it 2025-09-15 18:38:27,362 - INFO - Created Project:ctest-TestRouters-60070873, ID : 0feba41d-4940-4b8f-8713-da93dc07b5f3 2025-09-15 18:38:28,775 - INFO - ================================================================================ 2025-09-15 18:38:28,775 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-15 18:38:28,775 - 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-15 18:38:29,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 18:38:29,032 - INFO - Initial checks done. Running the testcase now 2025-09-15 18:38:29,033 - INFO - 2025-09-15 18:38:29,573 - DEBUG - Response for create_network : {'network': {'id': '73c11e13-9c81-4c40-b821-69a7a3155a25', 'name': 'ctest-vn1-29564738', 'tenant_id': '0feba41d49404b8f8713da93dc07b5f3', 'project_id': '0feba41d49404b8f8713da93dc07b5f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60070873', 'ctest-vn1-29564738'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:38:29,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '37bb277d-9439-4f26-a338-1bf9eea53734', 'name': '', 'tenant_id': '0feba41d49404b8f8713da93dc07b5f3', 'network_id': '73c11e13-9c81-4c40-b821-69a7a3155a25', 'ip_version': 4, 'cidr': '90.137.187.128/26', 'allocation_pools': [{'start': '90.137.187.130', 'end': '90.137.187.190'}], 'gateway_ip': '90.137.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.137.187.130', 'tags': [], 'project_id': '0feba41d49404b8f8713da93dc07b5f3'}} 2025-09-15 18:38:29,755 - INFO - Created VN ctest-vn1-29564738 2025-09-15 18:38:29,807 - DEBUG - VN ctest-vn1-29564738 UUID is 73c11e13-9c81-4c40-b821-69a7a3155a25 2025-09-15 18:38:30,093 - DEBUG - Response for create_network : {'network': {'id': '94d0bb9a-3645-48df-8209-60782c203a9f', 'name': 'ctest-vn2-82599634', 'tenant_id': '0feba41d49404b8f8713da93dc07b5f3', 'project_id': '0feba41d49404b8f8713da93dc07b5f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60070873', 'ctest-vn2-82599634'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:38:30,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '045135df-d3f5-4f42-9d89-a4fbd7df9755', 'name': '', 'tenant_id': '0feba41d49404b8f8713da93dc07b5f3', 'network_id': '94d0bb9a-3645-48df-8209-60782c203a9f', 'ip_version': 4, 'cidr': '63.137.16.64/26', 'allocation_pools': [{'start': '63.137.16.66', 'end': '63.137.16.126'}], 'gateway_ip': '63.137.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.137.16.66', 'tags': [], 'project_id': '0feba41d49404b8f8713da93dc07b5f3'}} 2025-09-15 18:38:30,296 - INFO - Created VN ctest-vn2-82599634 2025-09-15 18:38:30,347 - DEBUG - VN ctest-vn2-82599634 UUID is 94d0bb9a-3645-48df-8209-60782c203a9f 2025-09-15 18:38:30,592 - DEBUG - Services list from nova: [, , ] 2025-09-15 18:38:31,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4119-1) 2025-09-15 18:38:32,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4119-1) 2025-09-15 18:38:32,794 - INFO - Adding interface with subnet_id 37bb277d-9439-4f26-a338-1bf9eea53734, port_id None to router 206765f0-c786-4887-bcd9-79401346810d 2025-09-15 18:38:33,054 - INFO - Waiting for VM ctest-vn1-vm1-11922768 to be up.. 2025-09-15 18:38:33,152 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 18:38:38,233 - DEBUG - VM is in ACTIVE state now 2025-09-15 18:38:38,233 - INFO - VM name : ctest-vn1-vm1-11922768 2025-09-15 18:38:38,317 - DEBUG - VM ctest-vn1-vm1-11922768 ID is 150e51fa-12d6-4931-bd56-192ef080fbe6 2025-09-15 18:38:38,339 - DEBUG - VM ctest-vn1-vm1-11922768 launched on Node cn-jenkins-deploy-platform-ansible-os-4119-1 2025-09-15 18:38:38,416 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/150e51fa-12d6-4931-bd56-192ef080fbe6 2025-09-15 18:38:38,727 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/150e51fa-12d6-4931-bd56-192ef080fbe6 2025-09-15 18:38:38,756 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7db54083-9bbc-4b88-a101-66c7041ce084 2025-09-15 18:38:42,019 - 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 1022ms') 2025-09-15 18:38:42,019 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11922768 failed! 2025-09-15 18:38:42,075 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-60070873:ctest-vn1-29564738 is 90.137.187.129 and allocation pool is NOT set 2025-09-15 18:38:44,136 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 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.373/1.770/3.168/1.397 ms') 2025-09-15 18:38:44,137 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11922768 passed 2025-09-15 18:38:44,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:44,287 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11922768, IP 90.137.187.131, Port 22 2025-09-15 18:38:44,438 - DEBUG - VM ctest-vn1-vm1-11922768 is ready for SSH connections 2025-09-15 18:38:44,439 - INFO - Waiting for VM ctest-vn2-vm1-11248694 to be up.. 2025-09-15 18:38:44,506 - DEBUG - VM is in ACTIVE state now 2025-09-15 18:38:44,506 - INFO - VM name : ctest-vn2-vm1-11248694 2025-09-15 18:38:44,576 - DEBUG - VM ctest-vn2-vm1-11248694 ID is 2a2713cf-dcd2-495d-a245-5bcaff4a455a 2025-09-15 18:38:44,576 - DEBUG - VM ctest-vn2-vm1-11248694 launched on Node cn-jenkins-deploy-platform-ansible-os-4119-1 2025-09-15 18:38:44,643 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2a2713cf-dcd2-495d-a245-5bcaff4a455a 2025-09-15 18:38:44,650 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1bc0082e-3753-48be-8f8c-8bb7ffd220d3 2025-09-15 18:38:45,881 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 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.350/1.528/2.707/1.178 ms') 2025-09-15 18:38:45,881 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-11248694 passed 2025-09-15 18:38:46,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:46,031 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-11248694, IP 63.137.16.67, Port 22 2025-09-15 18:38:46,187 - DEBUG - VM ctest-vn2-vm1-11248694 is ready for SSH connections 2025-09-15 18:38:46,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:46,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.137.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:38:46,187 - DEBUG - ping -s 56 -c 3 -W 1 63.137.16.67 2025-09-15 18:38:50,834 - DEBUG - PING 63.137.16.67 (63.137.16.67): 56 data bytes --- 63.137.16.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 18:38:50,834 - WARNING - Ping to IP 63.137.16.67 from VM ctest-vn1-vm1-11922768 failed 2025-09-15 18:38:50,834 - INFO - Adding interface with subnet_id 045135df-d3f5-4f42-9d89-a4fbd7df9755, port_id None to router 206765f0-c786-4887-bcd9-79401346810d 2025-09-15 18:38:51,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:51,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.137.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:38:51,067 - DEBUG - ping -s 56 -c 3 -W 1 63.137.16.67 2025-09-15 18:38:53,267 - DEBUG - PING 63.137.16.67 (63.137.16.67): 56 data bytes 64 bytes from 63.137.16.67: seq=0 ttl=63 time=2.242 ms 64 bytes from 63.137.16.67: seq=1 ttl=63 time=1.030 ms 64 bytes from 63.137.16.67: seq=2 ttl=63 time=0.871 ms --- 63.137.16.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/1.381/2.242 ms 2025-09-15 18:38:53,267 - INFO - Ping to IP 63.137.16.67 from VM ctest-vn1-vm1-11922768 passed 2025-09-15 18:38:53,268 - INFO - Deleting interface with subnet_id 37bb277d-9439-4f26-a338-1bf9eea53734, port_id None from router 206765f0-c786-4887-bcd9-79401346810d 2025-09-15 18:38:53,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:53,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.137.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:38:53,397 - DEBUG - ping -s 56 -c 3 -W 1 63.137.16.67 2025-09-15 18:38:56,599 - DEBUG - PING 63.137.16.67 (63.137.16.67): 56 data bytes --- 63.137.16.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 18:38:56,599 - WARNING - Ping to IP 63.137.16.67 from VM ctest-vn1-vm1-11922768 failed 2025-09-15 18:38:56,599 - INFO - Adding interface with subnet_id 37bb277d-9439-4f26-a338-1bf9eea53734, port_id None to router 206765f0-c786-4887-bcd9-79401346810d 2025-09-15 18:38:56,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:56,804 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.137.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:38:56,804 - DEBUG - ping -s 56 -c 3 -W 1 63.137.16.67 2025-09-15 18:39:00,003 - DEBUG - PING 63.137.16.67 (63.137.16.67): 56 data bytes 64 bytes from 63.137.16.67: seq=1 ttl=63 time=2.314 ms 64 bytes from 63.137.16.67: seq=2 ttl=63 time=0.913 ms --- 63.137.16.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.913/1.613/2.314 ms 2025-09-15 18:39:00,003 - WARNING - Ping to IP 63.137.16.67 from VM ctest-vn1-vm1-11922768 failed 2025-09-15 18:39:01,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.137.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:39:01,004 - DEBUG - ping -s 56 -c 3 -W 1 63.137.16.67 2025-09-15 18:39:03,202 - DEBUG - PING 63.137.16.67 (63.137.16.67): 56 data bytes 64 bytes from 63.137.16.67: seq=0 ttl=63 time=1.461 ms 64 bytes from 63.137.16.67: seq=1 ttl=63 time=0.767 ms 64 bytes from 63.137.16.67: seq=2 ttl=63 time=0.792 ms --- 63.137.16.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.006/1.461 ms 2025-09-15 18:39:03,202 - INFO - Ping to IP 63.137.16.67 from VM ctest-vn1-vm1-11922768 passed 2025-09-15 18:39:03,202 - INFO - Deleting interface with subnet_id 045135df-d3f5-4f42-9d89-a4fbd7df9755, port_id None from router 206765f0-c786-4887-bcd9-79401346810d 2025-09-15 18:39:03,309 - INFO - Deleting interface with subnet_id 37bb277d-9439-4f26-a338-1bf9eea53734, port_id None from router 206765f0-c786-4887-bcd9-79401346810d 2025-09-15 18:39:03,486 - INFO - Deleting VM ctest-vn2-vm1-11248694 2025-09-15 18:39:03,575 - INFO - Deleting VM ctest-vn1-vm1-11922768 2025-09-15 18:39:03,646 - INFO - Deleting VN ctest-vn2-82599634 2025-09-15 18:39:03,694 - DEBUG - VN 94d0bb9a-3645-48df-8209-60782c203a9f still in use: Unable to complete operation on network 94d0bb9a-3645-48df-8209-60782c203a9f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af929564-2090-4a81-a356-f0c2b78b8ea9'] 2025-09-15 18:39:03,694 - WARNING - Deleting VN ctest-vn2-82599634 failed..Will retry 2025-09-15 18:39:05,779 - DEBUG - Response for deleting network () 2025-09-15 18:39:05,779 - INFO - Deleting VN ctest-vn1-29564738 2025-09-15 18:39:05,867 - DEBUG - Response for deleting network () 2025-09-15 18:39:06,124 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 18:39:06,124 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-15 18:39:06,124 - INFO - -------------------------------------------------------------------------------- 2025-09-15 18:39:06,812 - INFO - Deleted project: ctest-TestRouters-60070873, ID : 0feba41d-4940-4b8f-8713-da93dc07b5f3