2025-09-22 14:37:57,021 - INFO - Domain Default found not creating 2025-09-22 14:37:57,188 - INFO - Project ctest-TestRouters-88030425 not found, creating it 2025-09-22 14:37:57,707 - INFO - Created Project:ctest-TestRouters-88030425, ID : 1993866f-d1d4-4111-aa84-e900a7446982 2025-09-22 14:37:59,479 - INFO - ================================================================================ 2025-09-22 14:37:59,479 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-22 14:37:59,479 - 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-22 14:37:59,740 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-22 14:37:59,740 - INFO - Initial checks done. Running the testcase now 2025-09-22 14:37:59,740 - INFO - 2025-09-22 14:38:00,412 - DEBUG - Response for create_network : {'network': {'id': '63c6589e-6fec-4785-8cd6-bf33e4adf762', 'name': 'ctest-vn1-46689041', 'tenant_id': '1993866fd1d44111aa84e900a7446982', 'project_id': '1993866fd1d44111aa84e900a7446982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88030425', 'ctest-vn1-46689041'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 14:38:00,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '52a3e270-211a-4306-9a4b-c953c55c719b', 'name': '', 'tenant_id': '1993866fd1d44111aa84e900a7446982', 'network_id': '63c6589e-6fec-4785-8cd6-bf33e4adf762', 'ip_version': 4, 'cidr': '9.202.105.64/26', 'allocation_pools': [{'start': '9.202.105.66', 'end': '9.202.105.126'}], 'gateway_ip': '9.202.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.202.105.66', 'tags': [], 'project_id': '1993866fd1d44111aa84e900a7446982'}} 2025-09-22 14:38:00,693 - INFO - Created VN ctest-vn1-46689041 2025-09-22 14:38:00,748 - DEBUG - VN ctest-vn1-46689041 UUID is 63c6589e-6fec-4785-8cd6-bf33e4adf762 2025-09-22 14:38:01,051 - DEBUG - Response for create_network : {'network': {'id': '30d0fd11-ee53-46c5-9b55-535e592fa342', 'name': 'ctest-vn2-99560380', 'tenant_id': '1993866fd1d44111aa84e900a7446982', 'project_id': '1993866fd1d44111aa84e900a7446982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88030425', 'ctest-vn2-99560380'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 14:38:01,255 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f0af4f0-ef9f-4bb2-b6d1-4950cb7d79d8', 'name': '', 'tenant_id': '1993866fd1d44111aa84e900a7446982', 'network_id': '30d0fd11-ee53-46c5-9b55-535e592fa342', 'ip_version': 4, 'cidr': '150.11.3.128/26', 'allocation_pools': [{'start': '150.11.3.130', 'end': '150.11.3.190'}], 'gateway_ip': '150.11.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.11.3.130', 'tags': [], 'project_id': '1993866fd1d44111aa84e900a7446982'}} 2025-09-22 14:38:01,274 - INFO - Created VN ctest-vn2-99560380 2025-09-22 14:38:01,328 - DEBUG - VN ctest-vn2-99560380 UUID is 30d0fd11-ee53-46c5-9b55-535e592fa342 2025-09-22 14:38:01,505 - DEBUG - Services list from nova: [, , ] 2025-09-22 14:38:02,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4167-1) 2025-09-22 14:38:04,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4167-1) 2025-09-22 14:38:04,174 - INFO - Adding interface with subnet_id 52a3e270-211a-4306-9a4b-c953c55c719b, port_id None to router 3bbd2635-bc5e-4cbf-a97d-5b68ac5fa37f 2025-09-22 14:38:04,500 - INFO - Waiting for VM ctest-vn1-vm1-39173963 to be up.. 2025-09-22 14:38:04,613 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 14:38:09,705 - DEBUG - VM is in ACTIVE state now 2025-09-22 14:38:09,705 - INFO - VM name : ctest-vn1-vm1-39173963 2025-09-22 14:38:09,799 - DEBUG - VM ctest-vn1-vm1-39173963 ID is dfdeecf3-da9d-46a9-835b-f1626b42904b 2025-09-22 14:38:09,827 - DEBUG - VM ctest-vn1-vm1-39173963 launched on Node cn-jenkins-deploy-platform-ansible-os-4167-1 2025-09-22 14:38:09,905 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dfdeecf3-da9d-46a9-835b-f1626b42904b 2025-09-22 14:38:10,245 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dfdeecf3-da9d-46a9-835b-f1626b42904b 2025-09-22 14:38:10,281 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4d0b9c50-36fe-4b8e-bf38-06317d4f1995 2025-09-22 14:38:13,544 - 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 1018ms') 2025-09-22 14:38:13,544 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39173963 failed! 2025-09-22 14:38:13,604 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88030425:ctest-vn1-46689041 is 9.202.105.65 and allocation pool is NOT set 2025-09-22 14:38:15,669 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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 = 2.486/4.091/5.697/1.605 ms') 2025-09-22 14:38:15,670 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39173963 passed 2025-09-22 14:38:15,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:38:15,821 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39173963, IP 9.202.105.67, Port 22 2025-09-22 14:38:15,995 - DEBUG - VM ctest-vn1-vm1-39173963 is ready for SSH connections 2025-09-22 14:38:15,995 - INFO - Waiting for VM ctest-vn2-vm1-43052193 to be up.. 2025-09-22 14:38:16,088 - DEBUG - VM is in ACTIVE state now 2025-09-22 14:38:16,088 - INFO - VM name : ctest-vn2-vm1-43052193 2025-09-22 14:38:16,169 - DEBUG - VM ctest-vn2-vm1-43052193 ID is a260d77c-824a-4452-930e-20fd749ffbfc 2025-09-22 14:38:16,169 - DEBUG - VM ctest-vn2-vm1-43052193 launched on Node cn-jenkins-deploy-platform-ansible-os-4167-1 2025-09-22 14:38:16,263 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a260d77c-824a-4452-930e-20fd749ffbfc 2025-09-22 14:38:16,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/44119f38-4c59-44ce-a977-570833589e82 2025-09-22 14:38:17,532 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.42 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 = 1.415/2.726/4.037/1.311 ms') 2025-09-22 14:38:17,532 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-43052193 passed 2025-09-22 14:38:17,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:38:17,681 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43052193, IP 150.11.3.131, Port 22 2025-09-22 14:38:17,836 - DEBUG - VM ctest-vn2-vm1-43052193 is ready for SSH connections 2025-09-22 14:38:17,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:38:17,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.11.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-22 14:38:17,837 - DEBUG - ping -s 56 -c 3 -W 1 150.11.3.131 2025-09-22 14:38:22,910 - DEBUG - PING 150.11.3.131 (150.11.3.131): 56 data bytes --- 150.11.3.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 14:38:22,910 - WARNING - Ping to IP 150.11.3.131 from VM ctest-vn1-vm1-39173963 failed 2025-09-22 14:38:22,910 - INFO - Adding interface with subnet_id 3f0af4f0-ef9f-4bb2-b6d1-4950cb7d79d8, port_id None to router 3bbd2635-bc5e-4cbf-a97d-5b68ac5fa37f 2025-09-22 14:38:23,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:38:23,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.11.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-22 14:38:23,167 - DEBUG - ping -s 56 -c 3 -W 1 150.11.3.131 2025-09-22 14:38:26,402 - DEBUG - PING 150.11.3.131 (150.11.3.131): 56 data bytes 64 bytes from 150.11.3.131: seq=1 ttl=63 time=3.092 ms 64 bytes from 150.11.3.131: seq=2 ttl=63 time=0.901 ms --- 150.11.3.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.901/1.996/3.092 ms 2025-09-22 14:38:26,402 - WARNING - Ping to IP 150.11.3.131 from VM ctest-vn1-vm1-39173963 failed 2025-09-22 14:38:27,402 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.11.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-22 14:38:27,403 - DEBUG - ping -s 56 -c 3 -W 1 150.11.3.131 2025-09-22 14:38:29,632 - DEBUG - PING 150.11.3.131 (150.11.3.131): 56 data bytes 64 bytes from 150.11.3.131: seq=0 ttl=63 time=1.653 ms 64 bytes from 150.11.3.131: seq=1 ttl=63 time=0.855 ms 64 bytes from 150.11.3.131: seq=2 ttl=63 time=0.949 ms --- 150.11.3.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/1.152/1.653 ms 2025-09-22 14:38:29,632 - INFO - Ping to IP 150.11.3.131 from VM ctest-vn1-vm1-39173963 passed 2025-09-22 14:38:29,632 - INFO - Deleting interface with subnet_id 52a3e270-211a-4306-9a4b-c953c55c719b, port_id None from router 3bbd2635-bc5e-4cbf-a97d-5b68ac5fa37f 2025-09-22 14:38:29,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:38:29,747 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.11.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-22 14:38:29,747 - DEBUG - ping -s 56 -c 3 -W 1 150.11.3.131 2025-09-22 14:38:32,970 - DEBUG - PING 150.11.3.131 (150.11.3.131): 56 data bytes --- 150.11.3.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 14:38:32,970 - WARNING - Ping to IP 150.11.3.131 from VM ctest-vn1-vm1-39173963 failed 2025-09-22 14:38:32,970 - INFO - Adding interface with subnet_id 52a3e270-211a-4306-9a4b-c953c55c719b, port_id None to router 3bbd2635-bc5e-4cbf-a97d-5b68ac5fa37f 2025-09-22 14:38:33,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:38:33,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.11.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-22 14:38:33,195 - DEBUG - ping -s 56 -c 3 -W 1 150.11.3.131 2025-09-22 14:38:35,431 - DEBUG - PING 150.11.3.131 (150.11.3.131): 56 data bytes 64 bytes from 150.11.3.131: seq=0 ttl=63 time=1.698 ms 64 bytes from 150.11.3.131: seq=1 ttl=63 time=0.828 ms 64 bytes from 150.11.3.131: seq=2 ttl=63 time=1.071 ms --- 150.11.3.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/1.199/1.698 ms 2025-09-22 14:38:35,431 - INFO - Ping to IP 150.11.3.131 from VM ctest-vn1-vm1-39173963 passed 2025-09-22 14:38:35,431 - INFO - Deleting interface with subnet_id 3f0af4f0-ef9f-4bb2-b6d1-4950cb7d79d8, port_id None from router 3bbd2635-bc5e-4cbf-a97d-5b68ac5fa37f 2025-09-22 14:38:35,570 - INFO - Deleting interface with subnet_id 52a3e270-211a-4306-9a4b-c953c55c719b, port_id None from router 3bbd2635-bc5e-4cbf-a97d-5b68ac5fa37f 2025-09-22 14:38:35,788 - INFO - Deleting VM ctest-vn2-vm1-43052193 2025-09-22 14:38:35,864 - INFO - Deleting VM ctest-vn1-vm1-39173963 2025-09-22 14:38:35,946 - INFO - Deleting VN ctest-vn2-99560380 2025-09-22 14:38:35,987 - DEBUG - VN 30d0fd11-ee53-46c5-9b55-535e592fa342 still in use: Unable to complete operation on network 30d0fd11-ee53-46c5-9b55-535e592fa342. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1cd05709-abb2-4929-88a7-23c3f2f15b25'] 2025-09-22 14:38:35,987 - WARNING - Deleting VN ctest-vn2-99560380 failed..Will retry 2025-09-22 14:38:38,085 - DEBUG - Response for deleting network () 2025-09-22 14:38:38,085 - INFO - Deleting VN ctest-vn1-46689041 2025-09-22 14:38:38,185 - DEBUG - Response for deleting network () 2025-09-22 14:38:38,438 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 14:38:38,438 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-09-22 14:38:38,438 - INFO - -------------------------------------------------------------------------------- 2025-09-22 14:38:39,187 - INFO - Deleted project: ctest-TestRouters-88030425, ID : 1993866f-d1d4-4111-aa84-e900a7446982