2025-08-15 16:31:03,837 - INFO - Domain Default found not creating
2025-08-15 16:31:03,949 - INFO - Project ctest-TestRouters-92326188 not found, creating it
2025-08-15 16:31:04,400 - INFO - Created Project:ctest-TestRouters-92326188, ID : 6b4f5c22-fa45-4ad5-984f-f4d18b3302c4
2025-08-15 16:31:05,713 - INFO - ================================================================================
2025-08-15 16:31:05,713 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-15 16:31:05,713 - 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-15 16:31:05,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-08-15 16:31:05,969 - INFO - Initial checks done. Running the testcase now
2025-08-15 16:31:05,969 - INFO -
2025-08-15 16:31:06,481 - DEBUG - Response for create_network : {'network': {'id': '44d74a8c-e806-421b-bb90-1457d4826370', 'name': 'ctest-vn1-03483217', 'tenant_id': '6b4f5c22fa454ad5984ff4d18b3302c4', 'project_id': '6b4f5c22fa454ad5984ff4d18b3302c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92326188', 'ctest-vn1-03483217'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 16:31:06,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd36ff479-383b-4df1-9174-0033f8d5c534', 'name': '', 'tenant_id': '6b4f5c22fa454ad5984ff4d18b3302c4', 'network_id': '44d74a8c-e806-421b-bb90-1457d4826370', 'ip_version': 4, 'cidr': '146.147.38.192/26', 'allocation_pools': [{'start': '146.147.38.194', 'end': '146.147.38.254'}], 'gateway_ip': '146.147.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.147.38.194', 'tags': [], 'project_id': '6b4f5c22fa454ad5984ff4d18b3302c4'}}
2025-08-15 16:31:06,680 - INFO - Created VN ctest-vn1-03483217
2025-08-15 16:31:06,732 - DEBUG - VN ctest-vn1-03483217 UUID is 44d74a8c-e806-421b-bb90-1457d4826370
2025-08-15 16:31:07,047 - DEBUG - Response for create_network : {'network': {'id': 'd13b218e-ecd7-4208-8a87-e745f38a43ad', 'name': 'ctest-vn2-49680785', 'tenant_id': '6b4f5c22fa454ad5984ff4d18b3302c4', 'project_id': '6b4f5c22fa454ad5984ff4d18b3302c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92326188', 'ctest-vn2-49680785'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 16:31:07,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '136df303-6c19-4e0c-a23e-a214ee67923b', 'name': '', 'tenant_id': '6b4f5c22fa454ad5984ff4d18b3302c4', 'network_id': 'd13b218e-ecd7-4208-8a87-e745f38a43ad', 'ip_version': 4, 'cidr': '53.99.108.0/26', 'allocation_pools': [{'start': '53.99.108.2', 'end': '53.99.108.62'}], 'gateway_ip': '53.99.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.99.108.2', 'tags': [], 'project_id': '6b4f5c22fa454ad5984ff4d18b3302c4'}}
2025-08-15 16:31:07,276 - INFO - Created VN ctest-vn2-49680785
2025-08-15 16:31:07,332 - DEBUG - VN ctest-vn2-49680785 UUID is d13b218e-ecd7-4208-8a87-e745f38a43ad
2025-08-15 16:31:07,530 - DEBUG - Services list from nova: [, , ]
2025-08-15 16:31:08,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3865-1)
2025-08-15 16:31:09,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3865-1)
2025-08-15 16:31:09,727 - INFO - Adding interface with subnet_id d36ff479-383b-4df1-9174-0033f8d5c534, port_id None to router dbf93ef2-f538-4caa-adb0-bc24e2a49ff4
2025-08-15 16:31:09,979 - INFO - Waiting for VM ctest-vn1-vm1-42292047 to be up..
2025-08-15 16:31:10,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 16:31:15,182 - DEBUG - VM is in ACTIVE state now
2025-08-15 16:31:15,182 - INFO - VM name : ctest-vn1-vm1-42292047
2025-08-15 16:31:15,248 - DEBUG - VM ctest-vn1-vm1-42292047 ID is b755ea39-3fa5-47db-b1e0-886244f59da9
2025-08-15 16:31:15,266 - DEBUG - VM ctest-vn1-vm1-42292047 launched on Node cn-jenkins-deploy-platform-ansible-os-3865-1
2025-08-15 16:31:15,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b755ea39-3fa5-47db-b1e0-886244f59da9
2025-08-15 16:31:15,616 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b755ea39-3fa5-47db-b1e0-886244f59da9
2025-08-15 16:31:15,645 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/490190e9-661a-418a-93e4-d46f5be12cf3
2025-08-15 16:31:18,907 - 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=2 ttl=63 time=11.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1035ms\r\nrtt min/avg/max/mdev = 11.665/11.665/11.665/0.000 ms')
2025-08-15 16:31:18,907 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42292047 passed
2025-08-15 16:31:19,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:31:19,068 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42292047, IP 146.147.38.195, Port 22
2025-08-15 16:31:19,128 - 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-08-15 16:31:19,197 - DEBUG - VM ctest-vn1-vm1-42292047 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 16:31:24,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:31:24,197 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42292047, IP 146.147.38.195, Port 22
2025-08-15 16:31:24,347 - DEBUG - VM ctest-vn1-vm1-42292047 is ready for SSH connections
2025-08-15 16:31:24,347 - INFO - Waiting for VM ctest-vn2-vm1-79824023 to be up..
2025-08-15 16:31:24,413 - DEBUG - VM is in ACTIVE state now
2025-08-15 16:31:24,413 - INFO - VM name : ctest-vn2-vm1-79824023
2025-08-15 16:31:24,471 - DEBUG - VM ctest-vn2-vm1-79824023 ID is 5484cc6c-ce0a-46ea-a21b-b845898300c5
2025-08-15 16:31:24,471 - DEBUG - VM ctest-vn2-vm1-79824023 launched on Node cn-jenkins-deploy-platform-ansible-os-3865-1
2025-08-15 16:31:24,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5484cc6c-ce0a-46ea-a21b-b845898300c5
2025-08-15 16:31:24,532 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/05587a90-a633-4f4c-a78a-c65692d23a60
2025-08-15 16:31:25,757 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.309 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.309/1.408/2.508/1.099 ms')
2025-08-15 16:31:25,757 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-79824023 passed
2025-08-15 16:31:25,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:31:25,904 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-79824023, IP 53.99.108.3, Port 22
2025-08-15 16:31:26,055 - DEBUG - VM ctest-vn2-vm1-79824023 is ready for SSH connections
2025-08-15 16:31:26,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:31:26,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.99.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-15 16:31:26,056 - DEBUG - ping -s 56 -c 3 -W 1 53.99.108.3
2025-08-15 16:31:30,670 - DEBUG - PING 53.99.108.3 (53.99.108.3): 56 data bytes
--- 53.99.108.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-15 16:31:30,670 - WARNING - Ping to IP 53.99.108.3 from VM ctest-vn1-vm1-42292047 failed
2025-08-15 16:31:30,670 - INFO - Adding interface with subnet_id 136df303-6c19-4e0c-a23e-a214ee67923b, port_id None to router dbf93ef2-f538-4caa-adb0-bc24e2a49ff4
2025-08-15 16:31:30,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:31:30,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.99.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-15 16:31:30,884 - DEBUG - ping -s 56 -c 3 -W 1 53.99.108.3
2025-08-15 16:31:33,083 - DEBUG - PING 53.99.108.3 (53.99.108.3): 56 data bytes
64 bytes from 53.99.108.3: seq=0 ttl=63 time=2.245 ms
64 bytes from 53.99.108.3: seq=1 ttl=63 time=0.656 ms
64 bytes from 53.99.108.3: seq=2 ttl=63 time=0.645 ms
--- 53.99.108.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.645/1.182/2.245 ms
2025-08-15 16:31:33,083 - INFO - Ping to IP 53.99.108.3 from VM ctest-vn1-vm1-42292047 passed
2025-08-15 16:31:33,084 - INFO - Deleting interface with subnet_id d36ff479-383b-4df1-9174-0033f8d5c534, port_id None from router dbf93ef2-f538-4caa-adb0-bc24e2a49ff4
2025-08-15 16:31:33,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:31:33,186 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.99.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-15 16:31:33,186 - DEBUG - ping -s 56 -c 3 -W 1 53.99.108.3
2025-08-15 16:31:36,379 - DEBUG - PING 53.99.108.3 (53.99.108.3): 56 data bytes
--- 53.99.108.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-15 16:31:36,379 - WARNING - Ping to IP 53.99.108.3 from VM ctest-vn1-vm1-42292047 failed
2025-08-15 16:31:36,379 - INFO - Adding interface with subnet_id d36ff479-383b-4df1-9174-0033f8d5c534, port_id None to router dbf93ef2-f538-4caa-adb0-bc24e2a49ff4
2025-08-15 16:31:36,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 16:31:36,589 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.99.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-15 16:31:36,589 - DEBUG - ping -s 56 -c 3 -W 1 53.99.108.3
2025-08-15 16:31:39,774 - DEBUG - PING 53.99.108.3 (53.99.108.3): 56 data bytes
64 bytes from 53.99.108.3: seq=1 ttl=63 time=1.159 ms
64 bytes from 53.99.108.3: seq=2 ttl=63 time=0.682 ms
--- 53.99.108.3 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.682/0.920/1.159 ms
2025-08-15 16:31:39,774 - WARNING - Ping to IP 53.99.108.3 from VM ctest-vn1-vm1-42292047 failed
2025-08-15 16:31:40,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.99.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-15 16:31:40,775 - DEBUG - ping -s 56 -c 3 -W 1 53.99.108.3
2025-08-15 16:31:42,965 - DEBUG - PING 53.99.108.3 (53.99.108.3): 56 data bytes
64 bytes from 53.99.108.3: seq=0 ttl=63 time=1.202 ms
64 bytes from 53.99.108.3: seq=1 ttl=63 time=0.859 ms
64 bytes from 53.99.108.3: seq=2 ttl=63 time=0.712 ms
--- 53.99.108.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.712/0.924/1.202 ms
2025-08-15 16:31:42,965 - INFO - Ping to IP 53.99.108.3 from VM ctest-vn1-vm1-42292047 passed
2025-08-15 16:31:42,965 - INFO - Deleting interface with subnet_id 136df303-6c19-4e0c-a23e-a214ee67923b, port_id None from router dbf93ef2-f538-4caa-adb0-bc24e2a49ff4
2025-08-15 16:31:43,085 - INFO - Deleting interface with subnet_id d36ff479-383b-4df1-9174-0033f8d5c534, port_id None from router dbf93ef2-f538-4caa-adb0-bc24e2a49ff4
2025-08-15 16:31:43,237 - INFO - Deleting VM ctest-vn2-vm1-79824023
2025-08-15 16:31:43,297 - INFO - Deleting VM ctest-vn1-vm1-42292047
2025-08-15 16:31:43,355 - INFO - Deleting VN ctest-vn2-49680785
2025-08-15 16:31:43,388 - DEBUG - VN d13b218e-ecd7-4208-8a87-e745f38a43ad still in use: Unable to complete operation on network d13b218e-ecd7-4208-8a87-e745f38a43ad. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ea660c01-7ea0-490e-ae35-f4d6bc489f74']
2025-08-15 16:31:43,388 - WARNING - Deleting VN ctest-vn2-49680785 failed..Will retry
2025-08-15 16:31:45,473 - DEBUG - Response for deleting network ()
2025-08-15 16:31:45,474 - INFO - Deleting VN ctest-vn1-03483217
2025-08-15 16:31:45,558 - DEBUG - Response for deleting network ()
2025-08-15 16:31:45,813 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 16:31:45,813 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-08-15 16:31:45,813 - INFO - --------------------------------------------------------------------------------
2025-08-15 16:31:46,446 - INFO - Deleted project: ctest-TestRouters-92326188, ID : 6b4f5c22-fa45-4ad5-984f-f4d18b3302c4