2025-08-05 19:59:19,819 - INFO - Domain Default found not creating 2025-08-05 19:59:19,970 - INFO - Project ctest-TestRouters-80418295 not found, creating it 2025-08-05 19:59:20,465 - INFO - Created Project:ctest-TestRouters-80418295, ID : d0499e25-dc3d-4af3-b0dd-b5f69bc79f29 2025-08-05 19:59:22,395 - INFO - ================================================================================ 2025-08-05 19:59:22,396 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-05 19:59:22,396 - 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-05 19:59:22,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-08-05 19:59:22,720 - INFO - Initial checks done. Running the testcase now 2025-08-05 19:59:22,720 - INFO - 2025-08-05 19:59:23,410 - DEBUG - Response for create_network : {'network': {'id': '44a1ca32-9c53-4cf5-a238-e946a874dac8', 'name': 'ctest-vn1-69573247', 'tenant_id': 'd0499e25dc3d4af3b0ddb5f69bc79f29', 'project_id': 'd0499e25dc3d4af3b0ddb5f69bc79f29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-80418295', 'ctest-vn1-69573247'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 19:59:23,621 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c194896d-6ab5-4207-a22b-4bcf5f2e84aa', 'name': '', 'tenant_id': 'd0499e25dc3d4af3b0ddb5f69bc79f29', 'network_id': '44a1ca32-9c53-4cf5-a238-e946a874dac8', 'ip_version': 4, 'cidr': '42.35.197.0/26', 'allocation_pools': [{'start': '42.35.197.2', 'end': '42.35.197.62'}], 'gateway_ip': '42.35.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.35.197.2', 'tags': [], 'project_id': 'd0499e25dc3d4af3b0ddb5f69bc79f29'}} 2025-08-05 19:59:23,637 - INFO - Created VN ctest-vn1-69573247 2025-08-05 19:59:23,692 - DEBUG - VN ctest-vn1-69573247 UUID is 44a1ca32-9c53-4cf5-a238-e946a874dac8 2025-08-05 19:59:24,065 - DEBUG - Response for create_network : {'network': {'id': '5583915c-2715-4586-a351-c3d259931f22', 'name': 'ctest-vn2-02066443', 'tenant_id': 'd0499e25dc3d4af3b0ddb5f69bc79f29', 'project_id': 'd0499e25dc3d4af3b0ddb5f69bc79f29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-80418295', 'ctest-vn2-02066443'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 19:59:24,232 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e333e517-4b7d-492b-a427-fd83599a34af', 'name': '', 'tenant_id': 'd0499e25dc3d4af3b0ddb5f69bc79f29', 'network_id': '5583915c-2715-4586-a351-c3d259931f22', 'ip_version': 4, 'cidr': '112.183.120.64/26', 'allocation_pools': [{'start': '112.183.120.66', 'end': '112.183.120.126'}], 'gateway_ip': '112.183.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.183.120.66', 'tags': [], 'project_id': 'd0499e25dc3d4af3b0ddb5f69bc79f29'}} 2025-08-05 19:59:24,255 - INFO - Created VN ctest-vn2-02066443 2025-08-05 19:59:24,308 - DEBUG - VN ctest-vn2-02066443 UUID is 5583915c-2715-4586-a351-c3d259931f22 2025-08-05 19:59:24,602 - DEBUG - Services list from nova: [, , ] 2025-08-05 19:59:26,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1) 2025-08-05 19:59:28,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1) 2025-08-05 19:59:28,173 - INFO - Adding interface with subnet_id c194896d-6ab5-4207-a22b-4bcf5f2e84aa, port_id None to router 50bfae6b-6cee-40c1-8879-67b0b7bb08a5 2025-08-05 19:59:28,478 - INFO - Waiting for VM ctest-vn1-vm1-27622069 to be up.. 2025-08-05 19:59:28,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-05 19:59:33,687 - DEBUG - VM is in ACTIVE state now 2025-08-05 19:59:33,687 - INFO - VM name : ctest-vn1-vm1-27622069 2025-08-05 19:59:33,765 - DEBUG - VM ctest-vn1-vm1-27622069 ID is 0354d6cd-8f1a-4f30-b5a8-aae3a05b29b3 2025-08-05 19:59:33,786 - DEBUG - VM ctest-vn1-vm1-27622069 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1 2025-08-05 19:59:33,875 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/0354d6cd-8f1a-4f30-b5a8-aae3a05b29b3 2025-08-05 19:59:34,175 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/0354d6cd-8f1a-4f30-b5a8-aae3a05b29b3 2025-08-05 19:59:34,213 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a0d49f61-c96d-4600-8ee0-88bf5a5b6301 2025-08-05 19:59:37,543 - 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 1018ms') 2025-08-05 19:59:37,544 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27622069 failed! 2025-08-05 19:59:37,608 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-80418295:ctest-vn1-69573247 is 42.35.197.1 and allocation pool is NOT set 2025-08-05 19:59:39,684 - 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=5.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.648 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.648/3.095/5.542/2.447 ms') 2025-08-05 19:59:39,684 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27622069 passed 2025-08-05 19:59:39,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 19:59:39,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27622069, IP 42.35.197.3, Port 22 2025-08-05 19:59:40,032 - DEBUG - VM ctest-vn1-vm1-27622069 is ready for SSH connections 2025-08-05 19:59:40,032 - INFO - Waiting for VM ctest-vn2-vm1-21241562 to be up.. 2025-08-05 19:59:40,185 - DEBUG - VM is in ACTIVE state now 2025-08-05 19:59:40,185 - INFO - VM name : ctest-vn2-vm1-21241562 2025-08-05 19:59:40,321 - DEBUG - VM ctest-vn2-vm1-21241562 ID is 2627c86c-b513-4c4f-bef7-80880582c33c 2025-08-05 19:59:40,321 - DEBUG - VM ctest-vn2-vm1-21241562 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1 2025-08-05 19:59:40,417 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/2627c86c-b513-4c4f-bef7-80880582c33c 2025-08-05 19:59:40,435 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/8976c70a-be2e-4cf4-9a35-84b632b4cbe8 2025-08-05 19:59:41,695 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.765 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.765/2.195/3.625/1.430 ms') 2025-08-05 19:59:41,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-21241562 passed 2025-08-05 19:59:41,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 19:59:41,828 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-21241562, IP 112.183.120.67, Port 22 2025-08-05 19:59:42,024 - DEBUG - VM ctest-vn2-vm1-21241562 is ready for SSH connections 2025-08-05 19:59:42,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 19:59:42,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.183.120.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 19:59:42,025 - DEBUG - ping -s 56 -c 3 -W 1 112.183.120.67 2025-08-05 19:59:47,651 - DEBUG - PING 112.183.120.67 (112.183.120.67): 56 data bytes --- 112.183.120.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-05 19:59:47,651 - WARNING - Ping to IP 112.183.120.67 from VM ctest-vn1-vm1-27622069 failed 2025-08-05 19:59:47,651 - INFO - Adding interface with subnet_id e333e517-4b7d-492b-a427-fd83599a34af, port_id None to router 50bfae6b-6cee-40c1-8879-67b0b7bb08a5 2025-08-05 19:59:48,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 19:59:48,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.183.120.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 19:59:48,165 - DEBUG - ping -s 56 -c 3 -W 1 112.183.120.67 2025-08-05 19:59:50,431 - DEBUG - PING 112.183.120.67 (112.183.120.67): 56 data bytes 64 bytes from 112.183.120.67: seq=0 ttl=63 time=3.456 ms 64 bytes from 112.183.120.67: seq=1 ttl=63 time=2.191 ms 64 bytes from 112.183.120.67: seq=2 ttl=63 time=2.041 ms --- 112.183.120.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.041/2.562/3.456 ms 2025-08-05 19:59:50,432 - INFO - Ping to IP 112.183.120.67 from VM ctest-vn1-vm1-27622069 passed 2025-08-05 19:59:50,432 - INFO - Deleting interface with subnet_id c194896d-6ab5-4207-a22b-4bcf5f2e84aa, port_id None from router 50bfae6b-6cee-40c1-8879-67b0b7bb08a5 2025-08-05 19:59:50,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 19:59:50,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.183.120.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 19:59:50,697 - DEBUG - ping -s 56 -c 3 -W 1 112.183.120.67 2025-08-05 19:59:54,021 - DEBUG - PING 112.183.120.67 (112.183.120.67): 56 data bytes --- 112.183.120.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-05 19:59:54,022 - WARNING - Ping to IP 112.183.120.67 from VM ctest-vn1-vm1-27622069 failed 2025-08-05 19:59:54,022 - INFO - Adding interface with subnet_id c194896d-6ab5-4207-a22b-4bcf5f2e84aa, port_id None to router 50bfae6b-6cee-40c1-8879-67b0b7bb08a5 2025-08-05 19:59:54,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 19:59:54,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.183.120.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 19:59:54,461 - DEBUG - ping -s 56 -c 3 -W 1 112.183.120.67 2025-08-05 19:59:56,764 - DEBUG - PING 112.183.120.67 (112.183.120.67): 56 data bytes 64 bytes from 112.183.120.67: seq=0 ttl=63 time=3.718 ms 64 bytes from 112.183.120.67: seq=1 ttl=63 time=2.085 ms 64 bytes from 112.183.120.67: seq=2 ttl=63 time=1.796 ms --- 112.183.120.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.796/2.533/3.718 ms 2025-08-05 19:59:56,764 - INFO - Ping to IP 112.183.120.67 from VM ctest-vn1-vm1-27622069 passed 2025-08-05 19:59:56,764 - INFO - Deleting interface with subnet_id e333e517-4b7d-492b-a427-fd83599a34af, port_id None from router 50bfae6b-6cee-40c1-8879-67b0b7bb08a5 2025-08-05 19:59:57,041 - INFO - Deleting interface with subnet_id c194896d-6ab5-4207-a22b-4bcf5f2e84aa, port_id None from router 50bfae6b-6cee-40c1-8879-67b0b7bb08a5 2025-08-05 19:59:57,255 - INFO - Deleting VM ctest-vn2-vm1-21241562 2025-08-05 19:59:57,325 - INFO - Deleting VM ctest-vn1-vm1-27622069 2025-08-05 19:59:57,411 - INFO - Deleting VN ctest-vn2-02066443 2025-08-05 19:59:57,512 - DEBUG - VN 5583915c-2715-4586-a351-c3d259931f22 still in use: Unable to complete operation on network 5583915c-2715-4586-a351-c3d259931f22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e0dac47-9b94-4155-bd44-a294e329bb35'] 2025-08-05 19:59:57,512 - WARNING - Deleting VN ctest-vn2-02066443 failed..Will retry 2025-08-05 19:59:59,804 - DEBUG - Response for deleting network () 2025-08-05 19:59:59,804 - INFO - Deleting VN ctest-vn1-69573247 2025-08-05 19:59:59,995 - DEBUG - Response for deleting network () 2025-08-05 20:00:00,319 - DEBUG - No XMPP flaps were noticed during the test 2025-08-05 20:00:00,319 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-05 20:00:00,320 - INFO - -------------------------------------------------------------------------------- 2025-08-05 20:00:01,345 - INFO - Deleted project: ctest-TestRouters-80418295, ID : d0499e25-dc3d-4af3-b0dd-b5f69bc79f29