2025-11-03 10:25:47,137 - INFO - Domain Default found not creating 2025-11-03 10:25:47,347 - INFO - Project ctest-TestRouters-73876266 not found, creating it 2025-11-03 10:25:47,890 - INFO - Created Project:ctest-TestRouters-73876266, ID : 03fa7d2f-66ff-44cc-add1-433405c66ce5 2025-11-03 10:25:50,079 - INFO - ================================================================================ 2025-11-03 10:25:50,079 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-03 10:25:50,080 - 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-11-03 10:25:50,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 10:25:50,377 - INFO - Initial checks done. Running the testcase now 2025-11-03 10:25:50,377 - INFO - 2025-11-03 10:25:51,191 - DEBUG - Response for create_network : {'network': {'id': '4c44a18d-9779-4dc4-8409-d9ba7a324919', 'name': 'ctest-vn1-49137479', 'tenant_id': '03fa7d2f66ff44ccadd1433405c66ce5', 'project_id': '03fa7d2f66ff44ccadd1433405c66ce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-73876266', 'ctest-vn1-49137479'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:25:51,392 - DEBUG - Response for create_subnet : {'subnet': {'id': '4661cd40-b706-4bb8-b6b5-cf64445e864f', 'name': '', 'tenant_id': '03fa7d2f66ff44ccadd1433405c66ce5', 'network_id': '4c44a18d-9779-4dc4-8409-d9ba7a324919', 'ip_version': 4, 'cidr': '146.75.180.64/26', 'allocation_pools': [{'start': '146.75.180.66', 'end': '146.75.180.126'}], 'gateway_ip': '146.75.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.75.180.66', 'tags': [], 'project_id': '03fa7d2f66ff44ccadd1433405c66ce5'}} 2025-11-03 10:25:51,412 - INFO - Created VN ctest-vn1-49137479 2025-11-03 10:25:51,466 - DEBUG - VN ctest-vn1-49137479 UUID is 4c44a18d-9779-4dc4-8409-d9ba7a324919 2025-11-03 10:25:52,157 - DEBUG - Response for create_network : {'network': {'id': 'f239872e-5ed8-480c-b23b-bda847427565', 'name': 'ctest-vn2-59451648', 'tenant_id': '03fa7d2f66ff44ccadd1433405c66ce5', 'project_id': '03fa7d2f66ff44ccadd1433405c66ce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-73876266', 'ctest-vn2-59451648'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:25:52,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ed0c6dc-a704-48e0-b2dd-292f3ca9ada0', 'name': '', 'tenant_id': '03fa7d2f66ff44ccadd1433405c66ce5', 'network_id': 'f239872e-5ed8-480c-b23b-bda847427565', 'ip_version': 4, 'cidr': '21.91.129.64/26', 'allocation_pools': [{'start': '21.91.129.66', 'end': '21.91.129.126'}], 'gateway_ip': '21.91.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.91.129.66', 'tags': [], 'project_id': '03fa7d2f66ff44ccadd1433405c66ce5'}} 2025-11-03 10:25:52,421 - INFO - Created VN ctest-vn2-59451648 2025-11-03 10:25:52,477 - DEBUG - VN ctest-vn2-59451648 UUID is f239872e-5ed8-480c-b23b-bda847427565 2025-11-03 10:25:52,710 - DEBUG - Services list from nova: [, , ] 2025-11-03 10:25:54,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4604-1) 2025-11-03 10:25:55,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4604-1) 2025-11-03 10:25:55,831 - INFO - Adding interface with subnet_id 4661cd40-b706-4bb8-b6b5-cf64445e864f, port_id None to router 9ef15978-9793-423b-a14e-cd05a8c26ea9 2025-11-03 10:25:56,101 - INFO - Waiting for VM ctest-vn1-vm1-69233736 to be up.. 2025-11-03 10:25:56,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 10:26:01,348 - DEBUG - VM is in ACTIVE state now 2025-11-03 10:26:01,348 - INFO - VM name : ctest-vn1-vm1-69233736 2025-11-03 10:26:01,448 - DEBUG - VM ctest-vn1-vm1-69233736 ID is 8ef833b0-9ecc-4d67-b9ae-3d9f761c9e71 2025-11-03 10:26:01,479 - DEBUG - VM ctest-vn1-vm1-69233736 launched on Node cn-jenkins-deploy-platform-ansible-os-4604-1 2025-11-03 10:26:01,583 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8ef833b0-9ecc-4d67-b9ae-3d9f761c9e71 2025-11-03 10:26:01,878 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8ef833b0-9ecc-4d67-b9ae-3d9f761c9e71 2025-11-03 10:26:01,928 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/465af49e-d273-4b45-8ba7-a21c66135563 2025-11-03 10:26:05,254 - 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 1031ms') 2025-11-03 10:26:05,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69233736 failed! 2025-11-03 10:26:05,321 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-73876266:ctest-vn1-49137479 is 146.75.180.65 and allocation pool is NOT set 2025-11-03 10:26:07,383 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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.522/3.022/4.522/1.500 ms') 2025-11-03 10:26:07,384 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69233736 passed 2025-11-03 10:26:07,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:07,533 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69233736, IP 146.75.180.67, Port 22 2025-11-03 10:26:07,705 - DEBUG - VM ctest-vn1-vm1-69233736 is ready for SSH connections 2025-11-03 10:26:07,705 - INFO - Waiting for VM ctest-vn2-vm1-84127056 to be up.. 2025-11-03 10:26:07,789 - DEBUG - VM is in ACTIVE state now 2025-11-03 10:26:07,789 - INFO - VM name : ctest-vn2-vm1-84127056 2025-11-03 10:26:07,875 - DEBUG - VM ctest-vn2-vm1-84127056 ID is 3e59d696-eef8-4145-bc8c-f38a1d2023b6 2025-11-03 10:26:07,875 - DEBUG - VM ctest-vn2-vm1-84127056 launched on Node cn-jenkins-deploy-platform-ansible-os-4604-1 2025-11-03 10:26:07,969 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3e59d696-eef8-4145-bc8c-f38a1d2023b6 2025-11-03 10:26:07,980 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/648ae16b-1f9d-44ad-9138-9ca3a7079b9e 2025-11-03 10:26:09,269 - 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=5.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.00 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 = 1.997/3.785/5.574/1.788 ms') 2025-11-03 10:26:09,269 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84127056 passed 2025-11-03 10:26:09,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:09,442 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84127056, IP 21.91.129.67, Port 22 2025-11-03 10:26:09,631 - DEBUG - VM ctest-vn2-vm1-84127056 is ready for SSH connections 2025-11-03 10:26:09,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:09,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.91.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 10:26:09,631 - DEBUG - ping -s 56 -c 3 -W 1 21.91.129.67 2025-11-03 10:26:15,093 - DEBUG - PING 21.91.129.67 (21.91.129.67): 56 data bytes --- 21.91.129.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 10:26:15,093 - WARNING - Ping to IP 21.91.129.67 from VM ctest-vn1-vm1-69233736 failed 2025-11-03 10:26:15,093 - INFO - Adding interface with subnet_id 8ed0c6dc-a704-48e0-b2dd-292f3ca9ada0, port_id None to router 9ef15978-9793-423b-a14e-cd05a8c26ea9 2025-11-03 10:26:15,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:15,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.91.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 10:26:15,394 - DEBUG - ping -s 56 -c 3 -W 1 21.91.129.67 2025-11-03 10:26:17,640 - DEBUG - PING 21.91.129.67 (21.91.129.67): 56 data bytes 64 bytes from 21.91.129.67: seq=0 ttl=63 time=3.595 ms 64 bytes from 21.91.129.67: seq=1 ttl=63 time=1.811 ms 64 bytes from 21.91.129.67: seq=2 ttl=63 time=2.041 ms --- 21.91.129.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.811/2.482/3.595 ms 2025-11-03 10:26:17,640 - INFO - Ping to IP 21.91.129.67 from VM ctest-vn1-vm1-69233736 passed 2025-11-03 10:26:17,640 - INFO - Deleting interface with subnet_id 4661cd40-b706-4bb8-b6b5-cf64445e864f, port_id None from router 9ef15978-9793-423b-a14e-cd05a8c26ea9 2025-11-03 10:26:17,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:17,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.91.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 10:26:17,882 - DEBUG - ping -s 56 -c 3 -W 1 21.91.129.67 2025-11-03 10:26:21,201 - DEBUG - PING 21.91.129.67 (21.91.129.67): 56 data bytes --- 21.91.129.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 10:26:21,201 - WARNING - Ping to IP 21.91.129.67 from VM ctest-vn1-vm1-69233736 failed 2025-11-03 10:26:21,201 - INFO - Adding interface with subnet_id 4661cd40-b706-4bb8-b6b5-cf64445e864f, port_id None to router 9ef15978-9793-423b-a14e-cd05a8c26ea9 2025-11-03 10:26:21,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:21,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.91.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 10:26:21,529 - DEBUG - ping -s 56 -c 3 -W 1 21.91.129.67 2025-11-03 10:26:23,842 - DEBUG - PING 21.91.129.67 (21.91.129.67): 56 data bytes 64 bytes from 21.91.129.67: seq=0 ttl=63 time=2.304 ms 64 bytes from 21.91.129.67: seq=1 ttl=63 time=1.250 ms 64 bytes from 21.91.129.67: seq=2 ttl=63 time=1.876 ms --- 21.91.129.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.250/1.810/2.304 ms 2025-11-03 10:26:23,842 - INFO - Ping to IP 21.91.129.67 from VM ctest-vn1-vm1-69233736 passed 2025-11-03 10:26:23,843 - INFO - Deleting interface with subnet_id 8ed0c6dc-a704-48e0-b2dd-292f3ca9ada0, port_id None from router 9ef15978-9793-423b-a14e-cd05a8c26ea9 2025-11-03 10:26:24,061 - INFO - Deleting interface with subnet_id 4661cd40-b706-4bb8-b6b5-cf64445e864f, port_id None from router 9ef15978-9793-423b-a14e-cd05a8c26ea9 2025-11-03 10:26:24,255 - INFO - Deleting VM ctest-vn2-vm1-84127056 2025-11-03 10:26:24,328 - INFO - Deleting VM ctest-vn1-vm1-69233736 2025-11-03 10:26:24,405 - INFO - Deleting VN ctest-vn2-59451648 2025-11-03 10:26:24,459 - DEBUG - VN f239872e-5ed8-480c-b23b-bda847427565 still in use: Unable to complete operation on network f239872e-5ed8-480c-b23b-bda847427565. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e28ea1cc-6639-41aa-9ecc-a7d6165a57ad'] 2025-11-03 10:26:24,459 - WARNING - Deleting VN ctest-vn2-59451648 failed..Will retry 2025-11-03 10:26:26,662 - DEBUG - Response for deleting network () 2025-11-03 10:26:26,663 - INFO - Deleting VN ctest-vn1-49137479 2025-11-03 10:26:26,795 - DEBUG - Response for deleting network () 2025-11-03 10:26:27,094 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 10:26:27,094 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-03 10:26:27,094 - INFO - -------------------------------------------------------------------------------- 2025-11-03 10:26:27,910 - INFO - Deleted project: ctest-TestRouters-73876266, ID : 03fa7d2f-66ff-44cc-add1-433405c66ce5