2025-10-27 11:37:43,456 - INFO - Domain Default found not creating 2025-10-27 11:37:43,704 - INFO - Project ctest-TestRouters-66590601 not found, creating it 2025-10-27 11:37:44,193 - INFO - Created Project:ctest-TestRouters-66590601, ID : a1d13f2c-f227-446b-b58a-b46e55603916 2025-10-27 11:37:45,840 - INFO - ================================================================================ 2025-10-27 11:37:45,840 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 11:37:45,841 - 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-10-27 11:37:46,106 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-27 11:37:46,106 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:37:46,106 - INFO - 2025-10-27 11:37:46,746 - DEBUG - Response for create_network : {'network': {'id': '7d6530f1-1c46-42b3-a1de-8245d66b6fbe', 'name': 'ctest-vn1-59707220', 'tenant_id': 'a1d13f2cf227446bb58ab46e55603916', 'project_id': 'a1d13f2cf227446bb58ab46e55603916', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66590601', 'ctest-vn1-59707220'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:37:47,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '349f7c18-5949-4e5f-9ed9-e8909b547245', 'name': '', 'tenant_id': 'a1d13f2cf227446bb58ab46e55603916', 'network_id': '7d6530f1-1c46-42b3-a1de-8245d66b6fbe', 'ip_version': 4, 'cidr': '199.26.12.0/26', 'allocation_pools': [{'start': '199.26.12.2', 'end': '199.26.12.62'}], 'gateway_ip': '199.26.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.26.12.2', 'tags': [], 'project_id': 'a1d13f2cf227446bb58ab46e55603916'}} 2025-10-27 11:37:47,043 - INFO - Created VN ctest-vn1-59707220 2025-10-27 11:37:47,096 - DEBUG - VN ctest-vn1-59707220 UUID is 7d6530f1-1c46-42b3-a1de-8245d66b6fbe 2025-10-27 11:37:47,440 - DEBUG - Response for create_network : {'network': {'id': 'b83e0c2f-abdd-4a40-b1cc-0ce78a9c0b40', 'name': 'ctest-vn2-04743229', 'tenant_id': 'a1d13f2cf227446bb58ab46e55603916', 'project_id': 'a1d13f2cf227446bb58ab46e55603916', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66590601', 'ctest-vn2-04743229'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:37:47,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '485cc24e-6fb2-4693-94f7-66cd4bc22e3a', 'name': '', 'tenant_id': 'a1d13f2cf227446bb58ab46e55603916', 'network_id': 'b83e0c2f-abdd-4a40-b1cc-0ce78a9c0b40', 'ip_version': 4, 'cidr': '39.237.48.0/26', 'allocation_pools': [{'start': '39.237.48.2', 'end': '39.237.48.62'}], 'gateway_ip': '39.237.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.237.48.2', 'tags': [], 'project_id': 'a1d13f2cf227446bb58ab46e55603916'}} 2025-10-27 11:37:47,645 - INFO - Created VN ctest-vn2-04743229 2025-10-27 11:37:47,700 - DEBUG - VN ctest-vn2-04743229 UUID is b83e0c2f-abdd-4a40-b1cc-0ce78a9c0b40 2025-10-27 11:37:47,889 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:37:49,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4500-1) 2025-10-27 11:37:50,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4500-1) 2025-10-27 11:37:50,405 - INFO - Adding interface with subnet_id 349f7c18-5949-4e5f-9ed9-e8909b547245, port_id None to router fb26f951-ca99-4fd0-ac7c-f44d693d024c 2025-10-27 11:37:50,712 - INFO - Waiting for VM ctest-vn1-vm1-18540597 to be up.. 2025-10-27 11:37:50,839 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:37:55,931 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:37:55,931 - INFO - VM name : ctest-vn1-vm1-18540597 2025-10-27 11:37:56,027 - DEBUG - VM ctest-vn1-vm1-18540597 ID is c15b0fa2-7bcf-4964-a750-4e2a2e47f19c 2025-10-27 11:37:56,050 - DEBUG - VM ctest-vn1-vm1-18540597 launched on Node cn-jenkins-deploy-platform-ansible-os-4500-1 2025-10-27 11:37:56,141 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c15b0fa2-7bcf-4964-a750-4e2a2e47f19c 2025-10-27 11:37:56,487 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c15b0fa2-7bcf-4964-a750-4e2a2e47f19c 2025-10-27 11:37:56,520 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/46abd127-5eaa-48a6-b7ed-a4719ae2a67f 2025-10-27 11:37:59,762 - 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 1002ms') 2025-10-27 11:37:59,762 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18540597 failed! 2025-10-27 11:37:59,820 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-66590601:ctest-vn1-59707220 is 199.26.12.1 and allocation pool is NOT set 2025-10-27 11:38:01,884 - 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=6.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.681/4.557/6.433/1.876 ms') 2025-10-27 11:38:01,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18540597 passed 2025-10-27 11:38:02,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:38:02,040 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18540597, IP 199.26.12.3, Port 22 2025-10-27 11:38:02,195 - DEBUG - VM ctest-vn1-vm1-18540597 is ready for SSH connections 2025-10-27 11:38:02,196 - INFO - Waiting for VM ctest-vn2-vm1-22459178 to be up.. 2025-10-27 11:38:02,272 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:38:02,272 - INFO - VM name : ctest-vn2-vm1-22459178 2025-10-27 11:38:02,352 - DEBUG - VM ctest-vn2-vm1-22459178 ID is e24eb356-2e1e-4589-bfbf-3216a58c694f 2025-10-27 11:38:02,352 - DEBUG - VM ctest-vn2-vm1-22459178 launched on Node cn-jenkins-deploy-platform-ansible-os-4500-1 2025-10-27 11:38:02,430 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e24eb356-2e1e-4589-bfbf-3216a58c694f 2025-10-27 11:38:02,439 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3065fd35-5ff6-4693-8a06-036644ba0da5 2025-10-27 11:38:03,698 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.652 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.652/1.940/3.229/1.288 ms') 2025-10-27 11:38:03,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-22459178 passed 2025-10-27 11:38:03,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:38:03,852 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-22459178, IP 39.237.48.3, Port 22 2025-10-27 11:38:04,030 - DEBUG - VM ctest-vn2-vm1-22459178 is ready for SSH connections 2025-10-27 11:38:04,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:38:04,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.237.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 11:38:04,031 - DEBUG - ping -s 56 -c 3 -W 1 39.237.48.3 2025-10-27 11:38:09,171 - DEBUG - PING 39.237.48.3 (39.237.48.3): 56 data bytes --- 39.237.48.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:38:09,171 - WARNING - Ping to IP 39.237.48.3 from VM ctest-vn1-vm1-18540597 failed 2025-10-27 11:38:09,171 - INFO - Adding interface with subnet_id 485cc24e-6fb2-4693-94f7-66cd4bc22e3a, port_id None to router fb26f951-ca99-4fd0-ac7c-f44d693d024c 2025-10-27 11:38:09,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:38:09,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.237.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 11:38:09,481 - DEBUG - ping -s 56 -c 3 -W 1 39.237.48.3 2025-10-27 11:38:12,697 - DEBUG - PING 39.237.48.3 (39.237.48.3): 56 data bytes 64 bytes from 39.237.48.3: seq=1 ttl=63 time=3.349 ms 64 bytes from 39.237.48.3: seq=2 ttl=63 time=0.929 ms --- 39.237.48.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.929/2.139/3.349 ms 2025-10-27 11:38:12,697 - WARNING - Ping to IP 39.237.48.3 from VM ctest-vn1-vm1-18540597 failed 2025-10-27 11:38:13,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.237.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 11:38:13,698 - DEBUG - ping -s 56 -c 3 -W 1 39.237.48.3 2025-10-27 11:38:15,920 - DEBUG - PING 39.237.48.3 (39.237.48.3): 56 data bytes 64 bytes from 39.237.48.3: seq=0 ttl=63 time=1.569 ms 64 bytes from 39.237.48.3: seq=1 ttl=63 time=0.873 ms 64 bytes from 39.237.48.3: seq=2 ttl=63 time=1.003 ms --- 39.237.48.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/1.148/1.569 ms 2025-10-27 11:38:15,920 - INFO - Ping to IP 39.237.48.3 from VM ctest-vn1-vm1-18540597 passed 2025-10-27 11:38:15,920 - INFO - Deleting interface with subnet_id 349f7c18-5949-4e5f-9ed9-e8909b547245, port_id None from router fb26f951-ca99-4fd0-ac7c-f44d693d024c 2025-10-27 11:38:16,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:38:16,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.237.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 11:38:16,041 - DEBUG - ping -s 56 -c 3 -W 1 39.237.48.3 2025-10-27 11:38:19,275 - DEBUG - PING 39.237.48.3 (39.237.48.3): 56 data bytes --- 39.237.48.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:38:19,275 - WARNING - Ping to IP 39.237.48.3 from VM ctest-vn1-vm1-18540597 failed 2025-10-27 11:38:19,275 - INFO - Adding interface with subnet_id 349f7c18-5949-4e5f-9ed9-e8909b547245, port_id None to router fb26f951-ca99-4fd0-ac7c-f44d693d024c 2025-10-27 11:38:19,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:38:19,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.237.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 11:38:19,502 - DEBUG - ping -s 56 -c 3 -W 1 39.237.48.3 2025-10-27 11:38:21,728 - DEBUG - PING 39.237.48.3 (39.237.48.3): 56 data bytes 64 bytes from 39.237.48.3: seq=0 ttl=63 time=1.613 ms 64 bytes from 39.237.48.3: seq=1 ttl=63 time=0.795 ms 64 bytes from 39.237.48.3: seq=2 ttl=63 time=1.001 ms --- 39.237.48.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/1.136/1.613 ms 2025-10-27 11:38:21,728 - INFO - Ping to IP 39.237.48.3 from VM ctest-vn1-vm1-18540597 passed 2025-10-27 11:38:21,728 - INFO - Deleting interface with subnet_id 485cc24e-6fb2-4693-94f7-66cd4bc22e3a, port_id None from router fb26f951-ca99-4fd0-ac7c-f44d693d024c 2025-10-27 11:38:21,872 - INFO - Deleting interface with subnet_id 349f7c18-5949-4e5f-9ed9-e8909b547245, port_id None from router fb26f951-ca99-4fd0-ac7c-f44d693d024c 2025-10-27 11:38:22,074 - INFO - Deleting VM ctest-vn2-vm1-22459178 2025-10-27 11:38:22,162 - INFO - Deleting VM ctest-vn1-vm1-18540597 2025-10-27 11:38:22,238 - INFO - Deleting VN ctest-vn2-04743229 2025-10-27 11:38:22,274 - DEBUG - VN b83e0c2f-abdd-4a40-b1cc-0ce78a9c0b40 still in use: Unable to complete operation on network b83e0c2f-abdd-4a40-b1cc-0ce78a9c0b40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6b7b726-4378-4224-a563-db343ab35bcd'] 2025-10-27 11:38:22,274 - WARNING - Deleting VN ctest-vn2-04743229 failed..Will retry 2025-10-27 11:38:24,377 - DEBUG - Response for deleting network () 2025-10-27 11:38:24,377 - INFO - Deleting VN ctest-vn1-59707220 2025-10-27 11:38:24,501 - DEBUG - Response for deleting network () 2025-10-27 11:38:24,754 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:38:24,754 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-27 11:38:24,755 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:38:25,493 - INFO - Deleted project: ctest-TestRouters-66590601, ID : a1d13f2c-f227-446b-b58a-b46e55603916