2025-10-20 16:00:57,389 - INFO - Domain Default found not creating
2025-10-20 16:00:57,572 - INFO - Project ctest-TestRouters-32787952 not found, creating it
2025-10-20 16:00:58,077 - INFO - Created Project:ctest-TestRouters-32787952, ID : be667a2d-b172-4885-8a09-3b04099aede8
2025-10-20 16:00:59,586 - INFO - ================================================================================
2025-10-20 16:00:59,586 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-20 16:00:59,586 - 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-10-20 16:00:59,861 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0'}} with
2025-10-20 16:00:59,861 - INFO - Initial checks done. Running the testcase now
2025-10-20 16:00:59,861 - INFO -
2025-10-20 16:01:00,444 - DEBUG - Response for create_network : {'network': {'id': '51c313b2-2c96-4dfb-8bdf-fb3805f07d52', 'name': 'ctest-vn1-20652538', 'tenant_id': 'be667a2db17248858a093b04099aede8', 'project_id': 'be667a2db17248858a093b04099aede8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32787952', 'ctest-vn1-20652538'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 16:01:00,664 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fa4161a-55cc-4fb8-8697-804c6a88c063', 'name': '', 'tenant_id': 'be667a2db17248858a093b04099aede8', 'network_id': '51c313b2-2c96-4dfb-8bdf-fb3805f07d52', 'ip_version': 4, 'cidr': '150.92.171.0/26', 'allocation_pools': [{'start': '150.92.171.2', 'end': '150.92.171.62'}], 'gateway_ip': '150.92.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.92.171.2', 'tags': [], 'project_id': 'be667a2db17248858a093b04099aede8'}}
2025-10-20 16:01:00,690 - INFO - Created VN ctest-vn1-20652538
2025-10-20 16:01:00,744 - DEBUG - VN ctest-vn1-20652538 UUID is 51c313b2-2c96-4dfb-8bdf-fb3805f07d52
2025-10-20 16:01:01,121 - DEBUG - Response for create_network : {'network': {'id': 'f1184d20-7b95-4847-a570-4c9843315c79', 'name': 'ctest-vn2-15927411', 'tenant_id': 'be667a2db17248858a093b04099aede8', 'project_id': 'be667a2db17248858a093b04099aede8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32787952', 'ctest-vn2-15927411'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 16:01:01,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd11eb13-2f98-48fb-b5e5-7ae8d57734b4', 'name': '', 'tenant_id': 'be667a2db17248858a093b04099aede8', 'network_id': 'f1184d20-7b95-4847-a570-4c9843315c79', 'ip_version': 4, 'cidr': '216.22.188.128/26', 'allocation_pools': [{'start': '216.22.188.130', 'end': '216.22.188.190'}], 'gateway_ip': '216.22.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.22.188.130', 'tags': [], 'project_id': 'be667a2db17248858a093b04099aede8'}}
2025-10-20 16:01:01,331 - INFO - Created VN ctest-vn2-15927411
2025-10-20 16:01:01,388 - DEBUG - VN ctest-vn2-15927411 UUID is f1184d20-7b95-4847-a570-4c9843315c79
2025-10-20 16:01:01,568 - DEBUG - Services list from nova: [, , ]
2025-10-20 16:01:02,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4383-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4383-1)
2025-10-20 16:01:03,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4383-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4383-1)
2025-10-20 16:01:03,970 - INFO - Adding interface with subnet_id 2fa4161a-55cc-4fb8-8697-804c6a88c063, port_id None to router 23363420-f639-47d0-aefa-1e87b99f0d72
2025-10-20 16:01:04,275 - INFO - Waiting for VM ctest-vn1-vm1-22412406 to be up..
2025-10-20 16:01:04,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-20 16:01:09,497 - DEBUG - VM is in ACTIVE state now
2025-10-20 16:01:09,497 - INFO - VM name : ctest-vn1-vm1-22412406
2025-10-20 16:01:09,586 - DEBUG - VM ctest-vn1-vm1-22412406 ID is 4d8d1b58-d211-48f4-b009-09cb361b0049
2025-10-20 16:01:09,607 - DEBUG - VM ctest-vn1-vm1-22412406 launched on Node cn-jenkins-deploy-platform-ansible-os-4383-1
2025-10-20 16:01:09,683 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4d8d1b58-d211-48f4-b009-09cb361b0049
2025-10-20 16:01:09,986 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4d8d1b58-d211-48f4-b009-09cb361b0049
2025-10-20 16:01:10,018 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e6866c25-7992-4852-a332-15da92d3adf3
2025-10-20 16:01:13,261 - 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 1007ms')
2025-10-20 16:01:13,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22412406 failed!
2025-10-20 16:01:13,316 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-32787952:ctest-vn1-20652538 is 150.92.171.1 and allocation pool is NOT set
2025-10-20 16:01:15,375 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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 = 1.302/3.241/5.181/1.939 ms')
2025-10-20 16:01:15,375 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22412406 passed
2025-10-20 16:01:15,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:01:15,528 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22412406, IP 150.92.171.3, Port 22
2025-10-20 16:01:15,683 - DEBUG - VM ctest-vn1-vm1-22412406 is ready for SSH connections
2025-10-20 16:01:15,684 - INFO - Waiting for VM ctest-vn2-vm1-17120849 to be up..
2025-10-20 16:01:15,772 - DEBUG - VM is in ACTIVE state now
2025-10-20 16:01:15,772 - INFO - VM name : ctest-vn2-vm1-17120849
2025-10-20 16:01:15,859 - DEBUG - VM ctest-vn2-vm1-17120849 ID is 2bc812c2-842b-4e65-a0f2-547ce41d134e
2025-10-20 16:01:15,860 - DEBUG - VM ctest-vn2-vm1-17120849 launched on Node cn-jenkins-deploy-platform-ansible-os-4383-1
2025-10-20 16:01:15,943 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2bc812c2-842b-4e65-a0f2-547ce41d134e
2025-10-20 16:01:15,952 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/63871390-15c6-4b16-8b6d-70aa5cf8861a
2025-10-20 16:01:17,183 - 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=6.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.665 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.665/3.714/6.764/3.049 ms')
2025-10-20 16:01:17,183 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-17120849 passed
2025-10-20 16:01:17,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:01:17,332 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-17120849, IP 216.22.188.131, Port 22
2025-10-20 16:01:17,398 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-20 16:01:17,475 - DEBUG - VM ctest-vn2-vm1-17120849 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 16:01:22,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:01:22,476 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-17120849, IP 216.22.188.131, Port 22
2025-10-20 16:01:22,636 - DEBUG - VM ctest-vn2-vm1-17120849 is ready for SSH connections
2025-10-20 16:01:22,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:01:22,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.22.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-20 16:01:22,636 - DEBUG - ping -s 56 -c 3 -W 1 216.22.188.131
2025-10-20 16:01:27,300 - DEBUG - PING 216.22.188.131 (216.22.188.131): 56 data bytes
--- 216.22.188.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-20 16:01:27,300 - WARNING - Ping to IP 216.22.188.131 from VM ctest-vn1-vm1-22412406 failed
2025-10-20 16:01:27,300 - INFO - Adding interface with subnet_id fd11eb13-2f98-48fb-b5e5-7ae8d57734b4, port_id None to router 23363420-f639-47d0-aefa-1e87b99f0d72
2025-10-20 16:01:27,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:01:27,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.22.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-20 16:01:27,557 - DEBUG - ping -s 56 -c 3 -W 1 216.22.188.131
2025-10-20 16:01:30,782 - DEBUG - PING 216.22.188.131 (216.22.188.131): 56 data bytes
64 bytes from 216.22.188.131: seq=1 ttl=63 time=3.900 ms
64 bytes from 216.22.188.131: seq=2 ttl=63 time=0.799 ms
--- 216.22.188.131 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.799/2.349/3.900 ms
2025-10-20 16:01:30,782 - WARNING - Ping to IP 216.22.188.131 from VM ctest-vn1-vm1-22412406 failed
2025-10-20 16:01:31,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.22.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-20 16:01:31,783 - DEBUG - ping -s 56 -c 3 -W 1 216.22.188.131
2025-10-20 16:01:34,005 - DEBUG - PING 216.22.188.131 (216.22.188.131): 56 data bytes
64 bytes from 216.22.188.131: seq=0 ttl=63 time=1.462 ms
64 bytes from 216.22.188.131: seq=1 ttl=63 time=0.835 ms
64 bytes from 216.22.188.131: seq=2 ttl=63 time=1.825 ms
--- 216.22.188.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.835/1.374/1.825 ms
2025-10-20 16:01:34,005 - INFO - Ping to IP 216.22.188.131 from VM ctest-vn1-vm1-22412406 passed
2025-10-20 16:01:34,005 - INFO - Deleting interface with subnet_id 2fa4161a-55cc-4fb8-8697-804c6a88c063, port_id None from router 23363420-f639-47d0-aefa-1e87b99f0d72
2025-10-20 16:01:34,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:01:34,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.22.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-20 16:01:34,142 - DEBUG - ping -s 56 -c 3 -W 1 216.22.188.131
2025-10-20 16:01:37,401 - DEBUG - PING 216.22.188.131 (216.22.188.131): 56 data bytes
--- 216.22.188.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-20 16:01:37,401 - WARNING - Ping to IP 216.22.188.131 from VM ctest-vn1-vm1-22412406 failed
2025-10-20 16:01:37,401 - INFO - Adding interface with subnet_id 2fa4161a-55cc-4fb8-8697-804c6a88c063, port_id None to router 23363420-f639-47d0-aefa-1e87b99f0d72
2025-10-20 16:01:37,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:01:37,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.22.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-20 16:01:37,623 - DEBUG - ping -s 56 -c 3 -W 1 216.22.188.131
2025-10-20 16:01:39,839 - DEBUG - PING 216.22.188.131 (216.22.188.131): 56 data bytes
64 bytes from 216.22.188.131: seq=0 ttl=63 time=1.563 ms
64 bytes from 216.22.188.131: seq=1 ttl=63 time=1.001 ms
64 bytes from 216.22.188.131: seq=2 ttl=63 time=0.867 ms
--- 216.22.188.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.867/1.143/1.563 ms
2025-10-20 16:01:39,840 - INFO - Ping to IP 216.22.188.131 from VM ctest-vn1-vm1-22412406 passed
2025-10-20 16:01:39,840 - INFO - Deleting interface with subnet_id fd11eb13-2f98-48fb-b5e5-7ae8d57734b4, port_id None from router 23363420-f639-47d0-aefa-1e87b99f0d72
2025-10-20 16:01:39,977 - INFO - Deleting interface with subnet_id 2fa4161a-55cc-4fb8-8697-804c6a88c063, port_id None from router 23363420-f639-47d0-aefa-1e87b99f0d72
2025-10-20 16:01:40,181 - INFO - Deleting VM ctest-vn2-vm1-17120849
2025-10-20 16:01:40,267 - INFO - Deleting VM ctest-vn1-vm1-22412406
2025-10-20 16:01:40,348 - INFO - Deleting VN ctest-vn2-15927411
2025-10-20 16:01:40,392 - DEBUG - VN f1184d20-7b95-4847-a570-4c9843315c79 still in use: Unable to complete operation on network f1184d20-7b95-4847-a570-4c9843315c79. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dea0f332-32ac-4f6a-9426-b014f754e4bd']
2025-10-20 16:01:40,392 - WARNING - Deleting VN ctest-vn2-15927411 failed..Will retry
2025-10-20 16:01:42,499 - DEBUG - Response for deleting network ()
2025-10-20 16:01:42,499 - INFO - Deleting VN ctest-vn1-20652538
2025-10-20 16:01:42,612 - DEBUG - Response for deleting network ()
2025-10-20 16:01:42,885 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 16:01:42,885 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-10-20 16:01:42,885 - INFO - --------------------------------------------------------------------------------
2025-10-20 16:01:43,658 - INFO - Deleted project: ctest-TestRouters-32787952, ID : be667a2d-b172-4885-8a09-3b04099aede8