2025-10-30 09:36:26,780 - INFO - Domain Default found not creating 2025-10-30 09:36:26,929 - INFO - Project ctest-TestRouters-41015241 not found, creating it 2025-10-30 09:36:27,423 - INFO - Created Project:ctest-TestRouters-41015241, ID : 7ea83c3f-660e-4e6d-a59e-82af079fa2be 2025-10-30 09:36:29,273 - INFO - ================================================================================ 2025-10-30 09:36:29,273 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 09:36:29,273 - 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-30 09:36:29,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-30 09:36:29,544 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:36:29,544 - INFO - 2025-10-30 09:36:30,151 - DEBUG - Response for create_network : {'network': {'id': '7b74baff-b62f-444e-97fd-49d05ccec868', 'name': 'ctest-vn1-37208735', 'tenant_id': '7ea83c3f660e4e6da59e82af079fa2be', 'project_id': '7ea83c3f660e4e6da59e82af079fa2be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41015241', 'ctest-vn1-37208735'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:36:30,404 - DEBUG - Response for create_subnet : {'subnet': {'id': '24c04fd5-aefd-42bf-a367-4da99adf07ef', 'name': '', 'tenant_id': '7ea83c3f660e4e6da59e82af079fa2be', 'network_id': '7b74baff-b62f-444e-97fd-49d05ccec868', 'ip_version': 4, 'cidr': '201.68.198.128/26', 'allocation_pools': [{'start': '201.68.198.130', 'end': '201.68.198.190'}], 'gateway_ip': '201.68.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.68.198.130', 'tags': [], 'project_id': '7ea83c3f660e4e6da59e82af079fa2be'}} 2025-10-30 09:36:30,426 - INFO - Created VN ctest-vn1-37208735 2025-10-30 09:36:30,479 - DEBUG - VN ctest-vn1-37208735 UUID is 7b74baff-b62f-444e-97fd-49d05ccec868 2025-10-30 09:36:30,804 - DEBUG - Response for create_network : {'network': {'id': '175f5bb8-d4f9-4e8d-aee7-69863d7864a0', 'name': 'ctest-vn2-70364654', 'tenant_id': '7ea83c3f660e4e6da59e82af079fa2be', 'project_id': '7ea83c3f660e4e6da59e82af079fa2be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41015241', 'ctest-vn2-70364654'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:36:31,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '50156427-ec4c-4603-89e9-fd6317cb354b', 'name': '', 'tenant_id': '7ea83c3f660e4e6da59e82af079fa2be', 'network_id': '175f5bb8-d4f9-4e8d-aee7-69863d7864a0', 'ip_version': 4, 'cidr': '69.37.173.64/26', 'allocation_pools': [{'start': '69.37.173.66', 'end': '69.37.173.126'}], 'gateway_ip': '69.37.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.37.173.66', 'tags': [], 'project_id': '7ea83c3f660e4e6da59e82af079fa2be'}} 2025-10-30 09:36:31,026 - INFO - Created VN ctest-vn2-70364654 2025-10-30 09:36:31,079 - DEBUG - VN ctest-vn2-70364654 UUID is 175f5bb8-d4f9-4e8d-aee7-69863d7864a0 2025-10-30 09:36:31,249 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:36:32,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4538-1) 2025-10-30 09:36:33,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4538-1) 2025-10-30 09:36:33,844 - INFO - Adding interface with subnet_id 24c04fd5-aefd-42bf-a367-4da99adf07ef, port_id None to router c1883dd2-a71c-49e2-bda2-fceaf4915dcf 2025-10-30 09:36:34,220 - INFO - Waiting for VM ctest-vn1-vm1-51320209 to be up.. 2025-10-30 09:36:34,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:36:39,427 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:36:39,427 - INFO - VM name : ctest-vn1-vm1-51320209 2025-10-30 09:36:39,504 - DEBUG - VM ctest-vn1-vm1-51320209 ID is 9bde0a1a-5028-4357-bb28-c340a23cd055 2025-10-30 09:36:39,523 - DEBUG - VM ctest-vn1-vm1-51320209 launched on Node cn-jenkins-deploy-platform-ansible-os-4538-1 2025-10-30 09:36:39,596 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9bde0a1a-5028-4357-bb28-c340a23cd055 2025-10-30 09:36:39,927 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9bde0a1a-5028-4357-bb28-c340a23cd055 2025-10-30 09:36:39,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3c161e06-1367-415f-8c34-fb6b28a97d17 2025-10-30 09:36:43,229 - 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 1025ms') 2025-10-30 09:36:43,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51320209 failed! 2025-10-30 09:36:43,291 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-41015241:ctest-vn1-37208735 is 201.68.198.129 and allocation pool is NOT set 2025-10-30 09:36:45,359 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 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 = 3.105/4.270/5.435/1.165 ms') 2025-10-30 09:36:45,359 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51320209 passed 2025-10-30 09:36:45,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:36:45,511 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51320209, IP 201.68.198.131, Port 22 2025-10-30 09:36:45,576 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-30 09:36:45,686 - DEBUG - VM ctest-vn1-vm1-51320209 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 09:36:50,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:36:50,689 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51320209, IP 201.68.198.131, Port 22 2025-10-30 09:36:50,854 - DEBUG - VM ctest-vn1-vm1-51320209 is ready for SSH connections 2025-10-30 09:36:50,855 - INFO - Waiting for VM ctest-vn2-vm1-43086249 to be up.. 2025-10-30 09:36:50,923 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:36:50,923 - INFO - VM name : ctest-vn2-vm1-43086249 2025-10-30 09:36:50,991 - DEBUG - VM ctest-vn2-vm1-43086249 ID is 03a352a1-551e-435b-a708-6c13f5d1d695 2025-10-30 09:36:50,992 - DEBUG - VM ctest-vn2-vm1-43086249 launched on Node cn-jenkins-deploy-platform-ansible-os-4538-1 2025-10-30 09:36:51,061 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/03a352a1-551e-435b-a708-6c13f5d1d695 2025-10-30 09:36:51,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/850d6fd8-98ee-4664-a599-abb3f5774a5c 2025-10-30 09:36:52,317 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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.505/2.053/3.601/1.548 ms') 2025-10-30 09:36:52,317 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-43086249 passed 2025-10-30 09:36:52,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:36:52,467 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43086249, IP 69.37.173.67, Port 22 2025-10-30 09:36:52,623 - DEBUG - VM ctest-vn2-vm1-43086249 is ready for SSH connections 2025-10-30 09:36:52,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:36:52,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.37.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 09:36:52,623 - DEBUG - ping -s 56 -c 3 -W 1 69.37.173.67 2025-10-30 09:36:57,712 - DEBUG - PING 69.37.173.67 (69.37.173.67): 56 data bytes --- 69.37.173.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 09:36:57,713 - WARNING - Ping to IP 69.37.173.67 from VM ctest-vn1-vm1-51320209 failed 2025-10-30 09:36:57,713 - INFO - Adding interface with subnet_id 50156427-ec4c-4603-89e9-fd6317cb354b, port_id None to router c1883dd2-a71c-49e2-bda2-fceaf4915dcf 2025-10-30 09:36:57,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:36:57,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.37.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 09:36:57,954 - DEBUG - ping -s 56 -c 3 -W 1 69.37.173.67 2025-10-30 09:37:01,186 - DEBUG - PING 69.37.173.67 (69.37.173.67): 56 data bytes 64 bytes from 69.37.173.67: seq=1 ttl=63 time=2.697 ms 64 bytes from 69.37.173.67: seq=2 ttl=63 time=0.838 ms --- 69.37.173.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.838/1.767/2.697 ms 2025-10-30 09:37:01,186 - WARNING - Ping to IP 69.37.173.67 from VM ctest-vn1-vm1-51320209 failed 2025-10-30 09:37:02,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.37.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 09:37:02,187 - DEBUG - ping -s 56 -c 3 -W 1 69.37.173.67 2025-10-30 09:37:04,421 - DEBUG - PING 69.37.173.67 (69.37.173.67): 56 data bytes 64 bytes from 69.37.173.67: seq=0 ttl=63 time=1.422 ms 64 bytes from 69.37.173.67: seq=1 ttl=63 time=0.901 ms 64 bytes from 69.37.173.67: seq=2 ttl=63 time=1.044 ms --- 69.37.173.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/1.122/1.422 ms 2025-10-30 09:37:04,422 - INFO - Ping to IP 69.37.173.67 from VM ctest-vn1-vm1-51320209 passed 2025-10-30 09:37:04,422 - INFO - Deleting interface with subnet_id 24c04fd5-aefd-42bf-a367-4da99adf07ef, port_id None from router c1883dd2-a71c-49e2-bda2-fceaf4915dcf 2025-10-30 09:37:04,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:37:04,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.37.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 09:37:04,536 - DEBUG - ping -s 56 -c 3 -W 1 69.37.173.67 2025-10-30 09:37:07,760 - DEBUG - PING 69.37.173.67 (69.37.173.67): 56 data bytes --- 69.37.173.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 09:37:07,760 - WARNING - Ping to IP 69.37.173.67 from VM ctest-vn1-vm1-51320209 failed 2025-10-30 09:37:07,760 - INFO - Adding interface with subnet_id 24c04fd5-aefd-42bf-a367-4da99adf07ef, port_id None to router c1883dd2-a71c-49e2-bda2-fceaf4915dcf 2025-10-30 09:37:07,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:37:07,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.37.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 09:37:07,979 - DEBUG - ping -s 56 -c 3 -W 1 69.37.173.67 2025-10-30 09:37:10,204 - DEBUG - PING 69.37.173.67 (69.37.173.67): 56 data bytes 64 bytes from 69.37.173.67: seq=0 ttl=63 time=1.482 ms 64 bytes from 69.37.173.67: seq=1 ttl=63 time=0.752 ms 64 bytes from 69.37.173.67: seq=2 ttl=63 time=0.881 ms --- 69.37.173.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.038/1.482 ms 2025-10-30 09:37:10,204 - INFO - Ping to IP 69.37.173.67 from VM ctest-vn1-vm1-51320209 passed 2025-10-30 09:37:10,204 - INFO - Deleting interface with subnet_id 50156427-ec4c-4603-89e9-fd6317cb354b, port_id None from router c1883dd2-a71c-49e2-bda2-fceaf4915dcf 2025-10-30 09:37:10,325 - INFO - Deleting interface with subnet_id 24c04fd5-aefd-42bf-a367-4da99adf07ef, port_id None from router c1883dd2-a71c-49e2-bda2-fceaf4915dcf 2025-10-30 09:37:10,513 - INFO - Deleting VM ctest-vn2-vm1-43086249 2025-10-30 09:37:10,593 - INFO - Deleting VM ctest-vn1-vm1-51320209 2025-10-30 09:37:10,678 - INFO - Deleting VN ctest-vn2-70364654 2025-10-30 09:37:10,718 - DEBUG - VN 175f5bb8-d4f9-4e8d-aee7-69863d7864a0 still in use: Unable to complete operation on network 175f5bb8-d4f9-4e8d-aee7-69863d7864a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c835b67-1cca-4f7e-ac3a-fbbd35371b3d'] 2025-10-30 09:37:10,718 - WARNING - Deleting VN ctest-vn2-70364654 failed..Will retry 2025-10-30 09:37:12,816 - DEBUG - Response for deleting network () 2025-10-30 09:37:12,816 - INFO - Deleting VN ctest-vn1-37208735 2025-10-30 09:37:12,921 - DEBUG - Response for deleting network () 2025-10-30 09:37:13,190 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 09:37:13,190 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-10-30 09:37:13,191 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:37:13,899 - INFO - Deleted project: ctest-TestRouters-41015241, ID : 7ea83c3f-660e-4e6d-a59e-82af079fa2be