2025-08-18 14:54:13,300 - INFO - Domain Default found not creating 2025-08-18 14:54:13,418 - INFO - Project ctest-TestRouters-27464732 not found, creating it 2025-08-18 14:54:14,027 - INFO - Created Project:ctest-TestRouters-27464732, ID : 37e8b376-4725-4780-9431-d8eb2ed90c37 2025-08-18 14:54:15,460 - INFO - ================================================================================ 2025-08-18 14:54:15,460 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-18 14:54:15,460 - 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-18 14:54:15,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-08-18 14:54:15,724 - INFO - Initial checks done. Running the testcase now 2025-08-18 14:54:15,724 - INFO - 2025-08-18 14:54:16,239 - DEBUG - Response for create_network : {'network': {'id': 'f66b1c42-c5f1-4646-b962-26279af39f62', 'name': 'ctest-vn1-29081901', 'tenant_id': '37e8b376472547809431d8eb2ed90c37', 'project_id': '37e8b376472547809431d8eb2ed90c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27464732', 'ctest-vn1-29081901'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 14:54:16,436 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6d5c757-b221-4517-96ef-65e4efb9fbf1', 'name': '', 'tenant_id': '37e8b376472547809431d8eb2ed90c37', 'network_id': 'f66b1c42-c5f1-4646-b962-26279af39f62', 'ip_version': 4, 'cidr': '171.32.89.192/26', 'allocation_pools': [{'start': '171.32.89.194', 'end': '171.32.89.254'}], 'gateway_ip': '171.32.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.32.89.194', 'tags': [], 'project_id': '37e8b376472547809431d8eb2ed90c37'}} 2025-08-18 14:54:16,452 - INFO - Created VN ctest-vn1-29081901 2025-08-18 14:54:16,503 - DEBUG - VN ctest-vn1-29081901 UUID is f66b1c42-c5f1-4646-b962-26279af39f62 2025-08-18 14:54:16,848 - DEBUG - Response for create_network : {'network': {'id': 'a4498efe-fd2e-44d5-8a4d-39b28f3ecff2', 'name': 'ctest-vn2-85214799', 'tenant_id': '37e8b376472547809431d8eb2ed90c37', 'project_id': '37e8b376472547809431d8eb2ed90c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27464732', 'ctest-vn2-85214799'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 14:54:17,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '55cc9e32-b221-4fdc-b1ff-9481bc552a88', 'name': '', 'tenant_id': '37e8b376472547809431d8eb2ed90c37', 'network_id': 'a4498efe-fd2e-44d5-8a4d-39b28f3ecff2', 'ip_version': 4, 'cidr': '168.41.82.64/26', 'allocation_pools': [{'start': '168.41.82.66', 'end': '168.41.82.126'}], 'gateway_ip': '168.41.82.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.41.82.66', 'tags': [], 'project_id': '37e8b376472547809431d8eb2ed90c37'}} 2025-08-18 14:54:17,073 - INFO - Created VN ctest-vn2-85214799 2025-08-18 14:54:17,126 - DEBUG - VN ctest-vn2-85214799 UUID is a4498efe-fd2e-44d5-8a4d-39b28f3ecff2 2025-08-18 14:54:17,374 - DEBUG - Services list from nova: [, , ] 2025-08-18 14:54:18,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3877-1) 2025-08-18 14:54:19,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3877-1) 2025-08-18 14:54:19,502 - INFO - Adding interface with subnet_id c6d5c757-b221-4517-96ef-65e4efb9fbf1, port_id None to router c1adf008-dbde-4c1f-91a8-6cf587e0f129 2025-08-18 14:54:19,806 - INFO - Waiting for VM ctest-vn1-vm1-12326441 to be up.. 2025-08-18 14:54:19,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 14:54:25,008 - DEBUG - VM is in ACTIVE state now 2025-08-18 14:54:25,008 - INFO - VM name : ctest-vn1-vm1-12326441 2025-08-18 14:54:25,079 - DEBUG - VM ctest-vn1-vm1-12326441 ID is 3de80466-da99-44fa-ac22-daeb147139f1 2025-08-18 14:54:25,100 - DEBUG - VM ctest-vn1-vm1-12326441 launched on Node cn-jenkins-deploy-platform-ansible-os-3877-1 2025-08-18 14:54:25,170 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3de80466-da99-44fa-ac22-daeb147139f1 2025-08-18 14:54:25,467 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3de80466-da99-44fa-ac22-daeb147139f1 2025-08-18 14:54:25,496 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1490b1b3-8504-49a2-998e-8d0e8848b247 2025-08-18 14:54:28,761 - 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=2 ttl=63 time=9.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 9.879/9.879/9.879/0.000 ms') 2025-08-18 14:54:28,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12326441 passed 2025-08-18 14:54:28,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:28,927 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12326441, IP 171.32.89.195, Port 22 2025-08-18 14:54:29,082 - DEBUG - VM ctest-vn1-vm1-12326441 is ready for SSH connections 2025-08-18 14:54:29,082 - INFO - Waiting for VM ctest-vn2-vm1-38828486 to be up.. 2025-08-18 14:54:29,157 - DEBUG - VM is in ACTIVE state now 2025-08-18 14:54:29,157 - INFO - VM name : ctest-vn2-vm1-38828486 2025-08-18 14:54:29,225 - DEBUG - VM ctest-vn2-vm1-38828486 ID is ef7c4b32-d60b-4d9f-82a6-13c26e058a6f 2025-08-18 14:54:29,225 - DEBUG - VM ctest-vn2-vm1-38828486 launched on Node cn-jenkins-deploy-platform-ansible-os-3877-1 2025-08-18 14:54:29,288 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ef7c4b32-d60b-4d9f-82a6-13c26e058a6f 2025-08-18 14:54:29,295 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/453e40f4-efe1-407f-8094-bff4776c7b22 2025-08-18 14:54:30,530 - 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=6.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/3.505/6.632/3.127 ms') 2025-08-18 14:54:30,530 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-38828486 passed 2025-08-18 14:54:30,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:30,690 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-38828486, IP 168.41.82.67, Port 22 2025-08-18 14:54:30,845 - DEBUG - VM ctest-vn2-vm1-38828486 is ready for SSH connections 2025-08-18 14:54:30,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:30,845 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.41.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-18 14:54:30,845 - DEBUG - ping -s 56 -c 3 -W 1 168.41.82.67 2025-08-18 14:54:35,452 - DEBUG - PING 168.41.82.67 (168.41.82.67): 56 data bytes --- 168.41.82.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 14:54:35,452 - WARNING - Ping to IP 168.41.82.67 from VM ctest-vn1-vm1-12326441 failed 2025-08-18 14:54:35,453 - INFO - Adding interface with subnet_id 55cc9e32-b221-4fdc-b1ff-9481bc552a88, port_id None to router c1adf008-dbde-4c1f-91a8-6cf587e0f129 2025-08-18 14:54:35,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:35,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.41.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-18 14:54:35,688 - DEBUG - ping -s 56 -c 3 -W 1 168.41.82.67 2025-08-18 14:54:37,887 - DEBUG - PING 168.41.82.67 (168.41.82.67): 56 data bytes 64 bytes from 168.41.82.67: seq=0 ttl=63 time=2.278 ms 64 bytes from 168.41.82.67: seq=1 ttl=63 time=0.804 ms 64 bytes from 168.41.82.67: seq=2 ttl=63 time=0.744 ms --- 168.41.82.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/1.275/2.278 ms 2025-08-18 14:54:37,887 - INFO - Ping to IP 168.41.82.67 from VM ctest-vn1-vm1-12326441 passed 2025-08-18 14:54:37,887 - INFO - Deleting interface with subnet_id c6d5c757-b221-4517-96ef-65e4efb9fbf1, port_id None from router c1adf008-dbde-4c1f-91a8-6cf587e0f129 2025-08-18 14:54:37,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:37,986 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.41.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-18 14:54:37,986 - DEBUG - ping -s 56 -c 3 -W 1 168.41.82.67 2025-08-18 14:54:41,174 - DEBUG - PING 168.41.82.67 (168.41.82.67): 56 data bytes --- 168.41.82.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 14:54:41,174 - WARNING - Ping to IP 168.41.82.67 from VM ctest-vn1-vm1-12326441 failed 2025-08-18 14:54:41,174 - INFO - Adding interface with subnet_id c6d5c757-b221-4517-96ef-65e4efb9fbf1, port_id None to router c1adf008-dbde-4c1f-91a8-6cf587e0f129 2025-08-18 14:54:41,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:41,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.41.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-18 14:54:41,371 - DEBUG - ping -s 56 -c 3 -W 1 168.41.82.67 2025-08-18 14:54:43,567 - DEBUG - PING 168.41.82.67 (168.41.82.67): 56 data bytes 64 bytes from 168.41.82.67: seq=0 ttl=63 time=1.242 ms 64 bytes from 168.41.82.67: seq=1 ttl=63 time=0.736 ms 64 bytes from 168.41.82.67: seq=2 ttl=63 time=0.669 ms --- 168.41.82.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.669/0.882/1.242 ms 2025-08-18 14:54:43,567 - INFO - Ping to IP 168.41.82.67 from VM ctest-vn1-vm1-12326441 passed 2025-08-18 14:54:43,568 - INFO - Deleting interface with subnet_id 55cc9e32-b221-4fdc-b1ff-9481bc552a88, port_id None from router c1adf008-dbde-4c1f-91a8-6cf587e0f129 2025-08-18 14:54:43,670 - INFO - Deleting interface with subnet_id c6d5c757-b221-4517-96ef-65e4efb9fbf1, port_id None from router c1adf008-dbde-4c1f-91a8-6cf587e0f129 2025-08-18 14:54:43,810 - INFO - Deleting VM ctest-vn2-vm1-38828486 2025-08-18 14:54:43,865 - INFO - Deleting VM ctest-vn1-vm1-12326441 2025-08-18 14:54:43,924 - INFO - Deleting VN ctest-vn2-85214799 2025-08-18 14:54:43,956 - DEBUG - VN a4498efe-fd2e-44d5-8a4d-39b28f3ecff2 still in use: Unable to complete operation on network a4498efe-fd2e-44d5-8a4d-39b28f3ecff2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d489bd6-8688-4164-9dbf-0dd1c3fde038'] 2025-08-18 14:54:43,956 - WARNING - Deleting VN ctest-vn2-85214799 failed..Will retry 2025-08-18 14:54:46,042 - DEBUG - Response for deleting network () 2025-08-18 14:54:46,042 - INFO - Deleting VN ctest-vn1-29081901 2025-08-18 14:54:46,138 - DEBUG - Response for deleting network () 2025-08-18 14:54:46,396 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 14:54:46,396 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31]
2025-08-18 14:54:46,396 - INFO - -------------------------------------------------------------------------------- 2025-08-18 14:54:47,024 - INFO - Deleted project: ctest-TestRouters-27464732, ID : 37e8b376-4725-4780-9431-d8eb2ed90c37