2025-08-11 15:49:46,516 - INFO - Domain Default found not creating 2025-08-11 15:49:46,642 - INFO - Project ctest-TestRouters-47389192 not found, creating it 2025-08-11 15:49:47,081 - INFO - Created Project:ctest-TestRouters-47389192, ID : 1e01b836-16f7-402f-bbc5-b3fdacdc64b0 2025-08-11 15:49:48,490 - INFO - ================================================================================ 2025-08-11 15:49:48,490 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 15:49:48,490 - 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-11 15:49:48,740 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-11 15:49:48,740 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:49:48,740 - INFO - 2025-08-11 15:49:49,278 - DEBUG - Response for create_network : {'network': {'id': 'eb1a3b32-2fdc-448b-a6b1-cae8de70ee26', 'name': 'ctest-vn1-50941041', 'tenant_id': '1e01b83616f7402fbbc5b3fdacdc64b0', 'project_id': '1e01b83616f7402fbbc5b3fdacdc64b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47389192', 'ctest-vn1-50941041'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:49:49,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '2909d3f2-95ec-484b-aadd-5127c1691023', 'name': '', 'tenant_id': '1e01b83616f7402fbbc5b3fdacdc64b0', 'network_id': 'eb1a3b32-2fdc-448b-a6b1-cae8de70ee26', 'ip_version': 4, 'cidr': '113.174.67.128/26', 'allocation_pools': [{'start': '113.174.67.130', 'end': '113.174.67.190'}], 'gateway_ip': '113.174.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.174.67.130', 'tags': [], 'project_id': '1e01b83616f7402fbbc5b3fdacdc64b0'}} 2025-08-11 15:49:49,482 - INFO - Created VN ctest-vn1-50941041 2025-08-11 15:49:49,539 - DEBUG - VN ctest-vn1-50941041 UUID is eb1a3b32-2fdc-448b-a6b1-cae8de70ee26 2025-08-11 15:49:49,871 - DEBUG - Response for create_network : {'network': {'id': 'ea5d8a84-eb14-49a5-b9e1-099ceb0251a0', 'name': 'ctest-vn2-03820567', 'tenant_id': '1e01b83616f7402fbbc5b3fdacdc64b0', 'project_id': '1e01b83616f7402fbbc5b3fdacdc64b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47389192', 'ctest-vn2-03820567'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:49:50,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aca3814-54ba-493b-84a3-9d8132133ba7', 'name': '', 'tenant_id': '1e01b83616f7402fbbc5b3fdacdc64b0', 'network_id': 'ea5d8a84-eb14-49a5-b9e1-099ceb0251a0', 'ip_version': 4, 'cidr': '57.14.254.0/26', 'allocation_pools': [{'start': '57.14.254.2', 'end': '57.14.254.62'}], 'gateway_ip': '57.14.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.14.254.2', 'tags': [], 'project_id': '1e01b83616f7402fbbc5b3fdacdc64b0'}} 2025-08-11 15:49:50,106 - INFO - Created VN ctest-vn2-03820567 2025-08-11 15:49:50,159 - DEBUG - VN ctest-vn2-03820567 UUID is ea5d8a84-eb14-49a5-b9e1-099ceb0251a0 2025-08-11 15:49:50,379 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:49:51,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3813-1) 2025-08-11 15:49:52,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3813-1) 2025-08-11 15:49:52,549 - INFO - Adding interface with subnet_id 2909d3f2-95ec-484b-aadd-5127c1691023, port_id None to router 26d1be3f-3504-44be-9297-05c7b2578d1f 2025-08-11 15:49:52,887 - INFO - Waiting for VM ctest-vn1-vm1-59703914 to be up.. 2025-08-11 15:49:52,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:49:58,029 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:49:58,029 - INFO - VM name : ctest-vn1-vm1-59703914 2025-08-11 15:49:58,088 - DEBUG - VM ctest-vn1-vm1-59703914 ID is 3090f89f-eea9-4130-9e37-0f139f1c1cc0 2025-08-11 15:49:58,103 - DEBUG - VM ctest-vn1-vm1-59703914 launched on Node cn-jenkins-deploy-platform-ansible-os-3813-1 2025-08-11 15:49:58,163 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3090f89f-eea9-4130-9e37-0f139f1c1cc0 2025-08-11 15:49:58,453 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3090f89f-eea9-4130-9e37-0f139f1c1cc0 2025-08-11 15:49:58,480 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/738e0617-ea3a-4c17-a0ab-53660ce3dbc2 2025-08-11 15:50:01,726 - 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=2 ttl=63 time=10.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 10.077/10.077/10.077/0.000 ms') 2025-08-11 15:50:01,727 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59703914 passed 2025-08-11 15:50:01,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:01,879 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59703914, IP 113.174.67.131, Port 22 2025-08-11 15:50:02,040 - DEBUG - VM ctest-vn1-vm1-59703914 is ready for SSH connections 2025-08-11 15:50:02,040 - INFO - Waiting for VM ctest-vn2-vm1-94611635 to be up.. 2025-08-11 15:50:02,104 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:50:02,104 - INFO - VM name : ctest-vn2-vm1-94611635 2025-08-11 15:50:02,162 - DEBUG - VM ctest-vn2-vm1-94611635 ID is b77f68da-91bd-4a2f-9447-01f32d56662d 2025-08-11 15:50:02,163 - DEBUG - VM ctest-vn2-vm1-94611635 launched on Node cn-jenkins-deploy-platform-ansible-os-3813-1 2025-08-11 15:50:02,223 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b77f68da-91bd-4a2f-9447-01f32d56662d 2025-08-11 15:50:02,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cd987f6d-e34d-4233-bc01-6fded8f038d1 2025-08-11 15:50:03,464 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.730 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.730/2.083/3.436/1.353 ms') 2025-08-11 15:50:03,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94611635 passed 2025-08-11 15:50:03,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:03,607 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94611635, IP 57.14.254.3, Port 22 2025-08-11 15:50:03,757 - DEBUG - VM ctest-vn2-vm1-94611635 is ready for SSH connections 2025-08-11 15:50:03,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:03,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.14.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 15:50:03,758 - DEBUG - ping -s 56 -c 3 -W 1 57.14.254.3 2025-08-11 15:50:08,369 - DEBUG - PING 57.14.254.3 (57.14.254.3): 56 data bytes --- 57.14.254.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 15:50:08,369 - WARNING - Ping to IP 57.14.254.3 from VM ctest-vn1-vm1-59703914 failed 2025-08-11 15:50:08,369 - INFO - Adding interface with subnet_id 6aca3814-54ba-493b-84a3-9d8132133ba7, port_id None to router 26d1be3f-3504-44be-9297-05c7b2578d1f 2025-08-11 15:50:08,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:08,639 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.14.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 15:50:08,639 - DEBUG - ping -s 56 -c 3 -W 1 57.14.254.3 2025-08-11 15:50:10,827 - DEBUG - PING 57.14.254.3 (57.14.254.3): 56 data bytes 64 bytes from 57.14.254.3: seq=0 ttl=63 time=2.142 ms 64 bytes from 57.14.254.3: seq=1 ttl=63 time=0.618 ms 64 bytes from 57.14.254.3: seq=2 ttl=63 time=0.778 ms --- 57.14.254.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.618/1.179/2.142 ms 2025-08-11 15:50:10,827 - INFO - Ping to IP 57.14.254.3 from VM ctest-vn1-vm1-59703914 passed 2025-08-11 15:50:10,827 - INFO - Deleting interface with subnet_id 2909d3f2-95ec-484b-aadd-5127c1691023, port_id None from router 26d1be3f-3504-44be-9297-05c7b2578d1f 2025-08-11 15:50:10,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:10,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.14.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 15:50:10,936 - DEBUG - ping -s 56 -c 3 -W 1 57.14.254.3 2025-08-11 15:50:14,122 - DEBUG - PING 57.14.254.3 (57.14.254.3): 56 data bytes --- 57.14.254.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 15:50:14,122 - WARNING - Ping to IP 57.14.254.3 from VM ctest-vn1-vm1-59703914 failed 2025-08-11 15:50:14,122 - INFO - Adding interface with subnet_id 2909d3f2-95ec-484b-aadd-5127c1691023, port_id None to router 26d1be3f-3504-44be-9297-05c7b2578d1f 2025-08-11 15:50:14,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:14,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.14.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 15:50:14,329 - DEBUG - ping -s 56 -c 3 -W 1 57.14.254.3 2025-08-11 15:50:16,519 - DEBUG - PING 57.14.254.3 (57.14.254.3): 56 data bytes 64 bytes from 57.14.254.3: seq=0 ttl=63 time=1.184 ms 64 bytes from 57.14.254.3: seq=1 ttl=63 time=0.680 ms 64 bytes from 57.14.254.3: seq=2 ttl=63 time=0.641 ms --- 57.14.254.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.641/0.835/1.184 ms 2025-08-11 15:50:16,520 - INFO - Ping to IP 57.14.254.3 from VM ctest-vn1-vm1-59703914 passed 2025-08-11 15:50:16,520 - INFO - Deleting interface with subnet_id 6aca3814-54ba-493b-84a3-9d8132133ba7, port_id None from router 26d1be3f-3504-44be-9297-05c7b2578d1f 2025-08-11 15:50:16,620 - INFO - Deleting interface with subnet_id 2909d3f2-95ec-484b-aadd-5127c1691023, port_id None from router 26d1be3f-3504-44be-9297-05c7b2578d1f 2025-08-11 15:50:16,760 - INFO - Deleting VM ctest-vn2-vm1-94611635 2025-08-11 15:50:16,815 - INFO - Deleting VM ctest-vn1-vm1-59703914 2025-08-11 15:50:16,877 - INFO - Deleting VN ctest-vn2-03820567 2025-08-11 15:50:16,912 - DEBUG - VN ea5d8a84-eb14-49a5-b9e1-099ceb0251a0 still in use: Unable to complete operation on network ea5d8a84-eb14-49a5-b9e1-099ceb0251a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-acb8d0ff-a622-4e9d-9a93-e5e138664a88'] 2025-08-11 15:50:16,912 - WARNING - Deleting VN ctest-vn2-03820567 failed..Will retry 2025-08-11 15:50:19,005 - DEBUG - Response for deleting network () 2025-08-11 15:50:19,005 - INFO - Deleting VN ctest-vn1-50941041 2025-08-11 15:50:19,089 - DEBUG - Response for deleting network () 2025-08-11 15:50:19,344 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:50:19,344 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31]
2025-08-11 15:50:19,344 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:50:19,975 - INFO - Deleted project: ctest-TestRouters-47389192, ID : 1e01b836-16f7-402f-bbc5-b3fdacdc64b0