2025-10-19 09:12:30,932 - INFO - Domain Default found not creating 2025-10-19 09:12:31,134 - INFO - Project ctest-TestRouters-10501966 not found, creating it 2025-10-19 09:12:31,639 - INFO - Created Project:ctest-TestRouters-10501966, ID : 3fba6e85-e483-419d-b5f3-aa96febc4b6d 2025-10-19 09:12:33,389 - INFO - ================================================================================ 2025-10-19 09:12:33,390 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-19 09:12:33,390 - 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-19 09:12:33,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-19 09:12:33,651 - INFO - Initial checks done. Running the testcase now 2025-10-19 09:12:33,651 - INFO - 2025-10-19 09:12:34,292 - DEBUG - Response for create_network : {'network': {'id': 'a9cac2fe-47ce-44a6-a659-b8fa0eeccfd4', 'name': 'ctest-vn1-82018626', 'tenant_id': '3fba6e85e483419db5f3aa96febc4b6d', 'project_id': '3fba6e85e483419db5f3aa96febc4b6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10501966', 'ctest-vn1-82018626'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 09:12:34,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '8890d7a5-2bb8-432b-84ac-0588cc4ddd3d', 'name': '', 'tenant_id': '3fba6e85e483419db5f3aa96febc4b6d', 'network_id': 'a9cac2fe-47ce-44a6-a659-b8fa0eeccfd4', 'ip_version': 4, 'cidr': '154.0.247.64/26', 'allocation_pools': [{'start': '154.0.247.66', 'end': '154.0.247.126'}], 'gateway_ip': '154.0.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.0.247.66', 'tags': [], 'project_id': '3fba6e85e483419db5f3aa96febc4b6d'}} 2025-10-19 09:12:34,527 - INFO - Created VN ctest-vn1-82018626 2025-10-19 09:12:34,578 - DEBUG - VN ctest-vn1-82018626 UUID is a9cac2fe-47ce-44a6-a659-b8fa0eeccfd4 2025-10-19 09:12:34,922 - DEBUG - Response for create_network : {'network': {'id': '7fd8a595-336d-45d4-82cf-e8d51f00bbca', 'name': 'ctest-vn2-21728878', 'tenant_id': '3fba6e85e483419db5f3aa96febc4b6d', 'project_id': '3fba6e85e483419db5f3aa96febc4b6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10501966', 'ctest-vn2-21728878'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 09:12:35,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed028a7b-1ccd-49ff-a0dd-f2c84e22b5b2', 'name': '', 'tenant_id': '3fba6e85e483419db5f3aa96febc4b6d', 'network_id': '7fd8a595-336d-45d4-82cf-e8d51f00bbca', 'ip_version': 4, 'cidr': '96.74.128.128/26', 'allocation_pools': [{'start': '96.74.128.130', 'end': '96.74.128.190'}], 'gateway_ip': '96.74.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.74.128.130', 'tags': [], 'project_id': '3fba6e85e483419db5f3aa96febc4b6d'}} 2025-10-19 09:12:35,138 - INFO - Created VN ctest-vn2-21728878 2025-10-19 09:12:35,190 - DEBUG - VN ctest-vn2-21728878 UUID is 7fd8a595-336d-45d4-82cf-e8d51f00bbca 2025-10-19 09:12:35,368 - DEBUG - Services list from nova: [, , ] 2025-10-19 09:12:36,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4361-1) 2025-10-19 09:12:37,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4361-1) 2025-10-19 09:12:37,946 - INFO - Adding interface with subnet_id 8890d7a5-2bb8-432b-84ac-0588cc4ddd3d, port_id None to router 472dcfbc-c4a8-448b-a456-a1d4dde2c320 2025-10-19 09:12:38,216 - INFO - Waiting for VM ctest-vn1-vm1-23929572 to be up.. 2025-10-19 09:12:38,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 09:12:43,411 - DEBUG - VM is in ACTIVE state now 2025-10-19 09:12:43,411 - INFO - VM name : ctest-vn1-vm1-23929572 2025-10-19 09:12:43,489 - DEBUG - VM ctest-vn1-vm1-23929572 ID is 4d1a7d90-93ce-4127-aa69-1dea9bf6fcd5 2025-10-19 09:12:43,509 - DEBUG - VM ctest-vn1-vm1-23929572 launched on Node cn-jenkins-deploy-platform-ansible-os-4361-1 2025-10-19 09:12:43,596 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4d1a7d90-93ce-4127-aa69-1dea9bf6fcd5 2025-10-19 09:12:43,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4d1a7d90-93ce-4127-aa69-1dea9bf6fcd5 2025-10-19 09:12:43,930 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c0f2170b-ba71-4b9e-a3c8-574338b0d824 2025-10-19 09:12:47,208 - 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-19 09:12:47,208 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23929572 failed! 2025-10-19 09:12:47,262 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-10501966:ctest-vn1-82018626 is 154.0.247.65 and allocation pool is NOT set 2025-10-19 09:12:49,327 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/2.414/4.299/1.884 ms') 2025-10-19 09:12:49,327 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23929572 passed 2025-10-19 09:12:49,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:49,482 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23929572, IP 154.0.247.67, Port 22 2025-10-19 09:12:49,641 - DEBUG - VM ctest-vn1-vm1-23929572 is ready for SSH connections 2025-10-19 09:12:49,642 - INFO - Waiting for VM ctest-vn2-vm1-21376330 to be up.. 2025-10-19 09:12:49,733 - DEBUG - VM is in ACTIVE state now 2025-10-19 09:12:49,734 - INFO - VM name : ctest-vn2-vm1-21376330 2025-10-19 09:12:49,812 - DEBUG - VM ctest-vn2-vm1-21376330 ID is 88b2aee9-a914-42a4-9502-f569711df441 2025-10-19 09:12:49,813 - DEBUG - VM ctest-vn2-vm1-21376330 launched on Node cn-jenkins-deploy-platform-ansible-os-4361-1 2025-10-19 09:12:49,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/88b2aee9-a914-42a4-9502-f569711df441 2025-10-19 09:12:49,899 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7d686176-43cf-4622-8cd4-587d17dbfb59 2025-10-19 09:12:51,145 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.532 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.532/1.872/3.213/1.340 ms') 2025-10-19 09:12:51,145 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-21376330 passed 2025-10-19 09:12:51,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:51,298 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-21376330, IP 96.74.128.131, Port 22 2025-10-19 09:12:51,464 - DEBUG - VM ctest-vn2-vm1-21376330 is ready for SSH connections 2025-10-19 09:12:51,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:51,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.74.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 09:12:51,465 - DEBUG - ping -s 56 -c 3 -W 1 96.74.128.131 2025-10-19 09:12:56,523 - DEBUG - PING 96.74.128.131 (96.74.128.131): 56 data bytes --- 96.74.128.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-19 09:12:56,523 - WARNING - Ping to IP 96.74.128.131 from VM ctest-vn1-vm1-23929572 failed 2025-10-19 09:12:56,523 - INFO - Adding interface with subnet_id ed028a7b-1ccd-49ff-a0dd-f2c84e22b5b2, port_id None to router 472dcfbc-c4a8-448b-a456-a1d4dde2c320 2025-10-19 09:12:56,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:56,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.74.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 09:12:56,778 - DEBUG - ping -s 56 -c 3 -W 1 96.74.128.131 2025-10-19 09:12:59,994 - DEBUG - PING 96.74.128.131 (96.74.128.131): 56 data bytes 64 bytes from 96.74.128.131: seq=1 ttl=63 time=4.390 ms 64 bytes from 96.74.128.131: seq=2 ttl=63 time=1.100 ms --- 96.74.128.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.100/2.745/4.390 ms 2025-10-19 09:12:59,994 - WARNING - Ping to IP 96.74.128.131 from VM ctest-vn1-vm1-23929572 failed 2025-10-19 09:13:00,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.74.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 09:13:00,995 - DEBUG - ping -s 56 -c 3 -W 1 96.74.128.131 2025-10-19 09:13:03,210 - DEBUG - PING 96.74.128.131 (96.74.128.131): 56 data bytes 64 bytes from 96.74.128.131: seq=0 ttl=63 time=1.822 ms 64 bytes from 96.74.128.131: seq=1 ttl=63 time=0.927 ms 64 bytes from 96.74.128.131: seq=2 ttl=63 time=0.984 ms --- 96.74.128.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/1.244/1.822 ms 2025-10-19 09:13:03,210 - INFO - Ping to IP 96.74.128.131 from VM ctest-vn1-vm1-23929572 passed 2025-10-19 09:13:03,210 - INFO - Deleting interface with subnet_id 8890d7a5-2bb8-432b-84ac-0588cc4ddd3d, port_id None from router 472dcfbc-c4a8-448b-a456-a1d4dde2c320 2025-10-19 09:13:03,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:13:03,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.74.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 09:13:03,352 - DEBUG - ping -s 56 -c 3 -W 1 96.74.128.131 2025-10-19 09:13:06,585 - DEBUG - PING 96.74.128.131 (96.74.128.131): 56 data bytes --- 96.74.128.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-19 09:13:06,586 - WARNING - Ping to IP 96.74.128.131 from VM ctest-vn1-vm1-23929572 failed 2025-10-19 09:13:06,586 - INFO - Adding interface with subnet_id 8890d7a5-2bb8-432b-84ac-0588cc4ddd3d, port_id None to router 472dcfbc-c4a8-448b-a456-a1d4dde2c320 2025-10-19 09:13:06,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:13:06,806 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.74.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 09:13:06,806 - DEBUG - ping -s 56 -c 3 -W 1 96.74.128.131 2025-10-19 09:13:09,025 - DEBUG - PING 96.74.128.131 (96.74.128.131): 56 data bytes 64 bytes from 96.74.128.131: seq=0 ttl=63 time=1.682 ms 64 bytes from 96.74.128.131: seq=1 ttl=63 time=1.075 ms 64 bytes from 96.74.128.131: seq=2 ttl=63 time=1.586 ms --- 96.74.128.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.075/1.447/1.682 ms 2025-10-19 09:13:09,025 - INFO - Ping to IP 96.74.128.131 from VM ctest-vn1-vm1-23929572 passed 2025-10-19 09:13:09,025 - INFO - Deleting interface with subnet_id ed028a7b-1ccd-49ff-a0dd-f2c84e22b5b2, port_id None from router 472dcfbc-c4a8-448b-a456-a1d4dde2c320 2025-10-19 09:13:09,152 - INFO - Deleting interface with subnet_id 8890d7a5-2bb8-432b-84ac-0588cc4ddd3d, port_id None from router 472dcfbc-c4a8-448b-a456-a1d4dde2c320 2025-10-19 09:13:09,354 - INFO - Deleting VM ctest-vn2-vm1-21376330 2025-10-19 09:13:09,436 - INFO - Deleting VM ctest-vn1-vm1-23929572 2025-10-19 09:13:09,520 - INFO - Deleting VN ctest-vn2-21728878 2025-10-19 09:13:09,568 - DEBUG - VN 7fd8a595-336d-45d4-82cf-e8d51f00bbca still in use: Unable to complete operation on network 7fd8a595-336d-45d4-82cf-e8d51f00bbca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-578c4260-4156-4254-8370-27aa33e92bdb'] 2025-10-19 09:13:09,568 - WARNING - Deleting VN ctest-vn2-21728878 failed..Will retry 2025-10-19 09:13:11,681 - DEBUG - Response for deleting network () 2025-10-19 09:13:11,681 - INFO - Deleting VN ctest-vn1-82018626 2025-10-19 09:13:11,797 - DEBUG - Response for deleting network () 2025-10-19 09:13:12,052 - DEBUG - No XMPP flaps were noticed during the test 2025-10-19 09:13:12,052 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-19 09:13:12,053 - INFO - -------------------------------------------------------------------------------- 2025-10-19 09:13:12,746 - INFO - Deleted project: ctest-TestRouters-10501966, ID : 3fba6e85-e483-419d-b5f3-aa96febc4b6d