2025-12-09 09:32:46,253 - INFO - Domain Default found not creating 2025-12-09 09:32:46,415 - INFO - Project ctest-TestRouters-02832158 not found, creating it 2025-12-09 09:32:46,890 - INFO - Created Project:ctest-TestRouters-02832158, ID : e28555b5-5977-4b82-a18a-82e9c9298030 2025-12-09 09:32:48,381 - INFO - ================================================================================ 2025-12-09 09:32:48,381 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-09 09:32:48,381 - 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-12-09 09:32:48,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with 2025-12-09 09:32:48,640 - INFO - Initial checks done. Running the testcase now 2025-12-09 09:32:48,640 - INFO - 2025-12-09 09:32:49,192 - DEBUG - Response for create_network : {'network': {'id': 'dd4ddd51-a620-4bc8-8198-bc90ada4d3b8', 'name': 'ctest-vn1-67002977', 'tenant_id': 'e28555b559774b82a18a82e9c9298030', 'project_id': 'e28555b559774b82a18a82e9c9298030', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-02832158', 'ctest-vn1-67002977'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 09:32:49,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '23dcb6b1-701e-4aee-b582-226d0cfb7d79', 'name': '', 'tenant_id': 'e28555b559774b82a18a82e9c9298030', 'network_id': 'dd4ddd51-a620-4bc8-8198-bc90ada4d3b8', 'ip_version': 4, 'cidr': '118.180.230.0/26', 'allocation_pools': [{'start': '118.180.230.2', 'end': '118.180.230.62'}], 'gateway_ip': '118.180.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.180.230.2', 'tags': [], 'project_id': 'e28555b559774b82a18a82e9c9298030'}} 2025-12-09 09:32:49,381 - INFO - Created VN ctest-vn1-67002977 2025-12-09 09:32:49,435 - DEBUG - VN ctest-vn1-67002977 UUID is dd4ddd51-a620-4bc8-8198-bc90ada4d3b8 2025-12-09 09:32:49,784 - DEBUG - Response for create_network : {'network': {'id': '65f81d1b-d1ae-418a-a11b-e9641dc0c69a', 'name': 'ctest-vn2-22170071', 'tenant_id': 'e28555b559774b82a18a82e9c9298030', 'project_id': 'e28555b559774b82a18a82e9c9298030', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-02832158', 'ctest-vn2-22170071'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 09:32:49,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a94f9fb-af24-4ce7-a7d8-75963871b895', 'name': '', 'tenant_id': 'e28555b559774b82a18a82e9c9298030', 'network_id': '65f81d1b-d1ae-418a-a11b-e9641dc0c69a', 'ip_version': 4, 'cidr': '133.245.55.128/26', 'allocation_pools': [{'start': '133.245.55.130', 'end': '133.245.55.190'}], 'gateway_ip': '133.245.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.245.55.130', 'tags': [], 'project_id': 'e28555b559774b82a18a82e9c9298030'}} 2025-12-09 09:32:50,011 - INFO - Created VN ctest-vn2-22170071 2025-12-09 09:32:50,067 - DEBUG - VN ctest-vn2-22170071 UUID is 65f81d1b-d1ae-418a-a11b-e9641dc0c69a 2025-12-09 09:32:50,270 - DEBUG - Services list from nova: [, , ] 2025-12-09 09:32:51,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4867-1) 2025-12-09 09:32:52,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4867-1) 2025-12-09 09:32:52,563 - INFO - Adding interface with subnet_id 23dcb6b1-701e-4aee-b582-226d0cfb7d79, port_id None to router a692a048-94d2-4354-9d53-f50bc33ca50d 2025-12-09 09:32:52,825 - INFO - Waiting for VM ctest-vn1-vm1-08844509 to be up.. 2025-12-09 09:32:52,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 09:32:57,997 - DEBUG - VM is in ACTIVE state now 2025-12-09 09:32:57,997 - INFO - VM name : ctest-vn1-vm1-08844509 2025-12-09 09:32:58,067 - DEBUG - VM ctest-vn1-vm1-08844509 ID is 822abb93-a42d-4c76-9c0e-5a585da58ed2 2025-12-09 09:32:58,086 - DEBUG - VM ctest-vn1-vm1-08844509 launched on Node cn-jenkins-deploy-platform-ansible-os-4867-1 2025-12-09 09:32:58,153 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/822abb93-a42d-4c76-9c0e-5a585da58ed2 2025-12-09 09:32:58,446 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/822abb93-a42d-4c76-9c0e-5a585da58ed2 2025-12-09 09:32:58,485 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/61506d37-ea96-4239-9c37-9bf3497abe36 2025-12-09 09:33:01,735 - 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 1022ms') 2025-12-09 09:33:01,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08844509 failed! 2025-12-09 09:33:01,791 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-02832158:ctest-vn1-67002977 is 118.180.230.1 and allocation pool is NOT set 2025-12-09 09:33:03,855 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.473 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.473/2.091/3.710/1.618 ms') 2025-12-09 09:33:03,856 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08844509 passed 2025-12-09 09:33:04,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:33:04,003 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08844509, IP 118.180.230.3, Port 22 2025-12-09 09:33:04,154 - DEBUG - VM ctest-vn1-vm1-08844509 is ready for SSH connections 2025-12-09 09:33:04,154 - INFO - Waiting for VM ctest-vn2-vm1-34172538 to be up.. 2025-12-09 09:33:04,225 - DEBUG - VM is in ACTIVE state now 2025-12-09 09:33:04,225 - INFO - VM name : ctest-vn2-vm1-34172538 2025-12-09 09:33:04,293 - DEBUG - VM ctest-vn2-vm1-34172538 ID is c31d76cb-7186-400c-b5a3-c9d36ad29530 2025-12-09 09:33:04,293 - DEBUG - VM ctest-vn2-vm1-34172538 launched on Node cn-jenkins-deploy-platform-ansible-os-4867-1 2025-12-09 09:33:04,361 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/c31d76cb-7186-400c-b5a3-c9d36ad29530 2025-12-09 09:33:04,368 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/17665e5b-6ce7-40d8-8f19-d7e716ed5829 2025-12-09 09:33:05,599 - 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=3.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.910/3.398/1.487 ms') 2025-12-09 09:33:05,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34172538 passed 2025-12-09 09:33:05,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:33:05,747 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34172538, IP 133.245.55.131, Port 22 2025-12-09 09:33:05,906 - DEBUG - VM ctest-vn2-vm1-34172538 is ready for SSH connections 2025-12-09 09:33:05,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:33:05,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.245.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-12-09 09:33:05,907 - DEBUG - ping -s 56 -c 3 -W 1 133.245.55.131 2025-12-09 09:33:10,892 - DEBUG - PING 133.245.55.131 (133.245.55.131): 56 data bytes --- 133.245.55.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 09:33:10,892 - WARNING - Ping to IP 133.245.55.131 from VM ctest-vn1-vm1-08844509 failed 2025-12-09 09:33:10,892 - INFO - Adding interface with subnet_id 9a94f9fb-af24-4ce7-a7d8-75963871b895, port_id None to router a692a048-94d2-4354-9d53-f50bc33ca50d 2025-12-09 09:33:11,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:33:11,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.245.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-12-09 09:33:11,151 - DEBUG - ping -s 56 -c 3 -W 1 133.245.55.131 2025-12-09 09:33:14,362 - DEBUG - PING 133.245.55.131 (133.245.55.131): 56 data bytes 64 bytes from 133.245.55.131: seq=1 ttl=63 time=2.429 ms 64 bytes from 133.245.55.131: seq=2 ttl=63 time=0.745 ms --- 133.245.55.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.745/1.587/2.429 ms 2025-12-09 09:33:14,362 - WARNING - Ping to IP 133.245.55.131 from VM ctest-vn1-vm1-08844509 failed 2025-12-09 09:33:15,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.245.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-12-09 09:33:15,362 - DEBUG - ping -s 56 -c 3 -W 1 133.245.55.131 2025-12-09 09:33:17,605 - DEBUG - PING 133.245.55.131 (133.245.55.131): 56 data bytes 64 bytes from 133.245.55.131: seq=0 ttl=63 time=1.606 ms 64 bytes from 133.245.55.131: seq=1 ttl=63 time=0.964 ms 64 bytes from 133.245.55.131: seq=2 ttl=63 time=0.857 ms --- 133.245.55.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/1.142/1.606 ms 2025-12-09 09:33:17,605 - INFO - Ping to IP 133.245.55.131 from VM ctest-vn1-vm1-08844509 passed 2025-12-09 09:33:17,605 - INFO - Deleting interface with subnet_id 23dcb6b1-701e-4aee-b582-226d0cfb7d79, port_id None from router a692a048-94d2-4354-9d53-f50bc33ca50d 2025-12-09 09:33:17,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:33:17,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.245.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-12-09 09:33:17,723 - DEBUG - ping -s 56 -c 3 -W 1 133.245.55.131 2025-12-09 09:33:20,924 - DEBUG - PING 133.245.55.131 (133.245.55.131): 56 data bytes --- 133.245.55.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 09:33:20,924 - WARNING - Ping to IP 133.245.55.131 from VM ctest-vn1-vm1-08844509 failed 2025-12-09 09:33:20,924 - INFO - Adding interface with subnet_id 23dcb6b1-701e-4aee-b582-226d0cfb7d79, port_id None to router a692a048-94d2-4354-9d53-f50bc33ca50d 2025-12-09 09:33:21,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:33:21,121 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.245.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-12-09 09:33:21,121 - DEBUG - ping -s 56 -c 3 -W 1 133.245.55.131 2025-12-09 09:33:23,317 - DEBUG - PING 133.245.55.131 (133.245.55.131): 56 data bytes 64 bytes from 133.245.55.131: seq=0 ttl=63 time=1.536 ms 64 bytes from 133.245.55.131: seq=1 ttl=63 time=0.719 ms 64 bytes from 133.245.55.131: seq=2 ttl=63 time=0.722 ms --- 133.245.55.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/0.992/1.536 ms 2025-12-09 09:33:23,318 - INFO - Ping to IP 133.245.55.131 from VM ctest-vn1-vm1-08844509 passed 2025-12-09 09:33:23,318 - INFO - Deleting interface with subnet_id 9a94f9fb-af24-4ce7-a7d8-75963871b895, port_id None from router a692a048-94d2-4354-9d53-f50bc33ca50d 2025-12-09 09:33:23,419 - INFO - Deleting interface with subnet_id 23dcb6b1-701e-4aee-b582-226d0cfb7d79, port_id None from router a692a048-94d2-4354-9d53-f50bc33ca50d 2025-12-09 09:33:23,573 - INFO - Deleting VM ctest-vn2-vm1-34172538 2025-12-09 09:33:23,644 - INFO - Deleting VM ctest-vn1-vm1-08844509 2025-12-09 09:33:23,717 - INFO - Deleting VN ctest-vn2-22170071 2025-12-09 09:33:23,761 - DEBUG - VN 65f81d1b-d1ae-418a-a11b-e9641dc0c69a still in use: Unable to complete operation on network 65f81d1b-d1ae-418a-a11b-e9641dc0c69a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a6c9d8f-25dd-40f2-9498-b5d94014c0a0'] 2025-12-09 09:33:23,762 - WARNING - Deleting VN ctest-vn2-22170071 failed..Will retry 2025-12-09 09:33:25,869 - DEBUG - Response for deleting network () 2025-12-09 09:33:25,869 - INFO - Deleting VN ctest-vn1-67002977 2025-12-09 09:33:25,975 - DEBUG - Response for deleting network () 2025-12-09 09:33:26,233 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 09:33:26,233 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-12-09 09:33:26,233 - INFO - -------------------------------------------------------------------------------- 2025-12-09 09:33:26,936 - INFO - Deleted project: ctest-TestRouters-02832158, ID : e28555b5-5977-4b82-a18a-82e9c9298030