2025-09-11 14:38:26,769 - INFO - Domain Default found not creating 2025-09-11 14:38:26,966 - INFO - Project ctest-TestRouters-38319727 not found, creating it 2025-09-11 14:38:27,510 - INFO - Created Project:ctest-TestRouters-38319727, ID : a0cd0fe2-2812-4969-a027-e73954e0a95f 2025-09-11 14:38:29,349 - INFO - ================================================================================ 2025-09-11 14:38:29,351 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 14:38:29,351 - 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-09-11 14:38:29,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0'}} with 2025-09-11 14:38:29,634 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:38:29,634 - INFO - 2025-09-11 14:38:30,327 - DEBUG - Response for create_network : {'network': {'id': 'c135928c-1a00-4041-8e77-5b51ae0f3673', 'name': 'ctest-vn1-28844505', 'tenant_id': 'a0cd0fe228124969a027e73954e0a95f', 'project_id': 'a0cd0fe228124969a027e73954e0a95f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38319727', 'ctest-vn1-28844505'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:38:30,563 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c689bec2-ab4e-4f7e-b313-eb3ef8572643', 'name': '', 'tenant_id': 'a0cd0fe228124969a027e73954e0a95f', 'network_id': 'c135928c-1a00-4041-8e77-5b51ae0f3673', 'ip_version': 4, 'cidr': '13.139.102.192/26', 'allocation_pools': [{'start': '13.139.102.194', 'end': '13.139.102.254'}], 'gateway_ip': '13.139.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.139.102.194', 'tags': [], 'project_id': 'a0cd0fe228124969a027e73954e0a95f'}} 2025-09-11 14:38:30,586 - INFO - Created VN ctest-vn1-28844505 2025-09-11 14:38:30,643 - DEBUG - VN ctest-vn1-28844505 UUID is c135928c-1a00-4041-8e77-5b51ae0f3673 2025-09-11 14:38:31,006 - DEBUG - Response for create_network : {'network': {'id': '77057d48-3f77-4350-b9c4-30c73ca3bb92', 'name': 'ctest-vn2-17378278', 'tenant_id': 'a0cd0fe228124969a027e73954e0a95f', 'project_id': 'a0cd0fe228124969a027e73954e0a95f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38319727', 'ctest-vn2-17378278'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:38:31,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '98300b9f-19a2-4711-be80-e88de6ba7ecc', 'name': '', 'tenant_id': 'a0cd0fe228124969a027e73954e0a95f', 'network_id': '77057d48-3f77-4350-b9c4-30c73ca3bb92', 'ip_version': 4, 'cidr': '25.130.102.128/26', 'allocation_pools': [{'start': '25.130.102.130', 'end': '25.130.102.190'}], 'gateway_ip': '25.130.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.130.102.130', 'tags': [], 'project_id': 'a0cd0fe228124969a027e73954e0a95f'}} 2025-09-11 14:38:31,271 - INFO - Created VN ctest-vn2-17378278 2025-09-11 14:38:31,331 - DEBUG - VN ctest-vn2-17378278 UUID is 77057d48-3f77-4350-b9c4-30c73ca3bb92 2025-09-11 14:38:31,521 - DEBUG - Services list from nova: [, , ] 2025-09-11 14:38:32,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:38:34,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:38:34,443 - INFO - Adding interface with subnet_id c689bec2-ab4e-4f7e-b313-eb3ef8572643, port_id None to router 5b3b44bb-6057-45f0-9a9a-6c797f2dfb6f 2025-09-11 14:38:34,835 - INFO - Waiting for VM ctest-vn1-vm1-01696405 to be up.. 2025-09-11 14:38:35,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 14:38:40,139 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:38:40,139 - INFO - VM name : ctest-vn1-vm1-01696405 2025-09-11 14:38:40,234 - DEBUG - VM ctest-vn1-vm1-01696405 ID is f77ef556-6ba1-4f65-a9a7-fc2f58dbc196 2025-09-11 14:38:40,259 - DEBUG - VM ctest-vn1-vm1-01696405 launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:38:40,348 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/f77ef556-6ba1-4f65-a9a7-fc2f58dbc196 2025-09-11 14:38:40,700 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/f77ef556-6ba1-4f65-a9a7-fc2f58dbc196 2025-09-11 14:38:40,747 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/2fca8cf6-3bfd-44af-9bfb-a08c268a835b 2025-09-11 14:38:44,037 - 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 1028ms') 2025-09-11 14:38:44,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01696405 failed! 2025-09-11 14:38:44,095 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-38319727:ctest-vn1-28844505 is 13.139.102.193 and allocation pool is NOT set 2025-09-11 14:38:46,154 - 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=5.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.998 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.998/3.250/5.503/2.252 ms') 2025-09-11 14:38:46,154 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01696405 passed 2025-09-11 14:38:46,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:46,315 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01696405, IP 13.139.102.195, Port 22 2025-09-11 14:38:46,486 - DEBUG - VM ctest-vn1-vm1-01696405 is ready for SSH connections 2025-09-11 14:38:46,486 - INFO - Waiting for VM ctest-vn2-vm1-39790608 to be up.. 2025-09-11 14:38:46,590 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:38:46,590 - INFO - VM name : ctest-vn2-vm1-39790608 2025-09-11 14:38:46,683 - DEBUG - VM ctest-vn2-vm1-39790608 ID is a42789e1-716a-4c64-9647-62afba0d354f 2025-09-11 14:38:46,683 - DEBUG - VM ctest-vn2-vm1-39790608 launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:38:46,780 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/a42789e1-716a-4c64-9647-62afba0d354f 2025-09-11 14:38:46,791 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/22003209-3213-47df-a37f-3cb51a8faf38 2025-09-11 14:38:48,045 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.52 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 = 2.521/4.359/6.197/1.838 ms') 2025-09-11 14:38:48,046 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-39790608 passed 2025-09-11 14:38:48,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:48,203 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-39790608, IP 25.130.102.131, Port 22 2025-09-11 14:38:48,382 - DEBUG - VM ctest-vn2-vm1-39790608 is ready for SSH connections 2025-09-11 14:38:48,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:48,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.130.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:38:48,383 - DEBUG - ping -s 56 -c 3 -W 1 25.130.102.131 2025-09-11 14:38:53,604 - DEBUG - PING 25.130.102.131 (25.130.102.131): 56 data bytes --- 25.130.102.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 14:38:53,604 - WARNING - Ping to IP 25.130.102.131 from VM ctest-vn1-vm1-01696405 failed 2025-09-11 14:38:53,604 - INFO - Adding interface with subnet_id 98300b9f-19a2-4711-be80-e88de6ba7ecc, port_id None to router 5b3b44bb-6057-45f0-9a9a-6c797f2dfb6f 2025-09-11 14:38:53,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:53,905 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.130.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:38:53,905 - DEBUG - ping -s 56 -c 3 -W 1 25.130.102.131 2025-09-11 14:38:56,146 - DEBUG - PING 25.130.102.131 (25.130.102.131): 56 data bytes 64 bytes from 25.130.102.131: seq=0 ttl=63 time=4.317 ms 64 bytes from 25.130.102.131: seq=1 ttl=63 time=1.383 ms 64 bytes from 25.130.102.131: seq=2 ttl=63 time=1.216 ms --- 25.130.102.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.216/2.305/4.317 ms 2025-09-11 14:38:56,146 - INFO - Ping to IP 25.130.102.131 from VM ctest-vn1-vm1-01696405 passed 2025-09-11 14:38:56,147 - INFO - Deleting interface with subnet_id c689bec2-ab4e-4f7e-b313-eb3ef8572643, port_id None from router 5b3b44bb-6057-45f0-9a9a-6c797f2dfb6f 2025-09-11 14:38:56,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:56,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.130.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:38:56,294 - DEBUG - ping -s 56 -c 3 -W 1 25.130.102.131 2025-09-11 14:38:59,524 - DEBUG - PING 25.130.102.131 (25.130.102.131): 56 data bytes --- 25.130.102.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 14:38:59,524 - WARNING - Ping to IP 25.130.102.131 from VM ctest-vn1-vm1-01696405 failed 2025-09-11 14:38:59,524 - INFO - Adding interface with subnet_id c689bec2-ab4e-4f7e-b313-eb3ef8572643, port_id None to router 5b3b44bb-6057-45f0-9a9a-6c797f2dfb6f 2025-09-11 14:38:59,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:38:59,787 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.130.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:38:59,787 - DEBUG - ping -s 56 -c 3 -W 1 25.130.102.131 2025-09-11 14:39:02,035 - DEBUG - PING 25.130.102.131 (25.130.102.131): 56 data bytes 64 bytes from 25.130.102.131: seq=0 ttl=63 time=2.114 ms 64 bytes from 25.130.102.131: seq=1 ttl=63 time=1.508 ms 64 bytes from 25.130.102.131: seq=2 ttl=63 time=1.589 ms --- 25.130.102.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.508/1.737/2.114 ms 2025-09-11 14:39:02,035 - INFO - Ping to IP 25.130.102.131 from VM ctest-vn1-vm1-01696405 passed 2025-09-11 14:39:02,035 - INFO - Deleting interface with subnet_id 98300b9f-19a2-4711-be80-e88de6ba7ecc, port_id None from router 5b3b44bb-6057-45f0-9a9a-6c797f2dfb6f 2025-09-11 14:39:02,205 - INFO - Deleting interface with subnet_id c689bec2-ab4e-4f7e-b313-eb3ef8572643, port_id None from router 5b3b44bb-6057-45f0-9a9a-6c797f2dfb6f 2025-09-11 14:39:02,427 - INFO - Deleting VM ctest-vn2-vm1-39790608 2025-09-11 14:39:02,530 - INFO - Deleting VM ctest-vn1-vm1-01696405 2025-09-11 14:39:02,624 - INFO - Deleting VN ctest-vn2-17378278 2025-09-11 14:39:02,673 - DEBUG - VN 77057d48-3f77-4350-b9c4-30c73ca3bb92 still in use: Unable to complete operation on network 77057d48-3f77-4350-b9c4-30c73ca3bb92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dde11838-823d-4086-99a4-1b67ed5f422d'] 2025-09-11 14:39:02,673 - WARNING - Deleting VN ctest-vn2-17378278 failed..Will retry 2025-09-11 14:39:04,813 - DEBUG - Response for deleting network () 2025-09-11 14:39:04,813 - INFO - Deleting VN ctest-vn1-28844505 2025-09-11 14:39:04,943 - DEBUG - Response for deleting network () 2025-09-11 14:39:05,233 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 14:39:05,233 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36] 2025-09-11 14:39:05,234 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:39:06,056 - INFO - Deleted project: ctest-TestRouters-38319727, ID : a0cd0fe2-2812-4969-a027-e73954e0a95f