2025-08-13 18:43:12,822 - INFO - Domain Default found not creating
2025-08-13 18:43:12,966 - INFO - Project ctest-TestRouters-79516452 not found, creating it
2025-08-13 18:43:13,525 - INFO - Created Project:ctest-TestRouters-79516452, ID : 5ba9b46f-979f-4f49-b33d-f9f7f21eb7e8
2025-08-13 18:43:14,902 - INFO - ================================================================================
2025-08-13 18:43:14,903 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-13 18:43:14,903 - 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-13 18:43:15,161 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-08-13 18:43:15,161 - INFO - Initial checks done. Running the testcase now
2025-08-13 18:43:15,161 - INFO -
2025-08-13 18:43:15,732 - DEBUG - Response for create_network : {'network': {'id': 'bbf4ad61-e024-4ec1-ae63-dbd4c5a73109', 'name': 'ctest-vn1-55021752', 'tenant_id': '5ba9b46f979f4f49b33df9f7f21eb7e8', 'project_id': '5ba9b46f979f4f49b33df9f7f21eb7e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79516452', 'ctest-vn1-55021752'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 18:43:15,970 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed1ab91a-442a-452d-bcf1-57e2257a57ac', 'name': '', 'tenant_id': '5ba9b46f979f4f49b33df9f7f21eb7e8', 'network_id': 'bbf4ad61-e024-4ec1-ae63-dbd4c5a73109', 'ip_version': 4, 'cidr': '79.79.150.192/26', 'allocation_pools': [{'start': '79.79.150.194', 'end': '79.79.150.254'}], 'gateway_ip': '79.79.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.79.150.194', 'tags': [], 'project_id': '5ba9b46f979f4f49b33df9f7f21eb7e8'}}
2025-08-13 18:43:15,987 - INFO - Created VN ctest-vn1-55021752
2025-08-13 18:43:16,039 - DEBUG - VN ctest-vn1-55021752 UUID is bbf4ad61-e024-4ec1-ae63-dbd4c5a73109
2025-08-13 18:43:16,390 - DEBUG - Response for create_network : {'network': {'id': 'f3b8274d-1942-4d43-b13e-6f03bd6c3aa0', 'name': 'ctest-vn2-68759217', 'tenant_id': '5ba9b46f979f4f49b33df9f7f21eb7e8', 'project_id': '5ba9b46f979f4f49b33df9f7f21eb7e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79516452', 'ctest-vn2-68759217'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 18:43:16,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '17223c2e-aafc-4a9f-97bf-725cbcc748c7', 'name': '', 'tenant_id': '5ba9b46f979f4f49b33df9f7f21eb7e8', 'network_id': 'f3b8274d-1942-4d43-b13e-6f03bd6c3aa0', 'ip_version': 4, 'cidr': '113.26.252.128/26', 'allocation_pools': [{'start': '113.26.252.130', 'end': '113.26.252.190'}], 'gateway_ip': '113.26.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.26.252.130', 'tags': [], 'project_id': '5ba9b46f979f4f49b33df9f7f21eb7e8'}}
2025-08-13 18:43:16,634 - INFO - Created VN ctest-vn2-68759217
2025-08-13 18:43:16,687 - DEBUG - VN ctest-vn2-68759217 UUID is f3b8274d-1942-4d43-b13e-6f03bd6c3aa0
2025-08-13 18:43:16,880 - DEBUG - Services list from nova: [, , ]
2025-08-13 18:43:17,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3846-1)
2025-08-13 18:43:19,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3846-1)
2025-08-13 18:43:19,284 - INFO - Adding interface with subnet_id ed1ab91a-442a-452d-bcf1-57e2257a57ac, port_id None to router f9207c39-2a10-47bb-b0ed-d541d522338c
2025-08-13 18:43:19,591 - INFO - Waiting for VM ctest-vn1-vm1-12239065 to be up..
2025-08-13 18:43:19,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-13 18:43:24,764 - DEBUG - VM is in ACTIVE state now
2025-08-13 18:43:24,765 - INFO - VM name : ctest-vn1-vm1-12239065
2025-08-13 18:43:24,827 - DEBUG - VM ctest-vn1-vm1-12239065 ID is 9187b5cb-f4a4-4246-9dd6-881ff5b50f7d
2025-08-13 18:43:24,844 - DEBUG - VM ctest-vn1-vm1-12239065 launched on Node cn-jenkins-deploy-platform-ansible-os-3846-1
2025-08-13 18:43:24,907 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9187b5cb-f4a4-4246-9dd6-881ff5b50f7d
2025-08-13 18:43:25,196 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9187b5cb-f4a4-4246-9dd6-881ff5b50f7d
2025-08-13 18:43:25,229 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/51ac1136-3934-4ce9-a747-4289610f9e21
2025-08-13 18:43:28,505 - 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=8.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 7.999/7.999/7.999/0.000 ms')
2025-08-13 18:43:28,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12239065 passed
2025-08-13 18:43:28,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 18:43:28,659 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12239065, IP 79.79.150.195, Port 22
2025-08-13 18:43:28,815 - DEBUG - VM ctest-vn1-vm1-12239065 is ready for SSH connections
2025-08-13 18:43:28,815 - INFO - Waiting for VM ctest-vn2-vm1-25652084 to be up..
2025-08-13 18:43:28,880 - DEBUG - VM is in ACTIVE state now
2025-08-13 18:43:28,880 - INFO - VM name : ctest-vn2-vm1-25652084
2025-08-13 18:43:28,944 - DEBUG - VM ctest-vn2-vm1-25652084 ID is 580849fe-72e3-4340-8287-d9dbd2aec97c
2025-08-13 18:43:28,944 - DEBUG - VM ctest-vn2-vm1-25652084 launched on Node cn-jenkins-deploy-platform-ansible-os-3846-1
2025-08-13 18:43:29,005 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/580849fe-72e3-4340-8287-d9dbd2aec97c
2025-08-13 18:43:29,012 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/af9bcade-ce50-4f7d-a461-f56d864d3174
2025-08-13 18:43:30,249 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.42 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 = 1.423/2.598/3.773/1.175 ms')
2025-08-13 18:43:30,249 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-25652084 passed
2025-08-13 18:43:30,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 18:43:30,403 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-25652084, IP 113.26.252.131, Port 22
2025-08-13 18:43:30,559 - DEBUG - VM ctest-vn2-vm1-25652084 is ready for SSH connections
2025-08-13 18:43:30,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 18:43:30,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.26.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-08-13 18:43:30,559 - DEBUG - ping -s 56 -c 3 -W 1 113.26.252.131
2025-08-13 18:43:35,480 - DEBUG - PING 113.26.252.131 (113.26.252.131): 56 data bytes
--- 113.26.252.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-13 18:43:35,481 - WARNING - Ping to IP 113.26.252.131 from VM ctest-vn1-vm1-12239065 failed
2025-08-13 18:43:35,481 - INFO - Adding interface with subnet_id 17223c2e-aafc-4a9f-97bf-725cbcc748c7, port_id None to router f9207c39-2a10-47bb-b0ed-d541d522338c
2025-08-13 18:43:35,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 18:43:35,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.26.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-08-13 18:43:35,729 - DEBUG - ping -s 56 -c 3 -W 1 113.26.252.131
2025-08-13 18:43:37,928 - DEBUG - PING 113.26.252.131 (113.26.252.131): 56 data bytes
64 bytes from 113.26.252.131: seq=0 ttl=63 time=3.015 ms
64 bytes from 113.26.252.131: seq=1 ttl=63 time=0.840 ms
64 bytes from 113.26.252.131: seq=2 ttl=63 time=0.783 ms
--- 113.26.252.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.783/1.546/3.015 ms
2025-08-13 18:43:37,928 - INFO - Ping to IP 113.26.252.131 from VM ctest-vn1-vm1-12239065 passed
2025-08-13 18:43:37,928 - INFO - Deleting interface with subnet_id ed1ab91a-442a-452d-bcf1-57e2257a57ac, port_id None from router f9207c39-2a10-47bb-b0ed-d541d522338c
2025-08-13 18:43:38,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 18:43:38,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.26.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-08-13 18:43:38,046 - DEBUG - ping -s 56 -c 3 -W 1 113.26.252.131
2025-08-13 18:43:41,251 - DEBUG - PING 113.26.252.131 (113.26.252.131): 56 data bytes
--- 113.26.252.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-13 18:43:41,251 - WARNING - Ping to IP 113.26.252.131 from VM ctest-vn1-vm1-12239065 failed
2025-08-13 18:43:41,251 - INFO - Adding interface with subnet_id ed1ab91a-442a-452d-bcf1-57e2257a57ac, port_id None to router f9207c39-2a10-47bb-b0ed-d541d522338c
2025-08-13 18:43:41,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 18:43:41,458 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.26.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-08-13 18:43:41,459 - DEBUG - ping -s 56 -c 3 -W 1 113.26.252.131
2025-08-13 18:43:43,650 - DEBUG - PING 113.26.252.131 (113.26.252.131): 56 data bytes
64 bytes from 113.26.252.131: seq=0 ttl=63 time=1.271 ms
64 bytes from 113.26.252.131: seq=1 ttl=63 time=0.632 ms
64 bytes from 113.26.252.131: seq=2 ttl=63 time=0.695 ms
--- 113.26.252.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.632/0.866/1.271 ms
2025-08-13 18:43:43,650 - INFO - Ping to IP 113.26.252.131 from VM ctest-vn1-vm1-12239065 passed
2025-08-13 18:43:43,650 - INFO - Deleting interface with subnet_id 17223c2e-aafc-4a9f-97bf-725cbcc748c7, port_id None from router f9207c39-2a10-47bb-b0ed-d541d522338c
2025-08-13 18:43:43,754 - INFO - Deleting interface with subnet_id ed1ab91a-442a-452d-bcf1-57e2257a57ac, port_id None from router f9207c39-2a10-47bb-b0ed-d541d522338c
2025-08-13 18:43:43,920 - INFO - Deleting VM ctest-vn2-vm1-25652084
2025-08-13 18:43:43,985 - INFO - Deleting VM ctest-vn1-vm1-12239065
2025-08-13 18:43:44,044 - INFO - Deleting VN ctest-vn2-68759217
2025-08-13 18:43:44,077 - DEBUG - VN f3b8274d-1942-4d43-b13e-6f03bd6c3aa0 still in use: Unable to complete operation on network f3b8274d-1942-4d43-b13e-6f03bd6c3aa0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2da83dea-0e0c-4cdd-b59e-03435a69e889']
2025-08-13 18:43:44,077 - WARNING - Deleting VN ctest-vn2-68759217 failed..Will retry
2025-08-13 18:43:46,178 - DEBUG - Response for deleting network ()
2025-08-13 18:43:46,179 - INFO - Deleting VN ctest-vn1-55021752
2025-08-13 18:43:46,288 - DEBUG - Response for deleting network ()
2025-08-13 18:43:46,536 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 18:43:46,536 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:32]
2025-08-13 18:43:46,536 - INFO - --------------------------------------------------------------------------------
2025-08-13 18:43:47,191 - INFO - Deleted project: ctest-TestRouters-79516452, ID : 5ba9b46f-979f-4f49-b33d-f9f7f21eb7e8