2025-09-16 12:02:55,730 - INFO - Domain Default found not creating 2025-09-16 12:02:55,942 - INFO - Project ctest-TestRouters-90539523 not found, creating it 2025-09-16 12:02:56,418 - INFO - Created Project:ctest-TestRouters-90539523, ID : f3dca8d3-78f4-4398-8c32-b0a0bcf6e1ae 2025-09-16 12:02:57,935 - INFO - ================================================================================ 2025-09-16 12:02:57,935 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-16 12:02:57,935 - 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-16 12:02:58,190 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-16 12:02:58,190 - INFO - Initial checks done. Running the testcase now 2025-09-16 12:02:58,190 - INFO - 2025-09-16 12:02:58,724 - DEBUG - Response for create_network : {'network': {'id': '9a9f906a-3926-46c4-8278-6b4c9229f866', 'name': 'ctest-vn1-92398162', 'tenant_id': 'f3dca8d378f443988c32b0a0bcf6e1ae', 'project_id': 'f3dca8d378f443988c32b0a0bcf6e1ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90539523', 'ctest-vn1-92398162'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 12:02:58,910 - DEBUG - Response for create_subnet : {'subnet': {'id': '386e4ca3-c7f8-4972-a969-869cb39dfe78', 'name': '', 'tenant_id': 'f3dca8d378f443988c32b0a0bcf6e1ae', 'network_id': '9a9f906a-3926-46c4-8278-6b4c9229f866', 'ip_version': 4, 'cidr': '114.202.132.64/26', 'allocation_pools': [{'start': '114.202.132.66', 'end': '114.202.132.126'}], 'gateway_ip': '114.202.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.202.132.66', 'tags': [], 'project_id': 'f3dca8d378f443988c32b0a0bcf6e1ae'}} 2025-09-16 12:02:58,932 - INFO - Created VN ctest-vn1-92398162 2025-09-16 12:02:58,985 - DEBUG - VN ctest-vn1-92398162 UUID is 9a9f906a-3926-46c4-8278-6b4c9229f866 2025-09-16 12:02:59,302 - DEBUG - Response for create_network : {'network': {'id': 'be3724f5-1016-485b-9db2-a63c1c94a5f7', 'name': 'ctest-vn2-32528444', 'tenant_id': 'f3dca8d378f443988c32b0a0bcf6e1ae', 'project_id': 'f3dca8d378f443988c32b0a0bcf6e1ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90539523', 'ctest-vn2-32528444'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 12:02:59,481 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee5ca25f-fd96-46c5-ad6c-39b3194373b0', 'name': '', 'tenant_id': 'f3dca8d378f443988c32b0a0bcf6e1ae', 'network_id': 'be3724f5-1016-485b-9db2-a63c1c94a5f7', 'ip_version': 4, 'cidr': '222.172.215.0/26', 'allocation_pools': [{'start': '222.172.215.2', 'end': '222.172.215.62'}], 'gateway_ip': '222.172.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.172.215.2', 'tags': [], 'project_id': 'f3dca8d378f443988c32b0a0bcf6e1ae'}} 2025-09-16 12:02:59,499 - INFO - Created VN ctest-vn2-32528444 2025-09-16 12:02:59,553 - DEBUG - VN ctest-vn2-32528444 UUID is be3724f5-1016-485b-9db2-a63c1c94a5f7 2025-09-16 12:02:59,780 - DEBUG - Services list from nova: [, , ] 2025-09-16 12:03:00,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4122-1) 2025-09-16 12:03:01,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4122-1) 2025-09-16 12:03:02,057 - INFO - Adding interface with subnet_id 386e4ca3-c7f8-4972-a969-869cb39dfe78, port_id None to router 9ea4ff81-9fab-4b30-b61e-7ac580b78cf2 2025-09-16 12:03:02,335 - INFO - Waiting for VM ctest-vn1-vm1-05313105 to be up.. 2025-09-16 12:03:02,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 12:03:07,506 - DEBUG - VM is in ACTIVE state now 2025-09-16 12:03:07,507 - INFO - VM name : ctest-vn1-vm1-05313105 2025-09-16 12:03:07,579 - DEBUG - VM ctest-vn1-vm1-05313105 ID is 90e84b07-2726-44f2-bd00-f463a59ee1b3 2025-09-16 12:03:07,602 - DEBUG - VM ctest-vn1-vm1-05313105 launched on Node cn-jenkins-deploy-platform-ansible-os-4122-1 2025-09-16 12:03:07,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/90e84b07-2726-44f2-bd00-f463a59ee1b3 2025-09-16 12:03:07,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/90e84b07-2726-44f2-bd00-f463a59ee1b3 2025-09-16 12:03:08,008 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bade46f1-b4a0-42b7-84f3-7d21e76b09b0 2025-09-16 12:03:11,267 - 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 1025ms') 2025-09-16 12:03:11,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05313105 failed! 2025-09-16 12:03:11,321 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-90539523:ctest-vn1-92398162 is 114.202.132.65 and allocation pool is NOT set 2025-09-16 12:03:13,377 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.669 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.669/2.405/4.142/1.736 ms') 2025-09-16 12:03:13,377 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05313105 passed 2025-09-16 12:03:13,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:03:13,529 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05313105, IP 114.202.132.67, Port 22 2025-09-16 12:03:13,685 - DEBUG - VM ctest-vn1-vm1-05313105 is ready for SSH connections 2025-09-16 12:03:13,685 - INFO - Waiting for VM ctest-vn2-vm1-89709858 to be up.. 2025-09-16 12:03:13,753 - DEBUG - VM is in ACTIVE state now 2025-09-16 12:03:13,753 - INFO - VM name : ctest-vn2-vm1-89709858 2025-09-16 12:03:13,822 - DEBUG - VM ctest-vn2-vm1-89709858 ID is 868ea4da-7806-463f-bc63-a71e5e911adc 2025-09-16 12:03:13,822 - DEBUG - VM ctest-vn2-vm1-89709858 launched on Node cn-jenkins-deploy-platform-ansible-os-4122-1 2025-09-16 12:03:13,887 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/868ea4da-7806-463f-bc63-a71e5e911adc 2025-09-16 12:03:13,895 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/081fcc06-b996-4d33-9abe-6a50a101610e 2025-09-16 12:03:15,133 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.919/3.428/1.509 ms') 2025-09-16 12:03:15,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-89709858 passed 2025-09-16 12:03:15,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:03:15,281 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89709858, IP 222.172.215.3, Port 22 2025-09-16 12:03:15,433 - DEBUG - VM ctest-vn2-vm1-89709858 is ready for SSH connections 2025-09-16 12:03:15,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:03:15,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.172.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-16 12:03:15,433 - DEBUG - ping -s 56 -c 3 -W 1 222.172.215.3 2025-09-16 12:03:20,073 - DEBUG - PING 222.172.215.3 (222.172.215.3): 56 data bytes --- 222.172.215.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 12:03:20,074 - WARNING - Ping to IP 222.172.215.3 from VM ctest-vn1-vm1-05313105 failed 2025-09-16 12:03:20,074 - INFO - Adding interface with subnet_id ee5ca25f-fd96-46c5-ad6c-39b3194373b0, port_id None to router 9ea4ff81-9fab-4b30-b61e-7ac580b78cf2 2025-09-16 12:03:20,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:03:20,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.172.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-16 12:03:20,313 - DEBUG - ping -s 56 -c 3 -W 1 222.172.215.3 2025-09-16 12:03:22,538 - DEBUG - PING 222.172.215.3 (222.172.215.3): 56 data bytes 64 bytes from 222.172.215.3: seq=0 ttl=63 time=2.533 ms 64 bytes from 222.172.215.3: seq=1 ttl=63 time=0.755 ms 64 bytes from 222.172.215.3: seq=2 ttl=63 time=0.912 ms --- 222.172.215.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.400/2.533 ms 2025-09-16 12:03:22,539 - INFO - Ping to IP 222.172.215.3 from VM ctest-vn1-vm1-05313105 passed 2025-09-16 12:03:22,539 - INFO - Deleting interface with subnet_id 386e4ca3-c7f8-4972-a969-869cb39dfe78, port_id None from router 9ea4ff81-9fab-4b30-b61e-7ac580b78cf2 2025-09-16 12:03:22,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:03:22,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.172.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-16 12:03:22,656 - DEBUG - ping -s 56 -c 3 -W 1 222.172.215.3 2025-09-16 12:03:25,876 - DEBUG - PING 222.172.215.3 (222.172.215.3): 56 data bytes --- 222.172.215.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 12:03:25,876 - WARNING - Ping to IP 222.172.215.3 from VM ctest-vn1-vm1-05313105 failed 2025-09-16 12:03:25,877 - INFO - Adding interface with subnet_id 386e4ca3-c7f8-4972-a969-869cb39dfe78, port_id None to router 9ea4ff81-9fab-4b30-b61e-7ac580b78cf2 2025-09-16 12:03:26,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:03:26,074 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.172.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-16 12:03:26,074 - DEBUG - ping -s 56 -c 3 -W 1 222.172.215.3 2025-09-16 12:03:29,329 - DEBUG - PING 222.172.215.3 (222.172.215.3): 56 data bytes 64 bytes from 222.172.215.3: seq=1 ttl=63 time=1.511 ms 64 bytes from 222.172.215.3: seq=2 ttl=63 time=0.827 ms --- 222.172.215.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.827/1.169/1.511 ms 2025-09-16 12:03:29,329 - WARNING - Ping to IP 222.172.215.3 from VM ctest-vn1-vm1-05313105 failed 2025-09-16 12:03:30,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.172.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-16 12:03:30,330 - DEBUG - ping -s 56 -c 3 -W 1 222.172.215.3 2025-09-16 12:03:32,537 - DEBUG - PING 222.172.215.3 (222.172.215.3): 56 data bytes 64 bytes from 222.172.215.3: seq=0 ttl=63 time=1.416 ms 64 bytes from 222.172.215.3: seq=1 ttl=63 time=0.805 ms 64 bytes from 222.172.215.3: seq=2 ttl=63 time=0.798 ms --- 222.172.215.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.006/1.416 ms 2025-09-16 12:03:32,537 - INFO - Ping to IP 222.172.215.3 from VM ctest-vn1-vm1-05313105 passed 2025-09-16 12:03:32,537 - INFO - Deleting interface with subnet_id ee5ca25f-fd96-46c5-ad6c-39b3194373b0, port_id None from router 9ea4ff81-9fab-4b30-b61e-7ac580b78cf2 2025-09-16 12:03:32,662 - INFO - Deleting interface with subnet_id 386e4ca3-c7f8-4972-a969-869cb39dfe78, port_id None from router 9ea4ff81-9fab-4b30-b61e-7ac580b78cf2 2025-09-16 12:03:32,892 - INFO - Deleting VM ctest-vn2-vm1-89709858 2025-09-16 12:03:32,962 - INFO - Deleting VM ctest-vn1-vm1-05313105 2025-09-16 12:03:33,035 - INFO - Deleting VN ctest-vn2-32528444 2025-09-16 12:03:33,089 - DEBUG - VN be3724f5-1016-485b-9db2-a63c1c94a5f7 still in use: Unable to complete operation on network be3724f5-1016-485b-9db2-a63c1c94a5f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-081fb2a0-3384-4314-8e01-371c9af2a0a6'] 2025-09-16 12:03:33,089 - WARNING - Deleting VN ctest-vn2-32528444 failed..Will retry 2025-09-16 12:03:35,185 - DEBUG - Response for deleting network () 2025-09-16 12:03:35,185 - INFO - Deleting VN ctest-vn1-92398162 2025-09-16 12:03:35,275 - DEBUG - Response for deleting network () 2025-09-16 12:03:35,534 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 12:03:35,534 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-16 12:03:35,534 - INFO - -------------------------------------------------------------------------------- 2025-09-16 12:03:36,192 - INFO - Deleted project: ctest-TestRouters-90539523, ID : f3dca8d3-78f4-4398-8c32-b0a0bcf6e1ae