2025-10-23 11:33:01,138 - INFO - Domain Default found not creating 2025-10-23 11:33:01,313 - INFO - Project ctest-TestRouters-02426924 not found, creating it 2025-10-23 11:33:01,813 - INFO - Created Project:ctest-TestRouters-02426924, ID : e63938e7-ac9d-49bc-9d63-7846e00b5319 2025-10-23 11:33:03,415 - INFO - ================================================================================ 2025-10-23 11:33:03,415 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 11:33:03,415 - 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-23 11:33:03,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-23 11:33:03,675 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:33:03,675 - INFO - 2025-10-23 11:33:04,289 - DEBUG - Response for create_network : {'network': {'id': '8e801d27-e380-48dc-b1a7-3faf7aff515a', 'name': 'ctest-vn1-02890246', 'tenant_id': 'e63938e7ac9d49bc9d637846e00b5319', 'project_id': 'e63938e7ac9d49bc9d637846e00b5319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-02426924', 'ctest-vn1-02890246'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:33:04,547 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd220807-5a22-4607-a112-d7db175fa05d', 'name': '', 'tenant_id': 'e63938e7ac9d49bc9d637846e00b5319', 'network_id': '8e801d27-e380-48dc-b1a7-3faf7aff515a', 'ip_version': 4, 'cidr': '126.38.55.0/26', 'allocation_pools': [{'start': '126.38.55.2', 'end': '126.38.55.62'}], 'gateway_ip': '126.38.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.38.55.2', 'tags': [], 'project_id': 'e63938e7ac9d49bc9d637846e00b5319'}} 2025-10-23 11:33:04,572 - INFO - Created VN ctest-vn1-02890246 2025-10-23 11:33:04,634 - DEBUG - VN ctest-vn1-02890246 UUID is 8e801d27-e380-48dc-b1a7-3faf7aff515a 2025-10-23 11:33:04,986 - DEBUG - Response for create_network : {'network': {'id': '9c59d7ae-b208-4b89-9133-d4f3f9e92109', 'name': 'ctest-vn2-87901738', 'tenant_id': 'e63938e7ac9d49bc9d637846e00b5319', 'project_id': 'e63938e7ac9d49bc9d637846e00b5319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-02426924', 'ctest-vn2-87901738'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:33:05,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5ae40b1-b1ae-46c8-975f-af9ce65ea26b', 'name': '', 'tenant_id': 'e63938e7ac9d49bc9d637846e00b5319', 'network_id': '9c59d7ae-b208-4b89-9133-d4f3f9e92109', 'ip_version': 4, 'cidr': '28.181.245.192/26', 'allocation_pools': [{'start': '28.181.245.194', 'end': '28.181.245.254'}], 'gateway_ip': '28.181.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.181.245.194', 'tags': [], 'project_id': 'e63938e7ac9d49bc9d637846e00b5319'}} 2025-10-23 11:33:05,192 - INFO - Created VN ctest-vn2-87901738 2025-10-23 11:33:05,245 - DEBUG - VN ctest-vn2-87901738 UUID is 9c59d7ae-b208-4b89-9133-d4f3f9e92109 2025-10-23 11:33:05,423 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:33:06,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4458-1) 2025-10-23 11:33:07,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4458-1) 2025-10-23 11:33:07,997 - INFO - Adding interface with subnet_id bd220807-5a22-4607-a112-d7db175fa05d, port_id None to router 8cf7c02e-c343-4c21-aa86-5bd432e05ac6 2025-10-23 11:33:08,292 - INFO - Waiting for VM ctest-vn1-vm1-54676692 to be up.. 2025-10-23 11:33:08,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:33:13,474 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:33:13,474 - INFO - VM name : ctest-vn1-vm1-54676692 2025-10-23 11:33:13,560 - DEBUG - VM ctest-vn1-vm1-54676692 ID is 70548054-74db-4fc8-b908-f16d36ed4b44 2025-10-23 11:33:13,585 - DEBUG - VM ctest-vn1-vm1-54676692 launched on Node cn-jenkins-deploy-platform-ansible-os-4458-1 2025-10-23 11:33:13,671 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70548054-74db-4fc8-b908-f16d36ed4b44 2025-10-23 11:33:13,983 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70548054-74db-4fc8-b908-f16d36ed4b44 2025-10-23 11:33:14,018 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b57658ca-edef-4719-a784-78de4170733f 2025-10-23 11:33:17,277 - 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 1009ms') 2025-10-23 11:33:17,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54676692 failed! 2025-10-23 11:33:17,330 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-02426924:ctest-vn1-02890246 is 126.38.55.1 and allocation pool is NOT set 2025-10-23 11:33:19,397 - 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=12.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.546 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 = 0.546/6.594/12.642/6.048 ms') 2025-10-23 11:33:19,397 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54676692 passed 2025-10-23 11:33:19,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:33:19,554 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54676692, IP 126.38.55.3, Port 22 2025-10-23 11:33:19,729 - DEBUG - VM ctest-vn1-vm1-54676692 is ready for SSH connections 2025-10-23 11:33:19,729 - INFO - Waiting for VM ctest-vn2-vm1-53554038 to be up.. 2025-10-23 11:33:19,818 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:33:19,818 - INFO - VM name : ctest-vn2-vm1-53554038 2025-10-23 11:33:19,906 - DEBUG - VM ctest-vn2-vm1-53554038 ID is 05a813a5-cd76-43a8-aa65-dfa92a6067a9 2025-10-23 11:33:19,906 - DEBUG - VM ctest-vn2-vm1-53554038 launched on Node cn-jenkins-deploy-platform-ansible-os-4458-1 2025-10-23 11:33:19,993 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/05a813a5-cd76-43a8-aa65-dfa92a6067a9 2025-10-23 11:33:20,002 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/94f4f479-3cb1-4e4b-8f4a-a955af35bdc2 2025-10-23 11:33:21,257 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/2.102/3.695/1.592 ms') 2025-10-23 11:33:21,258 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-53554038 passed 2025-10-23 11:33:21,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:33:21,414 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-53554038, IP 28.181.245.195, Port 22 2025-10-23 11:33:21,590 - DEBUG - VM ctest-vn2-vm1-53554038 is ready for SSH connections 2025-10-23 11:33:21,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:33:21,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.181.245.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-23 11:33:21,591 - DEBUG - ping -s 56 -c 3 -W 1 28.181.245.195 2025-10-23 11:33:26,664 - DEBUG - PING 28.181.245.195 (28.181.245.195): 56 data bytes --- 28.181.245.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:33:26,664 - WARNING - Ping to IP 28.181.245.195 from VM ctest-vn1-vm1-54676692 failed 2025-10-23 11:33:26,664 - INFO - Adding interface with subnet_id a5ae40b1-b1ae-46c8-975f-af9ce65ea26b, port_id None to router 8cf7c02e-c343-4c21-aa86-5bd432e05ac6 2025-10-23 11:33:26,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:33:26,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.181.245.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-23 11:33:26,951 - DEBUG - ping -s 56 -c 3 -W 1 28.181.245.195 2025-10-23 11:33:30,183 - DEBUG - PING 28.181.245.195 (28.181.245.195): 56 data bytes 64 bytes from 28.181.245.195: seq=1 ttl=63 time=3.384 ms 64 bytes from 28.181.245.195: seq=2 ttl=63 time=0.872 ms --- 28.181.245.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.872/2.128/3.384 ms 2025-10-23 11:33:30,183 - WARNING - Ping to IP 28.181.245.195 from VM ctest-vn1-vm1-54676692 failed 2025-10-23 11:33:31,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.181.245.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-23 11:33:31,184 - DEBUG - ping -s 56 -c 3 -W 1 28.181.245.195 2025-10-23 11:33:33,415 - DEBUG - PING 28.181.245.195 (28.181.245.195): 56 data bytes 64 bytes from 28.181.245.195: seq=0 ttl=63 time=1.440 ms 64 bytes from 28.181.245.195: seq=1 ttl=63 time=1.022 ms 64 bytes from 28.181.245.195: seq=2 ttl=63 time=1.182 ms --- 28.181.245.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.022/1.214/1.440 ms 2025-10-23 11:33:33,415 - INFO - Ping to IP 28.181.245.195 from VM ctest-vn1-vm1-54676692 passed 2025-10-23 11:33:33,416 - INFO - Deleting interface with subnet_id bd220807-5a22-4607-a112-d7db175fa05d, port_id None from router 8cf7c02e-c343-4c21-aa86-5bd432e05ac6 2025-10-23 11:33:33,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:33:33,538 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.181.245.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-23 11:33:33,538 - DEBUG - ping -s 56 -c 3 -W 1 28.181.245.195 2025-10-23 11:33:36,783 - DEBUG - PING 28.181.245.195 (28.181.245.195): 56 data bytes --- 28.181.245.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:33:36,783 - WARNING - Ping to IP 28.181.245.195 from VM ctest-vn1-vm1-54676692 failed 2025-10-23 11:33:36,783 - INFO - Adding interface with subnet_id bd220807-5a22-4607-a112-d7db175fa05d, port_id None to router 8cf7c02e-c343-4c21-aa86-5bd432e05ac6 2025-10-23 11:33:37,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:33:37,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.181.245.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-23 11:33:37,030 - DEBUG - ping -s 56 -c 3 -W 1 28.181.245.195 2025-10-23 11:33:39,262 - DEBUG - PING 28.181.245.195 (28.181.245.195): 56 data bytes 64 bytes from 28.181.245.195: seq=0 ttl=63 time=1.585 ms 64 bytes from 28.181.245.195: seq=1 ttl=63 time=1.350 ms 64 bytes from 28.181.245.195: seq=2 ttl=63 time=1.046 ms --- 28.181.245.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.046/1.327/1.585 ms 2025-10-23 11:33:39,263 - INFO - Ping to IP 28.181.245.195 from VM ctest-vn1-vm1-54676692 passed 2025-10-23 11:33:39,263 - INFO - Deleting interface with subnet_id a5ae40b1-b1ae-46c8-975f-af9ce65ea26b, port_id None from router 8cf7c02e-c343-4c21-aa86-5bd432e05ac6 2025-10-23 11:33:39,419 - INFO - Deleting interface with subnet_id bd220807-5a22-4607-a112-d7db175fa05d, port_id None from router 8cf7c02e-c343-4c21-aa86-5bd432e05ac6 2025-10-23 11:33:39,633 - INFO - Deleting VM ctest-vn2-vm1-53554038 2025-10-23 11:33:39,731 - INFO - Deleting VM ctest-vn1-vm1-54676692 2025-10-23 11:33:39,808 - INFO - Deleting VN ctest-vn2-87901738 2025-10-23 11:33:39,855 - DEBUG - VN 9c59d7ae-b208-4b89-9133-d4f3f9e92109 still in use: Unable to complete operation on network 9c59d7ae-b208-4b89-9133-d4f3f9e92109. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b6b4c79-7fa5-4136-95ba-ff3fcf635d17'] 2025-10-23 11:33:39,855 - WARNING - Deleting VN ctest-vn2-87901738 failed..Will retry 2025-10-23 11:33:41,970 - DEBUG - Response for deleting network () 2025-10-23 11:33:41,970 - INFO - Deleting VN ctest-vn1-02890246 2025-10-23 11:33:42,080 - DEBUG - Response for deleting network () 2025-10-23 11:33:42,353 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:33:42,353 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-23 11:33:42,354 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:33:43,075 - INFO - Deleted project: ctest-TestRouters-02426924, ID : e63938e7-ac9d-49bc-9d63-7846e00b5319