2025-10-30 02:22:32,387 - INFO - Domain Default found not creating 2025-10-30 02:22:32,529 - INFO - Project ctest-TestRouters-58299324 not found, creating it 2025-10-30 02:22:32,998 - INFO - Created Project:ctest-TestRouters-58299324, ID : e90611d5-dff8-46e7-8ed0-5aeef6b07fbb 2025-10-30 02:22:34,511 - INFO - ================================================================================ 2025-10-30 02:22:34,511 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 02:22:34,511 - 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-30 02:22:34,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-10-30 02:22:34,783 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:22:34,783 - INFO - 2025-10-30 02:22:35,328 - DEBUG - Response for create_network : {'network': {'id': '02da948c-887c-4a52-8038-dd8cb74b2acc', 'name': 'ctest-vn1-56079513', 'tenant_id': 'e90611d5dff846e78ed05aeef6b07fbb', 'project_id': 'e90611d5dff846e78ed05aeef6b07fbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58299324', 'ctest-vn1-56079513'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:22:35,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '7efc1ac1-b017-4eea-a365-34a1f3df5471', 'name': '', 'tenant_id': 'e90611d5dff846e78ed05aeef6b07fbb', 'network_id': '02da948c-887c-4a52-8038-dd8cb74b2acc', 'ip_version': 4, 'cidr': '111.240.196.192/26', 'allocation_pools': [{'start': '111.240.196.194', 'end': '111.240.196.254'}], 'gateway_ip': '111.240.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.240.196.194', 'tags': [], 'project_id': 'e90611d5dff846e78ed05aeef6b07fbb'}} 2025-10-30 02:22:35,508 - INFO - Created VN ctest-vn1-56079513 2025-10-30 02:22:35,561 - DEBUG - VN ctest-vn1-56079513 UUID is 02da948c-887c-4a52-8038-dd8cb74b2acc 2025-10-30 02:22:35,900 - DEBUG - Response for create_network : {'network': {'id': '94f17393-a1be-4081-9dea-eaf245f3df9a', 'name': 'ctest-vn2-62514658', 'tenant_id': 'e90611d5dff846e78ed05aeef6b07fbb', 'project_id': 'e90611d5dff846e78ed05aeef6b07fbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58299324', 'ctest-vn2-62514658'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:22:36,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e9347a8-1f37-4e4a-abb1-d6af3f39399c', 'name': '', 'tenant_id': 'e90611d5dff846e78ed05aeef6b07fbb', 'network_id': '94f17393-a1be-4081-9dea-eaf245f3df9a', 'ip_version': 4, 'cidr': '152.246.135.128/26', 'allocation_pools': [{'start': '152.246.135.130', 'end': '152.246.135.190'}], 'gateway_ip': '152.246.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.246.135.130', 'tags': [], 'project_id': 'e90611d5dff846e78ed05aeef6b07fbb'}} 2025-10-30 02:22:36,164 - INFO - Created VN ctest-vn2-62514658 2025-10-30 02:22:36,217 - DEBUG - VN ctest-vn2-62514658 UUID is 94f17393-a1be-4081-9dea-eaf245f3df9a 2025-10-30 02:22:36,425 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:22:37,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4532-1) 2025-10-30 02:22:38,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4532-1) 2025-10-30 02:22:38,869 - INFO - Adding interface with subnet_id 7efc1ac1-b017-4eea-a365-34a1f3df5471, port_id None to router f8e60dbc-3f8b-46f2-9176-8ba8fe47ad05 2025-10-30 02:22:39,141 - INFO - Waiting for VM ctest-vn1-vm1-37689386 to be up.. 2025-10-30 02:22:39,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:22:44,350 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:22:44,350 - INFO - VM name : ctest-vn1-vm1-37689386 2025-10-30 02:22:44,440 - DEBUG - VM ctest-vn1-vm1-37689386 ID is 4d1c4c1b-8dba-4776-8b51-fa3effdd9892 2025-10-30 02:22:44,470 - DEBUG - VM ctest-vn1-vm1-37689386 launched on Node cn-jenkins-deploy-platform-ansible-os-4532-1 2025-10-30 02:22:44,556 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d1c4c1b-8dba-4776-8b51-fa3effdd9892 2025-10-30 02:22:44,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d1c4c1b-8dba-4776-8b51-fa3effdd9892 2025-10-30 02:22:44,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3cde7625-7972-455f-9a66-6a831acf3d5b 2025-10-30 02:22:48,144 - 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 1007ms') 2025-10-30 02:22:48,144 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37689386 failed! 2025-10-30 02:22:48,201 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-58299324:ctest-vn1-56079513 is 111.240.196.193 and allocation pool is NOT set 2025-10-30 02:22:50,261 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 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.529/1.763/2.998/1.234 ms') 2025-10-30 02:22:50,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37689386 passed 2025-10-30 02:22:50,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:22:50,409 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37689386, IP 111.240.196.195, Port 22 2025-10-30 02:22:50,568 - DEBUG - VM ctest-vn1-vm1-37689386 is ready for SSH connections 2025-10-30 02:22:50,568 - INFO - Waiting for VM ctest-vn2-vm1-51004416 to be up.. 2025-10-30 02:22:50,650 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:22:50,650 - INFO - VM name : ctest-vn2-vm1-51004416 2025-10-30 02:22:50,733 - DEBUG - VM ctest-vn2-vm1-51004416 ID is 523fff22-6bcc-4f71-b96e-61eb96eb681c 2025-10-30 02:22:50,733 - DEBUG - VM ctest-vn2-vm1-51004416 launched on Node cn-jenkins-deploy-platform-ansible-os-4532-1 2025-10-30 02:22:50,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/523fff22-6bcc-4f71-b96e-61eb96eb681c 2025-10-30 02:22:50,824 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2ef41a76-22c8-4389-9cfe-2279d704c734 2025-10-30 02:22:52,068 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.621 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.621/2.113/3.606/1.492 ms') 2025-10-30 02:22:52,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-51004416 passed 2025-10-30 02:22:52,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:22:52,217 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-51004416, IP 152.246.135.131, Port 22 2025-10-30 02:22:52,383 - DEBUG - VM ctest-vn2-vm1-51004416 is ready for SSH connections 2025-10-30 02:22:52,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:22:52,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.246.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 02:22:52,384 - DEBUG - ping -s 56 -c 3 -W 1 152.246.135.131 2025-10-30 02:22:57,040 - DEBUG - PING 152.246.135.131 (152.246.135.131): 56 data bytes --- 152.246.135.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:22:57,040 - WARNING - Ping to IP 152.246.135.131 from VM ctest-vn1-vm1-37689386 failed 2025-10-30 02:22:57,040 - INFO - Adding interface with subnet_id 6e9347a8-1f37-4e4a-abb1-d6af3f39399c, port_id None to router f8e60dbc-3f8b-46f2-9176-8ba8fe47ad05 2025-10-30 02:22:57,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:22:57,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.246.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 02:22:57,297 - DEBUG - ping -s 56 -c 3 -W 1 152.246.135.131 2025-10-30 02:23:00,507 - DEBUG - PING 152.246.135.131 (152.246.135.131): 56 data bytes 64 bytes from 152.246.135.131: seq=1 ttl=63 time=3.649 ms 64 bytes from 152.246.135.131: seq=2 ttl=63 time=0.887 ms --- 152.246.135.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.887/2.268/3.649 ms 2025-10-30 02:23:00,507 - WARNING - Ping to IP 152.246.135.131 from VM ctest-vn1-vm1-37689386 failed 2025-10-30 02:23:01,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.246.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 02:23:01,508 - DEBUG - ping -s 56 -c 3 -W 1 152.246.135.131 2025-10-30 02:23:03,724 - DEBUG - PING 152.246.135.131 (152.246.135.131): 56 data bytes 64 bytes from 152.246.135.131: seq=0 ttl=63 time=1.569 ms 64 bytes from 152.246.135.131: seq=1 ttl=63 time=1.189 ms 64 bytes from 152.246.135.131: seq=2 ttl=63 time=1.281 ms --- 152.246.135.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.189/1.346/1.569 ms 2025-10-30 02:23:03,725 - INFO - Ping to IP 152.246.135.131 from VM ctest-vn1-vm1-37689386 passed 2025-10-30 02:23:03,725 - INFO - Deleting interface with subnet_id 7efc1ac1-b017-4eea-a365-34a1f3df5471, port_id None from router f8e60dbc-3f8b-46f2-9176-8ba8fe47ad05 2025-10-30 02:23:03,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:23:03,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.246.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 02:23:03,868 - DEBUG - ping -s 56 -c 3 -W 1 152.246.135.131 2025-10-30 02:23:07,110 - DEBUG - PING 152.246.135.131 (152.246.135.131): 56 data bytes --- 152.246.135.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:23:07,111 - WARNING - Ping to IP 152.246.135.131 from VM ctest-vn1-vm1-37689386 failed 2025-10-30 02:23:07,111 - INFO - Adding interface with subnet_id 7efc1ac1-b017-4eea-a365-34a1f3df5471, port_id None to router f8e60dbc-3f8b-46f2-9176-8ba8fe47ad05 2025-10-30 02:23:07,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:23:07,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.246.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 02:23:07,335 - DEBUG - ping -s 56 -c 3 -W 1 152.246.135.131 2025-10-30 02:23:09,533 - DEBUG - PING 152.246.135.131 (152.246.135.131): 56 data bytes 64 bytes from 152.246.135.131: seq=0 ttl=63 time=1.817 ms 64 bytes from 152.246.135.131: seq=1 ttl=63 time=0.795 ms 64 bytes from 152.246.135.131: seq=2 ttl=63 time=1.295 ms --- 152.246.135.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/1.302/1.817 ms 2025-10-30 02:23:09,533 - INFO - Ping to IP 152.246.135.131 from VM ctest-vn1-vm1-37689386 passed 2025-10-30 02:23:09,533 - INFO - Deleting interface with subnet_id 6e9347a8-1f37-4e4a-abb1-d6af3f39399c, port_id None from router f8e60dbc-3f8b-46f2-9176-8ba8fe47ad05 2025-10-30 02:23:09,656 - INFO - Deleting interface with subnet_id 7efc1ac1-b017-4eea-a365-34a1f3df5471, port_id None from router f8e60dbc-3f8b-46f2-9176-8ba8fe47ad05 2025-10-30 02:23:09,824 - INFO - Deleting VM ctest-vn2-vm1-51004416 2025-10-30 02:23:09,905 - INFO - Deleting VM ctest-vn1-vm1-37689386 2025-10-30 02:23:09,983 - INFO - Deleting VN ctest-vn2-62514658 2025-10-30 02:23:10,032 - DEBUG - VN 94f17393-a1be-4081-9dea-eaf245f3df9a still in use: Unable to complete operation on network 94f17393-a1be-4081-9dea-eaf245f3df9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b4795ea-7b64-4443-b44b-ad60b9633859'] 2025-10-30 02:23:10,032 - WARNING - Deleting VN ctest-vn2-62514658 failed..Will retry 2025-10-30 02:23:12,126 - DEBUG - Response for deleting network () 2025-10-30 02:23:12,127 - INFO - Deleting VN ctest-vn1-56079513 2025-10-30 02:23:12,225 - DEBUG - Response for deleting network () 2025-10-30 02:23:12,478 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 02:23:12,478 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-30 02:23:12,478 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:23:13,155 - INFO - Deleted project: ctest-TestRouters-58299324, ID : e90611d5-dff8-46e7-8ed0-5aeef6b07fbb