2025-08-20 13:37:50,975 - INFO - Domain Default found not creating 2025-08-20 13:37:51,096 - INFO - Project ctest-TestRouters-46583128 not found, creating it 2025-08-20 13:37:51,533 - INFO - Created Project:ctest-TestRouters-46583128, ID : 222dbbbd-b8e2-4329-b648-2ce0a3d86677 2025-08-20 13:37:52,893 - INFO - ================================================================================ 2025-08-20 13:37:52,894 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-20 13:37:52,894 - 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-20 13:37:53,150 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-08-20 13:37:53,150 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:37:53,150 - INFO - 2025-08-20 13:37:53,694 - DEBUG - Response for create_network : {'network': {'id': 'd85dacaa-e80c-4024-b013-0567b2a1c876', 'name': 'ctest-vn1-82894991', 'tenant_id': '222dbbbdb8e24329b6482ce0a3d86677', 'project_id': '222dbbbdb8e24329b6482ce0a3d86677', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-46583128', 'ctest-vn1-82894991'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:37:53,870 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1ccb25e-b108-4e44-a589-9b5f3c7083bd', 'name': '', 'tenant_id': '222dbbbdb8e24329b6482ce0a3d86677', 'network_id': 'd85dacaa-e80c-4024-b013-0567b2a1c876', 'ip_version': 4, 'cidr': '118.29.218.0/26', 'allocation_pools': [{'start': '118.29.218.2', 'end': '118.29.218.62'}], 'gateway_ip': '118.29.218.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.29.218.2', 'tags': [], 'project_id': '222dbbbdb8e24329b6482ce0a3d86677'}} 2025-08-20 13:37:53,885 - INFO - Created VN ctest-vn1-82894991 2025-08-20 13:37:53,941 - DEBUG - VN ctest-vn1-82894991 UUID is d85dacaa-e80c-4024-b013-0567b2a1c876 2025-08-20 13:37:54,247 - DEBUG - Response for create_network : {'network': {'id': 'b3257f99-9c1f-4cd1-a08b-40ffa2f08102', 'name': 'ctest-vn2-13373483', 'tenant_id': '222dbbbdb8e24329b6482ce0a3d86677', 'project_id': '222dbbbdb8e24329b6482ce0a3d86677', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-46583128', 'ctest-vn2-13373483'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:37:54,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '4912e95c-b83b-479e-b7d1-cdfc39100bf0', 'name': '', 'tenant_id': '222dbbbdb8e24329b6482ce0a3d86677', 'network_id': 'b3257f99-9c1f-4cd1-a08b-40ffa2f08102', 'ip_version': 4, 'cidr': '38.249.152.64/26', 'allocation_pools': [{'start': '38.249.152.66', 'end': '38.249.152.126'}], 'gateway_ip': '38.249.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.249.152.66', 'tags': [], 'project_id': '222dbbbdb8e24329b6482ce0a3d86677'}} 2025-08-20 13:37:54,491 - INFO - Created VN ctest-vn2-13373483 2025-08-20 13:37:54,545 - DEBUG - VN ctest-vn2-13373483 UUID is b3257f99-9c1f-4cd1-a08b-40ffa2f08102 2025-08-20 13:37:54,747 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:37:55,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1) 2025-08-20 13:37:56,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1) 2025-08-20 13:37:56,919 - INFO - Adding interface with subnet_id a1ccb25e-b108-4e44-a589-9b5f3c7083bd, port_id None to router 28c5deb1-c23e-411f-8a35-f18c4878cd47 2025-08-20 13:37:57,212 - INFO - Waiting for VM ctest-vn1-vm1-27064378 to be up.. 2025-08-20 13:37:57,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:38:02,430 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:38:02,430 - INFO - VM name : ctest-vn1-vm1-27064378 2025-08-20 13:38:02,497 - DEBUG - VM ctest-vn1-vm1-27064378 ID is 90aad837-c5a7-4ece-9268-7fe5127ddb45 2025-08-20 13:38:02,514 - DEBUG - VM ctest-vn1-vm1-27064378 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1 2025-08-20 13:38:02,582 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/90aad837-c5a7-4ece-9268-7fe5127ddb45 2025-08-20 13:38:02,874 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/90aad837-c5a7-4ece-9268-7fe5127ddb45 2025-08-20 13:38:02,901 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/28f99f1e-24ef-43bb-adc0-e9dd88895586 2025-08-20 13:38:06,153 - 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-08-20 13:38:06,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27064378 failed! 2025-08-20 13:38:06,209 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-46583128:ctest-vn1-82894991 is 118.29.218.1 and allocation pool is NOT set 2025-08-20 13:38:08,272 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.347 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.347/1.527/2.708/1.180 ms') 2025-08-20 13:38:08,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27064378 passed 2025-08-20 13:38:08,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:38:08,421 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27064378, IP 118.29.218.3, Port 22 2025-08-20 13:38:08,576 - DEBUG - VM ctest-vn1-vm1-27064378 is ready for SSH connections 2025-08-20 13:38:08,576 - INFO - Waiting for VM ctest-vn2-vm1-46716977 to be up.. 2025-08-20 13:38:08,648 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:38:08,648 - INFO - VM name : ctest-vn2-vm1-46716977 2025-08-20 13:38:08,715 - DEBUG - VM ctest-vn2-vm1-46716977 ID is 80bf4cec-26d0-455a-8fc1-16c139fddddd 2025-08-20 13:38:08,715 - DEBUG - VM ctest-vn2-vm1-46716977 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1 2025-08-20 13:38:08,780 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/80bf4cec-26d0-455a-8fc1-16c139fddddd 2025-08-20 13:38:08,788 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/bced3fb8-67b2-4f4d-9cc1-6f1c48b1d208 2025-08-20 13:38:10,022 - 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=2.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.324 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.324/1.455/2.586/1.131 ms') 2025-08-20 13:38:10,022 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-46716977 passed 2025-08-20 13:38:10,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:38:10,177 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-46716977, IP 38.249.152.67, Port 22 2025-08-20 13:38:10,332 - DEBUG - VM ctest-vn2-vm1-46716977 is ready for SSH connections 2025-08-20 13:38:10,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:38:10,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.249.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-20 13:38:10,333 - DEBUG - ping -s 56 -c 3 -W 1 38.249.152.67 2025-08-20 13:38:14,950 - DEBUG - PING 38.249.152.67 (38.249.152.67): 56 data bytes --- 38.249.152.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 13:38:14,950 - WARNING - Ping to IP 38.249.152.67 from VM ctest-vn1-vm1-27064378 failed 2025-08-20 13:38:14,950 - INFO - Adding interface with subnet_id 4912e95c-b83b-479e-b7d1-cdfc39100bf0, port_id None to router 28c5deb1-c23e-411f-8a35-f18c4878cd47 2025-08-20 13:38:15,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:38:15,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.249.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-20 13:38:15,230 - DEBUG - ping -s 56 -c 3 -W 1 38.249.152.67 2025-08-20 13:38:17,424 - DEBUG - PING 38.249.152.67 (38.249.152.67): 56 data bytes 64 bytes from 38.249.152.67: seq=0 ttl=63 time=2.391 ms 64 bytes from 38.249.152.67: seq=1 ttl=63 time=0.694 ms 64 bytes from 38.249.152.67: seq=2 ttl=63 time=0.656 ms --- 38.249.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.656/1.247/2.391 ms 2025-08-20 13:38:17,424 - INFO - Ping to IP 38.249.152.67 from VM ctest-vn1-vm1-27064378 passed 2025-08-20 13:38:17,424 - INFO - Deleting interface with subnet_id a1ccb25e-b108-4e44-a589-9b5f3c7083bd, port_id None from router 28c5deb1-c23e-411f-8a35-f18c4878cd47 2025-08-20 13:38:17,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:38:17,547 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.249.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-20 13:38:17,547 - DEBUG - ping -s 56 -c 3 -W 1 38.249.152.67 2025-08-20 13:38:20,740 - DEBUG - PING 38.249.152.67 (38.249.152.67): 56 data bytes --- 38.249.152.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 13:38:20,740 - WARNING - Ping to IP 38.249.152.67 from VM ctest-vn1-vm1-27064378 failed 2025-08-20 13:38:20,740 - INFO - Adding interface with subnet_id a1ccb25e-b108-4e44-a589-9b5f3c7083bd, port_id None to router 28c5deb1-c23e-411f-8a35-f18c4878cd47 2025-08-20 13:38:20,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:38:20,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.249.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-20 13:38:20,956 - DEBUG - ping -s 56 -c 3 -W 1 38.249.152.67 2025-08-20 13:38:23,146 - DEBUG - PING 38.249.152.67 (38.249.152.67): 56 data bytes 64 bytes from 38.249.152.67: seq=0 ttl=63 time=1.233 ms 64 bytes from 38.249.152.67: seq=1 ttl=63 time=0.791 ms 64 bytes from 38.249.152.67: seq=2 ttl=63 time=0.708 ms --- 38.249.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/0.910/1.233 ms 2025-08-20 13:38:23,146 - INFO - Ping to IP 38.249.152.67 from VM ctest-vn1-vm1-27064378 passed 2025-08-20 13:38:23,146 - INFO - Deleting interface with subnet_id 4912e95c-b83b-479e-b7d1-cdfc39100bf0, port_id None from router 28c5deb1-c23e-411f-8a35-f18c4878cd47 2025-08-20 13:38:23,268 - INFO - Deleting interface with subnet_id a1ccb25e-b108-4e44-a589-9b5f3c7083bd, port_id None from router 28c5deb1-c23e-411f-8a35-f18c4878cd47 2025-08-20 13:38:23,435 - INFO - Deleting VM ctest-vn2-vm1-46716977 2025-08-20 13:38:23,501 - INFO - Deleting VM ctest-vn1-vm1-27064378 2025-08-20 13:38:23,559 - INFO - Deleting VN ctest-vn2-13373483 2025-08-20 13:38:23,592 - DEBUG - VN b3257f99-9c1f-4cd1-a08b-40ffa2f08102 still in use: Unable to complete operation on network b3257f99-9c1f-4cd1-a08b-40ffa2f08102. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ca63627-5d9a-4cff-a241-fb68e3db8aee'] 2025-08-20 13:38:23,592 - WARNING - Deleting VN ctest-vn2-13373483 failed..Will retry 2025-08-20 13:38:25,714 - DEBUG - Response for deleting network () 2025-08-20 13:38:25,714 - INFO - Deleting VN ctest-vn1-82894991 2025-08-20 13:38:25,806 - DEBUG - Response for deleting network () 2025-08-20 13:38:26,064 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 13:38:26,064 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34] 2025-08-20 13:38:26,064 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:38:26,709 - INFO - Deleted project: ctest-TestRouters-46583128, ID : 222dbbbd-b8e2-4329-b648-2ce0a3d86677