2025-09-04 02:07:29,328 - INFO - Domain Default found not creating
2025-09-04 02:07:29,469 - INFO - Project ctest-TestRouters-77623850 not found, creating it
2025-09-04 02:07:29,928 - INFO - Created Project:ctest-TestRouters-77623850, ID : 94bcdcec-5d3b-42dd-950d-1326a46a9252
2025-09-04 02:07:31,380 - INFO - ================================================================================
2025-09-04 02:07:31,380 - INFO - STARTING TEST : test_basic_router_behavior
2025-09-04 02:07:31,380 - 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 02:07:31,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with
2025-09-04 02:07:31,633 - INFO - Initial checks done. Running the testcase now
2025-09-04 02:07:31,633 - INFO -
2025-09-04 02:07:32,198 - DEBUG - Response for create_network : {'network': {'id': '38cd0684-f7e0-4b95-9031-a3bbbcd84c6d', 'name': 'ctest-vn1-58760242', 'tenant_id': '94bcdcec5d3b42dd950d1326a46a9252', 'project_id': '94bcdcec5d3b42dd950d1326a46a9252', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77623850', 'ctest-vn1-58760242'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 02:07:32,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ba37c10-a268-4250-a13f-af5379285d5a', 'name': '', 'tenant_id': '94bcdcec5d3b42dd950d1326a46a9252', 'network_id': '38cd0684-f7e0-4b95-9031-a3bbbcd84c6d', 'ip_version': 4, 'cidr': '142.41.21.0/26', 'allocation_pools': [{'start': '142.41.21.2', 'end': '142.41.21.62'}], 'gateway_ip': '142.41.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.41.21.2', 'tags': [], 'project_id': '94bcdcec5d3b42dd950d1326a46a9252'}}
2025-09-04 02:07:32,414 - INFO - Created VN ctest-vn1-58760242
2025-09-04 02:07:32,464 - DEBUG - VN ctest-vn1-58760242 UUID is 38cd0684-f7e0-4b95-9031-a3bbbcd84c6d
2025-09-04 02:07:32,814 - DEBUG - Response for create_network : {'network': {'id': 'eae0b149-51e5-49c5-99c1-d9f53e4998de', 'name': 'ctest-vn2-65404164', 'tenant_id': '94bcdcec5d3b42dd950d1326a46a9252', 'project_id': '94bcdcec5d3b42dd950d1326a46a9252', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77623850', 'ctest-vn2-65404164'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 02:07:32,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '8280ba7f-bb1d-4541-b89a-0d6026483523', 'name': '', 'tenant_id': '94bcdcec5d3b42dd950d1326a46a9252', 'network_id': 'eae0b149-51e5-49c5-99c1-d9f53e4998de', 'ip_version': 4, 'cidr': '123.145.155.192/26', 'allocation_pools': [{'start': '123.145.155.194', 'end': '123.145.155.254'}], 'gateway_ip': '123.145.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.145.155.194', 'tags': [], 'project_id': '94bcdcec5d3b42dd950d1326a46a9252'}}
2025-09-04 02:07:33,008 - INFO - Created VN ctest-vn2-65404164
2025-09-04 02:07:33,060 - DEBUG - VN ctest-vn2-65404164 UUID is eae0b149-51e5-49c5-99c1-d9f53e4998de
2025-09-04 02:07:33,320 - DEBUG - Services list from nova: [, , ]
2025-09-04 02:07:34,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4009-1)
2025-09-04 02:07:35,586 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4009-1)
2025-09-04 02:07:35,651 - INFO - Adding interface with subnet_id 8ba37c10-a268-4250-a13f-af5379285d5a, port_id None to router a05ce520-f3e7-477f-86bb-6f3dbb80d11e
2025-09-04 02:07:35,939 - INFO - Waiting for VM ctest-vn1-vm1-48205816 to be up..
2025-09-04 02:07:36,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 02:07:41,126 - DEBUG - VM is in ACTIVE state now
2025-09-04 02:07:41,126 - INFO - VM name : ctest-vn1-vm1-48205816
2025-09-04 02:07:41,206 - DEBUG - VM ctest-vn1-vm1-48205816 ID is f8c8ff14-e098-4265-b1c0-666ff2883327
2025-09-04 02:07:41,224 - DEBUG - VM ctest-vn1-vm1-48205816 launched on Node cn-jenkins-deploy-platform-ansible-os-4009-1
2025-09-04 02:07:41,292 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f8c8ff14-e098-4265-b1c0-666ff2883327
2025-09-04 02:07:41,601 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f8c8ff14-e098-4265-b1c0-666ff2883327
2025-09-04 02:07:41,629 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3f745fe9-8bbc-4423-bd28-0753c0618c14
2025-09-04 02:07:44,889 - 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 1019ms')
2025-09-04 02:07:44,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48205816 failed!
2025-09-04 02:07:44,948 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-77623850:ctest-vn1-58760242 is 142.41.21.1 and allocation pool is NOT set
2025-09-04 02:07:47,006 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.993 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.993/1.901/2.810/0.908 ms')
2025-09-04 02:07:47,006 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48205816 passed
2025-09-04 02:07:47,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 02:07:47,156 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48205816, IP 142.41.21.3, Port 22
2025-09-04 02:07:47,312 - DEBUG - VM ctest-vn1-vm1-48205816 is ready for SSH connections
2025-09-04 02:07:47,312 - INFO - Waiting for VM ctest-vn2-vm1-71293847 to be up..
2025-09-04 02:07:47,386 - DEBUG - VM is in ACTIVE state now
2025-09-04 02:07:47,386 - INFO - VM name : ctest-vn2-vm1-71293847
2025-09-04 02:07:47,456 - DEBUG - VM ctest-vn2-vm1-71293847 ID is 8460eb6d-79eb-468c-8c00-4f405e2fbcdd
2025-09-04 02:07:47,456 - DEBUG - VM ctest-vn2-vm1-71293847 launched on Node cn-jenkins-deploy-platform-ansible-os-4009-1
2025-09-04 02:07:47,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8460eb6d-79eb-468c-8c00-4f405e2fbcdd
2025-09-04 02:07:47,540 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9a30c130-a3f1-447d-92ce-398cbee27ca8
2025-09-04 02:07:48,774 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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 = 0.452/2.315/4.179/1.863 ms')
2025-09-04 02:07:48,775 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-71293847 passed
2025-09-04 02:07:48,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 02:07:48,924 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-71293847, IP 123.145.155.195, Port 22
2025-09-04 02:07:49,079 - DEBUG - VM ctest-vn2-vm1-71293847 is ready for SSH connections
2025-09-04 02:07:49,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 02:07:49,079 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.145.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-04 02:07:49,079 - DEBUG - ping -s 56 -c 3 -W 1 123.145.155.195
2025-09-04 02:07:54,082 - DEBUG - PING 123.145.155.195 (123.145.155.195): 56 data bytes
--- 123.145.155.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-04 02:07:54,083 - WARNING - Ping to IP 123.145.155.195 from VM ctest-vn1-vm1-48205816 failed
2025-09-04 02:07:54,083 - INFO - Adding interface with subnet_id 8280ba7f-bb1d-4541-b89a-0d6026483523, port_id None to router a05ce520-f3e7-477f-86bb-6f3dbb80d11e
2025-09-04 02:07:54,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 02:07:54,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.145.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-04 02:07:54,329 - DEBUG - ping -s 56 -c 3 -W 1 123.145.155.195
2025-09-04 02:07:57,541 - DEBUG - PING 123.145.155.195 (123.145.155.195): 56 data bytes
64 bytes from 123.145.155.195: seq=1 ttl=63 time=2.616 ms
64 bytes from 123.145.155.195: seq=2 ttl=63 time=0.957 ms
--- 123.145.155.195 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.957/1.786/2.616 ms
2025-09-04 02:07:57,541 - WARNING - Ping to IP 123.145.155.195 from VM ctest-vn1-vm1-48205816 failed
2025-09-04 02:07:58,542 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.145.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-04 02:07:58,542 - DEBUG - ping -s 56 -c 3 -W 1 123.145.155.195
2025-09-04 02:08:00,769 - DEBUG - PING 123.145.155.195 (123.145.155.195): 56 data bytes
64 bytes from 123.145.155.195: seq=0 ttl=63 time=1.394 ms
64 bytes from 123.145.155.195: seq=1 ttl=63 time=0.821 ms
64 bytes from 123.145.155.195: seq=2 ttl=63 time=1.222 ms
--- 123.145.155.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.821/1.145/1.394 ms
2025-09-04 02:08:00,770 - INFO - Ping to IP 123.145.155.195 from VM ctest-vn1-vm1-48205816 passed
2025-09-04 02:08:00,770 - INFO - Deleting interface with subnet_id 8ba37c10-a268-4250-a13f-af5379285d5a, port_id None from router a05ce520-f3e7-477f-86bb-6f3dbb80d11e
2025-09-04 02:08:00,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 02:08:00,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.145.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-04 02:08:00,935 - DEBUG - ping -s 56 -c 3 -W 1 123.145.155.195
2025-09-04 02:08:04,169 - DEBUG - PING 123.145.155.195 (123.145.155.195): 56 data bytes
--- 123.145.155.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-04 02:08:04,169 - WARNING - Ping to IP 123.145.155.195 from VM ctest-vn1-vm1-48205816 failed
2025-09-04 02:08:04,170 - INFO - Adding interface with subnet_id 8ba37c10-a268-4250-a13f-af5379285d5a, port_id None to router a05ce520-f3e7-477f-86bb-6f3dbb80d11e
2025-09-04 02:08:04,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 02:08:04,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.145.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-04 02:08:04,373 - DEBUG - ping -s 56 -c 3 -W 1 123.145.155.195
2025-09-04 02:08:06,575 - DEBUG - PING 123.145.155.195 (123.145.155.195): 56 data bytes
64 bytes from 123.145.155.195: seq=0 ttl=63 time=1.797 ms
64 bytes from 123.145.155.195: seq=1 ttl=63 time=0.911 ms
64 bytes from 123.145.155.195: seq=2 ttl=63 time=0.859 ms
--- 123.145.155.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.859/1.189/1.797 ms
2025-09-04 02:08:06,575 - INFO - Ping to IP 123.145.155.195 from VM ctest-vn1-vm1-48205816 passed
2025-09-04 02:08:06,576 - INFO - Deleting interface with subnet_id 8280ba7f-bb1d-4541-b89a-0d6026483523, port_id None from router a05ce520-f3e7-477f-86bb-6f3dbb80d11e
2025-09-04 02:08:06,691 - INFO - Deleting interface with subnet_id 8ba37c10-a268-4250-a13f-af5379285d5a, port_id None from router a05ce520-f3e7-477f-86bb-6f3dbb80d11e
2025-09-04 02:08:06,873 - INFO - Deleting VM ctest-vn2-vm1-71293847
2025-09-04 02:08:06,941 - INFO - Deleting VM ctest-vn1-vm1-48205816
2025-09-04 02:08:07,012 - INFO - Deleting VN ctest-vn2-65404164
2025-09-04 02:08:07,055 - DEBUG - VN eae0b149-51e5-49c5-99c1-d9f53e4998de still in use: Unable to complete operation on network eae0b149-51e5-49c5-99c1-d9f53e4998de. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fa6e5eea-4f1c-47d3-b828-e12a15577700']
2025-09-04 02:08:07,055 - WARNING - Deleting VN ctest-vn2-65404164 failed..Will retry
2025-09-04 02:08:09,152 - DEBUG - Response for deleting network ()
2025-09-04 02:08:09,152 - INFO - Deleting VN ctest-vn1-58760242
2025-09-04 02:08:09,249 - DEBUG - Response for deleting network ()
2025-09-04 02:08:09,504 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:08:09,504 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-04 02:08:09,504 - INFO - --------------------------------------------------------------------------------
2025-09-04 02:08:10,196 - INFO - Deleted project: ctest-TestRouters-77623850, ID : 94bcdcec-5d3b-42dd-950d-1326a46a9252