2025-09-12 19:14:40,990 - INFO - Domain Default found not creating 2025-09-12 19:14:41,137 - INFO - Project ctest-TestRouters-27649886 not found, creating it 2025-09-12 19:14:41,602 - INFO - Created Project:ctest-TestRouters-27649886, ID : 22db9d5e-a972-4a8f-86bf-1dac72d53c84 2025-09-12 19:14:43,070 - INFO - ================================================================================ 2025-09-12 19:14:43,070 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-12 19:14:43,070 - 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-09-12 19:14:43,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-12 19:14:43,324 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:14:43,324 - INFO - 2025-09-12 19:14:43,879 - DEBUG - Response for create_network : {'network': {'id': '51b15d20-6797-4c30-b3e8-47434c8753e2', 'name': 'ctest-vn1-51135509', 'tenant_id': '22db9d5ea9724a8f86bf1dac72d53c84', 'project_id': '22db9d5ea9724a8f86bf1dac72d53c84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27649886', 'ctest-vn1-51135509'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:14:44,106 - DEBUG - Response for create_subnet : {'subnet': {'id': '79951b3b-84ed-408a-9f9e-05afc240d410', 'name': '', 'tenant_id': '22db9d5ea9724a8f86bf1dac72d53c84', 'network_id': '51b15d20-6797-4c30-b3e8-47434c8753e2', 'ip_version': 4, 'cidr': '172.105.251.64/26', 'allocation_pools': [{'start': '172.105.251.66', 'end': '172.105.251.126'}], 'gateway_ip': '172.105.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.105.251.66', 'tags': [], 'project_id': '22db9d5ea9724a8f86bf1dac72d53c84'}} 2025-09-12 19:14:44,128 - INFO - Created VN ctest-vn1-51135509 2025-09-12 19:14:44,182 - DEBUG - VN ctest-vn1-51135509 UUID is 51b15d20-6797-4c30-b3e8-47434c8753e2 2025-09-12 19:14:44,492 - DEBUG - Response for create_network : {'network': {'id': '99620809-1be7-4e34-846d-9967991541f6', 'name': 'ctest-vn2-58014733', 'tenant_id': '22db9d5ea9724a8f86bf1dac72d53c84', 'project_id': '22db9d5ea9724a8f86bf1dac72d53c84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27649886', 'ctest-vn2-58014733'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:14:44,692 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a19b1551-ea8c-481b-8451-f3826df27ca5', 'name': '', 'tenant_id': '22db9d5ea9724a8f86bf1dac72d53c84', 'network_id': '99620809-1be7-4e34-846d-9967991541f6', 'ip_version': 4, 'cidr': '13.135.210.128/26', 'allocation_pools': [{'start': '13.135.210.130', 'end': '13.135.210.190'}], 'gateway_ip': '13.135.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.135.210.130', 'tags': [], 'project_id': '22db9d5ea9724a8f86bf1dac72d53c84'}} 2025-09-12 19:14:44,710 - INFO - Created VN ctest-vn2-58014733 2025-09-12 19:14:44,762 - DEBUG - VN ctest-vn2-58014733 UUID is 99620809-1be7-4e34-846d-9967991541f6 2025-09-12 19:14:45,022 - DEBUG - Services list from nova: [, , ] 2025-09-12 19:14:46,039 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4099-1) 2025-09-12 19:14:47,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4099-1) 2025-09-12 19:14:47,361 - INFO - Adding interface with subnet_id 79951b3b-84ed-408a-9f9e-05afc240d410, port_id None to router 4dde67d0-27cd-401a-a5ee-f3f4731508ff 2025-09-12 19:14:47,677 - INFO - Waiting for VM ctest-vn1-vm1-94616983 to be up.. 2025-09-12 19:14:47,773 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 19:14:52,932 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:14:52,932 - INFO - VM name : ctest-vn1-vm1-94616983 2025-09-12 19:14:53,127 - DEBUG - VM ctest-vn1-vm1-94616983 ID is 14fff2be-6221-4b6f-a6ae-f02a873de561 2025-09-12 19:14:53,171 - DEBUG - VM ctest-vn1-vm1-94616983 launched on Node cn-jenkins-deploy-platform-ansible-os-4099-1 2025-09-12 19:14:53,333 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/14fff2be-6221-4b6f-a6ae-f02a873de561 2025-09-12 19:14:53,668 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/14fff2be-6221-4b6f-a6ae-f02a873de561 2025-09-12 19:14:53,699 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/708c9bfb-a73b-4ee6-8d38-2fc40d1bd67c 2025-09-12 19:14:56,958 - 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 1007ms') 2025-09-12 19:14:56,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94616983 failed! 2025-09-12 19:14:57,010 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27649886:ctest-vn1-51135509 is 172.105.251.65 and allocation pool is NOT set 2025-09-12 19:14:59,072 - 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=4.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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 = 0.470/2.669/4.869/2.199 ms') 2025-09-12 19:14:59,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94616983 passed 2025-09-12 19:14:59,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:14:59,231 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94616983, IP 172.105.251.67, Port 22 2025-09-12 19:14:59,391 - DEBUG - VM ctest-vn1-vm1-94616983 is ready for SSH connections 2025-09-12 19:14:59,391 - INFO - Waiting for VM ctest-vn2-vm1-09468617 to be up.. 2025-09-12 19:14:59,476 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:14:59,476 - INFO - VM name : ctest-vn2-vm1-09468617 2025-09-12 19:14:59,554 - DEBUG - VM ctest-vn2-vm1-09468617 ID is 067a4d75-1170-44be-8b7e-a7452603d1db 2025-09-12 19:14:59,554 - DEBUG - VM ctest-vn2-vm1-09468617 launched on Node cn-jenkins-deploy-platform-ansible-os-4099-1 2025-09-12 19:14:59,638 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/067a4d75-1170-44be-8b7e-a7452603d1db 2025-09-12 19:14:59,648 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9491ab54-857d-4cb6-99c4-0afad3df67f7 2025-09-12 19:15:00,888 - 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=4.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.453 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.453/2.591/4.730/2.138 ms') 2025-09-12 19:15:00,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-09468617 passed 2025-09-12 19:15:01,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:15:01,051 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-09468617, IP 13.135.210.131, Port 22 2025-09-12 19:15:01,206 - DEBUG - VM ctest-vn2-vm1-09468617 is ready for SSH connections 2025-09-12 19:15:01,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:15:01,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.135.210.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:15:01,206 - DEBUG - ping -s 56 -c 3 -W 1 13.135.210.131 2025-09-12 19:15:06,280 - DEBUG - PING 13.135.210.131 (13.135.210.131): 56 data bytes --- 13.135.210.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-12 19:15:06,280 - WARNING - Ping to IP 13.135.210.131 from VM ctest-vn1-vm1-94616983 failed 2025-09-12 19:15:06,280 - INFO - Adding interface with subnet_id a19b1551-ea8c-481b-8451-f3826df27ca5, port_id None to router 4dde67d0-27cd-401a-a5ee-f3f4731508ff 2025-09-12 19:15:06,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:15:06,542 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.135.210.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:15:06,543 - DEBUG - ping -s 56 -c 3 -W 1 13.135.210.131 2025-09-12 19:15:09,757 - DEBUG - PING 13.135.210.131 (13.135.210.131): 56 data bytes 64 bytes from 13.135.210.131: seq=1 ttl=63 time=2.877 ms 64 bytes from 13.135.210.131: seq=2 ttl=63 time=0.919 ms --- 13.135.210.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.919/1.898/2.877 ms 2025-09-12 19:15:09,757 - WARNING - Ping to IP 13.135.210.131 from VM ctest-vn1-vm1-94616983 failed 2025-09-12 19:15:10,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.135.210.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:15:10,758 - DEBUG - ping -s 56 -c 3 -W 1 13.135.210.131 2025-09-12 19:15:12,970 - DEBUG - PING 13.135.210.131 (13.135.210.131): 56 data bytes 64 bytes from 13.135.210.131: seq=0 ttl=63 time=1.564 ms 64 bytes from 13.135.210.131: seq=1 ttl=63 time=0.688 ms 64 bytes from 13.135.210.131: seq=2 ttl=63 time=0.984 ms --- 13.135.210.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.688/1.078/1.564 ms 2025-09-12 19:15:12,970 - INFO - Ping to IP 13.135.210.131 from VM ctest-vn1-vm1-94616983 passed 2025-09-12 19:15:12,970 - INFO - Deleting interface with subnet_id 79951b3b-84ed-408a-9f9e-05afc240d410, port_id None from router 4dde67d0-27cd-401a-a5ee-f3f4731508ff 2025-09-12 19:15:13,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:15:13,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.135.210.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:15:13,092 - DEBUG - ping -s 56 -c 3 -W 1 13.135.210.131 2025-09-12 19:15:16,313 - DEBUG - PING 13.135.210.131 (13.135.210.131): 56 data bytes --- 13.135.210.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-12 19:15:16,313 - WARNING - Ping to IP 13.135.210.131 from VM ctest-vn1-vm1-94616983 failed 2025-09-12 19:15:16,313 - INFO - Adding interface with subnet_id 79951b3b-84ed-408a-9f9e-05afc240d410, port_id None to router 4dde67d0-27cd-401a-a5ee-f3f4731508ff 2025-09-12 19:15:16,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:15:16,519 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.135.210.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:15:16,519 - DEBUG - ping -s 56 -c 3 -W 1 13.135.210.131 2025-09-12 19:15:18,730 - DEBUG - PING 13.135.210.131 (13.135.210.131): 56 data bytes 64 bytes from 13.135.210.131: seq=0 ttl=63 time=1.958 ms 64 bytes from 13.135.210.131: seq=1 ttl=63 time=0.977 ms 64 bytes from 13.135.210.131: seq=2 ttl=63 time=0.823 ms --- 13.135.210.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.252/1.958 ms 2025-09-12 19:15:18,730 - INFO - Ping to IP 13.135.210.131 from VM ctest-vn1-vm1-94616983 passed 2025-09-12 19:15:18,731 - INFO - Deleting interface with subnet_id a19b1551-ea8c-481b-8451-f3826df27ca5, port_id None from router 4dde67d0-27cd-401a-a5ee-f3f4731508ff 2025-09-12 19:15:18,851 - INFO - Deleting interface with subnet_id 79951b3b-84ed-408a-9f9e-05afc240d410, port_id None from router 4dde67d0-27cd-401a-a5ee-f3f4731508ff 2025-09-12 19:15:19,032 - INFO - Deleting VM ctest-vn2-vm1-09468617 2025-09-12 19:15:19,104 - INFO - Deleting VM ctest-vn1-vm1-94616983 2025-09-12 19:15:19,174 - INFO - Deleting VN ctest-vn2-58014733 2025-09-12 19:15:19,212 - DEBUG - VN 99620809-1be7-4e34-846d-9967991541f6 still in use: Unable to complete operation on network 99620809-1be7-4e34-846d-9967991541f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00d66d50-47b3-416e-b01b-d4bacf22a20b'] 2025-09-12 19:15:19,212 - WARNING - Deleting VN ctest-vn2-58014733 failed..Will retry 2025-09-12 19:15:21,311 - DEBUG - Response for deleting network () 2025-09-12 19:15:21,311 - INFO - Deleting VN ctest-vn1-51135509 2025-09-12 19:15:21,414 - DEBUG - Response for deleting network () 2025-09-12 19:15:21,671 - DEBUG - No XMPP flaps were noticed during the test
2025-09-12 19:15:21,671 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-12 19:15:21,671 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:15:22,353 - INFO - Deleted project: ctest-TestRouters-27649886, ID : 22db9d5e-a972-4a8f-86bf-1dac72d53c84