2025-10-15 19:37:51,790 - INFO - Domain Default found not creating 2025-10-15 19:37:51,956 - INFO - Project ctest-TestRouters-43178215 not found, creating it 2025-10-15 19:37:52,419 - INFO - Created Project:ctest-TestRouters-43178215, ID : d899714f-0f30-42ee-907e-3b46a1202029 2025-10-15 19:37:53,982 - INFO - ================================================================================ 2025-10-15 19:37:53,983 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-15 19:37:53,983 - 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-15 19:37:54,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-10-15 19:37:54,236 - INFO - Initial checks done. Running the testcase now 2025-10-15 19:37:54,236 - INFO - 2025-10-15 19:37:54,796 - DEBUG - Response for create_network : {'network': {'id': 'c4dc6422-a7fb-4443-ac11-844c7cec58b4', 'name': 'ctest-vn1-70851280', 'tenant_id': 'd899714f0f3042ee907e3b46a1202029', 'project_id': 'd899714f0f3042ee907e3b46a1202029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43178215', 'ctest-vn1-70851280'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:37:55,016 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba7dca1f-a77f-42cb-b483-051828e0b550', 'name': '', 'tenant_id': 'd899714f0f3042ee907e3b46a1202029', 'network_id': 'c4dc6422-a7fb-4443-ac11-844c7cec58b4', 'ip_version': 4, 'cidr': '142.178.38.0/26', 'allocation_pools': [{'start': '142.178.38.2', 'end': '142.178.38.62'}], 'gateway_ip': '142.178.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.178.38.2', 'tags': [], 'project_id': 'd899714f0f3042ee907e3b46a1202029'}} 2025-10-15 19:37:55,038 - INFO - Created VN ctest-vn1-70851280 2025-10-15 19:37:55,098 - DEBUG - VN ctest-vn1-70851280 UUID is c4dc6422-a7fb-4443-ac11-844c7cec58b4 2025-10-15 19:37:55,442 - DEBUG - Response for create_network : {'network': {'id': 'dcec9f22-695c-42cc-8da6-e7d90d2ee08f', 'name': 'ctest-vn2-17493792', 'tenant_id': 'd899714f0f3042ee907e3b46a1202029', 'project_id': 'd899714f0f3042ee907e3b46a1202029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43178215', 'ctest-vn2-17493792'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:37:55,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af82a60c-3a6e-457d-83c0-302597158c8c', 'name': '', 'tenant_id': 'd899714f0f3042ee907e3b46a1202029', 'network_id': 'dcec9f22-695c-42cc-8da6-e7d90d2ee08f', 'ip_version': 4, 'cidr': '30.172.6.192/26', 'allocation_pools': [{'start': '30.172.6.194', 'end': '30.172.6.254'}], 'gateway_ip': '30.172.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.172.6.194', 'tags': [], 'project_id': 'd899714f0f3042ee907e3b46a1202029'}} 2025-10-15 19:37:55,659 - INFO - Created VN ctest-vn2-17493792 2025-10-15 19:37:55,714 - DEBUG - VN ctest-vn2-17493792 UUID is dcec9f22-695c-42cc-8da6-e7d90d2ee08f 2025-10-15 19:37:55,882 - DEBUG - Services list from nova: [, , ] 2025-10-15 19:37:57,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4335-1) 2025-10-15 19:37:58,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4335-1) 2025-10-15 19:37:58,515 - INFO - Adding interface with subnet_id ba7dca1f-a77f-42cb-b483-051828e0b550, port_id None to router 2861794a-0be0-44b6-a443-99eb884a5504 2025-10-15 19:37:58,793 - INFO - Waiting for VM ctest-vn1-vm1-33438262 to be up.. 2025-10-15 19:37:58,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 19:38:03,987 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:38:03,987 - INFO - VM name : ctest-vn1-vm1-33438262 2025-10-15 19:38:04,075 - DEBUG - VM ctest-vn1-vm1-33438262 ID is 001d4dbb-48df-4708-9600-c612f29629bd 2025-10-15 19:38:04,096 - DEBUG - VM ctest-vn1-vm1-33438262 launched on Node cn-jenkins-deploy-platform-ansible-os-4335-1 2025-10-15 19:38:04,176 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/001d4dbb-48df-4708-9600-c612f29629bd 2025-10-15 19:38:04,493 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/001d4dbb-48df-4708-9600-c612f29629bd 2025-10-15 19:38:04,524 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/92678b59-1a1a-408b-83be-c6d2eb05f1ed 2025-10-15 19:38:07,764 - 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-10-15 19:38:07,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33438262 failed! 2025-10-15 19:38:07,818 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-43178215:ctest-vn1-70851280 is 142.178.38.1 and allocation pool is NOT set 2025-10-15 19:38:09,895 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/2.332/4.217/1.884 ms') 2025-10-15 19:38:09,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33438262 passed 2025-10-15 19:38:10,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:10,042 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33438262, IP 142.178.38.3, Port 22 2025-10-15 19:38:10,203 - DEBUG - VM ctest-vn1-vm1-33438262 is ready for SSH connections 2025-10-15 19:38:10,203 - INFO - Waiting for VM ctest-vn2-vm1-14644833 to be up.. 2025-10-15 19:38:10,283 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:38:10,283 - INFO - VM name : ctest-vn2-vm1-14644833 2025-10-15 19:38:10,362 - DEBUG - VM ctest-vn2-vm1-14644833 ID is d5b3ceb4-b22d-4b5a-9595-ed8121191715 2025-10-15 19:38:10,362 - DEBUG - VM ctest-vn2-vm1-14644833 launched on Node cn-jenkins-deploy-platform-ansible-os-4335-1 2025-10-15 19:38:10,443 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d5b3ceb4-b22d-4b5a-9595-ed8121191715 2025-10-15 19:38:10,451 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/11568f55-74c5-4354-8fbe-76e133bae3d9 2025-10-15 19:38:11,683 - 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=9.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/4.864/9.240/4.376 ms') 2025-10-15 19:38:11,685 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-14644833 passed 2025-10-15 19:38:11,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:11,842 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14644833, IP 30.172.6.195, Port 22 2025-10-15 19:38:12,014 - DEBUG - VM ctest-vn2-vm1-14644833 is ready for SSH connections 2025-10-15 19:38:12,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:12,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.172.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:38:12,014 - DEBUG - ping -s 56 -c 3 -W 1 30.172.6.195 2025-10-15 19:38:17,008 - DEBUG - PING 30.172.6.195 (30.172.6.195): 56 data bytes --- 30.172.6.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 19:38:17,009 - WARNING - Ping to IP 30.172.6.195 from VM ctest-vn1-vm1-33438262 failed 2025-10-15 19:38:17,009 - INFO - Adding interface with subnet_id af82a60c-3a6e-457d-83c0-302597158c8c, port_id None to router 2861794a-0be0-44b6-a443-99eb884a5504 2025-10-15 19:38:17,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:17,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.172.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:38:17,277 - DEBUG - ping -s 56 -c 3 -W 1 30.172.6.195 2025-10-15 19:38:20,497 - DEBUG - PING 30.172.6.195 (30.172.6.195): 56 data bytes 64 bytes from 30.172.6.195: seq=1 ttl=63 time=3.064 ms 64 bytes from 30.172.6.195: seq=2 ttl=63 time=1.104 ms --- 30.172.6.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.104/2.084/3.064 ms 2025-10-15 19:38:20,497 - WARNING - Ping to IP 30.172.6.195 from VM ctest-vn1-vm1-33438262 failed 2025-10-15 19:38:21,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.172.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:38:21,498 - DEBUG - ping -s 56 -c 3 -W 1 30.172.6.195 2025-10-15 19:38:23,719 - DEBUG - PING 30.172.6.195 (30.172.6.195): 56 data bytes 64 bytes from 30.172.6.195: seq=0 ttl=63 time=1.763 ms 64 bytes from 30.172.6.195: seq=1 ttl=63 time=0.834 ms 64 bytes from 30.172.6.195: seq=2 ttl=63 time=0.874 ms --- 30.172.6.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.157/1.763 ms 2025-10-15 19:38:23,719 - INFO - Ping to IP 30.172.6.195 from VM ctest-vn1-vm1-33438262 passed 2025-10-15 19:38:23,719 - INFO - Deleting interface with subnet_id ba7dca1f-a77f-42cb-b483-051828e0b550, port_id None from router 2861794a-0be0-44b6-a443-99eb884a5504 2025-10-15 19:38:23,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:23,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.172.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:38:23,852 - DEBUG - ping -s 56 -c 3 -W 1 30.172.6.195 2025-10-15 19:38:27,072 - DEBUG - PING 30.172.6.195 (30.172.6.195): 56 data bytes --- 30.172.6.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 19:38:27,072 - WARNING - Ping to IP 30.172.6.195 from VM ctest-vn1-vm1-33438262 failed 2025-10-15 19:38:27,072 - INFO - Adding interface with subnet_id ba7dca1f-a77f-42cb-b483-051828e0b550, port_id None to router 2861794a-0be0-44b6-a443-99eb884a5504 2025-10-15 19:38:27,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:27,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.172.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:38:27,310 - DEBUG - ping -s 56 -c 3 -W 1 30.172.6.195 2025-10-15 19:38:29,519 - DEBUG - PING 30.172.6.195 (30.172.6.195): 56 data bytes 64 bytes from 30.172.6.195: seq=0 ttl=63 time=1.779 ms 64 bytes from 30.172.6.195: seq=1 ttl=63 time=0.941 ms 64 bytes from 30.172.6.195: seq=2 ttl=63 time=1.140 ms --- 30.172.6.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/1.286/1.779 ms 2025-10-15 19:38:29,519 - INFO - Ping to IP 30.172.6.195 from VM ctest-vn1-vm1-33438262 passed 2025-10-15 19:38:29,519 - INFO - Deleting interface with subnet_id af82a60c-3a6e-457d-83c0-302597158c8c, port_id None from router 2861794a-0be0-44b6-a443-99eb884a5504 2025-10-15 19:38:29,646 - INFO - Deleting interface with subnet_id ba7dca1f-a77f-42cb-b483-051828e0b550, port_id None from router 2861794a-0be0-44b6-a443-99eb884a5504 2025-10-15 19:38:29,863 - INFO - Deleting VM ctest-vn2-vm1-14644833 2025-10-15 19:38:29,944 - INFO - Deleting VM ctest-vn1-vm1-33438262 2025-10-15 19:38:30,023 - INFO - Deleting VN ctest-vn2-17493792 2025-10-15 19:38:30,061 - DEBUG - VN dcec9f22-695c-42cc-8da6-e7d90d2ee08f still in use: Unable to complete operation on network dcec9f22-695c-42cc-8da6-e7d90d2ee08f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45457332-99d9-41e5-b4d5-423baf1f5ee9'] 2025-10-15 19:38:30,062 - WARNING - Deleting VN ctest-vn2-17493792 failed..Will retry 2025-10-15 19:38:32,170 - DEBUG - Response for deleting network () 2025-10-15 19:38:32,170 - INFO - Deleting VN ctest-vn1-70851280 2025-10-15 19:38:32,283 - DEBUG - Response for deleting network () 2025-10-15 19:38:32,538 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 19:38:32,539 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-15 19:38:32,539 - INFO - -------------------------------------------------------------------------------- 2025-10-15 19:38:33,226 - INFO - Deleted project: ctest-TestRouters-43178215, ID : d899714f-0f30-42ee-907e-3b46a1202029