2025-11-05 10:20:13,159 - INFO - Domain Default found not creating 2025-11-05 10:20:13,312 - INFO - Project ctest-TestRouters-40284423 not found, creating it 2025-11-05 10:20:13,775 - INFO - Created Project:ctest-TestRouters-40284423, ID : 243d5df1-9c97-474a-a719-16963162ffb8 2025-11-05 10:20:15,290 - INFO - ================================================================================ 2025-11-05 10:20:15,290 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 10:20:15,290 - 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-05 10:20:15,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-05 10:20:15,548 - INFO - Initial checks done. Running the testcase now 2025-11-05 10:20:15,548 - INFO - 2025-11-05 10:20:16,084 - DEBUG - Response for create_network : {'network': {'id': '9931c312-0769-424c-b0c2-8e7e8ece2726', 'name': 'ctest-vn1-97991157', 'tenant_id': '243d5df19c97474aa71916963162ffb8', 'project_id': '243d5df19c97474aa71916963162ffb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-40284423', 'ctest-vn1-97991157'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:20:16,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb336536-0216-49ca-9c45-d97032faa626', 'name': '', 'tenant_id': '243d5df19c97474aa71916963162ffb8', 'network_id': '9931c312-0769-424c-b0c2-8e7e8ece2726', 'ip_version': 4, 'cidr': '170.212.38.0/26', 'allocation_pools': [{'start': '170.212.38.2', 'end': '170.212.38.62'}], 'gateway_ip': '170.212.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.212.38.2', 'tags': [], 'project_id': '243d5df19c97474aa71916963162ffb8'}} 2025-11-05 10:20:16,269 - INFO - Created VN ctest-vn1-97991157 2025-11-05 10:20:16,324 - DEBUG - VN ctest-vn1-97991157 UUID is 9931c312-0769-424c-b0c2-8e7e8ece2726 2025-11-05 10:20:16,674 - DEBUG - Response for create_network : {'network': {'id': '98e0a972-357a-4564-bbdc-04045b0880f5', 'name': 'ctest-vn2-51757283', 'tenant_id': '243d5df19c97474aa71916963162ffb8', 'project_id': '243d5df19c97474aa71916963162ffb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-40284423', 'ctest-vn2-51757283'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:20:16,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '32891744-c090-4acd-83bc-88ad75c99259', 'name': '', 'tenant_id': '243d5df19c97474aa71916963162ffb8', 'network_id': '98e0a972-357a-4564-bbdc-04045b0880f5', 'ip_version': 4, 'cidr': '161.133.8.192/26', 'allocation_pools': [{'start': '161.133.8.194', 'end': '161.133.8.254'}], 'gateway_ip': '161.133.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.133.8.194', 'tags': [], 'project_id': '243d5df19c97474aa71916963162ffb8'}} 2025-11-05 10:20:16,931 - INFO - Created VN ctest-vn2-51757283 2025-11-05 10:20:16,988 - DEBUG - VN ctest-vn2-51757283 UUID is 98e0a972-357a-4564-bbdc-04045b0880f5 2025-11-05 10:20:17,252 - DEBUG - Services list from nova: [, , ] 2025-11-05 10:20:18,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4637-1) 2025-11-05 10:20:19,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4637-1) 2025-11-05 10:20:19,630 - INFO - Adding interface with subnet_id bb336536-0216-49ca-9c45-d97032faa626, port_id None to router a62b633c-7d8e-4558-b9a1-1d875dca6f4e 2025-11-05 10:20:19,920 - INFO - Waiting for VM ctest-vn1-vm1-24286952 to be up.. 2025-11-05 10:20:20,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 10:20:25,091 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:20:25,091 - INFO - VM name : ctest-vn1-vm1-24286952 2025-11-05 10:20:25,165 - DEBUG - VM ctest-vn1-vm1-24286952 ID is 61e0b650-5b17-4a1a-b973-990e2465b7b9 2025-11-05 10:20:25,184 - DEBUG - VM ctest-vn1-vm1-24286952 launched on Node cn-jenkins-deploy-platform-ansible-os-4637-1 2025-11-05 10:20:25,254 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/61e0b650-5b17-4a1a-b973-990e2465b7b9 2025-11-05 10:20:25,553 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/61e0b650-5b17-4a1a-b973-990e2465b7b9 2025-11-05 10:20:25,582 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/dda7ccb3-7a2a-4955-8504-cc0074365b2d 2025-11-05 10:20:28,835 - 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-05 10:20:28,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24286952 failed! 2025-11-05 10:20:28,888 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-40284423:ctest-vn1-97991157 is 170.212.38.1 and allocation pool is NOT set 2025-11-05 10:20:30,958 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.659 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.659/2.068/3.478/1.409 ms') 2025-11-05 10:20:30,958 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24286952 passed 2025-11-05 10:20:31,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:20:31,104 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24286952, IP 170.212.38.3, Port 22 2025-11-05 10:20:31,274 - DEBUG - VM ctest-vn1-vm1-24286952 is ready for SSH connections 2025-11-05 10:20:31,274 - INFO - Waiting for VM ctest-vn2-vm1-58903481 to be up.. 2025-11-05 10:20:31,350 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:20:31,350 - INFO - VM name : ctest-vn2-vm1-58903481 2025-11-05 10:20:31,431 - DEBUG - VM ctest-vn2-vm1-58903481 ID is 009a3aa8-3d3a-4355-ad9f-99fb753d5929 2025-11-05 10:20:31,431 - DEBUG - VM ctest-vn2-vm1-58903481 launched on Node cn-jenkins-deploy-platform-ansible-os-4637-1 2025-11-05 10:20:31,503 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/009a3aa8-3d3a-4355-ad9f-99fb753d5929 2025-11-05 10:20:31,511 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8599959e-bb84-4add-9e86-31dc765e791b 2025-11-05 10:20:32,740 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.935 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.935/2.406/3.878/1.471 ms') 2025-11-05 10:20:32,741 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-58903481 passed 2025-11-05 10:20:32,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:20:32,892 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-58903481, IP 161.133.8.195, Port 22 2025-11-05 10:20:33,047 - DEBUG - VM ctest-vn2-vm1-58903481 is ready for SSH connections 2025-11-05 10:20:33,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:20:33,047 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.133.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 10:20:33,048 - DEBUG - ping -s 56 -c 3 -W 1 161.133.8.195 2025-11-05 10:20:37,750 - DEBUG - PING 161.133.8.195 (161.133.8.195): 56 data bytes --- 161.133.8.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 10:20:37,750 - WARNING - Ping to IP 161.133.8.195 from VM ctest-vn1-vm1-24286952 failed 2025-11-05 10:20:37,750 - INFO - Adding interface with subnet_id 32891744-c090-4acd-83bc-88ad75c99259, port_id None to router a62b633c-7d8e-4558-b9a1-1d875dca6f4e 2025-11-05 10:20:37,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:20:37,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.133.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 10:20:37,977 - DEBUG - ping -s 56 -c 3 -W 1 161.133.8.195 2025-11-05 10:20:41,183 - DEBUG - PING 161.133.8.195 (161.133.8.195): 56 data bytes 64 bytes from 161.133.8.195: seq=1 ttl=63 time=3.523 ms 64 bytes from 161.133.8.195: seq=2 ttl=63 time=0.903 ms --- 161.133.8.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.903/2.213/3.523 ms 2025-11-05 10:20:41,183 - WARNING - Ping to IP 161.133.8.195 from VM ctest-vn1-vm1-24286952 failed 2025-11-05 10:20:42,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.133.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 10:20:42,185 - DEBUG - ping -s 56 -c 3 -W 1 161.133.8.195 2025-11-05 10:20:44,391 - DEBUG - PING 161.133.8.195 (161.133.8.195): 56 data bytes 64 bytes from 161.133.8.195: seq=0 ttl=63 time=1.434 ms 64 bytes from 161.133.8.195: seq=1 ttl=63 time=0.757 ms 64 bytes from 161.133.8.195: seq=2 ttl=63 time=0.876 ms --- 161.133.8.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.022/1.434 ms 2025-11-05 10:20:44,391 - INFO - Ping to IP 161.133.8.195 from VM ctest-vn1-vm1-24286952 passed 2025-11-05 10:20:44,391 - INFO - Deleting interface with subnet_id bb336536-0216-49ca-9c45-d97032faa626, port_id None from router a62b633c-7d8e-4558-b9a1-1d875dca6f4e 2025-11-05 10:20:44,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:20:44,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.133.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 10:20:44,513 - DEBUG - ping -s 56 -c 3 -W 1 161.133.8.195 2025-11-05 10:20:47,714 - DEBUG - PING 161.133.8.195 (161.133.8.195): 56 data bytes --- 161.133.8.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 10:20:47,715 - WARNING - Ping to IP 161.133.8.195 from VM ctest-vn1-vm1-24286952 failed 2025-11-05 10:20:47,715 - INFO - Adding interface with subnet_id bb336536-0216-49ca-9c45-d97032faa626, port_id None to router a62b633c-7d8e-4558-b9a1-1d875dca6f4e 2025-11-05 10:20:47,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:20:47,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.133.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 10:20:47,923 - DEBUG - ping -s 56 -c 3 -W 1 161.133.8.195 2025-11-05 10:20:50,144 - DEBUG - PING 161.133.8.195 (161.133.8.195): 56 data bytes 64 bytes from 161.133.8.195: seq=0 ttl=63 time=1.881 ms 64 bytes from 161.133.8.195: seq=1 ttl=63 time=1.014 ms 64 bytes from 161.133.8.195: seq=2 ttl=63 time=1.000 ms --- 161.133.8.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.000/1.298/1.881 ms 2025-11-05 10:20:50,144 - INFO - Ping to IP 161.133.8.195 from VM ctest-vn1-vm1-24286952 passed 2025-11-05 10:20:50,144 - INFO - Deleting interface with subnet_id 32891744-c090-4acd-83bc-88ad75c99259, port_id None from router a62b633c-7d8e-4558-b9a1-1d875dca6f4e 2025-11-05 10:20:50,257 - INFO - Deleting interface with subnet_id bb336536-0216-49ca-9c45-d97032faa626, port_id None from router a62b633c-7d8e-4558-b9a1-1d875dca6f4e 2025-11-05 10:20:50,444 - INFO - Deleting VM ctest-vn2-vm1-58903481 2025-11-05 10:20:50,522 - INFO - Deleting VM ctest-vn1-vm1-24286952 2025-11-05 10:20:50,597 - INFO - Deleting VN ctest-vn2-51757283 2025-11-05 10:20:50,633 - DEBUG - VN 98e0a972-357a-4564-bbdc-04045b0880f5 still in use: Unable to complete operation on network 98e0a972-357a-4564-bbdc-04045b0880f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af39e09d-ca89-4815-b071-cd7d97a434a9'] 2025-11-05 10:20:50,634 - WARNING - Deleting VN ctest-vn2-51757283 failed..Will retry 2025-11-05 10:20:52,728 - DEBUG - Response for deleting network () 2025-11-05 10:20:52,728 - INFO - Deleting VN ctest-vn1-97991157 2025-11-05 10:20:52,823 - DEBUG - Response for deleting network () 2025-11-05 10:20:53,080 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 10:20:53,080 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-05 10:20:53,080 - INFO - -------------------------------------------------------------------------------- 2025-11-05 10:20:53,713 - INFO - Deleted project: ctest-TestRouters-40284423, ID : 243d5df1-9c97-474a-a719-16963162ffb8