2025-10-22 15:05:07,281 - INFO - Domain Default found not creating 2025-10-22 15:05:07,436 - INFO - Project ctest-TestRouters-29273307 not found, creating it 2025-10-22 15:05:07,892 - INFO - Created Project:ctest-TestRouters-29273307, ID : e3cf2d3a-e5f1-4741-9504-31493d40d6c6 2025-10-22 15:05:09,415 - INFO - ================================================================================ 2025-10-22 15:05:09,415 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 15:05:09,415 - 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-22 15:05:09,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-22 15:05:09,691 - INFO - Initial checks done. Running the testcase now 2025-10-22 15:05:09,691 - INFO - 2025-10-22 15:05:10,263 - DEBUG - Response for create_network : {'network': {'id': 'ff970e82-c552-4c91-8e06-967080cd87c3', 'name': 'ctest-vn1-77415996', 'tenant_id': 'e3cf2d3ae5f14741950431493d40d6c6', 'project_id': 'e3cf2d3ae5f14741950431493d40d6c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29273307', 'ctest-vn1-77415996'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:05:10,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '13e8342d-009b-455f-a8e7-6b2c66069353', 'name': '', 'tenant_id': 'e3cf2d3ae5f14741950431493d40d6c6', 'network_id': 'ff970e82-c552-4c91-8e06-967080cd87c3', 'ip_version': 4, 'cidr': '86.207.105.64/26', 'allocation_pools': [{'start': '86.207.105.66', 'end': '86.207.105.126'}], 'gateway_ip': '86.207.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.207.105.66', 'tags': [], 'project_id': 'e3cf2d3ae5f14741950431493d40d6c6'}} 2025-10-22 15:05:10,477 - INFO - Created VN ctest-vn1-77415996 2025-10-22 15:05:10,529 - DEBUG - VN ctest-vn1-77415996 UUID is ff970e82-c552-4c91-8e06-967080cd87c3 2025-10-22 15:05:10,870 - DEBUG - Response for create_network : {'network': {'id': '902a9820-eed9-481a-b0e4-da9b5324cc8c', 'name': 'ctest-vn2-19595184', 'tenant_id': 'e3cf2d3ae5f14741950431493d40d6c6', 'project_id': 'e3cf2d3ae5f14741950431493d40d6c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29273307', 'ctest-vn2-19595184'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:05:11,102 - DEBUG - Response for create_subnet : {'subnet': {'id': '4193d364-66d1-45cd-b079-6136ee53f529', 'name': '', 'tenant_id': 'e3cf2d3ae5f14741950431493d40d6c6', 'network_id': '902a9820-eed9-481a-b0e4-da9b5324cc8c', 'ip_version': 4, 'cidr': '137.168.151.0/26', 'allocation_pools': [{'start': '137.168.151.2', 'end': '137.168.151.62'}], 'gateway_ip': '137.168.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.168.151.2', 'tags': [], 'project_id': 'e3cf2d3ae5f14741950431493d40d6c6'}} 2025-10-22 15:05:11,120 - INFO - Created VN ctest-vn2-19595184 2025-10-22 15:05:11,173 - DEBUG - VN ctest-vn2-19595184 UUID is 902a9820-eed9-481a-b0e4-da9b5324cc8c 2025-10-22 15:05:11,337 - DEBUG - Services list from nova: [, , ] 2025-10-22 15:05:12,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4434-1) 2025-10-22 15:05:13,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4434-1) 2025-10-22 15:05:13,754 - INFO - Adding interface with subnet_id 13e8342d-009b-455f-a8e7-6b2c66069353, port_id None to router cdc8b854-ab3c-4f3a-82d1-912c6d52d67c 2025-10-22 15:05:14,047 - INFO - Waiting for VM ctest-vn1-vm1-91709690 to be up.. 2025-10-22 15:05:14,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 15:05:19,234 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:05:19,234 - INFO - VM name : ctest-vn1-vm1-91709690 2025-10-22 15:05:19,308 - DEBUG - VM ctest-vn1-vm1-91709690 ID is 45725c6d-ddc0-481d-a0a1-191129002650 2025-10-22 15:05:19,326 - DEBUG - VM ctest-vn1-vm1-91709690 launched on Node cn-jenkins-deploy-platform-ansible-os-4434-1 2025-10-22 15:05:19,397 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/45725c6d-ddc0-481d-a0a1-191129002650 2025-10-22 15:05:19,688 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/45725c6d-ddc0-481d-a0a1-191129002650 2025-10-22 15:05:19,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9931f1b0-adcf-4a10-9592-7aa70360b142 2025-10-22 15:05:22,979 - 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 1027ms') 2025-10-22 15:05:22,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91709690 failed! 2025-10-22 15:05:23,033 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-29273307:ctest-vn1-77415996 is 86.207.105.65 and allocation pool is NOT set 2025-10-22 15:05:25,093 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.480/1.711/2.943/1.231 ms') 2025-10-22 15:05:25,093 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91709690 passed 2025-10-22 15:05:25,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:25,249 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91709690, IP 86.207.105.67, Port 22 2025-10-22 15:05:25,414 - DEBUG - VM ctest-vn1-vm1-91709690 is ready for SSH connections 2025-10-22 15:05:25,414 - INFO - Waiting for VM ctest-vn2-vm1-81771952 to be up.. 2025-10-22 15:05:25,490 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:05:25,490 - INFO - VM name : ctest-vn2-vm1-81771952 2025-10-22 15:05:25,566 - DEBUG - VM ctest-vn2-vm1-81771952 ID is 2c0bd26d-f14b-4280-9632-4c55db07e612 2025-10-22 15:05:25,566 - DEBUG - VM ctest-vn2-vm1-81771952 launched on Node cn-jenkins-deploy-platform-ansible-os-4434-1 2025-10-22 15:05:25,648 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2c0bd26d-f14b-4280-9632-4c55db07e612 2025-10-22 15:05:25,657 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ba9a7d75-2d44-4246-86f6-82486de3147c 2025-10-22 15:05:26,894 - 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=3.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.815 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.815/1.931/3.047/1.116 ms') 2025-10-22 15:05:26,894 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-81771952 passed 2025-10-22 15:05:27,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:27,045 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-81771952, IP 137.168.151.3, Port 22 2025-10-22 15:05:27,100 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-22 15:05:27,174 - DEBUG - VM ctest-vn2-vm1-81771952 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 15:05:32,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:32,176 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-81771952, IP 137.168.151.3, Port 22 2025-10-22 15:05:32,347 - DEBUG - VM ctest-vn2-vm1-81771952 is ready for SSH connections 2025-10-22 15:05:32,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:32,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.168.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 15:05:32,348 - DEBUG - ping -s 56 -c 3 -W 1 137.168.151.3 2025-10-22 15:05:37,022 - DEBUG - PING 137.168.151.3 (137.168.151.3): 56 data bytes --- 137.168.151.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 15:05:37,022 - WARNING - Ping to IP 137.168.151.3 from VM ctest-vn1-vm1-91709690 failed 2025-10-22 15:05:37,022 - INFO - Adding interface with subnet_id 4193d364-66d1-45cd-b079-6136ee53f529, port_id None to router cdc8b854-ab3c-4f3a-82d1-912c6d52d67c 2025-10-22 15:05:37,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:37,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.168.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 15:05:37,271 - DEBUG - ping -s 56 -c 3 -W 1 137.168.151.3 2025-10-22 15:05:40,479 - DEBUG - PING 137.168.151.3 (137.168.151.3): 56 data bytes 64 bytes from 137.168.151.3: seq=1 ttl=63 time=3.303 ms 64 bytes from 137.168.151.3: seq=2 ttl=63 time=0.965 ms --- 137.168.151.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.965/2.134/3.303 ms 2025-10-22 15:05:40,479 - WARNING - Ping to IP 137.168.151.3 from VM ctest-vn1-vm1-91709690 failed 2025-10-22 15:05:41,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.168.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 15:05:41,480 - DEBUG - ping -s 56 -c 3 -W 1 137.168.151.3 2025-10-22 15:05:43,692 - DEBUG - PING 137.168.151.3 (137.168.151.3): 56 data bytes 64 bytes from 137.168.151.3: seq=0 ttl=63 time=1.807 ms 64 bytes from 137.168.151.3: seq=1 ttl=63 time=1.174 ms 64 bytes from 137.168.151.3: seq=2 ttl=63 time=0.955 ms --- 137.168.151.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.955/1.312/1.807 ms 2025-10-22 15:05:43,692 - INFO - Ping to IP 137.168.151.3 from VM ctest-vn1-vm1-91709690 passed 2025-10-22 15:05:43,693 - INFO - Deleting interface with subnet_id 13e8342d-009b-455f-a8e7-6b2c66069353, port_id None from router cdc8b854-ab3c-4f3a-82d1-912c6d52d67c 2025-10-22 15:05:43,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:43,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.168.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 15:05:43,842 - DEBUG - ping -s 56 -c 3 -W 1 137.168.151.3 2025-10-22 15:05:47,051 - DEBUG - PING 137.168.151.3 (137.168.151.3): 56 data bytes --- 137.168.151.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 15:05:47,051 - WARNING - Ping to IP 137.168.151.3 from VM ctest-vn1-vm1-91709690 failed 2025-10-22 15:05:47,051 - INFO - Adding interface with subnet_id 13e8342d-009b-455f-a8e7-6b2c66069353, port_id None to router cdc8b854-ab3c-4f3a-82d1-912c6d52d67c 2025-10-22 15:05:47,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:05:47,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.168.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 15:05:47,295 - DEBUG - ping -s 56 -c 3 -W 1 137.168.151.3 2025-10-22 15:05:49,509 - DEBUG - PING 137.168.151.3 (137.168.151.3): 56 data bytes 64 bytes from 137.168.151.3: seq=0 ttl=63 time=1.421 ms 64 bytes from 137.168.151.3: seq=1 ttl=63 time=0.831 ms 64 bytes from 137.168.151.3: seq=2 ttl=63 time=0.754 ms --- 137.168.151.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/1.002/1.421 ms 2025-10-22 15:05:49,510 - INFO - Ping to IP 137.168.151.3 from VM ctest-vn1-vm1-91709690 passed 2025-10-22 15:05:49,510 - INFO - Deleting interface with subnet_id 4193d364-66d1-45cd-b079-6136ee53f529, port_id None from router cdc8b854-ab3c-4f3a-82d1-912c6d52d67c 2025-10-22 15:05:49,630 - INFO - Deleting interface with subnet_id 13e8342d-009b-455f-a8e7-6b2c66069353, port_id None from router cdc8b854-ab3c-4f3a-82d1-912c6d52d67c 2025-10-22 15:05:49,817 - INFO - Deleting VM ctest-vn2-vm1-81771952 2025-10-22 15:05:49,894 - INFO - Deleting VM ctest-vn1-vm1-91709690 2025-10-22 15:05:49,974 - INFO - Deleting VN ctest-vn2-19595184 2025-10-22 15:05:50,019 - DEBUG - VN 902a9820-eed9-481a-b0e4-da9b5324cc8c still in use: Unable to complete operation on network 902a9820-eed9-481a-b0e4-da9b5324cc8c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f828d61-1e60-4de6-9543-f64d33c1684d'] 2025-10-22 15:05:50,020 - WARNING - Deleting VN ctest-vn2-19595184 failed..Will retry 2025-10-22 15:05:52,124 - DEBUG - Response for deleting network () 2025-10-22 15:05:52,125 - INFO - Deleting VN ctest-vn1-77415996 2025-10-22 15:05:52,234 - DEBUG - Response for deleting network () 2025-10-22 15:05:52,493 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 15:05:52,493 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-10-22 15:05:52,493 - INFO - -------------------------------------------------------------------------------- 2025-10-22 15:05:53,162 - INFO - Deleted project: ctest-TestRouters-29273307, ID : e3cf2d3a-e5f1-4741-9504-31493d40d6c6