2025-11-17 10:08:15,763 - INFO - Domain Default found not creating 2025-11-17 10:08:15,944 - INFO - Project ctest-TestRouters-87701304 not found, creating it 2025-11-17 10:08:16,430 - INFO - Created Project:ctest-TestRouters-87701304, ID : 77ece025-692d-4b9f-8fba-0a717524b74a 2025-11-17 10:08:18,093 - INFO - ================================================================================ 2025-11-17 10:08:18,093 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-17 10:08:18,094 - 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-11-17 10:08:18,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 10:08:18,356 - INFO - Initial checks done. Running the testcase now 2025-11-17 10:08:18,356 - INFO - 2025-11-17 10:08:19,027 - DEBUG - Response for create_network : {'network': {'id': 'f86553c0-ad2a-44d0-9ccb-7c618b85f430', 'name': 'ctest-vn1-63699357', 'tenant_id': '77ece025692d4b9f8fba0a717524b74a', 'project_id': '77ece025692d4b9f8fba0a717524b74a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87701304', 'ctest-vn1-63699357'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 10:08:19,218 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b993ca59-9262-4c03-9885-0fe1637682c3', 'name': '', 'tenant_id': '77ece025692d4b9f8fba0a717524b74a', 'network_id': 'f86553c0-ad2a-44d0-9ccb-7c618b85f430', 'ip_version': 4, 'cidr': '60.3.138.192/26', 'allocation_pools': [{'start': '60.3.138.194', 'end': '60.3.138.254'}], 'gateway_ip': '60.3.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.3.138.194', 'tags': [], 'project_id': '77ece025692d4b9f8fba0a717524b74a'}} 2025-11-17 10:08:19,238 - INFO - Created VN ctest-vn1-63699357 2025-11-17 10:08:19,289 - DEBUG - VN ctest-vn1-63699357 UUID is f86553c0-ad2a-44d0-9ccb-7c618b85f430 2025-11-17 10:08:19,646 - DEBUG - Response for create_network : {'network': {'id': 'b28de1ca-7417-4424-aa1d-2ef6b6603f87', 'name': 'ctest-vn2-71575795', 'tenant_id': '77ece025692d4b9f8fba0a717524b74a', 'project_id': '77ece025692d4b9f8fba0a717524b74a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87701304', 'ctest-vn2-71575795'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 10:08:19,874 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da8e2c79-9d58-4285-83c4-7e8c65abe6af', 'name': '', 'tenant_id': '77ece025692d4b9f8fba0a717524b74a', 'network_id': 'b28de1ca-7417-4424-aa1d-2ef6b6603f87', 'ip_version': 4, 'cidr': '37.96.53.64/26', 'allocation_pools': [{'start': '37.96.53.66', 'end': '37.96.53.126'}], 'gateway_ip': '37.96.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.96.53.66', 'tags': [], 'project_id': '77ece025692d4b9f8fba0a717524b74a'}} 2025-11-17 10:08:19,891 - INFO - Created VN ctest-vn2-71575795 2025-11-17 10:08:19,945 - DEBUG - VN ctest-vn2-71575795 UUID is b28de1ca-7417-4424-aa1d-2ef6b6603f87 2025-11-17 10:08:20,111 - DEBUG - Services list from nova: [, , ] 2025-11-17 10:08:21,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4740-1) 2025-11-17 10:08:22,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4740-1) 2025-11-17 10:08:22,546 - INFO - Adding interface with subnet_id b993ca59-9262-4c03-9885-0fe1637682c3, port_id None to router 83d76863-a170-4dba-82e1-2ce8df4187a0 2025-11-17 10:08:22,874 - INFO - Waiting for VM ctest-vn1-vm1-77385595 to be up.. 2025-11-17 10:08:23,032 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 10:08:28,121 - DEBUG - VM is in ACTIVE state now 2025-11-17 10:08:28,121 - INFO - VM name : ctest-vn1-vm1-77385595 2025-11-17 10:08:28,199 - DEBUG - VM ctest-vn1-vm1-77385595 ID is d10886c6-5ae3-4b2a-a566-45c24fd4210c 2025-11-17 10:08:28,221 - DEBUG - VM ctest-vn1-vm1-77385595 launched on Node cn-jenkins-deploy-platform-ansible-os-4740-1 2025-11-17 10:08:28,300 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d10886c6-5ae3-4b2a-a566-45c24fd4210c 2025-11-17 10:08:28,608 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d10886c6-5ae3-4b2a-a566-45c24fd4210c 2025-11-17 10:08:28,648 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b5d8b56a-3399-4b04-8980-615f80b35c3e 2025-11-17 10:08:31,911 - 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-11-17 10:08:31,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77385595 failed! 2025-11-17 10:08:31,969 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-87701304:ctest-vn1-63699357 is 60.3.138.193 and allocation pool is NOT set 2025-11-17 10:08:34,031 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/1.794/3.114/1.319 ms') 2025-11-17 10:08:34,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77385595 passed 2025-11-17 10:08:34,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:08:34,185 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77385595, IP 60.3.138.195, Port 22 2025-11-17 10:08:34,356 - DEBUG - VM ctest-vn1-vm1-77385595 is ready for SSH connections 2025-11-17 10:08:34,356 - INFO - Waiting for VM ctest-vn2-vm1-92997130 to be up.. 2025-11-17 10:08:34,430 - DEBUG - VM is in ACTIVE state now 2025-11-17 10:08:34,430 - INFO - VM name : ctest-vn2-vm1-92997130 2025-11-17 10:08:34,520 - DEBUG - VM ctest-vn2-vm1-92997130 ID is 345faab3-38a4-4d40-b729-6894775aa17a 2025-11-17 10:08:34,520 - DEBUG - VM ctest-vn2-vm1-92997130 launched on Node cn-jenkins-deploy-platform-ansible-os-4740-1 2025-11-17 10:08:34,601 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/345faab3-38a4-4d40-b729-6894775aa17a 2025-11-17 10:08:34,612 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d0ff3675-adec-4a2a-8921-caff7125610f 2025-11-17 10:08:35,855 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/2.164/3.918/1.753 ms') 2025-11-17 10:08:35,856 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-92997130 passed 2025-11-17 10:08:36,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:08:36,005 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-92997130, IP 37.96.53.67, Port 22 2025-11-17 10:08:36,168 - DEBUG - VM ctest-vn2-vm1-92997130 is ready for SSH connections 2025-11-17 10:08:36,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:08:36,170 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.96.53.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 10:08:36,170 - DEBUG - ping -s 56 -c 3 -W 1 37.96.53.67 2025-11-17 10:08:41,170 - DEBUG - PING 37.96.53.67 (37.96.53.67): 56 data bytes --- 37.96.53.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 10:08:41,170 - WARNING - Ping to IP 37.96.53.67 from VM ctest-vn1-vm1-77385595 failed 2025-11-17 10:08:41,170 - INFO - Adding interface with subnet_id da8e2c79-9d58-4285-83c4-7e8c65abe6af, port_id None to router 83d76863-a170-4dba-82e1-2ce8df4187a0 2025-11-17 10:08:41,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:08:41,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.96.53.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 10:08:41,450 - DEBUG - ping -s 56 -c 3 -W 1 37.96.53.67 2025-11-17 10:08:44,673 - DEBUG - PING 37.96.53.67 (37.96.53.67): 56 data bytes 64 bytes from 37.96.53.67: seq=1 ttl=63 time=2.880 ms 64 bytes from 37.96.53.67: seq=2 ttl=63 time=1.117 ms --- 37.96.53.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.117/1.998/2.880 ms 2025-11-17 10:08:44,674 - WARNING - Ping to IP 37.96.53.67 from VM ctest-vn1-vm1-77385595 failed 2025-11-17 10:08:45,675 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.96.53.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 10:08:45,675 - DEBUG - ping -s 56 -c 3 -W 1 37.96.53.67 2025-11-17 10:08:47,898 - DEBUG - PING 37.96.53.67 (37.96.53.67): 56 data bytes 64 bytes from 37.96.53.67: seq=0 ttl=63 time=1.720 ms 64 bytes from 37.96.53.67: seq=1 ttl=63 time=0.878 ms 64 bytes from 37.96.53.67: seq=2 ttl=63 time=0.890 ms --- 37.96.53.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/1.162/1.720 ms 2025-11-17 10:08:47,898 - INFO - Ping to IP 37.96.53.67 from VM ctest-vn1-vm1-77385595 passed 2025-11-17 10:08:47,899 - INFO - Deleting interface with subnet_id b993ca59-9262-4c03-9885-0fe1637682c3, port_id None from router 83d76863-a170-4dba-82e1-2ce8df4187a0 2025-11-17 10:08:48,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:08:48,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.96.53.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 10:08:48,014 - DEBUG - ping -s 56 -c 3 -W 1 37.96.53.67 2025-11-17 10:08:51,229 - DEBUG - PING 37.96.53.67 (37.96.53.67): 56 data bytes --- 37.96.53.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 10:08:51,230 - WARNING - Ping to IP 37.96.53.67 from VM ctest-vn1-vm1-77385595 failed 2025-11-17 10:08:51,230 - INFO - Adding interface with subnet_id b993ca59-9262-4c03-9885-0fe1637682c3, port_id None to router 83d76863-a170-4dba-82e1-2ce8df4187a0 2025-11-17 10:08:51,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:08:51,448 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.96.53.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 10:08:51,448 - DEBUG - ping -s 56 -c 3 -W 1 37.96.53.67 2025-11-17 10:08:53,668 - DEBUG - PING 37.96.53.67 (37.96.53.67): 56 data bytes 64 bytes from 37.96.53.67: seq=0 ttl=63 time=1.656 ms 64 bytes from 37.96.53.67: seq=1 ttl=63 time=0.998 ms 64 bytes from 37.96.53.67: seq=2 ttl=63 time=0.751 ms --- 37.96.53.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.751/1.135/1.656 ms 2025-11-17 10:08:53,668 - INFO - Ping to IP 37.96.53.67 from VM ctest-vn1-vm1-77385595 passed 2025-11-17 10:08:53,668 - INFO - Deleting interface with subnet_id da8e2c79-9d58-4285-83c4-7e8c65abe6af, port_id None from router 83d76863-a170-4dba-82e1-2ce8df4187a0 2025-11-17 10:08:53,787 - INFO - Deleting interface with subnet_id b993ca59-9262-4c03-9885-0fe1637682c3, port_id None from router 83d76863-a170-4dba-82e1-2ce8df4187a0 2025-11-17 10:08:53,984 - INFO - Deleting VM ctest-vn2-vm1-92997130 2025-11-17 10:08:54,061 - INFO - Deleting VM ctest-vn1-vm1-77385595 2025-11-17 10:08:54,137 - INFO - Deleting VN ctest-vn2-71575795 2025-11-17 10:08:54,173 - DEBUG - VN b28de1ca-7417-4424-aa1d-2ef6b6603f87 still in use: Unable to complete operation on network b28de1ca-7417-4424-aa1d-2ef6b6603f87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1dba60eb-5c1a-4a74-9ada-e1f5e99007b3'] 2025-11-17 10:08:54,173 - WARNING - Deleting VN ctest-vn2-71575795 failed..Will retry 2025-11-17 10:08:56,277 - DEBUG - Response for deleting network () 2025-11-17 10:08:56,277 - INFO - Deleting VN ctest-vn1-63699357 2025-11-17 10:08:56,371 - DEBUG - Response for deleting network () 2025-11-17 10:08:56,641 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 10:08:56,641 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-17 10:08:56,641 - INFO - -------------------------------------------------------------------------------- 2025-11-17 10:08:57,359 - INFO - Deleted project: ctest-TestRouters-87701304, ID : 77ece025-692d-4b9f-8fba-0a717524b74a