2025-08-15 08:45:29,220 - INFO - Domain Default found not creating 2025-08-15 08:45:29,356 - INFO - Project ctest-TestRouters-25842421 not found, creating it 2025-08-15 08:45:29,819 - INFO - Created Project:ctest-TestRouters-25842421, ID : 749e4a08-61a5-4182-91bb-1612e621f4b8 2025-08-15 08:45:31,389 - INFO - ================================================================================ 2025-08-15 08:45:31,389 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-15 08:45:31,389 - 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-15 08:45:31,647 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-15 08:45:31,647 - INFO - Initial checks done. Running the testcase now 2025-08-15 08:45:31,647 - INFO - 2025-08-15 08:45:32,232 - DEBUG - Response for create_network : {'network': {'id': '2768b12d-5675-424a-8ef7-0999fc20e375', 'name': 'ctest-vn1-67148997', 'tenant_id': '749e4a0861a5418291bb1612e621f4b8', 'project_id': '749e4a0861a5418291bb1612e621f4b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25842421', 'ctest-vn1-67148997'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:45:32,476 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e75c3efa-bdf1-4aef-968f-58bd3436a2ff', 'name': '', 'tenant_id': '749e4a0861a5418291bb1612e621f4b8', 'network_id': '2768b12d-5675-424a-8ef7-0999fc20e375', 'ip_version': 4, 'cidr': '138.3.16.128/26', 'allocation_pools': [{'start': '138.3.16.130', 'end': '138.3.16.190'}], 'gateway_ip': '138.3.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.3.16.130', 'tags': [], 'project_id': '749e4a0861a5418291bb1612e621f4b8'}} 2025-08-15 08:45:32,495 - INFO - Created VN ctest-vn1-67148997 2025-08-15 08:45:32,553 - DEBUG - VN ctest-vn1-67148997 UUID is 2768b12d-5675-424a-8ef7-0999fc20e375 2025-08-15 08:45:32,881 - DEBUG - Response for create_network : {'network': {'id': '7a51daa2-676f-4f20-b7ca-a140385f5903', 'name': 'ctest-vn2-25892083', 'tenant_id': '749e4a0861a5418291bb1612e621f4b8', 'project_id': '749e4a0861a5418291bb1612e621f4b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25842421', 'ctest-vn2-25892083'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:45:33,068 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc301a56-7719-48bc-aa1d-d234795357f5', 'name': '', 'tenant_id': '749e4a0861a5418291bb1612e621f4b8', 'network_id': '7a51daa2-676f-4f20-b7ca-a140385f5903', 'ip_version': 4, 'cidr': '40.91.246.0/26', 'allocation_pools': [{'start': '40.91.246.2', 'end': '40.91.246.62'}], 'gateway_ip': '40.91.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.91.246.2', 'tags': [], 'project_id': '749e4a0861a5418291bb1612e621f4b8'}} 2025-08-15 08:45:33,086 - INFO - Created VN ctest-vn2-25892083 2025-08-15 08:45:33,137 - DEBUG - VN ctest-vn2-25892083 UUID is 7a51daa2-676f-4f20-b7ca-a140385f5903 2025-08-15 08:45:33,342 - DEBUG - Services list from nova: [, , ] 2025-08-15 08:45:34,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3860-1) 2025-08-15 08:45:35,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3860-1) 2025-08-15 08:45:35,793 - INFO - Adding interface with subnet_id e75c3efa-bdf1-4aef-968f-58bd3436a2ff, port_id None to router 88d19600-a07f-48e4-997b-540d16df9688 2025-08-15 08:45:36,056 - INFO - Waiting for VM ctest-vn1-vm1-75637708 to be up.. 2025-08-15 08:45:36,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 08:45:41,238 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:45:41,239 - INFO - VM name : ctest-vn1-vm1-75637708 2025-08-15 08:45:41,308 - DEBUG - VM ctest-vn1-vm1-75637708 ID is 819ec3ef-ab6f-4e09-bfc6-28235af1542c 2025-08-15 08:45:41,326 - DEBUG - VM ctest-vn1-vm1-75637708 launched on Node cn-jenkins-deploy-platform-ansible-os-3860-1 2025-08-15 08:45:41,393 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/819ec3ef-ab6f-4e09-bfc6-28235af1542c 2025-08-15 08:45:41,724 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/819ec3ef-ab6f-4e09-bfc6-28235af1542c 2025-08-15 08:45:41,755 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/82a02fa0-dc34-439e-a626-3299dd347864 2025-08-15 08:45:45,029 - 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 1030ms') 2025-08-15 08:45:45,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75637708 failed! 2025-08-15 08:45:45,089 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-25842421:ctest-vn1-67148997 is 138.3.16.129 and allocation pool is NOT set 2025-08-15 08:45:47,147 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.817/3.253/1.436 ms') 2025-08-15 08:45:47,147 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75637708 passed 2025-08-15 08:45:47,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:47,301 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75637708, IP 138.3.16.131, Port 22 2025-08-15 08:45:47,476 - DEBUG - VM ctest-vn1-vm1-75637708 is ready for SSH connections 2025-08-15 08:45:47,476 - INFO - Waiting for VM ctest-vn2-vm1-99038024 to be up.. 2025-08-15 08:45:47,560 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:45:47,560 - INFO - VM name : ctest-vn2-vm1-99038024 2025-08-15 08:45:47,640 - DEBUG - VM ctest-vn2-vm1-99038024 ID is 5c3e0888-5d59-4e4a-899a-cfabaaa29d9a 2025-08-15 08:45:47,640 - DEBUG - VM ctest-vn2-vm1-99038024 launched on Node cn-jenkins-deploy-platform-ansible-os-3860-1 2025-08-15 08:45:47,717 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5c3e0888-5d59-4e4a-899a-cfabaaa29d9a 2025-08-15 08:45:47,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/33931c09-d884-49b8-8f09-e8da6131241b 2025-08-15 08:45:48,982 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.963/3.524/1.560 ms') 2025-08-15 08:45:48,982 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-99038024 passed 2025-08-15 08:45:49,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:49,134 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-99038024, IP 40.91.246.3, Port 22 2025-08-15 08:45:49,292 - DEBUG - VM ctest-vn2-vm1-99038024 is ready for SSH connections 2025-08-15 08:45:49,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:49,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.91.246.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 08:45:49,293 - DEBUG - ping -s 56 -c 3 -W 1 40.91.246.3 2025-08-15 08:45:54,284 - DEBUG - PING 40.91.246.3 (40.91.246.3): 56 data bytes --- 40.91.246.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 08:45:54,285 - WARNING - Ping to IP 40.91.246.3 from VM ctest-vn1-vm1-75637708 failed 2025-08-15 08:45:54,285 - INFO - Adding interface with subnet_id fc301a56-7719-48bc-aa1d-d234795357f5, port_id None to router 88d19600-a07f-48e4-997b-540d16df9688 2025-08-15 08:45:54,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:54,544 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.91.246.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 08:45:54,544 - DEBUG - ping -s 56 -c 3 -W 1 40.91.246.3 2025-08-15 08:45:57,760 - DEBUG - PING 40.91.246.3 (40.91.246.3): 56 data bytes 64 bytes from 40.91.246.3: seq=1 ttl=63 time=2.762 ms 64 bytes from 40.91.246.3: seq=2 ttl=63 time=0.890 ms --- 40.91.246.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.890/1.826/2.762 ms 2025-08-15 08:45:57,760 - WARNING - Ping to IP 40.91.246.3 from VM ctest-vn1-vm1-75637708 failed 2025-08-15 08:45:58,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.91.246.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 08:45:58,762 - DEBUG - ping -s 56 -c 3 -W 1 40.91.246.3 2025-08-15 08:46:00,978 - DEBUG - PING 40.91.246.3 (40.91.246.3): 56 data bytes 64 bytes from 40.91.246.3: seq=0 ttl=63 time=1.718 ms 64 bytes from 40.91.246.3: seq=1 ttl=63 time=1.101 ms 64 bytes from 40.91.246.3: seq=2 ttl=63 time=0.752 ms --- 40.91.246.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.190/1.718 ms 2025-08-15 08:46:00,978 - INFO - Ping to IP 40.91.246.3 from VM ctest-vn1-vm1-75637708 passed 2025-08-15 08:46:00,978 - INFO - Deleting interface with subnet_id e75c3efa-bdf1-4aef-968f-58bd3436a2ff, port_id None from router 88d19600-a07f-48e4-997b-540d16df9688 2025-08-15 08:46:01,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:46:01,088 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.91.246.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 08:46:01,088 - DEBUG - ping -s 56 -c 3 -W 1 40.91.246.3 2025-08-15 08:46:04,301 - DEBUG - PING 40.91.246.3 (40.91.246.3): 56 data bytes --- 40.91.246.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 08:46:04,302 - WARNING - Ping to IP 40.91.246.3 from VM ctest-vn1-vm1-75637708 failed 2025-08-15 08:46:04,302 - INFO - Adding interface with subnet_id e75c3efa-bdf1-4aef-968f-58bd3436a2ff, port_id None to router 88d19600-a07f-48e4-997b-540d16df9688 2025-08-15 08:46:04,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:46:04,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.91.246.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 08:46:04,505 - DEBUG - ping -s 56 -c 3 -W 1 40.91.246.3 2025-08-15 08:46:06,716 - DEBUG - PING 40.91.246.3 (40.91.246.3): 56 data bytes 64 bytes from 40.91.246.3: seq=0 ttl=63 time=1.487 ms 64 bytes from 40.91.246.3: seq=1 ttl=63 time=0.802 ms 64 bytes from 40.91.246.3: seq=2 ttl=63 time=0.755 ms --- 40.91.246.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.014/1.487 ms 2025-08-15 08:46:06,716 - INFO - Ping to IP 40.91.246.3 from VM ctest-vn1-vm1-75637708 passed 2025-08-15 08:46:06,716 - INFO - Deleting interface with subnet_id fc301a56-7719-48bc-aa1d-d234795357f5, port_id None from router 88d19600-a07f-48e4-997b-540d16df9688 2025-08-15 08:46:06,842 - INFO - Deleting interface with subnet_id e75c3efa-bdf1-4aef-968f-58bd3436a2ff, port_id None from router 88d19600-a07f-48e4-997b-540d16df9688 2025-08-15 08:46:07,052 - INFO - Deleting VM ctest-vn2-vm1-99038024 2025-08-15 08:46:07,127 - INFO - Deleting VM ctest-vn1-vm1-75637708 2025-08-15 08:46:07,191 - INFO - Deleting VN ctest-vn2-25892083 2025-08-15 08:46:07,230 - DEBUG - VN 7a51daa2-676f-4f20-b7ca-a140385f5903 still in use: Unable to complete operation on network 7a51daa2-676f-4f20-b7ca-a140385f5903. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-216bdbd7-532a-4a45-b43c-fa8b611ad8bd'] 2025-08-15 08:46:07,231 - WARNING - Deleting VN ctest-vn2-25892083 failed..Will retry 2025-08-15 08:46:09,361 - DEBUG - Response for deleting network () 2025-08-15 08:46:09,361 - INFO - Deleting VN ctest-vn1-67148997 2025-08-15 08:46:09,464 - DEBUG - Response for deleting network () 2025-08-15 08:46:09,723 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 08:46:09,723 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-15 08:46:09,723 - INFO - -------------------------------------------------------------------------------- 2025-08-15 08:46:10,434 - INFO - Deleted project: ctest-TestRouters-25842421, ID : 749e4a08-61a5-4182-91bb-1612e621f4b8