2025-12-22 13:59:52,834 - INFO - Domain Default found not creating 2025-12-22 13:59:53,027 - INFO - Project ctest-TestRouters-86149321 not found, creating it 2025-12-22 13:59:53,526 - INFO - Created Project:ctest-TestRouters-86149321, ID : 6044564b-ebe1-46a5-9b68-fdd1bad24d51 2025-12-22 13:59:55,100 - INFO - ================================================================================ 2025-12-22 13:59:55,101 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-22 13:59:55,101 - 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-12-22 13:59:55,374 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-22 13:59:55,374 - INFO - Initial checks done. Running the testcase now 2025-12-22 13:59:55,374 - INFO - 2025-12-22 13:59:55,959 - DEBUG - Response for create_network : {'network': {'id': '5c134dac-a812-4a7f-802e-9403cdff222c', 'name': 'ctest-vn1-58205765', 'tenant_id': '6044564bebe146a59b68fdd1bad24d51', 'project_id': '6044564bebe146a59b68fdd1bad24d51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86149321', 'ctest-vn1-58205765'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 13:59:56,181 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e8f1a57-dc30-434e-8590-d738ec2e7248', 'name': '', 'tenant_id': '6044564bebe146a59b68fdd1bad24d51', 'network_id': '5c134dac-a812-4a7f-802e-9403cdff222c', 'ip_version': 4, 'cidr': '1.144.11.128/26', 'allocation_pools': [{'start': '1.144.11.130', 'end': '1.144.11.190'}], 'gateway_ip': '1.144.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.144.11.130', 'tags': [], 'project_id': '6044564bebe146a59b68fdd1bad24d51'}} 2025-12-22 13:59:56,205 - INFO - Created VN ctest-vn1-58205765 2025-12-22 13:59:56,257 - DEBUG - VN ctest-vn1-58205765 UUID is 5c134dac-a812-4a7f-802e-9403cdff222c 2025-12-22 13:59:56,615 - DEBUG - Response for create_network : {'network': {'id': '99d9bac4-825d-4b15-8ebb-e648151bded3', 'name': 'ctest-vn2-31497441', 'tenant_id': '6044564bebe146a59b68fdd1bad24d51', 'project_id': '6044564bebe146a59b68fdd1bad24d51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86149321', 'ctest-vn2-31497441'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 13:59:56,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '13984eeb-1a92-43fa-993d-f3713f6b5722', 'name': '', 'tenant_id': '6044564bebe146a59b68fdd1bad24d51', 'network_id': '99d9bac4-825d-4b15-8ebb-e648151bded3', 'ip_version': 4, 'cidr': '112.98.121.0/26', 'allocation_pools': [{'start': '112.98.121.2', 'end': '112.98.121.62'}], 'gateway_ip': '112.98.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.98.121.2', 'tags': [], 'project_id': '6044564bebe146a59b68fdd1bad24d51'}} 2025-12-22 13:59:56,825 - INFO - Created VN ctest-vn2-31497441 2025-12-22 13:59:56,881 - DEBUG - VN ctest-vn2-31497441 UUID is 99d9bac4-825d-4b15-8ebb-e648151bded3 2025-12-22 13:59:57,071 - DEBUG - Services list from nova: [, , ] 2025-12-22 13:59:58,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4920-1) 2025-12-22 13:59:59,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4920-1) 2025-12-22 13:59:59,666 - INFO - Adding interface with subnet_id 9e8f1a57-dc30-434e-8590-d738ec2e7248, port_id None to router 8d8bd645-0d84-406b-a942-0766a3fb75ec 2025-12-22 13:59:59,952 - INFO - Waiting for VM ctest-vn1-vm1-48207067 to be up.. 2025-12-22 14:00:00,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 14:00:05,207 - DEBUG - VM is in ACTIVE state now 2025-12-22 14:00:05,208 - INFO - VM name : ctest-vn1-vm1-48207067 2025-12-22 14:00:05,306 - DEBUG - VM ctest-vn1-vm1-48207067 ID is cefafce1-1047-4085-a1ec-30d0ed5db7a2 2025-12-22 14:00:05,330 - DEBUG - VM ctest-vn1-vm1-48207067 launched on Node cn-jenkins-deploy-platform-ansible-os-4920-1 2025-12-22 14:00:05,424 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cefafce1-1047-4085-a1ec-30d0ed5db7a2 2025-12-22 14:00:05,734 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cefafce1-1047-4085-a1ec-30d0ed5db7a2 2025-12-22 14:00:05,782 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3033bafd-178f-456f-bc24-56d1aefc40c2 2025-12-22 14:00:09,062 - 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-12-22 14:00:09,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48207067 failed! 2025-12-22 14:00:09,121 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-86149321:ctest-vn1-58205765 is 1.144.11.129 and allocation pool is NOT set 2025-12-22 14:00:11,192 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.217/2.717/4.217/1.500 ms') 2025-12-22 14:00:11,192 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48207067 passed 2025-12-22 14:00:11,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:00:11,350 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48207067, IP 1.144.11.131, Port 22 2025-12-22 14:00:11,416 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-22 14:00:11,538 - DEBUG - VM ctest-vn1-vm1-48207067 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-22 14:00:16,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:00:16,539 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48207067, IP 1.144.11.131, Port 22 2025-12-22 14:00:16,714 - DEBUG - VM ctest-vn1-vm1-48207067 is ready for SSH connections 2025-12-22 14:00:16,714 - INFO - Waiting for VM ctest-vn2-vm1-34386347 to be up.. 2025-12-22 14:00:16,808 - DEBUG - VM is in ACTIVE state now 2025-12-22 14:00:16,808 - INFO - VM name : ctest-vn2-vm1-34386347 2025-12-22 14:00:16,908 - DEBUG - VM ctest-vn2-vm1-34386347 ID is dea87543-0c24-4187-b1a9-5a5638ee799d 2025-12-22 14:00:16,908 - DEBUG - VM ctest-vn2-vm1-34386347 launched on Node cn-jenkins-deploy-platform-ansible-os-4920-1 2025-12-22 14:00:16,999 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dea87543-0c24-4187-b1a9-5a5638ee799d 2025-12-22 14:00:17,010 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2deb32ea-f38f-4d13-98b7-909b53e8eaec 2025-12-22 14:00:18,262 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.762/3.084/1.321 ms') 2025-12-22 14:00:18,263 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34386347 passed 2025-12-22 14:00:18,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:00:18,413 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34386347, IP 112.98.121.3, Port 22 2025-12-22 14:00:18,581 - DEBUG - VM ctest-vn2-vm1-34386347 is ready for SSH connections 2025-12-22 14:00:18,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:00:18,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.98.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-22 14:00:18,582 - DEBUG - ping -s 56 -c 3 -W 1 112.98.121.3 2025-12-22 14:00:23,713 - DEBUG - PING 112.98.121.3 (112.98.121.3): 56 data bytes --- 112.98.121.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 14:00:23,714 - WARNING - Ping to IP 112.98.121.3 from VM ctest-vn1-vm1-48207067 failed 2025-12-22 14:00:23,714 - INFO - Adding interface with subnet_id 13984eeb-1a92-43fa-993d-f3713f6b5722, port_id None to router 8d8bd645-0d84-406b-a942-0766a3fb75ec 2025-12-22 14:00:23,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:00:23,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.98.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-22 14:00:23,992 - DEBUG - ping -s 56 -c 3 -W 1 112.98.121.3 2025-12-22 14:00:27,205 - DEBUG - PING 112.98.121.3 (112.98.121.3): 56 data bytes 64 bytes from 112.98.121.3: seq=1 ttl=63 time=3.961 ms 64 bytes from 112.98.121.3: seq=2 ttl=63 time=1.390 ms --- 112.98.121.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.390/2.675/3.961 ms 2025-12-22 14:00:27,206 - WARNING - Ping to IP 112.98.121.3 from VM ctest-vn1-vm1-48207067 failed 2025-12-22 14:00:28,207 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.98.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-22 14:00:28,207 - DEBUG - ping -s 56 -c 3 -W 1 112.98.121.3 2025-12-22 14:00:30,453 - DEBUG - PING 112.98.121.3 (112.98.121.3): 56 data bytes 64 bytes from 112.98.121.3: seq=0 ttl=63 time=1.734 ms 64 bytes from 112.98.121.3: seq=1 ttl=63 time=1.167 ms 64 bytes from 112.98.121.3: seq=2 ttl=63 time=1.082 ms --- 112.98.121.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.082/1.327/1.734 ms 2025-12-22 14:00:30,453 - INFO - Ping to IP 112.98.121.3 from VM ctest-vn1-vm1-48207067 passed 2025-12-22 14:00:30,453 - INFO - Deleting interface with subnet_id 9e8f1a57-dc30-434e-8590-d738ec2e7248, port_id None from router 8d8bd645-0d84-406b-a942-0766a3fb75ec 2025-12-22 14:00:30,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:00:30,588 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.98.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-22 14:00:30,589 - DEBUG - ping -s 56 -c 3 -W 1 112.98.121.3 2025-12-22 14:00:33,881 - DEBUG - PING 112.98.121.3 (112.98.121.3): 56 data bytes --- 112.98.121.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 14:00:33,881 - WARNING - Ping to IP 112.98.121.3 from VM ctest-vn1-vm1-48207067 failed 2025-12-22 14:00:33,882 - INFO - Adding interface with subnet_id 9e8f1a57-dc30-434e-8590-d738ec2e7248, port_id None to router 8d8bd645-0d84-406b-a942-0766a3fb75ec 2025-12-22 14:00:34,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:00:34,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.98.121.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-22 14:00:34,130 - DEBUG - ping -s 56 -c 3 -W 1 112.98.121.3 2025-12-22 14:00:36,353 - DEBUG - PING 112.98.121.3 (112.98.121.3): 56 data bytes 64 bytes from 112.98.121.3: seq=0 ttl=63 time=2.101 ms 64 bytes from 112.98.121.3: seq=1 ttl=63 time=1.239 ms 64 bytes from 112.98.121.3: seq=2 ttl=63 time=1.063 ms --- 112.98.121.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.063/1.467/2.101 ms 2025-12-22 14:00:36,353 - INFO - Ping to IP 112.98.121.3 from VM ctest-vn1-vm1-48207067 passed 2025-12-22 14:00:36,353 - INFO - Deleting interface with subnet_id 13984eeb-1a92-43fa-993d-f3713f6b5722, port_id None from router 8d8bd645-0d84-406b-a942-0766a3fb75ec 2025-12-22 14:00:36,499 - INFO - Deleting interface with subnet_id 9e8f1a57-dc30-434e-8590-d738ec2e7248, port_id None from router 8d8bd645-0d84-406b-a942-0766a3fb75ec 2025-12-22 14:00:36,729 - INFO - Deleting VM ctest-vn2-vm1-34386347 2025-12-22 14:00:36,829 - INFO - Deleting VM ctest-vn1-vm1-48207067 2025-12-22 14:00:36,925 - INFO - Deleting VN ctest-vn2-31497441 2025-12-22 14:00:36,977 - DEBUG - VN 99d9bac4-825d-4b15-8ebb-e648151bded3 still in use: Unable to complete operation on network 99d9bac4-825d-4b15-8ebb-e648151bded3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b27ad3fe-5e02-4d3a-9439-7f1b32527cb2'] 2025-12-22 14:00:36,977 - WARNING - Deleting VN ctest-vn2-31497441 failed..Will retry 2025-12-22 14:00:39,107 - DEBUG - Response for deleting network () 2025-12-22 14:00:39,107 - INFO - Deleting VN ctest-vn1-58205765 2025-12-22 14:00:39,233 - DEBUG - Response for deleting network () 2025-12-22 14:00:39,498 - DEBUG - No XMPP flaps were noticed during the test 2025-12-22 14:00:39,498 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-12-22 14:00:39,499 - INFO - -------------------------------------------------------------------------------- 2025-12-22 14:00:40,263 - INFO - Deleted project: ctest-TestRouters-86149321, ID : 6044564b-ebe1-46a5-9b68-fdd1bad24d51