2025-08-07 18:22:23,146 - INFO - Domain Default found not creating 2025-08-07 18:22:23,337 - INFO - Project ctest-TestRouters-45289795 not found, creating it 2025-08-07 18:22:23,908 - INFO - Created Project:ctest-TestRouters-45289795, ID : ab95e620-d5b6-47a2-9758-2aa29dbebbee 2025-08-07 18:22:25,507 - INFO - ================================================================================ 2025-08-07 18:22:25,507 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-07 18:22:25,508 - 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-07 18:22:26,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.193': '0'}, '10.0.0.242': {'10.20.0.14': '0', '10.20.0.193': '0'}} with 2025-08-07 18:22:26,872 - INFO - Initial checks done. Running the testcase now 2025-08-07 18:22:26,872 - INFO - 2025-08-07 18:22:27,603 - DEBUG - Response for create_network : {'network': {'id': '32e7e783-2eda-4916-800b-e27d36f96a8b', 'name': 'ctest-vn1-19353073', 'tenant_id': 'ab95e620d5b647a297582aa29dbebbee', 'project_id': 'ab95e620d5b647a297582aa29dbebbee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45289795', 'ctest-vn1-19353073'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 18:22:27,899 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d5021fd-f620-4cdf-a951-59731413fb04', 'name': '', 'tenant_id': 'ab95e620d5b647a297582aa29dbebbee', 'network_id': '32e7e783-2eda-4916-800b-e27d36f96a8b', 'ip_version': 4, 'cidr': '75.86.194.128/26', 'allocation_pools': [{'start': '75.86.194.130', 'end': '75.86.194.190'}], 'gateway_ip': '75.86.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.86.194.130', 'tags': [], 'project_id': 'ab95e620d5b647a297582aa29dbebbee'}} 2025-08-07 18:22:27,923 - INFO - Created VN ctest-vn1-19353073 2025-08-07 18:22:27,945 - DEBUG - VN ctest-vn1-19353073 UUID is 32e7e783-2eda-4916-800b-e27d36f96a8b 2025-08-07 18:22:28,390 - DEBUG - Response for create_network : {'network': {'id': '80034bda-e03d-48aa-a594-8c487c67e72a', 'name': 'ctest-vn2-16972653', 'tenant_id': 'ab95e620d5b647a297582aa29dbebbee', 'project_id': 'ab95e620d5b647a297582aa29dbebbee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45289795', 'ctest-vn2-16972653'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 18:22:28,674 - DEBUG - Response for create_subnet : {'subnet': {'id': '7df29182-cbf6-402f-b29d-e28384dd0729', 'name': '', 'tenant_id': 'ab95e620d5b647a297582aa29dbebbee', 'network_id': '80034bda-e03d-48aa-a594-8c487c67e72a', 'ip_version': 4, 'cidr': '45.214.42.192/26', 'allocation_pools': [{'start': '45.214.42.194', 'end': '45.214.42.254'}], 'gateway_ip': '45.214.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.214.42.194', 'tags': [], 'project_id': 'ab95e620d5b647a297582aa29dbebbee'}} 2025-08-07 18:22:28,701 - INFO - Created VN ctest-vn2-16972653 2025-08-07 18:22:28,716 - DEBUG - VN ctest-vn2-16972653 UUID is 80034bda-e03d-48aa-a594-8c487c67e72a 2025-08-07 18:22:28,945 - DEBUG - Services list from nova: [, , , ] 2025-08-07 18:22:30,042 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-2) 2025-08-07 18:22:31,510 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-1) 2025-08-07 18:22:31,637 - INFO - Adding interface with subnet_id 1d5021fd-f620-4cdf-a951-59731413fb04, port_id None to router a65ef614-4e0d-4816-ae72-2b533574add8 2025-08-07 18:22:32,284 - INFO - Waiting for VM ctest-vn1-vm1-76657213 to be up.. 2025-08-07 18:22:32,480 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 18:22:37,589 - DEBUG - VM is in ACTIVE state now 2025-08-07 18:22:37,589 - INFO - VM name : ctest-vn1-vm1-76657213 2025-08-07 18:22:37,698 - DEBUG - VM ctest-vn1-vm1-76657213 ID is 9f2e7d90-94f5-499a-8c5b-ae44f0a32d7c 2025-08-07 18:22:37,729 - DEBUG - VM ctest-vn1-vm1-76657213 launched on Node an-jenkins-deploy-platform-ansible-os-3775-2 2025-08-07 18:22:37,852 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/9f2e7d90-94f5-499a-8c5b-ae44f0a32d7c 2025-08-07 18:22:38,169 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/9f2e7d90-94f5-499a-8c5b-ae44f0a32d7c 2025-08-07 18:22:38,210 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/08f66980-0130-4be3-8754-d9c07954644b 2025-08-07 18:22:41,442 - 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 1005ms') 2025-08-07 18:22:41,442 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76657213 failed! 2025-08-07 18:22:41,465 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-45289795:ctest-vn1-19353073 is 75.86.194.129 and allocation pool is NOT set 2025-08-07 18:22:45,546 - 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=2 ttl=63 time=7.90 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 7.896/7.896/7.896/0.000 ms') 2025-08-07 18:22:45,546 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76657213 passed 2025-08-07 18:22:45,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:22:45,667 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76657213, IP 75.86.194.131, Port 22 2025-08-07 18:22:45,846 - DEBUG - VM ctest-vn1-vm1-76657213 is ready for SSH connections 2025-08-07 18:22:45,846 - INFO - Waiting for VM ctest-vn2-vm1-23577461 to be up.. 2025-08-07 18:22:45,939 - DEBUG - VM is in ACTIVE state now 2025-08-07 18:22:45,940 - INFO - VM name : ctest-vn2-vm1-23577461 2025-08-07 18:22:46,034 - DEBUG - VM ctest-vn2-vm1-23577461 ID is a3bdc573-892b-49c2-a336-e07d818dd9f7 2025-08-07 18:22:46,034 - DEBUG - VM ctest-vn2-vm1-23577461 launched on Node an-jenkins-deploy-platform-ansible-os-3775-1 2025-08-07 18:22:46,193 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a3bdc573-892b-49c2-a336-e07d818dd9f7 2025-08-07 18:22:46,205 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f657d817-2eb5-4324-9554-653546deb99a 2025-08-07 18:22:47,466 - 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=15.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.36 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 = 3.359/9.346/15.334/5.987 ms') 2025-08-07 18:22:47,466 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-23577461 passed 2025-08-07 18:22:47,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:22:47,582 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-23577461, IP 45.214.42.195, Port 22 2025-08-07 18:22:47,762 - DEBUG - VM ctest-vn2-vm1-23577461 is ready for SSH connections 2025-08-07 18:22:47,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:22:47,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.214.42.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 18:22:47,762 - DEBUG - ping -s 56 -c 3 -W 1 45.214.42.195 2025-08-07 18:22:52,504 - DEBUG - PING 45.214.42.195 (45.214.42.195): 56 data bytes --- 45.214.42.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 18:22:52,505 - WARNING - Ping to IP 45.214.42.195 from VM ctest-vn1-vm1-76657213 failed 2025-08-07 18:22:52,505 - INFO - Adding interface with subnet_id 7df29182-cbf6-402f-b29d-e28384dd0729, port_id None to router a65ef614-4e0d-4816-ae72-2b533574add8 2025-08-07 18:22:52,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:22:52,997 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.214.42.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 18:22:52,997 - DEBUG - ping -s 56 -c 3 -W 1 45.214.42.195 2025-08-07 18:22:56,271 - DEBUG - PING 45.214.42.195 (45.214.42.195): 56 data bytes 64 bytes from 45.214.42.195: seq=1 ttl=63 time=9.018 ms 64 bytes from 45.214.42.195: seq=2 ttl=63 time=2.591 ms --- 45.214.42.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 2.591/5.804/9.018 ms 2025-08-07 18:22:56,271 - WARNING - Ping to IP 45.214.42.195 from VM ctest-vn1-vm1-76657213 failed 2025-08-07 18:22:57,271 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.214.42.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 18:22:57,272 - DEBUG - ping -s 56 -c 3 -W 1 45.214.42.195 2025-08-07 18:22:59,548 - DEBUG - PING 45.214.42.195 (45.214.42.195): 56 data bytes 64 bytes from 45.214.42.195: seq=0 ttl=63 time=6.795 ms 64 bytes from 45.214.42.195: seq=1 ttl=63 time=1.852 ms 64 bytes from 45.214.42.195: seq=2 ttl=63 time=1.738 ms --- 45.214.42.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.738/3.461/6.795 ms 2025-08-07 18:22:59,549 - INFO - Ping to IP 45.214.42.195 from VM ctest-vn1-vm1-76657213 passed 2025-08-07 18:22:59,549 - INFO - Deleting interface with subnet_id 1d5021fd-f620-4cdf-a951-59731413fb04, port_id None from router a65ef614-4e0d-4816-ae72-2b533574add8 2025-08-07 18:22:59,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:22:59,782 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.214.42.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 18:22:59,782 - DEBUG - ping -s 56 -c 3 -W 1 45.214.42.195 2025-08-07 18:23:03,025 - DEBUG - PING 45.214.42.195 (45.214.42.195): 56 data bytes --- 45.214.42.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 18:23:03,025 - WARNING - Ping to IP 45.214.42.195 from VM ctest-vn1-vm1-76657213 failed 2025-08-07 18:23:03,025 - INFO - Adding interface with subnet_id 1d5021fd-f620-4cdf-a951-59731413fb04, port_id None to router a65ef614-4e0d-4816-ae72-2b533574add8 2025-08-07 18:23:03,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:23:03,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.214.42.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 18:23:03,435 - DEBUG - ping -s 56 -c 3 -W 1 45.214.42.195 2025-08-07 18:23:05,725 - DEBUG - PING 45.214.42.195 (45.214.42.195): 56 data bytes 64 bytes from 45.214.42.195: seq=0 ttl=63 time=7.397 ms 64 bytes from 45.214.42.195: seq=1 ttl=63 time=1.544 ms 64 bytes from 45.214.42.195: seq=2 ttl=63 time=1.893 ms --- 45.214.42.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.544/3.611/7.397 ms 2025-08-07 18:23:05,726 - INFO - Ping to IP 45.214.42.195 from VM ctest-vn1-vm1-76657213 passed 2025-08-07 18:23:05,726 - INFO - Deleting interface with subnet_id 7df29182-cbf6-402f-b29d-e28384dd0729, port_id None from router a65ef614-4e0d-4816-ae72-2b533574add8 2025-08-07 18:23:06,106 - INFO - Deleting interface with subnet_id 1d5021fd-f620-4cdf-a951-59731413fb04, port_id None from router a65ef614-4e0d-4816-ae72-2b533574add8 2025-08-07 18:23:06,475 - INFO - Deleting VM ctest-vn2-vm1-23577461 2025-08-07 18:23:06,585 - INFO - Deleting VM ctest-vn1-vm1-76657213 2025-08-07 18:23:06,671 - INFO - Deleting VN ctest-vn2-16972653 2025-08-07 18:23:06,741 - DEBUG - VN 80034bda-e03d-48aa-a594-8c487c67e72a still in use: Unable to complete operation on network 80034bda-e03d-48aa-a594-8c487c67e72a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23c6a6a4-5477-46c6-a8d5-620332027f8f'] 2025-08-07 18:23:06,741 - WARNING - Deleting VN ctest-vn2-16972653 failed..Will retry 2025-08-07 18:23:08,953 - DEBUG - Response for deleting network () 2025-08-07 18:23:08,954 - INFO - Deleting VN ctest-vn1-19353073 2025-08-07 18:23:09,215 - DEBUG - Response for deleting network () 2025-08-07 18:23:10,537 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 18:23:10,537 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-08-07 18:23:10,537 - INFO - -------------------------------------------------------------------------------- 2025-08-07 18:23:11,286 - INFO - Deleted project: ctest-TestRouters-45289795, ID : ab95e620-d5b6-47a2-9758-2aa29dbebbee