2025-10-27 11:33:41,613 - INFO - Domain Default found not creating 2025-10-27 11:33:41,770 - INFO - Project ctest-TestRouters-11049704 not found, creating it 2025-10-27 11:33:42,253 - INFO - Created Project:ctest-TestRouters-11049704, ID : b71133bd-12d8-403a-9475-cf3ac3f56500 2025-10-27 11:33:43,736 - INFO - ================================================================================ 2025-10-27 11:33:43,736 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 11:33:43,736 - 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-27 11:33:43,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-27 11:33:43,991 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:33:43,992 - INFO - 2025-10-27 11:33:44,580 - DEBUG - Response for create_network : {'network': {'id': 'ac36c576-9e53-4af5-8420-93455c806f0a', 'name': 'ctest-vn1-08966638', 'tenant_id': 'b71133bd12d8403a9475cf3ac3f56500', 'project_id': 'b71133bd12d8403a9475cf3ac3f56500', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11049704', 'ctest-vn1-08966638'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:33:44,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '26f465c2-5daa-4038-9e32-ec66c0d66763', 'name': '', 'tenant_id': 'b71133bd12d8403a9475cf3ac3f56500', 'network_id': 'ac36c576-9e53-4af5-8420-93455c806f0a', 'ip_version': 4, 'cidr': '222.192.253.0/26', 'allocation_pools': [{'start': '222.192.253.2', 'end': '222.192.253.62'}], 'gateway_ip': '222.192.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.192.253.2', 'tags': [], 'project_id': 'b71133bd12d8403a9475cf3ac3f56500'}} 2025-10-27 11:33:44,775 - INFO - Created VN ctest-vn1-08966638 2025-10-27 11:33:44,833 - DEBUG - VN ctest-vn1-08966638 UUID is ac36c576-9e53-4af5-8420-93455c806f0a 2025-10-27 11:33:45,204 - DEBUG - Response for create_network : {'network': {'id': '6822a7e0-f8bd-4682-80b4-65b57a7b482e', 'name': 'ctest-vn2-86994570', 'tenant_id': 'b71133bd12d8403a9475cf3ac3f56500', 'project_id': 'b71133bd12d8403a9475cf3ac3f56500', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11049704', 'ctest-vn2-86994570'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:33:45,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ccf6817-9472-42e0-9f63-969da8f023a2', 'name': '', 'tenant_id': 'b71133bd12d8403a9475cf3ac3f56500', 'network_id': '6822a7e0-f8bd-4682-80b4-65b57a7b482e', 'ip_version': 4, 'cidr': '83.170.214.128/26', 'allocation_pools': [{'start': '83.170.214.130', 'end': '83.170.214.190'}], 'gateway_ip': '83.170.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.170.214.130', 'tags': [], 'project_id': 'b71133bd12d8403a9475cf3ac3f56500'}} 2025-10-27 11:33:45,401 - INFO - Created VN ctest-vn2-86994570 2025-10-27 11:33:45,453 - DEBUG - VN ctest-vn2-86994570 UUID is 6822a7e0-f8bd-4682-80b4-65b57a7b482e 2025-10-27 11:33:45,626 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:33:46,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4499-1) 2025-10-27 11:33:48,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4499-1) 2025-10-27 11:33:48,320 - INFO - Adding interface with subnet_id 26f465c2-5daa-4038-9e32-ec66c0d66763, port_id None to router c4ef0828-35c3-4afd-8632-22132d79dce9 2025-10-27 11:33:48,613 - INFO - Waiting for VM ctest-vn1-vm1-36314747 to be up.. 2025-10-27 11:33:48,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:33:53,827 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:33:53,827 - INFO - VM name : ctest-vn1-vm1-36314747 2025-10-27 11:33:53,911 - DEBUG - VM ctest-vn1-vm1-36314747 ID is c8f11a39-4b5d-42a5-ad31-19a611bea981 2025-10-27 11:33:53,937 - DEBUG - VM ctest-vn1-vm1-36314747 launched on Node cn-jenkins-deploy-platform-ansible-os-4499-1 2025-10-27 11:33:54,036 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c8f11a39-4b5d-42a5-ad31-19a611bea981 2025-10-27 11:33:54,334 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c8f11a39-4b5d-42a5-ad31-19a611bea981 2025-10-27 11:33:54,366 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bc6b26fc-ac15-41b7-ada6-2e258753a4bd 2025-10-27 11:33:57,639 - 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 1031ms') 2025-10-27 11:33:57,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36314747 failed! 2025-10-27 11:33:57,697 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-11049704:ctest-vn1-08966638 is 222.192.253.1 and allocation pool is NOT set 2025-10-27 11:33:59,761 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.651 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.651/2.330/4.009/1.679 ms') 2025-10-27 11:33:59,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36314747 passed 2025-10-27 11:33:59,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:33:59,918 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36314747, IP 222.192.253.3, Port 22 2025-10-27 11:34:00,073 - DEBUG - VM ctest-vn1-vm1-36314747 is ready for SSH connections 2025-10-27 11:34:00,073 - INFO - Waiting for VM ctest-vn2-vm1-66001890 to be up.. 2025-10-27 11:34:00,152 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:34:00,152 - INFO - VM name : ctest-vn2-vm1-66001890 2025-10-27 11:34:00,228 - DEBUG - VM ctest-vn2-vm1-66001890 ID is 80a46b3d-f55c-4f40-a76f-d4e883702394 2025-10-27 11:34:00,228 - DEBUG - VM ctest-vn2-vm1-66001890 launched on Node cn-jenkins-deploy-platform-ansible-os-4499-1 2025-10-27 11:34:00,317 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/80a46b3d-f55c-4f40-a76f-d4e883702394 2025-10-27 11:34:00,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ce8e1dc9-f8bc-4c78-be40-11e74421c1c9 2025-10-27 11:34:01,571 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.722/3.073/1.351 ms') 2025-10-27 11:34:01,571 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-66001890 passed 2025-10-27 11:34:01,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:34:01,722 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-66001890, IP 83.170.214.131, Port 22 2025-10-27 11:34:01,877 - DEBUG - VM ctest-vn2-vm1-66001890 is ready for SSH connections 2025-10-27 11:34:01,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:34:01,877 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.170.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:34:01,877 - DEBUG - ping -s 56 -c 3 -W 1 83.170.214.131 2025-10-27 11:34:06,855 - DEBUG - PING 83.170.214.131 (83.170.214.131): 56 data bytes --- 83.170.214.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:34:06,856 - WARNING - Ping to IP 83.170.214.131 from VM ctest-vn1-vm1-36314747 failed 2025-10-27 11:34:06,856 - INFO - Adding interface with subnet_id 2ccf6817-9472-42e0-9f63-969da8f023a2, port_id None to router c4ef0828-35c3-4afd-8632-22132d79dce9 2025-10-27 11:34:07,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:34:07,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.170.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:34:07,067 - DEBUG - ping -s 56 -c 3 -W 1 83.170.214.131 2025-10-27 11:34:10,283 - DEBUG - PING 83.170.214.131 (83.170.214.131): 56 data bytes 64 bytes from 83.170.214.131: seq=1 ttl=63 time=3.134 ms 64 bytes from 83.170.214.131: seq=2 ttl=63 time=0.920 ms --- 83.170.214.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.920/2.027/3.134 ms 2025-10-27 11:34:10,283 - WARNING - Ping to IP 83.170.214.131 from VM ctest-vn1-vm1-36314747 failed 2025-10-27 11:34:11,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.170.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:34:11,284 - DEBUG - ping -s 56 -c 3 -W 1 83.170.214.131 2025-10-27 11:34:13,507 - DEBUG - PING 83.170.214.131 (83.170.214.131): 56 data bytes 64 bytes from 83.170.214.131: seq=0 ttl=63 time=1.539 ms 64 bytes from 83.170.214.131: seq=1 ttl=63 time=0.872 ms 64 bytes from 83.170.214.131: seq=2 ttl=63 time=1.065 ms --- 83.170.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.158/1.539 ms 2025-10-27 11:34:13,507 - INFO - Ping to IP 83.170.214.131 from VM ctest-vn1-vm1-36314747 passed 2025-10-27 11:34:13,507 - INFO - Deleting interface with subnet_id 26f465c2-5daa-4038-9e32-ec66c0d66763, port_id None from router c4ef0828-35c3-4afd-8632-22132d79dce9 2025-10-27 11:34:13,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:34:13,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.170.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:34:13,628 - DEBUG - ping -s 56 -c 3 -W 1 83.170.214.131 2025-10-27 11:34:16,845 - DEBUG - PING 83.170.214.131 (83.170.214.131): 56 data bytes --- 83.170.214.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:34:16,846 - WARNING - Ping to IP 83.170.214.131 from VM ctest-vn1-vm1-36314747 failed 2025-10-27 11:34:16,846 - INFO - Adding interface with subnet_id 26f465c2-5daa-4038-9e32-ec66c0d66763, port_id None to router c4ef0828-35c3-4afd-8632-22132d79dce9 2025-10-27 11:34:17,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:34:17,138 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.170.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:34:17,138 - DEBUG - ping -s 56 -c 3 -W 1 83.170.214.131 2025-10-27 11:34:19,379 - DEBUG - PING 83.170.214.131 (83.170.214.131): 56 data bytes 64 bytes from 83.170.214.131: seq=0 ttl=63 time=1.461 ms 64 bytes from 83.170.214.131: seq=1 ttl=63 time=1.140 ms 64 bytes from 83.170.214.131: seq=2 ttl=63 time=0.950 ms --- 83.170.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.950/1.183/1.461 ms 2025-10-27 11:34:19,379 - INFO - Ping to IP 83.170.214.131 from VM ctest-vn1-vm1-36314747 passed 2025-10-27 11:34:19,379 - INFO - Deleting interface with subnet_id 2ccf6817-9472-42e0-9f63-969da8f023a2, port_id None from router c4ef0828-35c3-4afd-8632-22132d79dce9 2025-10-27 11:34:19,510 - INFO - Deleting interface with subnet_id 26f465c2-5daa-4038-9e32-ec66c0d66763, port_id None from router c4ef0828-35c3-4afd-8632-22132d79dce9 2025-10-27 11:34:19,761 - INFO - Deleting VM ctest-vn2-vm1-66001890 2025-10-27 11:34:19,849 - INFO - Deleting VM ctest-vn1-vm1-36314747 2025-10-27 11:34:19,932 - INFO - Deleting VN ctest-vn2-86994570 2025-10-27 11:34:19,975 - DEBUG - VN 6822a7e0-f8bd-4682-80b4-65b57a7b482e still in use: Unable to complete operation on network 6822a7e0-f8bd-4682-80b4-65b57a7b482e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f253676d-3cc7-458b-bd02-d36a54e47333'] 2025-10-27 11:34:19,975 - WARNING - Deleting VN ctest-vn2-86994570 failed..Will retry 2025-10-27 11:34:22,088 - DEBUG - Response for deleting network () 2025-10-27 11:34:22,088 - INFO - Deleting VN ctest-vn1-08966638 2025-10-27 11:34:22,193 - DEBUG - Response for deleting network () 2025-10-27 11:34:22,447 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:34:22,447 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-27 11:34:22,447 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:34:23,142 - INFO - Deleted project: ctest-TestRouters-11049704, ID : b71133bd-12d8-403a-9475-cf3ac3f56500