2025-09-04 17:14:15,575 - INFO - Domain Default found not creating 2025-09-04 17:14:15,804 - INFO - Project ctest-TestRouters-45540483 not found, creating it 2025-09-04 17:14:16,242 - INFO - Created Project:ctest-TestRouters-45540483, ID : 17f61e78-7e8f-4c67-a9a9-afadf91781fd 2025-09-04 17:14:17,734 - INFO - ================================================================================ 2025-09-04 17:14:17,735 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-04 17:14:17,735 - 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-09-04 17:14:17,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-04 17:14:17,991 - INFO - Initial checks done. Running the testcase now 2025-09-04 17:14:17,991 - INFO - 2025-09-04 17:14:18,526 - DEBUG - Response for create_network : {'network': {'id': 'cf4655e1-b527-4968-8b59-1c7bd572e522', 'name': 'ctest-vn1-71032471', 'tenant_id': '17f61e787e8f4c67a9a9afadf91781fd', 'project_id': '17f61e787e8f4c67a9a9afadf91781fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45540483', 'ctest-vn1-71032471'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 17:14:18,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f6f6b9e-c5d4-47d2-a9e4-d9c34d6a048d', 'name': '', 'tenant_id': '17f61e787e8f4c67a9a9afadf91781fd', 'network_id': 'cf4655e1-b527-4968-8b59-1c7bd572e522', 'ip_version': 4, 'cidr': '133.38.164.128/26', 'allocation_pools': [{'start': '133.38.164.130', 'end': '133.38.164.190'}], 'gateway_ip': '133.38.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.38.164.130', 'tags': [], 'project_id': '17f61e787e8f4c67a9a9afadf91781fd'}} 2025-09-04 17:14:18,788 - INFO - Created VN ctest-vn1-71032471 2025-09-04 17:14:18,838 - DEBUG - VN ctest-vn1-71032471 UUID is cf4655e1-b527-4968-8b59-1c7bd572e522 2025-09-04 17:14:19,206 - DEBUG - Response for create_network : {'network': {'id': 'd087bd3f-a3e5-41a8-bfd1-96735baa2c9e', 'name': 'ctest-vn2-84563112', 'tenant_id': '17f61e787e8f4c67a9a9afadf91781fd', 'project_id': '17f61e787e8f4c67a9a9afadf91781fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45540483', 'ctest-vn2-84563112'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 17:14:19,408 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6060b1d-2171-4b22-b268-f31bf12f3aed', 'name': '', 'tenant_id': '17f61e787e8f4c67a9a9afadf91781fd', 'network_id': 'd087bd3f-a3e5-41a8-bfd1-96735baa2c9e', 'ip_version': 4, 'cidr': '54.9.136.64/26', 'allocation_pools': [{'start': '54.9.136.66', 'end': '54.9.136.126'}], 'gateway_ip': '54.9.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.9.136.66', 'tags': [], 'project_id': '17f61e787e8f4c67a9a9afadf91781fd'}} 2025-09-04 17:14:19,424 - INFO - Created VN ctest-vn2-84563112 2025-09-04 17:14:19,474 - DEBUG - VN ctest-vn2-84563112 UUID is d087bd3f-a3e5-41a8-bfd1-96735baa2c9e 2025-09-04 17:14:19,673 - DEBUG - Services list from nova: [, , ] 2025-09-04 17:14:20,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4018-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4018-1) 2025-09-04 17:14:21,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4018-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4018-1) 2025-09-04 17:14:21,918 - INFO - Adding interface with subnet_id 9f6f6b9e-c5d4-47d2-a9e4-d9c34d6a048d, port_id None to router efabcb88-8156-4c39-b742-192c219b7b87 2025-09-04 17:14:22,154 - INFO - Waiting for VM ctest-vn1-vm1-30290634 to be up.. 2025-09-04 17:14:22,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 17:14:27,308 - DEBUG - VM is in ACTIVE state now 2025-09-04 17:14:27,308 - INFO - VM name : ctest-vn1-vm1-30290634 2025-09-04 17:14:27,375 - DEBUG - VM ctest-vn1-vm1-30290634 ID is a54cb5fc-a733-4664-9c81-7517c81800dd 2025-09-04 17:14:27,394 - DEBUG - VM ctest-vn1-vm1-30290634 launched on Node cn-jenkins-deploy-platform-ansible-os-4018-1 2025-09-04 17:14:27,465 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a54cb5fc-a733-4664-9c81-7517c81800dd 2025-09-04 17:14:27,765 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a54cb5fc-a733-4664-9c81-7517c81800dd 2025-09-04 17:14:27,793 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a35908ab-e277-4487-a18f-913adda5066f 2025-09-04 17:14:31,065 - 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 1031ms') 2025-09-04 17:14:31,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30290634 failed! 2025-09-04 17:14:31,122 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-45540483:ctest-vn1-71032471 is 133.38.164.129 and allocation pool is NOT set 2025-09-04 17:14:33,184 - 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=3.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/1.952/3.488/1.536 ms') 2025-09-04 17:14:33,184 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30290634 passed 2025-09-04 17:14:33,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:33,330 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30290634, IP 133.38.164.131, Port 22 2025-09-04 17:14:33,489 - DEBUG - VM ctest-vn1-vm1-30290634 is ready for SSH connections 2025-09-04 17:14:33,489 - INFO - Waiting for VM ctest-vn2-vm1-77924635 to be up.. 2025-09-04 17:14:33,558 - DEBUG - VM is in ACTIVE state now 2025-09-04 17:14:33,558 - INFO - VM name : ctest-vn2-vm1-77924635 2025-09-04 17:14:33,621 - DEBUG - VM ctest-vn2-vm1-77924635 ID is 60644f8d-4d87-49ed-b055-9b26a4ba8001 2025-09-04 17:14:33,621 - DEBUG - VM ctest-vn2-vm1-77924635 launched on Node cn-jenkins-deploy-platform-ansible-os-4018-1 2025-09-04 17:14:33,686 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/60644f8d-4d87-49ed-b055-9b26a4ba8001 2025-09-04 17:14:33,693 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9eb33c2d-13ec-4ad4-a5e0-27d62219af7c 2025-09-04 17:14:34,929 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.402/1.538/2.674/1.136 ms') 2025-09-04 17:14:34,929 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-77924635 passed 2025-09-04 17:14:35,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:35,078 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-77924635, IP 54.9.136.67, Port 22 2025-09-04 17:14:35,241 - DEBUG - VM ctest-vn2-vm1-77924635 is ready for SSH connections 2025-09-04 17:14:35,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:35,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.9.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-04 17:14:35,241 - DEBUG - ping -s 56 -c 3 -W 1 54.9.136.67 2025-09-04 17:14:40,248 - DEBUG - PING 54.9.136.67 (54.9.136.67): 56 data bytes --- 54.9.136.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 17:14:40,248 - WARNING - Ping to IP 54.9.136.67 from VM ctest-vn1-vm1-30290634 failed 2025-09-04 17:14:40,248 - INFO - Adding interface with subnet_id a6060b1d-2171-4b22-b268-f31bf12f3aed, port_id None to router efabcb88-8156-4c39-b742-192c219b7b87 2025-09-04 17:14:40,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:40,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.9.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-04 17:14:40,485 - DEBUG - ping -s 56 -c 3 -W 1 54.9.136.67 2025-09-04 17:14:43,688 - DEBUG - PING 54.9.136.67 (54.9.136.67): 56 data bytes 64 bytes from 54.9.136.67: seq=1 ttl=63 time=2.723 ms 64 bytes from 54.9.136.67: seq=2 ttl=63 time=0.763 ms --- 54.9.136.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.763/1.743/2.723 ms 2025-09-04 17:14:43,688 - WARNING - Ping to IP 54.9.136.67 from VM ctest-vn1-vm1-30290634 failed 2025-09-04 17:14:44,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.9.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-04 17:14:44,689 - DEBUG - ping -s 56 -c 3 -W 1 54.9.136.67 2025-09-04 17:14:46,889 - DEBUG - PING 54.9.136.67 (54.9.136.67): 56 data bytes 64 bytes from 54.9.136.67: seq=0 ttl=63 time=1.542 ms 64 bytes from 54.9.136.67: seq=1 ttl=63 time=0.707 ms 64 bytes from 54.9.136.67: seq=2 ttl=63 time=0.753 ms --- 54.9.136.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.707/1.000/1.542 ms 2025-09-04 17:14:46,890 - INFO - Ping to IP 54.9.136.67 from VM ctest-vn1-vm1-30290634 passed 2025-09-04 17:14:46,890 - INFO - Deleting interface with subnet_id 9f6f6b9e-c5d4-47d2-a9e4-d9c34d6a048d, port_id None from router efabcb88-8156-4c39-b742-192c219b7b87 2025-09-04 17:14:46,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:46,996 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.9.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-04 17:14:46,996 - DEBUG - ping -s 56 -c 3 -W 1 54.9.136.67 2025-09-04 17:14:50,191 - DEBUG - PING 54.9.136.67 (54.9.136.67): 56 data bytes --- 54.9.136.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 17:14:50,191 - WARNING - Ping to IP 54.9.136.67 from VM ctest-vn1-vm1-30290634 failed 2025-09-04 17:14:50,191 - INFO - Adding interface with subnet_id 9f6f6b9e-c5d4-47d2-a9e4-d9c34d6a048d, port_id None to router efabcb88-8156-4c39-b742-192c219b7b87 2025-09-04 17:14:50,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:50,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.9.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-04 17:14:50,401 - DEBUG - ping -s 56 -c 3 -W 1 54.9.136.67 2025-09-04 17:14:52,619 - DEBUG - PING 54.9.136.67 (54.9.136.67): 56 data bytes 64 bytes from 54.9.136.67: seq=0 ttl=63 time=1.221 ms 64 bytes from 54.9.136.67: seq=1 ttl=63 time=0.792 ms 64 bytes from 54.9.136.67: seq=2 ttl=63 time=0.761 ms --- 54.9.136.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/0.924/1.221 ms 2025-09-04 17:14:52,619 - INFO - Ping to IP 54.9.136.67 from VM ctest-vn1-vm1-30290634 passed 2025-09-04 17:14:52,619 - INFO - Deleting interface with subnet_id a6060b1d-2171-4b22-b268-f31bf12f3aed, port_id None from router efabcb88-8156-4c39-b742-192c219b7b87 2025-09-04 17:14:52,728 - INFO - Deleting interface with subnet_id 9f6f6b9e-c5d4-47d2-a9e4-d9c34d6a048d, port_id None from router efabcb88-8156-4c39-b742-192c219b7b87 2025-09-04 17:14:52,901 - INFO - Deleting VM ctest-vn2-vm1-77924635 2025-09-04 17:14:52,965 - INFO - Deleting VM ctest-vn1-vm1-30290634 2025-09-04 17:14:53,032 - INFO - Deleting VN ctest-vn2-84563112 2025-09-04 17:14:53,069 - DEBUG - VN d087bd3f-a3e5-41a8-bfd1-96735baa2c9e still in use: Unable to complete operation on network d087bd3f-a3e5-41a8-bfd1-96735baa2c9e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba88818d-1c43-431c-8f87-bdf54c233193'] 2025-09-04 17:14:53,069 - WARNING - Deleting VN ctest-vn2-84563112 failed..Will retry 2025-09-04 17:14:55,158 - DEBUG - Response for deleting network () 2025-09-04 17:14:55,158 - INFO - Deleting VN ctest-vn1-71032471 2025-09-04 17:14:55,261 - DEBUG - Response for deleting network () 2025-09-04 17:14:55,520 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 17:14:55,520 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-04 17:14:55,520 - INFO - -------------------------------------------------------------------------------- 2025-09-04 17:14:56,180 - INFO - Deleted project: ctest-TestRouters-45540483, ID : 17f61e78-7e8f-4c67-a9a9-afadf91781fd