2025-08-04 02:22:25,283 - INFO - Domain Default found not creating 2025-08-04 02:22:25,564 - INFO - Project ctest-TestRouters-77500651 not found, creating it 2025-08-04 02:22:26,083 - INFO - Created Project:ctest-TestRouters-77500651, ID : a8da3e1c-7260-4c60-9d71-ed5609bd87b0 2025-08-04 02:22:27,653 - INFO - ================================================================================ 2025-08-04 02:22:27,653 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-04 02:22:27,653 - 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-08-04 02:22:27,914 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-04 02:22:27,914 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:22:27,914 - INFO - 2025-08-04 02:22:28,495 - DEBUG - Response for create_network : {'network': {'id': 'b5013a13-fde1-4bb3-b511-0e0ee6576737', 'name': 'ctest-vn1-67841715', 'tenant_id': 'a8da3e1c72604c609d71ed5609bd87b0', 'project_id': 'a8da3e1c72604c609d71ed5609bd87b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77500651', 'ctest-vn1-67841715'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:22:28,714 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a25d8a02-edfe-47ed-9e55-5976107b00c7', 'name': '', 'tenant_id': 'a8da3e1c72604c609d71ed5609bd87b0', 'network_id': 'b5013a13-fde1-4bb3-b511-0e0ee6576737', 'ip_version': 4, 'cidr': '99.124.220.64/26', 'allocation_pools': [{'start': '99.124.220.66', 'end': '99.124.220.126'}], 'gateway_ip': '99.124.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.124.220.66', 'tags': [], 'project_id': 'a8da3e1c72604c609d71ed5609bd87b0'}} 2025-08-04 02:22:28,741 - INFO - Created VN ctest-vn1-67841715 2025-08-04 02:22:28,795 - DEBUG - VN ctest-vn1-67841715 UUID is b5013a13-fde1-4bb3-b511-0e0ee6576737 2025-08-04 02:22:29,135 - DEBUG - Response for create_network : {'network': {'id': '5ad2a5c0-007f-4837-b93a-c8f10085d9f1', 'name': 'ctest-vn2-60306186', 'tenant_id': 'a8da3e1c72604c609d71ed5609bd87b0', 'project_id': 'a8da3e1c72604c609d71ed5609bd87b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77500651', 'ctest-vn2-60306186'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:22:29,365 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb8a756a-732c-4005-a604-1cd4cba4a0d6', 'name': '', 'tenant_id': 'a8da3e1c72604c609d71ed5609bd87b0', 'network_id': '5ad2a5c0-007f-4837-b93a-c8f10085d9f1', 'ip_version': 4, 'cidr': '12.174.8.0/26', 'allocation_pools': [{'start': '12.174.8.2', 'end': '12.174.8.62'}], 'gateway_ip': '12.174.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.174.8.2', 'tags': [], 'project_id': 'a8da3e1c72604c609d71ed5609bd87b0'}} 2025-08-04 02:22:29,387 - INFO - Created VN ctest-vn2-60306186 2025-08-04 02:22:29,451 - DEBUG - VN ctest-vn2-60306186 UUID is 5ad2a5c0-007f-4837-b93a-c8f10085d9f1 2025-08-04 02:22:29,632 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:22:30,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3749-1) 2025-08-04 02:22:32,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3749-1) 2025-08-04 02:22:32,120 - INFO - Adding interface with subnet_id a25d8a02-edfe-47ed-9e55-5976107b00c7, port_id None to router ecb8cbaf-6d41-4533-acd8-76921e08fe59 2025-08-04 02:22:32,528 - INFO - Waiting for VM ctest-vn1-vm1-41397037 to be up.. 2025-08-04 02:22:32,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:22:37,935 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:22:37,935 - INFO - VM name : ctest-vn1-vm1-41397037 2025-08-04 02:22:38,026 - DEBUG - VM ctest-vn1-vm1-41397037 ID is 668d0cb2-7bae-45f7-b2dd-7f68455af60e 2025-08-04 02:22:38,047 - DEBUG - VM ctest-vn1-vm1-41397037 launched on Node cn-jenkins-deploy-platform-ansible-os-3749-1 2025-08-04 02:22:38,131 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/668d0cb2-7bae-45f7-b2dd-7f68455af60e 2025-08-04 02:22:38,443 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/668d0cb2-7bae-45f7-b2dd-7f68455af60e 2025-08-04 02:22:38,475 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cdfa25d4-0e76-4073-a6cf-c4c3401129f7 2025-08-04 02:22:41,737 - 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 1006ms') 2025-08-04 02:22:41,737 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41397037 failed! 2025-08-04 02:22:41,819 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-77500651:ctest-vn1-67841715 is 99.124.220.65 and allocation pool is NOT set 2025-08-04 02:22:43,884 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/2.250/4.099/1.849 ms') 2025-08-04 02:22:43,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41397037 passed 2025-08-04 02:22:44,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:44,039 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41397037, IP 99.124.220.67, Port 22 2025-08-04 02:22:44,204 - DEBUG - VM ctest-vn1-vm1-41397037 is ready for SSH connections 2025-08-04 02:22:44,204 - INFO - Waiting for VM ctest-vn2-vm1-47985769 to be up.. 2025-08-04 02:22:44,283 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:22:44,283 - INFO - VM name : ctest-vn2-vm1-47985769 2025-08-04 02:22:44,359 - DEBUG - VM ctest-vn2-vm1-47985769 ID is bb1e16a6-ad75-4661-9f85-c0b0e517089e 2025-08-04 02:22:44,359 - DEBUG - VM ctest-vn2-vm1-47985769 launched on Node cn-jenkins-deploy-platform-ansible-os-3749-1 2025-08-04 02:22:44,441 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bb1e16a6-ad75-4661-9f85-c0b0e517089e 2025-08-04 02:22:44,454 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/49dd55a5-9096-4121-92e8-281e6cae30c9 2025-08-04 02:22:45,695 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.82 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 = 2.824/3.063/3.302/0.239 ms') 2025-08-04 02:22:45,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-47985769 passed 2025-08-04 02:22:45,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:45,851 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-47985769, IP 12.174.8.3, Port 22 2025-08-04 02:22:46,010 - DEBUG - VM ctest-vn2-vm1-47985769 is ready for SSH connections 2025-08-04 02:22:46,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:46,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.174.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:22:46,011 - DEBUG - ping -s 56 -c 3 -W 1 12.174.8.3 2025-08-04 02:22:51,027 - DEBUG - PING 12.174.8.3 (12.174.8.3): 56 data bytes --- 12.174.8.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 02:22:51,027 - WARNING - Ping to IP 12.174.8.3 from VM ctest-vn1-vm1-41397037 failed 2025-08-04 02:22:51,027 - INFO - Adding interface with subnet_id eb8a756a-732c-4005-a604-1cd4cba4a0d6, port_id None to router ecb8cbaf-6d41-4533-acd8-76921e08fe59 2025-08-04 02:22:51,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:51,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.174.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:22:51,352 - DEBUG - ping -s 56 -c 3 -W 1 12.174.8.3 2025-08-04 02:22:54,557 - DEBUG - PING 12.174.8.3 (12.174.8.3): 56 data bytes 64 bytes from 12.174.8.3: seq=1 ttl=63 time=3.724 ms 64 bytes from 12.174.8.3: seq=2 ttl=63 time=0.969 ms --- 12.174.8.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.969/2.346/3.724 ms 2025-08-04 02:22:54,558 - WARNING - Ping to IP 12.174.8.3 from VM ctest-vn1-vm1-41397037 failed 2025-08-04 02:22:55,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.174.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:22:55,558 - DEBUG - ping -s 56 -c 3 -W 1 12.174.8.3 2025-08-04 02:22:57,779 - DEBUG - PING 12.174.8.3 (12.174.8.3): 56 data bytes 64 bytes from 12.174.8.3: seq=0 ttl=63 time=1.302 ms 64 bytes from 12.174.8.3: seq=1 ttl=63 time=1.230 ms 64 bytes from 12.174.8.3: seq=2 ttl=63 time=1.029 ms --- 12.174.8.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.029/1.187/1.302 ms 2025-08-04 02:22:57,779 - INFO - Ping to IP 12.174.8.3 from VM ctest-vn1-vm1-41397037 passed 2025-08-04 02:22:57,779 - INFO - Deleting interface with subnet_id a25d8a02-edfe-47ed-9e55-5976107b00c7, port_id None from router ecb8cbaf-6d41-4533-acd8-76921e08fe59 2025-08-04 02:22:57,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:57,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.174.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:22:57,921 - DEBUG - ping -s 56 -c 3 -W 1 12.174.8.3 2025-08-04 02:23:01,160 - DEBUG - PING 12.174.8.3 (12.174.8.3): 56 data bytes --- 12.174.8.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 02:23:01,160 - WARNING - Ping to IP 12.174.8.3 from VM ctest-vn1-vm1-41397037 failed 2025-08-04 02:23:01,160 - INFO - Adding interface with subnet_id a25d8a02-edfe-47ed-9e55-5976107b00c7, port_id None to router ecb8cbaf-6d41-4533-acd8-76921e08fe59 2025-08-04 02:23:01,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:23:01,457 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.174.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:23:01,457 - DEBUG - ping -s 56 -c 3 -W 1 12.174.8.3 2025-08-04 02:23:03,669 - DEBUG - PING 12.174.8.3 (12.174.8.3): 56 data bytes 64 bytes from 12.174.8.3: seq=0 ttl=63 time=1.732 ms 64 bytes from 12.174.8.3: seq=1 ttl=63 time=1.178 ms 64 bytes from 12.174.8.3: seq=2 ttl=63 time=0.971 ms --- 12.174.8.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/1.293/1.732 ms 2025-08-04 02:23:03,669 - INFO - Ping to IP 12.174.8.3 from VM ctest-vn1-vm1-41397037 passed 2025-08-04 02:23:03,670 - INFO - Deleting interface with subnet_id eb8a756a-732c-4005-a604-1cd4cba4a0d6, port_id None from router ecb8cbaf-6d41-4533-acd8-76921e08fe59 2025-08-04 02:23:03,832 - INFO - Deleting interface with subnet_id a25d8a02-edfe-47ed-9e55-5976107b00c7, port_id None from router ecb8cbaf-6d41-4533-acd8-76921e08fe59 2025-08-04 02:23:04,060 - INFO - Deleting VM ctest-vn2-vm1-47985769 2025-08-04 02:23:04,145 - INFO - Deleting VM ctest-vn1-vm1-41397037 2025-08-04 02:23:04,217 - INFO - Deleting VN ctest-vn2-60306186 2025-08-04 02:23:04,253 - DEBUG - VN 5ad2a5c0-007f-4837-b93a-c8f10085d9f1 still in use: Unable to complete operation on network 5ad2a5c0-007f-4837-b93a-c8f10085d9f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10a8e033-882c-4735-9fc6-0bc8a9a29324'] 2025-08-04 02:23:04,253 - WARNING - Deleting VN ctest-vn2-60306186 failed..Will retry 2025-08-04 02:23:06,393 - DEBUG - Response for deleting network () 2025-08-04 02:23:06,393 - INFO - Deleting VN ctest-vn1-67841715 2025-08-04 02:23:06,519 - DEBUG - Response for deleting network () 2025-08-04 02:23:06,785 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:23:06,785 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-04 02:23:06,785 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:23:07,490 - INFO - Deleted project: ctest-TestRouters-77500651, ID : a8da3e1c-7260-4c60-9d71-ed5609bd87b0