2025-12-15 02:23:25,997 - INFO - Domain Default found not creating 2025-12-15 02:23:26,189 - INFO - Project ctest-TestRouters-83838569 not found, creating it 2025-12-15 02:23:26,735 - INFO - Created Project:ctest-TestRouters-83838569, ID : 6ec5bd63-61d7-49c4-9d46-0ce1366ecdcf 2025-12-15 02:23:28,553 - INFO - ================================================================================ 2025-12-15 02:23:28,553 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-15 02:23:28,553 - 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-12-15 02:23:28,831 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.241': '0'}} with 2025-12-15 02:23:28,831 - INFO - Initial checks done. Running the testcase now 2025-12-15 02:23:28,831 - INFO - 2025-12-15 02:23:29,578 - DEBUG - Response for create_network : {'network': {'id': '20f40a12-263e-46d6-a656-c0817e06912e', 'name': 'ctest-vn1-80810578', 'tenant_id': '6ec5bd6361d749c49d460ce1366ecdcf', 'project_id': '6ec5bd6361d749c49d460ce1366ecdcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83838569', 'ctest-vn1-80810578'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:23:29,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dda79e24-ccd6-4d1d-b6e4-670a6355e447', 'name': '', 'tenant_id': '6ec5bd6361d749c49d460ce1366ecdcf', 'network_id': '20f40a12-263e-46d6-a656-c0817e06912e', 'ip_version': 4, 'cidr': '135.16.116.0/26', 'allocation_pools': [{'start': '135.16.116.2', 'end': '135.16.116.62'}], 'gateway_ip': '135.16.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.16.116.2', 'tags': [], 'project_id': '6ec5bd6361d749c49d460ce1366ecdcf'}} 2025-12-15 02:23:29,830 - INFO - Created VN ctest-vn1-80810578 2025-12-15 02:23:29,890 - DEBUG - VN ctest-vn1-80810578 UUID is 20f40a12-263e-46d6-a656-c0817e06912e 2025-12-15 02:23:30,212 - DEBUG - Response for create_network : {'network': {'id': '8f50ba17-9af5-419d-8731-09b2691198f8', 'name': 'ctest-vn2-22152725', 'tenant_id': '6ec5bd6361d749c49d460ce1366ecdcf', 'project_id': '6ec5bd6361d749c49d460ce1366ecdcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83838569', 'ctest-vn2-22152725'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:23:30,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '4969062b-7edb-4fc2-a63a-d95c9e36a5bf', 'name': '', 'tenant_id': '6ec5bd6361d749c49d460ce1366ecdcf', 'network_id': '8f50ba17-9af5-419d-8731-09b2691198f8', 'ip_version': 4, 'cidr': '184.94.243.192/26', 'allocation_pools': [{'start': '184.94.243.194', 'end': '184.94.243.254'}], 'gateway_ip': '184.94.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.94.243.194', 'tags': [], 'project_id': '6ec5bd6361d749c49d460ce1366ecdcf'}} 2025-12-15 02:23:30,445 - INFO - Created VN ctest-vn2-22152725 2025-12-15 02:23:30,498 - DEBUG - VN ctest-vn2-22152725 UUID is 8f50ba17-9af5-419d-8731-09b2691198f8 2025-12-15 02:23:30,687 - DEBUG - Services list from nova: [, , ] 2025-12-15 02:23:31,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4891-1) 2025-12-15 02:23:33,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4891-1) 2025-12-15 02:23:33,368 - INFO - Adding interface with subnet_id dda79e24-ccd6-4d1d-b6e4-670a6355e447, port_id None to router c5bbeaac-eabd-4b75-8e7f-4b0bdeeb65c9 2025-12-15 02:23:33,734 - INFO - Waiting for VM ctest-vn1-vm1-90374776 to be up.. 2025-12-15 02:23:33,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 02:23:38,963 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:23:38,963 - INFO - VM name : ctest-vn1-vm1-90374776 2025-12-15 02:23:39,056 - DEBUG - VM ctest-vn1-vm1-90374776 ID is 0eb23f4f-1209-4ef1-bbd5-ced041d7e1fd 2025-12-15 02:23:39,081 - DEBUG - VM ctest-vn1-vm1-90374776 launched on Node cn-jenkins-deploy-platform-ansible-os-4891-1 2025-12-15 02:23:39,179 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/0eb23f4f-1209-4ef1-bbd5-ced041d7e1fd 2025-12-15 02:23:39,515 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/0eb23f4f-1209-4ef1-bbd5-ced041d7e1fd 2025-12-15 02:23:39,555 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/54ef3316-d7ce-4c19-af9f-af683a09946a 2025-12-15 02:23:42,838 - 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 1025ms') 2025-12-15 02:23:42,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90374776 failed! 2025-12-15 02:23:42,902 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-83838569:ctest-vn1-80810578 is 135.16.116.1 and allocation pool is NOT set 2025-12-15 02:23:44,966 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.938 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.938/2.546/4.154/1.608 ms') 2025-12-15 02:23:44,967 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90374776 passed 2025-12-15 02:23:45,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:23:45,138 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90374776, IP 135.16.116.3, Port 22 2025-12-15 02:23:45,316 - DEBUG - VM ctest-vn1-vm1-90374776 is ready for SSH connections 2025-12-15 02:23:45,316 - INFO - Waiting for VM ctest-vn2-vm1-91586199 to be up.. 2025-12-15 02:23:45,420 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:23:45,420 - INFO - VM name : ctest-vn2-vm1-91586199 2025-12-15 02:23:45,522 - DEBUG - VM ctest-vn2-vm1-91586199 ID is cd3df7ab-4e16-4acc-ad2a-7438b5542041 2025-12-15 02:23:45,522 - DEBUG - VM ctest-vn2-vm1-91586199 launched on Node cn-jenkins-deploy-platform-ansible-os-4891-1 2025-12-15 02:23:45,622 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/cd3df7ab-4e16-4acc-ad2a-7438b5542041 2025-12-15 02:23:45,634 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/f684b2b6-cb8c-4d36-805e-5d5c602c8be6 2025-12-15 02:23:46,888 - 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=6.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.22 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 = 2.216/4.303/6.391/2.087 ms') 2025-12-15 02:23:46,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-91586199 passed 2025-12-15 02:23:47,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:23:47,003 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-91586199, IP 184.94.243.195, Port 22 2025-12-15 02:23:47,071 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 02:23:47,159 - DEBUG - VM ctest-vn2-vm1-91586199 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 02:23:52,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:23:52,161 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-91586199, IP 184.94.243.195, Port 22 2025-12-15 02:23:52,333 - DEBUG - VM ctest-vn2-vm1-91586199 is ready for SSH connections 2025-12-15 02:23:52,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:23:52,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.94.243.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-15 02:23:52,334 - DEBUG - ping -s 56 -c 3 -W 1 184.94.243.195 2025-12-15 02:23:57,540 - DEBUG - PING 184.94.243.195 (184.94.243.195): 56 data bytes --- 184.94.243.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-15 02:23:57,540 - WARNING - Ping to IP 184.94.243.195 from VM ctest-vn1-vm1-90374776 failed 2025-12-15 02:23:57,540 - INFO - Adding interface with subnet_id 4969062b-7edb-4fc2-a63a-d95c9e36a5bf, port_id None to router c5bbeaac-eabd-4b75-8e7f-4b0bdeeb65c9 2025-12-15 02:23:57,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:23:57,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.94.243.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-15 02:23:57,838 - DEBUG - ping -s 56 -c 3 -W 1 184.94.243.195 2025-12-15 02:24:00,086 - DEBUG - PING 184.94.243.195 (184.94.243.195): 56 data bytes 64 bytes from 184.94.243.195: seq=0 ttl=63 time=4.461 ms 64 bytes from 184.94.243.195: seq=1 ttl=63 time=1.082 ms 64 bytes from 184.94.243.195: seq=2 ttl=63 time=1.259 ms --- 184.94.243.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.082/2.267/4.461 ms 2025-12-15 02:24:00,086 - INFO - Ping to IP 184.94.243.195 from VM ctest-vn1-vm1-90374776 passed 2025-12-15 02:24:00,086 - INFO - Deleting interface with subnet_id dda79e24-ccd6-4d1d-b6e4-670a6355e447, port_id None from router c5bbeaac-eabd-4b75-8e7f-4b0bdeeb65c9 2025-12-15 02:24:00,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:24:00,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.94.243.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-15 02:24:00,232 - DEBUG - ping -s 56 -c 3 -W 1 184.94.243.195 2025-12-15 02:24:03,488 - DEBUG - PING 184.94.243.195 (184.94.243.195): 56 data bytes --- 184.94.243.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-15 02:24:03,489 - WARNING - Ping to IP 184.94.243.195 from VM ctest-vn1-vm1-90374776 failed 2025-12-15 02:24:03,489 - INFO - Adding interface with subnet_id dda79e24-ccd6-4d1d-b6e4-670a6355e447, port_id None to router c5bbeaac-eabd-4b75-8e7f-4b0bdeeb65c9 2025-12-15 02:24:03,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:24:03,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.94.243.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-15 02:24:03,800 - DEBUG - ping -s 56 -c 3 -W 1 184.94.243.195 2025-12-15 02:24:06,056 - DEBUG - PING 184.94.243.195 (184.94.243.195): 56 data bytes 64 bytes from 184.94.243.195: seq=0 ttl=63 time=1.980 ms 64 bytes from 184.94.243.195: seq=1 ttl=63 time=1.488 ms 64 bytes from 184.94.243.195: seq=2 ttl=63 time=1.338 ms --- 184.94.243.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.338/1.602/1.980 ms 2025-12-15 02:24:06,056 - INFO - Ping to IP 184.94.243.195 from VM ctest-vn1-vm1-90374776 passed 2025-12-15 02:24:06,057 - INFO - Deleting interface with subnet_id 4969062b-7edb-4fc2-a63a-d95c9e36a5bf, port_id None from router c5bbeaac-eabd-4b75-8e7f-4b0bdeeb65c9 2025-12-15 02:24:06,287 - INFO - Deleting interface with subnet_id dda79e24-ccd6-4d1d-b6e4-670a6355e447, port_id None from router c5bbeaac-eabd-4b75-8e7f-4b0bdeeb65c9 2025-12-15 02:24:06,533 - INFO - Deleting VM ctest-vn2-vm1-91586199 2025-12-15 02:24:06,642 - INFO - Deleting VM ctest-vn1-vm1-90374776 2025-12-15 02:24:06,736 - INFO - Deleting VN ctest-vn2-22152725 2025-12-15 02:24:06,787 - DEBUG - VN 8f50ba17-9af5-419d-8731-09b2691198f8 still in use: Unable to complete operation on network 8f50ba17-9af5-419d-8731-09b2691198f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d818335a-62a8-4562-899d-2c18316e223a'] 2025-12-15 02:24:06,787 - WARNING - Deleting VN ctest-vn2-22152725 failed..Will retry 2025-12-15 02:24:08,921 - DEBUG - Response for deleting network () 2025-12-15 02:24:08,921 - INFO - Deleting VN ctest-vn1-80810578 2025-12-15 02:24:09,054 - DEBUG - Response for deleting network () 2025-12-15 02:24:09,326 - DEBUG - No XMPP flaps were noticed during the test
2025-12-15 02:24:09,326 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41]
2025-12-15 02:24:09,326 - INFO - -------------------------------------------------------------------------------- 2025-12-15 02:24:10,158 - INFO - Deleted project: ctest-TestRouters-83838569, ID : 6ec5bd63-61d7-49c4-9d46-0ce1366ecdcf