2025-10-09 13:42:54,422 - INFO - Reading existing Domain with UUID 8ad80d2d-2369-4ab9-896f-7a17fd6c7f55 2025-10-09 13:42:54,434 - INFO - Using existing domain ['admin_domain'](8ad80d2d-2369-4ab9-896f-7a17fd6c7f55) 2025-10-09 13:42:54,653 - INFO - Project ctest-TestRouters-99796359 not found, creating it 2025-10-09 13:42:55,190 - INFO - Created Project:ctest-TestRouters-99796359, ID : e05b63ab-3cf3-475b-9648-1e365ce9503e 2025-10-09 13:42:57,197 - INFO - ================================================================================ 2025-10-09 13:42:57,197 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 13:42:57,197 - 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-09 13:42:57,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2025-10-09 13:42:57,608 - INFO - Initial checks done. Running the testcase now 2025-10-09 13:42:57,609 - INFO - 2025-10-09 13:42:58,475 - DEBUG - Response for create_network : {'network': {'id': '1bbbf0a1-b9c1-4f2a-bf03-0723c42b9ca1', 'name': 'ctest-vn1-79123492', 'tenant_id': 'e05b63ab3cf3475b96481e365ce9503e', 'project_id': 'e05b63ab3cf3475b96481e365ce9503e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-99796359', 'ctest-vn1-79123492'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 13:42:58,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '86e0ab2e-2ca8-4304-82c3-2360098548d4', 'name': '', 'tenant_id': 'e05b63ab3cf3475b96481e365ce9503e', 'network_id': '1bbbf0a1-b9c1-4f2a-bf03-0723c42b9ca1', 'ip_version': 4, 'cidr': '111.36.76.64/26', 'allocation_pools': [{'start': '111.36.76.66', 'end': '111.36.76.126'}], 'gateway_ip': '111.36.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T13:42:58.622507', 'updated_at': '2025-10-09T13:42:58.622507', 'dns_server_address': '111.36.76.66', 'tags': [], 'project_id': 'e05b63ab3cf3475b96481e365ce9503e'}} 2025-10-09 13:42:58,814 - INFO - Created VN ctest-vn1-79123492 2025-10-09 13:42:58,870 - DEBUG - VN ctest-vn1-79123492 UUID is 1bbbf0a1-b9c1-4f2a-bf03-0723c42b9ca1 2025-10-09 13:42:59,429 - DEBUG - Response for create_network : {'network': {'id': 'b03d07cd-492b-4e4d-84da-77f9ee4b06f0', 'name': 'ctest-vn2-28060195', 'tenant_id': 'e05b63ab3cf3475b96481e365ce9503e', 'project_id': 'e05b63ab3cf3475b96481e365ce9503e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-99796359', 'ctest-vn2-28060195'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 13:42:59,700 - DEBUG - Response for create_subnet : {'subnet': {'id': '21a5bb2f-4d67-46d9-9f55-4a5cfb036048', 'name': '', 'tenant_id': 'e05b63ab3cf3475b96481e365ce9503e', 'network_id': 'b03d07cd-492b-4e4d-84da-77f9ee4b06f0', 'ip_version': 4, 'cidr': '75.92.10.0/26', 'allocation_pools': [{'start': '75.92.10.2', 'end': '75.92.10.62'}], 'gateway_ip': '75.92.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T13:42:59.584616', 'updated_at': '2025-10-09T13:42:59.584616', 'dns_server_address': '75.92.10.2', 'tags': [], 'project_id': 'e05b63ab3cf3475b96481e365ce9503e'}} 2025-10-09 13:42:59,769 - INFO - Created VN ctest-vn2-28060195 2025-10-09 13:42:59,822 - DEBUG - VN ctest-vn2-28060195 UUID is b03d07cd-492b-4e4d-84da-77f9ee4b06f0 2025-10-09 13:43:00,127 - DEBUG - Services list from nova: [, , ] 2025-10-09 13:43:01,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-588-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-588-1) 2025-10-09 13:43:02,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-588-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-588-1) 2025-10-09 13:43:02,929 - INFO - Adding interface with subnet_id 86e0ab2e-2ca8-4304-82c3-2360098548d4, port_id None to router de1112f2-130c-42d5-9a8c-eb3ca5f19a2e 2025-10-09 13:43:03,405 - INFO - Waiting for VM ctest-vn1-vm1-79517938 to be up.. 2025-10-09 13:43:03,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 13:43:08,755 - DEBUG - VM is in ACTIVE state now 2025-10-09 13:43:08,756 - INFO - VM name : ctest-vn1-vm1-79517938 2025-10-09 13:43:08,908 - DEBUG - VM ctest-vn1-vm1-79517938 ID is 9859cbfc-ff15-4bab-aed5-c32df104ab0c 2025-10-09 13:43:08,935 - DEBUG - VM ctest-vn1-vm1-79517938 launched on Node cn-jenkins-deploy-platform-juju-os-588-1 2025-10-09 13:43:09,088 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/9859cbfc-ff15-4bab-aed5-c32df104ab0c 2025-10-09 13:43:09,481 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/9859cbfc-ff15-4bab-aed5-c32df104ab0c 2025-10-09 13:43:09,572 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/1c49831d-4681-4be7-844e-1a4bf5cae2ad 2025-10-09 13:43:13,075 - 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 1023ms') 2025-10-09 13:43:13,075 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79517938 failed! 2025-10-09 13:43:13,134 - DEBUG - Gateway for vn admin_domain:ctest-TestRouters-99796359:ctest-vn1-79123492 is 111.36.76.65 and allocation pool is NOT set 2025-10-09 13:43:15,232 - 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=11.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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 = 1.993/6.657/11.321/4.664 ms') 2025-10-09 13:43:15,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79517938 passed 2025-10-09 13:43:15,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:43:15,390 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79517938, IP 111.36.76.67, Port 22 2025-10-09 13:43:15,485 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-09 13:43:15,653 - DEBUG - VM ctest-vn1-vm1-79517938 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 13:43:20,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:43:20,654 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79517938, IP 111.36.76.67, Port 22 2025-10-09 13:43:20,868 - DEBUG - VM ctest-vn1-vm1-79517938 is ready for SSH connections 2025-10-09 13:43:20,869 - INFO - Waiting for VM ctest-vn2-vm1-35353265 to be up.. 2025-10-09 13:43:21,013 - DEBUG - VM is in ACTIVE state now 2025-10-09 13:43:21,013 - INFO - VM name : ctest-vn2-vm1-35353265 2025-10-09 13:43:21,324 - DEBUG - VM ctest-vn2-vm1-35353265 ID is 0e4adfa4-a865-4e10-b4f7-cfab0841fce8 2025-10-09 13:43:21,324 - DEBUG - VM ctest-vn2-vm1-35353265 launched on Node cn-jenkins-deploy-platform-juju-os-588-1 2025-10-09 13:43:21,478 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/0e4adfa4-a865-4e10-b4f7-cfab0841fce8 2025-10-09 13:43:21,535 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/e43e4d9e-72e3-4fb4-bcb5-dc69047bf6f0 2025-10-09 13:43:23,009 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/1.927/3.377/1.449 ms') 2025-10-09 13:43:23,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-35353265 passed 2025-10-09 13:43:23,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:43:23,166 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-35353265, IP 75.92.10.3, Port 22 2025-10-09 13:43:23,385 - DEBUG - VM ctest-vn2-vm1-35353265 is ready for SSH connections 2025-10-09 13:43:23,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:43:23,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.92.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 13:43:23,385 - DEBUG - ping -s 56 -c 3 -W 1 75.92.10.3 2025-10-09 13:43:28,122 - DEBUG - PING 75.92.10.3 (75.92.10.3): 56 data bytes --- 75.92.10.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 13:43:28,122 - WARNING - Ping to IP 75.92.10.3 from VM ctest-vn1-vm1-79517938 failed 2025-10-09 13:43:28,122 - INFO - Adding interface with subnet_id 21a5bb2f-4d67-46d9-9f55-4a5cfb036048, port_id None to router de1112f2-130c-42d5-9a8c-eb3ca5f19a2e 2025-10-09 13:43:28,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:43:28,560 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.92.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 13:43:28,560 - DEBUG - ping -s 56 -c 3 -W 1 75.92.10.3 2025-10-09 13:43:31,798 - DEBUG - PING 75.92.10.3 (75.92.10.3): 56 data bytes 64 bytes from 75.92.10.3: seq=1 ttl=63 time=3.090 ms 64 bytes from 75.92.10.3: seq=2 ttl=63 time=1.131 ms --- 75.92.10.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.131/2.110/3.090 ms 2025-10-09 13:43:31,798 - WARNING - Ping to IP 75.92.10.3 from VM ctest-vn1-vm1-79517938 failed 2025-10-09 13:43:32,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.92.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 13:43:32,799 - DEBUG - ping -s 56 -c 3 -W 1 75.92.10.3 2025-10-09 13:43:35,057 - DEBUG - PING 75.92.10.3 (75.92.10.3): 56 data bytes 64 bytes from 75.92.10.3: seq=0 ttl=63 time=1.887 ms 64 bytes from 75.92.10.3: seq=1 ttl=63 time=1.065 ms 64 bytes from 75.92.10.3: seq=2 ttl=63 time=1.265 ms --- 75.92.10.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.065/1.405/1.887 ms 2025-10-09 13:43:35,057 - INFO - Ping to IP 75.92.10.3 from VM ctest-vn1-vm1-79517938 passed 2025-10-09 13:43:35,058 - INFO - Deleting interface with subnet_id 86e0ab2e-2ca8-4304-82c3-2360098548d4, port_id None from router de1112f2-130c-42d5-9a8c-eb3ca5f19a2e 2025-10-09 13:43:35,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:43:35,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.92.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 13:43:35,322 - DEBUG - ping -s 56 -c 3 -W 1 75.92.10.3 2025-10-09 13:43:38,552 - DEBUG - PING 75.92.10.3 (75.92.10.3): 56 data bytes --- 75.92.10.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 13:43:38,553 - WARNING - Ping to IP 75.92.10.3 from VM ctest-vn1-vm1-79517938 failed 2025-10-09 13:43:38,553 - INFO - Adding interface with subnet_id 86e0ab2e-2ca8-4304-82c3-2360098548d4, port_id None to router de1112f2-130c-42d5-9a8c-eb3ca5f19a2e 2025-10-09 13:43:38,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 13:43:38,945 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.92.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 13:43:38,946 - DEBUG - ping -s 56 -c 3 -W 1 75.92.10.3 2025-10-09 13:43:41,188 - DEBUG - PING 75.92.10.3 (75.92.10.3): 56 data bytes 64 bytes from 75.92.10.3: seq=0 ttl=63 time=1.772 ms 64 bytes from 75.92.10.3: seq=1 ttl=63 time=1.029 ms 64 bytes from 75.92.10.3: seq=2 ttl=63 time=0.940 ms --- 75.92.10.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.940/1.247/1.772 ms 2025-10-09 13:43:41,189 - INFO - Ping to IP 75.92.10.3 from VM ctest-vn1-vm1-79517938 passed 2025-10-09 13:43:41,189 - INFO - Deleting interface with subnet_id 21a5bb2f-4d67-46d9-9f55-4a5cfb036048, port_id None from router de1112f2-130c-42d5-9a8c-eb3ca5f19a2e 2025-10-09 13:43:41,457 - INFO - Deleting interface with subnet_id 86e0ab2e-2ca8-4304-82c3-2360098548d4, port_id None from router de1112f2-130c-42d5-9a8c-eb3ca5f19a2e 2025-10-09 13:43:41,852 - INFO - Deleting VM ctest-vn2-vm1-35353265 2025-10-09 13:43:42,149 - INFO - Deleting VM ctest-vn1-vm1-79517938 2025-10-09 13:43:42,278 - INFO - Deleting VN ctest-vn2-28060195 2025-10-09 13:43:42,427 - DEBUG - VN b03d07cd-492b-4e4d-84da-77f9ee4b06f0 still in use: Unable to complete operation on network b03d07cd-492b-4e4d-84da-77f9ee4b06f0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8168772a-a1e0-47da-9baf-d2721e331d66'] 2025-10-09 13:43:42,427 - WARNING - Deleting VN ctest-vn2-28060195 failed..Will retry 2025-10-09 13:43:44,600 - DEBUG - Response for deleting network () 2025-10-09 13:43:44,601 - INFO - Deleting VN ctest-vn1-79123492 2025-10-09 13:43:44,781 - DEBUG - Response for deleting network () 2025-10-09 13:43:45,180 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 13:43:45,180 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:48] 2025-10-09 13:43:45,180 - INFO - -------------------------------------------------------------------------------- 2025-10-09 13:43:45,983 - INFO - Deleted project: ctest-TestRouters-99796359, ID : e05b63ab-3cf3-475b-9648-1e365ce9503e