2025-08-03 07:10:30,731 - INFO - Domain Default found not creating 2025-08-03 07:10:30,886 - INFO - Project ctest-TestRouters-34204100 not found, creating it 2025-08-03 07:10:31,407 - INFO - Created Project:ctest-TestRouters-34204100, ID : 2c761734-0e82-4112-8f98-d68049b6524f 2025-08-03 07:10:32,980 - INFO - ================================================================================ 2025-08-03 07:10:32,980 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-03 07:10:32,980 - 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-03 07:10:33,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-03 07:10:33,234 - INFO - Initial checks done. Running the testcase now 2025-08-03 07:10:33,234 - INFO - 2025-08-03 07:10:33,790 - DEBUG - Response for create_network : {'network': {'id': '4369ab14-21aa-41d9-9b9e-970f7b151fbd', 'name': 'ctest-vn1-82127196', 'tenant_id': '2c7617340e8241128f98d68049b6524f', 'project_id': '2c7617340e8241128f98d68049b6524f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34204100', 'ctest-vn1-82127196'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:10:34,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c9b70c5-9397-4a67-9569-a5aebfb0d0a3', 'name': '', 'tenant_id': '2c7617340e8241128f98d68049b6524f', 'network_id': '4369ab14-21aa-41d9-9b9e-970f7b151fbd', 'ip_version': 4, 'cidr': '32.251.211.0/26', 'allocation_pools': [{'start': '32.251.211.2', 'end': '32.251.211.62'}], 'gateway_ip': '32.251.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.251.211.2', 'tags': [], 'project_id': '2c7617340e8241128f98d68049b6524f'}} 2025-08-03 07:10:34,089 - INFO - Created VN ctest-vn1-82127196 2025-08-03 07:10:34,152 - DEBUG - VN ctest-vn1-82127196 UUID is 4369ab14-21aa-41d9-9b9e-970f7b151fbd 2025-08-03 07:10:34,544 - DEBUG - Response for create_network : {'network': {'id': 'bfaacb74-851a-448b-be28-42eb018f9212', 'name': 'ctest-vn2-06403558', 'tenant_id': '2c7617340e8241128f98d68049b6524f', 'project_id': '2c7617340e8241128f98d68049b6524f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34204100', 'ctest-vn2-06403558'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:10:34,733 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cae3b5e7-0d70-41ed-ad5e-c0b296572cb0', 'name': '', 'tenant_id': '2c7617340e8241128f98d68049b6524f', 'network_id': 'bfaacb74-851a-448b-be28-42eb018f9212', 'ip_version': 4, 'cidr': '6.148.233.64/26', 'allocation_pools': [{'start': '6.148.233.66', 'end': '6.148.233.126'}], 'gateway_ip': '6.148.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.148.233.66', 'tags': [], 'project_id': '2c7617340e8241128f98d68049b6524f'}} 2025-08-03 07:10:34,754 - INFO - Created VN ctest-vn2-06403558 2025-08-03 07:10:34,812 - DEBUG - VN ctest-vn2-06403558 UUID is bfaacb74-851a-448b-be28-42eb018f9212 2025-08-03 07:10:34,984 - DEBUG - Services list from nova: [, , ] 2025-08-03 07:10:36,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3744-1) 2025-08-03 07:10:37,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3744-1) 2025-08-03 07:10:37,438 - INFO - Adding interface with subnet_id 6c9b70c5-9397-4a67-9569-a5aebfb0d0a3, port_id None to router 9f81141b-1fe5-4bd9-853b-3b3ff164bd85 2025-08-03 07:10:37,908 - INFO - Waiting for VM ctest-vn1-vm1-42227634 to be up.. 2025-08-03 07:10:38,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 07:10:43,105 - DEBUG - VM is in ACTIVE state now 2025-08-03 07:10:43,105 - INFO - VM name : ctest-vn1-vm1-42227634 2025-08-03 07:10:43,186 - DEBUG - VM ctest-vn1-vm1-42227634 ID is 779243f5-e111-485c-9a67-dfb50824112b 2025-08-03 07:10:43,206 - DEBUG - VM ctest-vn1-vm1-42227634 launched on Node cn-jenkins-deploy-platform-ansible-os-3744-1 2025-08-03 07:10:43,295 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/779243f5-e111-485c-9a67-dfb50824112b 2025-08-03 07:10:43,601 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/779243f5-e111-485c-9a67-dfb50824112b 2025-08-03 07:10:43,639 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d87f7287-c54d-47e2-95ab-61e81abfd36e 2025-08-03 07:10:46,885 - 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 1003ms') 2025-08-03 07:10:46,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42227634 failed! 2025-08-03 07:10:46,948 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34204100:ctest-vn1-82127196 is 32.251.211.1 and allocation pool is NOT set 2025-08-03 07:10:49,013 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.526 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.526/1.942/3.358/1.416 ms') 2025-08-03 07:10:49,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42227634 passed 2025-08-03 07:10:49,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:49,240 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42227634, IP 32.251.211.3, Port 22 2025-08-03 07:10:49,418 - DEBUG - VM ctest-vn1-vm1-42227634 is ready for SSH connections 2025-08-03 07:10:49,418 - INFO - Waiting for VM ctest-vn2-vm1-63616174 to be up.. 2025-08-03 07:10:49,551 - DEBUG - VM is in ACTIVE state now 2025-08-03 07:10:49,551 - INFO - VM name : ctest-vn2-vm1-63616174 2025-08-03 07:10:49,692 - DEBUG - VM ctest-vn2-vm1-63616174 ID is 8fefa9f4-f1b8-4023-acc4-dec20f6df86a 2025-08-03 07:10:49,692 - DEBUG - VM ctest-vn2-vm1-63616174 launched on Node cn-jenkins-deploy-platform-ansible-os-3744-1 2025-08-03 07:10:49,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8fefa9f4-f1b8-4023-acc4-dec20f6df86a 2025-08-03 07:10:49,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f2358617-ef95-4ec4-9fc6-f78e461428da 2025-08-03 07:10:51,089 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.529/2.675/1.145 ms') 2025-08-03 07:10:51,089 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-63616174 passed 2025-08-03 07:10:51,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:51,240 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63616174, IP 6.148.233.67, Port 22 2025-08-03 07:10:51,426 - DEBUG - VM ctest-vn2-vm1-63616174 is ready for SSH connections 2025-08-03 07:10:51,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:51,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.148.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:10:51,426 - DEBUG - ping -s 56 -c 3 -W 1 6.148.233.67 2025-08-03 07:10:56,493 - DEBUG - PING 6.148.233.67 (6.148.233.67): 56 data bytes --- 6.148.233.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-03 07:10:56,493 - WARNING - Ping to IP 6.148.233.67 from VM ctest-vn1-vm1-42227634 failed 2025-08-03 07:10:56,493 - INFO - Adding interface with subnet_id cae3b5e7-0d70-41ed-ad5e-c0b296572cb0, port_id None to router 9f81141b-1fe5-4bd9-853b-3b3ff164bd85 2025-08-03 07:10:56,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:56,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.148.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:10:56,784 - DEBUG - ping -s 56 -c 3 -W 1 6.148.233.67 2025-08-03 07:10:59,987 - DEBUG - PING 6.148.233.67 (6.148.233.67): 56 data bytes 64 bytes from 6.148.233.67: seq=1 ttl=63 time=2.870 ms 64 bytes from 6.148.233.67: seq=2 ttl=63 time=0.920 ms --- 6.148.233.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.920/1.895/2.870 ms 2025-08-03 07:10:59,987 - WARNING - Ping to IP 6.148.233.67 from VM ctest-vn1-vm1-42227634 failed 2025-08-03 07:11:00,988 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.148.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:11:00,989 - DEBUG - ping -s 56 -c 3 -W 1 6.148.233.67 2025-08-03 07:11:03,193 - DEBUG - PING 6.148.233.67 (6.148.233.67): 56 data bytes 64 bytes from 6.148.233.67: seq=0 ttl=63 time=1.699 ms 64 bytes from 6.148.233.67: seq=1 ttl=63 time=0.750 ms 64 bytes from 6.148.233.67: seq=2 ttl=63 time=0.747 ms --- 6.148.233.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/1.065/1.699 ms 2025-08-03 07:11:03,193 - INFO - Ping to IP 6.148.233.67 from VM ctest-vn1-vm1-42227634 passed 2025-08-03 07:11:03,193 - INFO - Deleting interface with subnet_id 6c9b70c5-9397-4a67-9569-a5aebfb0d0a3, port_id None from router 9f81141b-1fe5-4bd9-853b-3b3ff164bd85 2025-08-03 07:11:03,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:11:03,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.148.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:11:03,332 - DEBUG - ping -s 56 -c 3 -W 1 6.148.233.67 2025-08-03 07:11:06,533 - DEBUG - PING 6.148.233.67 (6.148.233.67): 56 data bytes --- 6.148.233.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-03 07:11:06,533 - WARNING - Ping to IP 6.148.233.67 from VM ctest-vn1-vm1-42227634 failed 2025-08-03 07:11:06,534 - INFO - Adding interface with subnet_id 6c9b70c5-9397-4a67-9569-a5aebfb0d0a3, port_id None to router 9f81141b-1fe5-4bd9-853b-3b3ff164bd85 2025-08-03 07:11:06,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:11:06,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.148.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:11:06,756 - DEBUG - ping -s 56 -c 3 -W 1 6.148.233.67 2025-08-03 07:11:08,965 - DEBUG - PING 6.148.233.67 (6.148.233.67): 56 data bytes 64 bytes from 6.148.233.67: seq=0 ttl=63 time=1.270 ms 64 bytes from 6.148.233.67: seq=1 ttl=63 time=0.850 ms 64 bytes from 6.148.233.67: seq=2 ttl=63 time=1.003 ms --- 6.148.233.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/1.041/1.270 ms 2025-08-03 07:11:08,965 - INFO - Ping to IP 6.148.233.67 from VM ctest-vn1-vm1-42227634 passed 2025-08-03 07:11:08,965 - INFO - Deleting interface with subnet_id cae3b5e7-0d70-41ed-ad5e-c0b296572cb0, port_id None from router 9f81141b-1fe5-4bd9-853b-3b3ff164bd85 2025-08-03 07:11:09,093 - INFO - Deleting interface with subnet_id 6c9b70c5-9397-4a67-9569-a5aebfb0d0a3, port_id None from router 9f81141b-1fe5-4bd9-853b-3b3ff164bd85 2025-08-03 07:11:09,310 - INFO - Deleting VM ctest-vn2-vm1-63616174 2025-08-03 07:11:09,395 - INFO - Deleting VM ctest-vn1-vm1-42227634 2025-08-03 07:11:09,478 - INFO - Deleting VN ctest-vn2-06403558 2025-08-03 07:11:09,520 - DEBUG - VN bfaacb74-851a-448b-be28-42eb018f9212 still in use: Unable to complete operation on network bfaacb74-851a-448b-be28-42eb018f9212. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c0349ce-3be6-4adf-b14e-73d675c2514e'] 2025-08-03 07:11:09,520 - WARNING - Deleting VN ctest-vn2-06403558 failed..Will retry 2025-08-03 07:11:11,635 - DEBUG - Response for deleting network () 2025-08-03 07:11:11,635 - INFO - Deleting VN ctest-vn1-82127196 2025-08-03 07:11:11,757 - DEBUG - Response for deleting network () 2025-08-03 07:11:12,014 - DEBUG - No XMPP flaps were noticed during the test
2025-08-03 07:11:12,014 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-08-03 07:11:12,014 - INFO - -------------------------------------------------------------------------------- 2025-08-03 07:11:12,743 - INFO - Deleted project: ctest-TestRouters-34204100, ID : 2c761734-0e82-4112-8f98-d68049b6524f