2025-12-04 13:44:42,088 - INFO - Domain Default found not creating
2025-12-04 13:44:42,290 - INFO - Project ctest-TestRouters-53997329 not found, creating it
2025-12-04 13:44:42,927 - INFO - Created Project:ctest-TestRouters-53997329, ID : b21c1854-d1d9-4920-b2bd-4468180fc9a9
2025-12-04 13:44:44,853 - INFO - ================================================================================
2025-12-04 13:44:44,853 - INFO - STARTING TEST : test_basic_router_behavior
2025-12-04 13:44:44,853 - 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-04 13:44:45,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-12-04 13:44:45,129 - INFO - Initial checks done. Running the testcase now
2025-12-04 13:44:45,129 - INFO -
2025-12-04 13:44:45,905 - DEBUG - Response for create_network : {'network': {'id': '48fc1999-5c4d-47b5-8ff7-6496ff33824d', 'name': 'ctest-vn1-16834862', 'tenant_id': 'b21c1854d1d94920b2bd4468180fc9a9', 'project_id': 'b21c1854d1d94920b2bd4468180fc9a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53997329', 'ctest-vn1-16834862'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 13:44:46,113 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ef8f4db-ebb3-4701-9258-c0ab94b292f3', 'name': '', 'tenant_id': 'b21c1854d1d94920b2bd4468180fc9a9', 'network_id': '48fc1999-5c4d-47b5-8ff7-6496ff33824d', 'ip_version': 4, 'cidr': '114.64.168.0/26', 'allocation_pools': [{'start': '114.64.168.2', 'end': '114.64.168.62'}], 'gateway_ip': '114.64.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.64.168.2', 'tags': [], 'project_id': 'b21c1854d1d94920b2bd4468180fc9a9'}}
2025-12-04 13:44:46,136 - INFO - Created VN ctest-vn1-16834862
2025-12-04 13:44:46,190 - DEBUG - VN ctest-vn1-16834862 UUID is 48fc1999-5c4d-47b5-8ff7-6496ff33824d
2025-12-04 13:44:46,531 - DEBUG - Response for create_network : {'network': {'id': 'daf50705-c69b-492b-b51b-10d7b90a0ecd', 'name': 'ctest-vn2-90307796', 'tenant_id': 'b21c1854d1d94920b2bd4468180fc9a9', 'project_id': 'b21c1854d1d94920b2bd4468180fc9a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53997329', 'ctest-vn2-90307796'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 13:44:46,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2665ea3-a3a1-4125-bb6a-2fc50011f5db', 'name': '', 'tenant_id': 'b21c1854d1d94920b2bd4468180fc9a9', 'network_id': 'daf50705-c69b-492b-b51b-10d7b90a0ecd', 'ip_version': 4, 'cidr': '70.100.196.64/26', 'allocation_pools': [{'start': '70.100.196.66', 'end': '70.100.196.126'}], 'gateway_ip': '70.100.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.100.196.66', 'tags': [], 'project_id': 'b21c1854d1d94920b2bd4468180fc9a9'}}
2025-12-04 13:44:46,765 - INFO - Created VN ctest-vn2-90307796
2025-12-04 13:44:46,822 - DEBUG - VN ctest-vn2-90307796 UUID is daf50705-c69b-492b-b51b-10d7b90a0ecd
2025-12-04 13:44:47,049 - DEBUG - Services list from nova: [, , ]
2025-12-04 13:44:48,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4843-1)
2025-12-04 13:44:50,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4843-1)
2025-12-04 13:44:50,097 - INFO - Adding interface with subnet_id 6ef8f4db-ebb3-4701-9258-c0ab94b292f3, port_id None to router 3ae774be-9909-4485-9b6b-a32a6d6561b5
2025-12-04 13:44:50,490 - INFO - Waiting for VM ctest-vn1-vm1-10163513 to be up..
2025-12-04 13:44:50,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-04 13:44:55,740 - DEBUG - VM is in ACTIVE state now
2025-12-04 13:44:55,740 - INFO - VM name : ctest-vn1-vm1-10163513
2025-12-04 13:44:55,849 - DEBUG - VM ctest-vn1-vm1-10163513 ID is 1e34b1fb-3657-4947-aa9c-81fc0bf30057
2025-12-04 13:44:55,876 - DEBUG - VM ctest-vn1-vm1-10163513 launched on Node cn-jenkins-deploy-platform-ansible-os-4843-1
2025-12-04 13:44:55,984 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1e34b1fb-3657-4947-aa9c-81fc0bf30057
2025-12-04 13:44:56,302 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1e34b1fb-3657-4947-aa9c-81fc0bf30057
2025-12-04 13:44:56,356 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/64afd08d-8eba-4fc2-ba10-35db84595de1
2025-12-04 13:44:59,621 - 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 1004ms')
2025-12-04 13:44:59,621 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10163513 failed!
2025-12-04 13:44:59,678 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-53997329:ctest-vn1-16834862 is 114.64.168.1 and allocation pool is NOT set
2025-12-04 13:45:01,753 - 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=8.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 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 = 2.424/5.317/8.211/2.893 ms')
2025-12-04 13:45:01,753 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10163513 passed
2025-12-04 13:45:01,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:01,926 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10163513, IP 114.64.168.3, Port 22
2025-12-04 13:45:01,997 - 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-12-04 13:45:02,127 - DEBUG - VM ctest-vn1-vm1-10163513 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 13:45:07,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:07,128 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10163513, IP 114.64.168.3, Port 22
2025-12-04 13:45:07,305 - DEBUG - VM ctest-vn1-vm1-10163513 is ready for SSH connections
2025-12-04 13:45:07,305 - INFO - Waiting for VM ctest-vn2-vm1-94723540 to be up..
2025-12-04 13:45:07,404 - DEBUG - VM is in ACTIVE state now
2025-12-04 13:45:07,404 - INFO - VM name : ctest-vn2-vm1-94723540
2025-12-04 13:45:07,518 - DEBUG - VM ctest-vn2-vm1-94723540 ID is f1a86cda-4491-470a-a326-52d5cb701728
2025-12-04 13:45:07,518 - DEBUG - VM ctest-vn2-vm1-94723540 launched on Node cn-jenkins-deploy-platform-ansible-os-4843-1
2025-12-04 13:45:07,629 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f1a86cda-4491-470a-a326-52d5cb701728
2025-12-04 13:45:07,641 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5415306f-c2ae-4130-91d3-bccab5a3c6b3
2025-12-04 13:45:08,908 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/2.265/4.088/1.822 ms')
2025-12-04 13:45:08,908 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94723540 passed
2025-12-04 13:45:09,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:09,070 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94723540, IP 70.100.196.67, Port 22
2025-12-04 13:45:09,245 - DEBUG - VM ctest-vn2-vm1-94723540 is ready for SSH connections
2025-12-04 13:45:09,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:09,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.100.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-04 13:45:09,245 - DEBUG - ping -s 56 -c 3 -W 1 70.100.196.67
2025-12-04 13:45:14,436 - DEBUG - PING 70.100.196.67 (70.100.196.67): 56 data bytes
--- 70.100.196.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-12-04 13:45:14,436 - WARNING - Ping to IP 70.100.196.67 from VM ctest-vn1-vm1-10163513 failed
2025-12-04 13:45:14,436 - INFO - Adding interface with subnet_id d2665ea3-a3a1-4125-bb6a-2fc50011f5db, port_id None to router 3ae774be-9909-4485-9b6b-a32a6d6561b5
2025-12-04 13:45:14,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:14,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.100.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-04 13:45:14,778 - DEBUG - ping -s 56 -c 3 -W 1 70.100.196.67
2025-12-04 13:45:17,035 - DEBUG - PING 70.100.196.67 (70.100.196.67): 56 data bytes
64 bytes from 70.100.196.67: seq=0 ttl=63 time=4.605 ms
64 bytes from 70.100.196.67: seq=1 ttl=63 time=1.161 ms
64 bytes from 70.100.196.67: seq=2 ttl=63 time=1.383 ms
--- 70.100.196.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.161/2.383/4.605 ms
2025-12-04 13:45:17,036 - INFO - Ping to IP 70.100.196.67 from VM ctest-vn1-vm1-10163513 passed
2025-12-04 13:45:17,036 - INFO - Deleting interface with subnet_id 6ef8f4db-ebb3-4701-9258-c0ab94b292f3, port_id None from router 3ae774be-9909-4485-9b6b-a32a6d6561b5
2025-12-04 13:45:17,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:17,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.100.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-04 13:45:17,242 - DEBUG - ping -s 56 -c 3 -W 1 70.100.196.67
2025-12-04 13:45:20,477 - DEBUG - PING 70.100.196.67 (70.100.196.67): 56 data bytes
--- 70.100.196.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-12-04 13:45:20,477 - WARNING - Ping to IP 70.100.196.67 from VM ctest-vn1-vm1-10163513 failed
2025-12-04 13:45:20,477 - INFO - Adding interface with subnet_id 6ef8f4db-ebb3-4701-9258-c0ab94b292f3, port_id None to router 3ae774be-9909-4485-9b6b-a32a6d6561b5
2025-12-04 13:45:20,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:20,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.100.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-04 13:45:20,789 - DEBUG - ping -s 56 -c 3 -W 1 70.100.196.67
2025-12-04 13:45:23,045 - DEBUG - PING 70.100.196.67 (70.100.196.67): 56 data bytes
64 bytes from 70.100.196.67: seq=0 ttl=63 time=1.726 ms
64 bytes from 70.100.196.67: seq=1 ttl=63 time=1.143 ms
64 bytes from 70.100.196.67: seq=2 ttl=63 time=1.060 ms
--- 70.100.196.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.060/1.309/1.726 ms
2025-12-04 13:45:23,045 - INFO - Ping to IP 70.100.196.67 from VM ctest-vn1-vm1-10163513 passed
2025-12-04 13:45:23,045 - INFO - Deleting interface with subnet_id d2665ea3-a3a1-4125-bb6a-2fc50011f5db, port_id None from router 3ae774be-9909-4485-9b6b-a32a6d6561b5
2025-12-04 13:45:23,221 - INFO - Deleting interface with subnet_id 6ef8f4db-ebb3-4701-9258-c0ab94b292f3, port_id None from router 3ae774be-9909-4485-9b6b-a32a6d6561b5
2025-12-04 13:45:23,468 - INFO - Deleting VM ctest-vn2-vm1-94723540
2025-12-04 13:45:23,582 - INFO - Deleting VM ctest-vn1-vm1-10163513
2025-12-04 13:45:23,688 - INFO - Deleting VN ctest-vn2-90307796
2025-12-04 13:45:23,735 - DEBUG - VN daf50705-c69b-492b-b51b-10d7b90a0ecd still in use: Unable to complete operation on network daf50705-c69b-492b-b51b-10d7b90a0ecd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8dba09c6-3ff4-4850-8f5b-723d13915afb']
2025-12-04 13:45:23,735 - WARNING - Deleting VN ctest-vn2-90307796 failed..Will retry
2025-12-04 13:45:25,866 - DEBUG - Response for deleting network ()
2025-12-04 13:45:25,867 - INFO - Deleting VN ctest-vn1-16834862
2025-12-04 13:45:26,008 - DEBUG - Response for deleting network ()
2025-12-04 13:45:26,283 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 13:45:26,283 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-12-04 13:45:26,283 - INFO - --------------------------------------------------------------------------------
2025-12-04 13:45:27,088 - INFO - Deleted project: ctest-TestRouters-53997329, ID : b21c1854-d1d9-4920-b2bd-4468180fc9a9