2025-09-22 15:26:22,478 - INFO - Domain Default found not creating 2025-09-22 15:26:22,662 - INFO - Project ctest-TestRouters-89093962 not found, creating it 2025-09-22 15:26:23,200 - INFO - Created Project:ctest-TestRouters-89093962, ID : 5af08e0a-1dbc-45d8-bf68-35f761ed3301 2025-09-22 15:26:24,745 - INFO - ================================================================================ 2025-09-22 15:26:24,746 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-22 15:26:24,746 - 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-22 15:26:25,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-22 15:26:25,000 - INFO - Initial checks done. Running the testcase now 2025-09-22 15:26:25,000 - INFO - 2025-09-22 15:26:25,660 - DEBUG - Response for create_network : {'network': {'id': '3993c233-c263-425b-a81d-da49abfe3ed2', 'name': 'ctest-vn1-94328122', 'tenant_id': '5af08e0a1dbc45d8bf6835f761ed3301', 'project_id': '5af08e0a1dbc45d8bf6835f761ed3301', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-89093962', 'ctest-vn1-94328122'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:26:25,886 - DEBUG - Response for create_subnet : {'subnet': {'id': '804b3d68-c781-4777-b898-c08070148c81', 'name': '', 'tenant_id': '5af08e0a1dbc45d8bf6835f761ed3301', 'network_id': '3993c233-c263-425b-a81d-da49abfe3ed2', 'ip_version': 4, 'cidr': '37.31.164.128/26', 'allocation_pools': [{'start': '37.31.164.130', 'end': '37.31.164.190'}], 'gateway_ip': '37.31.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.31.164.130', 'tags': [], 'project_id': '5af08e0a1dbc45d8bf6835f761ed3301'}} 2025-09-22 15:26:25,910 - INFO - Created VN ctest-vn1-94328122 2025-09-22 15:26:25,963 - DEBUG - VN ctest-vn1-94328122 UUID is 3993c233-c263-425b-a81d-da49abfe3ed2 2025-09-22 15:26:26,332 - DEBUG - Response for create_network : {'network': {'id': '754694bb-294f-45b4-826a-271796be79cc', 'name': 'ctest-vn2-83089199', 'tenant_id': '5af08e0a1dbc45d8bf6835f761ed3301', 'project_id': '5af08e0a1dbc45d8bf6835f761ed3301', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-89093962', 'ctest-vn2-83089199'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:26:26,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a8c143e-5fad-4860-85bf-209806d6e8f3', 'name': '', 'tenant_id': '5af08e0a1dbc45d8bf6835f761ed3301', 'network_id': '754694bb-294f-45b4-826a-271796be79cc', 'ip_version': 4, 'cidr': '32.200.166.64/26', 'allocation_pools': [{'start': '32.200.166.66', 'end': '32.200.166.126'}], 'gateway_ip': '32.200.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.200.166.66', 'tags': [], 'project_id': '5af08e0a1dbc45d8bf6835f761ed3301'}} 2025-09-22 15:26:26,550 - INFO - Created VN ctest-vn2-83089199 2025-09-22 15:26:26,602 - DEBUG - VN ctest-vn2-83089199 UUID is 754694bb-294f-45b4-826a-271796be79cc 2025-09-22 15:26:26,784 - DEBUG - Services list from nova: [, , ] 2025-09-22 15:26:27,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4169-1) 2025-09-22 15:26:29,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4169-1) 2025-09-22 15:26:29,469 - INFO - Adding interface with subnet_id 804b3d68-c781-4777-b898-c08070148c81, port_id None to router d500d689-9815-43fe-8423-2d98424918c8 2025-09-22 15:26:29,913 - INFO - Waiting for VM ctest-vn1-vm1-83852164 to be up.. 2025-09-22 15:26:30,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 15:26:35,254 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:26:35,254 - INFO - VM name : ctest-vn1-vm1-83852164 2025-09-22 15:26:35,414 - DEBUG - VM ctest-vn1-vm1-83852164 ID is 75765307-7fb7-403c-ba1f-8d26cd6d5804 2025-09-22 15:26:35,455 - DEBUG - VM ctest-vn1-vm1-83852164 launched on Node cn-jenkins-deploy-platform-ansible-os-4169-1 2025-09-22 15:26:35,571 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/75765307-7fb7-403c-ba1f-8d26cd6d5804 2025-09-22 15:26:35,990 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/75765307-7fb7-403c-ba1f-8d26cd6d5804 2025-09-22 15:26:36,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/87cbd415-6f3c-448d-a4de-11c859fe0f04 2025-09-22 15:26:39,386 - 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-09-22 15:26:39,386 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83852164 failed! 2025-09-22 15:26:39,443 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-89093962:ctest-vn1-94328122 is 37.31.164.129 and allocation pool is NOT set 2025-09-22 15:26:41,503 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.537 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.537/2.424/4.311/1.887 ms') 2025-09-22 15:26:41,504 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83852164 passed 2025-09-22 15:26:41,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:26:41,663 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83852164, IP 37.31.164.131, Port 22 2025-09-22 15:26:41,818 - DEBUG - VM ctest-vn1-vm1-83852164 is ready for SSH connections 2025-09-22 15:26:41,818 - INFO - Waiting for VM ctest-vn2-vm1-38196188 to be up.. 2025-09-22 15:26:41,903 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:26:41,903 - INFO - VM name : ctest-vn2-vm1-38196188 2025-09-22 15:26:41,985 - DEBUG - VM ctest-vn2-vm1-38196188 ID is 8f2caf2f-4c6b-45ae-b1f6-d74c5633d64c 2025-09-22 15:26:41,985 - DEBUG - VM ctest-vn2-vm1-38196188 launched on Node cn-jenkins-deploy-platform-ansible-os-4169-1 2025-09-22 15:26:42,065 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8f2caf2f-4c6b-45ae-b1f6-d74c5633d64c 2025-09-22 15:26:42,076 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7ceb940e-e7eb-4ef4-9330-011a5a9ca24d 2025-09-22 15:26:43,339 - 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=7.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/3.908/7.280/3.372 ms') 2025-09-22 15:26:43,339 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-38196188 passed 2025-09-22 15:26:43,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:26:43,491 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-38196188, IP 32.200.166.67, Port 22 2025-09-22 15:26:43,664 - DEBUG - VM ctest-vn2-vm1-38196188 is ready for SSH connections 2025-09-22 15:26:43,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:26:43,665 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.200.166.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 15:26:43,665 - DEBUG - ping -s 56 -c 3 -W 1 32.200.166.67 2025-09-22 15:26:48,450 - DEBUG - PING 32.200.166.67 (32.200.166.67): 56 data bytes --- 32.200.166.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 15:26:48,451 - WARNING - Ping to IP 32.200.166.67 from VM ctest-vn1-vm1-83852164 failed 2025-09-22 15:26:48,451 - INFO - Adding interface with subnet_id 5a8c143e-5fad-4860-85bf-209806d6e8f3, port_id None to router d500d689-9815-43fe-8423-2d98424918c8 2025-09-22 15:26:48,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:26:48,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.200.166.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 15:26:48,824 - DEBUG - ping -s 56 -c 3 -W 1 32.200.166.67 2025-09-22 15:26:52,031 - DEBUG - PING 32.200.166.67 (32.200.166.67): 56 data bytes 64 bytes from 32.200.166.67: seq=1 ttl=63 time=3.296 ms 64 bytes from 32.200.166.67: seq=2 ttl=63 time=0.969 ms --- 32.200.166.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.969/2.132/3.296 ms 2025-09-22 15:26:52,032 - WARNING - Ping to IP 32.200.166.67 from VM ctest-vn1-vm1-83852164 failed 2025-09-22 15:26:53,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.200.166.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 15:26:53,033 - DEBUG - ping -s 56 -c 3 -W 1 32.200.166.67 2025-09-22 15:26:55,247 - DEBUG - PING 32.200.166.67 (32.200.166.67): 56 data bytes 64 bytes from 32.200.166.67: seq=0 ttl=63 time=1.583 ms 64 bytes from 32.200.166.67: seq=1 ttl=63 time=1.034 ms 64 bytes from 32.200.166.67: seq=2 ttl=63 time=1.074 ms --- 32.200.166.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/1.230/1.583 ms 2025-09-22 15:26:55,247 - INFO - Ping to IP 32.200.166.67 from VM ctest-vn1-vm1-83852164 passed 2025-09-22 15:26:55,247 - INFO - Deleting interface with subnet_id 804b3d68-c781-4777-b898-c08070148c81, port_id None from router d500d689-9815-43fe-8423-2d98424918c8 2025-09-22 15:26:55,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:26:55,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.200.166.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 15:26:55,379 - DEBUG - ping -s 56 -c 3 -W 1 32.200.166.67 2025-09-22 15:26:58,600 - DEBUG - PING 32.200.166.67 (32.200.166.67): 56 data bytes --- 32.200.166.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 15:26:58,600 - WARNING - Ping to IP 32.200.166.67 from VM ctest-vn1-vm1-83852164 failed 2025-09-22 15:26:58,600 - INFO - Adding interface with subnet_id 804b3d68-c781-4777-b898-c08070148c81, port_id None to router d500d689-9815-43fe-8423-2d98424918c8 2025-09-22 15:26:58,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:26:58,905 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.200.166.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 15:26:58,906 - DEBUG - ping -s 56 -c 3 -W 1 32.200.166.67 2025-09-22 15:27:01,134 - DEBUG - PING 32.200.166.67 (32.200.166.67): 56 data bytes 64 bytes from 32.200.166.67: seq=0 ttl=63 time=1.630 ms 64 bytes from 32.200.166.67: seq=1 ttl=63 time=1.240 ms 64 bytes from 32.200.166.67: seq=2 ttl=63 time=1.065 ms --- 32.200.166.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.065/1.311/1.630 ms 2025-09-22 15:27:01,135 - INFO - Ping to IP 32.200.166.67 from VM ctest-vn1-vm1-83852164 passed 2025-09-22 15:27:01,135 - INFO - Deleting interface with subnet_id 5a8c143e-5fad-4860-85bf-209806d6e8f3, port_id None from router d500d689-9815-43fe-8423-2d98424918c8 2025-09-22 15:27:01,262 - INFO - Deleting interface with subnet_id 804b3d68-c781-4777-b898-c08070148c81, port_id None from router d500d689-9815-43fe-8423-2d98424918c8 2025-09-22 15:27:01,464 - INFO - Deleting VM ctest-vn2-vm1-38196188 2025-09-22 15:27:01,543 - INFO - Deleting VM ctest-vn1-vm1-83852164 2025-09-22 15:27:01,624 - INFO - Deleting VN ctest-vn2-83089199 2025-09-22 15:27:01,675 - DEBUG - VN 754694bb-294f-45b4-826a-271796be79cc still in use: Unable to complete operation on network 754694bb-294f-45b4-826a-271796be79cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee453128-9b67-49c1-95b7-5f11d836b315'] 2025-09-22 15:27:01,675 - WARNING - Deleting VN ctest-vn2-83089199 failed..Will retry 2025-09-22 15:27:03,801 - DEBUG - Response for deleting network () 2025-09-22 15:27:03,801 - INFO - Deleting VN ctest-vn1-94328122 2025-09-22 15:27:03,968 - DEBUG - Response for deleting network () 2025-09-22 15:27:04,228 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 15:27:04,228 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-09-22 15:27:04,228 - INFO - -------------------------------------------------------------------------------- 2025-09-22 15:27:04,944 - INFO - Deleted project: ctest-TestRouters-89093962, ID : 5af08e0a-1dbc-45d8-bf68-35f761ed3301