2025-11-05 08:19:30,103 - INFO - Domain Default found not creating 2025-11-05 08:19:30,276 - INFO - Project ctest-TestRouters-45758444 not found, creating it 2025-11-05 08:19:30,754 - INFO - Created Project:ctest-TestRouters-45758444, ID : 66f6ad5b-a259-48ac-bc03-b18f1b79a07d 2025-11-05 08:19:32,172 - INFO - ================================================================================ 2025-11-05 08:19:32,172 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 08:19:32,172 - 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-05 08:19:32,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-11-05 08:19:32,428 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:19:32,428 - INFO - 2025-11-05 08:19:32,938 - DEBUG - Response for create_network : {'network': {'id': 'c43786a7-1e1f-4619-97ea-666554a8f7cb', 'name': 'ctest-vn1-11270715', 'tenant_id': '66f6ad5ba25948acbc03b18f1b79a07d', 'project_id': '66f6ad5ba25948acbc03b18f1b79a07d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45758444', 'ctest-vn1-11270715'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:33,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '78d3749c-ebd7-4684-a657-2fe62c125c91', 'name': '', 'tenant_id': '66f6ad5ba25948acbc03b18f1b79a07d', 'network_id': 'c43786a7-1e1f-4619-97ea-666554a8f7cb', 'ip_version': 4, 'cidr': '104.246.222.0/26', 'allocation_pools': [{'start': '104.246.222.2', 'end': '104.246.222.62'}], 'gateway_ip': '104.246.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.246.222.2', 'tags': [], 'project_id': '66f6ad5ba25948acbc03b18f1b79a07d'}} 2025-11-05 08:19:33,161 - INFO - Created VN ctest-vn1-11270715 2025-11-05 08:19:33,212 - DEBUG - VN ctest-vn1-11270715 UUID is c43786a7-1e1f-4619-97ea-666554a8f7cb 2025-11-05 08:19:33,587 - DEBUG - Response for create_network : {'network': {'id': '012721a6-bc57-4bad-9b8a-de13cfd48346', 'name': 'ctest-vn2-50527109', 'tenant_id': '66f6ad5ba25948acbc03b18f1b79a07d', 'project_id': '66f6ad5ba25948acbc03b18f1b79a07d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45758444', 'ctest-vn2-50527109'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:33,756 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff954957-f2a6-46cf-bba9-373c172d2bc0', 'name': '', 'tenant_id': '66f6ad5ba25948acbc03b18f1b79a07d', 'network_id': '012721a6-bc57-4bad-9b8a-de13cfd48346', 'ip_version': 4, 'cidr': '109.89.47.192/26', 'allocation_pools': [{'start': '109.89.47.194', 'end': '109.89.47.254'}], 'gateway_ip': '109.89.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.89.47.194', 'tags': [], 'project_id': '66f6ad5ba25948acbc03b18f1b79a07d'}} 2025-11-05 08:19:33,772 - INFO - Created VN ctest-vn2-50527109 2025-11-05 08:19:33,827 - DEBUG - VN ctest-vn2-50527109 UUID is 012721a6-bc57-4bad-9b8a-de13cfd48346 2025-11-05 08:19:34,088 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:19:35,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4635-1) 2025-11-05 08:19:36,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4635-1) 2025-11-05 08:19:36,317 - INFO - Adding interface with subnet_id 78d3749c-ebd7-4684-a657-2fe62c125c91, port_id None to router f27827c3-be0f-4210-b53d-abd9441d894d 2025-11-05 08:19:36,562 - INFO - Waiting for VM ctest-vn1-vm1-42340005 to be up.. 2025-11-05 08:19:36,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:19:41,728 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:19:41,728 - INFO - VM name : ctest-vn1-vm1-42340005 2025-11-05 08:19:41,798 - DEBUG - VM ctest-vn1-vm1-42340005 ID is fa900840-6eaf-4068-838e-adbf8652588f 2025-11-05 08:19:41,816 - DEBUG - VM ctest-vn1-vm1-42340005 launched on Node cn-jenkins-deploy-platform-ansible-os-4635-1 2025-11-05 08:19:41,880 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/fa900840-6eaf-4068-838e-adbf8652588f 2025-11-05 08:19:42,169 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/fa900840-6eaf-4068-838e-adbf8652588f 2025-11-05 08:19:42,196 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d66bdd92-7117-49b9-82b5-ab0b5d37456b 2025-11-05 08:19:45,443 - 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 1012ms') 2025-11-05 08:19:45,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42340005 failed! 2025-11-05 08:19:45,495 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-45758444:ctest-vn1-11270715 is 104.246.222.1 and allocation pool is NOT set 2025-11-05 08:19:47,560 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.360 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.360/1.545/2.731/1.185 ms') 2025-11-05 08:19:47,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42340005 passed 2025-11-05 08:19:47,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:47,711 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42340005, IP 104.246.222.3, Port 22 2025-11-05 08:19:47,863 - DEBUG - VM ctest-vn1-vm1-42340005 is ready for SSH connections 2025-11-05 08:19:47,863 - INFO - Waiting for VM ctest-vn2-vm1-63605753 to be up.. 2025-11-05 08:19:47,930 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:19:47,931 - INFO - VM name : ctest-vn2-vm1-63605753 2025-11-05 08:19:47,998 - DEBUG - VM ctest-vn2-vm1-63605753 ID is 6d6cfd52-0e43-43e1-9f3d-8f67d486e1b5 2025-11-05 08:19:47,998 - DEBUG - VM ctest-vn2-vm1-63605753 launched on Node cn-jenkins-deploy-platform-ansible-os-4635-1 2025-11-05 08:19:48,072 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/6d6cfd52-0e43-43e1-9f3d-8f67d486e1b5 2025-11-05 08:19:48,080 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/98917e1c-0c58-4fae-a355-a5f5b4b03c03 2025-11-05 08:19:49,317 - 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=4.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/2.264/4.109/1.844 ms') 2025-11-05 08:19:49,317 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-63605753 passed 2025-11-05 08:19:49,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:49,467 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63605753, IP 109.89.47.195, Port 22 2025-11-05 08:19:49,619 - DEBUG - VM ctest-vn2-vm1-63605753 is ready for SSH connections 2025-11-05 08:19:49,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:49,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.89.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-05 08:19:49,619 - DEBUG - ping -s 56 -c 3 -W 1 109.89.47.195 2025-11-05 08:19:54,286 - DEBUG - PING 109.89.47.195 (109.89.47.195): 56 data bytes --- 109.89.47.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:19:54,287 - WARNING - Ping to IP 109.89.47.195 from VM ctest-vn1-vm1-42340005 failed 2025-11-05 08:19:54,287 - INFO - Adding interface with subnet_id ff954957-f2a6-46cf-bba9-373c172d2bc0, port_id None to router f27827c3-be0f-4210-b53d-abd9441d894d 2025-11-05 08:19:54,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:54,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.89.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-05 08:19:54,600 - DEBUG - ping -s 56 -c 3 -W 1 109.89.47.195 2025-11-05 08:19:57,799 - DEBUG - PING 109.89.47.195 (109.89.47.195): 56 data bytes 64 bytes from 109.89.47.195: seq=1 ttl=63 time=2.752 ms 64 bytes from 109.89.47.195: seq=2 ttl=63 time=0.767 ms --- 109.89.47.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.767/1.759/2.752 ms 2025-11-05 08:19:57,799 - WARNING - Ping to IP 109.89.47.195 from VM ctest-vn1-vm1-42340005 failed 2025-11-05 08:19:58,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.89.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-05 08:19:58,800 - DEBUG - ping -s 56 -c 3 -W 1 109.89.47.195 2025-11-05 08:20:01,023 - DEBUG - PING 109.89.47.195 (109.89.47.195): 56 data bytes 64 bytes from 109.89.47.195: seq=0 ttl=63 time=1.279 ms 64 bytes from 109.89.47.195: seq=1 ttl=63 time=0.839 ms 64 bytes from 109.89.47.195: seq=2 ttl=63 time=0.913 ms --- 109.89.47.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.010/1.279 ms 2025-11-05 08:20:01,023 - INFO - Ping to IP 109.89.47.195 from VM ctest-vn1-vm1-42340005 passed 2025-11-05 08:20:01,023 - INFO - Deleting interface with subnet_id 78d3749c-ebd7-4684-a657-2fe62c125c91, port_id None from router f27827c3-be0f-4210-b53d-abd9441d894d 2025-11-05 08:20:01,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:20:01,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.89.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-05 08:20:01,135 - DEBUG - ping -s 56 -c 3 -W 1 109.89.47.195 2025-11-05 08:20:04,387 - DEBUG - PING 109.89.47.195 (109.89.47.195): 56 data bytes --- 109.89.47.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:20:04,387 - WARNING - Ping to IP 109.89.47.195 from VM ctest-vn1-vm1-42340005 failed 2025-11-05 08:20:04,388 - INFO - Adding interface with subnet_id 78d3749c-ebd7-4684-a657-2fe62c125c91, port_id None to router f27827c3-be0f-4210-b53d-abd9441d894d 2025-11-05 08:20:04,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:20:04,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.89.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-05 08:20:04,580 - DEBUG - ping -s 56 -c 3 -W 1 109.89.47.195 2025-11-05 08:20:06,777 - DEBUG - PING 109.89.47.195 (109.89.47.195): 56 data bytes 64 bytes from 109.89.47.195: seq=0 ttl=63 time=1.506 ms 64 bytes from 109.89.47.195: seq=1 ttl=63 time=0.740 ms 64 bytes from 109.89.47.195: seq=2 ttl=63 time=0.890 ms --- 109.89.47.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/1.045/1.506 ms 2025-11-05 08:20:06,777 - INFO - Ping to IP 109.89.47.195 from VM ctest-vn1-vm1-42340005 passed 2025-11-05 08:20:06,778 - INFO - Deleting interface with subnet_id ff954957-f2a6-46cf-bba9-373c172d2bc0, port_id None from router f27827c3-be0f-4210-b53d-abd9441d894d 2025-11-05 08:20:06,874 - INFO - Deleting interface with subnet_id 78d3749c-ebd7-4684-a657-2fe62c125c91, port_id None from router f27827c3-be0f-4210-b53d-abd9441d894d 2025-11-05 08:20:07,031 - INFO - Deleting VM ctest-vn2-vm1-63605753 2025-11-05 08:20:07,101 - INFO - Deleting VM ctest-vn1-vm1-42340005 2025-11-05 08:20:07,175 - INFO - Deleting VN ctest-vn2-50527109 2025-11-05 08:20:07,209 - DEBUG - VN 012721a6-bc57-4bad-9b8a-de13cfd48346 still in use: Unable to complete operation on network 012721a6-bc57-4bad-9b8a-de13cfd48346. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efe488ca-4bd9-4fc0-87f1-81b748af79c1'] 2025-11-05 08:20:07,209 - WARNING - Deleting VN ctest-vn2-50527109 failed..Will retry 2025-11-05 08:20:09,297 - DEBUG - Response for deleting network () 2025-11-05 08:20:09,297 - INFO - Deleting VN ctest-vn1-11270715 2025-11-05 08:20:09,380 - DEBUG - Response for deleting network () 2025-11-05 08:20:09,632 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:20:09,632 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-05 08:20:09,632 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:20:10,286 - INFO - Deleted project: ctest-TestRouters-45758444, ID : 66f6ad5b-a259-48ac-bc03-b18f1b79a07d