2025-09-22 07:46:06,407 - INFO - Domain Default found not creating
2025-09-22 07:46:06,553 - INFO - Project ctest-TestRouters-20820015 not found, creating it
2025-09-22 07:46:07,017 - INFO - Created Project:ctest-TestRouters-20820015, ID : 0db0dcd4-849e-4d03-a4ef-e343c41cf42c
2025-09-22 07:46:08,593 - INFO - ================================================================================
2025-09-22 07:46:08,593 - INFO - STARTING TEST : test_basic_router_behavior
2025-09-22 07:46:08,593 - 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-22 07:46:08,849 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-09-22 07:46:08,849 - INFO - Initial checks done. Running the testcase now
2025-09-22 07:46:08,849 - INFO -
2025-09-22 07:46:09,455 - DEBUG - Response for create_network : {'network': {'id': 'ce27145c-eb8d-45a7-b79d-c7111f9d8f63', 'name': 'ctest-vn1-18292627', 'tenant_id': '0db0dcd4849e4d03a4efe343c41cf42c', 'project_id': '0db0dcd4849e4d03a4efe343c41cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20820015', 'ctest-vn1-18292627'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 07:46:09,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '011bff72-5233-4578-8ba3-c0a892dcc729', 'name': '', 'tenant_id': '0db0dcd4849e4d03a4efe343c41cf42c', 'network_id': 'ce27145c-eb8d-45a7-b79d-c7111f9d8f63', 'ip_version': 4, 'cidr': '87.36.220.128/26', 'allocation_pools': [{'start': '87.36.220.130', 'end': '87.36.220.190'}], 'gateway_ip': '87.36.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.36.220.130', 'tags': [], 'project_id': '0db0dcd4849e4d03a4efe343c41cf42c'}}
2025-09-22 07:46:09,722 - INFO - Created VN ctest-vn1-18292627
2025-09-22 07:46:09,779 - DEBUG - VN ctest-vn1-18292627 UUID is ce27145c-eb8d-45a7-b79d-c7111f9d8f63
2025-09-22 07:46:10,124 - DEBUG - Response for create_network : {'network': {'id': '3f5d9eb9-2c59-4ba2-9b14-fd9c16094db0', 'name': 'ctest-vn2-70491591', 'tenant_id': '0db0dcd4849e4d03a4efe343c41cf42c', 'project_id': '0db0dcd4849e4d03a4efe343c41cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20820015', 'ctest-vn2-70491591'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 07:46:10,331 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bea3d2eb-7da6-423f-a00c-df8a76231518', 'name': '', 'tenant_id': '0db0dcd4849e4d03a4efe343c41cf42c', 'network_id': '3f5d9eb9-2c59-4ba2-9b14-fd9c16094db0', 'ip_version': 4, 'cidr': '136.206.151.192/26', 'allocation_pools': [{'start': '136.206.151.194', 'end': '136.206.151.254'}], 'gateway_ip': '136.206.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.206.151.194', 'tags': [], 'project_id': '0db0dcd4849e4d03a4efe343c41cf42c'}}
2025-09-22 07:46:10,349 - INFO - Created VN ctest-vn2-70491591
2025-09-22 07:46:10,403 - DEBUG - VN ctest-vn2-70491591 UUID is 3f5d9eb9-2c59-4ba2-9b14-fd9c16094db0
2025-09-22 07:46:10,576 - DEBUG - Services list from nova: [, , ]
2025-09-22 07:46:11,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4165-1)
2025-09-22 07:46:13,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4165-1)
2025-09-22 07:46:13,119 - INFO - Adding interface with subnet_id 011bff72-5233-4578-8ba3-c0a892dcc729, port_id None to router e06f42d9-1c68-4003-9898-53e9613ba873
2025-09-22 07:46:13,409 - INFO - Waiting for VM ctest-vn1-vm1-79248715 to be up..
2025-09-22 07:46:13,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-22 07:46:18,695 - DEBUG - VM is in ACTIVE state now
2025-09-22 07:46:18,695 - INFO - VM name : ctest-vn1-vm1-79248715
2025-09-22 07:46:18,772 - DEBUG - VM ctest-vn1-vm1-79248715 ID is 67afdc78-f3a4-44f2-9222-ab9df78f4b51
2025-09-22 07:46:18,792 - DEBUG - VM ctest-vn1-vm1-79248715 launched on Node cn-jenkins-deploy-platform-ansible-os-4165-1
2025-09-22 07:46:18,868 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/67afdc78-f3a4-44f2-9222-ab9df78f4b51
2025-09-22 07:46:19,201 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/67afdc78-f3a4-44f2-9222-ab9df78f4b51
2025-09-22 07:46:19,235 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2e433b8f-e988-403a-8f33-e13f38d8fef7
2025-09-22 07:46:22,481 - 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 1003ms')
2025-09-22 07:46:22,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79248715 failed!
2025-09-22 07:46:22,539 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-20820015:ctest-vn1-18292627 is 87.36.220.129 and allocation pool is NOT set
2025-09-22 07:46:24,605 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.207/3.388/5.570/2.181 ms')
2025-09-22 07:46:24,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79248715 passed
2025-09-22 07:46:24,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 07:46:24,763 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79248715, IP 87.36.220.131, Port 22
2025-09-22 07:46:24,830 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-09-22 07:46:24,945 - DEBUG - VM ctest-vn1-vm1-79248715 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-22 07:46:29,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 07:46:29,946 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79248715, IP 87.36.220.131, Port 22
2025-09-22 07:46:30,113 - DEBUG - VM ctest-vn1-vm1-79248715 is ready for SSH connections
2025-09-22 07:46:30,113 - INFO - Waiting for VM ctest-vn2-vm1-62945089 to be up..
2025-09-22 07:46:30,197 - DEBUG - VM is in ACTIVE state now
2025-09-22 07:46:30,197 - INFO - VM name : ctest-vn2-vm1-62945089
2025-09-22 07:46:30,277 - DEBUG - VM ctest-vn2-vm1-62945089 ID is c0f5fe31-e44e-4328-9e08-75d7be6f747a
2025-09-22 07:46:30,277 - DEBUG - VM ctest-vn2-vm1-62945089 launched on Node cn-jenkins-deploy-platform-ansible-os-4165-1
2025-09-22 07:46:30,373 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c0f5fe31-e44e-4328-9e08-75d7be6f747a
2025-09-22 07:46:30,383 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0d53b755-f2c4-4736-ac42-d0de97447151
2025-09-22 07:46:31,626 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 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.564/1.997/3.430/1.433 ms')
2025-09-22 07:46:31,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-62945089 passed
2025-09-22 07:46:31,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 07:46:31,787 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-62945089, IP 136.206.151.195, Port 22
2025-09-22 07:46:31,951 - DEBUG - VM ctest-vn2-vm1-62945089 is ready for SSH connections
2025-09-22 07:46:31,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 07:46:31,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.206.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-09-22 07:46:31,951 - DEBUG - ping -s 56 -c 3 -W 1 136.206.151.195
2025-09-22 07:46:37,085 - DEBUG - PING 136.206.151.195 (136.206.151.195): 56 data bytes
--- 136.206.151.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-22 07:46:37,085 - WARNING - Ping to IP 136.206.151.195 from VM ctest-vn1-vm1-79248715 failed
2025-09-22 07:46:37,085 - INFO - Adding interface with subnet_id bea3d2eb-7da6-423f-a00c-df8a76231518, port_id None to router e06f42d9-1c68-4003-9898-53e9613ba873
2025-09-22 07:46:37,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 07:46:37,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.206.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-09-22 07:46:37,335 - DEBUG - ping -s 56 -c 3 -W 1 136.206.151.195
2025-09-22 07:46:40,563 - DEBUG - PING 136.206.151.195 (136.206.151.195): 56 data bytes
64 bytes from 136.206.151.195: seq=1 ttl=63 time=3.283 ms
64 bytes from 136.206.151.195: seq=2 ttl=63 time=1.126 ms
--- 136.206.151.195 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.126/2.204/3.283 ms
2025-09-22 07:46:40,563 - WARNING - Ping to IP 136.206.151.195 from VM ctest-vn1-vm1-79248715 failed
2025-09-22 07:46:41,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.206.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-09-22 07:46:41,564 - DEBUG - ping -s 56 -c 3 -W 1 136.206.151.195
2025-09-22 07:46:43,787 - DEBUG - PING 136.206.151.195 (136.206.151.195): 56 data bytes
64 bytes from 136.206.151.195: seq=0 ttl=63 time=1.585 ms
64 bytes from 136.206.151.195: seq=1 ttl=63 time=0.984 ms
64 bytes from 136.206.151.195: seq=2 ttl=63 time=0.965 ms
--- 136.206.151.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.965/1.178/1.585 ms
2025-09-22 07:46:43,787 - INFO - Ping to IP 136.206.151.195 from VM ctest-vn1-vm1-79248715 passed
2025-09-22 07:46:43,787 - INFO - Deleting interface with subnet_id 011bff72-5233-4578-8ba3-c0a892dcc729, port_id None from router e06f42d9-1c68-4003-9898-53e9613ba873
2025-09-22 07:46:43,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 07:46:43,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.206.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-09-22 07:46:43,926 - DEBUG - ping -s 56 -c 3 -W 1 136.206.151.195
2025-09-22 07:46:47,150 - DEBUG - PING 136.206.151.195 (136.206.151.195): 56 data bytes
--- 136.206.151.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-22 07:46:47,150 - WARNING - Ping to IP 136.206.151.195 from VM ctest-vn1-vm1-79248715 failed
2025-09-22 07:46:47,151 - INFO - Adding interface with subnet_id 011bff72-5233-4578-8ba3-c0a892dcc729, port_id None to router e06f42d9-1c68-4003-9898-53e9613ba873
2025-09-22 07:46:47,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 07:46:47,369 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.206.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-09-22 07:46:47,369 - DEBUG - ping -s 56 -c 3 -W 1 136.206.151.195
2025-09-22 07:46:49,591 - DEBUG - PING 136.206.151.195 (136.206.151.195): 56 data bytes
64 bytes from 136.206.151.195: seq=0 ttl=63 time=1.434 ms
64 bytes from 136.206.151.195: seq=1 ttl=63 time=1.020 ms
64 bytes from 136.206.151.195: seq=2 ttl=63 time=0.858 ms
--- 136.206.151.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.858/1.104/1.434 ms
2025-09-22 07:46:49,591 - INFO - Ping to IP 136.206.151.195 from VM ctest-vn1-vm1-79248715 passed
2025-09-22 07:46:49,591 - INFO - Deleting interface with subnet_id bea3d2eb-7da6-423f-a00c-df8a76231518, port_id None from router e06f42d9-1c68-4003-9898-53e9613ba873
2025-09-22 07:46:49,711 - INFO - Deleting interface with subnet_id 011bff72-5233-4578-8ba3-c0a892dcc729, port_id None from router e06f42d9-1c68-4003-9898-53e9613ba873
2025-09-22 07:46:49,887 - INFO - Deleting VM ctest-vn2-vm1-62945089
2025-09-22 07:46:49,961 - INFO - Deleting VM ctest-vn1-vm1-79248715
2025-09-22 07:46:50,033 - INFO - Deleting VN ctest-vn2-70491591
2025-09-22 07:46:50,071 - DEBUG - VN 3f5d9eb9-2c59-4ba2-9b14-fd9c16094db0 still in use: Unable to complete operation on network 3f5d9eb9-2c59-4ba2-9b14-fd9c16094db0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a2cad09a-67ae-40f9-89b0-55f7cb646ddb']
2025-09-22 07:46:50,072 - WARNING - Deleting VN ctest-vn2-70491591 failed..Will retry
2025-09-22 07:46:52,187 - DEBUG - Response for deleting network ()
2025-09-22 07:46:52,188 - INFO - Deleting VN ctest-vn1-18292627
2025-09-22 07:46:52,294 - DEBUG - Response for deleting network ()
2025-09-22 07:46:52,548 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 07:46:52,548 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-09-22 07:46:52,548 - INFO - --------------------------------------------------------------------------------
2025-09-22 07:46:53,279 - INFO - Deleted project: ctest-TestRouters-20820015, ID : 0db0dcd4-849e-4d03-a4ef-e343c41cf42c