2025-07-23 15:47:28,164 - INFO - Domain Default found not creating 2025-07-23 15:47:28,327 - INFO - Project ctest-TestRouters-10599093 not found, creating it 2025-07-23 15:47:28,886 - INFO - Created Project:ctest-TestRouters-10599093, ID : 06860589-0eca-40e1-8944-184683d813be 2025-07-23 15:47:30,864 - INFO - ================================================================================ 2025-07-23 15:47:30,864 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-23 15:47:30,864 - 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-07-23 15:47:32,202 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with 2025-07-23 15:47:32,202 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:47:32,202 - INFO - 2025-07-23 15:47:32,817 - DEBUG - Response for create_network : {'network': {'id': '9cfeafd6-a296-4eaa-9b84-dcd4f6eaed52', 'name': 'ctest-vn1-48596699', 'tenant_id': '068605890eca40e18944184683d813be', 'project_id': '068605890eca40e18944184683d813be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10599093', 'ctest-vn1-48596699'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:47:33,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d345461-b7bc-4f15-a27e-92b400e98cb7', 'name': '', 'tenant_id': '068605890eca40e18944184683d813be', 'network_id': '9cfeafd6-a296-4eaa-9b84-dcd4f6eaed52', 'ip_version': 4, 'cidr': '63.218.241.128/26', 'allocation_pools': [{'start': '63.218.241.130', 'end': '63.218.241.190'}], 'gateway_ip': '63.218.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.218.241.130', 'tags': [], 'project_id': '068605890eca40e18944184683d813be'}} 2025-07-23 15:47:33,105 - INFO - Created VN ctest-vn1-48596699 2025-07-23 15:47:33,124 - DEBUG - VN ctest-vn1-48596699 UUID is 9cfeafd6-a296-4eaa-9b84-dcd4f6eaed52 2025-07-23 15:47:33,563 - DEBUG - Response for create_network : {'network': {'id': 'ee7bd27a-a27a-432c-8229-d6ecc4b23fc4', 'name': 'ctest-vn2-66398097', 'tenant_id': '068605890eca40e18944184683d813be', 'project_id': '068605890eca40e18944184683d813be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10599093', 'ctest-vn2-66398097'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:47:33,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3544a9b-aae5-4ed1-84c2-394667ea1727', 'name': '', 'tenant_id': '068605890eca40e18944184683d813be', 'network_id': 'ee7bd27a-a27a-432c-8229-d6ecc4b23fc4', 'ip_version': 4, 'cidr': '21.185.217.192/26', 'allocation_pools': [{'start': '21.185.217.194', 'end': '21.185.217.254'}], 'gateway_ip': '21.185.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.185.217.194', 'tags': [], 'project_id': '068605890eca40e18944184683d813be'}} 2025-07-23 15:47:33,895 - INFO - Created VN ctest-vn2-66398097 2025-07-23 15:47:33,915 - DEBUG - VN ctest-vn2-66398097 UUID is ee7bd27a-a27a-432c-8229-d6ecc4b23fc4 2025-07-23 15:47:34,062 - DEBUG - Services list from nova: [, , , ] 2025-07-23 15:47:35,281 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2) 2025-07-23 15:47:36,731 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1) 2025-07-23 15:47:36,866 - INFO - Adding interface with subnet_id 8d345461-b7bc-4f15-a27e-92b400e98cb7, port_id None to router 7676f13f-f25a-4dfd-95f5-0cdc8a362240 2025-07-23 15:47:37,306 - INFO - Waiting for VM ctest-vn1-vm1-55533301 to be up.. 2025-07-23 15:47:37,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 15:47:42,522 - DEBUG - VM is in ACTIVE state now 2025-07-23 15:47:42,522 - INFO - VM name : ctest-vn1-vm1-55533301 2025-07-23 15:47:42,617 - DEBUG - VM ctest-vn1-vm1-55533301 ID is 892dcda9-09a6-44dd-9d70-3ea4f5c483bc 2025-07-23 15:47:42,647 - DEBUG - VM ctest-vn1-vm1-55533301 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2 2025-07-23 15:47:42,741 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/892dcda9-09a6-44dd-9d70-3ea4f5c483bc 2025-07-23 15:47:43,067 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/892dcda9-09a6-44dd-9d70-3ea4f5c483bc 2025-07-23 15:47:43,107 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/f1ccecd9-07e9-4fef-9eed-7eca1f80fc2a 2025-07-23 15:47:46,336 - 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-07-23 15:47:46,336 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55533301 failed! 2025-07-23 15:47:46,357 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-10599093:ctest-vn1-48596699 is 63.218.241.129 and allocation pool is NOT set 2025-07-23 15:47:48,429 - 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=9.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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 = 1.116/5.440/9.764/4.324 ms') 2025-07-23 15:47:48,429 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55533301 passed 2025-07-23 15:47:48,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:47:48,552 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55533301, IP 63.218.241.131, Port 22 2025-07-23 15:47:48,623 - 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-07-23 15:47:48,757 - DEBUG - VM ctest-vn1-vm1-55533301 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 15:47:53,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:47:53,758 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55533301, IP 63.218.241.131, Port 22 2025-07-23 15:47:53,927 - DEBUG - VM ctest-vn1-vm1-55533301 is ready for SSH connections 2025-07-23 15:47:53,927 - INFO - Waiting for VM ctest-vn2-vm1-07792078 to be up.. 2025-07-23 15:47:54,012 - DEBUG - VM is in ACTIVE state now 2025-07-23 15:47:54,012 - INFO - VM name : ctest-vn2-vm1-07792078 2025-07-23 15:47:54,094 - DEBUG - VM ctest-vn2-vm1-07792078 ID is 43e9cdcf-8c81-4093-ac97-feedfc5bdf05 2025-07-23 15:47:54,094 - DEBUG - VM ctest-vn2-vm1-07792078 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1 2025-07-23 15:47:54,178 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/43e9cdcf-8c81-4093-ac97-feedfc5bdf05 2025-07-23 15:47:54,190 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/71e53bbc-7d0e-4bfa-9821-3787d8e98c00 2025-07-23 15:47:55,440 - 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=9.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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.056/5.240/9.425/4.184 ms') 2025-07-23 15:47:55,440 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-07792078 passed 2025-07-23 15:47:55,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:47:55,560 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-07792078, IP 21.185.217.195, Port 22 2025-07-23 15:47:55,778 - DEBUG - VM ctest-vn2-vm1-07792078 is ready for SSH connections 2025-07-23 15:47:55,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:47:55,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.185.217.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 15:47:55,778 - DEBUG - ping -s 56 -c 3 -W 1 21.185.217.195 2025-07-23 15:48:00,526 - DEBUG - PING 21.185.217.195 (21.185.217.195): 56 data bytes --- 21.185.217.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 15:48:00,526 - WARNING - Ping to IP 21.185.217.195 from VM ctest-vn1-vm1-55533301 failed 2025-07-23 15:48:00,526 - INFO - Adding interface with subnet_id f3544a9b-aae5-4ed1-84c2-394667ea1727, port_id None to router 7676f13f-f25a-4dfd-95f5-0cdc8a362240 2025-07-23 15:48:00,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:48:00,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.185.217.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 15:48:00,949 - DEBUG - ping -s 56 -c 3 -W 1 21.185.217.195 2025-07-23 15:48:04,178 - DEBUG - PING 21.185.217.195 (21.185.217.195): 56 data bytes 64 bytes from 21.185.217.195: seq=1 ttl=63 time=6.143 ms 64 bytes from 21.185.217.195: seq=2 ttl=63 time=1.576 ms --- 21.185.217.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.576/3.859/6.143 ms 2025-07-23 15:48:04,178 - WARNING - Ping to IP 21.185.217.195 from VM ctest-vn1-vm1-55533301 failed 2025-07-23 15:48:05,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.185.217.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 15:48:05,179 - DEBUG - ping -s 56 -c 3 -W 1 21.185.217.195 2025-07-23 15:48:07,390 - DEBUG - PING 21.185.217.195 (21.185.217.195): 56 data bytes 64 bytes from 21.185.217.195: seq=0 ttl=63 time=4.038 ms 64 bytes from 21.185.217.195: seq=1 ttl=63 time=1.780 ms 64 bytes from 21.185.217.195: seq=2 ttl=63 time=1.839 ms --- 21.185.217.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.780/2.552/4.038 ms 2025-07-23 15:48:07,391 - INFO - Ping to IP 21.185.217.195 from VM ctest-vn1-vm1-55533301 passed 2025-07-23 15:48:07,391 - INFO - Deleting interface with subnet_id 8d345461-b7bc-4f15-a27e-92b400e98cb7, port_id None from router 7676f13f-f25a-4dfd-95f5-0cdc8a362240 2025-07-23 15:48:07,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:48:07,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.185.217.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 15:48:07,657 - DEBUG - ping -s 56 -c 3 -W 1 21.185.217.195 2025-07-23 15:48:10,851 - DEBUG - PING 21.185.217.195 (21.185.217.195): 56 data bytes --- 21.185.217.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 15:48:10,851 - WARNING - Ping to IP 21.185.217.195 from VM ctest-vn1-vm1-55533301 failed 2025-07-23 15:48:10,852 - INFO - Adding interface with subnet_id 8d345461-b7bc-4f15-a27e-92b400e98cb7, port_id None to router 7676f13f-f25a-4dfd-95f5-0cdc8a362240 2025-07-23 15:48:11,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:48:11,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.185.217.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 15:48:11,234 - DEBUG - ping -s 56 -c 3 -W 1 21.185.217.195 2025-07-23 15:48:13,441 - DEBUG - PING 21.185.217.195 (21.185.217.195): 56 data bytes 64 bytes from 21.185.217.195: seq=0 ttl=63 time=3.438 ms 64 bytes from 21.185.217.195: seq=1 ttl=63 time=1.575 ms 64 bytes from 21.185.217.195: seq=2 ttl=63 time=1.514 ms --- 21.185.217.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.514/2.175/3.438 ms 2025-07-23 15:48:13,441 - INFO - Ping to IP 21.185.217.195 from VM ctest-vn1-vm1-55533301 passed 2025-07-23 15:48:13,441 - INFO - Deleting interface with subnet_id f3544a9b-aae5-4ed1-84c2-394667ea1727, port_id None from router 7676f13f-f25a-4dfd-95f5-0cdc8a362240 2025-07-23 15:48:13,682 - INFO - Deleting interface with subnet_id 8d345461-b7bc-4f15-a27e-92b400e98cb7, port_id None from router 7676f13f-f25a-4dfd-95f5-0cdc8a362240 2025-07-23 15:48:14,025 - INFO - Deleting VM ctest-vn2-vm1-07792078 2025-07-23 15:48:14,136 - INFO - Deleting VM ctest-vn1-vm1-55533301 2025-07-23 15:48:14,213 - INFO - Deleting VN ctest-vn2-66398097 2025-07-23 15:48:14,265 - DEBUG - VN ee7bd27a-a27a-432c-8229-d6ecc4b23fc4 still in use: Unable to complete operation on network ee7bd27a-a27a-432c-8229-d6ecc4b23fc4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-172de9b9-1cab-40dd-8248-626af60bcea6'] 2025-07-23 15:48:14,265 - WARNING - Deleting VN ctest-vn2-66398097 failed..Will retry 2025-07-23 15:48:16,447 - DEBUG - Response for deleting network () 2025-07-23 15:48:16,448 - INFO - Deleting VN ctest-vn1-48596699 2025-07-23 15:48:16,632 - DEBUG - Response for deleting network () 2025-07-23 15:48:17,984 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:48:17,984 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:47]
2025-07-23 15:48:17,984 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:48:18,712 - INFO - Deleted project: ctest-TestRouters-10599093, ID : 06860589-0eca-40e1-8944-184683d813be