2025-12-08 02:25:34,432 - INFO - Domain Default found not creating 2025-12-08 02:25:34,610 - INFO - Project ctest-TestRouters-50927607 not found, creating it 2025-12-08 02:25:35,145 - INFO - Created Project:ctest-TestRouters-50927607, ID : be71b3ea-58e5-4d3e-8b75-713772294551 2025-12-08 02:25:36,859 - INFO - ================================================================================ 2025-12-08 02:25:36,859 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-08 02:25:36,859 - 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-08 02:25:38,152 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.145': '0', '10.20.0.18': '0'}, '10.0.0.129': {'10.20.0.145': '0', '10.20.0.14': '0'}} with 2025-12-08 02:25:38,152 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:25:38,152 - INFO - 2025-12-08 02:25:38,887 - DEBUG - Response for create_network : {'network': {'id': '00c1bf22-ec39-4c27-8c00-73600a1022b4', 'name': 'ctest-vn1-47862630', 'tenant_id': 'be71b3ea58e54d3e8b75713772294551', 'project_id': 'be71b3ea58e54d3e8b75713772294551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-50927607', 'ctest-vn1-47862630'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:25:39,227 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd2bc317-c849-423a-94ce-d542433f7996', 'name': '', 'tenant_id': 'be71b3ea58e54d3e8b75713772294551', 'network_id': '00c1bf22-ec39-4c27-8c00-73600a1022b4', 'ip_version': 4, 'cidr': '167.190.66.192/26', 'allocation_pools': [{'start': '167.190.66.194', 'end': '167.190.66.254'}], 'gateway_ip': '167.190.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.190.66.194', 'tags': [], 'project_id': 'be71b3ea58e54d3e8b75713772294551'}} 2025-12-08 02:25:39,252 - INFO - Created VN ctest-vn1-47862630 2025-12-08 02:25:39,263 - DEBUG - VN ctest-vn1-47862630 UUID is 00c1bf22-ec39-4c27-8c00-73600a1022b4 2025-12-08 02:25:39,632 - DEBUG - Response for create_network : {'network': {'id': '29fcd557-2e61-488a-9250-18dde99288c5', 'name': 'ctest-vn2-14244461', 'tenant_id': 'be71b3ea58e54d3e8b75713772294551', 'project_id': 'be71b3ea58e54d3e8b75713772294551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-50927607', 'ctest-vn2-14244461'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:25:39,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '24e54a26-d025-4c1a-b031-7f49787409cd', 'name': '', 'tenant_id': 'be71b3ea58e54d3e8b75713772294551', 'network_id': '29fcd557-2e61-488a-9250-18dde99288c5', 'ip_version': 4, 'cidr': '170.181.19.128/26', 'allocation_pools': [{'start': '170.181.19.130', 'end': '170.181.19.190'}], 'gateway_ip': '170.181.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.181.19.130', 'tags': [], 'project_id': 'be71b3ea58e54d3e8b75713772294551'}} 2025-12-08 02:25:39,877 - INFO - Created VN ctest-vn2-14244461 2025-12-08 02:25:39,890 - DEBUG - VN ctest-vn2-14244461 UUID is 29fcd557-2e61-488a-9250-18dde99288c5 2025-12-08 02:25:40,059 - DEBUG - Services list from nova: [, , , ] 2025-12-08 02:25:41,185 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4854-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4854-2) 2025-12-08 02:25:42,659 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4854-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4854-1) 2025-12-08 02:25:42,768 - INFO - Adding interface with subnet_id bd2bc317-c849-423a-94ce-d542433f7996, port_id None to router 68fdabb7-bb9b-45fe-a09d-faf6c67f3474 2025-12-08 02:25:43,171 - INFO - Waiting for VM ctest-vn1-vm1-84219719 to be up.. 2025-12-08 02:25:43,317 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:25:48,407 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:25:48,407 - INFO - VM name : ctest-vn1-vm1-84219719 2025-12-08 02:25:48,490 - DEBUG - VM ctest-vn1-vm1-84219719 ID is 7623b49d-f121-4b8d-88e2-2bafcd570006 2025-12-08 02:25:48,515 - DEBUG - VM ctest-vn1-vm1-84219719 launched on Node an-jenkins-deploy-platform-ansible-os-4854-2 2025-12-08 02:25:48,603 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7623b49d-f121-4b8d-88e2-2bafcd570006 2025-12-08 02:25:48,949 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7623b49d-f121-4b8d-88e2-2bafcd570006 2025-12-08 02:25:48,986 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/7cd6baed-8b03-4137-a9f6-3f8689566900 2025-12-08 02:25:52,192 - 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-08 02:25:52,192 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84219719 failed! 2025-12-08 02:25:52,206 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-50927607:ctest-vn1-47862630 is 167.190.66.193 and allocation pool is NOT set 2025-12-08 02:25:54,270 - 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=8.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.098/6.311/8.525/2.213 ms') 2025-12-08 02:25:54,270 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84219719 passed 2025-12-08 02:25:54,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:25:54,340 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84219719, IP 167.190.66.195, Port 22 2025-12-08 02:25:54,410 - 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-12-08 02:25:54,530 - DEBUG - VM ctest-vn1-vm1-84219719 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-08 02:25:59,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:25:59,531 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84219719, IP 167.190.66.195, Port 22 2025-12-08 02:25:59,701 - DEBUG - VM ctest-vn1-vm1-84219719 is ready for SSH connections 2025-12-08 02:25:59,702 - INFO - Waiting for VM ctest-vn2-vm1-06466392 to be up.. 2025-12-08 02:25:59,783 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:25:59,783 - INFO - VM name : ctest-vn2-vm1-06466392 2025-12-08 02:25:59,864 - DEBUG - VM ctest-vn2-vm1-06466392 ID is b63fe96c-ef9e-4a5a-b6c4-5db0ad24c1ea 2025-12-08 02:25:59,864 - DEBUG - VM ctest-vn2-vm1-06466392 launched on Node an-jenkins-deploy-platform-ansible-os-4854-1 2025-12-08 02:25:59,954 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b63fe96c-ef9e-4a5a-b6c4-5db0ad24c1ea 2025-12-08 02:25:59,964 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2689a335-ddc3-4a98-a741-bcba0c35b021 2025-12-08 02:26:01,124 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.355/1.300/2.246/0.945 ms') 2025-12-08 02:26:01,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-06466392 passed 2025-12-08 02:26:01,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:26:01,194 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-06466392, IP 170.181.19.131, Port 22 2025-12-08 02:26:01,366 - DEBUG - VM ctest-vn2-vm1-06466392 is ready for SSH connections 2025-12-08 02:26:01,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:26:01,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.181.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 02:26:01,366 - DEBUG - ping -s 56 -c 3 -W 1 170.181.19.131 2025-12-08 02:26:05,441 - DEBUG - PING 170.181.19.131 (170.181.19.131): 56 data bytes --- 170.181.19.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 02:26:05,441 - WARNING - Ping to IP 170.181.19.131 from VM ctest-vn1-vm1-84219719 failed 2025-12-08 02:26:05,441 - INFO - Adding interface with subnet_id 24e54a26-d025-4c1a-b031-7f49787409cd, port_id None to router 68fdabb7-bb9b-45fe-a09d-faf6c67f3474 2025-12-08 02:26:05,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:26:05,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.181.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 02:26:05,848 - DEBUG - ping -s 56 -c 3 -W 1 170.181.19.131 2025-12-08 02:26:09,077 - DEBUG - PING 170.181.19.131 (170.181.19.131): 56 data bytes 64 bytes from 170.181.19.131: seq=1 ttl=63 time=5.925 ms 64 bytes from 170.181.19.131: seq=2 ttl=63 time=1.301 ms --- 170.181.19.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.301/3.613/5.925 ms 2025-12-08 02:26:09,077 - WARNING - Ping to IP 170.181.19.131 from VM ctest-vn1-vm1-84219719 failed 2025-12-08 02:26:10,077 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.181.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 02:26:10,077 - DEBUG - ping -s 56 -c 3 -W 1 170.181.19.131 2025-12-08 02:26:12,305 - DEBUG - PING 170.181.19.131 (170.181.19.131): 56 data bytes 64 bytes from 170.181.19.131: seq=0 ttl=63 time=4.295 ms 64 bytes from 170.181.19.131: seq=1 ttl=63 time=1.581 ms 64 bytes from 170.181.19.131: seq=2 ttl=63 time=1.459 ms --- 170.181.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.459/2.445/4.295 ms 2025-12-08 02:26:12,305 - INFO - Ping to IP 170.181.19.131 from VM ctest-vn1-vm1-84219719 passed 2025-12-08 02:26:12,305 - INFO - Deleting interface with subnet_id bd2bc317-c849-423a-94ce-d542433f7996, port_id None from router 68fdabb7-bb9b-45fe-a09d-faf6c67f3474 2025-12-08 02:26:12,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:26:12,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.181.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 02:26:12,502 - DEBUG - ping -s 56 -c 3 -W 1 170.181.19.131 2025-12-08 02:26:15,731 - DEBUG - PING 170.181.19.131 (170.181.19.131): 56 data bytes --- 170.181.19.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 02:26:15,731 - WARNING - Ping to IP 170.181.19.131 from VM ctest-vn1-vm1-84219719 failed 2025-12-08 02:26:15,731 - INFO - Adding interface with subnet_id bd2bc317-c849-423a-94ce-d542433f7996, port_id None to router 68fdabb7-bb9b-45fe-a09d-faf6c67f3474 2025-12-08 02:26:16,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:26:16,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.181.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 02:26:16,046 - DEBUG - ping -s 56 -c 3 -W 1 170.181.19.131 2025-12-08 02:26:18,272 - DEBUG - PING 170.181.19.131 (170.181.19.131): 56 data bytes 64 bytes from 170.181.19.131: seq=0 ttl=63 time=3.767 ms 64 bytes from 170.181.19.131: seq=1 ttl=63 time=2.896 ms 64 bytes from 170.181.19.131: seq=2 ttl=63 time=1.321 ms --- 170.181.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.321/2.661/3.767 ms 2025-12-08 02:26:18,273 - INFO - Ping to IP 170.181.19.131 from VM ctest-vn1-vm1-84219719 passed 2025-12-08 02:26:18,273 - INFO - Deleting interface with subnet_id 24e54a26-d025-4c1a-b031-7f49787409cd, port_id None from router 68fdabb7-bb9b-45fe-a09d-faf6c67f3474 2025-12-08 02:26:18,490 - INFO - Deleting interface with subnet_id bd2bc317-c849-423a-94ce-d542433f7996, port_id None from router 68fdabb7-bb9b-45fe-a09d-faf6c67f3474 2025-12-08 02:26:18,859 - INFO - Deleting VM ctest-vn2-vm1-06466392 2025-12-08 02:26:18,945 - INFO - Deleting VM ctest-vn1-vm1-84219719 2025-12-08 02:26:19,027 - INFO - Deleting VN ctest-vn2-14244461 2025-12-08 02:26:19,071 - DEBUG - VN 29fcd557-2e61-488a-9250-18dde99288c5 still in use: Unable to complete operation on network 29fcd557-2e61-488a-9250-18dde99288c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a655a7a1-750f-48b8-8729-713564942a1d'] 2025-12-08 02:26:19,072 - WARNING - Deleting VN ctest-vn2-14244461 failed..Will retry 2025-12-08 02:26:21,272 - DEBUG - Response for deleting network () 2025-12-08 02:26:21,272 - INFO - Deleting VN ctest-vn1-47862630 2025-12-08 02:26:21,521 - DEBUG - Response for deleting network () 2025-12-08 02:26:22,797 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 02:26:22,797 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:46] 2025-12-08 02:26:22,797 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:26:23,643 - INFO - Deleted project: ctest-TestRouters-50927607, ID : be71b3ea-58e5-4d3e-8b75-713772294551