2025-08-26 00:07:01,494 - INFO - Domain Default found not creating 2025-08-26 00:07:01,631 - INFO - Project ctest-TestRouters-24085567 not found, creating it 2025-08-26 00:07:02,148 - INFO - Created Project:ctest-TestRouters-24085567, ID : e9ca09de-c44a-4435-b081-1472fbae40d6 2025-08-26 00:07:03,615 - INFO - ================================================================================ 2025-08-26 00:07:03,615 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-26 00:07:03,615 - 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-26 00:07:03,876 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2025-08-26 00:07:03,876 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:07:03,876 - INFO - 2025-08-26 00:07:04,430 - DEBUG - Response for create_network : {'network': {'id': '0cbbdcf6-3121-4982-96df-170598261768', 'name': 'ctest-vn1-05843238', 'tenant_id': 'e9ca09dec44a4435b0811472fbae40d6', 'project_id': 'e9ca09dec44a4435b0811472fbae40d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24085567', 'ctest-vn1-05843238'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:07:04,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '776eb5b9-f28f-4317-868f-e2ea987feef9', 'name': '', 'tenant_id': 'e9ca09dec44a4435b0811472fbae40d6', 'network_id': '0cbbdcf6-3121-4982-96df-170598261768', 'ip_version': 4, 'cidr': '49.76.77.0/26', 'allocation_pools': [{'start': '49.76.77.2', 'end': '49.76.77.62'}], 'gateway_ip': '49.76.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.76.77.2', 'tags': [], 'project_id': 'e9ca09dec44a4435b0811472fbae40d6'}} 2025-08-26 00:07:04,625 - INFO - Created VN ctest-vn1-05843238 2025-08-26 00:07:04,677 - DEBUG - VN ctest-vn1-05843238 UUID is 0cbbdcf6-3121-4982-96df-170598261768 2025-08-26 00:07:05,049 - DEBUG - Response for create_network : {'network': {'id': '2e1ee80d-4ebf-466b-bdcf-bd9931cac78f', 'name': 'ctest-vn2-02048241', 'tenant_id': 'e9ca09dec44a4435b0811472fbae40d6', 'project_id': 'e9ca09dec44a4435b0811472fbae40d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24085567', 'ctest-vn2-02048241'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:07:05,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2d25ea7-6382-49bb-bbf4-daf77a3a97d3', 'name': '', 'tenant_id': 'e9ca09dec44a4435b0811472fbae40d6', 'network_id': '2e1ee80d-4ebf-466b-bdcf-bd9931cac78f', 'ip_version': 4, 'cidr': '158.173.2.192/26', 'allocation_pools': [{'start': '158.173.2.194', 'end': '158.173.2.254'}], 'gateway_ip': '158.173.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.173.2.194', 'tags': [], 'project_id': 'e9ca09dec44a4435b0811472fbae40d6'}} 2025-08-26 00:07:05,294 - INFO - Created VN ctest-vn2-02048241 2025-08-26 00:07:05,345 - DEBUG - VN ctest-vn2-02048241 UUID is 2e1ee80d-4ebf-466b-bdcf-bd9931cac78f 2025-08-26 00:07:05,569 - DEBUG - Services list from nova: [, , ] 2025-08-26 00:07:06,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3932-1) 2025-08-26 00:07:07,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3932-1) 2025-08-26 00:07:07,903 - INFO - Adding interface with subnet_id 776eb5b9-f28f-4317-868f-e2ea987feef9, port_id None to router 67a3a04d-c240-4f8f-9aab-0737205d801a 2025-08-26 00:07:08,243 - INFO - Waiting for VM ctest-vn1-vm1-00637481 to be up.. 2025-08-26 00:07:08,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 00:07:13,491 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:07:13,491 - INFO - VM name : ctest-vn1-vm1-00637481 2025-08-26 00:07:13,576 - DEBUG - VM ctest-vn1-vm1-00637481 ID is 0ff9fdc7-32af-4c14-bd8a-60e970fc894c 2025-08-26 00:07:13,603 - DEBUG - VM ctest-vn1-vm1-00637481 launched on Node cn-jenkins-deploy-platform-ansible-os-3932-1 2025-08-26 00:07:13,702 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0ff9fdc7-32af-4c14-bd8a-60e970fc894c 2025-08-26 00:07:13,995 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0ff9fdc7-32af-4c14-bd8a-60e970fc894c 2025-08-26 00:07:14,026 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a5844168-4aa7-4f79-9ca0-5a62ea81c89a 2025-08-26 00:07:17,322 - 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 1022ms') 2025-08-26 00:07:17,323 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00637481 failed! 2025-08-26 00:07:17,377 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-24085567:ctest-vn1-05843238 is 49.76.77.1 and allocation pool is NOT set 2025-08-26 00:07:19,436 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.543 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.543/1.949/3.356/1.406 ms') 2025-08-26 00:07:19,436 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00637481 passed 2025-08-26 00:07:19,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:19,589 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00637481, IP 49.76.77.3, Port 22 2025-08-26 00:07:19,760 - DEBUG - VM ctest-vn1-vm1-00637481 is ready for SSH connections 2025-08-26 00:07:19,761 - INFO - Waiting for VM ctest-vn2-vm1-64901344 to be up.. 2025-08-26 00:07:19,843 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:07:19,843 - INFO - VM name : ctest-vn2-vm1-64901344 2025-08-26 00:07:19,923 - DEBUG - VM ctest-vn2-vm1-64901344 ID is 3cbdd439-4b73-4622-8391-fd2e0d5cf2fc 2025-08-26 00:07:19,923 - DEBUG - VM ctest-vn2-vm1-64901344 launched on Node cn-jenkins-deploy-platform-ansible-os-3932-1 2025-08-26 00:07:20,000 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3cbdd439-4b73-4622-8391-fd2e0d5cf2fc 2025-08-26 00:07:20,011 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f770bc8a-7bad-416f-8b5d-6c1a59f5f1f2 2025-08-26 00:07:21,268 - 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=4.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/2.605/4.870/2.264 ms') 2025-08-26 00:07:21,268 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-64901344 passed 2025-08-26 00:07:21,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:21,425 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-64901344, IP 158.173.2.195, Port 22 2025-08-26 00:07:21,581 - DEBUG - VM ctest-vn2-vm1-64901344 is ready for SSH connections 2025-08-26 00:07:21,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:21,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.173.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-26 00:07:21,581 - DEBUG - ping -s 56 -c 3 -W 1 158.173.2.195 2025-08-26 00:07:26,237 - DEBUG - PING 158.173.2.195 (158.173.2.195): 56 data bytes --- 158.173.2.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 00:07:26,237 - WARNING - Ping to IP 158.173.2.195 from VM ctest-vn1-vm1-00637481 failed 2025-08-26 00:07:26,237 - INFO - Adding interface with subnet_id c2d25ea7-6382-49bb-bbf4-daf77a3a97d3, port_id None to router 67a3a04d-c240-4f8f-9aab-0737205d801a 2025-08-26 00:07:26,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:26,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.173.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-26 00:07:26,563 - DEBUG - ping -s 56 -c 3 -W 1 158.173.2.195 2025-08-26 00:07:28,762 - DEBUG - PING 158.173.2.195 (158.173.2.195): 56 data bytes 64 bytes from 158.173.2.195: seq=0 ttl=63 time=2.562 ms 64 bytes from 158.173.2.195: seq=1 ttl=63 time=0.950 ms 64 bytes from 158.173.2.195: seq=2 ttl=63 time=1.220 ms --- 158.173.2.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.950/1.577/2.562 ms 2025-08-26 00:07:28,762 - INFO - Ping to IP 158.173.2.195 from VM ctest-vn1-vm1-00637481 passed 2025-08-26 00:07:28,762 - INFO - Deleting interface with subnet_id 776eb5b9-f28f-4317-868f-e2ea987feef9, port_id None from router 67a3a04d-c240-4f8f-9aab-0737205d801a 2025-08-26 00:07:28,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:28,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.173.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-26 00:07:28,888 - DEBUG - ping -s 56 -c 3 -W 1 158.173.2.195 2025-08-26 00:07:32,084 - DEBUG - PING 158.173.2.195 (158.173.2.195): 56 data bytes --- 158.173.2.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 00:07:32,084 - WARNING - Ping to IP 158.173.2.195 from VM ctest-vn1-vm1-00637481 failed 2025-08-26 00:07:32,084 - INFO - Adding interface with subnet_id 776eb5b9-f28f-4317-868f-e2ea987feef9, port_id None to router 67a3a04d-c240-4f8f-9aab-0737205d801a 2025-08-26 00:07:32,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:07:32,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.173.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-26 00:07:32,342 - DEBUG - ping -s 56 -c 3 -W 1 158.173.2.195 2025-08-26 00:07:34,556 - DEBUG - PING 158.173.2.195 (158.173.2.195): 56 data bytes 64 bytes from 158.173.2.195: seq=0 ttl=63 time=1.518 ms 64 bytes from 158.173.2.195: seq=1 ttl=63 time=1.090 ms 64 bytes from 158.173.2.195: seq=2 ttl=63 time=0.749 ms --- 158.173.2.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.119/1.518 ms 2025-08-26 00:07:34,556 - INFO - Ping to IP 158.173.2.195 from VM ctest-vn1-vm1-00637481 passed 2025-08-26 00:07:34,556 - INFO - Deleting interface with subnet_id c2d25ea7-6382-49bb-bbf4-daf77a3a97d3, port_id None from router 67a3a04d-c240-4f8f-9aab-0737205d801a 2025-08-26 00:07:34,689 - INFO - Deleting interface with subnet_id 776eb5b9-f28f-4317-868f-e2ea987feef9, port_id None from router 67a3a04d-c240-4f8f-9aab-0737205d801a 2025-08-26 00:07:34,882 - INFO - Deleting VM ctest-vn2-vm1-64901344 2025-08-26 00:07:34,965 - INFO - Deleting VM ctest-vn1-vm1-00637481 2025-08-26 00:07:35,050 - INFO - Deleting VN ctest-vn2-02048241 2025-08-26 00:07:35,093 - DEBUG - VN 2e1ee80d-4ebf-466b-bdcf-bd9931cac78f still in use: Unable to complete operation on network 2e1ee80d-4ebf-466b-bdcf-bd9931cac78f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f747106-ce65-4cfe-82ef-79a5225137c1'] 2025-08-26 00:07:35,093 - WARNING - Deleting VN ctest-vn2-02048241 failed..Will retry 2025-08-26 00:07:37,201 - DEBUG - Response for deleting network () 2025-08-26 00:07:37,201 - INFO - Deleting VN ctest-vn1-05843238 2025-08-26 00:07:37,313 - DEBUG - Response for deleting network () 2025-08-26 00:07:37,566 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 00:07:37,567 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34]
2025-08-26 00:07:37,567 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:07:38,330 - INFO - Deleted project: ctest-TestRouters-24085567, ID : e9ca09de-c44a-4435-b081-1472fbae40d6