2025-10-23 02:15:26,226 - INFO - Domain Default found not creating 2025-10-23 02:15:26,402 - INFO - Project ctest-TestRouters-23064617 not found, creating it 2025-10-23 02:15:26,958 - INFO - Created Project:ctest-TestRouters-23064617, ID : 4b38c8a1-e266-45a1-a27c-6005bec3a8de 2025-10-23 02:15:28,673 - INFO - ================================================================================ 2025-10-23 02:15:28,673 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 02:15:28,674 - 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-23 02:15:29,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.49': {'10.20.0.14': '0', '10.20.0.129': '0'}} with 2025-10-23 02:15:29,991 - INFO - Initial checks done. Running the testcase now 2025-10-23 02:15:29,991 - INFO - 2025-10-23 02:15:30,726 - DEBUG - Response for create_network : {'network': {'id': '146f7318-30b5-4a61-b5cf-cdd0e4de2176', 'name': 'ctest-vn1-08853822', 'tenant_id': '4b38c8a1e26645a1a27c6005bec3a8de', 'project_id': '4b38c8a1e26645a1a27c6005bec3a8de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23064617', 'ctest-vn1-08853822'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:15:31,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '919d2450-01cb-443c-90d2-2e1bf7da5b6e', 'name': '', 'tenant_id': '4b38c8a1e26645a1a27c6005bec3a8de', 'network_id': '146f7318-30b5-4a61-b5cf-cdd0e4de2176', 'ip_version': 4, 'cidr': '181.50.153.64/26', 'allocation_pools': [{'start': '181.50.153.66', 'end': '181.50.153.126'}], 'gateway_ip': '181.50.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.50.153.66', 'tags': [], 'project_id': '4b38c8a1e26645a1a27c6005bec3a8de'}} 2025-10-23 02:15:31,057 - INFO - Created VN ctest-vn1-08853822 2025-10-23 02:15:31,069 - DEBUG - VN ctest-vn1-08853822 UUID is 146f7318-30b5-4a61-b5cf-cdd0e4de2176 2025-10-23 02:15:31,404 - DEBUG - Response for create_network : {'network': {'id': 'b6e8110c-44d7-46d5-baad-27f2ece6630c', 'name': 'ctest-vn2-85085837', 'tenant_id': '4b38c8a1e26645a1a27c6005bec3a8de', 'project_id': '4b38c8a1e26645a1a27c6005bec3a8de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23064617', 'ctest-vn2-85085837'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:15:31,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f779532f-4363-4611-9af1-8e98e0e08568', 'name': '', 'tenant_id': '4b38c8a1e26645a1a27c6005bec3a8de', 'network_id': 'b6e8110c-44d7-46d5-baad-27f2ece6630c', 'ip_version': 4, 'cidr': '179.113.198.64/26', 'allocation_pools': [{'start': '179.113.198.66', 'end': '179.113.198.126'}], 'gateway_ip': '179.113.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.113.198.66', 'tags': [], 'project_id': '4b38c8a1e26645a1a27c6005bec3a8de'}} 2025-10-23 02:15:31,674 - INFO - Created VN ctest-vn2-85085837 2025-10-23 02:15:31,687 - DEBUG - VN ctest-vn2-85085837 UUID is b6e8110c-44d7-46d5-baad-27f2ece6630c 2025-10-23 02:15:31,837 - DEBUG - Services list from nova: [, , , ] 2025-10-23 02:15:32,973 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4448-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4448-2) 2025-10-23 02:15:34,455 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4448-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4448-1) 2025-10-23 02:15:34,570 - INFO - Adding interface with subnet_id 919d2450-01cb-443c-90d2-2e1bf7da5b6e, port_id None to router 336c9bbb-02f1-4b78-9809-82b4cb1103d2 2025-10-23 02:15:34,978 - INFO - Waiting for VM ctest-vn1-vm1-85076324 to be up.. 2025-10-23 02:15:35,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 02:15:40,214 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:15:40,214 - INFO - VM name : ctest-vn1-vm1-85076324 2025-10-23 02:15:40,301 - DEBUG - VM ctest-vn1-vm1-85076324 ID is 9073b172-50f5-4639-b651-c8cc5ff7a93f 2025-10-23 02:15:40,332 - DEBUG - VM ctest-vn1-vm1-85076324 launched on Node an-jenkins-deploy-platform-ansible-os-4448-2 2025-10-23 02:15:40,440 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/9073b172-50f5-4639-b651-c8cc5ff7a93f 2025-10-23 02:15:40,807 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/9073b172-50f5-4639-b651-c8cc5ff7a93f 2025-10-23 02:15:40,841 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/a789ebf4-0f3f-4348-9ab6-1488c34ffa71 2025-10-23 02:15:44,000 - 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 1000ms') 2025-10-23 02:15:44,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85076324 failed! 2025-10-23 02:15:44,014 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-23064617:ctest-vn1-08853822 is 181.50.153.65 and allocation pool is NOT set 2025-10-23 02:15:46,093 - 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=14.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.680/8.473/14.267/5.793 ms') 2025-10-23 02:15:46,094 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85076324 passed 2025-10-23 02:15:46,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:15:46,169 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85076324, IP 181.50.153.67, Port 22 2025-10-23 02:15:46,255 - 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-23 02:15:46,399 - DEBUG - VM ctest-vn1-vm1-85076324 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 02:15:51,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:15:51,400 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85076324, IP 181.50.153.67, Port 22 2025-10-23 02:15:51,573 - DEBUG - VM ctest-vn1-vm1-85076324 is ready for SSH connections 2025-10-23 02:15:51,573 - INFO - Waiting for VM ctest-vn2-vm1-73714726 to be up.. 2025-10-23 02:15:51,666 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:15:51,666 - INFO - VM name : ctest-vn2-vm1-73714726 2025-10-23 02:15:51,761 - DEBUG - VM ctest-vn2-vm1-73714726 ID is 34eb7c0b-b70c-4467-9331-8fa627e5656d 2025-10-23 02:15:51,761 - DEBUG - VM ctest-vn2-vm1-73714726 launched on Node an-jenkins-deploy-platform-ansible-os-4448-1 2025-10-23 02:15:51,843 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/34eb7c0b-b70c-4467-9331-8fa627e5656d 2025-10-23 02:15:51,853 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/92cf328e-201d-4c03-9eb4-b9cb221a36a3 2025-10-23 02:15:53,032 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/1.439/2.432/0.993 ms') 2025-10-23 02:15:53,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-73714726 passed 2025-10-23 02:15:53,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:15:53,104 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-73714726, IP 179.113.198.67, Port 22 2025-10-23 02:15:53,271 - DEBUG - VM ctest-vn2-vm1-73714726 is ready for SSH connections 2025-10-23 02:15:53,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:15:53,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.113.198.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-23 02:15:53,272 - DEBUG - ping -s 56 -c 3 -W 1 179.113.198.67 2025-10-23 02:15:57,305 - DEBUG - PING 179.113.198.67 (179.113.198.67): 56 data bytes --- 179.113.198.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 02:15:57,305 - WARNING - Ping to IP 179.113.198.67 from VM ctest-vn1-vm1-85076324 failed 2025-10-23 02:15:57,305 - INFO - Adding interface with subnet_id f779532f-4363-4611-9af1-8e98e0e08568, port_id None to router 336c9bbb-02f1-4b78-9809-82b4cb1103d2 2025-10-23 02:15:57,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:15:57,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.113.198.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-23 02:15:57,720 - DEBUG - ping -s 56 -c 3 -W 1 179.113.198.67 2025-10-23 02:15:59,938 - DEBUG - PING 179.113.198.67 (179.113.198.67): 56 data bytes 64 bytes from 179.113.198.67: seq=0 ttl=63 time=5.468 ms 64 bytes from 179.113.198.67: seq=1 ttl=63 time=1.285 ms 64 bytes from 179.113.198.67: seq=2 ttl=63 time=1.381 ms --- 179.113.198.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.285/2.711/5.468 ms 2025-10-23 02:15:59,938 - INFO - Ping to IP 179.113.198.67 from VM ctest-vn1-vm1-85076324 passed 2025-10-23 02:15:59,938 - INFO - Deleting interface with subnet_id 919d2450-01cb-443c-90d2-2e1bf7da5b6e, port_id None from router 336c9bbb-02f1-4b78-9809-82b4cb1103d2 2025-10-23 02:16:00,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:16:00,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.113.198.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-23 02:16:00,143 - DEBUG - ping -s 56 -c 3 -W 1 179.113.198.67 2025-10-23 02:16:03,377 - DEBUG - PING 179.113.198.67 (179.113.198.67): 56 data bytes --- 179.113.198.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 02:16:03,377 - WARNING - Ping to IP 179.113.198.67 from VM ctest-vn1-vm1-85076324 failed 2025-10-23 02:16:03,377 - INFO - Adding interface with subnet_id 919d2450-01cb-443c-90d2-2e1bf7da5b6e, port_id None to router 336c9bbb-02f1-4b78-9809-82b4cb1103d2 2025-10-23 02:16:03,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:16:03,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.113.198.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-23 02:16:03,700 - DEBUG - ping -s 56 -c 3 -W 1 179.113.198.67 2025-10-23 02:16:05,935 - DEBUG - PING 179.113.198.67 (179.113.198.67): 56 data bytes 64 bytes from 179.113.198.67: seq=0 ttl=63 time=3.019 ms 64 bytes from 179.113.198.67: seq=1 ttl=63 time=2.971 ms 64 bytes from 179.113.198.67: seq=2 ttl=63 time=1.418 ms --- 179.113.198.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.418/2.469/3.019 ms 2025-10-23 02:16:05,935 - INFO - Ping to IP 179.113.198.67 from VM ctest-vn1-vm1-85076324 passed 2025-10-23 02:16:05,935 - INFO - Deleting interface with subnet_id f779532f-4363-4611-9af1-8e98e0e08568, port_id None from router 336c9bbb-02f1-4b78-9809-82b4cb1103d2 2025-10-23 02:16:06,183 - INFO - Deleting interface with subnet_id 919d2450-01cb-443c-90d2-2e1bf7da5b6e, port_id None from router 336c9bbb-02f1-4b78-9809-82b4cb1103d2 2025-10-23 02:16:06,479 - INFO - Deleting VM ctest-vn2-vm1-73714726 2025-10-23 02:16:06,583 - INFO - Deleting VM ctest-vn1-vm1-85076324 2025-10-23 02:16:06,659 - INFO - Deleting VN ctest-vn2-85085837 2025-10-23 02:16:06,707 - DEBUG - VN b6e8110c-44d7-46d5-baad-27f2ece6630c still in use: Unable to complete operation on network b6e8110c-44d7-46d5-baad-27f2ece6630c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e043243-33f4-4e26-9f3b-731aeb854ad0'] 2025-10-23 02:16:06,707 - WARNING - Deleting VN ctest-vn2-85085837 failed..Will retry 2025-10-23 02:16:08,912 - DEBUG - Response for deleting network () 2025-10-23 02:16:08,912 - INFO - Deleting VN ctest-vn1-08853822 2025-10-23 02:16:09,063 - DEBUG - Response for deleting network () 2025-10-23 02:16:10,343 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 02:16:10,344 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-10-23 02:16:10,344 - INFO - -------------------------------------------------------------------------------- 2025-10-23 02:16:11,155 - INFO - Deleted project: ctest-TestRouters-23064617, ID : 4b38c8a1-e266-45a1-a27c-6005bec3a8de