2026-01-23 16:26:49,873 - INFO - Domain Default found not creating 2026-01-23 16:26:50,089 - INFO - Project ctest-TestRouters-27068287 not found, creating it 2026-01-23 16:26:50,591 - INFO - Created Project:ctest-TestRouters-27068287, ID : 91c5d478-fee2-4f30-9581-25ae740bc094 2026-01-23 16:26:52,397 - INFO - ================================================================================ 2026-01-23 16:26:52,397 - INFO - STARTING TEST : test_basic_router_behavior 2026-01-23 16:26:52,397 - 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 2026-01-23 16:26:52,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-01-23 16:26:52,703 - INFO - Initial checks done. Running the testcase now 2026-01-23 16:26:52,703 - INFO - 2026-01-23 16:26:53,452 - DEBUG - Response for create_network : {'network': {'id': '285e7a3e-2dcd-494e-b308-6726ce7587b3', 'name': 'ctest-vn1-41619280', 'tenant_id': '91c5d478fee24f30958125ae740bc094', 'project_id': '91c5d478fee24f30958125ae740bc094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27068287', 'ctest-vn1-41619280'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 16:26:53,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'beba5596-0f55-4cd5-aae6-276c6a4e421f', 'name': '', 'tenant_id': '91c5d478fee24f30958125ae740bc094', 'network_id': '285e7a3e-2dcd-494e-b308-6726ce7587b3', 'ip_version': 4, 'cidr': '147.98.197.64/26', 'allocation_pools': [{'start': '147.98.197.66', 'end': '147.98.197.126'}], 'gateway_ip': '147.98.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.98.197.66', 'tags': [], 'project_id': '91c5d478fee24f30958125ae740bc094'}} 2026-01-23 16:26:53,649 - INFO - Created VN ctest-vn1-41619280 2026-01-23 16:26:53,699 - DEBUG - VN ctest-vn1-41619280 UUID is 285e7a3e-2dcd-494e-b308-6726ce7587b3 2026-01-23 16:26:54,035 - DEBUG - Response for create_network : {'network': {'id': 'c2a6e1b1-4a68-4c36-ab9e-d2b1f2cdae63', 'name': 'ctest-vn2-18468100', 'tenant_id': '91c5d478fee24f30958125ae740bc094', 'project_id': '91c5d478fee24f30958125ae740bc094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27068287', 'ctest-vn2-18468100'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 16:26:54,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '08cf0db6-695c-444a-a657-6030956d0607', 'name': '', 'tenant_id': '91c5d478fee24f30958125ae740bc094', 'network_id': 'c2a6e1b1-4a68-4c36-ab9e-d2b1f2cdae63', 'ip_version': 4, 'cidr': '149.245.80.0/26', 'allocation_pools': [{'start': '149.245.80.2', 'end': '149.245.80.62'}], 'gateway_ip': '149.245.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.245.80.2', 'tags': [], 'project_id': '91c5d478fee24f30958125ae740bc094'}} 2026-01-23 16:26:54,269 - INFO - Created VN ctest-vn2-18468100 2026-01-23 16:26:54,332 - DEBUG - VN ctest-vn2-18468100 UUID is c2a6e1b1-4a68-4c36-ab9e-d2b1f2cdae63 2026-01-23 16:26:54,639 - DEBUG - Services list from nova: [, , ] 2026-01-23 16:26:56,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5072-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5072-1) 2026-01-23 16:26:57,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5072-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5072-1) 2026-01-23 16:26:57,608 - INFO - Adding interface with subnet_id beba5596-0f55-4cd5-aae6-276c6a4e421f, port_id None to router 918873d0-9065-44ee-8dc3-f8862fe0fa58 2026-01-23 16:26:57,878 - INFO - Waiting for VM ctest-vn1-vm1-96975298 to be up.. 2026-01-23 16:26:57,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-23 16:27:03,086 - DEBUG - VM is in ACTIVE state now 2026-01-23 16:27:03,086 - INFO - VM name : ctest-vn1-vm1-96975298 2026-01-23 16:27:03,182 - DEBUG - VM ctest-vn1-vm1-96975298 ID is 9ed702be-be65-4a29-a0a3-427598d6c844 2026-01-23 16:27:03,215 - DEBUG - VM ctest-vn1-vm1-96975298 launched on Node cn-jenkins-deploy-platform-ansible-os-5072-1 2026-01-23 16:27:03,326 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9ed702be-be65-4a29-a0a3-427598d6c844 2026-01-23 16:27:03,660 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9ed702be-be65-4a29-a0a3-427598d6c844 2026-01-23 16:27:03,702 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d843a13b-6d93-44cf-8749-eaa63ae11e36 2026-01-23 16:27:07,001 - 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') 2026-01-23 16:27:07,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96975298 failed! 2026-01-23 16:27:07,068 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27068287:ctest-vn1-41619280 is 147.98.197.65 and allocation pool is NOT set 2026-01-23 16:27:09,148 - 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=5.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 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 = 2.074/3.847/5.621/1.773 ms') 2026-01-23 16:27:09,149 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96975298 passed 2026-01-23 16:27:09,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:27:09,337 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96975298, IP 147.98.197.67, Port 22 2026-01-23 16:27:09,529 - DEBUG - VM ctest-vn1-vm1-96975298 is ready for SSH connections 2026-01-23 16:27:09,529 - INFO - Waiting for VM ctest-vn2-vm1-43804483 to be up.. 2026-01-23 16:27:09,701 - DEBUG - VM is in ACTIVE state now 2026-01-23 16:27:09,701 - INFO - VM name : ctest-vn2-vm1-43804483 2026-01-23 16:27:09,833 - DEBUG - VM ctest-vn2-vm1-43804483 ID is 10335c98-a64e-4b52-9bb7-b913df70f2c6 2026-01-23 16:27:09,833 - DEBUG - VM ctest-vn2-vm1-43804483 launched on Node cn-jenkins-deploy-platform-ansible-os-5072-1 2026-01-23 16:27:09,930 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/10335c98-a64e-4b52-9bb7-b913df70f2c6 2026-01-23 16:27:09,945 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d0546f67-2bbe-4a0c-81b4-559801ae1a17 2026-01-23 16:27:11,269 - 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=4.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.49 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.493/3.346/4.199/0.853 ms') 2026-01-23 16:27:11,270 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-43804483 passed 2026-01-23 16:27:11,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:27:11,452 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43804483, IP 149.245.80.3, Port 22 2026-01-23 16:27:11,518 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-23 16:27:11,594 - DEBUG - VM ctest-vn2-vm1-43804483 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-23 16:27:16,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:27:16,595 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43804483, IP 149.245.80.3, Port 22 2026-01-23 16:27:16,801 - DEBUG - VM ctest-vn2-vm1-43804483 is ready for SSH connections 2026-01-23 16:27:16,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:27:16,801 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.245.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-23 16:27:16,801 - DEBUG - ping -s 56 -c 3 -W 1 149.245.80.3 2026-01-23 16:27:22,335 - DEBUG - PING 149.245.80.3 (149.245.80.3): 56 data bytes --- 149.245.80.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-23 16:27:22,335 - WARNING - Ping to IP 149.245.80.3 from VM ctest-vn1-vm1-96975298 failed 2026-01-23 16:27:22,335 - INFO - Adding interface with subnet_id 08cf0db6-695c-444a-a657-6030956d0607, port_id None to router 918873d0-9065-44ee-8dc3-f8862fe0fa58 2026-01-23 16:27:22,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:27:22,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.245.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-23 16:27:22,706 - DEBUG - ping -s 56 -c 3 -W 1 149.245.80.3 2026-01-23 16:27:24,989 - DEBUG - PING 149.245.80.3 (149.245.80.3): 56 data bytes 64 bytes from 149.245.80.3: seq=0 ttl=63 time=3.507 ms 64 bytes from 149.245.80.3: seq=1 ttl=63 time=2.090 ms 64 bytes from 149.245.80.3: seq=2 ttl=63 time=1.462 ms --- 149.245.80.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.462/2.353/3.507 ms 2026-01-23 16:27:24,990 - INFO - Ping to IP 149.245.80.3 from VM ctest-vn1-vm1-96975298 passed 2026-01-23 16:27:24,990 - INFO - Deleting interface with subnet_id beba5596-0f55-4cd5-aae6-276c6a4e421f, port_id None from router 918873d0-9065-44ee-8dc3-f8862fe0fa58 2026-01-23 16:27:25,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:27:25,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.245.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-23 16:27:25,254 - DEBUG - ping -s 56 -c 3 -W 1 149.245.80.3 2026-01-23 16:27:28,581 - DEBUG - PING 149.245.80.3 (149.245.80.3): 56 data bytes --- 149.245.80.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-23 16:27:28,582 - WARNING - Ping to IP 149.245.80.3 from VM ctest-vn1-vm1-96975298 failed 2026-01-23 16:27:28,582 - INFO - Adding interface with subnet_id beba5596-0f55-4cd5-aae6-276c6a4e421f, port_id None to router 918873d0-9065-44ee-8dc3-f8862fe0fa58 2026-01-23 16:27:29,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:27:29,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.245.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-23 16:27:29,008 - DEBUG - ping -s 56 -c 3 -W 1 149.245.80.3 2026-01-23 16:27:31,248 - DEBUG - PING 149.245.80.3 (149.245.80.3): 56 data bytes 64 bytes from 149.245.80.3: seq=0 ttl=63 time=3.952 ms 64 bytes from 149.245.80.3: seq=1 ttl=63 time=2.526 ms 64 bytes from 149.245.80.3: seq=2 ttl=63 time=1.895 ms --- 149.245.80.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.895/2.791/3.952 ms 2026-01-23 16:27:31,249 - INFO - Ping to IP 149.245.80.3 from VM ctest-vn1-vm1-96975298 passed 2026-01-23 16:27:31,249 - INFO - Deleting interface with subnet_id 08cf0db6-695c-444a-a657-6030956d0607, port_id None from router 918873d0-9065-44ee-8dc3-f8862fe0fa58 2026-01-23 16:27:31,570 - INFO - Deleting interface with subnet_id beba5596-0f55-4cd5-aae6-276c6a4e421f, port_id None from router 918873d0-9065-44ee-8dc3-f8862fe0fa58 2026-01-23 16:27:31,800 - INFO - Deleting VM ctest-vn2-vm1-43804483 2026-01-23 16:27:31,892 - INFO - Deleting VM ctest-vn1-vm1-96975298 2026-01-23 16:27:32,015 - INFO - Deleting VN ctest-vn2-18468100 2026-01-23 16:27:32,087 - DEBUG - VN c2a6e1b1-4a68-4c36-ab9e-d2b1f2cdae63 still in use: Unable to complete operation on network c2a6e1b1-4a68-4c36-ab9e-d2b1f2cdae63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e012f5f0-8e74-450c-b756-f33be956dd52'] 2026-01-23 16:27:32,087 - WARNING - Deleting VN ctest-vn2-18468100 failed..Will retry 2026-01-23 16:27:34,295 - DEBUG - Response for deleting network () 2026-01-23 16:27:34,295 - INFO - Deleting VN ctest-vn1-41619280 2026-01-23 16:27:34,461 - DEBUG - Response for deleting network () 2026-01-23 16:27:34,776 - DEBUG - No XMPP flaps were noticed during the test 2026-01-23 16:27:34,776 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42] 2026-01-23 16:27:34,777 - INFO - -------------------------------------------------------------------------------- 2026-01-23 16:27:35,574 - INFO - Deleted project: ctest-TestRouters-27068287, ID : 91c5d478-fee2-4f30-9581-25ae740bc094