2025-07-23 06:23:10,218 - INFO - Domain Default found not creating 2025-07-23 06:23:10,375 - INFO - Project ctest-TestRouters-98444832 not found, creating it 2025-07-23 06:23:10,868 - INFO - Created Project:ctest-TestRouters-98444832, ID : 3c2b9704-14af-4f87-87c7-e1cdb5b7aeb3 2025-07-23 06:23:12,427 - INFO - ================================================================================ 2025-07-23 06:23:12,428 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-23 06:23:12,428 - 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-07-23 06:23:12,687 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-07-23 06:23:12,687 - INFO - Initial checks done. Running the testcase now 2025-07-23 06:23:12,687 - INFO - 2025-07-23 06:23:13,253 - DEBUG - Response for create_network : {'network': {'id': 'bad14e22-aa1c-4d93-bc19-2fe7288fcf12', 'name': 'ctest-vn1-09794622', 'tenant_id': '3c2b970414af4f8787c7e1cdb5b7aeb3', 'project_id': '3c2b970414af4f8787c7e1cdb5b7aeb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-98444832', 'ctest-vn1-09794622'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 06:23:13,436 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6b726a9-3a61-4a12-ad78-be4d5621a325', 'name': '', 'tenant_id': '3c2b970414af4f8787c7e1cdb5b7aeb3', 'network_id': 'bad14e22-aa1c-4d93-bc19-2fe7288fcf12', 'ip_version': 4, 'cidr': '100.58.93.64/26', 'allocation_pools': [{'start': '100.58.93.66', 'end': '100.58.93.126'}], 'gateway_ip': '100.58.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.58.93.66', 'tags': [], 'project_id': '3c2b970414af4f8787c7e1cdb5b7aeb3'}} 2025-07-23 06:23:13,454 - INFO - Created VN ctest-vn1-09794622 2025-07-23 06:23:13,505 - DEBUG - VN ctest-vn1-09794622 UUID is bad14e22-aa1c-4d93-bc19-2fe7288fcf12 2025-07-23 06:23:13,817 - DEBUG - Response for create_network : {'network': {'id': 'c4a192c2-8926-47cd-b743-4d017e33f818', 'name': 'ctest-vn2-38605332', 'tenant_id': '3c2b970414af4f8787c7e1cdb5b7aeb3', 'project_id': '3c2b970414af4f8787c7e1cdb5b7aeb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-98444832', 'ctest-vn2-38605332'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 06:23:13,985 - DEBUG - Response for create_subnet : {'subnet': {'id': '73898073-4226-41ed-b126-5cec9ab12b16', 'name': '', 'tenant_id': '3c2b970414af4f8787c7e1cdb5b7aeb3', 'network_id': 'c4a192c2-8926-47cd-b743-4d017e33f818', 'ip_version': 4, 'cidr': '9.249.75.192/26', 'allocation_pools': [{'start': '9.249.75.194', 'end': '9.249.75.254'}], 'gateway_ip': '9.249.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.249.75.194', 'tags': [], 'project_id': '3c2b970414af4f8787c7e1cdb5b7aeb3'}} 2025-07-23 06:23:14,004 - INFO - Created VN ctest-vn2-38605332 2025-07-23 06:23:14,056 - DEBUG - VN ctest-vn2-38605332 UUID is c4a192c2-8926-47cd-b743-4d017e33f818 2025-07-23 06:23:14,219 - DEBUG - Services list from nova: [, , ] 2025-07-23 06:23:15,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3698-1) 2025-07-23 06:23:16,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3698-1) 2025-07-23 06:23:16,620 - INFO - Adding interface with subnet_id a6b726a9-3a61-4a12-ad78-be4d5621a325, port_id None to router 518d7bb2-19bf-4141-9ca4-505fd952a286 2025-07-23 06:23:16,902 - INFO - Waiting for VM ctest-vn1-vm1-28552129 to be up.. 2025-07-23 06:23:17,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 06:23:22,141 - DEBUG - VM is in ACTIVE state now 2025-07-23 06:23:22,141 - INFO - VM name : ctest-vn1-vm1-28552129 2025-07-23 06:23:22,250 - DEBUG - VM ctest-vn1-vm1-28552129 ID is 28c1966f-f7bf-424e-8237-dbabd4249d2e 2025-07-23 06:23:22,277 - DEBUG - VM ctest-vn1-vm1-28552129 launched on Node cn-jenkins-deploy-platform-ansible-os-3698-1 2025-07-23 06:23:22,383 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/28c1966f-f7bf-424e-8237-dbabd4249d2e 2025-07-23 06:23:22,689 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/28c1966f-f7bf-424e-8237-dbabd4249d2e 2025-07-23 06:23:22,721 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/56f001c8-4bc1-4020-a87a-8af6b132ba83 2025-07-23 06:23:25,987 - 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 1006ms') 2025-07-23 06:23:25,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28552129 failed! 2025-07-23 06:23:26,045 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-98444832:ctest-vn1-09794622 is 100.58.93.65 and allocation pool is NOT set 2025-07-23 06:23:28,106 - 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=3.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.611 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.611/2.271/3.931/1.660 ms') 2025-07-23 06:23:28,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28552129 passed 2025-07-23 06:23:28,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:23:28,261 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28552129, IP 100.58.93.67, Port 22 2025-07-23 06:23:28,417 - DEBUG - VM ctest-vn1-vm1-28552129 is ready for SSH connections 2025-07-23 06:23:28,417 - INFO - Waiting for VM ctest-vn2-vm1-51278236 to be up.. 2025-07-23 06:23:28,496 - DEBUG - VM is in ACTIVE state now 2025-07-23 06:23:28,496 - INFO - VM name : ctest-vn2-vm1-51278236 2025-07-23 06:23:28,573 - DEBUG - VM ctest-vn2-vm1-51278236 ID is 3a27cf34-0037-49a0-8498-16b414f6ab5f 2025-07-23 06:23:28,574 - DEBUG - VM ctest-vn2-vm1-51278236 launched on Node cn-jenkins-deploy-platform-ansible-os-3698-1 2025-07-23 06:23:28,649 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3a27cf34-0037-49a0-8498-16b414f6ab5f 2025-07-23 06:23:28,658 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5ae6b0ce-ce0c-4fb3-8ecd-4c7742bad1ab 2025-07-23 06:23:29,898 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/1.604/2.815/1.210 ms') 2025-07-23 06:23:29,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-51278236 passed 2025-07-23 06:23:30,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:23:30,049 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-51278236, IP 9.249.75.195, Port 22 2025-07-23 06:23:30,215 - DEBUG - VM ctest-vn2-vm1-51278236 is ready for SSH connections 2025-07-23 06:23:30,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:23:30,215 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.249.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-23 06:23:30,215 - DEBUG - ping -s 56 -c 3 -W 1 9.249.75.195 2025-07-23 06:23:35,332 - DEBUG - PING 9.249.75.195 (9.249.75.195): 56 data bytes --- 9.249.75.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 06:23:35,332 - WARNING - Ping to IP 9.249.75.195 from VM ctest-vn1-vm1-28552129 failed 2025-07-23 06:23:35,332 - INFO - Adding interface with subnet_id 73898073-4226-41ed-b126-5cec9ab12b16, port_id None to router 518d7bb2-19bf-4141-9ca4-505fd952a286 2025-07-23 06:23:35,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:23:35,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.249.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-23 06:23:35,626 - DEBUG - ping -s 56 -c 3 -W 1 9.249.75.195 2025-07-23 06:23:38,824 - DEBUG - PING 9.249.75.195 (9.249.75.195): 56 data bytes 64 bytes from 9.249.75.195: seq=1 ttl=63 time=2.541 ms 64 bytes from 9.249.75.195: seq=2 ttl=63 time=0.913 ms --- 9.249.75.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.913/1.727/2.541 ms 2025-07-23 06:23:38,825 - WARNING - Ping to IP 9.249.75.195 from VM ctest-vn1-vm1-28552129 failed 2025-07-23 06:23:39,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.249.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-23 06:23:39,826 - DEBUG - ping -s 56 -c 3 -W 1 9.249.75.195 2025-07-23 06:23:42,027 - DEBUG - PING 9.249.75.195 (9.249.75.195): 56 data bytes 64 bytes from 9.249.75.195: seq=0 ttl=63 time=1.511 ms 64 bytes from 9.249.75.195: seq=1 ttl=63 time=0.960 ms 64 bytes from 9.249.75.195: seq=2 ttl=63 time=0.857 ms --- 9.249.75.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/1.109/1.511 ms 2025-07-23 06:23:42,027 - INFO - Ping to IP 9.249.75.195 from VM ctest-vn1-vm1-28552129 passed 2025-07-23 06:23:42,027 - INFO - Deleting interface with subnet_id a6b726a9-3a61-4a12-ad78-be4d5621a325, port_id None from router 518d7bb2-19bf-4141-9ca4-505fd952a286 2025-07-23 06:23:42,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:23:42,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.249.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-23 06:23:42,171 - DEBUG - ping -s 56 -c 3 -W 1 9.249.75.195 2025-07-23 06:23:45,417 - DEBUG - PING 9.249.75.195 (9.249.75.195): 56 data bytes --- 9.249.75.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 06:23:45,417 - WARNING - Ping to IP 9.249.75.195 from VM ctest-vn1-vm1-28552129 failed 2025-07-23 06:23:45,417 - INFO - Adding interface with subnet_id a6b726a9-3a61-4a12-ad78-be4d5621a325, port_id None to router 518d7bb2-19bf-4141-9ca4-505fd952a286 2025-07-23 06:23:45,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:23:45,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.249.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-23 06:23:45,679 - DEBUG - ping -s 56 -c 3 -W 1 9.249.75.195 2025-07-23 06:23:47,886 - DEBUG - PING 9.249.75.195 (9.249.75.195): 56 data bytes 64 bytes from 9.249.75.195: seq=0 ttl=63 time=1.320 ms 64 bytes from 9.249.75.195: seq=1 ttl=63 time=0.832 ms 64 bytes from 9.249.75.195: seq=2 ttl=63 time=0.992 ms --- 9.249.75.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.048/1.320 ms 2025-07-23 06:23:47,886 - INFO - Ping to IP 9.249.75.195 from VM ctest-vn1-vm1-28552129 passed 2025-07-23 06:23:47,887 - INFO - Deleting interface with subnet_id 73898073-4226-41ed-b126-5cec9ab12b16, port_id None from router 518d7bb2-19bf-4141-9ca4-505fd952a286 2025-07-23 06:23:48,052 - INFO - Deleting interface with subnet_id a6b726a9-3a61-4a12-ad78-be4d5621a325, port_id None from router 518d7bb2-19bf-4141-9ca4-505fd952a286 2025-07-23 06:23:48,281 - INFO - Deleting VM ctest-vn2-vm1-51278236 2025-07-23 06:23:48,380 - INFO - Deleting VM ctest-vn1-vm1-28552129 2025-07-23 06:23:48,473 - INFO - Deleting VN ctest-vn2-38605332 2025-07-23 06:23:48,514 - DEBUG - VN c4a192c2-8926-47cd-b743-4d017e33f818 still in use: Unable to complete operation on network c4a192c2-8926-47cd-b743-4d017e33f818. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed35e203-3e9a-48d1-a76a-6c3456e305b3'] 2025-07-23 06:23:48,514 - WARNING - Deleting VN ctest-vn2-38605332 failed..Will retry 2025-07-23 06:23:50,622 - DEBUG - Response for deleting network () 2025-07-23 06:23:50,622 - INFO - Deleting VN ctest-vn1-09794622 2025-07-23 06:23:50,728 - DEBUG - Response for deleting network () 2025-07-23 06:23:50,987 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 06:23:50,988 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-07-23 06:23:50,988 - INFO - -------------------------------------------------------------------------------- 2025-07-23 06:23:51,701 - INFO - Deleted project: ctest-TestRouters-98444832, ID : 3c2b9704-14af-4f87-87c7-e1cdb5b7aeb3