2025-10-29 15:41:12,562 - INFO - Domain Default found not creating 2025-10-29 15:41:12,706 - INFO - Project ctest-TestRouters-64854136 not found, creating it 2025-10-29 15:41:13,162 - INFO - Created Project:ctest-TestRouters-64854136, ID : ce17b448-2885-40f2-8905-918ab17c362c 2025-10-29 15:41:14,667 - INFO - ================================================================================ 2025-10-29 15:41:14,668 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-29 15:41:14,668 - 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-29 15:41:14,923 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.18': '0'}} with 2025-10-29 15:41:14,923 - INFO - Initial checks done. Running the testcase now 2025-10-29 15:41:14,923 - INFO - 2025-10-29 15:41:15,505 - DEBUG - Response for create_network : {'network': {'id': '70de3dfe-e878-429e-963f-3e463706407c', 'name': 'ctest-vn1-75166148', 'tenant_id': 'ce17b448288540f28905918ab17c362c', 'project_id': 'ce17b448288540f28905918ab17c362c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64854136', 'ctest-vn1-75166148'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 15:41:15,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '46ab2930-57e0-4195-86e7-014be236688d', 'name': '', 'tenant_id': 'ce17b448288540f28905918ab17c362c', 'network_id': '70de3dfe-e878-429e-963f-3e463706407c', 'ip_version': 4, 'cidr': '202.124.253.192/26', 'allocation_pools': [{'start': '202.124.253.194', 'end': '202.124.253.254'}], 'gateway_ip': '202.124.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.124.253.194', 'tags': [], 'project_id': 'ce17b448288540f28905918ab17c362c'}} 2025-10-29 15:41:15,741 - INFO - Created VN ctest-vn1-75166148 2025-10-29 15:41:15,791 - DEBUG - VN ctest-vn1-75166148 UUID is 70de3dfe-e878-429e-963f-3e463706407c 2025-10-29 15:41:16,097 - DEBUG - Response for create_network : {'network': {'id': 'e548dfa2-923a-48b0-b31f-a6cb4ac1f1a5', 'name': 'ctest-vn2-17799683', 'tenant_id': 'ce17b448288540f28905918ab17c362c', 'project_id': 'ce17b448288540f28905918ab17c362c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64854136', 'ctest-vn2-17799683'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 15:41:16,296 - DEBUG - Response for create_subnet : {'subnet': {'id': '3932e519-4083-47a9-b382-e3a4c2c039f7', 'name': '', 'tenant_id': 'ce17b448288540f28905918ab17c362c', 'network_id': 'e548dfa2-923a-48b0-b31f-a6cb4ac1f1a5', 'ip_version': 4, 'cidr': '114.105.80.192/26', 'allocation_pools': [{'start': '114.105.80.194', 'end': '114.105.80.254'}], 'gateway_ip': '114.105.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.105.80.194', 'tags': [], 'project_id': 'ce17b448288540f28905918ab17c362c'}} 2025-10-29 15:41:16,312 - INFO - Created VN ctest-vn2-17799683 2025-10-29 15:41:16,367 - DEBUG - VN ctest-vn2-17799683 UUID is e548dfa2-923a-48b0-b31f-a6cb4ac1f1a5 2025-10-29 15:41:16,625 - DEBUG - Services list from nova: [, , ] 2025-10-29 15:41:17,624 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4523-1) 2025-10-29 15:41:18,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4523-1) 2025-10-29 15:41:18,951 - INFO - Adding interface with subnet_id 46ab2930-57e0-4195-86e7-014be236688d, port_id None to router 58c98b03-caca-4ecc-8c3c-42306cbeeb6e 2025-10-29 15:41:19,186 - INFO - Waiting for VM ctest-vn1-vm1-97673018 to be up.. 2025-10-29 15:41:19,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 15:41:24,360 - DEBUG - VM is in ACTIVE state now 2025-10-29 15:41:24,360 - INFO - VM name : ctest-vn1-vm1-97673018 2025-10-29 15:41:24,438 - DEBUG - VM ctest-vn1-vm1-97673018 ID is c763ec16-f1f2-446a-82b3-b3338104552c 2025-10-29 15:41:24,457 - DEBUG - VM ctest-vn1-vm1-97673018 launched on Node cn-jenkins-deploy-platform-ansible-os-4523-1 2025-10-29 15:41:24,540 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/c763ec16-f1f2-446a-82b3-b3338104552c 2025-10-29 15:41:24,846 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/c763ec16-f1f2-446a-82b3-b3338104552c 2025-10-29 15:41:24,879 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/b4b9bfa3-3098-4ac6-a89c-1b4b51130fc7 2025-10-29 15:41:28,141 - 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 1015ms') 2025-10-29 15:41:28,141 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97673018 failed! 2025-10-29 15:41:28,199 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-64854136:ctest-vn1-75166148 is 202.124.253.193 and allocation pool is NOT set 2025-10-29 15:41:30,264 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/1.675/2.954/1.279 ms') 2025-10-29 15:41:30,264 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97673018 passed 2025-10-29 15:41:30,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:41:30,419 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97673018, IP 202.124.253.195, Port 22 2025-10-29 15:41:30,574 - DEBUG - VM ctest-vn1-vm1-97673018 is ready for SSH connections 2025-10-29 15:41:30,574 - INFO - Waiting for VM ctest-vn2-vm1-40842716 to be up.. 2025-10-29 15:41:30,658 - DEBUG - VM is in ACTIVE state now 2025-10-29 15:41:30,659 - INFO - VM name : ctest-vn2-vm1-40842716 2025-10-29 15:41:30,734 - DEBUG - VM ctest-vn2-vm1-40842716 ID is b04b371b-6583-47fa-ba7d-09dc492d867e 2025-10-29 15:41:30,734 - DEBUG - VM ctest-vn2-vm1-40842716 launched on Node cn-jenkins-deploy-platform-ansible-os-4523-1 2025-10-29 15:41:30,809 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/b04b371b-6583-47fa-ba7d-09dc492d867e 2025-10-29 15:41:30,817 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/bb3c4d73-9d18-4ba3-86fb-0954f9bd37ee 2025-10-29 15:41:32,047 - 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=2.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.540/2.670/1.130 ms') 2025-10-29 15:41:32,047 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-40842716 passed 2025-10-29 15:41:32,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:41:32,195 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-40842716, IP 114.105.80.195, Port 22 2025-10-29 15:41:32,354 - DEBUG - VM ctest-vn2-vm1-40842716 is ready for SSH connections 2025-10-29 15:41:32,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:41:32,354 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.105.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-29 15:41:32,354 - DEBUG - ping -s 56 -c 3 -W 1 114.105.80.195 2025-10-29 15:41:37,372 - DEBUG - PING 114.105.80.195 (114.105.80.195): 56 data bytes --- 114.105.80.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 15:41:37,372 - WARNING - Ping to IP 114.105.80.195 from VM ctest-vn1-vm1-97673018 failed 2025-10-29 15:41:37,372 - INFO - Adding interface with subnet_id 3932e519-4083-47a9-b382-e3a4c2c039f7, port_id None to router 58c98b03-caca-4ecc-8c3c-42306cbeeb6e 2025-10-29 15:41:37,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:41:37,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.105.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-29 15:41:37,619 - DEBUG - ping -s 56 -c 3 -W 1 114.105.80.195 2025-10-29 15:41:40,857 - DEBUG - PING 114.105.80.195 (114.105.80.195): 56 data bytes 64 bytes from 114.105.80.195: seq=1 ttl=63 time=2.561 ms 64 bytes from 114.105.80.195: seq=2 ttl=63 time=0.851 ms --- 114.105.80.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.851/1.706/2.561 ms 2025-10-29 15:41:40,857 - WARNING - Ping to IP 114.105.80.195 from VM ctest-vn1-vm1-97673018 failed 2025-10-29 15:41:41,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.105.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-29 15:41:41,858 - DEBUG - ping -s 56 -c 3 -W 1 114.105.80.195 2025-10-29 15:41:44,066 - DEBUG - PING 114.105.80.195 (114.105.80.195): 56 data bytes 64 bytes from 114.105.80.195: seq=0 ttl=63 time=1.348 ms 64 bytes from 114.105.80.195: seq=1 ttl=63 time=1.104 ms 64 bytes from 114.105.80.195: seq=2 ttl=63 time=0.848 ms --- 114.105.80.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.100/1.348 ms 2025-10-29 15:41:44,066 - INFO - Ping to IP 114.105.80.195 from VM ctest-vn1-vm1-97673018 passed 2025-10-29 15:41:44,066 - INFO - Deleting interface with subnet_id 46ab2930-57e0-4195-86e7-014be236688d, port_id None from router 58c98b03-caca-4ecc-8c3c-42306cbeeb6e 2025-10-29 15:41:44,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:41:44,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.105.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-29 15:41:44,172 - DEBUG - ping -s 56 -c 3 -W 1 114.105.80.195 2025-10-29 15:41:47,379 - DEBUG - PING 114.105.80.195 (114.105.80.195): 56 data bytes --- 114.105.80.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 15:41:47,379 - WARNING - Ping to IP 114.105.80.195 from VM ctest-vn1-vm1-97673018 failed 2025-10-29 15:41:47,379 - INFO - Adding interface with subnet_id 46ab2930-57e0-4195-86e7-014be236688d, port_id None to router 58c98b03-caca-4ecc-8c3c-42306cbeeb6e 2025-10-29 15:41:47,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:41:47,603 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.105.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-29 15:41:47,603 - DEBUG - ping -s 56 -c 3 -W 1 114.105.80.195 2025-10-29 15:41:49,823 - DEBUG - PING 114.105.80.195 (114.105.80.195): 56 data bytes 64 bytes from 114.105.80.195: seq=0 ttl=63 time=1.504 ms 64 bytes from 114.105.80.195: seq=1 ttl=63 time=0.907 ms 64 bytes from 114.105.80.195: seq=2 ttl=63 time=1.045 ms --- 114.105.80.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.907/1.152/1.504 ms 2025-10-29 15:41:49,823 - INFO - Ping to IP 114.105.80.195 from VM ctest-vn1-vm1-97673018 passed 2025-10-29 15:41:49,823 - INFO - Deleting interface with subnet_id 3932e519-4083-47a9-b382-e3a4c2c039f7, port_id None from router 58c98b03-caca-4ecc-8c3c-42306cbeeb6e 2025-10-29 15:41:49,933 - INFO - Deleting interface with subnet_id 46ab2930-57e0-4195-86e7-014be236688d, port_id None from router 58c98b03-caca-4ecc-8c3c-42306cbeeb6e 2025-10-29 15:41:50,105 - INFO - Deleting VM ctest-vn2-vm1-40842716 2025-10-29 15:41:50,187 - INFO - Deleting VM ctest-vn1-vm1-97673018 2025-10-29 15:41:50,254 - INFO - Deleting VN ctest-vn2-17799683 2025-10-29 15:41:50,285 - DEBUG - VN e548dfa2-923a-48b0-b31f-a6cb4ac1f1a5 still in use: Unable to complete operation on network e548dfa2-923a-48b0-b31f-a6cb4ac1f1a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48d1d4e8-9545-4936-8361-d47b3e0c8b02'] 2025-10-29 15:41:50,285 - WARNING - Deleting VN ctest-vn2-17799683 failed..Will retry 2025-10-29 15:41:52,388 - DEBUG - Response for deleting network () 2025-10-29 15:41:52,388 - INFO - Deleting VN ctest-vn1-75166148 2025-10-29 15:41:52,500 - DEBUG - Response for deleting network () 2025-10-29 15:41:52,759 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 15:41:52,760 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-29 15:41:52,760 - INFO - -------------------------------------------------------------------------------- 2025-10-29 15:41:53,421 - INFO - Deleted project: ctest-TestRouters-64854136, ID : ce17b448-2885-40f2-8905-918ab17c362c