2025-11-12 18:10:58,424 - INFO - Domain Default found not creating 2025-11-12 18:10:58,580 - INFO - Project ctest-TestRouters-03097539 not found, creating it 2025-11-12 18:10:59,062 - INFO - Created Project:ctest-TestRouters-03097539, ID : 466566a3-9c43-4224-851f-7e659ca894ad 2025-11-12 18:11:00,609 - INFO - ================================================================================ 2025-11-12 18:11:00,610 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 18:11:00,610 - 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-11-12 18:11:00,866 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-12 18:11:00,866 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:11:00,866 - INFO - 2025-11-12 18:11:01,447 - DEBUG - Response for create_network : {'network': {'id': '86179562-f265-4918-a0b8-03ade9514313', 'name': 'ctest-vn1-97984549', 'tenant_id': '466566a39c434224851f7e659ca894ad', 'project_id': '466566a39c434224851f7e659ca894ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03097539', 'ctest-vn1-97984549'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:11:01,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a5794d8-7a00-4b1f-ba82-978a9389182b', 'name': '', 'tenant_id': '466566a39c434224851f7e659ca894ad', 'network_id': '86179562-f265-4918-a0b8-03ade9514313', 'ip_version': 4, 'cidr': '92.72.98.64/26', 'allocation_pools': [{'start': '92.72.98.66', 'end': '92.72.98.126'}], 'gateway_ip': '92.72.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.72.98.66', 'tags': [], 'project_id': '466566a39c434224851f7e659ca894ad'}} 2025-11-12 18:11:01,657 - INFO - Created VN ctest-vn1-97984549 2025-11-12 18:11:01,711 - DEBUG - VN ctest-vn1-97984549 UUID is 86179562-f265-4918-a0b8-03ade9514313 2025-11-12 18:11:02,069 - DEBUG - Response for create_network : {'network': {'id': '88a2bd8a-c557-4828-bb09-89c243009528', 'name': 'ctest-vn2-77597517', 'tenant_id': '466566a39c434224851f7e659ca894ad', 'project_id': '466566a39c434224851f7e659ca894ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03097539', 'ctest-vn2-77597517'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:11:02,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '3763bbf9-3aca-47bf-9430-421caba11c3d', 'name': '', 'tenant_id': '466566a39c434224851f7e659ca894ad', 'network_id': '88a2bd8a-c557-4828-bb09-89c243009528', 'ip_version': 4, 'cidr': '16.65.249.64/26', 'allocation_pools': [{'start': '16.65.249.66', 'end': '16.65.249.126'}], 'gateway_ip': '16.65.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.65.249.66', 'tags': [], 'project_id': '466566a39c434224851f7e659ca894ad'}} 2025-11-12 18:11:02,316 - INFO - Created VN ctest-vn2-77597517 2025-11-12 18:11:02,370 - DEBUG - VN ctest-vn2-77597517 UUID is 88a2bd8a-c557-4828-bb09-89c243009528 2025-11-12 18:11:02,558 - DEBUG - Services list from nova: [, , ] 2025-11-12 18:11:03,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4707-1) 2025-11-12 18:11:04,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4707-1) 2025-11-12 18:11:04,900 - INFO - Adding interface with subnet_id 3a5794d8-7a00-4b1f-ba82-978a9389182b, port_id None to router 021a4f66-eb4e-4522-9437-245400428fa0 2025-11-12 18:11:05,207 - INFO - Waiting for VM ctest-vn1-vm1-39448680 to be up.. 2025-11-12 18:11:05,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 18:11:10,484 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:11:10,485 - INFO - VM name : ctest-vn1-vm1-39448680 2025-11-12 18:11:10,555 - DEBUG - VM ctest-vn1-vm1-39448680 ID is 95530b26-26be-4c65-8d95-c24f26ab37f7 2025-11-12 18:11:10,573 - DEBUG - VM ctest-vn1-vm1-39448680 launched on Node cn-jenkins-deploy-platform-ansible-os-4707-1 2025-11-12 18:11:10,639 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/95530b26-26be-4c65-8d95-c24f26ab37f7 2025-11-12 18:11:10,959 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/95530b26-26be-4c65-8d95-c24f26ab37f7 2025-11-12 18:11:10,991 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ba892373-b255-43fe-a707-502c8d652f29 2025-11-12 18:11:12,233 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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 = 0.393/3.097/5.801/2.704 ms') 2025-11-12 18:11:12,233 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39448680 passed 2025-11-12 18:11:12,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:11:12,382 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39448680, IP 92.72.98.67, Port 22 2025-11-12 18:11:12,557 - DEBUG - VM ctest-vn1-vm1-39448680 is ready for SSH connections 2025-11-12 18:11:12,557 - INFO - Waiting for VM ctest-vn2-vm1-65835083 to be up.. 2025-11-12 18:11:12,634 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:11:12,634 - INFO - VM name : ctest-vn2-vm1-65835083 2025-11-12 18:11:12,710 - DEBUG - VM ctest-vn2-vm1-65835083 ID is ac31c611-a946-42a0-8046-aa9eb227d12b 2025-11-12 18:11:12,710 - DEBUG - VM ctest-vn2-vm1-65835083 launched on Node cn-jenkins-deploy-platform-ansible-os-4707-1 2025-11-12 18:11:12,778 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ac31c611-a946-42a0-8046-aa9eb227d12b 2025-11-12 18:11:12,786 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9b1687fc-f0cd-4836-8da5-d6093c832ba5 2025-11-12 18:11:14,022 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.036/2.943/4.851/1.907 ms') 2025-11-12 18:11:14,022 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-65835083 passed 2025-11-12 18:11:14,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:11:14,174 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-65835083, IP 16.65.249.67, Port 22 2025-11-12 18:11:14,241 - 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-11-12 18:11:14,308 - DEBUG - VM ctest-vn2-vm1-65835083 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 18:11:19,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:11:19,308 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-65835083, IP 16.65.249.67, Port 22 2025-11-12 18:11:19,474 - DEBUG - VM ctest-vn2-vm1-65835083 is ready for SSH connections 2025-11-12 18:11:19,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:11:19,474 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.65.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 18:11:19,474 - DEBUG - ping -s 56 -c 3 -W 1 16.65.249.67 2025-11-12 18:11:24,364 - DEBUG - PING 16.65.249.67 (16.65.249.67): 56 data bytes --- 16.65.249.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 18:11:24,364 - WARNING - Ping to IP 16.65.249.67 from VM ctest-vn1-vm1-39448680 failed 2025-11-12 18:11:24,365 - INFO - Adding interface with subnet_id 3763bbf9-3aca-47bf-9430-421caba11c3d, port_id None to router 021a4f66-eb4e-4522-9437-245400428fa0 2025-11-12 18:11:24,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:11:24,637 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.65.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 18:11:24,637 - DEBUG - ping -s 56 -c 3 -W 1 16.65.249.67 2025-11-12 18:11:26,759 - DEBUG - PING 16.65.249.67 (16.65.249.67): 56 data bytes 64 bytes from 16.65.249.67: seq=0 ttl=63 time=3.168 ms 64 bytes from 16.65.249.67: seq=1 ttl=63 time=0.994 ms 64 bytes from 16.65.249.67: seq=2 ttl=63 time=0.968 ms --- 16.65.249.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.968/1.710/3.168 ms 2025-11-12 18:11:26,760 - INFO - Ping to IP 16.65.249.67 from VM ctest-vn1-vm1-39448680 passed 2025-11-12 18:11:26,760 - INFO - Deleting interface with subnet_id 3a5794d8-7a00-4b1f-ba82-978a9389182b, port_id None from router 021a4f66-eb4e-4522-9437-245400428fa0 2025-11-12 18:11:26,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:11:26,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.65.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 18:11:26,882 - DEBUG - ping -s 56 -c 3 -W 1 16.65.249.67 2025-11-12 18:11:30,004 - DEBUG - PING 16.65.249.67 (16.65.249.67): 56 data bytes --- 16.65.249.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 18:11:30,004 - WARNING - Ping to IP 16.65.249.67 from VM ctest-vn1-vm1-39448680 failed 2025-11-12 18:11:30,004 - INFO - Adding interface with subnet_id 3a5794d8-7a00-4b1f-ba82-978a9389182b, port_id None to router 021a4f66-eb4e-4522-9437-245400428fa0 2025-11-12 18:11:30,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:11:30,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.65.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 18:11:30,218 - DEBUG - ping -s 56 -c 3 -W 1 16.65.249.67 2025-11-12 18:11:33,342 - DEBUG - PING 16.65.249.67 (16.65.249.67): 56 data bytes 64 bytes from 16.65.249.67: seq=1 ttl=63 time=1.242 ms 64 bytes from 16.65.249.67: seq=2 ttl=63 time=1.111 ms --- 16.65.249.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.111/1.176/1.242 ms 2025-11-12 18:11:33,342 - WARNING - Ping to IP 16.65.249.67 from VM ctest-vn1-vm1-39448680 failed 2025-11-12 18:11:34,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.65.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 18:11:34,343 - DEBUG - ping -s 56 -c 3 -W 1 16.65.249.67 2025-11-12 18:11:36,473 - DEBUG - PING 16.65.249.67 (16.65.249.67): 56 data bytes 64 bytes from 16.65.249.67: seq=0 ttl=63 time=1.266 ms 64 bytes from 16.65.249.67: seq=1 ttl=63 time=1.092 ms 64 bytes from 16.65.249.67: seq=2 ttl=63 time=1.410 ms --- 16.65.249.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.092/1.256/1.410 ms 2025-11-12 18:11:36,473 - INFO - Ping to IP 16.65.249.67 from VM ctest-vn1-vm1-39448680 passed 2025-11-12 18:11:36,473 - INFO - Deleting interface with subnet_id 3763bbf9-3aca-47bf-9430-421caba11c3d, port_id None from router 021a4f66-eb4e-4522-9437-245400428fa0 2025-11-12 18:11:36,573 - INFO - Deleting interface with subnet_id 3a5794d8-7a00-4b1f-ba82-978a9389182b, port_id None from router 021a4f66-eb4e-4522-9437-245400428fa0 2025-11-12 18:11:36,757 - INFO - Deleting VM ctest-vn2-vm1-65835083 2025-11-12 18:11:36,860 - INFO - Deleting VM ctest-vn1-vm1-39448680 2025-11-12 18:11:36,928 - INFO - Deleting VN ctest-vn2-77597517 2025-11-12 18:11:36,964 - DEBUG - VN 88a2bd8a-c557-4828-bb09-89c243009528 still in use: Unable to complete operation on network 88a2bd8a-c557-4828-bb09-89c243009528. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24dba7f8-2896-4be1-9845-d6c2a8b66cf5'] 2025-11-12 18:11:36,965 - WARNING - Deleting VN ctest-vn2-77597517 failed..Will retry 2025-11-12 18:11:39,071 - DEBUG - Response for deleting network () 2025-11-12 18:11:39,071 - INFO - Deleting VN ctest-vn1-97984549 2025-11-12 18:11:39,174 - DEBUG - Response for deleting network () 2025-11-12 18:11:39,440 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 18:11:39,440 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-12 18:11:39,440 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:11:40,123 - INFO - Deleted project: ctest-TestRouters-03097539, ID : 466566a3-9c43-4224-851f-7e659ca894ad