2025-08-29 09:39:11,164 - INFO - Domain Default found not creating
2025-08-29 09:39:11,313 - INFO - Project ctest-TestRouters-25996079 not found, creating it
2025-08-29 09:39:11,828 - INFO - Created Project:ctest-TestRouters-25996079, ID : 6feb3402-a477-4ee1-b67e-9e49f15237ff
2025-08-29 09:39:13,334 - INFO - ================================================================================
2025-08-29 09:39:13,334 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-29 09:39:13,334 - 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-08-29 09:39:13,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-29 09:39:13,586 - INFO - Initial checks done. Running the testcase now
2025-08-29 09:39:13,586 - INFO -
2025-08-29 09:39:14,180 - DEBUG - Response for create_network : {'network': {'id': 'e6ac4cb7-48f6-4f16-a419-afd64f1b106c', 'name': 'ctest-vn1-33265668', 'tenant_id': '6feb3402a4774ee1b67e9e49f15237ff', 'project_id': '6feb3402a4774ee1b67e9e49f15237ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25996079', 'ctest-vn1-33265668'], 'port_security_enabled': True, 'description': ''}}
2025-08-29 09:39:14,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a736c5f-41c4-4181-857e-4b0fdd19300c', 'name': '', 'tenant_id': '6feb3402a4774ee1b67e9e49f15237ff', 'network_id': 'e6ac4cb7-48f6-4f16-a419-afd64f1b106c', 'ip_version': 4, 'cidr': '3.36.51.128/26', 'allocation_pools': [{'start': '3.36.51.130', 'end': '3.36.51.190'}], 'gateway_ip': '3.36.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.36.51.130', 'tags': [], 'project_id': '6feb3402a4774ee1b67e9e49f15237ff'}}
2025-08-29 09:39:14,379 - INFO - Created VN ctest-vn1-33265668
2025-08-29 09:39:14,433 - DEBUG - VN ctest-vn1-33265668 UUID is e6ac4cb7-48f6-4f16-a419-afd64f1b106c
2025-08-29 09:39:14,799 - DEBUG - Response for create_network : {'network': {'id': '14a3db8d-ca80-41bc-9bbf-83d0a6d77387', 'name': 'ctest-vn2-07486993', 'tenant_id': '6feb3402a4774ee1b67e9e49f15237ff', 'project_id': '6feb3402a4774ee1b67e9e49f15237ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25996079', 'ctest-vn2-07486993'], 'port_security_enabled': True, 'description': ''}}
2025-08-29 09:39:14,974 - DEBUG - Response for create_subnet : {'subnet': {'id': 'add052ab-6953-46f8-8726-dd9a865a4e56', 'name': '', 'tenant_id': '6feb3402a4774ee1b67e9e49f15237ff', 'network_id': '14a3db8d-ca80-41bc-9bbf-83d0a6d77387', 'ip_version': 4, 'cidr': '84.45.93.64/26', 'allocation_pools': [{'start': '84.45.93.66', 'end': '84.45.93.126'}], 'gateway_ip': '84.45.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.45.93.66', 'tags': [], 'project_id': '6feb3402a4774ee1b67e9e49f15237ff'}}
2025-08-29 09:39:14,997 - INFO - Created VN ctest-vn2-07486993
2025-08-29 09:39:15,049 - DEBUG - VN ctest-vn2-07486993 UUID is 14a3db8d-ca80-41bc-9bbf-83d0a6d77387
2025-08-29 09:39:15,214 - DEBUG - Services list from nova: [, , ]
2025-08-29 09:39:16,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1)
2025-08-29 09:39:17,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1)
2025-08-29 09:39:17,655 - INFO - Adding interface with subnet_id 0a736c5f-41c4-4181-857e-4b0fdd19300c, port_id None to router 0afed6ae-e656-4e65-aad3-ae31c79653dd
2025-08-29 09:39:17,916 - INFO - Waiting for VM ctest-vn1-vm1-63108766 to be up..
2025-08-29 09:39:18,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-29 09:39:23,109 - DEBUG - VM is in ACTIVE state now
2025-08-29 09:39:23,109 - INFO - VM name : ctest-vn1-vm1-63108766
2025-08-29 09:39:23,191 - DEBUG - VM ctest-vn1-vm1-63108766 ID is ba6a98be-21c2-49ea-acca-dfc651e7aba4
2025-08-29 09:39:23,217 - DEBUG - VM ctest-vn1-vm1-63108766 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1
2025-08-29 09:39:23,291 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ba6a98be-21c2-49ea-acca-dfc651e7aba4
2025-08-29 09:39:23,643 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ba6a98be-21c2-49ea-acca-dfc651e7aba4
2025-08-29 09:39:23,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ec4ec3b0-d280-4d98-a171-0d16c446511c
2025-08-29 09:39:26,913 - 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 1005ms')
2025-08-29 09:39:26,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63108766 failed!
2025-08-29 09:39:26,969 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-25996079:ctest-vn1-33265668 is 3.36.51.129 and allocation pool is NOT set
2025-08-29 09:39:29,033 - 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=4.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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.174/2.772/4.370/1.598 ms')
2025-08-29 09:39:29,034 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63108766 passed
2025-08-29 09:39:29,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:39:29,185 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63108766, IP 3.36.51.131, Port 22
2025-08-29 09:39:29,337 - DEBUG - VM ctest-vn1-vm1-63108766 is ready for SSH connections
2025-08-29 09:39:29,337 - INFO - Waiting for VM ctest-vn2-vm1-12130757 to be up..
2025-08-29 09:39:29,411 - DEBUG - VM is in ACTIVE state now
2025-08-29 09:39:29,411 - INFO - VM name : ctest-vn2-vm1-12130757
2025-08-29 09:39:29,484 - DEBUG - VM ctest-vn2-vm1-12130757 ID is d88c0b8c-cc9b-416f-8109-56fe403d90d8
2025-08-29 09:39:29,484 - DEBUG - VM ctest-vn2-vm1-12130757 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1
2025-08-29 09:39:29,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d88c0b8c-cc9b-416f-8109-56fe403d90d8
2025-08-29 09:39:29,572 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/70b96036-1e50-4287-982a-92e76901f298
2025-08-29 09:39:30,812 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.86 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 = 2.799/2.830/2.861/0.031 ms')
2025-08-29 09:39:30,812 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-12130757 passed
2025-08-29 09:39:30,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:39:30,961 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-12130757, IP 84.45.93.67, Port 22
2025-08-29 09:39:31,016 - 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-08-29 09:39:31,096 - DEBUG - VM ctest-vn2-vm1-12130757 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-29 09:39:36,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:39:36,097 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-12130757, IP 84.45.93.67, Port 22
2025-08-29 09:39:36,256 - DEBUG - VM ctest-vn2-vm1-12130757 is ready for SSH connections
2025-08-29 09:39:36,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:39:36,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.45.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-29 09:39:36,257 - DEBUG - ping -s 56 -c 3 -W 1 84.45.93.67
2025-08-29 09:39:41,255 - DEBUG - PING 84.45.93.67 (84.45.93.67): 56 data bytes
--- 84.45.93.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-29 09:39:41,255 - WARNING - Ping to IP 84.45.93.67 from VM ctest-vn1-vm1-63108766 failed
2025-08-29 09:39:41,255 - INFO - Adding interface with subnet_id add052ab-6953-46f8-8726-dd9a865a4e56, port_id None to router 0afed6ae-e656-4e65-aad3-ae31c79653dd
2025-08-29 09:39:41,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:39:41,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.45.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-29 09:39:41,503 - DEBUG - ping -s 56 -c 3 -W 1 84.45.93.67
2025-08-29 09:39:44,711 - DEBUG - PING 84.45.93.67 (84.45.93.67): 56 data bytes
64 bytes from 84.45.93.67: seq=1 ttl=63 time=2.673 ms
64 bytes from 84.45.93.67: seq=2 ttl=63 time=0.789 ms
--- 84.45.93.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.789/1.731/2.673 ms
2025-08-29 09:39:44,711 - WARNING - Ping to IP 84.45.93.67 from VM ctest-vn1-vm1-63108766 failed
2025-08-29 09:39:45,711 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.45.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-29 09:39:45,712 - DEBUG - ping -s 56 -c 3 -W 1 84.45.93.67
2025-08-29 09:39:47,921 - DEBUG - PING 84.45.93.67 (84.45.93.67): 56 data bytes
64 bytes from 84.45.93.67: seq=0 ttl=63 time=1.283 ms
64 bytes from 84.45.93.67: seq=1 ttl=63 time=0.948 ms
64 bytes from 84.45.93.67: seq=2 ttl=63 time=0.985 ms
--- 84.45.93.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.948/1.072/1.283 ms
2025-08-29 09:39:47,921 - INFO - Ping to IP 84.45.93.67 from VM ctest-vn1-vm1-63108766 passed
2025-08-29 09:39:47,921 - INFO - Deleting interface with subnet_id 0a736c5f-41c4-4181-857e-4b0fdd19300c, port_id None from router 0afed6ae-e656-4e65-aad3-ae31c79653dd
2025-08-29 09:39:48,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:39:48,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.45.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-29 09:39:48,028 - DEBUG - ping -s 56 -c 3 -W 1 84.45.93.67
2025-08-29 09:39:51,235 - DEBUG - PING 84.45.93.67 (84.45.93.67): 56 data bytes
--- 84.45.93.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-29 09:39:51,236 - WARNING - Ping to IP 84.45.93.67 from VM ctest-vn1-vm1-63108766 failed
2025-08-29 09:39:51,236 - INFO - Adding interface with subnet_id 0a736c5f-41c4-4181-857e-4b0fdd19300c, port_id None to router 0afed6ae-e656-4e65-aad3-ae31c79653dd
2025-08-29 09:39:51,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:39:51,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.45.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-29 09:39:51,452 - DEBUG - ping -s 56 -c 3 -W 1 84.45.93.67
2025-08-29 09:39:53,662 - DEBUG - PING 84.45.93.67 (84.45.93.67): 56 data bytes
64 bytes from 84.45.93.67: seq=0 ttl=63 time=1.381 ms
64 bytes from 84.45.93.67: seq=1 ttl=63 time=0.817 ms
64 bytes from 84.45.93.67: seq=2 ttl=63 time=0.997 ms
--- 84.45.93.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.817/1.065/1.381 ms
2025-08-29 09:39:53,662 - INFO - Ping to IP 84.45.93.67 from VM ctest-vn1-vm1-63108766 passed
2025-08-29 09:39:53,662 - INFO - Deleting interface with subnet_id add052ab-6953-46f8-8726-dd9a865a4e56, port_id None from router 0afed6ae-e656-4e65-aad3-ae31c79653dd
2025-08-29 09:39:53,787 - INFO - Deleting interface with subnet_id 0a736c5f-41c4-4181-857e-4b0fdd19300c, port_id None from router 0afed6ae-e656-4e65-aad3-ae31c79653dd
2025-08-29 09:39:53,958 - INFO - Deleting VM ctest-vn2-vm1-12130757
2025-08-29 09:39:54,033 - INFO - Deleting VM ctest-vn1-vm1-63108766
2025-08-29 09:39:54,109 - INFO - Deleting VN ctest-vn2-07486993
2025-08-29 09:39:54,147 - DEBUG - VN 14a3db8d-ca80-41bc-9bbf-83d0a6d77387 still in use: Unable to complete operation on network 14a3db8d-ca80-41bc-9bbf-83d0a6d77387. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-857b8c08-d3bd-4627-a7c5-634ee61694f0']
2025-08-29 09:39:54,147 - WARNING - Deleting VN ctest-vn2-07486993 failed..Will retry
2025-08-29 09:39:56,236 - DEBUG - Response for deleting network ()
2025-08-29 09:39:56,236 - INFO - Deleting VN ctest-vn1-33265668
2025-08-29 09:39:56,332 - DEBUG - Response for deleting network ()
2025-08-29 09:39:56,585 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 09:39:56,585 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-08-29 09:39:56,586 - INFO - --------------------------------------------------------------------------------
2025-08-29 09:39:57,226 - INFO - Deleted project: ctest-TestRouters-25996079, ID : 6feb3402-a477-4ee1-b67e-9e49f15237ff