2025-10-21 09:51:28,395 - INFO - Domain Default found not creating 2025-10-21 09:51:28,518 - INFO - Project ctest-TestRouters-38965958 not found, creating it 2025-10-21 09:51:28,954 - INFO - Created Project:ctest-TestRouters-38965958, ID : 02b9c759-4dc9-43e9-a371-d2eae1214775 2025-10-21 09:51:30,434 - INFO - ================================================================================ 2025-10-21 09:51:30,434 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 09:51:30,435 - 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-21 09:51:30,688 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 09:51:30,688 - INFO - Initial checks done. Running the testcase now 2025-10-21 09:51:30,688 - INFO - 2025-10-21 09:51:31,199 - DEBUG - Response for create_network : {'network': {'id': '909ec7cf-0779-469b-9734-8d2a3300a1ba', 'name': 'ctest-vn1-14005782', 'tenant_id': '02b9c7594dc943e9a371d2eae1214775', 'project_id': '02b9c7594dc943e9a371d2eae1214775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38965958', 'ctest-vn1-14005782'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:51:31,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '76aceb30-cf09-4280-ae0d-1640c56f4f14', 'name': '', 'tenant_id': '02b9c7594dc943e9a371d2eae1214775', 'network_id': '909ec7cf-0779-469b-9734-8d2a3300a1ba', 'ip_version': 4, 'cidr': '20.37.190.0/26', 'allocation_pools': [{'start': '20.37.190.2', 'end': '20.37.190.62'}], 'gateway_ip': '20.37.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.37.190.2', 'tags': [], 'project_id': '02b9c7594dc943e9a371d2eae1214775'}} 2025-10-21 09:51:31,374 - INFO - Created VN ctest-vn1-14005782 2025-10-21 09:51:31,427 - DEBUG - VN ctest-vn1-14005782 UUID is 909ec7cf-0779-469b-9734-8d2a3300a1ba 2025-10-21 09:51:31,734 - DEBUG - Response for create_network : {'network': {'id': '4b85b75d-ac9e-4128-9372-caf8d6c5da59', 'name': 'ctest-vn2-04421845', 'tenant_id': '02b9c7594dc943e9a371d2eae1214775', 'project_id': '02b9c7594dc943e9a371d2eae1214775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38965958', 'ctest-vn2-04421845'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:51:31,940 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2249029-fc92-424d-9f4a-726794c42dc0', 'name': '', 'tenant_id': '02b9c7594dc943e9a371d2eae1214775', 'network_id': '4b85b75d-ac9e-4128-9372-caf8d6c5da59', 'ip_version': 4, 'cidr': '118.77.136.0/26', 'allocation_pools': [{'start': '118.77.136.2', 'end': '118.77.136.62'}], 'gateway_ip': '118.77.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.77.136.2', 'tags': [], 'project_id': '02b9c7594dc943e9a371d2eae1214775'}} 2025-10-21 09:51:31,959 - INFO - Created VN ctest-vn2-04421845 2025-10-21 09:51:32,011 - DEBUG - VN ctest-vn2-04421845 UUID is 4b85b75d-ac9e-4128-9372-caf8d6c5da59 2025-10-21 09:51:32,263 - DEBUG - Services list from nova: [, , ] 2025-10-21 09:51:33,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4391-1) 2025-10-21 09:51:34,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4391-1) 2025-10-21 09:51:34,484 - INFO - Adding interface with subnet_id 76aceb30-cf09-4280-ae0d-1640c56f4f14, port_id None to router aa9b9245-8d09-49c2-a3e8-04c21be885cd 2025-10-21 09:51:34,736 - INFO - Waiting for VM ctest-vn1-vm1-62090140 to be up.. 2025-10-21 09:51:34,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 09:51:39,906 - DEBUG - VM is in ACTIVE state now 2025-10-21 09:51:39,906 - INFO - VM name : ctest-vn1-vm1-62090140 2025-10-21 09:51:39,972 - DEBUG - VM ctest-vn1-vm1-62090140 ID is 3678b8fe-39c5-42c3-bf60-80b450e0e5ea 2025-10-21 09:51:39,989 - DEBUG - VM ctest-vn1-vm1-62090140 launched on Node cn-jenkins-deploy-platform-ansible-os-4391-1 2025-10-21 09:51:40,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3678b8fe-39c5-42c3-bf60-80b450e0e5ea 2025-10-21 09:51:40,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3678b8fe-39c5-42c3-bf60-80b450e0e5ea 2025-10-21 09:51:40,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/597b12b8-4656-4606-8691-5f0fe71cfff9 2025-10-21 09:51:43,610 - 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 1008ms') 2025-10-21 09:51:43,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62090140 failed! 2025-10-21 09:51:43,663 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-38965958:ctest-vn1-14005782 is 20.37.190.1 and allocation pool is NOT set 2025-10-21 09:51:45,726 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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 = 0.450/1.878/3.307/1.428 ms') 2025-10-21 09:51:45,727 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62090140 passed 2025-10-21 09:51:45,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:45,879 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62090140, IP 20.37.190.3, Port 22 2025-10-21 09:51:46,039 - DEBUG - VM ctest-vn1-vm1-62090140 is ready for SSH connections 2025-10-21 09:51:46,039 - INFO - Waiting for VM ctest-vn2-vm1-85964701 to be up.. 2025-10-21 09:51:46,108 - DEBUG - VM is in ACTIVE state now 2025-10-21 09:51:46,108 - INFO - VM name : ctest-vn2-vm1-85964701 2025-10-21 09:51:46,176 - DEBUG - VM ctest-vn2-vm1-85964701 ID is 5045d540-f456-4748-a726-4d2bd70db6b0 2025-10-21 09:51:46,176 - DEBUG - VM ctest-vn2-vm1-85964701 launched on Node cn-jenkins-deploy-platform-ansible-os-4391-1 2025-10-21 09:51:46,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5045d540-f456-4748-a726-4d2bd70db6b0 2025-10-21 09:51:46,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e8024db-668d-409b-8993-4a6486039c96 2025-10-21 09:51:47,471 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.366 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.366/1.457/2.549/1.091 ms') 2025-10-21 09:51:47,472 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-85964701 passed 2025-10-21 09:51:47,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:47,623 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-85964701, IP 118.77.136.3, Port 22 2025-10-21 09:51:47,774 - DEBUG - VM ctest-vn2-vm1-85964701 is ready for SSH connections 2025-10-21 09:51:47,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:47,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.77.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:51:47,775 - DEBUG - ping -s 56 -c 3 -W 1 118.77.136.3 2025-10-21 09:51:52,420 - DEBUG - PING 118.77.136.3 (118.77.136.3): 56 data bytes --- 118.77.136.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 09:51:52,420 - WARNING - Ping to IP 118.77.136.3 from VM ctest-vn1-vm1-62090140 failed 2025-10-21 09:51:52,421 - INFO - Adding interface with subnet_id e2249029-fc92-424d-9f4a-726794c42dc0, port_id None to router aa9b9245-8d09-49c2-a3e8-04c21be885cd 2025-10-21 09:51:52,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:52,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.77.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:51:52,678 - DEBUG - ping -s 56 -c 3 -W 1 118.77.136.3 2025-10-21 09:51:55,879 - DEBUG - PING 118.77.136.3 (118.77.136.3): 56 data bytes 64 bytes from 118.77.136.3: seq=1 ttl=63 time=2.622 ms 64 bytes from 118.77.136.3: seq=2 ttl=63 time=0.682 ms --- 118.77.136.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.682/1.652/2.622 ms 2025-10-21 09:51:55,879 - WARNING - Ping to IP 118.77.136.3 from VM ctest-vn1-vm1-62090140 failed 2025-10-21 09:51:56,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.77.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:51:56,881 - DEBUG - ping -s 56 -c 3 -W 1 118.77.136.3 2025-10-21 09:51:59,084 - DEBUG - PING 118.77.136.3 (118.77.136.3): 56 data bytes 64 bytes from 118.77.136.3: seq=0 ttl=63 time=1.681 ms 64 bytes from 118.77.136.3: seq=1 ttl=63 time=0.809 ms 64 bytes from 118.77.136.3: seq=2 ttl=63 time=0.785 ms --- 118.77.136.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.091/1.681 ms 2025-10-21 09:51:59,084 - INFO - Ping to IP 118.77.136.3 from VM ctest-vn1-vm1-62090140 passed 2025-10-21 09:51:59,084 - INFO - Deleting interface with subnet_id 76aceb30-cf09-4280-ae0d-1640c56f4f14, port_id None from router aa9b9245-8d09-49c2-a3e8-04c21be885cd 2025-10-21 09:51:59,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:51:59,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.77.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:51:59,185 - DEBUG - ping -s 56 -c 3 -W 1 118.77.136.3 2025-10-21 09:52:02,380 - DEBUG - PING 118.77.136.3 (118.77.136.3): 56 data bytes --- 118.77.136.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 09:52:02,380 - WARNING - Ping to IP 118.77.136.3 from VM ctest-vn1-vm1-62090140 failed 2025-10-21 09:52:02,380 - INFO - Adding interface with subnet_id 76aceb30-cf09-4280-ae0d-1640c56f4f14, port_id None to router aa9b9245-8d09-49c2-a3e8-04c21be885cd 2025-10-21 09:52:02,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:52:02,593 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.77.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:52:02,594 - DEBUG - ping -s 56 -c 3 -W 1 118.77.136.3 2025-10-21 09:52:04,793 - DEBUG - PING 118.77.136.3 (118.77.136.3): 56 data bytes 64 bytes from 118.77.136.3: seq=0 ttl=63 time=1.287 ms 64 bytes from 118.77.136.3: seq=1 ttl=63 time=0.724 ms 64 bytes from 118.77.136.3: seq=2 ttl=63 time=0.690 ms --- 118.77.136.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/0.900/1.287 ms 2025-10-21 09:52:04,793 - INFO - Ping to IP 118.77.136.3 from VM ctest-vn1-vm1-62090140 passed 2025-10-21 09:52:04,793 - INFO - Deleting interface with subnet_id e2249029-fc92-424d-9f4a-726794c42dc0, port_id None from router aa9b9245-8d09-49c2-a3e8-04c21be885cd 2025-10-21 09:52:04,889 - INFO - Deleting interface with subnet_id 76aceb30-cf09-4280-ae0d-1640c56f4f14, port_id None from router aa9b9245-8d09-49c2-a3e8-04c21be885cd 2025-10-21 09:52:05,038 - INFO - Deleting VM ctest-vn2-vm1-85964701 2025-10-21 09:52:05,102 - INFO - Deleting VM ctest-vn1-vm1-62090140 2025-10-21 09:52:05,166 - INFO - Deleting VN ctest-vn2-04421845 2025-10-21 09:52:05,203 - DEBUG - VN 4b85b75d-ac9e-4128-9372-caf8d6c5da59 still in use: Unable to complete operation on network 4b85b75d-ac9e-4128-9372-caf8d6c5da59. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6d592c1-55d5-49c1-abb8-2b7c71a3cd67'] 2025-10-21 09:52:05,203 - WARNING - Deleting VN ctest-vn2-04421845 failed..Will retry 2025-10-21 09:52:07,301 - DEBUG - Response for deleting network () 2025-10-21 09:52:07,301 - INFO - Deleting VN ctest-vn1-14005782 2025-10-21 09:52:07,405 - DEBUG - Response for deleting network () 2025-10-21 09:52:07,663 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 09:52:07,663 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-21 09:52:07,663 - INFO - -------------------------------------------------------------------------------- 2025-10-21 09:52:08,324 - INFO - Deleted project: ctest-TestRouters-38965958, ID : 02b9c759-4dc9-43e9-a371-d2eae1214775