2025-10-13 10:35:23,349 - INFO - Domain Default found not creating 2025-10-13 10:35:23,497 - INFO - Project ctest-TestRouters-27509962 not found, creating it 2025-10-13 10:35:23,963 - INFO - Created Project:ctest-TestRouters-27509962, ID : 0bb865c9-a497-44eb-ae12-db0fe115d739 2025-10-13 10:35:25,408 - INFO - ================================================================================ 2025-10-13 10:35:25,408 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-13 10:35:25,408 - 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-10-13 10:35:25,670 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-10-13 10:35:25,670 - INFO - Initial checks done. Running the testcase now 2025-10-13 10:35:25,670 - INFO - 2025-10-13 10:35:26,222 - DEBUG - Response for create_network : {'network': {'id': '0c3b741b-afb7-490f-9a48-9f53c5c24c7e', 'name': 'ctest-vn1-86070413', 'tenant_id': '0bb865c9a49744ebae12db0fe115d739', 'project_id': '0bb865c9a49744ebae12db0fe115d739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27509962', 'ctest-vn1-86070413'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 10:35:26,444 - DEBUG - Response for create_subnet : {'subnet': {'id': '92855795-d1f6-4ca8-aa21-f85d9dd44f5b', 'name': '', 'tenant_id': '0bb865c9a49744ebae12db0fe115d739', 'network_id': '0c3b741b-afb7-490f-9a48-9f53c5c24c7e', 'ip_version': 4, 'cidr': '138.53.137.0/26', 'allocation_pools': [{'start': '138.53.137.2', 'end': '138.53.137.62'}], 'gateway_ip': '138.53.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.53.137.2', 'tags': [], 'project_id': '0bb865c9a49744ebae12db0fe115d739'}} 2025-10-13 10:35:26,461 - INFO - Created VN ctest-vn1-86070413 2025-10-13 10:35:26,512 - DEBUG - VN ctest-vn1-86070413 UUID is 0c3b741b-afb7-490f-9a48-9f53c5c24c7e 2025-10-13 10:35:26,913 - DEBUG - Response for create_network : {'network': {'id': 'dae6dcf7-ce9c-4d2f-8c66-0bc780a6b9f6', 'name': 'ctest-vn2-43355270', 'tenant_id': '0bb865c9a49744ebae12db0fe115d739', 'project_id': '0bb865c9a49744ebae12db0fe115d739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27509962', 'ctest-vn2-43355270'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 10:35:27,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a27904e-3c8a-44d4-be1d-9df512a186a4', 'name': '', 'tenant_id': '0bb865c9a49744ebae12db0fe115d739', 'network_id': 'dae6dcf7-ce9c-4d2f-8c66-0bc780a6b9f6', 'ip_version': 4, 'cidr': '7.132.34.192/26', 'allocation_pools': [{'start': '7.132.34.194', 'end': '7.132.34.254'}], 'gateway_ip': '7.132.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.132.34.194', 'tags': [], 'project_id': '0bb865c9a49744ebae12db0fe115d739'}} 2025-10-13 10:35:27,114 - INFO - Created VN ctest-vn2-43355270 2025-10-13 10:35:27,164 - DEBUG - VN ctest-vn2-43355270 UUID is dae6dcf7-ce9c-4d2f-8c66-0bc780a6b9f6 2025-10-13 10:35:27,419 - DEBUG - Services list from nova: [, , ] 2025-10-13 10:35:28,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4298-1) 2025-10-13 10:35:29,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4298-1) 2025-10-13 10:35:29,684 - INFO - Adding interface with subnet_id 92855795-d1f6-4ca8-aa21-f85d9dd44f5b, port_id None to router 235411d1-9210-4eea-8da8-e3b31c4a4767 2025-10-13 10:35:29,952 - INFO - Waiting for VM ctest-vn1-vm1-88470985 to be up.. 2025-10-13 10:35:30,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 10:35:35,163 - DEBUG - VM is in ACTIVE state now 2025-10-13 10:35:35,163 - INFO - VM name : ctest-vn1-vm1-88470985 2025-10-13 10:35:35,242 - DEBUG - VM ctest-vn1-vm1-88470985 ID is a1f03216-0948-4914-bf74-bd6d630de831 2025-10-13 10:35:35,261 - DEBUG - VM ctest-vn1-vm1-88470985 launched on Node cn-jenkins-deploy-platform-ansible-os-4298-1 2025-10-13 10:35:35,339 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a1f03216-0948-4914-bf74-bd6d630de831 2025-10-13 10:35:35,629 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a1f03216-0948-4914-bf74-bd6d630de831 2025-10-13 10:35:35,657 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/dc6e2fdc-8a63-44b6-b1a3-1a1487da20b2 2025-10-13 10:35:38,916 - 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-10-13 10:35:38,916 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88470985 failed! 2025-10-13 10:35:38,976 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27509962:ctest-vn1-86070413 is 138.53.137.1 and allocation pool is NOT set 2025-10-13 10:35:41,032 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.426/2.046/3.666/1.620 ms') 2025-10-13 10:35:41,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88470985 passed 2025-10-13 10:35:41,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:35:41,184 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88470985, IP 138.53.137.3, Port 22 2025-10-13 10:35:41,340 - DEBUG - VM ctest-vn1-vm1-88470985 is ready for SSH connections 2025-10-13 10:35:41,340 - INFO - Waiting for VM ctest-vn2-vm1-26008892 to be up.. 2025-10-13 10:35:41,415 - DEBUG - VM is in ACTIVE state now 2025-10-13 10:35:41,415 - INFO - VM name : ctest-vn2-vm1-26008892 2025-10-13 10:35:41,496 - DEBUG - VM ctest-vn2-vm1-26008892 ID is 5599c409-0da2-4f97-ba8f-2e3630119320 2025-10-13 10:35:41,496 - DEBUG - VM ctest-vn2-vm1-26008892 launched on Node cn-jenkins-deploy-platform-ansible-os-4298-1 2025-10-13 10:35:41,566 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/5599c409-0da2-4f97-ba8f-2e3630119320 2025-10-13 10:35:41,574 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/25c6eda1-a659-4377-9981-602c7149d196 2025-10-13 10:35:42,808 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/1.763/2.960/1.196 ms') 2025-10-13 10:35:42,808 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-26008892 passed 2025-10-13 10:35:42,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:35:42,956 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-26008892, IP 7.132.34.195, Port 22 2025-10-13 10:35:43,112 - DEBUG - VM ctest-vn2-vm1-26008892 is ready for SSH connections 2025-10-13 10:35:43,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:35:43,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.132.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-13 10:35:43,112 - DEBUG - ping -s 56 -c 3 -W 1 7.132.34.195 2025-10-13 10:35:48,092 - DEBUG - PING 7.132.34.195 (7.132.34.195): 56 data bytes --- 7.132.34.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 10:35:48,093 - WARNING - Ping to IP 7.132.34.195 from VM ctest-vn1-vm1-88470985 failed 2025-10-13 10:35:48,093 - INFO - Adding interface with subnet_id 4a27904e-3c8a-44d4-be1d-9df512a186a4, port_id None to router 235411d1-9210-4eea-8da8-e3b31c4a4767 2025-10-13 10:35:48,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:35:48,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.132.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-13 10:35:48,386 - DEBUG - ping -s 56 -c 3 -W 1 7.132.34.195 2025-10-13 10:35:50,590 - DEBUG - PING 7.132.34.195 (7.132.34.195): 56 data bytes 64 bytes from 7.132.34.195: seq=0 ttl=63 time=2.306 ms 64 bytes from 7.132.34.195: seq=1 ttl=63 time=0.961 ms 64 bytes from 7.132.34.195: seq=2 ttl=63 time=0.909 ms --- 7.132.34.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/1.392/2.306 ms 2025-10-13 10:35:50,590 - INFO - Ping to IP 7.132.34.195 from VM ctest-vn1-vm1-88470985 passed 2025-10-13 10:35:50,590 - INFO - Deleting interface with subnet_id 92855795-d1f6-4ca8-aa21-f85d9dd44f5b, port_id None from router 235411d1-9210-4eea-8da8-e3b31c4a4767 2025-10-13 10:35:50,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:35:50,705 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.132.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-13 10:35:50,705 - DEBUG - ping -s 56 -c 3 -W 1 7.132.34.195 2025-10-13 10:35:53,909 - DEBUG - PING 7.132.34.195 (7.132.34.195): 56 data bytes --- 7.132.34.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 10:35:53,909 - WARNING - Ping to IP 7.132.34.195 from VM ctest-vn1-vm1-88470985 failed 2025-10-13 10:35:53,909 - INFO - Adding interface with subnet_id 92855795-d1f6-4ca8-aa21-f85d9dd44f5b, port_id None to router 235411d1-9210-4eea-8da8-e3b31c4a4767 2025-10-13 10:35:54,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:35:54,158 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.132.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-13 10:35:54,159 - DEBUG - ping -s 56 -c 3 -W 1 7.132.34.195 2025-10-13 10:35:57,364 - DEBUG - PING 7.132.34.195 (7.132.34.195): 56 data bytes 64 bytes from 7.132.34.195: seq=1 ttl=63 time=2.194 ms 64 bytes from 7.132.34.195: seq=2 ttl=63 time=0.792 ms --- 7.132.34.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.792/1.493/2.194 ms 2025-10-13 10:35:57,364 - WARNING - Ping to IP 7.132.34.195 from VM ctest-vn1-vm1-88470985 failed 2025-10-13 10:35:58,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.132.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-13 10:35:58,365 - DEBUG - ping -s 56 -c 3 -W 1 7.132.34.195 2025-10-13 10:36:00,575 - DEBUG - PING 7.132.34.195 (7.132.34.195): 56 data bytes 64 bytes from 7.132.34.195: seq=0 ttl=63 time=1.551 ms 64 bytes from 7.132.34.195: seq=1 ttl=63 time=0.858 ms 64 bytes from 7.132.34.195: seq=2 ttl=63 time=0.807 ms --- 7.132.34.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.807/1.072/1.551 ms 2025-10-13 10:36:00,575 - INFO - Ping to IP 7.132.34.195 from VM ctest-vn1-vm1-88470985 passed 2025-10-13 10:36:00,575 - INFO - Deleting interface with subnet_id 4a27904e-3c8a-44d4-be1d-9df512a186a4, port_id None from router 235411d1-9210-4eea-8da8-e3b31c4a4767 2025-10-13 10:36:00,688 - INFO - Deleting interface with subnet_id 92855795-d1f6-4ca8-aa21-f85d9dd44f5b, port_id None from router 235411d1-9210-4eea-8da8-e3b31c4a4767 2025-10-13 10:36:00,855 - INFO - Deleting VM ctest-vn2-vm1-26008892 2025-10-13 10:36:00,928 - INFO - Deleting VM ctest-vn1-vm1-88470985 2025-10-13 10:36:01,002 - INFO - Deleting VN ctest-vn2-43355270 2025-10-13 10:36:01,038 - DEBUG - VN dae6dcf7-ce9c-4d2f-8c66-0bc780a6b9f6 still in use: Unable to complete operation on network dae6dcf7-ce9c-4d2f-8c66-0bc780a6b9f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28ee99e1-ec16-4019-a7fd-0fda702f9aac'] 2025-10-13 10:36:01,039 - WARNING - Deleting VN ctest-vn2-43355270 failed..Will retry 2025-10-13 10:36:03,135 - DEBUG - Response for deleting network () 2025-10-13 10:36:03,135 - INFO - Deleting VN ctest-vn1-86070413 2025-10-13 10:36:03,223 - DEBUG - Response for deleting network () 2025-10-13 10:36:03,477 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 10:36:03,477 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-13 10:36:03,477 - INFO - -------------------------------------------------------------------------------- 2025-10-13 10:36:04,155 - INFO - Deleted project: ctest-TestRouters-27509962, ID : 0bb865c9-a497-44eb-ae12-db0fe115d739