2025-10-28 21:33:08,076 - INFO - Domain Default found not creating 2025-10-28 21:33:08,212 - INFO - Project ctest-TestRouters-76856056 not found, creating it 2025-10-28 21:33:08,678 - INFO - Created Project:ctest-TestRouters-76856056, ID : 3a65f210-04a8-4edd-9dcd-856043d3fe87 2025-10-28 21:33:10,218 - INFO - ================================================================================ 2025-10-28 21:33:10,219 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-28 21:33:10,219 - 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-28 21:33:10,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-28 21:33:10,476 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:33:10,476 - INFO - 2025-10-28 21:33:11,082 - DEBUG - Response for create_network : {'network': {'id': '86b3d93f-0838-4ca5-b363-9a25ad9eaea7', 'name': 'ctest-vn1-69721157', 'tenant_id': '3a65f21004a84edd9dcd856043d3fe87', 'project_id': '3a65f21004a84edd9dcd856043d3fe87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76856056', 'ctest-vn1-69721157'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:33:11,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '62b460bb-f968-450f-a128-14d527a33eb0', 'name': '', 'tenant_id': '3a65f21004a84edd9dcd856043d3fe87', 'network_id': '86b3d93f-0838-4ca5-b363-9a25ad9eaea7', 'ip_version': 4, 'cidr': '1.234.217.192/26', 'allocation_pools': [{'start': '1.234.217.194', 'end': '1.234.217.254'}], 'gateway_ip': '1.234.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.234.217.194', 'tags': [], 'project_id': '3a65f21004a84edd9dcd856043d3fe87'}} 2025-10-28 21:33:11,260 - INFO - Created VN ctest-vn1-69721157 2025-10-28 21:33:11,311 - DEBUG - VN ctest-vn1-69721157 UUID is 86b3d93f-0838-4ca5-b363-9a25ad9eaea7 2025-10-28 21:33:11,668 - DEBUG - Response for create_network : {'network': {'id': '214cdbbf-128c-4e7e-95fe-a8ea58fbee49', 'name': 'ctest-vn2-36042550', 'tenant_id': '3a65f21004a84edd9dcd856043d3fe87', 'project_id': '3a65f21004a84edd9dcd856043d3fe87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76856056', 'ctest-vn2-36042550'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:33:11,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e11e364-ce98-497f-a50d-396ba40ec918', 'name': '', 'tenant_id': '3a65f21004a84edd9dcd856043d3fe87', 'network_id': '214cdbbf-128c-4e7e-95fe-a8ea58fbee49', 'ip_version': 4, 'cidr': '139.138.49.64/26', 'allocation_pools': [{'start': '139.138.49.66', 'end': '139.138.49.126'}], 'gateway_ip': '139.138.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.138.49.66', 'tags': [], 'project_id': '3a65f21004a84edd9dcd856043d3fe87'}} 2025-10-28 21:33:11,841 - INFO - Created VN ctest-vn2-36042550 2025-10-28 21:33:11,891 - DEBUG - VN ctest-vn2-36042550 UUID is 214cdbbf-128c-4e7e-95fe-a8ea58fbee49 2025-10-28 21:33:12,138 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:33:13,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4519-1) 2025-10-28 21:33:14,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4519-1) 2025-10-28 21:33:14,523 - INFO - Adding interface with subnet_id 62b460bb-f968-450f-a128-14d527a33eb0, port_id None to router 62a2d3ab-b9dc-4fe7-b817-96a2c6a58d73 2025-10-28 21:33:14,787 - INFO - Waiting for VM ctest-vn1-vm1-80343182 to be up.. 2025-10-28 21:33:14,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:33:19,998 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:33:19,998 - INFO - VM name : ctest-vn1-vm1-80343182 2025-10-28 21:33:20,077 - DEBUG - VM ctest-vn1-vm1-80343182 ID is 458322e2-e8c2-40ca-bf91-4663402a51ff 2025-10-28 21:33:20,096 - DEBUG - VM ctest-vn1-vm1-80343182 launched on Node cn-jenkins-deploy-platform-ansible-os-4519-1 2025-10-28 21:33:20,166 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/458322e2-e8c2-40ca-bf91-4663402a51ff 2025-10-28 21:33:20,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/458322e2-e8c2-40ca-bf91-4663402a51ff 2025-10-28 21:33:20,509 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/755a7b1d-756c-4813-b327-39f4ec8bcaa8 2025-10-28 21:33:23,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 1019ms') 2025-10-28 21:33:23,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80343182 failed! 2025-10-28 21:33:23,827 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-76856056:ctest-vn1-69721157 is 1.234.217.193 and allocation pool is NOT set 2025-10-28 21:33:25,887 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/1.829/3.260/1.431 ms') 2025-10-28 21:33:25,888 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80343182 passed 2025-10-28 21:33:26,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:26,039 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80343182, IP 1.234.217.195, Port 22 2025-10-28 21:33:26,207 - DEBUG - VM ctest-vn1-vm1-80343182 is ready for SSH connections 2025-10-28 21:33:26,207 - INFO - Waiting for VM ctest-vn2-vm1-38406472 to be up.. 2025-10-28 21:33:26,281 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:33:26,281 - INFO - VM name : ctest-vn2-vm1-38406472 2025-10-28 21:33:26,352 - DEBUG - VM ctest-vn2-vm1-38406472 ID is ca052a8d-5753-4376-aa89-d0558543d4bd 2025-10-28 21:33:26,352 - DEBUG - VM ctest-vn2-vm1-38406472 launched on Node cn-jenkins-deploy-platform-ansible-os-4519-1 2025-10-28 21:33:26,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ca052a8d-5753-4376-aa89-d0558543d4bd 2025-10-28 21:33:26,434 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8e8c5498-a5a8-477c-8c2c-19fefe23eb26 2025-10-28 21:33:27,670 - 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=3.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.627 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.627/2.237/3.848/1.610 ms') 2025-10-28 21:33:27,671 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-38406472 passed 2025-10-28 21:33:27,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:27,823 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-38406472, IP 139.138.49.67, Port 22 2025-10-28 21:33:27,982 - DEBUG - VM ctest-vn2-vm1-38406472 is ready for SSH connections 2025-10-28 21:33:27,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:27,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.138.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:33:27,983 - DEBUG - ping -s 56 -c 3 -W 1 139.138.49.67 2025-10-28 21:33:32,998 - DEBUG - PING 139.138.49.67 (139.138.49.67): 56 data bytes --- 139.138.49.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:33:32,999 - WARNING - Ping to IP 139.138.49.67 from VM ctest-vn1-vm1-80343182 failed 2025-10-28 21:33:32,999 - INFO - Adding interface with subnet_id 5e11e364-ce98-497f-a50d-396ba40ec918, port_id None to router 62a2d3ab-b9dc-4fe7-b817-96a2c6a58d73 2025-10-28 21:33:33,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:33,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.138.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:33:33,257 - DEBUG - ping -s 56 -c 3 -W 1 139.138.49.67 2025-10-28 21:33:36,480 - DEBUG - PING 139.138.49.67 (139.138.49.67): 56 data bytes 64 bytes from 139.138.49.67: seq=1 ttl=63 time=3.439 ms 64 bytes from 139.138.49.67: seq=2 ttl=63 time=1.310 ms --- 139.138.49.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.310/2.374/3.439 ms 2025-10-28 21:33:36,480 - WARNING - Ping to IP 139.138.49.67 from VM ctest-vn1-vm1-80343182 failed 2025-10-28 21:33:37,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.138.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:33:37,481 - DEBUG - ping -s 56 -c 3 -W 1 139.138.49.67 2025-10-28 21:33:39,695 - DEBUG - PING 139.138.49.67 (139.138.49.67): 56 data bytes 64 bytes from 139.138.49.67: seq=0 ttl=63 time=1.853 ms 64 bytes from 139.138.49.67: seq=1 ttl=63 time=1.082 ms 64 bytes from 139.138.49.67: seq=2 ttl=63 time=1.353 ms --- 139.138.49.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.082/1.429/1.853 ms 2025-10-28 21:33:39,695 - INFO - Ping to IP 139.138.49.67 from VM ctest-vn1-vm1-80343182 passed 2025-10-28 21:33:39,695 - INFO - Deleting interface with subnet_id 62b460bb-f968-450f-a128-14d527a33eb0, port_id None from router 62a2d3ab-b9dc-4fe7-b817-96a2c6a58d73 2025-10-28 21:33:39,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:39,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.138.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:33:39,818 - DEBUG - ping -s 56 -c 3 -W 1 139.138.49.67 2025-10-28 21:33:43,029 - DEBUG - PING 139.138.49.67 (139.138.49.67): 56 data bytes --- 139.138.49.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:33:43,029 - WARNING - Ping to IP 139.138.49.67 from VM ctest-vn1-vm1-80343182 failed 2025-10-28 21:33:43,030 - INFO - Adding interface with subnet_id 62b460bb-f968-450f-a128-14d527a33eb0, port_id None to router 62a2d3ab-b9dc-4fe7-b817-96a2c6a58d73 2025-10-28 21:33:43,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:33:43,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.138.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:33:43,242 - DEBUG - ping -s 56 -c 3 -W 1 139.138.49.67 2025-10-28 21:33:45,445 - DEBUG - PING 139.138.49.67 (139.138.49.67): 56 data bytes 64 bytes from 139.138.49.67: seq=0 ttl=63 time=1.318 ms 64 bytes from 139.138.49.67: seq=1 ttl=63 time=0.774 ms 64 bytes from 139.138.49.67: seq=2 ttl=63 time=0.802 ms --- 139.138.49.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/0.964/1.318 ms 2025-10-28 21:33:45,446 - INFO - Ping to IP 139.138.49.67 from VM ctest-vn1-vm1-80343182 passed 2025-10-28 21:33:45,446 - INFO - Deleting interface with subnet_id 5e11e364-ce98-497f-a50d-396ba40ec918, port_id None from router 62a2d3ab-b9dc-4fe7-b817-96a2c6a58d73 2025-10-28 21:33:45,556 - INFO - Deleting interface with subnet_id 62b460bb-f968-450f-a128-14d527a33eb0, port_id None from router 62a2d3ab-b9dc-4fe7-b817-96a2c6a58d73 2025-10-28 21:33:45,726 - INFO - Deleting VM ctest-vn2-vm1-38406472 2025-10-28 21:33:45,807 - INFO - Deleting VM ctest-vn1-vm1-80343182 2025-10-28 21:33:45,880 - INFO - Deleting VN ctest-vn2-36042550 2025-10-28 21:33:45,921 - DEBUG - VN 214cdbbf-128c-4e7e-95fe-a8ea58fbee49 still in use: Unable to complete operation on network 214cdbbf-128c-4e7e-95fe-a8ea58fbee49. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1b7ea1d-dd4f-4451-869a-d5b7ca55c189'] 2025-10-28 21:33:45,921 - WARNING - Deleting VN ctest-vn2-36042550 failed..Will retry 2025-10-28 21:33:48,018 - DEBUG - Response for deleting network () 2025-10-28 21:33:48,019 - INFO - Deleting VN ctest-vn1-69721157 2025-10-28 21:33:48,123 - DEBUG - Response for deleting network () 2025-10-28 21:33:48,376 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 21:33:48,376 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-28 21:33:48,376 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:33:49,048 - INFO - Deleted project: ctest-TestRouters-76856056, ID : 3a65f210-04a8-4edd-9dcd-856043d3fe87