2025-08-31 00:09:52,961 - INFO - Domain Default found not creating 2025-08-31 00:09:53,150 - INFO - Project ctest-TestRouters-47626318 not found, creating it 2025-08-31 00:09:53,683 - INFO - Created Project:ctest-TestRouters-47626318, ID : 6b94b240-d5ef-4146-af3b-1afef2953dee 2025-08-31 00:09:55,286 - INFO - ================================================================================ 2025-08-31 00:09:55,287 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-31 00:09:55,287 - 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-08-31 00:09:55,557 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-31 00:09:55,557 - INFO - Initial checks done. Running the testcase now 2025-08-31 00:09:55,558 - INFO - 2025-08-31 00:09:56,295 - DEBUG - Response for create_network : {'network': {'id': '5d1c53e6-8115-475c-a9cc-a565850d570b', 'name': 'ctest-vn1-98075851', 'tenant_id': '6b94b240d5ef4146af3b1afef2953dee', 'project_id': '6b94b240d5ef4146af3b1afef2953dee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47626318', 'ctest-vn1-98075851'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:09:56,525 - DEBUG - Response for create_subnet : {'subnet': {'id': '797bb419-fa02-4191-a82a-403481e37163', 'name': '', 'tenant_id': '6b94b240d5ef4146af3b1afef2953dee', 'network_id': '5d1c53e6-8115-475c-a9cc-a565850d570b', 'ip_version': 4, 'cidr': '11.149.188.0/26', 'allocation_pools': [{'start': '11.149.188.2', 'end': '11.149.188.62'}], 'gateway_ip': '11.149.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.149.188.2', 'tags': [], 'project_id': '6b94b240d5ef4146af3b1afef2953dee'}} 2025-08-31 00:09:56,547 - INFO - Created VN ctest-vn1-98075851 2025-08-31 00:09:56,614 - DEBUG - VN ctest-vn1-98075851 UUID is 5d1c53e6-8115-475c-a9cc-a565850d570b 2025-08-31 00:09:57,023 - DEBUG - Response for create_network : {'network': {'id': '8489c813-f3e8-458a-bca6-074f88a3aeed', 'name': 'ctest-vn2-80920384', 'tenant_id': '6b94b240d5ef4146af3b1afef2953dee', 'project_id': '6b94b240d5ef4146af3b1afef2953dee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47626318', 'ctest-vn2-80920384'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:09:57,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eee57dc-629a-45a0-afd3-4e358f92ec59', 'name': '', 'tenant_id': '6b94b240d5ef4146af3b1afef2953dee', 'network_id': '8489c813-f3e8-458a-bca6-074f88a3aeed', 'ip_version': 4, 'cidr': '94.56.155.128/26', 'allocation_pools': [{'start': '94.56.155.130', 'end': '94.56.155.190'}], 'gateway_ip': '94.56.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.56.155.130', 'tags': [], 'project_id': '6b94b240d5ef4146af3b1afef2953dee'}} 2025-08-31 00:09:57,293 - INFO - Created VN ctest-vn2-80920384 2025-08-31 00:09:57,357 - DEBUG - VN ctest-vn2-80920384 UUID is 8489c813-f3e8-458a-bca6-074f88a3aeed 2025-08-31 00:09:57,801 - DEBUG - Services list from nova: [, , ] 2025-08-31 00:09:59,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:10:00,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:10:00,487 - INFO - Adding interface with subnet_id 797bb419-fa02-4191-a82a-403481e37163, port_id None to router b68eb26e-e886-497a-bc82-73bf87dfdf5a 2025-08-31 00:10:00,871 - INFO - Waiting for VM ctest-vn1-vm1-70853588 to be up.. 2025-08-31 00:10:01,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 00:10:06,144 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:10:06,144 - INFO - VM name : ctest-vn1-vm1-70853588 2025-08-31 00:10:06,255 - DEBUG - VM ctest-vn1-vm1-70853588 ID is 6470a3b2-92a7-4299-aa95-53bba585ba55 2025-08-31 00:10:06,279 - DEBUG - VM ctest-vn1-vm1-70853588 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:10:06,368 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6470a3b2-92a7-4299-aa95-53bba585ba55 2025-08-31 00:10:06,681 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6470a3b2-92a7-4299-aa95-53bba585ba55 2025-08-31 00:10:06,720 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/261f4f93-96c9-489f-83b2-554718a05aed 2025-08-31 00:10:09,987 - 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 1021ms') 2025-08-31 00:10:09,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70853588 failed! 2025-08-31 00:10:10,046 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-47626318:ctest-vn1-98075851 is 11.149.188.1 and allocation pool is NOT set 2025-08-31 00:10:12,117 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.911 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.911/2.166/3.422/1.255 ms') 2025-08-31 00:10:12,118 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70853588 passed 2025-08-31 00:10:12,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:12,266 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70853588, IP 11.149.188.3, Port 22 2025-08-31 00:10:12,434 - DEBUG - VM ctest-vn1-vm1-70853588 is ready for SSH connections 2025-08-31 00:10:12,434 - INFO - Waiting for VM ctest-vn2-vm1-67436592 to be up.. 2025-08-31 00:10:12,530 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:10:12,530 - INFO - VM name : ctest-vn2-vm1-67436592 2025-08-31 00:10:12,622 - DEBUG - VM ctest-vn2-vm1-67436592 ID is 917f9535-ecb5-4c47-9a42-b53329064245 2025-08-31 00:10:12,622 - DEBUG - VM ctest-vn2-vm1-67436592 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:10:12,711 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/917f9535-ecb5-4c47-9a42-b53329064245 2025-08-31 00:10:12,724 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4d8aae9d-67dc-4b9f-a330-0204a8b1206d 2025-08-31 00:10:13,976 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.888 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.888/2.447/4.006/1.559 ms') 2025-08-31 00:10:13,976 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-67436592 passed 2025-08-31 00:10:14,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:14,134 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-67436592, IP 94.56.155.131, Port 22 2025-08-31 00:10:14,304 - DEBUG - VM ctest-vn2-vm1-67436592 is ready for SSH connections 2025-08-31 00:10:14,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:14,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.56.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:10:14,305 - DEBUG - ping -s 56 -c 3 -W 1 94.56.155.131 2025-08-31 00:10:19,010 - DEBUG - PING 94.56.155.131 (94.56.155.131): 56 data bytes --- 94.56.155.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 00:10:19,010 - WARNING - Ping to IP 94.56.155.131 from VM ctest-vn1-vm1-70853588 failed 2025-08-31 00:10:19,011 - INFO - Adding interface with subnet_id 1eee57dc-629a-45a0-afd3-4e358f92ec59, port_id None to router b68eb26e-e886-497a-bc82-73bf87dfdf5a 2025-08-31 00:10:19,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:19,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.56.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:10:19,430 - DEBUG - ping -s 56 -c 3 -W 1 94.56.155.131 2025-08-31 00:10:22,670 - DEBUG - PING 94.56.155.131 (94.56.155.131): 56 data bytes 64 bytes from 94.56.155.131: seq=1 ttl=63 time=4.752 ms 64 bytes from 94.56.155.131: seq=2 ttl=63 time=1.600 ms --- 94.56.155.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.600/3.176/4.752 ms 2025-08-31 00:10:22,670 - WARNING - Ping to IP 94.56.155.131 from VM ctest-vn1-vm1-70853588 failed 2025-08-31 00:10:23,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.56.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:10:23,671 - DEBUG - ping -s 56 -c 3 -W 1 94.56.155.131 2025-08-31 00:10:25,887 - DEBUG - PING 94.56.155.131 (94.56.155.131): 56 data bytes 64 bytes from 94.56.155.131: seq=0 ttl=63 time=1.730 ms 64 bytes from 94.56.155.131: seq=1 ttl=63 time=1.116 ms 64 bytes from 94.56.155.131: seq=2 ttl=63 time=1.007 ms --- 94.56.155.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.007/1.284/1.730 ms 2025-08-31 00:10:25,887 - INFO - Ping to IP 94.56.155.131 from VM ctest-vn1-vm1-70853588 passed 2025-08-31 00:10:25,887 - INFO - Deleting interface with subnet_id 797bb419-fa02-4191-a82a-403481e37163, port_id None from router b68eb26e-e886-497a-bc82-73bf87dfdf5a 2025-08-31 00:10:26,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:26,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.56.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:10:26,025 - DEBUG - ping -s 56 -c 3 -W 1 94.56.155.131 2025-08-31 00:10:29,232 - DEBUG - PING 94.56.155.131 (94.56.155.131): 56 data bytes --- 94.56.155.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 00:10:29,232 - WARNING - Ping to IP 94.56.155.131 from VM ctest-vn1-vm1-70853588 failed 2025-08-31 00:10:29,232 - INFO - Adding interface with subnet_id 797bb419-fa02-4191-a82a-403481e37163, port_id None to router b68eb26e-e886-497a-bc82-73bf87dfdf5a 2025-08-31 00:10:29,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:29,491 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.56.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:10:29,492 - DEBUG - ping -s 56 -c 3 -W 1 94.56.155.131 2025-08-31 00:10:31,702 - DEBUG - PING 94.56.155.131 (94.56.155.131): 56 data bytes 64 bytes from 94.56.155.131: seq=0 ttl=63 time=1.683 ms 64 bytes from 94.56.155.131: seq=1 ttl=63 time=1.245 ms 64 bytes from 94.56.155.131: seq=2 ttl=63 time=0.974 ms --- 94.56.155.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/1.300/1.683 ms 2025-08-31 00:10:31,702 - INFO - Ping to IP 94.56.155.131 from VM ctest-vn1-vm1-70853588 passed 2025-08-31 00:10:31,702 - INFO - Deleting interface with subnet_id 1eee57dc-629a-45a0-afd3-4e358f92ec59, port_id None from router b68eb26e-e886-497a-bc82-73bf87dfdf5a 2025-08-31 00:10:31,828 - INFO - Deleting interface with subnet_id 797bb419-fa02-4191-a82a-403481e37163, port_id None from router b68eb26e-e886-497a-bc82-73bf87dfdf5a 2025-08-31 00:10:32,059 - INFO - Deleting VM ctest-vn2-vm1-67436592 2025-08-31 00:10:32,159 - INFO - Deleting VM ctest-vn1-vm1-70853588 2025-08-31 00:10:32,251 - INFO - Deleting VN ctest-vn2-80920384 2025-08-31 00:10:32,290 - DEBUG - VN 8489c813-f3e8-458a-bca6-074f88a3aeed still in use: Unable to complete operation on network 8489c813-f3e8-458a-bca6-074f88a3aeed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44a9e394-7069-40af-bdfd-6848ef6dae26'] 2025-08-31 00:10:32,290 - WARNING - Deleting VN ctest-vn2-80920384 failed..Will retry 2025-08-31 00:10:34,407 - DEBUG - Response for deleting network () 2025-08-31 00:10:34,407 - INFO - Deleting VN ctest-vn1-98075851 2025-08-31 00:10:34,553 - DEBUG - Response for deleting network () 2025-08-31 00:10:34,812 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 00:10:34,812 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-31 00:10:34,812 - INFO - -------------------------------------------------------------------------------- 2025-08-31 00:10:35,516 - INFO - Deleted project: ctest-TestRouters-47626318, ID : 6b94b240-d5ef-4146-af3b-1afef2953dee