2025-09-04 16:22:56,771 - INFO - Domain Default found not creating
2025-09-04 16:22:56,920 - INFO - Project ctest-TestRouters-77976288 not found, creating it
2025-09-04 16:22:57,397 - INFO - Created Project:ctest-TestRouters-77976288, ID : 3ed9699c-c8b5-4f41-b0b7-413c2d653a55
2025-09-04 16:22:59,181 - INFO - ================================================================================
2025-09-04 16:22:59,184 - INFO - STARTING TEST : test_basic_router_behavior
2025-09-04 16:22:59,185 - 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 16:22:59,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-09-04 16:22:59,454 - INFO - Initial checks done. Running the testcase now
2025-09-04 16:22:59,454 - INFO -
2025-09-04 16:23:00,046 - DEBUG - Response for create_network : {'network': {'id': '641fb7c8-fb5a-4f1e-a965-5b8e41989772', 'name': 'ctest-vn1-37427522', 'tenant_id': '3ed9699cc8b54f41b0b7413c2d653a55', 'project_id': '3ed9699cc8b54f41b0b7413c2d653a55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77976288', 'ctest-vn1-37427522'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 16:23:00,260 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdc6a8fd-b16b-45c2-a6ef-42b7bc1d4abf', 'name': '', 'tenant_id': '3ed9699cc8b54f41b0b7413c2d653a55', 'network_id': '641fb7c8-fb5a-4f1e-a965-5b8e41989772', 'ip_version': 4, 'cidr': '168.187.51.192/26', 'allocation_pools': [{'start': '168.187.51.194', 'end': '168.187.51.254'}], 'gateway_ip': '168.187.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.187.51.194', 'tags': [], 'project_id': '3ed9699cc8b54f41b0b7413c2d653a55'}}
2025-09-04 16:23:00,279 - INFO - Created VN ctest-vn1-37427522
2025-09-04 16:23:00,331 - DEBUG - VN ctest-vn1-37427522 UUID is 641fb7c8-fb5a-4f1e-a965-5b8e41989772
2025-09-04 16:23:00,658 - DEBUG - Response for create_network : {'network': {'id': '376aa61f-0b12-434e-bfd7-6323b127d8fa', 'name': 'ctest-vn2-20013981', 'tenant_id': '3ed9699cc8b54f41b0b7413c2d653a55', 'project_id': '3ed9699cc8b54f41b0b7413c2d653a55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77976288', 'ctest-vn2-20013981'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 16:23:00,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ba8b118-bc8e-4fc8-a9a3-0b4817927a65', 'name': '', 'tenant_id': '3ed9699cc8b54f41b0b7413c2d653a55', 'network_id': '376aa61f-0b12-434e-bfd7-6323b127d8fa', 'ip_version': 4, 'cidr': '92.220.134.64/26', 'allocation_pools': [{'start': '92.220.134.66', 'end': '92.220.134.126'}], 'gateway_ip': '92.220.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.220.134.66', 'tags': [], 'project_id': '3ed9699cc8b54f41b0b7413c2d653a55'}}
2025-09-04 16:23:00,901 - INFO - Created VN ctest-vn2-20013981
2025-09-04 16:23:00,955 - DEBUG - VN ctest-vn2-20013981 UUID is 376aa61f-0b12-434e-bfd7-6323b127d8fa
2025-09-04 16:23:01,125 - DEBUG - Services list from nova: [, , ]
2025-09-04 16:23:02,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4017-1)
2025-09-04 16:23:03,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4017-1)
2025-09-04 16:23:03,830 - INFO - Adding interface with subnet_id bdc6a8fd-b16b-45c2-a6ef-42b7bc1d4abf, port_id None to router 7be07027-ee89-4a2f-9bba-8e0d32a341de
2025-09-04 16:23:04,139 - INFO - Waiting for VM ctest-vn1-vm1-61236642 to be up..
2025-09-04 16:23:04,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 16:23:09,376 - DEBUG - VM is in ACTIVE state now
2025-09-04 16:23:09,376 - INFO - VM name : ctest-vn1-vm1-61236642
2025-09-04 16:23:09,456 - DEBUG - VM ctest-vn1-vm1-61236642 ID is d8919f1e-3c39-45a5-b1cc-76fd11083d15
2025-09-04 16:23:09,476 - DEBUG - VM ctest-vn1-vm1-61236642 launched on Node cn-jenkins-deploy-platform-ansible-os-4017-1
2025-09-04 16:23:09,560 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d8919f1e-3c39-45a5-b1cc-76fd11083d15
2025-09-04 16:23:09,897 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d8919f1e-3c39-45a5-b1cc-76fd11083d15
2025-09-04 16:23:09,930 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4aeee46e-0d67-491e-a147-325eca9008a1
2025-09-04 16:23:13,214 - 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 1030ms')
2025-09-04 16:23:13,214 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61236642 failed!
2025-09-04 16:23:13,267 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-77976288:ctest-vn1-37427522 is 168.187.51.193 and allocation pool is NOT set
2025-09-04 16:23:15,339 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.570 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.570/1.889/3.208/1.319 ms')
2025-09-04 16:23:15,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61236642 passed
2025-09-04 16:23:15,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 16:23:15,491 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61236642, IP 168.187.51.195, Port 22
2025-09-04 16:23:15,561 - 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-04 16:23:15,645 - DEBUG - VM ctest-vn1-vm1-61236642 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 16:23:20,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 16:23:20,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61236642, IP 168.187.51.195, Port 22
2025-09-04 16:23:20,807 - DEBUG - VM ctest-vn1-vm1-61236642 is ready for SSH connections
2025-09-04 16:23:20,807 - INFO - Waiting for VM ctest-vn2-vm1-47642799 to be up..
2025-09-04 16:23:20,885 - DEBUG - VM is in ACTIVE state now
2025-09-04 16:23:20,885 - INFO - VM name : ctest-vn2-vm1-47642799
2025-09-04 16:23:20,961 - DEBUG - VM ctest-vn2-vm1-47642799 ID is 5a02903d-1c3a-456c-a39c-1ee06cd363fc
2025-09-04 16:23:20,962 - DEBUG - VM ctest-vn2-vm1-47642799 launched on Node cn-jenkins-deploy-platform-ansible-os-4017-1
2025-09-04 16:23:21,037 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5a02903d-1c3a-456c-a39c-1ee06cd363fc
2025-09-04 16:23:21,046 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/11b57fc7-19f3-483d-b436-9881a89b1dcf
2025-09-04 16:23:22,288 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.853/3.285/1.431 ms')
2025-09-04 16:23:22,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-47642799 passed
2025-09-04 16:23:22,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 16:23:22,435 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-47642799, IP 92.220.134.67, Port 22
2025-09-04 16:23:22,590 - DEBUG - VM ctest-vn2-vm1-47642799 is ready for SSH connections
2025-09-04 16:23:22,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 16:23:22,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.220.134.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-04 16:23:22,591 - DEBUG - ping -s 56 -c 3 -W 1 92.220.134.67
2025-09-04 16:23:27,633 - DEBUG - PING 92.220.134.67 (92.220.134.67): 56 data bytes
--- 92.220.134.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-04 16:23:27,633 - WARNING - Ping to IP 92.220.134.67 from VM ctest-vn1-vm1-61236642 failed
2025-09-04 16:23:27,633 - INFO - Adding interface with subnet_id 2ba8b118-bc8e-4fc8-a9a3-0b4817927a65, port_id None to router 7be07027-ee89-4a2f-9bba-8e0d32a341de
2025-09-04 16:23:27,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 16:23:27,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.220.134.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-04 16:23:27,874 - DEBUG - ping -s 56 -c 3 -W 1 92.220.134.67
2025-09-04 16:23:31,108 - DEBUG - PING 92.220.134.67 (92.220.134.67): 56 data bytes
64 bytes from 92.220.134.67: seq=1 ttl=63 time=3.245 ms
64 bytes from 92.220.134.67: seq=2 ttl=63 time=1.020 ms
--- 92.220.134.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.020/2.132/3.245 ms
2025-09-04 16:23:31,109 - WARNING - Ping to IP 92.220.134.67 from VM ctest-vn1-vm1-61236642 failed
2025-09-04 16:23:32,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.220.134.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-04 16:23:32,109 - DEBUG - ping -s 56 -c 3 -W 1 92.220.134.67
2025-09-04 16:23:34,328 - DEBUG - PING 92.220.134.67 (92.220.134.67): 56 data bytes
64 bytes from 92.220.134.67: seq=0 ttl=63 time=1.357 ms
64 bytes from 92.220.134.67: seq=1 ttl=63 time=0.812 ms
64 bytes from 92.220.134.67: seq=2 ttl=63 time=1.054 ms
--- 92.220.134.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.812/1.074/1.357 ms
2025-09-04 16:23:34,328 - INFO - Ping to IP 92.220.134.67 from VM ctest-vn1-vm1-61236642 passed
2025-09-04 16:23:34,328 - INFO - Deleting interface with subnet_id bdc6a8fd-b16b-45c2-a6ef-42b7bc1d4abf, port_id None from router 7be07027-ee89-4a2f-9bba-8e0d32a341de
2025-09-04 16:23:34,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 16:23:34,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.220.134.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-04 16:23:34,482 - DEBUG - ping -s 56 -c 3 -W 1 92.220.134.67
2025-09-04 16:23:37,712 - DEBUG - PING 92.220.134.67 (92.220.134.67): 56 data bytes
--- 92.220.134.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-04 16:23:37,712 - WARNING - Ping to IP 92.220.134.67 from VM ctest-vn1-vm1-61236642 failed
2025-09-04 16:23:37,712 - INFO - Adding interface with subnet_id bdc6a8fd-b16b-45c2-a6ef-42b7bc1d4abf, port_id None to router 7be07027-ee89-4a2f-9bba-8e0d32a341de
2025-09-04 16:23:37,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 16:23:37,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.220.134.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-04 16:23:37,939 - DEBUG - ping -s 56 -c 3 -W 1 92.220.134.67
2025-09-04 16:23:40,165 - DEBUG - PING 92.220.134.67 (92.220.134.67): 56 data bytes
64 bytes from 92.220.134.67: seq=0 ttl=63 time=1.621 ms
64 bytes from 92.220.134.67: seq=1 ttl=63 time=0.969 ms
64 bytes from 92.220.134.67: seq=2 ttl=63 time=0.913 ms
--- 92.220.134.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.913/1.167/1.621 ms
2025-09-04 16:23:40,165 - INFO - Ping to IP 92.220.134.67 from VM ctest-vn1-vm1-61236642 passed
2025-09-04 16:23:40,165 - INFO - Deleting interface with subnet_id 2ba8b118-bc8e-4fc8-a9a3-0b4817927a65, port_id None from router 7be07027-ee89-4a2f-9bba-8e0d32a341de
2025-09-04 16:23:40,310 - INFO - Deleting interface with subnet_id bdc6a8fd-b16b-45c2-a6ef-42b7bc1d4abf, port_id None from router 7be07027-ee89-4a2f-9bba-8e0d32a341de
2025-09-04 16:23:40,497 - INFO - Deleting VM ctest-vn2-vm1-47642799
2025-09-04 16:23:40,570 - INFO - Deleting VM ctest-vn1-vm1-61236642
2025-09-04 16:23:40,640 - INFO - Deleting VN ctest-vn2-20013981
2025-09-04 16:23:40,678 - DEBUG - VN 376aa61f-0b12-434e-bfd7-6323b127d8fa still in use: Unable to complete operation on network 376aa61f-0b12-434e-bfd7-6323b127d8fa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-23e68f9f-c55e-4bbe-a471-04e0db73c61e']
2025-09-04 16:23:40,678 - WARNING - Deleting VN ctest-vn2-20013981 failed..Will retry
2025-09-04 16:23:42,773 - DEBUG - Response for deleting network ()
2025-09-04 16:23:42,773 - INFO - Deleting VN ctest-vn1-37427522
2025-09-04 16:23:42,874 - DEBUG - Response for deleting network ()
2025-09-04 16:23:43,129 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 16:23:43,129 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-09-04 16:23:43,129 - INFO - --------------------------------------------------------------------------------
2025-09-04 16:23:43,841 - INFO - Deleted project: ctest-TestRouters-77976288, ID : 3ed9699c-c8b5-4f41-b0b7-413c2d653a55