2025-09-16 11:39:43,132 - INFO - Domain Default found not creating 2025-09-16 11:39:43,272 - INFO - Project ctest-TestRouters-11422102 not found, creating it 2025-09-16 11:39:43,745 - INFO - Created Project:ctest-TestRouters-11422102, ID : 9e064187-b7eb-4969-b6cd-2859e4c30590 2025-09-16 11:39:45,247 - INFO - ================================================================================ 2025-09-16 11:39:45,247 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-16 11:39:45,247 - 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-16 11:39:45,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-16 11:39:45,509 - INFO - Initial checks done. Running the testcase now 2025-09-16 11:39:45,509 - INFO - 2025-09-16 11:39:46,077 - DEBUG - Response for create_network : {'network': {'id': 'b76ce354-2f91-4470-a135-9373c017d0fb', 'name': 'ctest-vn1-33710291', 'tenant_id': '9e064187b7eb4969b6cd2859e4c30590', 'project_id': '9e064187b7eb4969b6cd2859e4c30590', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11422102', 'ctest-vn1-33710291'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:39:46,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf8f4089-7482-4e40-8600-19a7385612c0', 'name': '', 'tenant_id': '9e064187b7eb4969b6cd2859e4c30590', 'network_id': 'b76ce354-2f91-4470-a135-9373c017d0fb', 'ip_version': 4, 'cidr': '157.43.233.128/26', 'allocation_pools': [{'start': '157.43.233.130', 'end': '157.43.233.190'}], 'gateway_ip': '157.43.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.43.233.130', 'tags': [], 'project_id': '9e064187b7eb4969b6cd2859e4c30590'}} 2025-09-16 11:39:46,287 - INFO - Created VN ctest-vn1-33710291 2025-09-16 11:39:46,338 - DEBUG - VN ctest-vn1-33710291 UUID is b76ce354-2f91-4470-a135-9373c017d0fb 2025-09-16 11:39:46,640 - DEBUG - Response for create_network : {'network': {'id': '5758f42d-2142-4cdb-b450-3d4b6d8b62c3', 'name': 'ctest-vn2-04077274', 'tenant_id': '9e064187b7eb4969b6cd2859e4c30590', 'project_id': '9e064187b7eb4969b6cd2859e4c30590', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11422102', 'ctest-vn2-04077274'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:39:46,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '0683b77c-0e3c-43d5-a538-2a8b48c67232', 'name': '', 'tenant_id': '9e064187b7eb4969b6cd2859e4c30590', 'network_id': '5758f42d-2142-4cdb-b450-3d4b6d8b62c3', 'ip_version': 4, 'cidr': '120.195.210.0/26', 'allocation_pools': [{'start': '120.195.210.2', 'end': '120.195.210.62'}], 'gateway_ip': '120.195.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.195.210.2', 'tags': [], 'project_id': '9e064187b7eb4969b6cd2859e4c30590'}} 2025-09-16 11:39:46,885 - INFO - Created VN ctest-vn2-04077274 2025-09-16 11:39:46,942 - DEBUG - VN ctest-vn2-04077274 UUID is 5758f42d-2142-4cdb-b450-3d4b6d8b62c3 2025-09-16 11:39:47,193 - DEBUG - Services list from nova: [, , ] 2025-09-16 11:39:48,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4121-1) 2025-09-16 11:39:49,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4121-1) 2025-09-16 11:39:49,532 - INFO - Adding interface with subnet_id cf8f4089-7482-4e40-8600-19a7385612c0, port_id None to router e25a24d4-214e-44f4-b0b4-d8f19b8a2056 2025-09-16 11:39:49,826 - INFO - Waiting for VM ctest-vn1-vm1-17935020 to be up.. 2025-09-16 11:39:49,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 11:39:54,995 - DEBUG - VM is in ACTIVE state now 2025-09-16 11:39:54,995 - INFO - VM name : ctest-vn1-vm1-17935020 2025-09-16 11:39:55,076 - DEBUG - VM ctest-vn1-vm1-17935020 ID is 4d9573d2-9596-4577-bf73-3568dfe6a0ea 2025-09-16 11:39:55,094 - DEBUG - VM ctest-vn1-vm1-17935020 launched on Node cn-jenkins-deploy-platform-ansible-os-4121-1 2025-09-16 11:39:55,179 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d9573d2-9596-4577-bf73-3568dfe6a0ea 2025-09-16 11:39:55,474 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d9573d2-9596-4577-bf73-3568dfe6a0ea 2025-09-16 11:39:55,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d7b4881-b31d-445e-ba2e-5ec91ae5adfd 2025-09-16 11:39:58,773 - 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 1023ms') 2025-09-16 11:39:58,774 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17935020 failed! 2025-09-16 11:39:58,830 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-11422102:ctest-vn1-33710291 is 157.43.233.129 and allocation pool is NOT set 2025-09-16 11:40:00,890 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/1.739/3.028/1.288 ms') 2025-09-16 11:40:00,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17935020 passed 2025-09-16 11:40:01,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:40:01,046 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17935020, IP 157.43.233.131, Port 22 2025-09-16 11:40:01,206 - DEBUG - VM ctest-vn1-vm1-17935020 is ready for SSH connections 2025-09-16 11:40:01,206 - INFO - Waiting for VM ctest-vn2-vm1-12353505 to be up.. 2025-09-16 11:40:01,278 - DEBUG - VM is in ACTIVE state now 2025-09-16 11:40:01,278 - INFO - VM name : ctest-vn2-vm1-12353505 2025-09-16 11:40:01,357 - DEBUG - VM ctest-vn2-vm1-12353505 ID is cd48f1f7-d5c4-4bfa-97ff-bdb0b536b283 2025-09-16 11:40:01,357 - DEBUG - VM ctest-vn2-vm1-12353505 launched on Node cn-jenkins-deploy-platform-ansible-os-4121-1 2025-09-16 11:40:01,429 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cd48f1f7-d5c4-4bfa-97ff-bdb0b536b283 2025-09-16 11:40:01,437 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/da6c8427-094f-4056-bafd-545ee84502f4 2025-09-16 11:40:02,676 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.710/2.920/1.209 ms') 2025-09-16 11:40:02,676 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-12353505 passed 2025-09-16 11:40:02,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:40:02,834 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-12353505, IP 120.195.210.3, Port 22 2025-09-16 11:40:02,994 - DEBUG - VM ctest-vn2-vm1-12353505 is ready for SSH connections 2025-09-16 11:40:02,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:40:02,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.195.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:40:02,994 - DEBUG - ping -s 56 -c 3 -W 1 120.195.210.3 2025-09-16 11:40:07,655 - DEBUG - PING 120.195.210.3 (120.195.210.3): 56 data bytes --- 120.195.210.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 11:40:07,655 - WARNING - Ping to IP 120.195.210.3 from VM ctest-vn1-vm1-17935020 failed 2025-09-16 11:40:07,655 - INFO - Adding interface with subnet_id 0683b77c-0e3c-43d5-a538-2a8b48c67232, port_id None to router e25a24d4-214e-44f4-b0b4-d8f19b8a2056 2025-09-16 11:40:07,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:40:07,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.195.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:40:07,917 - DEBUG - ping -s 56 -c 3 -W 1 120.195.210.3 2025-09-16 11:40:11,136 - DEBUG - PING 120.195.210.3 (120.195.210.3): 56 data bytes 64 bytes from 120.195.210.3: seq=1 ttl=63 time=3.007 ms 64 bytes from 120.195.210.3: seq=2 ttl=63 time=1.010 ms --- 120.195.210.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.010/2.008/3.007 ms 2025-09-16 11:40:11,136 - WARNING - Ping to IP 120.195.210.3 from VM ctest-vn1-vm1-17935020 failed 2025-09-16 11:40:12,137 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.195.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:40:12,137 - DEBUG - ping -s 56 -c 3 -W 1 120.195.210.3 2025-09-16 11:40:14,348 - DEBUG - PING 120.195.210.3 (120.195.210.3): 56 data bytes 64 bytes from 120.195.210.3: seq=0 ttl=63 time=1.344 ms 64 bytes from 120.195.210.3: seq=1 ttl=63 time=1.031 ms 64 bytes from 120.195.210.3: seq=2 ttl=63 time=0.931 ms --- 120.195.210.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/1.102/1.344 ms 2025-09-16 11:40:14,348 - INFO - Ping to IP 120.195.210.3 from VM ctest-vn1-vm1-17935020 passed 2025-09-16 11:40:14,348 - INFO - Deleting interface with subnet_id cf8f4089-7482-4e40-8600-19a7385612c0, port_id None from router e25a24d4-214e-44f4-b0b4-d8f19b8a2056 2025-09-16 11:40:14,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:40:14,466 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.195.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:40:14,466 - DEBUG - ping -s 56 -c 3 -W 1 120.195.210.3 2025-09-16 11:40:17,676 - DEBUG - PING 120.195.210.3 (120.195.210.3): 56 data bytes --- 120.195.210.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 11:40:17,676 - WARNING - Ping to IP 120.195.210.3 from VM ctest-vn1-vm1-17935020 failed 2025-09-16 11:40:17,676 - INFO - Adding interface with subnet_id cf8f4089-7482-4e40-8600-19a7385612c0, port_id None to router e25a24d4-214e-44f4-b0b4-d8f19b8a2056 2025-09-16 11:40:17,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:40:17,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.195.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:40:17,876 - DEBUG - ping -s 56 -c 3 -W 1 120.195.210.3 2025-09-16 11:40:20,086 - DEBUG - PING 120.195.210.3 (120.195.210.3): 56 data bytes 64 bytes from 120.195.210.3: seq=0 ttl=63 time=1.642 ms 64 bytes from 120.195.210.3: seq=1 ttl=63 time=0.941 ms 64 bytes from 120.195.210.3: seq=2 ttl=63 time=0.906 ms --- 120.195.210.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.163/1.642 ms 2025-09-16 11:40:20,086 - INFO - Ping to IP 120.195.210.3 from VM ctest-vn1-vm1-17935020 passed 2025-09-16 11:40:20,086 - INFO - Deleting interface with subnet_id 0683b77c-0e3c-43d5-a538-2a8b48c67232, port_id None from router e25a24d4-214e-44f4-b0b4-d8f19b8a2056 2025-09-16 11:40:20,196 - INFO - Deleting interface with subnet_id cf8f4089-7482-4e40-8600-19a7385612c0, port_id None from router e25a24d4-214e-44f4-b0b4-d8f19b8a2056 2025-09-16 11:40:20,358 - INFO - Deleting VM ctest-vn2-vm1-12353505 2025-09-16 11:40:20,433 - INFO - Deleting VM ctest-vn1-vm1-17935020 2025-09-16 11:40:20,505 - INFO - Deleting VN ctest-vn2-04077274 2025-09-16 11:40:20,544 - DEBUG - VN 5758f42d-2142-4cdb-b450-3d4b6d8b62c3 still in use: Unable to complete operation on network 5758f42d-2142-4cdb-b450-3d4b6d8b62c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b45eb9a-8c0e-485b-b94c-434d67c5e52e'] 2025-09-16 11:40:20,544 - WARNING - Deleting VN ctest-vn2-04077274 failed..Will retry 2025-09-16 11:40:22,644 - DEBUG - Response for deleting network () 2025-09-16 11:40:22,644 - INFO - Deleting VN ctest-vn1-33710291 2025-09-16 11:40:22,747 - DEBUG - Response for deleting network () 2025-09-16 11:40:23,008 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 11:40:23,008 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-16 11:40:23,008 - INFO - -------------------------------------------------------------------------------- 2025-09-16 11:40:23,681 - INFO - Deleted project: ctest-TestRouters-11422102, ID : 9e064187-b7eb-4969-b6cd-2859e4c30590