2025-08-19 10:31:22,910 - INFO - Domain Default found not creating 2025-08-19 10:31:23,145 - INFO - Project ctest-TestRouters-03188044 not found, creating it 2025-08-19 10:31:23,611 - INFO - Created Project:ctest-TestRouters-03188044, ID : 06bb318c-560f-4091-8272-e21ae7abce33 2025-08-19 10:31:25,044 - INFO - ================================================================================ 2025-08-19 10:31:25,045 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-19 10:31:25,045 - 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-08-19 10:31:25,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-19 10:31:25,300 - INFO - Initial checks done. Running the testcase now 2025-08-19 10:31:25,300 - INFO - 2025-08-19 10:31:25,873 - DEBUG - Response for create_network : {'network': {'id': '5276e44e-0934-473f-be52-abe168acf4e6', 'name': 'ctest-vn1-42194770', 'tenant_id': '06bb318c560f40918272e21ae7abce33', 'project_id': '06bb318c560f40918272e21ae7abce33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03188044', 'ctest-vn1-42194770'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 10:31:26,116 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c36ab4cc-ccd3-4547-b7e7-1ab201e63a02', 'name': '', 'tenant_id': '06bb318c560f40918272e21ae7abce33', 'network_id': '5276e44e-0934-473f-be52-abe168acf4e6', 'ip_version': 4, 'cidr': '6.144.91.64/26', 'allocation_pools': [{'start': '6.144.91.66', 'end': '6.144.91.126'}], 'gateway_ip': '6.144.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.144.91.66', 'tags': [], 'project_id': '06bb318c560f40918272e21ae7abce33'}} 2025-08-19 10:31:26,133 - INFO - Created VN ctest-vn1-42194770 2025-08-19 10:31:26,186 - DEBUG - VN ctest-vn1-42194770 UUID is 5276e44e-0934-473f-be52-abe168acf4e6 2025-08-19 10:31:26,525 - DEBUG - Response for create_network : {'network': {'id': '5bc3dd92-597a-45c1-aaf2-2b97f4e195ad', 'name': 'ctest-vn2-31360807', 'tenant_id': '06bb318c560f40918272e21ae7abce33', 'project_id': '06bb318c560f40918272e21ae7abce33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03188044', 'ctest-vn2-31360807'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 10:31:26,756 - DEBUG - Response for create_subnet : {'subnet': {'id': '653bfbf7-09b3-41a6-9de2-63d9252638b0', 'name': '', 'tenant_id': '06bb318c560f40918272e21ae7abce33', 'network_id': '5bc3dd92-597a-45c1-aaf2-2b97f4e195ad', 'ip_version': 4, 'cidr': '49.59.63.128/26', 'allocation_pools': [{'start': '49.59.63.130', 'end': '49.59.63.190'}], 'gateway_ip': '49.59.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.59.63.130', 'tags': [], 'project_id': '06bb318c560f40918272e21ae7abce33'}} 2025-08-19 10:31:26,773 - INFO - Created VN ctest-vn2-31360807 2025-08-19 10:31:26,829 - DEBUG - VN ctest-vn2-31360807 UUID is 5bc3dd92-597a-45c1-aaf2-2b97f4e195ad 2025-08-19 10:31:27,050 - DEBUG - Services list from nova: [, , ] 2025-08-19 10:31:28,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1) 2025-08-19 10:31:29,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1) 2025-08-19 10:31:29,303 - INFO - Adding interface with subnet_id c36ab4cc-ccd3-4547-b7e7-1ab201e63a02, port_id None to router 8067ca1c-ab54-492e-959a-949575f611ca 2025-08-19 10:31:29,622 - INFO - Waiting for VM ctest-vn1-vm1-47655710 to be up.. 2025-08-19 10:31:29,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 10:31:34,828 - DEBUG - VM is in ACTIVE state now 2025-08-19 10:31:34,828 - INFO - VM name : ctest-vn1-vm1-47655710 2025-08-19 10:31:34,900 - DEBUG - VM ctest-vn1-vm1-47655710 ID is 2dd8492c-bd95-4802-b859-c2d9b9e72a9a 2025-08-19 10:31:34,919 - DEBUG - VM ctest-vn1-vm1-47655710 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1 2025-08-19 10:31:34,991 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2dd8492c-bd95-4802-b859-c2d9b9e72a9a 2025-08-19 10:31:35,283 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2dd8492c-bd95-4802-b859-c2d9b9e72a9a 2025-08-19 10:31:35,312 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e20d5fc5-c47a-48a3-8ced-3672a3368e6f 2025-08-19 10:31:38,573 - 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 1016ms') 2025-08-19 10:31:38,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47655710 failed! 2025-08-19 10:31:38,630 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-03188044:ctest-vn1-42194770 is 6.144.91.65 and allocation pool is NOT set 2025-08-19 10:31:40,699 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.354 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.354/1.606/2.859/1.252 ms') 2025-08-19 10:31:40,699 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47655710 passed 2025-08-19 10:31:40,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:40,858 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47655710, IP 6.144.91.67, Port 22 2025-08-19 10:31:41,010 - DEBUG - VM ctest-vn1-vm1-47655710 is ready for SSH connections 2025-08-19 10:31:41,010 - INFO - Waiting for VM ctest-vn2-vm1-00560948 to be up.. 2025-08-19 10:31:41,088 - DEBUG - VM is in ACTIVE state now 2025-08-19 10:31:41,088 - INFO - VM name : ctest-vn2-vm1-00560948 2025-08-19 10:31:41,155 - DEBUG - VM ctest-vn2-vm1-00560948 ID is 1e8302d5-1108-4419-99cf-8c2418c15226 2025-08-19 10:31:41,156 - DEBUG - VM ctest-vn2-vm1-00560948 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1 2025-08-19 10:31:41,223 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1e8302d5-1108-4419-99cf-8c2418c15226 2025-08-19 10:31:41,232 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5357c6d5-7225-4d36-8efa-98d3c0b96703 2025-08-19 10:31:42,470 - 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.433 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.433/2.020/3.608/1.587 ms') 2025-08-19 10:31:42,470 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-00560948 passed 2025-08-19 10:31:42,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:42,618 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-00560948, IP 49.59.63.131, Port 22 2025-08-19 10:31:42,774 - DEBUG - VM ctest-vn2-vm1-00560948 is ready for SSH connections 2025-08-19 10:31:42,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:42,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.59.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-19 10:31:42,774 - DEBUG - ping -s 56 -c 3 -W 1 49.59.63.131 2025-08-19 10:31:47,771 - DEBUG - PING 49.59.63.131 (49.59.63.131): 56 data bytes --- 49.59.63.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 10:31:47,771 - WARNING - Ping to IP 49.59.63.131 from VM ctest-vn1-vm1-47655710 failed 2025-08-19 10:31:47,771 - INFO - Adding interface with subnet_id 653bfbf7-09b3-41a6-9de2-63d9252638b0, port_id None to router 8067ca1c-ab54-492e-959a-949575f611ca 2025-08-19 10:31:48,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:48,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.59.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-19 10:31:48,067 - DEBUG - ping -s 56 -c 3 -W 1 49.59.63.131 2025-08-19 10:31:51,300 - DEBUG - PING 49.59.63.131 (49.59.63.131): 56 data bytes 64 bytes from 49.59.63.131: seq=1 ttl=63 time=2.565 ms 64 bytes from 49.59.63.131: seq=2 ttl=63 time=0.813 ms --- 49.59.63.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.813/1.689/2.565 ms 2025-08-19 10:31:51,300 - WARNING - Ping to IP 49.59.63.131 from VM ctest-vn1-vm1-47655710 failed 2025-08-19 10:31:52,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.59.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-19 10:31:52,301 - DEBUG - ping -s 56 -c 3 -W 1 49.59.63.131 2025-08-19 10:31:54,506 - DEBUG - PING 49.59.63.131 (49.59.63.131): 56 data bytes 64 bytes from 49.59.63.131: seq=0 ttl=63 time=1.418 ms 64 bytes from 49.59.63.131: seq=1 ttl=63 time=0.766 ms 64 bytes from 49.59.63.131: seq=2 ttl=63 time=0.730 ms --- 49.59.63.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/0.971/1.418 ms 2025-08-19 10:31:54,506 - INFO - Ping to IP 49.59.63.131 from VM ctest-vn1-vm1-47655710 passed 2025-08-19 10:31:54,506 - INFO - Deleting interface with subnet_id c36ab4cc-ccd3-4547-b7e7-1ab201e63a02, port_id None from router 8067ca1c-ab54-492e-959a-949575f611ca 2025-08-19 10:31:54,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:54,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.59.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-19 10:31:54,624 - DEBUG - ping -s 56 -c 3 -W 1 49.59.63.131 2025-08-19 10:31:57,836 - DEBUG - PING 49.59.63.131 (49.59.63.131): 56 data bytes --- 49.59.63.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 10:31:57,836 - WARNING - Ping to IP 49.59.63.131 from VM ctest-vn1-vm1-47655710 failed 2025-08-19 10:31:57,836 - INFO - Adding interface with subnet_id c36ab4cc-ccd3-4547-b7e7-1ab201e63a02, port_id None to router 8067ca1c-ab54-492e-959a-949575f611ca 2025-08-19 10:31:58,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:58,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.59.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-19 10:31:58,070 - DEBUG - ping -s 56 -c 3 -W 1 49.59.63.131 2025-08-19 10:32:00,272 - DEBUG - PING 49.59.63.131 (49.59.63.131): 56 data bytes 64 bytes from 49.59.63.131: seq=0 ttl=63 time=1.875 ms 64 bytes from 49.59.63.131: seq=1 ttl=63 time=0.968 ms 64 bytes from 49.59.63.131: seq=2 ttl=63 time=0.745 ms --- 49.59.63.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.196/1.875 ms 2025-08-19 10:32:00,272 - INFO - Ping to IP 49.59.63.131 from VM ctest-vn1-vm1-47655710 passed 2025-08-19 10:32:00,272 - INFO - Deleting interface with subnet_id 653bfbf7-09b3-41a6-9de2-63d9252638b0, port_id None from router 8067ca1c-ab54-492e-959a-949575f611ca 2025-08-19 10:32:00,449 - INFO - Deleting interface with subnet_id c36ab4cc-ccd3-4547-b7e7-1ab201e63a02, port_id None from router 8067ca1c-ab54-492e-959a-949575f611ca 2025-08-19 10:32:00,675 - INFO - Deleting VM ctest-vn2-vm1-00560948 2025-08-19 10:32:00,740 - INFO - Deleting VM ctest-vn1-vm1-47655710 2025-08-19 10:32:00,813 - INFO - Deleting VN ctest-vn2-31360807 2025-08-19 10:32:00,853 - DEBUG - VN 5bc3dd92-597a-45c1-aaf2-2b97f4e195ad still in use: Unable to complete operation on network 5bc3dd92-597a-45c1-aaf2-2b97f4e195ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48682277-0e13-47c5-b085-bbc7fb35612c'] 2025-08-19 10:32:00,853 - WARNING - Deleting VN ctest-vn2-31360807 failed..Will retry 2025-08-19 10:32:02,956 - DEBUG - Response for deleting network () 2025-08-19 10:32:02,957 - INFO - Deleting VN ctest-vn1-42194770 2025-08-19 10:32:03,078 - DEBUG - Response for deleting network () 2025-08-19 10:32:03,343 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 10:32:03,343 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-19 10:32:03,344 - INFO - -------------------------------------------------------------------------------- 2025-08-19 10:32:04,012 - INFO - Deleted project: ctest-TestRouters-03188044, ID : 06bb318c-560f-4091-8272-e21ae7abce33