2025-08-14 02:03:30,173 - INFO - Domain Default found not creating 2025-08-14 02:03:30,302 - INFO - Project ctest-TestRouters-66444280 not found, creating it 2025-08-14 02:03:30,813 - INFO - Created Project:ctest-TestRouters-66444280, ID : 574b360d-ab24-4f57-892e-c3797a04e33b 2025-08-14 02:03:32,173 - INFO - ================================================================================ 2025-08-14 02:03:32,173 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-14 02:03:32,173 - 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-14 02:03:32,427 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-08-14 02:03:32,427 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:03:32,427 - INFO - 2025-08-14 02:03:32,935 - DEBUG - Response for create_network : {'network': {'id': '361f7f8f-fcfa-478c-a904-f2036586e545', 'name': 'ctest-vn1-35087077', 'tenant_id': '574b360dab244f57892ec3797a04e33b', 'project_id': '574b360dab244f57892ec3797a04e33b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66444280', 'ctest-vn1-35087077'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:03:33,143 - DEBUG - Response for create_subnet : {'subnet': {'id': '54c3b0bc-7d6e-407b-8eee-1544954b8215', 'name': '', 'tenant_id': '574b360dab244f57892ec3797a04e33b', 'network_id': '361f7f8f-fcfa-478c-a904-f2036586e545', 'ip_version': 4, 'cidr': '161.204.123.192/26', 'allocation_pools': [{'start': '161.204.123.194', 'end': '161.204.123.254'}], 'gateway_ip': '161.204.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.204.123.194', 'tags': [], 'project_id': '574b360dab244f57892ec3797a04e33b'}} 2025-08-14 02:03:33,159 - INFO - Created VN ctest-vn1-35087077 2025-08-14 02:03:33,209 - DEBUG - VN ctest-vn1-35087077 UUID is 361f7f8f-fcfa-478c-a904-f2036586e545 2025-08-14 02:03:33,534 - DEBUG - Response for create_network : {'network': {'id': 'ecaaad40-5f54-4cbe-b99d-7263e8684de5', 'name': 'ctest-vn2-01837355', 'tenant_id': '574b360dab244f57892ec3797a04e33b', 'project_id': '574b360dab244f57892ec3797a04e33b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66444280', 'ctest-vn2-01837355'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:03:33,780 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adc70d10-13ab-40ee-9e95-2e297b969364', 'name': '', 'tenant_id': '574b360dab244f57892ec3797a04e33b', 'network_id': 'ecaaad40-5f54-4cbe-b99d-7263e8684de5', 'ip_version': 4, 'cidr': '123.50.172.192/26', 'allocation_pools': [{'start': '123.50.172.194', 'end': '123.50.172.254'}], 'gateway_ip': '123.50.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.50.172.194', 'tags': [], 'project_id': '574b360dab244f57892ec3797a04e33b'}} 2025-08-14 02:03:33,799 - INFO - Created VN ctest-vn2-01837355 2025-08-14 02:03:33,853 - DEBUG - VN ctest-vn2-01837355 UUID is ecaaad40-5f54-4cbe-b99d-7263e8684de5 2025-08-14 02:03:34,064 - DEBUG - Services list from nova: [, , ] 2025-08-14 02:03:34,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3848-1) 2025-08-14 02:03:36,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3848-1) 2025-08-14 02:03:36,116 - INFO - Adding interface with subnet_id 54c3b0bc-7d6e-407b-8eee-1544954b8215, port_id None to router 9b9ed166-4a7d-4351-a2e7-0988910c3faf 2025-08-14 02:03:36,461 - INFO - Waiting for VM ctest-vn1-vm1-41857696 to be up.. 2025-08-14 02:03:36,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 02:03:41,689 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:03:41,689 - INFO - VM name : ctest-vn1-vm1-41857696 2025-08-14 02:03:41,764 - DEBUG - VM ctest-vn1-vm1-41857696 ID is 6020c563-7bcf-4454-9d56-ae907fea9cf7 2025-08-14 02:03:41,787 - DEBUG - VM ctest-vn1-vm1-41857696 launched on Node cn-jenkins-deploy-platform-ansible-os-3848-1 2025-08-14 02:03:41,864 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6020c563-7bcf-4454-9d56-ae907fea9cf7 2025-08-14 02:03:42,126 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6020c563-7bcf-4454-9d56-ae907fea9cf7 2025-08-14 02:03:42,160 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/db222dac-a2f9-4959-84d1-f11009555860 2025-08-14 02:03:45,439 - 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=12.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 12.133/12.133/12.133/0.000 ms') 2025-08-14 02:03:45,439 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41857696 passed 2025-08-14 02:03:45,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:45,598 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41857696, IP 161.204.123.195, Port 22 2025-08-14 02:03:45,753 - DEBUG - VM ctest-vn1-vm1-41857696 is ready for SSH connections 2025-08-14 02:03:45,753 - INFO - Waiting for VM ctest-vn2-vm1-73680096 to be up.. 2025-08-14 02:03:45,822 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:03:45,822 - INFO - VM name : ctest-vn2-vm1-73680096 2025-08-14 02:03:45,888 - DEBUG - VM ctest-vn2-vm1-73680096 ID is d493ffd8-d38e-4414-a8c6-bf287650d5e8 2025-08-14 02:03:45,888 - DEBUG - VM ctest-vn2-vm1-73680096 launched on Node cn-jenkins-deploy-platform-ansible-os-3848-1 2025-08-14 02:03:45,959 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d493ffd8-d38e-4414-a8c6-bf287650d5e8 2025-08-14 02:03:45,967 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/817b8785-1e04-434d-94f1-4b80175cc947 2025-08-14 02:03:47,207 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.979 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.979/2.453/3.927/1.474 ms') 2025-08-14 02:03:47,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-73680096 passed 2025-08-14 02:03:47,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:47,362 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-73680096, IP 123.50.172.195, Port 22 2025-08-14 02:03:47,518 - DEBUG - VM ctest-vn2-vm1-73680096 is ready for SSH connections 2025-08-14 02:03:47,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:47,518 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.50.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-14 02:03:47,518 - DEBUG - ping -s 56 -c 3 -W 1 123.50.172.195 2025-08-14 02:03:52,114 - DEBUG - PING 123.50.172.195 (123.50.172.195): 56 data bytes --- 123.50.172.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 02:03:52,114 - WARNING - Ping to IP 123.50.172.195 from VM ctest-vn1-vm1-41857696 failed 2025-08-14 02:03:52,114 - INFO - Adding interface with subnet_id adc70d10-13ab-40ee-9e95-2e297b969364, port_id None to router 9b9ed166-4a7d-4351-a2e7-0988910c3faf 2025-08-14 02:03:52,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:52,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.50.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-14 02:03:52,378 - DEBUG - ping -s 56 -c 3 -W 1 123.50.172.195 2025-08-14 02:03:54,590 - DEBUG - PING 123.50.172.195 (123.50.172.195): 56 data bytes 64 bytes from 123.50.172.195: seq=0 ttl=63 time=2.816 ms 64 bytes from 123.50.172.195: seq=1 ttl=63 time=0.877 ms 64 bytes from 123.50.172.195: seq=2 ttl=63 time=0.791 ms --- 123.50.172.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/1.494/2.816 ms 2025-08-14 02:03:54,590 - INFO - Ping to IP 123.50.172.195 from VM ctest-vn1-vm1-41857696 passed 2025-08-14 02:03:54,590 - INFO - Deleting interface with subnet_id 54c3b0bc-7d6e-407b-8eee-1544954b8215, port_id None from router 9b9ed166-4a7d-4351-a2e7-0988910c3faf 2025-08-14 02:03:54,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:54,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.50.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-14 02:03:54,691 - DEBUG - ping -s 56 -c 3 -W 1 123.50.172.195 2025-08-14 02:03:57,877 - DEBUG - PING 123.50.172.195 (123.50.172.195): 56 data bytes --- 123.50.172.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 02:03:57,877 - WARNING - Ping to IP 123.50.172.195 from VM ctest-vn1-vm1-41857696 failed 2025-08-14 02:03:57,878 - INFO - Adding interface with subnet_id 54c3b0bc-7d6e-407b-8eee-1544954b8215, port_id None to router 9b9ed166-4a7d-4351-a2e7-0988910c3faf 2025-08-14 02:03:58,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:58,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.50.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-14 02:03:58,114 - DEBUG - ping -s 56 -c 3 -W 1 123.50.172.195 2025-08-14 02:04:00,313 - DEBUG - PING 123.50.172.195 (123.50.172.195): 56 data bytes 64 bytes from 123.50.172.195: seq=0 ttl=63 time=1.477 ms 64 bytes from 123.50.172.195: seq=1 ttl=63 time=0.871 ms 64 bytes from 123.50.172.195: seq=2 ttl=63 time=0.740 ms --- 123.50.172.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/1.029/1.477 ms 2025-08-14 02:04:00,314 - INFO - Ping to IP 123.50.172.195 from VM ctest-vn1-vm1-41857696 passed 2025-08-14 02:04:00,314 - INFO - Deleting interface with subnet_id adc70d10-13ab-40ee-9e95-2e297b969364, port_id None from router 9b9ed166-4a7d-4351-a2e7-0988910c3faf 2025-08-14 02:04:00,426 - INFO - Deleting interface with subnet_id 54c3b0bc-7d6e-407b-8eee-1544954b8215, port_id None from router 9b9ed166-4a7d-4351-a2e7-0988910c3faf 2025-08-14 02:04:00,614 - INFO - Deleting VM ctest-vn2-vm1-73680096 2025-08-14 02:04:00,680 - INFO - Deleting VM ctest-vn1-vm1-41857696 2025-08-14 02:04:00,747 - INFO - Deleting VN ctest-vn2-01837355 2025-08-14 02:04:00,785 - DEBUG - VN ecaaad40-5f54-4cbe-b99d-7263e8684de5 still in use: Unable to complete operation on network ecaaad40-5f54-4cbe-b99d-7263e8684de5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77150e6b-a08a-49d0-bfce-9fcb03023d02'] 2025-08-14 02:04:00,785 - WARNING - Deleting VN ctest-vn2-01837355 failed..Will retry 2025-08-14 02:04:02,889 - DEBUG - Response for deleting network () 2025-08-14 02:04:02,890 - INFO - Deleting VN ctest-vn1-35087077 2025-08-14 02:04:02,998 - DEBUG - Response for deleting network () 2025-08-14 02:04:03,259 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 02:04:03,259 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31]
2025-08-14 02:04:03,259 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:04:03,884 - INFO - Deleted project: ctest-TestRouters-66444280, ID : 574b360d-ab24-4f57-892e-c3797a04e33b