2025-11-04 13:56:39,958 - INFO - Domain Default found not creating 2025-11-04 13:56:40,107 - INFO - Project ctest-TestRouters-26417265 not found, creating it 2025-11-04 13:56:40,557 - INFO - Created Project:ctest-TestRouters-26417265, ID : 0b3eb195-e37f-45e8-93d8-92e380ab71e0 2025-11-04 13:56:42,062 - INFO - ================================================================================ 2025-11-04 13:56:42,062 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-04 13:56:42,062 - 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-04 13:56:42,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 13:56:42,325 - INFO - Initial checks done. Running the testcase now 2025-11-04 13:56:42,325 - INFO - 2025-11-04 13:56:42,854 - DEBUG - Response for create_network : {'network': {'id': '2bf8525f-e49b-413a-abd6-5d5d5fbe06ef', 'name': 'ctest-vn1-18439621', 'tenant_id': '0b3eb195e37f45e893d892e380ab71e0', 'project_id': '0b3eb195e37f45e893d892e380ab71e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-26417265', 'ctest-vn1-18439621'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 13:56:43,039 - DEBUG - Response for create_subnet : {'subnet': {'id': '778390f2-5fb5-43cb-a0a0-5de7bfdab70b', 'name': '', 'tenant_id': '0b3eb195e37f45e893d892e380ab71e0', 'network_id': '2bf8525f-e49b-413a-abd6-5d5d5fbe06ef', 'ip_version': 4, 'cidr': '36.150.187.64/26', 'allocation_pools': [{'start': '36.150.187.66', 'end': '36.150.187.126'}], 'gateway_ip': '36.150.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.150.187.66', 'tags': [], 'project_id': '0b3eb195e37f45e893d892e380ab71e0'}} 2025-11-04 13:56:43,057 - INFO - Created VN ctest-vn1-18439621 2025-11-04 13:56:43,109 - DEBUG - VN ctest-vn1-18439621 UUID is 2bf8525f-e49b-413a-abd6-5d5d5fbe06ef 2025-11-04 13:56:43,424 - DEBUG - Response for create_network : {'network': {'id': 'bf590dca-7e44-4951-87be-b018a407ebea', 'name': 'ctest-vn2-25333633', 'tenant_id': '0b3eb195e37f45e893d892e380ab71e0', 'project_id': '0b3eb195e37f45e893d892e380ab71e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-26417265', 'ctest-vn2-25333633'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 13:56:43,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '16dfc29e-876e-4db3-932f-bdd82745c144', 'name': '', 'tenant_id': '0b3eb195e37f45e893d892e380ab71e0', 'network_id': 'bf590dca-7e44-4951-87be-b018a407ebea', 'ip_version': 4, 'cidr': '133.233.17.64/26', 'allocation_pools': [{'start': '133.233.17.66', 'end': '133.233.17.126'}], 'gateway_ip': '133.233.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.233.17.66', 'tags': [], 'project_id': '0b3eb195e37f45e893d892e380ab71e0'}} 2025-11-04 13:56:43,634 - INFO - Created VN ctest-vn2-25333633 2025-11-04 13:56:43,685 - DEBUG - VN ctest-vn2-25333633 UUID is bf590dca-7e44-4951-87be-b018a407ebea 2025-11-04 13:56:43,912 - DEBUG - Services list from nova: [, , ] 2025-11-04 13:56:44,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4616-1) 2025-11-04 13:56:46,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4616-1) 2025-11-04 13:56:46,166 - INFO - Adding interface with subnet_id 778390f2-5fb5-43cb-a0a0-5de7bfdab70b, port_id None to router 9ef341da-944b-46dd-9c41-78469f571901 2025-11-04 13:56:46,488 - INFO - Waiting for VM ctest-vn1-vm1-06681023 to be up.. 2025-11-04 13:56:46,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 13:56:51,669 - DEBUG - VM is in ACTIVE state now 2025-11-04 13:56:51,669 - INFO - VM name : ctest-vn1-vm1-06681023 2025-11-04 13:56:51,734 - DEBUG - VM ctest-vn1-vm1-06681023 ID is 47e5285e-491d-4905-8ef1-4ffc127c9953 2025-11-04 13:56:51,752 - DEBUG - VM ctest-vn1-vm1-06681023 launched on Node cn-jenkins-deploy-platform-ansible-os-4616-1 2025-11-04 13:56:51,820 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/47e5285e-491d-4905-8ef1-4ffc127c9953 2025-11-04 13:56:52,110 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/47e5285e-491d-4905-8ef1-4ffc127c9953 2025-11-04 13:56:52,139 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b23b0684-e88d-49a2-bdf2-baa47e073b5a 2025-11-04 13:56:55,392 - 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 1019ms') 2025-11-04 13:56:55,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06681023 failed! 2025-11-04 13:56:55,445 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-26417265:ctest-vn1-18439621 is 36.150.187.65 and allocation pool is NOT set 2025-11-04 13:56:57,509 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/1.761/3.125/1.363 ms') 2025-11-04 13:56:57,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06681023 passed 2025-11-04 13:56:57,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:56:57,657 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06681023, IP 36.150.187.67, Port 22 2025-11-04 13:56:57,813 - DEBUG - VM ctest-vn1-vm1-06681023 is ready for SSH connections 2025-11-04 13:56:57,813 - INFO - Waiting for VM ctest-vn2-vm1-76335318 to be up.. 2025-11-04 13:56:57,875 - DEBUG - VM is in ACTIVE state now 2025-11-04 13:56:57,875 - INFO - VM name : ctest-vn2-vm1-76335318 2025-11-04 13:56:57,937 - DEBUG - VM ctest-vn2-vm1-76335318 ID is bab03123-a50a-4256-8c55-0df4bd2e0044 2025-11-04 13:56:57,937 - DEBUG - VM ctest-vn2-vm1-76335318 launched on Node cn-jenkins-deploy-platform-ansible-os-4616-1 2025-11-04 13:56:57,998 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bab03123-a50a-4256-8c55-0df4bd2e0044 2025-11-04 13:56:58,005 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3ac006ea-3a60-4e04-8305-c8a18c441db7 2025-11-04 13:56:59,249 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.653/2.858/1.205 ms') 2025-11-04 13:56:59,249 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-76335318 passed 2025-11-04 13:56:59,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:56:59,397 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-76335318, IP 133.233.17.67, Port 22 2025-11-04 13:56:59,553 - DEBUG - VM ctest-vn2-vm1-76335318 is ready for SSH connections 2025-11-04 13:56:59,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:56:59,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.233.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 13:56:59,553 - DEBUG - ping -s 56 -c 3 -W 1 133.233.17.67 2025-11-04 13:57:04,199 - DEBUG - PING 133.233.17.67 (133.233.17.67): 56 data bytes --- 133.233.17.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 13:57:04,200 - WARNING - Ping to IP 133.233.17.67 from VM ctest-vn1-vm1-06681023 failed 2025-11-04 13:57:04,200 - INFO - Adding interface with subnet_id 16dfc29e-876e-4db3-932f-bdd82745c144, port_id None to router 9ef341da-944b-46dd-9c41-78469f571901 2025-11-04 13:57:04,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:57:04,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.233.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 13:57:04,469 - DEBUG - ping -s 56 -c 3 -W 1 133.233.17.67 2025-11-04 13:57:06,681 - DEBUG - PING 133.233.17.67 (133.233.17.67): 56 data bytes 64 bytes from 133.233.17.67: seq=0 ttl=63 time=2.555 ms 64 bytes from 133.233.17.67: seq=1 ttl=63 time=0.955 ms 64 bytes from 133.233.17.67: seq=2 ttl=63 time=0.952 ms --- 133.233.17.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/1.487/2.555 ms 2025-11-04 13:57:06,681 - INFO - Ping to IP 133.233.17.67 from VM ctest-vn1-vm1-06681023 passed 2025-11-04 13:57:06,681 - INFO - Deleting interface with subnet_id 778390f2-5fb5-43cb-a0a0-5de7bfdab70b, port_id None from router 9ef341da-944b-46dd-9c41-78469f571901 2025-11-04 13:57:06,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:57:06,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.233.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 13:57:06,791 - DEBUG - ping -s 56 -c 3 -W 1 133.233.17.67 2025-11-04 13:57:09,989 - DEBUG - PING 133.233.17.67 (133.233.17.67): 56 data bytes --- 133.233.17.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 13:57:09,989 - WARNING - Ping to IP 133.233.17.67 from VM ctest-vn1-vm1-06681023 failed 2025-11-04 13:57:09,989 - INFO - Adding interface with subnet_id 778390f2-5fb5-43cb-a0a0-5de7bfdab70b, port_id None to router 9ef341da-944b-46dd-9c41-78469f571901 2025-11-04 13:57:10,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:57:10,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.233.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 13:57:10,187 - DEBUG - ping -s 56 -c 3 -W 1 133.233.17.67 2025-11-04 13:57:13,431 - DEBUG - PING 133.233.17.67 (133.233.17.67): 56 data bytes 64 bytes from 133.233.17.67: seq=1 ttl=63 time=1.625 ms 64 bytes from 133.233.17.67: seq=2 ttl=63 time=0.738 ms --- 133.233.17.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.738/1.181/1.625 ms 2025-11-04 13:57:13,431 - WARNING - Ping to IP 133.233.17.67 from VM ctest-vn1-vm1-06681023 failed 2025-11-04 13:57:14,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.233.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 13:57:14,431 - DEBUG - ping -s 56 -c 3 -W 1 133.233.17.67 2025-11-04 13:57:16,643 - DEBUG - PING 133.233.17.67 (133.233.17.67): 56 data bytes 64 bytes from 133.233.17.67: seq=0 ttl=63 time=1.717 ms 64 bytes from 133.233.17.67: seq=1 ttl=63 time=0.803 ms 64 bytes from 133.233.17.67: seq=2 ttl=63 time=0.706 ms --- 133.233.17.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.706/1.075/1.717 ms 2025-11-04 13:57:16,643 - INFO - Ping to IP 133.233.17.67 from VM ctest-vn1-vm1-06681023 passed 2025-11-04 13:57:16,643 - INFO - Deleting interface with subnet_id 16dfc29e-876e-4db3-932f-bdd82745c144, port_id None from router 9ef341da-944b-46dd-9c41-78469f571901 2025-11-04 13:57:16,739 - INFO - Deleting interface with subnet_id 778390f2-5fb5-43cb-a0a0-5de7bfdab70b, port_id None from router 9ef341da-944b-46dd-9c41-78469f571901 2025-11-04 13:57:16,899 - INFO - Deleting VM ctest-vn2-vm1-76335318 2025-11-04 13:57:16,979 - INFO - Deleting VM ctest-vn1-vm1-06681023 2025-11-04 13:57:17,059 - INFO - Deleting VN ctest-vn2-25333633 2025-11-04 13:57:17,094 - DEBUG - VN bf590dca-7e44-4951-87be-b018a407ebea still in use: Unable to complete operation on network bf590dca-7e44-4951-87be-b018a407ebea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0789c6ac-6a13-4deb-8f98-abadddd16d0a'] 2025-11-04 13:57:17,094 - WARNING - Deleting VN ctest-vn2-25333633 failed..Will retry 2025-11-04 13:57:19,180 - DEBUG - Response for deleting network () 2025-11-04 13:57:19,181 - INFO - Deleting VN ctest-vn1-18439621 2025-11-04 13:57:19,272 - DEBUG - Response for deleting network () 2025-11-04 13:57:19,525 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 13:57:19,525 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-04 13:57:19,525 - INFO - -------------------------------------------------------------------------------- 2025-11-04 13:57:20,172 - INFO - Deleted project: ctest-TestRouters-26417265, ID : 0b3eb195-e37f-45e8-93d8-92e380ab71e0