2025-08-15 09:45:45,768 - INFO - Domain Default found not creating 2025-08-15 09:45:45,897 - INFO - Project ctest-TestRouters-38525967 not found, creating it 2025-08-15 09:45:46,366 - INFO - Created Project:ctest-TestRouters-38525967, ID : 49977ced-2c14-471e-ab40-8475536909d4 2025-08-15 09:45:47,711 - INFO - ================================================================================ 2025-08-15 09:45:47,711 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-15 09:45:47,711 - 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-15 09:45:48,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2025-08-15 09:45:48,985 - INFO - Initial checks done. Running the testcase now 2025-08-15 09:45:48,985 - INFO - 2025-08-15 09:45:49,630 - DEBUG - Response for create_network : {'network': {'id': '0a48ad5d-ad08-4bc7-8790-0bb84ae55b7b', 'name': 'ctest-vn1-73557619', 'tenant_id': '49977ced2c14471eab408475536909d4', 'project_id': '49977ced2c14471eab408475536909d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38525967', 'ctest-vn1-73557619'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:45:49,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cfd0a3e-951a-4bf1-8274-ea34dd01e842', 'name': '', 'tenant_id': '49977ced2c14471eab408475536909d4', 'network_id': '0a48ad5d-ad08-4bc7-8790-0bb84ae55b7b', 'ip_version': 4, 'cidr': '170.185.218.64/26', 'allocation_pools': [{'start': '170.185.218.66', 'end': '170.185.218.126'}], 'gateway_ip': '170.185.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.185.218.66', 'tags': [], 'project_id': '49977ced2c14471eab408475536909d4'}} 2025-08-15 09:45:49,898 - INFO - Created VN ctest-vn1-73557619 2025-08-15 09:45:49,908 - DEBUG - VN ctest-vn1-73557619 UUID is 0a48ad5d-ad08-4bc7-8790-0bb84ae55b7b 2025-08-15 09:45:50,310 - DEBUG - Response for create_network : {'network': {'id': 'd1f01569-c7db-491e-9b9d-bc74c15f1093', 'name': 'ctest-vn2-96228581', 'tenant_id': '49977ced2c14471eab408475536909d4', 'project_id': '49977ced2c14471eab408475536909d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38525967', 'ctest-vn2-96228581'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:45:50,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '85cfab89-d6a4-4dbf-ab23-422d880c079e', 'name': '', 'tenant_id': '49977ced2c14471eab408475536909d4', 'network_id': 'd1f01569-c7db-491e-9b9d-bc74c15f1093', 'ip_version': 4, 'cidr': '43.155.161.128/26', 'allocation_pools': [{'start': '43.155.161.130', 'end': '43.155.161.190'}], 'gateway_ip': '43.155.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.155.161.130', 'tags': [], 'project_id': '49977ced2c14471eab408475536909d4'}} 2025-08-15 09:45:50,615 - INFO - Created VN ctest-vn2-96228581 2025-08-15 09:45:50,632 - DEBUG - VN ctest-vn2-96228581 UUID is d1f01569-c7db-491e-9b9d-bc74c15f1093 2025-08-15 09:45:50,798 - DEBUG - Services list from nova: [, , , ] 2025-08-15 09:45:51,782 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3861-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3861-2) 2025-08-15 09:45:53,349 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3861-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3861-1) 2025-08-15 09:45:53,469 - INFO - Adding interface with subnet_id 2cfd0a3e-951a-4bf1-8274-ea34dd01e842, port_id None to router 81ee2e36-1a9f-4d53-aa7b-f2f220149a50 2025-08-15 09:45:53,824 - INFO - Waiting for VM ctest-vn1-vm1-94000553 to be up.. 2025-08-15 09:45:53,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 09:45:59,010 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:45:59,011 - INFO - VM name : ctest-vn1-vm1-94000553 2025-08-15 09:45:59,080 - DEBUG - VM ctest-vn1-vm1-94000553 ID is f773c64a-12a5-49b2-8dc2-b9186b6cfaf2 2025-08-15 09:45:59,099 - DEBUG - VM ctest-vn1-vm1-94000553 launched on Node an-jenkins-deploy-platform-ansible-os-3861-2 2025-08-15 09:45:59,177 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f773c64a-12a5-49b2-8dc2-b9186b6cfaf2 2025-08-15 09:45:59,467 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f773c64a-12a5-49b2-8dc2-b9186b6cfaf2 2025-08-15 09:45:59,497 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/525d2b97-3ad3-45e2-ac20-57637210f064 2025-08-15 09:46:02,673 - 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 1017ms') 2025-08-15 09:46:02,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94000553 failed! 2025-08-15 09:46:02,688 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-38525967:ctest-vn1-73557619 is 170.185.218.65 and allocation pool is NOT set 2025-08-15 09:46:04,762 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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.329/2.687/4.045/1.358 ms') 2025-08-15 09:46:04,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94000553 passed 2025-08-15 09:46:04,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:04,833 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94000553, IP 170.185.218.67, Port 22 2025-08-15 09:46:05,004 - DEBUG - VM ctest-vn1-vm1-94000553 is ready for SSH connections 2025-08-15 09:46:05,005 - INFO - Waiting for VM ctest-vn2-vm1-84319030 to be up.. 2025-08-15 09:46:05,091 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:46:05,091 - INFO - VM name : ctest-vn2-vm1-84319030 2025-08-15 09:46:05,171 - DEBUG - VM ctest-vn2-vm1-84319030 ID is c881f9b9-3c18-4754-bf34-212f92855324 2025-08-15 09:46:05,171 - DEBUG - VM ctest-vn2-vm1-84319030 launched on Node an-jenkins-deploy-platform-ansible-os-3861-1 2025-08-15 09:46:05,248 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c881f9b9-3c18-4754-bf34-212f92855324 2025-08-15 09:46:05,259 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/4f6cac15-f1ee-4fb9-8281-af23b4ee55b4 2025-08-15 09:46:06,446 - 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=5.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 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.423/3.271/5.119/1.848 ms') 2025-08-15 09:46:06,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-84319030 passed 2025-08-15 09:46:06,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:06,516 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84319030, IP 43.155.161.131, Port 22 2025-08-15 09:46:06,582 - 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-08-15 09:46:06,669 - DEBUG - VM ctest-vn2-vm1-84319030 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-15 09:46:11,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:11,670 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84319030, IP 43.155.161.131, Port 22 2025-08-15 09:46:11,842 - DEBUG - VM ctest-vn2-vm1-84319030 is ready for SSH connections 2025-08-15 09:46:11,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:11,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.155.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-15 09:46:11,842 - DEBUG - ping -s 56 -c 3 -W 1 43.155.161.131 2025-08-15 09:46:15,753 - DEBUG - PING 43.155.161.131 (43.155.161.131): 56 data bytes --- 43.155.161.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 09:46:15,753 - WARNING - Ping to IP 43.155.161.131 from VM ctest-vn1-vm1-94000553 failed 2025-08-15 09:46:15,753 - INFO - Adding interface with subnet_id 85cfab89-d6a4-4dbf-ab23-422d880c079e, port_id None to router 81ee2e36-1a9f-4d53-aa7b-f2f220149a50 2025-08-15 09:46:16,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:16,139 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.155.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-15 09:46:16,139 - DEBUG - ping -s 56 -c 3 -W 1 43.155.161.131 2025-08-15 09:46:19,362 - DEBUG - PING 43.155.161.131 (43.155.161.131): 56 data bytes 64 bytes from 43.155.161.131: seq=1 ttl=63 time=5.019 ms 64 bytes from 43.155.161.131: seq=2 ttl=63 time=1.086 ms --- 43.155.161.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.086/3.052/5.019 ms 2025-08-15 09:46:19,362 - WARNING - Ping to IP 43.155.161.131 from VM ctest-vn1-vm1-94000553 failed 2025-08-15 09:46:20,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.155.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-15 09:46:20,363 - DEBUG - ping -s 56 -c 3 -W 1 43.155.161.131 2025-08-15 09:46:22,564 - DEBUG - PING 43.155.161.131 (43.155.161.131): 56 data bytes 64 bytes from 43.155.161.131: seq=0 ttl=63 time=2.733 ms 64 bytes from 43.155.161.131: seq=1 ttl=63 time=1.081 ms 64 bytes from 43.155.161.131: seq=2 ttl=63 time=1.145 ms --- 43.155.161.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.081/1.653/2.733 ms 2025-08-15 09:46:22,564 - INFO - Ping to IP 43.155.161.131 from VM ctest-vn1-vm1-94000553 passed 2025-08-15 09:46:22,564 - INFO - Deleting interface with subnet_id 2cfd0a3e-951a-4bf1-8274-ea34dd01e842, port_id None from router 81ee2e36-1a9f-4d53-aa7b-f2f220149a50 2025-08-15 09:46:22,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:22,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.155.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-15 09:46:22,822 - DEBUG - ping -s 56 -c 3 -W 1 43.155.161.131 2025-08-15 09:46:26,011 - DEBUG - PING 43.155.161.131 (43.155.161.131): 56 data bytes --- 43.155.161.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 09:46:26,011 - WARNING - Ping to IP 43.155.161.131 from VM ctest-vn1-vm1-94000553 failed 2025-08-15 09:46:26,012 - INFO - Adding interface with subnet_id 2cfd0a3e-951a-4bf1-8274-ea34dd01e842, port_id None to router 81ee2e36-1a9f-4d53-aa7b-f2f220149a50 2025-08-15 09:46:26,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:26,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.155.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-15 09:46:26,407 - DEBUG - ping -s 56 -c 3 -W 1 43.155.161.131 2025-08-15 09:46:28,610 - DEBUG - PING 43.155.161.131 (43.155.161.131): 56 data bytes 64 bytes from 43.155.161.131: seq=0 ttl=63 time=2.496 ms 64 bytes from 43.155.161.131: seq=1 ttl=63 time=1.022 ms 64 bytes from 43.155.161.131: seq=2 ttl=63 time=1.119 ms --- 43.155.161.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.022/1.545/2.496 ms 2025-08-15 09:46:28,610 - INFO - Ping to IP 43.155.161.131 from VM ctest-vn1-vm1-94000553 passed 2025-08-15 09:46:28,610 - INFO - Deleting interface with subnet_id 85cfab89-d6a4-4dbf-ab23-422d880c079e, port_id None from router 81ee2e36-1a9f-4d53-aa7b-f2f220149a50 2025-08-15 09:46:28,821 - INFO - Deleting interface with subnet_id 2cfd0a3e-951a-4bf1-8274-ea34dd01e842, port_id None from router 81ee2e36-1a9f-4d53-aa7b-f2f220149a50 2025-08-15 09:46:29,100 - INFO - Deleting VM ctest-vn2-vm1-84319030 2025-08-15 09:46:29,186 - INFO - Deleting VM ctest-vn1-vm1-94000553 2025-08-15 09:46:29,258 - INFO - Deleting VN ctest-vn2-96228581 2025-08-15 09:46:29,303 - DEBUG - VN d1f01569-c7db-491e-9b9d-bc74c15f1093 still in use: Unable to complete operation on network d1f01569-c7db-491e-9b9d-bc74c15f1093. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3aa3e3f2-b19c-4ea6-a41e-ad480536c9bb'] 2025-08-15 09:46:29,303 - WARNING - Deleting VN ctest-vn2-96228581 failed..Will retry 2025-08-15 09:46:31,448 - DEBUG - Response for deleting network () 2025-08-15 09:46:31,448 - INFO - Deleting VN ctest-vn1-73557619 2025-08-15 09:46:31,688 - DEBUG - Response for deleting network () 2025-08-15 09:46:32,946 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 09:46:32,946 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45] 2025-08-15 09:46:32,946 - INFO - -------------------------------------------------------------------------------- 2025-08-15 09:46:33,625 - INFO - Deleted project: ctest-TestRouters-38525967, ID : 49977ced-2c14-471e-ab40-8475536909d4