2025-08-11 13:13:43,257 - INFO - Domain Default found not creating 2025-08-11 13:13:43,395 - INFO - Project ctest-TestRouters-01305908 not found, creating it 2025-08-11 13:13:43,853 - INFO - Created Project:ctest-TestRouters-01305908, ID : fda2a7fe-cf52-4c6b-8ae2-5f6fdfb99e9a 2025-08-11 13:13:45,424 - INFO - ================================================================================ 2025-08-11 13:13:45,425 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 13:13:45,425 - 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-11 13:13:45,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-08-11 13:13:45,680 - INFO - Initial checks done. Running the testcase now 2025-08-11 13:13:45,680 - INFO - 2025-08-11 13:13:46,291 - DEBUG - Response for create_network : {'network': {'id': 'deea3af0-7d6c-44c5-8982-182b60f8f3d1', 'name': 'ctest-vn1-80962248', 'tenant_id': 'fda2a7fecf524c6b8ae25f6fdfb99e9a', 'project_id': 'fda2a7fecf524c6b8ae25f6fdfb99e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01305908', 'ctest-vn1-80962248'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:13:46,482 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c758d7b1-96ac-4617-8cff-4633c8d7ac16', 'name': '', 'tenant_id': 'fda2a7fecf524c6b8ae25f6fdfb99e9a', 'network_id': 'deea3af0-7d6c-44c5-8982-182b60f8f3d1', 'ip_version': 4, 'cidr': '132.168.55.128/26', 'allocation_pools': [{'start': '132.168.55.130', 'end': '132.168.55.190'}], 'gateway_ip': '132.168.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.168.55.130', 'tags': [], 'project_id': 'fda2a7fecf524c6b8ae25f6fdfb99e9a'}} 2025-08-11 13:13:46,503 - INFO - Created VN ctest-vn1-80962248 2025-08-11 13:13:46,560 - DEBUG - VN ctest-vn1-80962248 UUID is deea3af0-7d6c-44c5-8982-182b60f8f3d1 2025-08-11 13:13:46,868 - DEBUG - Response for create_network : {'network': {'id': 'd6734360-a8e7-4edf-b21d-fef0cecad02e', 'name': 'ctest-vn2-49010643', 'tenant_id': 'fda2a7fecf524c6b8ae25f6fdfb99e9a', 'project_id': 'fda2a7fecf524c6b8ae25f6fdfb99e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01305908', 'ctest-vn2-49010643'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:13:47,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '935ab384-d741-4809-bacc-3f0d2bff4d8d', 'name': '', 'tenant_id': 'fda2a7fecf524c6b8ae25f6fdfb99e9a', 'network_id': 'd6734360-a8e7-4edf-b21d-fef0cecad02e', 'ip_version': 4, 'cidr': '33.192.190.128/26', 'allocation_pools': [{'start': '33.192.190.130', 'end': '33.192.190.190'}], 'gateway_ip': '33.192.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.192.190.130', 'tags': [], 'project_id': 'fda2a7fecf524c6b8ae25f6fdfb99e9a'}} 2025-08-11 13:13:47,067 - INFO - Created VN ctest-vn2-49010643 2025-08-11 13:13:47,120 - DEBUG - VN ctest-vn2-49010643 UUID is d6734360-a8e7-4edf-b21d-fef0cecad02e 2025-08-11 13:13:47,318 - DEBUG - Services list from nova: [, , ] 2025-08-11 13:13:48,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3806-1) 2025-08-11 13:13:49,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3806-1) 2025-08-11 13:13:49,839 - INFO - Adding interface with subnet_id c758d7b1-96ac-4617-8cff-4633c8d7ac16, port_id None to router c1b19ac9-c1fc-456b-9f48-f7e09c62cadc 2025-08-11 13:13:50,167 - INFO - Waiting for VM ctest-vn1-vm1-38446539 to be up.. 2025-08-11 13:13:50,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 13:13:55,339 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:13:55,339 - INFO - VM name : ctest-vn1-vm1-38446539 2025-08-11 13:13:55,409 - DEBUG - VM ctest-vn1-vm1-38446539 ID is 26e0eb90-3826-4102-894f-5f2d32df230d 2025-08-11 13:13:55,428 - DEBUG - VM ctest-vn1-vm1-38446539 launched on Node cn-jenkins-deploy-platform-ansible-os-3806-1 2025-08-11 13:13:55,496 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/26e0eb90-3826-4102-894f-5f2d32df230d 2025-08-11 13:13:55,828 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/26e0eb90-3826-4102-894f-5f2d32df230d 2025-08-11 13:13:55,860 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/93d2987c-8630-45b0-8a0e-997c677e0322 2025-08-11 13:13:59,124 - 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-08-11 13:13:59,124 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38446539 failed! 2025-08-11 13:13:59,184 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-01305908:ctest-vn1-80962248 is 132.168.55.129 and allocation pool is NOT set 2025-08-11 13:14:01,243 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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.122/3.125/4.128/1.003 ms') 2025-08-11 13:14:01,244 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38446539 passed 2025-08-11 13:14:01,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:01,392 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38446539, IP 132.168.55.131, Port 22 2025-08-11 13:14:01,547 - DEBUG - VM ctest-vn1-vm1-38446539 is ready for SSH connections 2025-08-11 13:14:01,547 - INFO - Waiting for VM ctest-vn2-vm1-05735978 to be up.. 2025-08-11 13:14:01,618 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:14:01,618 - INFO - VM name : ctest-vn2-vm1-05735978 2025-08-11 13:14:01,685 - DEBUG - VM ctest-vn2-vm1-05735978 ID is cb98a206-b352-4ea9-b5d1-834c7b47d97d 2025-08-11 13:14:01,685 - DEBUG - VM ctest-vn2-vm1-05735978 launched on Node cn-jenkins-deploy-platform-ansible-os-3806-1 2025-08-11 13:14:01,757 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/cb98a206-b352-4ea9-b5d1-834c7b47d97d 2025-08-11 13:14:01,765 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/62c7e691-a3f9-480f-b76f-ae7b787df804 2025-08-11 13:14:03,001 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.623/2.793/1.169 ms') 2025-08-11 13:14:03,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-05735978 passed 2025-08-11 13:14:03,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:03,152 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05735978, IP 33.192.190.131, Port 22 2025-08-11 13:14:03,307 - DEBUG - VM ctest-vn2-vm1-05735978 is ready for SSH connections 2025-08-11 13:14:03,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:03,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.192.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 13:14:03,307 - DEBUG - ping -s 56 -c 3 -W 1 33.192.190.131 2025-08-11 13:14:07,990 - DEBUG - PING 33.192.190.131 (33.192.190.131): 56 data bytes --- 33.192.190.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 13:14:07,991 - WARNING - Ping to IP 33.192.190.131 from VM ctest-vn1-vm1-38446539 failed 2025-08-11 13:14:07,991 - INFO - Adding interface with subnet_id 935ab384-d741-4809-bacc-3f0d2bff4d8d, port_id None to router c1b19ac9-c1fc-456b-9f48-f7e09c62cadc 2025-08-11 13:14:08,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:08,296 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.192.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 13:14:08,296 - DEBUG - ping -s 56 -c 3 -W 1 33.192.190.131 2025-08-11 13:14:10,506 - DEBUG - PING 33.192.190.131 (33.192.190.131): 56 data bytes 64 bytes from 33.192.190.131: seq=0 ttl=63 time=2.643 ms 64 bytes from 33.192.190.131: seq=1 ttl=63 time=0.911 ms 64 bytes from 33.192.190.131: seq=2 ttl=63 time=0.867 ms --- 33.192.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/1.473/2.643 ms 2025-08-11 13:14:10,506 - INFO - Ping to IP 33.192.190.131 from VM ctest-vn1-vm1-38446539 passed 2025-08-11 13:14:10,506 - INFO - Deleting interface with subnet_id c758d7b1-96ac-4617-8cff-4633c8d7ac16, port_id None from router c1b19ac9-c1fc-456b-9f48-f7e09c62cadc 2025-08-11 13:14:10,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:10,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.192.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 13:14:10,651 - DEBUG - ping -s 56 -c 3 -W 1 33.192.190.131 2025-08-11 13:14:13,866 - DEBUG - PING 33.192.190.131 (33.192.190.131): 56 data bytes --- 33.192.190.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 13:14:13,866 - WARNING - Ping to IP 33.192.190.131 from VM ctest-vn1-vm1-38446539 failed 2025-08-11 13:14:13,867 - INFO - Adding interface with subnet_id c758d7b1-96ac-4617-8cff-4633c8d7ac16, port_id None to router c1b19ac9-c1fc-456b-9f48-f7e09c62cadc 2025-08-11 13:14:14,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:14,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.192.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 13:14:14,083 - DEBUG - ping -s 56 -c 3 -W 1 33.192.190.131 2025-08-11 13:14:16,300 - DEBUG - PING 33.192.190.131 (33.192.190.131): 56 data bytes 64 bytes from 33.192.190.131: seq=0 ttl=63 time=1.417 ms 64 bytes from 33.192.190.131: seq=1 ttl=63 time=0.810 ms 64 bytes from 33.192.190.131: seq=2 ttl=63 time=0.755 ms --- 33.192.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/0.994/1.417 ms 2025-08-11 13:14:16,300 - INFO - Ping to IP 33.192.190.131 from VM ctest-vn1-vm1-38446539 passed 2025-08-11 13:14:16,300 - INFO - Deleting interface with subnet_id 935ab384-d741-4809-bacc-3f0d2bff4d8d, port_id None from router c1b19ac9-c1fc-456b-9f48-f7e09c62cadc 2025-08-11 13:14:16,433 - INFO - Deleting interface with subnet_id c758d7b1-96ac-4617-8cff-4633c8d7ac16, port_id None from router c1b19ac9-c1fc-456b-9f48-f7e09c62cadc 2025-08-11 13:14:16,626 - INFO - Deleting VM ctest-vn2-vm1-05735978 2025-08-11 13:14:16,694 - INFO - Deleting VM ctest-vn1-vm1-38446539 2025-08-11 13:14:16,760 - INFO - Deleting VN ctest-vn2-49010643 2025-08-11 13:14:16,795 - DEBUG - VN d6734360-a8e7-4edf-b21d-fef0cecad02e still in use: Unable to complete operation on network d6734360-a8e7-4edf-b21d-fef0cecad02e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f3d261f-a83e-4f98-a570-3d18ca768bd6'] 2025-08-11 13:14:16,796 - WARNING - Deleting VN ctest-vn2-49010643 failed..Will retry 2025-08-11 13:14:18,900 - DEBUG - Response for deleting network () 2025-08-11 13:14:18,900 - INFO - Deleting VN ctest-vn1-80962248 2025-08-11 13:14:19,000 - DEBUG - Response for deleting network () 2025-08-11 13:14:19,253 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 13:14:19,253 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34]
2025-08-11 13:14:19,253 - INFO - -------------------------------------------------------------------------------- 2025-08-11 13:14:19,979 - INFO - Deleted project: ctest-TestRouters-01305908, ID : fda2a7fe-cf52-4c6b-8ae2-5f6fdfb99e9a