2025-09-11 15:36:48,421 - INFO - Domain Default found not creating 2025-09-11 15:36:48,664 - INFO - Project ctest-TestRouters-84962702 not found, creating it 2025-09-11 15:36:49,137 - INFO - Created Project:ctest-TestRouters-84962702, ID : 982e25c3-4390-4f01-89eb-4ba52a40ee0b 2025-09-11 15:36:50,606 - INFO - ================================================================================ 2025-09-11 15:36:50,606 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 15:36:50,606 - 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-09-11 15:36:50,867 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 15:36:50,867 - INFO - Initial checks done. Running the testcase now 2025-09-11 15:36:50,867 - INFO - 2025-09-11 15:36:51,442 - DEBUG - Response for create_network : {'network': {'id': '99ac9c7e-2431-4dcd-8a51-001940beb71d', 'name': 'ctest-vn1-10411003', 'tenant_id': '982e25c343904f0189eb4ba52a40ee0b', 'project_id': '982e25c343904f0189eb4ba52a40ee0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84962702', 'ctest-vn1-10411003'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:36:51,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '0142b48e-4d36-4173-908f-c1bf2c8c16c8', 'name': '', 'tenant_id': '982e25c343904f0189eb4ba52a40ee0b', 'network_id': '99ac9c7e-2431-4dcd-8a51-001940beb71d', 'ip_version': 4, 'cidr': '1.57.212.192/26', 'allocation_pools': [{'start': '1.57.212.194', 'end': '1.57.212.254'}], 'gateway_ip': '1.57.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.57.212.194', 'tags': [], 'project_id': '982e25c343904f0189eb4ba52a40ee0b'}} 2025-09-11 15:36:51,685 - INFO - Created VN ctest-vn1-10411003 2025-09-11 15:36:51,738 - DEBUG - VN ctest-vn1-10411003 UUID is 99ac9c7e-2431-4dcd-8a51-001940beb71d 2025-09-11 15:36:52,049 - DEBUG - Response for create_network : {'network': {'id': 'f3b8be9d-bd4e-45e5-b3ed-46e086d9de71', 'name': 'ctest-vn2-80316039', 'tenant_id': '982e25c343904f0189eb4ba52a40ee0b', 'project_id': '982e25c343904f0189eb4ba52a40ee0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84962702', 'ctest-vn2-80316039'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:36:52,284 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e73094c3-6e7f-4d9a-adc8-8be0896739cf', 'name': '', 'tenant_id': '982e25c343904f0189eb4ba52a40ee0b', 'network_id': 'f3b8be9d-bd4e-45e5-b3ed-46e086d9de71', 'ip_version': 4, 'cidr': '207.138.194.192/26', 'allocation_pools': [{'start': '207.138.194.194', 'end': '207.138.194.254'}], 'gateway_ip': '207.138.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.138.194.194', 'tags': [], 'project_id': '982e25c343904f0189eb4ba52a40ee0b'}} 2025-09-11 15:36:52,304 - INFO - Created VN ctest-vn2-80316039 2025-09-11 15:36:52,354 - DEBUG - VN ctest-vn2-80316039 UUID is f3b8be9d-bd4e-45e5-b3ed-46e086d9de71 2025-09-11 15:36:52,561 - DEBUG - Services list from nova: [, , ] 2025-09-11 15:36:53,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1) 2025-09-11 15:36:54,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1) 2025-09-11 15:36:54,955 - INFO - Adding interface with subnet_id 0142b48e-4d36-4173-908f-c1bf2c8c16c8, port_id None to router 868b059d-86b2-4c9c-a678-f77961ee6b8a 2025-09-11 15:36:55,268 - INFO - Waiting for VM ctest-vn1-vm1-27429637 to be up.. 2025-09-11 15:36:55,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 15:37:00,442 - DEBUG - VM is in ACTIVE state now 2025-09-11 15:37:00,442 - INFO - VM name : ctest-vn1-vm1-27429637 2025-09-11 15:37:00,521 - DEBUG - VM ctest-vn1-vm1-27429637 ID is 2075c229-a717-49bf-b182-5ba9f9729102 2025-09-11 15:37:00,541 - DEBUG - VM ctest-vn1-vm1-27429637 launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1 2025-09-11 15:37:00,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2075c229-a717-49bf-b182-5ba9f9729102 2025-09-11 15:37:00,925 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2075c229-a717-49bf-b182-5ba9f9729102 2025-09-11 15:37:00,960 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4ac7f7c0-e171-468f-8cf5-6fe995344f82 2025-09-11 15:37:04,221 - 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 1009ms') 2025-09-11 15:37:04,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27429637 failed! 2025-09-11 15:37:04,279 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84962702:ctest-vn1-10411003 is 1.57.212.193 and allocation pool is NOT set 2025-09-11 15:37:06,338 - 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=6.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 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.559/3.383/6.208/2.824 ms') 2025-09-11 15:37:06,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27429637 passed 2025-09-11 15:37:06,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:06,486 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27429637, IP 1.57.212.195, Port 22 2025-09-11 15:37:06,650 - DEBUG - VM ctest-vn1-vm1-27429637 is ready for SSH connections 2025-09-11 15:37:06,650 - INFO - Waiting for VM ctest-vn2-vm1-50629928 to be up.. 2025-09-11 15:37:06,731 - DEBUG - VM is in ACTIVE state now 2025-09-11 15:37:06,731 - INFO - VM name : ctest-vn2-vm1-50629928 2025-09-11 15:37:06,806 - DEBUG - VM ctest-vn2-vm1-50629928 ID is 818ade50-fa11-49a5-aabd-211c8a4cbccd 2025-09-11 15:37:06,806 - DEBUG - VM ctest-vn2-vm1-50629928 launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1 2025-09-11 15:37:06,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/818ade50-fa11-49a5-aabd-211c8a4cbccd 2025-09-11 15:37:06,900 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/886e380f-a85c-46d9-ae33-c061650097ec 2025-09-11 15:37:08,146 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 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.490/1.753/3.016/1.263 ms') 2025-09-11 15:37:08,146 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-50629928 passed 2025-09-11 15:37:08,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:08,295 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-50629928, IP 207.138.194.195, Port 22 2025-09-11 15:37:08,449 - DEBUG - VM ctest-vn2-vm1-50629928 is ready for SSH connections 2025-09-11 15:37:08,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:08,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.138.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:37:08,450 - DEBUG - ping -s 56 -c 3 -W 1 207.138.194.195 2025-09-11 15:37:13,545 - DEBUG - PING 207.138.194.195 (207.138.194.195): 56 data bytes --- 207.138.194.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 15:37:13,546 - WARNING - Ping to IP 207.138.194.195 from VM ctest-vn1-vm1-27429637 failed 2025-09-11 15:37:13,546 - INFO - Adding interface with subnet_id e73094c3-6e7f-4d9a-adc8-8be0896739cf, port_id None to router 868b059d-86b2-4c9c-a678-f77961ee6b8a 2025-09-11 15:37:13,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:13,809 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.138.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:37:13,809 - DEBUG - ping -s 56 -c 3 -W 1 207.138.194.195 2025-09-11 15:37:17,021 - DEBUG - PING 207.138.194.195 (207.138.194.195): 56 data bytes 64 bytes from 207.138.194.195: seq=1 ttl=63 time=3.163 ms 64 bytes from 207.138.194.195: seq=2 ttl=63 time=1.259 ms --- 207.138.194.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.259/2.211/3.163 ms 2025-09-11 15:37:17,021 - WARNING - Ping to IP 207.138.194.195 from VM ctest-vn1-vm1-27429637 failed 2025-09-11 15:37:18,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.138.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:37:18,022 - DEBUG - ping -s 56 -c 3 -W 1 207.138.194.195 2025-09-11 15:37:20,240 - DEBUG - PING 207.138.194.195 (207.138.194.195): 56 data bytes 64 bytes from 207.138.194.195: seq=0 ttl=63 time=1.592 ms 64 bytes from 207.138.194.195: seq=1 ttl=63 time=1.268 ms 64 bytes from 207.138.194.195: seq=2 ttl=63 time=1.023 ms --- 207.138.194.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.023/1.294/1.592 ms 2025-09-11 15:37:20,240 - INFO - Ping to IP 207.138.194.195 from VM ctest-vn1-vm1-27429637 passed 2025-09-11 15:37:20,240 - INFO - Deleting interface with subnet_id 0142b48e-4d36-4173-908f-c1bf2c8c16c8, port_id None from router 868b059d-86b2-4c9c-a678-f77961ee6b8a 2025-09-11 15:37:20,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:20,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.138.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:37:20,355 - DEBUG - ping -s 56 -c 3 -W 1 207.138.194.195 2025-09-11 15:37:23,580 - DEBUG - PING 207.138.194.195 (207.138.194.195): 56 data bytes --- 207.138.194.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 15:37:23,580 - WARNING - Ping to IP 207.138.194.195 from VM ctest-vn1-vm1-27429637 failed 2025-09-11 15:37:23,580 - INFO - Adding interface with subnet_id 0142b48e-4d36-4173-908f-c1bf2c8c16c8, port_id None to router 868b059d-86b2-4c9c-a678-f77961ee6b8a 2025-09-11 15:37:23,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:23,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.138.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:37:23,844 - DEBUG - ping -s 56 -c 3 -W 1 207.138.194.195 2025-09-11 15:37:26,051 - DEBUG - PING 207.138.194.195 (207.138.194.195): 56 data bytes 64 bytes from 207.138.194.195: seq=0 ttl=63 time=1.634 ms 64 bytes from 207.138.194.195: seq=1 ttl=63 time=1.000 ms 64 bytes from 207.138.194.195: seq=2 ttl=63 time=1.201 ms --- 207.138.194.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.000/1.278/1.634 ms 2025-09-11 15:37:26,051 - INFO - Ping to IP 207.138.194.195 from VM ctest-vn1-vm1-27429637 passed 2025-09-11 15:37:26,051 - INFO - Deleting interface with subnet_id e73094c3-6e7f-4d9a-adc8-8be0896739cf, port_id None from router 868b059d-86b2-4c9c-a678-f77961ee6b8a 2025-09-11 15:37:26,172 - INFO - Deleting interface with subnet_id 0142b48e-4d36-4173-908f-c1bf2c8c16c8, port_id None from router 868b059d-86b2-4c9c-a678-f77961ee6b8a 2025-09-11 15:37:26,385 - INFO - Deleting VM ctest-vn2-vm1-50629928 2025-09-11 15:37:26,468 - INFO - Deleting VM ctest-vn1-vm1-27429637 2025-09-11 15:37:26,546 - INFO - Deleting VN ctest-vn2-80316039 2025-09-11 15:37:26,585 - DEBUG - VN f3b8be9d-bd4e-45e5-b3ed-46e086d9de71 still in use: Unable to complete operation on network f3b8be9d-bd4e-45e5-b3ed-46e086d9de71. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ccc1a3fa-9b4d-40cb-9f6a-58885af2063f'] 2025-09-11 15:37:26,585 - WARNING - Deleting VN ctest-vn2-80316039 failed..Will retry 2025-09-11 15:37:28,707 - DEBUG - Response for deleting network () 2025-09-11 15:37:28,707 - INFO - Deleting VN ctest-vn1-10411003 2025-09-11 15:37:28,836 - DEBUG - Response for deleting network () 2025-09-11 15:37:29,095 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 15:37:29,095 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-09-11 15:37:29,095 - INFO - -------------------------------------------------------------------------------- 2025-09-11 15:37:29,795 - INFO - Deleted project: ctest-TestRouters-84962702, ID : 982e25c3-4390-4f01-89eb-4ba52a40ee0b