2025-10-08 13:52:19,598 - INFO - Domain Default found not creating 2025-10-08 13:52:19,803 - INFO - Project ctest-TestRouters-55000756 not found, creating it 2025-10-08 13:52:20,435 - INFO - Created Project:ctest-TestRouters-55000756, ID : 84130fce-ddb7-4720-93ae-e4eadf3f7e42 2025-10-08 13:52:22,465 - INFO - ================================================================================ 2025-10-08 13:52:22,466 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-08 13:52:22,466 - 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-08 13:52:23,749 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.249': '0', '10.20.0.252': '0'}, '10.0.0.241': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-10-08 13:52:23,749 - INFO - Initial checks done. Running the testcase now 2025-10-08 13:52:23,749 - INFO - 2025-10-08 13:52:24,509 - DEBUG - Response for create_network : {'network': {'id': '4aa78edd-9229-4e7a-b0f9-6b0ff479b4d1', 'name': 'ctest-vn1-18368168', 'tenant_id': '84130fceddb7472093aee4eadf3f7e42', 'project_id': '84130fceddb7472093aee4eadf3f7e42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55000756', 'ctest-vn1-18368168'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 13:52:24,870 - DEBUG - Response for create_subnet : {'subnet': {'id': '4be48549-68da-4349-ba88-30fedd897eb4', 'name': '', 'tenant_id': '84130fceddb7472093aee4eadf3f7e42', 'network_id': '4aa78edd-9229-4e7a-b0f9-6b0ff479b4d1', 'ip_version': 4, 'cidr': '32.20.201.64/26', 'allocation_pools': [{'start': '32.20.201.66', 'end': '32.20.201.126'}], 'gateway_ip': '32.20.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.20.201.66', 'tags': [], 'project_id': '84130fceddb7472093aee4eadf3f7e42'}} 2025-10-08 13:52:24,900 - INFO - Created VN ctest-vn1-18368168 2025-10-08 13:52:24,915 - DEBUG - VN ctest-vn1-18368168 UUID is 4aa78edd-9229-4e7a-b0f9-6b0ff479b4d1 2025-10-08 13:52:25,321 - DEBUG - Response for create_network : {'network': {'id': '9164f439-7d7b-47e8-8f1f-692285cd5d72', 'name': 'ctest-vn2-92591957', 'tenant_id': '84130fceddb7472093aee4eadf3f7e42', 'project_id': '84130fceddb7472093aee4eadf3f7e42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55000756', 'ctest-vn2-92591957'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 13:52:25,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '100682ff-681c-4ab3-8581-18ef9946b1fc', 'name': '', 'tenant_id': '84130fceddb7472093aee4eadf3f7e42', 'network_id': '9164f439-7d7b-47e8-8f1f-692285cd5d72', 'ip_version': 4, 'cidr': '205.218.30.192/26', 'allocation_pools': [{'start': '205.218.30.194', 'end': '205.218.30.254'}], 'gateway_ip': '205.218.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.218.30.194', 'tags': [], 'project_id': '84130fceddb7472093aee4eadf3f7e42'}} 2025-10-08 13:52:25,641 - INFO - Created VN ctest-vn2-92591957 2025-10-08 13:52:25,659 - DEBUG - VN ctest-vn2-92591957 UUID is 9164f439-7d7b-47e8-8f1f-692285cd5d72 2025-10-08 13:52:25,831 - DEBUG - Services list from nova: [, , , ] 2025-10-08 13:52:27,177 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-2) 2025-10-08 13:52:28,637 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-1) 2025-10-08 13:52:28,797 - INFO - Adding interface with subnet_id 4be48549-68da-4349-ba88-30fedd897eb4, port_id None to router ac620429-627d-40f1-b25a-0f9a7f4d8acd 2025-10-08 13:52:29,244 - INFO - Waiting for VM ctest-vn1-vm1-41681140 to be up.. 2025-10-08 13:52:29,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 13:52:34,509 - DEBUG - VM is in ACTIVE state now 2025-10-08 13:52:34,510 - INFO - VM name : ctest-vn1-vm1-41681140 2025-10-08 13:52:34,611 - DEBUG - VM ctest-vn1-vm1-41681140 ID is 985dd3be-302f-4b92-b427-7a9abc24dafc 2025-10-08 13:52:34,640 - DEBUG - VM ctest-vn1-vm1-41681140 launched on Node an-jenkins-deploy-platform-ansible-os-4236-2 2025-10-08 13:52:34,751 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/985dd3be-302f-4b92-b427-7a9abc24dafc 2025-10-08 13:52:35,066 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/985dd3be-302f-4b92-b427-7a9abc24dafc 2025-10-08 13:52:35,113 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3e8c8575-daf6-4bd2-becc-66ac67f7f082 2025-10-08 13:52:38,312 - 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 1027ms') 2025-10-08 13:52:38,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41681140 failed! 2025-10-08 13:52:38,328 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55000756:ctest-vn1-18368168 is 32.20.201.65 and allocation pool is NOT set 2025-10-08 13:52:42,409 - 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 1015ms') 2025-10-08 13:52:42,409 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41681140 failed! 2025-10-08 13:52:42,426 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55000756:ctest-vn1-18368168 is 32.20.201.65 and allocation pool is NOT set 2025-10-08 13:52:44,494 - 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=761 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 999ms\r\nrtt min/avg/max/mdev = 0.359/380.709/761.060/380.350 ms') 2025-10-08 13:52:44,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41681140 passed 2025-10-08 13:52:44,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:44,630 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41681140, IP 32.20.201.67, Port 22 2025-10-08 13:52:44,703 - 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-08 13:52:44,883 - DEBUG - VM ctest-vn1-vm1-41681140 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 13:52:49,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:49,884 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41681140, IP 32.20.201.67, Port 22 2025-10-08 13:52:50,051 - DEBUG - VM ctest-vn1-vm1-41681140 is ready for SSH connections 2025-10-08 13:52:50,051 - INFO - Waiting for VM ctest-vn2-vm1-36427527 to be up.. 2025-10-08 13:52:50,156 - DEBUG - VM is in ACTIVE state now 2025-10-08 13:52:50,156 - INFO - VM name : ctest-vn2-vm1-36427527 2025-10-08 13:52:50,251 - DEBUG - VM ctest-vn2-vm1-36427527 ID is 3a48219f-c525-497b-9d86-a8fccc43827a 2025-10-08 13:52:50,251 - DEBUG - VM ctest-vn2-vm1-36427527 launched on Node an-jenkins-deploy-platform-ansible-os-4236-1 2025-10-08 13:52:50,346 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3a48219f-c525-497b-9d86-a8fccc43827a 2025-10-08 13:52:50,361 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6eef462b-3d35-4042-89d0-cf348834867a 2025-10-08 13:52:51,543 - 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=2.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/1.257/2.129/0.872 ms') 2025-10-08 13:52:51,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-36427527 passed 2025-10-08 13:52:51,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:51,614 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-36427527, IP 205.218.30.195, Port 22 2025-10-08 13:52:51,785 - DEBUG - VM ctest-vn2-vm1-36427527 is ready for SSH connections 2025-10-08 13:52:51,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:51,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.218.30.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 13:52:51,786 - DEBUG - ping -s 56 -c 3 -W 1 205.218.30.195 2025-10-08 13:52:55,775 - DEBUG - PING 205.218.30.195 (205.218.30.195): 56 data bytes --- 205.218.30.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 13:52:55,776 - WARNING - Ping to IP 205.218.30.195 from VM ctest-vn1-vm1-41681140 failed 2025-10-08 13:52:55,776 - INFO - Adding interface with subnet_id 100682ff-681c-4ab3-8581-18ef9946b1fc, port_id None to router ac620429-627d-40f1-b25a-0f9a7f4d8acd 2025-10-08 13:52:56,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:56,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.218.30.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 13:52:56,310 - DEBUG - ping -s 56 -c 3 -W 1 205.218.30.195 2025-10-08 13:52:58,514 - DEBUG - PING 205.218.30.195 (205.218.30.195): 56 data bytes 64 bytes from 205.218.30.195: seq=0 ttl=63 time=5.174 ms 64 bytes from 205.218.30.195: seq=1 ttl=63 time=1.268 ms 64 bytes from 205.218.30.195: seq=2 ttl=63 time=1.016 ms --- 205.218.30.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.016/2.486/5.174 ms 2025-10-08 13:52:58,515 - INFO - Ping to IP 205.218.30.195 from VM ctest-vn1-vm1-41681140 passed 2025-10-08 13:52:58,515 - INFO - Deleting interface with subnet_id 4be48549-68da-4349-ba88-30fedd897eb4, port_id None from router ac620429-627d-40f1-b25a-0f9a7f4d8acd 2025-10-08 13:52:58,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:52:58,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.218.30.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 13:52:58,791 - DEBUG - ping -s 56 -c 3 -W 1 205.218.30.195 2025-10-08 13:53:01,993 - DEBUG - PING 205.218.30.195 (205.218.30.195): 56 data bytes --- 205.218.30.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 13:53:01,993 - WARNING - Ping to IP 205.218.30.195 from VM ctest-vn1-vm1-41681140 failed 2025-10-08 13:53:01,993 - INFO - Adding interface with subnet_id 4be48549-68da-4349-ba88-30fedd897eb4, port_id None to router ac620429-627d-40f1-b25a-0f9a7f4d8acd 2025-10-08 13:53:02,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:53:02,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.218.30.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 13:53:02,386 - DEBUG - ping -s 56 -c 3 -W 1 205.218.30.195 2025-10-08 13:53:04,594 - DEBUG - PING 205.218.30.195 (205.218.30.195): 56 data bytes 64 bytes from 205.218.30.195: seq=0 ttl=63 time=2.888 ms 64 bytes from 205.218.30.195: seq=1 ttl=63 time=1.092 ms 64 bytes from 205.218.30.195: seq=2 ttl=63 time=1.355 ms --- 205.218.30.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.092/1.778/2.888 ms 2025-10-08 13:53:04,594 - INFO - Ping to IP 205.218.30.195 from VM ctest-vn1-vm1-41681140 passed 2025-10-08 13:53:04,595 - INFO - Deleting interface with subnet_id 100682ff-681c-4ab3-8581-18ef9946b1fc, port_id None from router ac620429-627d-40f1-b25a-0f9a7f4d8acd 2025-10-08 13:53:04,835 - INFO - Deleting interface with subnet_id 4be48549-68da-4349-ba88-30fedd897eb4, port_id None from router ac620429-627d-40f1-b25a-0f9a7f4d8acd 2025-10-08 13:53:05,215 - INFO - Deleting VM ctest-vn2-vm1-36427527 2025-10-08 13:53:05,331 - INFO - Deleting VM ctest-vn1-vm1-41681140 2025-10-08 13:53:05,410 - INFO - Deleting VN ctest-vn2-92591957 2025-10-08 13:53:05,461 - DEBUG - VN 9164f439-7d7b-47e8-8f1f-692285cd5d72 still in use: Unable to complete operation on network 9164f439-7d7b-47e8-8f1f-692285cd5d72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-919042a8-caa0-4203-8100-2d701fb19a9a'] 2025-10-08 13:53:05,462 - WARNING - Deleting VN ctest-vn2-92591957 failed..Will retry 2025-10-08 13:53:07,663 - DEBUG - Response for deleting network () 2025-10-08 13:53:07,663 - INFO - Deleting VN ctest-vn1-18368168 2025-10-08 13:53:07,894 - DEBUG - Response for deleting network () 2025-10-08 13:53:09,194 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 13:53:09,194 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:47] 2025-10-08 13:53:09,194 - INFO - -------------------------------------------------------------------------------- 2025-10-08 13:53:10,023 - INFO - Deleted project: ctest-TestRouters-55000756, ID : 84130fce-ddb7-4720-93ae-e4eadf3f7e42