2025-11-24 18:33:32,702 - INFO - Domain Default found not creating 2025-11-24 18:33:32,917 - INFO - Project ctest-TestRouters-27372856 not found, creating it 2025-11-24 18:33:33,436 - INFO - Created Project:ctest-TestRouters-27372856, ID : 551c39a0-6844-4cc4-a71a-ddab1ca08f05 2025-11-24 18:33:35,268 - INFO - ================================================================================ 2025-11-24 18:33:35,269 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-24 18:33:35,269 - 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-24 18:33:35,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0'}} with 2025-11-24 18:33:35,561 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:33:35,561 - INFO - 2025-11-24 18:33:36,230 - DEBUG - Response for create_network : {'network': {'id': 'f32ffe59-dfaf-4be0-9bfc-179fe4340606', 'name': 'ctest-vn1-40241485', 'tenant_id': '551c39a068444cc4a71addab1ca08f05', 'project_id': '551c39a068444cc4a71addab1ca08f05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27372856', 'ctest-vn1-40241485'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:33:36,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b210ca1-8acd-4e70-866d-f3feeb4d4336', 'name': '', 'tenant_id': '551c39a068444cc4a71addab1ca08f05', 'network_id': 'f32ffe59-dfaf-4be0-9bfc-179fe4340606', 'ip_version': 4, 'cidr': '113.77.115.128/26', 'allocation_pools': [{'start': '113.77.115.130', 'end': '113.77.115.190'}], 'gateway_ip': '113.77.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.77.115.130', 'tags': [], 'project_id': '551c39a068444cc4a71addab1ca08f05'}} 2025-11-24 18:33:36,440 - INFO - Created VN ctest-vn1-40241485 2025-11-24 18:33:36,489 - DEBUG - VN ctest-vn1-40241485 UUID is f32ffe59-dfaf-4be0-9bfc-179fe4340606 2025-11-24 18:33:36,926 - DEBUG - Response for create_network : {'network': {'id': 'd2fd357a-127c-4ac5-a008-7c51b0f0ae12', 'name': 'ctest-vn2-22766891', 'tenant_id': '551c39a068444cc4a71addab1ca08f05', 'project_id': '551c39a068444cc4a71addab1ca08f05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27372856', 'ctest-vn2-22766891'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:33:37,118 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba6bf59f-0754-404b-908c-d7647a0a0b2b', 'name': '', 'tenant_id': '551c39a068444cc4a71addab1ca08f05', 'network_id': 'd2fd357a-127c-4ac5-a008-7c51b0f0ae12', 'ip_version': 4, 'cidr': '27.27.172.192/26', 'allocation_pools': [{'start': '27.27.172.194', 'end': '27.27.172.254'}], 'gateway_ip': '27.27.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.27.172.194', 'tags': [], 'project_id': '551c39a068444cc4a71addab1ca08f05'}} 2025-11-24 18:33:37,140 - INFO - Created VN ctest-vn2-22766891 2025-11-24 18:33:37,194 - DEBUG - VN ctest-vn2-22766891 UUID is d2fd357a-127c-4ac5-a008-7c51b0f0ae12 2025-11-24 18:33:37,476 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:33:38,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:33:40,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:33:40,510 - INFO - Adding interface with subnet_id 2b210ca1-8acd-4e70-866d-f3feeb4d4336, port_id None to router dfe27be3-07ae-42fa-a971-dc52373186ac 2025-11-24 18:33:40,789 - INFO - Waiting for VM ctest-vn1-vm1-14354381 to be up.. 2025-11-24 18:33:40,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:33:45,972 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:33:45,972 - INFO - VM name : ctest-vn1-vm1-14354381 2025-11-24 18:33:46,062 - DEBUG - VM ctest-vn1-vm1-14354381 ID is 493e8905-323a-4710-8506-158a3d676a4c 2025-11-24 18:33:46,087 - DEBUG - VM ctest-vn1-vm1-14354381 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:33:46,170 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/493e8905-323a-4710-8506-158a3d676a4c 2025-11-24 18:33:46,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/493e8905-323a-4710-8506-158a3d676a4c 2025-11-24 18:33:46,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/51c59000-e74d-438b-a69f-a9922ef0a1b4 2025-11-24 18:33:49,771 - 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 1005ms') 2025-11-24 18:33:49,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14354381 failed! 2025-11-24 18:33:49,850 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27372856:ctest-vn1-40241485 is 113.77.115.129 and allocation pool is NOT set 2025-11-24 18:33:51,928 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.561 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.561/2.448/4.335/1.887 ms') 2025-11-24 18:33:51,929 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14354381 passed 2025-11-24 18:33:52,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:52,118 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14354381, IP 113.77.115.131, Port 22 2025-11-24 18:33:52,303 - DEBUG - VM ctest-vn1-vm1-14354381 is ready for SSH connections 2025-11-24 18:33:52,303 - INFO - Waiting for VM ctest-vn2-vm1-42968358 to be up.. 2025-11-24 18:33:52,478 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:33:52,478 - INFO - VM name : ctest-vn2-vm1-42968358 2025-11-24 18:33:52,638 - DEBUG - VM ctest-vn2-vm1-42968358 ID is 60cefba8-1766-44cb-a87b-6e6bdfed8838 2025-11-24 18:33:52,638 - DEBUG - VM ctest-vn2-vm1-42968358 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:33:52,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/60cefba8-1766-44cb-a87b-6e6bdfed8838 2025-11-24 18:33:52,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ef97db1f-dda8-43cb-929d-d0c5c532c82c 2025-11-24 18:33:54,109 - 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=25.9 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.32 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.319/14.104/25.890/11.785 ms') 2025-11-24 18:33:54,110 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-42968358 passed 2025-11-24 18:33:54,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:54,274 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42968358, IP 27.27.172.195, Port 22 2025-11-24 18:33:54,440 - DEBUG - VM ctest-vn2-vm1-42968358 is ready for SSH connections 2025-11-24 18:33:54,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:33:54,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.27.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 18:33:54,441 - DEBUG - ping -s 56 -c 3 -W 1 27.27.172.195 2025-11-24 18:33:59,664 - DEBUG - PING 27.27.172.195 (27.27.172.195): 56 data bytes --- 27.27.172.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 18:33:59,665 - WARNING - Ping to IP 27.27.172.195 from VM ctest-vn1-vm1-14354381 failed 2025-11-24 18:33:59,665 - INFO - Adding interface with subnet_id ba6bf59f-0754-404b-908c-d7647a0a0b2b, port_id None to router dfe27be3-07ae-42fa-a971-dc52373186ac 2025-11-24 18:34:00,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:34:00,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.27.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 18:34:00,131 - DEBUG - ping -s 56 -c 3 -W 1 27.27.172.195 2025-11-24 18:34:02,403 - DEBUG - PING 27.27.172.195 (27.27.172.195): 56 data bytes 64 bytes from 27.27.172.195: seq=0 ttl=63 time=3.213 ms 64 bytes from 27.27.172.195: seq=1 ttl=63 time=1.629 ms 64 bytes from 27.27.172.195: seq=2 ttl=63 time=1.946 ms --- 27.27.172.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.629/2.262/3.213 ms 2025-11-24 18:34:02,403 - INFO - Ping to IP 27.27.172.195 from VM ctest-vn1-vm1-14354381 passed 2025-11-24 18:34:02,403 - INFO - Deleting interface with subnet_id 2b210ca1-8acd-4e70-866d-f3feeb4d4336, port_id None from router dfe27be3-07ae-42fa-a971-dc52373186ac 2025-11-24 18:34:02,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:34:02,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.27.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 18:34:02,616 - DEBUG - ping -s 56 -c 3 -W 1 27.27.172.195 2025-11-24 18:34:05,867 - DEBUG - PING 27.27.172.195 (27.27.172.195): 56 data bytes --- 27.27.172.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 18:34:05,867 - WARNING - Ping to IP 27.27.172.195 from VM ctest-vn1-vm1-14354381 failed 2025-11-24 18:34:05,867 - INFO - Adding interface with subnet_id 2b210ca1-8acd-4e70-866d-f3feeb4d4336, port_id None to router dfe27be3-07ae-42fa-a971-dc52373186ac 2025-11-24 18:34:06,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:34:06,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.27.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 18:34:06,129 - DEBUG - ping -s 56 -c 3 -W 1 27.27.172.195 2025-11-24 18:34:08,406 - DEBUG - PING 27.27.172.195 (27.27.172.195): 56 data bytes 64 bytes from 27.27.172.195: seq=0 ttl=63 time=2.249 ms 64 bytes from 27.27.172.195: seq=1 ttl=63 time=1.476 ms 64 bytes from 27.27.172.195: seq=2 ttl=63 time=1.795 ms --- 27.27.172.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.476/1.840/2.249 ms 2025-11-24 18:34:08,406 - INFO - Ping to IP 27.27.172.195 from VM ctest-vn1-vm1-14354381 passed 2025-11-24 18:34:08,406 - INFO - Deleting interface with subnet_id ba6bf59f-0754-404b-908c-d7647a0a0b2b, port_id None from router dfe27be3-07ae-42fa-a971-dc52373186ac 2025-11-24 18:34:08,696 - INFO - Deleting interface with subnet_id 2b210ca1-8acd-4e70-866d-f3feeb4d4336, port_id None from router dfe27be3-07ae-42fa-a971-dc52373186ac 2025-11-24 18:34:08,915 - INFO - Deleting VM ctest-vn2-vm1-42968358 2025-11-24 18:34:08,990 - INFO - Deleting VM ctest-vn1-vm1-14354381 2025-11-24 18:34:09,093 - INFO - Deleting VN ctest-vn2-22766891 2025-11-24 18:34:09,152 - DEBUG - VN d2fd357a-127c-4ac5-a008-7c51b0f0ae12 still in use: Unable to complete operation on network d2fd357a-127c-4ac5-a008-7c51b0f0ae12. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f33883e2-5ffa-4980-af7c-c1964895a264'] 2025-11-24 18:34:09,153 - WARNING - Deleting VN ctest-vn2-22766891 failed..Will retry 2025-11-24 18:34:11,355 - DEBUG - Response for deleting network () 2025-11-24 18:34:11,355 - INFO - Deleting VN ctest-vn1-40241485 2025-11-24 18:34:11,490 - DEBUG - Response for deleting network () 2025-11-24 18:34:11,800 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 18:34:11,800 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36] 2025-11-24 18:34:11,800 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:34:12,786 - INFO - Deleted project: ctest-TestRouters-27372856, ID : 551c39a0-6844-4cc4-a71a-ddab1ca08f05