2025-08-28 02:39:49,190 - INFO - Domain Default found not creating 2025-08-28 02:39:49,369 - INFO - Project ctest-TestRouters-45127292 not found, creating it 2025-08-28 02:39:49,888 - INFO - Created Project:ctest-TestRouters-45127292, ID : c8326dbb-11ae-41a0-a950-ea221223c7cd 2025-08-28 02:39:51,571 - INFO - ================================================================================ 2025-08-28 02:39:51,571 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-28 02:39:51,571 - 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-28 02:39:51,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.209': '0'}} with 2025-08-28 02:39:51,838 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:39:51,838 - INFO - 2025-08-28 02:39:52,590 - DEBUG - Response for create_network : {'network': {'id': '7cb13d90-ab63-42a5-8cd0-a3f33c5d046e', 'name': 'ctest-vn1-89490473', 'tenant_id': 'c8326dbb11ae41a0a950ea221223c7cd', 'project_id': 'c8326dbb11ae41a0a950ea221223c7cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45127292', 'ctest-vn1-89490473'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:39:52,777 - DEBUG - Response for create_subnet : {'subnet': {'id': '8083aa75-783a-4b5c-b8b8-329851e70175', 'name': '', 'tenant_id': 'c8326dbb11ae41a0a950ea221223c7cd', 'network_id': '7cb13d90-ab63-42a5-8cd0-a3f33c5d046e', 'ip_version': 4, 'cidr': '9.81.142.128/26', 'allocation_pools': [{'start': '9.81.142.130', 'end': '9.81.142.190'}], 'gateway_ip': '9.81.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.81.142.130', 'tags': [], 'project_id': 'c8326dbb11ae41a0a950ea221223c7cd'}} 2025-08-28 02:39:52,799 - INFO - Created VN ctest-vn1-89490473 2025-08-28 02:39:52,857 - DEBUG - VN ctest-vn1-89490473 UUID is 7cb13d90-ab63-42a5-8cd0-a3f33c5d046e 2025-08-28 02:39:53,206 - DEBUG - Response for create_network : {'network': {'id': '218018f0-8d2a-4cb6-b972-250fb8308b14', 'name': 'ctest-vn2-85994796', 'tenant_id': 'c8326dbb11ae41a0a950ea221223c7cd', 'project_id': 'c8326dbb11ae41a0a950ea221223c7cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45127292', 'ctest-vn2-85994796'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:39:53,414 - DEBUG - Response for create_subnet : {'subnet': {'id': '1245c33f-b240-416d-a464-c5740b9e82a4', 'name': '', 'tenant_id': 'c8326dbb11ae41a0a950ea221223c7cd', 'network_id': '218018f0-8d2a-4cb6-b972-250fb8308b14', 'ip_version': 4, 'cidr': '85.189.42.128/26', 'allocation_pools': [{'start': '85.189.42.130', 'end': '85.189.42.190'}], 'gateway_ip': '85.189.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.189.42.130', 'tags': [], 'project_id': 'c8326dbb11ae41a0a950ea221223c7cd'}} 2025-08-28 02:39:53,435 - INFO - Created VN ctest-vn2-85994796 2025-08-28 02:39:53,489 - DEBUG - VN ctest-vn2-85994796 UUID is 218018f0-8d2a-4cb6-b972-250fb8308b14 2025-08-28 02:39:53,687 - DEBUG - Services list from nova: [, , ] 2025-08-28 02:39:55,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3955-1) 2025-08-28 02:39:56,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3955-1) 2025-08-28 02:39:56,415 - INFO - Adding interface with subnet_id 8083aa75-783a-4b5c-b8b8-329851e70175, port_id None to router c15c75ac-1279-4ff8-a260-d375216390c2 2025-08-28 02:39:56,731 - INFO - Waiting for VM ctest-vn1-vm1-57467791 to be up.. 2025-08-28 02:39:56,865 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 02:40:01,957 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:40:01,958 - INFO - VM name : ctest-vn1-vm1-57467791 2025-08-28 02:40:02,043 - DEBUG - VM ctest-vn1-vm1-57467791 ID is a0bc06e3-f857-4a73-b94f-4ceb76dd2162 2025-08-28 02:40:02,069 - DEBUG - VM ctest-vn1-vm1-57467791 launched on Node cn-jenkins-deploy-platform-ansible-os-3955-1 2025-08-28 02:40:02,156 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a0bc06e3-f857-4a73-b94f-4ceb76dd2162 2025-08-28 02:40:02,512 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a0bc06e3-f857-4a73-b94f-4ceb76dd2162 2025-08-28 02:40:02,548 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d12f3cfa-2fe6-4afd-8f0d-ed39e71f4cc5 2025-08-28 02:40:05,807 - 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 1005ms') 2025-08-28 02:40:05,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57467791 failed! 2025-08-28 02:40:05,866 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-45127292:ctest-vn1-89490473 is 9.81.142.129 and allocation pool is NOT set 2025-08-28 02:40:07,936 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.67 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 = 3.656/3.661/3.667/0.005 ms') 2025-08-28 02:40:07,936 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57467791 passed 2025-08-28 02:40:08,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:08,090 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57467791, IP 9.81.142.131, Port 22 2025-08-28 02:40:08,260 - DEBUG - VM ctest-vn1-vm1-57467791 is ready for SSH connections 2025-08-28 02:40:08,260 - INFO - Waiting for VM ctest-vn2-vm1-48789410 to be up.. 2025-08-28 02:40:08,369 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:40:08,369 - INFO - VM name : ctest-vn2-vm1-48789410 2025-08-28 02:40:08,463 - DEBUG - VM ctest-vn2-vm1-48789410 ID is 8ea37b7a-11a3-423b-8bc7-c1b53f6852e3 2025-08-28 02:40:08,463 - DEBUG - VM ctest-vn2-vm1-48789410 launched on Node cn-jenkins-deploy-platform-ansible-os-3955-1 2025-08-28 02:40:08,560 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8ea37b7a-11a3-423b-8bc7-c1b53f6852e3 2025-08-28 02:40:08,572 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7a1040ad-928e-471c-89e5-52eb35a66b56 2025-08-28 02:40:09,837 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.75 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 = 3.676/3.711/3.747/0.035 ms') 2025-08-28 02:40:09,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48789410 passed 2025-08-28 02:40:09,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:09,998 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48789410, IP 85.189.42.131, Port 22 2025-08-28 02:40:10,172 - DEBUG - VM ctest-vn2-vm1-48789410 is ready for SSH connections 2025-08-28 02:40:10,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:10,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.189.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-28 02:40:10,173 - DEBUG - ping -s 56 -c 3 -W 1 85.189.42.131 2025-08-28 02:40:15,362 - DEBUG - PING 85.189.42.131 (85.189.42.131): 56 data bytes --- 85.189.42.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 02:40:15,362 - WARNING - Ping to IP 85.189.42.131 from VM ctest-vn1-vm1-57467791 failed 2025-08-28 02:40:15,362 - INFO - Adding interface with subnet_id 1245c33f-b240-416d-a464-c5740b9e82a4, port_id None to router c15c75ac-1279-4ff8-a260-d375216390c2 2025-08-28 02:40:15,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:15,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.189.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-28 02:40:15,670 - DEBUG - ping -s 56 -c 3 -W 1 85.189.42.131 2025-08-28 02:40:17,947 - DEBUG - PING 85.189.42.131 (85.189.42.131): 56 data bytes 64 bytes from 85.189.42.131: seq=0 ttl=63 time=3.447 ms 64 bytes from 85.189.42.131: seq=1 ttl=63 time=1.553 ms 64 bytes from 85.189.42.131: seq=2 ttl=63 time=1.239 ms --- 85.189.42.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.239/2.079/3.447 ms 2025-08-28 02:40:17,947 - INFO - Ping to IP 85.189.42.131 from VM ctest-vn1-vm1-57467791 passed 2025-08-28 02:40:17,947 - INFO - Deleting interface with subnet_id 8083aa75-783a-4b5c-b8b8-329851e70175, port_id None from router c15c75ac-1279-4ff8-a260-d375216390c2 2025-08-28 02:40:18,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:18,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.189.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-28 02:40:18,111 - DEBUG - ping -s 56 -c 3 -W 1 85.189.42.131 2025-08-28 02:40:21,358 - DEBUG - PING 85.189.42.131 (85.189.42.131): 56 data bytes --- 85.189.42.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 02:40:21,358 - WARNING - Ping to IP 85.189.42.131 from VM ctest-vn1-vm1-57467791 failed 2025-08-28 02:40:21,358 - INFO - Adding interface with subnet_id 8083aa75-783a-4b5c-b8b8-329851e70175, port_id None to router c15c75ac-1279-4ff8-a260-d375216390c2 2025-08-28 02:40:21,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:21,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.189.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-28 02:40:21,620 - DEBUG - ping -s 56 -c 3 -W 1 85.189.42.131 2025-08-28 02:40:23,868 - DEBUG - PING 85.189.42.131 (85.189.42.131): 56 data bytes 64 bytes from 85.189.42.131: seq=0 ttl=63 time=1.819 ms 64 bytes from 85.189.42.131: seq=1 ttl=63 time=1.092 ms 64 bytes from 85.189.42.131: seq=2 ttl=63 time=1.431 ms --- 85.189.42.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.092/1.447/1.819 ms 2025-08-28 02:40:23,868 - INFO - Ping to IP 85.189.42.131 from VM ctest-vn1-vm1-57467791 passed 2025-08-28 02:40:23,868 - INFO - Deleting interface with subnet_id 1245c33f-b240-416d-a464-c5740b9e82a4, port_id None from router c15c75ac-1279-4ff8-a260-d375216390c2 2025-08-28 02:40:24,020 - INFO - Deleting interface with subnet_id 8083aa75-783a-4b5c-b8b8-329851e70175, port_id None from router c15c75ac-1279-4ff8-a260-d375216390c2 2025-08-28 02:40:24,304 - INFO - Deleting VM ctest-vn2-vm1-48789410 2025-08-28 02:40:24,413 - INFO - Deleting VM ctest-vn1-vm1-57467791 2025-08-28 02:40:24,504 - INFO - Deleting VN ctest-vn2-85994796 2025-08-28 02:40:24,550 - DEBUG - VN 218018f0-8d2a-4cb6-b972-250fb8308b14 still in use: Unable to complete operation on network 218018f0-8d2a-4cb6-b972-250fb8308b14. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c1bc9f0f-329f-45ef-b860-e635a6ce9aae'] 2025-08-28 02:40:24,551 - WARNING - Deleting VN ctest-vn2-85994796 failed..Will retry 2025-08-28 02:40:26,671 - DEBUG - Response for deleting network () 2025-08-28 02:40:26,672 - INFO - Deleting VN ctest-vn1-89490473 2025-08-28 02:40:26,802 - DEBUG - Response for deleting network () 2025-08-28 02:40:27,071 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 02:40:27,071 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36] 2025-08-28 02:40:27,071 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:40:27,844 - INFO - Deleted project: ctest-TestRouters-45127292, ID : c8326dbb-11ae-41a0-a950-ea221223c7cd