2025-11-01 13:57:47,165 - INFO - Domain Default found not creating 2025-11-01 13:57:47,297 - INFO - Project ctest-TestRouters-76557135 not found, creating it 2025-11-01 13:57:47,740 - INFO - Created Project:ctest-TestRouters-76557135, ID : 4d6db10f-844b-45a0-9963-4858d45787e0 2025-11-01 13:57:49,163 - INFO - ================================================================================ 2025-11-01 13:57:49,163 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-01 13:57:49,163 - 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-11-01 13:57:49,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with 2025-11-01 13:57:49,418 - INFO - Initial checks done. Running the testcase now 2025-11-01 13:57:49,418 - INFO - 2025-11-01 13:57:49,958 - DEBUG - Response for create_network : {'network': {'id': 'a0b665be-b751-4c5e-86d6-60176c85a681', 'name': 'ctest-vn1-39932249', 'tenant_id': '4d6db10f844b45a099634858d45787e0', 'project_id': '4d6db10f844b45a099634858d45787e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76557135', 'ctest-vn1-39932249'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:57:50,135 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2c07f3a-4e22-4ea7-83a3-3609fcfcef7d', 'name': '', 'tenant_id': '4d6db10f844b45a099634858d45787e0', 'network_id': 'a0b665be-b751-4c5e-86d6-60176c85a681', 'ip_version': 4, 'cidr': '49.164.100.192/26', 'allocation_pools': [{'start': '49.164.100.194', 'end': '49.164.100.254'}], 'gateway_ip': '49.164.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.164.100.194', 'tags': [], 'project_id': '4d6db10f844b45a099634858d45787e0'}} 2025-11-01 13:57:50,152 - INFO - Created VN ctest-vn1-39932249 2025-11-01 13:57:50,202 - DEBUG - VN ctest-vn1-39932249 UUID is a0b665be-b751-4c5e-86d6-60176c85a681 2025-11-01 13:57:50,522 - DEBUG - Response for create_network : {'network': {'id': '150c0cf6-b5f2-4e4d-bc9d-4c499a406d00', 'name': 'ctest-vn2-69990403', 'tenant_id': '4d6db10f844b45a099634858d45787e0', 'project_id': '4d6db10f844b45a099634858d45787e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76557135', 'ctest-vn2-69990403'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:57:50,712 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8b54372-9605-4232-aabf-f74a608ec64a', 'name': '', 'tenant_id': '4d6db10f844b45a099634858d45787e0', 'network_id': '150c0cf6-b5f2-4e4d-bc9d-4c499a406d00', 'ip_version': 4, 'cidr': '188.61.152.192/26', 'allocation_pools': [{'start': '188.61.152.194', 'end': '188.61.152.254'}], 'gateway_ip': '188.61.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.61.152.194', 'tags': [], 'project_id': '4d6db10f844b45a099634858d45787e0'}} 2025-11-01 13:57:50,729 - INFO - Created VN ctest-vn2-69990403 2025-11-01 13:57:50,778 - DEBUG - VN ctest-vn2-69990403 UUID is 150c0cf6-b5f2-4e4d-bc9d-4c499a406d00 2025-11-01 13:57:51,013 - DEBUG - Services list from nova: [, , ] 2025-11-01 13:57:51,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4588-1) 2025-11-01 13:57:53,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4588-1) 2025-11-01 13:57:53,179 - INFO - Adding interface with subnet_id b2c07f3a-4e22-4ea7-83a3-3609fcfcef7d, port_id None to router ad4288d4-e506-4a16-9a34-595e841619b1 2025-11-01 13:57:53,421 - INFO - Waiting for VM ctest-vn1-vm1-08161961 to be up.. 2025-11-01 13:57:53,500 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 13:57:58,570 - DEBUG - VM is in ACTIVE state now 2025-11-01 13:57:58,570 - INFO - VM name : ctest-vn1-vm1-08161961 2025-11-01 13:57:58,638 - DEBUG - VM ctest-vn1-vm1-08161961 ID is 2fa78f87-21d9-4aee-b10d-504407ff574d 2025-11-01 13:57:58,657 - DEBUG - VM ctest-vn1-vm1-08161961 launched on Node cn-jenkins-deploy-platform-ansible-os-4588-1 2025-11-01 13:57:58,737 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2fa78f87-21d9-4aee-b10d-504407ff574d 2025-11-01 13:57:59,037 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2fa78f87-21d9-4aee-b10d-504407ff574d 2025-11-01 13:57:59,063 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/42c5e4e6-280f-4827-8e0c-8cd3e0cb0d17 2025-11-01 13:58:02,294 - 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 1008ms') 2025-11-01 13:58:02,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08161961 failed! 2025-11-01 13:58:02,350 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-76557135:ctest-vn1-39932249 is 49.164.100.193 and allocation pool is NOT set 2025-11-01 13:58:04,414 - 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=2.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.645/2.872/1.226 ms') 2025-11-01 13:58:04,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08161961 passed 2025-11-01 13:58:04,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:04,566 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08161961, IP 49.164.100.195, Port 22 2025-11-01 13:58:04,721 - DEBUG - VM ctest-vn1-vm1-08161961 is ready for SSH connections 2025-11-01 13:58:04,721 - INFO - Waiting for VM ctest-vn2-vm1-02666483 to be up.. 2025-11-01 13:58:04,791 - DEBUG - VM is in ACTIVE state now 2025-11-01 13:58:04,791 - INFO - VM name : ctest-vn2-vm1-02666483 2025-11-01 13:58:04,855 - DEBUG - VM ctest-vn2-vm1-02666483 ID is 5ab3c12d-718d-4d53-85f4-c521134854cf 2025-11-01 13:58:04,855 - DEBUG - VM ctest-vn2-vm1-02666483 launched on Node cn-jenkins-deploy-platform-ansible-os-4588-1 2025-11-01 13:58:04,921 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5ab3c12d-718d-4d53-85f4-c521134854cf 2025-11-01 13:58:04,929 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0aaec2b1-79eb-474f-8e65-65361b32dfa4 2025-11-01 13:58:06,165 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.965/3.571/1.606 ms') 2025-11-01 13:58:06,165 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-02666483 passed 2025-11-01 13:58:06,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:06,318 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-02666483, IP 188.61.152.195, Port 22 2025-11-01 13:58:06,469 - DEBUG - VM ctest-vn2-vm1-02666483 is ready for SSH connections 2025-11-01 13:58:06,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:06,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.61.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:58:06,469 - DEBUG - ping -s 56 -c 3 -W 1 188.61.152.195 2025-11-01 13:58:11,149 - DEBUG - PING 188.61.152.195 (188.61.152.195): 56 data bytes --- 188.61.152.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 13:58:11,149 - WARNING - Ping to IP 188.61.152.195 from VM ctest-vn1-vm1-08161961 failed 2025-11-01 13:58:11,149 - INFO - Adding interface with subnet_id b8b54372-9605-4232-aabf-f74a608ec64a, port_id None to router ad4288d4-e506-4a16-9a34-595e841619b1 2025-11-01 13:58:11,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:11,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.61.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:58:11,380 - DEBUG - ping -s 56 -c 3 -W 1 188.61.152.195 2025-11-01 13:58:13,589 - DEBUG - PING 188.61.152.195 (188.61.152.195): 56 data bytes 64 bytes from 188.61.152.195: seq=0 ttl=63 time=2.429 ms 64 bytes from 188.61.152.195: seq=1 ttl=63 time=0.945 ms 64 bytes from 188.61.152.195: seq=2 ttl=63 time=0.723 ms --- 188.61.152.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.723/1.365/2.429 ms 2025-11-01 13:58:13,590 - INFO - Ping to IP 188.61.152.195 from VM ctest-vn1-vm1-08161961 passed 2025-11-01 13:58:13,590 - INFO - Deleting interface with subnet_id b2c07f3a-4e22-4ea7-83a3-3609fcfcef7d, port_id None from router ad4288d4-e506-4a16-9a34-595e841619b1 2025-11-01 13:58:13,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:13,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.61.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:58:13,698 - DEBUG - ping -s 56 -c 3 -W 1 188.61.152.195 2025-11-01 13:58:16,893 - DEBUG - PING 188.61.152.195 (188.61.152.195): 56 data bytes --- 188.61.152.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 13:58:16,893 - WARNING - Ping to IP 188.61.152.195 from VM ctest-vn1-vm1-08161961 failed 2025-11-01 13:58:16,893 - INFO - Adding interface with subnet_id b2c07f3a-4e22-4ea7-83a3-3609fcfcef7d, port_id None to router ad4288d4-e506-4a16-9a34-595e841619b1 2025-11-01 13:58:17,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:17,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.61.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:58:17,123 - DEBUG - ping -s 56 -c 3 -W 1 188.61.152.195 2025-11-01 13:58:20,384 - DEBUG - PING 188.61.152.195 (188.61.152.195): 56 data bytes 64 bytes from 188.61.152.195: seq=1 ttl=63 time=1.386 ms 64 bytes from 188.61.152.195: seq=2 ttl=63 time=0.927 ms --- 188.61.152.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.927/1.156/1.386 ms 2025-11-01 13:58:20,384 - WARNING - Ping to IP 188.61.152.195 from VM ctest-vn1-vm1-08161961 failed 2025-11-01 13:58:21,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.61.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:58:21,385 - DEBUG - ping -s 56 -c 3 -W 1 188.61.152.195 2025-11-01 13:58:23,600 - DEBUG - PING 188.61.152.195 (188.61.152.195): 56 data bytes 64 bytes from 188.61.152.195: seq=0 ttl=63 time=1.357 ms 64 bytes from 188.61.152.195: seq=1 ttl=63 time=0.747 ms 64 bytes from 188.61.152.195: seq=2 ttl=63 time=0.721 ms --- 188.61.152.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/0.941/1.357 ms 2025-11-01 13:58:23,600 - INFO - Ping to IP 188.61.152.195 from VM ctest-vn1-vm1-08161961 passed 2025-11-01 13:58:23,600 - INFO - Deleting interface with subnet_id b8b54372-9605-4232-aabf-f74a608ec64a, port_id None from router ad4288d4-e506-4a16-9a34-595e841619b1 2025-11-01 13:58:23,705 - INFO - Deleting interface with subnet_id b2c07f3a-4e22-4ea7-83a3-3609fcfcef7d, port_id None from router ad4288d4-e506-4a16-9a34-595e841619b1 2025-11-01 13:58:23,859 - INFO - Deleting VM ctest-vn2-vm1-02666483 2025-11-01 13:58:23,922 - INFO - Deleting VM ctest-vn1-vm1-08161961 2025-11-01 13:58:23,992 - INFO - Deleting VN ctest-vn2-69990403 2025-11-01 13:58:24,032 - DEBUG - VN 150c0cf6-b5f2-4e4d-bc9d-4c499a406d00 still in use: Unable to complete operation on network 150c0cf6-b5f2-4e4d-bc9d-4c499a406d00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-edf30145-a31e-4e5d-9d1b-ea5d8634d2ca'] 2025-11-01 13:58:24,032 - WARNING - Deleting VN ctest-vn2-69990403 failed..Will retry 2025-11-01 13:58:26,125 - DEBUG - Response for deleting network () 2025-11-01 13:58:26,125 - INFO - Deleting VN ctest-vn1-39932249 2025-11-01 13:58:26,212 - DEBUG - Response for deleting network () 2025-11-01 13:58:26,473 - DEBUG - No XMPP flaps were noticed during the test 2025-11-01 13:58:26,473 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-01 13:58:26,474 - INFO - -------------------------------------------------------------------------------- 2025-11-01 13:58:27,105 - INFO - Deleted project: ctest-TestRouters-76557135, ID : 4d6db10f-844b-45a0-9963-4858d45787e0