2025-08-11 02:31:38,717 - INFO - Domain Default found not creating 2025-08-11 02:31:38,865 - INFO - Project ctest-TestRouters-84681036 not found, creating it 2025-08-11 02:31:39,399 - INFO - Created Project:ctest-TestRouters-84681036, ID : af22bbc4-797a-4152-a768-32ec378f2f73 2025-08-11 02:31:40,981 - INFO - ================================================================================ 2025-08-11 02:31:40,981 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 02:31:40,981 - 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-11 02:31:42,269 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-11 02:31:42,269 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:31:42,270 - INFO - 2025-08-11 02:31:43,065 - DEBUG - Response for create_network : {'network': {'id': 'c579c0d2-2ca2-4d6e-80cc-4789fb6f000c', 'name': 'ctest-vn1-46600064', 'tenant_id': 'af22bbc4797a4152a76832ec378f2f73', 'project_id': 'af22bbc4797a4152a76832ec378f2f73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84681036', 'ctest-vn1-46600064'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:31:43,403 - DEBUG - Response for create_subnet : {'subnet': {'id': '5894d40b-a71b-48e5-aa85-e7a4db04a284', 'name': '', 'tenant_id': 'af22bbc4797a4152a76832ec378f2f73', 'network_id': 'c579c0d2-2ca2-4d6e-80cc-4789fb6f000c', 'ip_version': 4, 'cidr': '210.144.124.128/26', 'allocation_pools': [{'start': '210.144.124.130', 'end': '210.144.124.190'}], 'gateway_ip': '210.144.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.144.124.130', 'tags': [], 'project_id': 'af22bbc4797a4152a76832ec378f2f73'}} 2025-08-11 02:31:43,440 - INFO - Created VN ctest-vn1-46600064 2025-08-11 02:31:43,456 - DEBUG - VN ctest-vn1-46600064 UUID is c579c0d2-2ca2-4d6e-80cc-4789fb6f000c 2025-08-11 02:31:43,872 - DEBUG - Response for create_network : {'network': {'id': 'b2dc899e-c08e-41c3-81de-1c6973c5d8c4', 'name': 'ctest-vn2-69460680', 'tenant_id': 'af22bbc4797a4152a76832ec378f2f73', 'project_id': 'af22bbc4797a4152a76832ec378f2f73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84681036', 'ctest-vn2-69460680'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:31:44,137 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df56e10f-1d6a-4ca7-85e6-bd4633de8db9', 'name': '', 'tenant_id': 'af22bbc4797a4152a76832ec378f2f73', 'network_id': 'b2dc899e-c08e-41c3-81de-1c6973c5d8c4', 'ip_version': 4, 'cidr': '186.120.79.64/26', 'allocation_pools': [{'start': '186.120.79.66', 'end': '186.120.79.126'}], 'gateway_ip': '186.120.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.120.79.66', 'tags': [], 'project_id': 'af22bbc4797a4152a76832ec378f2f73'}} 2025-08-11 02:31:44,158 - INFO - Created VN ctest-vn2-69460680 2025-08-11 02:31:44,182 - DEBUG - VN ctest-vn2-69460680 UUID is b2dc899e-c08e-41c3-81de-1c6973c5d8c4 2025-08-11 02:31:44,320 - DEBUG - Services list from nova: [, , , ] 2025-08-11 02:31:46,268 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 02:31:47,688 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 02:31:47,813 - INFO - Adding interface with subnet_id 5894d40b-a71b-48e5-aa85-e7a4db04a284, port_id None to router 7856d8a5-b1f5-4825-8786-9c1ea75d0603 2025-08-11 02:31:48,157 - INFO - Waiting for VM ctest-vn1-vm1-96076980 to be up.. 2025-08-11 02:31:48,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:31:53,343 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:31:53,343 - INFO - VM name : ctest-vn1-vm1-96076980 2025-08-11 02:31:53,425 - DEBUG - VM ctest-vn1-vm1-96076980 ID is 500e413e-be85-48c4-bdc6-83b632dff01e 2025-08-11 02:31:53,451 - DEBUG - VM ctest-vn1-vm1-96076980 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2 2025-08-11 02:31:53,534 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/500e413e-be85-48c4-bdc6-83b632dff01e 2025-08-11 02:31:53,823 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/500e413e-be85-48c4-bdc6-83b632dff01e 2025-08-11 02:31:53,856 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d5e551f7-c6ab-48b0-b63b-101199ba2ac2 2025-08-11 02:31:57,095 - 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 1014ms') 2025-08-11 02:31:57,095 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96076980 failed! 2025-08-11 02:31:57,108 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84681036:ctest-vn1-46600064 is 210.144.124.129 and allocation pool is NOT set 2025-08-11 02:31:59,175 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.356 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.356/2.250/4.144/1.894 ms') 2025-08-11 02:31:59,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96076980 passed 2025-08-11 02:31:59,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:31:59,287 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96076980, IP 210.144.124.131, Port 22 2025-08-11 02:31:59,445 - DEBUG - VM ctest-vn1-vm1-96076980 is ready for SSH connections 2025-08-11 02:31:59,445 - INFO - Waiting for VM ctest-vn2-vm1-97528478 to be up.. 2025-08-11 02:31:59,514 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:31:59,514 - INFO - VM name : ctest-vn2-vm1-97528478 2025-08-11 02:31:59,579 - DEBUG - VM ctest-vn2-vm1-97528478 ID is 7b57ace8-94ac-49da-b662-64912c588516 2025-08-11 02:31:59,579 - DEBUG - VM ctest-vn2-vm1-97528478 launched on Node an-jenkins-deploy-platform-ansible-os-3794-1 2025-08-11 02:31:59,690 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7b57ace8-94ac-49da-b662-64912c588516 2025-08-11 02:31:59,701 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ae67fbb5-d6af-4549-879d-d39a811593e6 2025-08-11 02:32:00,894 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.716 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.716/2.565/4.414/1.849 ms') 2025-08-11 02:32:00,894 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-97528478 passed 2025-08-11 02:32:01,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:32:01,013 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-97528478, IP 186.120.79.67, Port 22 2025-08-11 02:32:01,185 - DEBUG - VM ctest-vn2-vm1-97528478 is ready for SSH connections 2025-08-11 02:32:01,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:32:01,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.120.79.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 02:32:01,185 - DEBUG - ping -s 56 -c 3 -W 1 186.120.79.67 2025-08-11 02:32:05,829 - DEBUG - PING 186.120.79.67 (186.120.79.67): 56 data bytes --- 186.120.79.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 02:32:05,829 - WARNING - Ping to IP 186.120.79.67 from VM ctest-vn1-vm1-96076980 failed 2025-08-11 02:32:05,829 - INFO - Adding interface with subnet_id df56e10f-1d6a-4ca7-85e6-bd4633de8db9, port_id None to router 7856d8a5-b1f5-4825-8786-9c1ea75d0603 2025-08-11 02:32:06,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:32:06,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.120.79.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 02:32:06,189 - DEBUG - ping -s 56 -c 3 -W 1 186.120.79.67 2025-08-11 02:32:08,384 - DEBUG - PING 186.120.79.67 (186.120.79.67): 56 data bytes 64 bytes from 186.120.79.67: seq=0 ttl=63 time=4.569 ms 64 bytes from 186.120.79.67: seq=1 ttl=63 time=1.009 ms 64 bytes from 186.120.79.67: seq=2 ttl=63 time=1.026 ms --- 186.120.79.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.009/2.201/4.569 ms 2025-08-11 02:32:08,384 - INFO - Ping to IP 186.120.79.67 from VM ctest-vn1-vm1-96076980 passed 2025-08-11 02:32:08,385 - INFO - Deleting interface with subnet_id 5894d40b-a71b-48e5-aa85-e7a4db04a284, port_id None from router 7856d8a5-b1f5-4825-8786-9c1ea75d0603 2025-08-11 02:32:08,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:32:08,575 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.120.79.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 02:32:08,575 - DEBUG - ping -s 56 -c 3 -W 1 186.120.79.67 2025-08-11 02:32:11,767 - DEBUG - PING 186.120.79.67 (186.120.79.67): 56 data bytes --- 186.120.79.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 02:32:11,768 - WARNING - Ping to IP 186.120.79.67 from VM ctest-vn1-vm1-96076980 failed 2025-08-11 02:32:11,768 - INFO - Adding interface with subnet_id 5894d40b-a71b-48e5-aa85-e7a4db04a284, port_id None to router 7856d8a5-b1f5-4825-8786-9c1ea75d0603 2025-08-11 02:32:12,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:32:12,055 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.120.79.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 02:32:12,055 - DEBUG - ping -s 56 -c 3 -W 1 186.120.79.67 2025-08-11 02:32:14,242 - DEBUG - PING 186.120.79.67 (186.120.79.67): 56 data bytes 64 bytes from 186.120.79.67: seq=0 ttl=63 time=2.063 ms 64 bytes from 186.120.79.67: seq=1 ttl=63 time=0.937 ms 64 bytes from 186.120.79.67: seq=2 ttl=63 time=0.850 ms --- 186.120.79.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/1.283/2.063 ms 2025-08-11 02:32:14,242 - INFO - Ping to IP 186.120.79.67 from VM ctest-vn1-vm1-96076980 passed 2025-08-11 02:32:14,242 - INFO - Deleting interface with subnet_id df56e10f-1d6a-4ca7-85e6-bd4633de8db9, port_id None from router 7856d8a5-b1f5-4825-8786-9c1ea75d0603 2025-08-11 02:32:14,423 - INFO - Deleting interface with subnet_id 5894d40b-a71b-48e5-aa85-e7a4db04a284, port_id None from router 7856d8a5-b1f5-4825-8786-9c1ea75d0603 2025-08-11 02:32:14,677 - INFO - Deleting VM ctest-vn2-vm1-97528478 2025-08-11 02:32:14,771 - INFO - Deleting VM ctest-vn1-vm1-96076980 2025-08-11 02:32:14,832 - INFO - Deleting VN ctest-vn2-69460680 2025-08-11 02:32:14,874 - DEBUG - VN b2dc899e-c08e-41c3-81de-1c6973c5d8c4 still in use: Unable to complete operation on network b2dc899e-c08e-41c3-81de-1c6973c5d8c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1dcc0996-31ed-4a57-8e64-bc6b4ac8274a'] 2025-08-11 02:32:14,874 - WARNING - Deleting VN ctest-vn2-69460680 failed..Will retry 2025-08-11 02:32:17,038 - DEBUG - Response for deleting network () 2025-08-11 02:32:17,038 - INFO - Deleting VN ctest-vn1-46600064 2025-08-11 02:32:17,201 - DEBUG - Response for deleting network () 2025-08-11 02:32:18,453 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:32:18,453 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-08-11 02:32:18,453 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:32:19,103 - INFO - Deleted project: ctest-TestRouters-84681036, ID : af22bbc4-797a-4152-a768-32ec378f2f73