2025-10-27 15:08:41,843 - INFO - Domain Default found not creating 2025-10-27 15:08:42,034 - INFO - Project ctest-TestRouters-58192404 not found, creating it 2025-10-27 15:08:42,555 - INFO - Created Project:ctest-TestRouters-58192404, ID : 0d8998be-36e3-4df3-b0c0-57367e8742c3 2025-10-27 15:08:44,279 - INFO - ================================================================================ 2025-10-27 15:08:44,279 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 15:08:44,279 - 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-27 15:08:44,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-10-27 15:08:44,544 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:08:44,544 - INFO - 2025-10-27 15:08:45,220 - DEBUG - Response for create_network : {'network': {'id': '55df7040-0d00-4a18-9422-2655d6a8cc20', 'name': 'ctest-vn1-75995034', 'tenant_id': '0d8998be36e34df3b0c057367e8742c3', 'project_id': '0d8998be36e34df3b0c057367e8742c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58192404', 'ctest-vn1-75995034'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:08:45,454 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be72b345-03e7-45cb-971a-263f6ee1fdbd', 'name': '', 'tenant_id': '0d8998be36e34df3b0c057367e8742c3', 'network_id': '55df7040-0d00-4a18-9422-2655d6a8cc20', 'ip_version': 4, 'cidr': '161.71.146.0/26', 'allocation_pools': [{'start': '161.71.146.2', 'end': '161.71.146.62'}], 'gateway_ip': '161.71.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.71.146.2', 'tags': [], 'project_id': '0d8998be36e34df3b0c057367e8742c3'}} 2025-10-27 15:08:45,473 - INFO - Created VN ctest-vn1-75995034 2025-10-27 15:08:45,525 - DEBUG - VN ctest-vn1-75995034 UUID is 55df7040-0d00-4a18-9422-2655d6a8cc20 2025-10-27 15:08:45,853 - DEBUG - Response for create_network : {'network': {'id': '7fcdedf1-2f69-4e29-99ca-dd91113e709d', 'name': 'ctest-vn2-30403359', 'tenant_id': '0d8998be36e34df3b0c057367e8742c3', 'project_id': '0d8998be36e34df3b0c057367e8742c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58192404', 'ctest-vn2-30403359'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:08:46,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '581422c1-3e35-4328-b8c4-f6e501fae1a7', 'name': '', 'tenant_id': '0d8998be36e34df3b0c057367e8742c3', 'network_id': '7fcdedf1-2f69-4e29-99ca-dd91113e709d', 'ip_version': 4, 'cidr': '35.70.19.192/26', 'allocation_pools': [{'start': '35.70.19.194', 'end': '35.70.19.254'}], 'gateway_ip': '35.70.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.70.19.194', 'tags': [], 'project_id': '0d8998be36e34df3b0c057367e8742c3'}} 2025-10-27 15:08:46,067 - INFO - Created VN ctest-vn2-30403359 2025-10-27 15:08:46,121 - DEBUG - VN ctest-vn2-30403359 UUID is 7fcdedf1-2f69-4e29-99ca-dd91113e709d 2025-10-27 15:08:46,293 - DEBUG - Services list from nova: [, , ] 2025-10-27 15:08:47,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4506-1) 2025-10-27 15:08:48,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4506-1) 2025-10-27 15:08:48,806 - INFO - Adding interface with subnet_id be72b345-03e7-45cb-971a-263f6ee1fdbd, port_id None to router 46441cc7-02e6-43d2-a8b5-447f9b65d697 2025-10-27 15:08:49,124 - INFO - Waiting for VM ctest-vn1-vm1-56664300 to be up.. 2025-10-27 15:08:49,261 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 15:08:54,350 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:08:54,350 - INFO - VM name : ctest-vn1-vm1-56664300 2025-10-27 15:08:54,452 - DEBUG - VM ctest-vn1-vm1-56664300 ID is 38f18e09-5a7b-4154-a4ec-06074803b0d7 2025-10-27 15:08:54,478 - DEBUG - VM ctest-vn1-vm1-56664300 launched on Node cn-jenkins-deploy-platform-ansible-os-4506-1 2025-10-27 15:08:54,577 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/38f18e09-5a7b-4154-a4ec-06074803b0d7 2025-10-27 15:08:54,893 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/38f18e09-5a7b-4154-a4ec-06074803b0d7 2025-10-27 15:08:54,941 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/f06237b2-2299-4f5d-a0c7-b1606a260fbb 2025-10-27 15:08:58,226 - 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-10-27 15:08:58,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56664300 failed! 2025-10-27 15:08:58,281 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-58192404:ctest-vn1-75995034 is 161.71.146.1 and allocation pool is NOT set 2025-10-27 15:09:00,344 - 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=3.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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 = 1.255/2.569/3.883/1.314 ms') 2025-10-27 15:09:00,344 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56664300 passed 2025-10-27 15:09:00,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:00,505 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56664300, IP 161.71.146.3, Port 22 2025-10-27 15:09:00,571 - 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-27 15:09:00,662 - DEBUG - VM ctest-vn1-vm1-56664300 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 15:09:05,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:05,663 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56664300, IP 161.71.146.3, Port 22 2025-10-27 15:09:05,831 - DEBUG - VM ctest-vn1-vm1-56664300 is ready for SSH connections 2025-10-27 15:09:05,832 - INFO - Waiting for VM ctest-vn2-vm1-54079497 to be up.. 2025-10-27 15:09:05,906 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:09:05,906 - INFO - VM name : ctest-vn2-vm1-54079497 2025-10-27 15:09:05,984 - DEBUG - VM ctest-vn2-vm1-54079497 ID is 478c85a4-ea43-4709-b4b4-e36b59ab4419 2025-10-27 15:09:05,984 - DEBUG - VM ctest-vn2-vm1-54079497 launched on Node cn-jenkins-deploy-platform-ansible-os-4506-1 2025-10-27 15:09:06,070 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/478c85a4-ea43-4709-b4b4-e36b59ab4419 2025-10-27 15:09:06,083 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/f9b6ed75-3a2d-44f0-bc35-82062cd6a346 2025-10-27 15:09:07,324 - 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=0.421 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.421/2.230/4.039/1.809 ms') 2025-10-27 15:09:07,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-54079497 passed 2025-10-27 15:09:07,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:07,473 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-54079497, IP 35.70.19.195, Port 22 2025-10-27 15:09:07,629 - DEBUG - VM ctest-vn2-vm1-54079497 is ready for SSH connections 2025-10-27 15:09:07,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:07,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.70.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:09:07,630 - DEBUG - ping -s 56 -c 3 -W 1 35.70.19.195 2025-10-27 15:09:12,759 - DEBUG - PING 35.70.19.195 (35.70.19.195): 56 data bytes --- 35.70.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 15:09:12,759 - WARNING - Ping to IP 35.70.19.195 from VM ctest-vn1-vm1-56664300 failed 2025-10-27 15:09:12,760 - INFO - Adding interface with subnet_id 581422c1-3e35-4328-b8c4-f6e501fae1a7, port_id None to router 46441cc7-02e6-43d2-a8b5-447f9b65d697 2025-10-27 15:09:13,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:13,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.70.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:09:13,019 - DEBUG - ping -s 56 -c 3 -W 1 35.70.19.195 2025-10-27 15:09:16,239 - DEBUG - PING 35.70.19.195 (35.70.19.195): 56 data bytes 64 bytes from 35.70.19.195: seq=1 ttl=63 time=3.614 ms 64 bytes from 35.70.19.195: seq=2 ttl=63 time=0.982 ms --- 35.70.19.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.982/2.298/3.614 ms 2025-10-27 15:09:16,239 - WARNING - Ping to IP 35.70.19.195 from VM ctest-vn1-vm1-56664300 failed 2025-10-27 15:09:17,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.70.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:09:17,240 - DEBUG - ping -s 56 -c 3 -W 1 35.70.19.195 2025-10-27 15:09:19,481 - DEBUG - PING 35.70.19.195 (35.70.19.195): 56 data bytes 64 bytes from 35.70.19.195: seq=0 ttl=63 time=2.171 ms 64 bytes from 35.70.19.195: seq=1 ttl=63 time=0.852 ms 64 bytes from 35.70.19.195: seq=2 ttl=63 time=1.110 ms --- 35.70.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/1.377/2.171 ms 2025-10-27 15:09:19,481 - INFO - Ping to IP 35.70.19.195 from VM ctest-vn1-vm1-56664300 passed 2025-10-27 15:09:19,482 - INFO - Deleting interface with subnet_id be72b345-03e7-45cb-971a-263f6ee1fdbd, port_id None from router 46441cc7-02e6-43d2-a8b5-447f9b65d697 2025-10-27 15:09:19,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:19,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.70.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:09:19,613 - DEBUG - ping -s 56 -c 3 -W 1 35.70.19.195 2025-10-27 15:09:22,848 - DEBUG - PING 35.70.19.195 (35.70.19.195): 56 data bytes --- 35.70.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 15:09:22,849 - WARNING - Ping to IP 35.70.19.195 from VM ctest-vn1-vm1-56664300 failed 2025-10-27 15:09:22,849 - INFO - Adding interface with subnet_id be72b345-03e7-45cb-971a-263f6ee1fdbd, port_id None to router 46441cc7-02e6-43d2-a8b5-447f9b65d697 2025-10-27 15:09:23,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:23,088 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.70.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:09:23,088 - DEBUG - ping -s 56 -c 3 -W 1 35.70.19.195 2025-10-27 15:09:25,321 - DEBUG - PING 35.70.19.195 (35.70.19.195): 56 data bytes 64 bytes from 35.70.19.195: seq=0 ttl=63 time=2.038 ms 64 bytes from 35.70.19.195: seq=1 ttl=63 time=1.070 ms 64 bytes from 35.70.19.195: seq=2 ttl=63 time=0.899 ms --- 35.70.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/1.335/2.038 ms 2025-10-27 15:09:25,321 - INFO - Ping to IP 35.70.19.195 from VM ctest-vn1-vm1-56664300 passed 2025-10-27 15:09:25,321 - INFO - Deleting interface with subnet_id 581422c1-3e35-4328-b8c4-f6e501fae1a7, port_id None from router 46441cc7-02e6-43d2-a8b5-447f9b65d697 2025-10-27 15:09:25,463 - INFO - Deleting interface with subnet_id be72b345-03e7-45cb-971a-263f6ee1fdbd, port_id None from router 46441cc7-02e6-43d2-a8b5-447f9b65d697 2025-10-27 15:09:25,665 - INFO - Deleting VM ctest-vn2-vm1-54079497 2025-10-27 15:09:25,760 - INFO - Deleting VM ctest-vn1-vm1-56664300 2025-10-27 15:09:25,843 - INFO - Deleting VN ctest-vn2-30403359 2025-10-27 15:09:25,881 - DEBUG - VN 7fcdedf1-2f69-4e29-99ca-dd91113e709d still in use: Unable to complete operation on network 7fcdedf1-2f69-4e29-99ca-dd91113e709d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b920e7b7-c971-4db8-8ff2-e076baae1a65'] 2025-10-27 15:09:25,881 - WARNING - Deleting VN ctest-vn2-30403359 failed..Will retry 2025-10-27 15:09:27,992 - DEBUG - Response for deleting network () 2025-10-27 15:09:27,992 - INFO - Deleting VN ctest-vn1-75995034 2025-10-27 15:09:28,102 - DEBUG - Response for deleting network () 2025-10-27 15:09:28,355 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 15:09:28,355 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-10-27 15:09:28,355 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:09:29,040 - INFO - Deleted project: ctest-TestRouters-58192404, ID : 0d8998be-36e3-4df3-b0c0-57367e8742c3