2025-08-18 19:22:08,396 - INFO - Domain Default found not creating 2025-08-18 19:22:08,527 - INFO - Project ctest-TestRouters-46133584 not found, creating it 2025-08-18 19:22:08,995 - INFO - Created Project:ctest-TestRouters-46133584, ID : 08ad3948-2945-4451-9989-c28952a0a12a 2025-08-18 19:22:10,367 - INFO - ================================================================================ 2025-08-18 19:22:10,367 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-18 19:22:10,367 - 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-18 19:22:10,623 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-18 19:22:10,623 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:22:10,623 - INFO - 2025-08-18 19:22:11,197 - DEBUG - Response for create_network : {'network': {'id': '54765d32-d5a1-49cc-b78c-f2eb8284f3ef', 'name': 'ctest-vn1-35744672', 'tenant_id': '08ad3948294544519989c28952a0a12a', 'project_id': '08ad3948294544519989c28952a0a12a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-46133584', 'ctest-vn1-35744672'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:22:11,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ea6aac6-080d-457d-905e-d24adb873e10', 'name': '', 'tenant_id': '08ad3948294544519989c28952a0a12a', 'network_id': '54765d32-d5a1-49cc-b78c-f2eb8284f3ef', 'ip_version': 4, 'cidr': '152.26.139.64/26', 'allocation_pools': [{'start': '152.26.139.66', 'end': '152.26.139.126'}], 'gateway_ip': '152.26.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.26.139.66', 'tags': [], 'project_id': '08ad3948294544519989c28952a0a12a'}} 2025-08-18 19:22:11,372 - INFO - Created VN ctest-vn1-35744672 2025-08-18 19:22:11,427 - DEBUG - VN ctest-vn1-35744672 UUID is 54765d32-d5a1-49cc-b78c-f2eb8284f3ef 2025-08-18 19:22:11,742 - DEBUG - Response for create_network : {'network': {'id': 'b9385303-9e83-4a60-a94e-4e20b511ed86', 'name': 'ctest-vn2-72957693', 'tenant_id': '08ad3948294544519989c28952a0a12a', 'project_id': '08ad3948294544519989c28952a0a12a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-46133584', 'ctest-vn2-72957693'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:22:11,930 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b427c2c-3d75-4dc3-b34e-a5582d0f1820', 'name': '', 'tenant_id': '08ad3948294544519989c28952a0a12a', 'network_id': 'b9385303-9e83-4a60-a94e-4e20b511ed86', 'ip_version': 4, 'cidr': '42.147.43.192/26', 'allocation_pools': [{'start': '42.147.43.194', 'end': '42.147.43.254'}], 'gateway_ip': '42.147.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.147.43.194', 'tags': [], 'project_id': '08ad3948294544519989c28952a0a12a'}} 2025-08-18 19:22:11,947 - INFO - Created VN ctest-vn2-72957693 2025-08-18 19:22:11,999 - DEBUG - VN ctest-vn2-72957693 UUID is b9385303-9e83-4a60-a94e-4e20b511ed86 2025-08-18 19:22:12,199 - DEBUG - Services list from nova: [, , ] 2025-08-18 19:22:13,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3880-1) 2025-08-18 19:22:14,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3880-1) 2025-08-18 19:22:14,355 - INFO - Adding interface with subnet_id 1ea6aac6-080d-457d-905e-d24adb873e10, port_id None to router 724ead10-1f98-4c61-a9d1-04be6971efd3 2025-08-18 19:22:14,599 - INFO - Waiting for VM ctest-vn1-vm1-19581078 to be up.. 2025-08-18 19:22:14,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 19:22:19,747 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:22:19,748 - INFO - VM name : ctest-vn1-vm1-19581078 2025-08-18 19:22:19,816 - DEBUG - VM ctest-vn1-vm1-19581078 ID is f7b20a91-63b2-4a62-b74e-4919d22a27d6 2025-08-18 19:22:19,832 - DEBUG - VM ctest-vn1-vm1-19581078 launched on Node cn-jenkins-deploy-platform-ansible-os-3880-1. 2025-08-18 19:22:19,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f7b20a91-63b2-4a62-b74e-4919d22a27d6 2025-08-18 19:22:20,185 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f7b20a91-63b2-4a62-b74e-4919d22a27d6 2025-08-18 19:22:20,212 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/79ac7393-1a46-4384-b285-1b945edb6717 2025-08-18 19:22:23,451 - 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 1012ms') 2025-08-18 19:22:23,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19581078 failed! 2025-08-18 19:22:23,507 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-46133584:ctest-vn1-35744672 is 152.26.139.65 and allocation pool is NOT set 2025-08-18 19:22:25,563 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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.426/1.549/2.672/1.123 ms') 2025-08-18 19:22:25,564 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19581078 passed 2025-08-18 19:22:25,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:25,715 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19581078, IP 152.26.139.67, Port 22 2025-08-18 19:22:25,870 - DEBUG - VM ctest-vn1-vm1-19581078 is ready for SSH connections 2025-08-18 19:22:25,870 - INFO - Waiting for VM ctest-vn2-vm1-18275228 to be up.. 2025-08-18 19:22:25,936 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:22:25,936 - INFO - VM name : ctest-vn2-vm1-18275228 2025-08-18 19:22:26,006 - DEBUG - VM ctest-vn2-vm1-18275228 ID is b2028dbc-13f2-4e49-a95a-abbe26843f73 2025-08-18 19:22:26,007 - DEBUG - VM ctest-vn2-vm1-18275228 launched on Node cn-jenkins-deploy-platform-ansible-os-3880-1. 2025-08-18 19:22:26,069 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b2028dbc-13f2-4e49-a95a-abbe26843f73 2025-08-18 19:22:26,077 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d100a36e-5237-4895-885f-dbd215179247 2025-08-18 19:22:27,310 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.312 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.312/1.716/3.120/1.404 ms') 2025-08-18 19:22:27,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-18275228 passed 2025-08-18 19:22:27,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:27,459 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-18275228, IP 42.147.43.195, Port 22 2025-08-18 19:22:27,610 - DEBUG - VM ctest-vn2-vm1-18275228 is ready for SSH connections 2025-08-18 19:22:27,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:27,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.147.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:22:27,610 - DEBUG - ping -s 56 -c 3 -W 1 42.147.43.195 2025-08-18 19:22:32,248 - DEBUG - PING 42.147.43.195 (42.147.43.195): 56 data bytes --- 42.147.43.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 19:22:32,248 - WARNING - Ping to IP 42.147.43.195 from VM ctest-vn1-vm1-19581078 failed 2025-08-18 19:22:32,248 - INFO - Adding interface with subnet_id 2b427c2c-3d75-4dc3-b34e-a5582d0f1820, port_id None to router 724ead10-1f98-4c61-a9d1-04be6971efd3 2025-08-18 19:22:32,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:32,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.147.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:22:32,483 - DEBUG - ping -s 56 -c 3 -W 1 42.147.43.195 2025-08-18 19:22:34,685 - DEBUG - PING 42.147.43.195 (42.147.43.195): 56 data bytes 64 bytes from 42.147.43.195: seq=0 ttl=63 time=2.417 ms 64 bytes from 42.147.43.195: seq=1 ttl=63 time=0.745 ms 64 bytes from 42.147.43.195: seq=2 ttl=63 time=0.654 ms --- 42.147.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.654/1.272/2.417 ms 2025-08-18 19:22:34,686 - INFO - Ping to IP 42.147.43.195 from VM ctest-vn1-vm1-19581078 passed 2025-08-18 19:22:34,686 - INFO - Deleting interface with subnet_id 1ea6aac6-080d-457d-905e-d24adb873e10, port_id None from router 724ead10-1f98-4c61-a9d1-04be6971efd3 2025-08-18 19:22:34,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:34,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.147.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:22:34,797 - DEBUG - ping -s 56 -c 3 -W 1 42.147.43.195 2025-08-18 19:22:37,986 - DEBUG - PING 42.147.43.195 (42.147.43.195): 56 data bytes --- 42.147.43.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 19:22:37,987 - WARNING - Ping to IP 42.147.43.195 from VM ctest-vn1-vm1-19581078 failed 2025-08-18 19:22:37,987 - INFO - Adding interface with subnet_id 1ea6aac6-080d-457d-905e-d24adb873e10, port_id None to router 724ead10-1f98-4c61-a9d1-04be6971efd3 2025-08-18 19:22:38,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:22:38,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.147.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:22:38,200 - DEBUG - ping -s 56 -c 3 -W 1 42.147.43.195 2025-08-18 19:22:41,400 - DEBUG - PING 42.147.43.195 (42.147.43.195): 56 data bytes 64 bytes from 42.147.43.195: seq=1 ttl=63 time=1.287 ms 64 bytes from 42.147.43.195: seq=2 ttl=63 time=0.669 ms --- 42.147.43.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.669/0.978/1.287 ms 2025-08-18 19:22:41,400 - WARNING - Ping to IP 42.147.43.195 from VM ctest-vn1-vm1-19581078 failed 2025-08-18 19:22:42,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.147.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:22:42,401 - DEBUG - ping -s 56 -c 3 -W 1 42.147.43.195 2025-08-18 19:22:44,589 - DEBUG - PING 42.147.43.195 (42.147.43.195): 56 data bytes 64 bytes from 42.147.43.195: seq=0 ttl=63 time=1.320 ms 64 bytes from 42.147.43.195: seq=1 ttl=63 time=0.844 ms 64 bytes from 42.147.43.195: seq=2 ttl=63 time=0.680 ms --- 42.147.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.680/0.948/1.320 ms 2025-08-18 19:22:44,589 - INFO - Ping to IP 42.147.43.195 from VM ctest-vn1-vm1-19581078 passed 2025-08-18 19:22:44,589 - INFO - Deleting interface with subnet_id 2b427c2c-3d75-4dc3-b34e-a5582d0f1820, port_id None from router 724ead10-1f98-4c61-a9d1-04be6971efd3 2025-08-18 19:22:44,697 - INFO - Deleting interface with subnet_id 1ea6aac6-080d-457d-905e-d24adb873e10, port_id None from router 724ead10-1f98-4c61-a9d1-04be6971efd3 2025-08-18 19:22:44,855 - INFO - Deleting VM ctest-vn2-vm1-18275228 2025-08-18 19:22:44,917 - INFO - Deleting VM ctest-vn1-vm1-19581078 2025-08-18 19:22:44,980 - INFO - Deleting VN ctest-vn2-72957693 2025-08-18 19:22:45,023 - DEBUG - VN b9385303-9e83-4a60-a94e-4e20b511ed86 still in use: Unable to complete operation on network b9385303-9e83-4a60-a94e-4e20b511ed86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-447602d2-4e4f-43c5-bf18-4f5298edc067'] 2025-08-18 19:22:45,023 - WARNING - Deleting VN ctest-vn2-72957693 failed..Will retry 2025-08-18 19:22:47,131 - DEBUG - Response for deleting network () 2025-08-18 19:22:47,131 - INFO - Deleting VN ctest-vn1-35744672 2025-08-18 19:22:47,235 - DEBUG - Response for deleting network () 2025-08-18 19:22:47,491 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 19:22:47,491 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-18 19:22:47,491 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:22:48,254 - INFO - Deleted project: ctest-TestRouters-46133584, ID : 08ad3948-2945-4451-9989-c28952a0a12a