2025-09-19 01:55:56,005 - INFO - Domain Default found not creating 2025-09-19 01:55:56,155 - INFO - Project ctest-TestRouters-99950029 not found, creating it 2025-09-19 01:55:56,582 - INFO - Created Project:ctest-TestRouters-99950029, ID : d8f2932d-6510-4d01-aae4-04cb916c1050 2025-09-19 01:55:57,997 - INFO - ================================================================================ 2025-09-19 01:55:57,997 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-19 01:55:57,997 - 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-19 01:55:58,251 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 01:55:58,251 - INFO - Initial checks done. Running the testcase now 2025-09-19 01:55:58,251 - INFO - 2025-09-19 01:55:58,777 - DEBUG - Response for create_network : {'network': {'id': 'afe1b23e-6c97-4b02-8dbb-b173d5a0e382', 'name': 'ctest-vn1-78502385', 'tenant_id': 'd8f2932d65104d01aae404cb916c1050', 'project_id': 'd8f2932d65104d01aae404cb916c1050', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99950029', 'ctest-vn1-78502385'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:55:58,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a87b370-5ce6-4efb-9409-c08459654d02', 'name': '', 'tenant_id': 'd8f2932d65104d01aae404cb916c1050', 'network_id': 'afe1b23e-6c97-4b02-8dbb-b173d5a0e382', 'ip_version': 4, 'cidr': '75.241.37.0/26', 'allocation_pools': [{'start': '75.241.37.2', 'end': '75.241.37.62'}], 'gateway_ip': '75.241.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.241.37.2', 'tags': [], 'project_id': 'd8f2932d65104d01aae404cb916c1050'}} 2025-09-19 01:55:58,928 - INFO - Created VN ctest-vn1-78502385 2025-09-19 01:55:58,981 - DEBUG - VN ctest-vn1-78502385 UUID is afe1b23e-6c97-4b02-8dbb-b173d5a0e382 2025-09-19 01:55:59,302 - DEBUG - Response for create_network : {'network': {'id': '955f1c7a-4e8c-45d5-91d4-5d7446880afd', 'name': 'ctest-vn2-73792476', 'tenant_id': 'd8f2932d65104d01aae404cb916c1050', 'project_id': 'd8f2932d65104d01aae404cb916c1050', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99950029', 'ctest-vn2-73792476'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:55:59,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bb3b037-4723-4a5b-b73f-e4b6bf6813f0', 'name': '', 'tenant_id': 'd8f2932d65104d01aae404cb916c1050', 'network_id': '955f1c7a-4e8c-45d5-91d4-5d7446880afd', 'ip_version': 4, 'cidr': '149.174.212.64/26', 'allocation_pools': [{'start': '149.174.212.66', 'end': '149.174.212.126'}], 'gateway_ip': '149.174.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.174.212.66', 'tags': [], 'project_id': 'd8f2932d65104d01aae404cb916c1050'}} 2025-09-19 01:55:59,476 - INFO - Created VN ctest-vn2-73792476 2025-09-19 01:55:59,529 - DEBUG - VN ctest-vn2-73792476 UUID is 955f1c7a-4e8c-45d5-91d4-5d7446880afd 2025-09-19 01:55:59,725 - DEBUG - Services list from nova: [, , ] 2025-09-19 01:56:00,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4144-1) 2025-09-19 01:56:01,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4144-1) 2025-09-19 01:56:01,990 - INFO - Adding interface with subnet_id 9a87b370-5ce6-4efb-9409-c08459654d02, port_id None to router 5bd0e688-5653-41ba-b09b-74cd67d20bb0 2025-09-19 01:56:02,249 - INFO - Waiting for VM ctest-vn1-vm1-66283157 to be up.. 2025-09-19 01:56:02,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 01:56:07,412 - DEBUG - VM is in ACTIVE state now 2025-09-19 01:56:07,413 - INFO - VM name : ctest-vn1-vm1-66283157 2025-09-19 01:56:07,480 - DEBUG - VM ctest-vn1-vm1-66283157 ID is 3f3ef336-0bc5-4d05-887b-a7509723349b 2025-09-19 01:56:07,498 - DEBUG - VM ctest-vn1-vm1-66283157 launched on Node cn-jenkins-deploy-platform-ansible-os-4144-1 2025-09-19 01:56:07,565 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3f3ef336-0bc5-4d05-887b-a7509723349b 2025-09-19 01:56:07,879 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3f3ef336-0bc5-4d05-887b-a7509723349b 2025-09-19 01:56:07,909 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a4f93440-a5f7-4c73-aa69-b8db442daebf 2025-09-19 01:56:11,164 - 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 1023ms') 2025-09-19 01:56:11,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66283157 failed! 2025-09-19 01:56:11,217 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99950029:ctest-vn1-78502385 is 75.241.37.1 and allocation pool is NOT set 2025-09-19 01:56:13,272 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.592 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 = 0.592/1.920/3.248/1.328 ms') 2025-09-19 01:56:13,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66283157 passed 2025-09-19 01:56:13,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:56:13,425 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66283157, IP 75.241.37.3, Port 22 2025-09-19 01:56:13,480 - 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-09-19 01:56:13,554 - DEBUG - VM ctest-vn1-vm1-66283157 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-19 01:56:18,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:56:18,555 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66283157, IP 75.241.37.3, Port 22 2025-09-19 01:56:18,709 - DEBUG - VM ctest-vn1-vm1-66283157 is ready for SSH connections 2025-09-19 01:56:18,709 - INFO - Waiting for VM ctest-vn2-vm1-56192250 to be up.. 2025-09-19 01:56:18,775 - DEBUG - VM is in ACTIVE state now 2025-09-19 01:56:18,775 - INFO - VM name : ctest-vn2-vm1-56192250 2025-09-19 01:56:18,841 - DEBUG - VM ctest-vn2-vm1-56192250 ID is bc518c4c-c158-47d8-830a-f240b83b7253 2025-09-19 01:56:18,841 - DEBUG - VM ctest-vn2-vm1-56192250 launched on Node cn-jenkins-deploy-platform-ansible-os-4144-1 2025-09-19 01:56:18,906 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/bc518c4c-c158-47d8-830a-f240b83b7253 2025-09-19 01:56:18,914 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/052778ef-9f52-409e-ba9c-096cce6f2359 2025-09-19 01:56:20,147 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 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.350/1.727/3.105/1.377 ms') 2025-09-19 01:56:20,147 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-56192250 passed 2025-09-19 01:56:20,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:56:20,297 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-56192250, IP 149.174.212.67, Port 22 2025-09-19 01:56:20,452 - DEBUG - VM ctest-vn2-vm1-56192250 is ready for SSH connections 2025-09-19 01:56:20,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:56:20,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.174.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:56:20,453 - DEBUG - ping -s 56 -c 3 -W 1 149.174.212.67 2025-09-19 01:56:25,387 - DEBUG - PING 149.174.212.67 (149.174.212.67): 56 data bytes --- 149.174.212.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 01:56:25,387 - WARNING - Ping to IP 149.174.212.67 from VM ctest-vn1-vm1-66283157 failed 2025-09-19 01:56:25,387 - INFO - Adding interface with subnet_id 0bb3b037-4723-4a5b-b73f-e4b6bf6813f0, port_id None to router 5bd0e688-5653-41ba-b09b-74cd67d20bb0 2025-09-19 01:56:25,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:56:25,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.174.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:56:25,613 - DEBUG - ping -s 56 -c 3 -W 1 149.174.212.67 2025-09-19 01:56:28,833 - DEBUG - PING 149.174.212.67 (149.174.212.67): 56 data bytes 64 bytes from 149.174.212.67: seq=1 ttl=63 time=2.741 ms 64 bytes from 149.174.212.67: seq=2 ttl=63 time=5.017 ms --- 149.174.212.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 2.741/3.879/5.017 ms 2025-09-19 01:56:28,833 - WARNING - Ping to IP 149.174.212.67 from VM ctest-vn1-vm1-66283157 failed 2025-09-19 01:56:29,833 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.174.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:56:29,834 - DEBUG - ping -s 56 -c 3 -W 1 149.174.212.67 2025-09-19 01:56:32,039 - DEBUG - PING 149.174.212.67 (149.174.212.67): 56 data bytes 64 bytes from 149.174.212.67: seq=0 ttl=63 time=1.278 ms 64 bytes from 149.174.212.67: seq=1 ttl=63 time=0.760 ms 64 bytes from 149.174.212.67: seq=2 ttl=63 time=0.941 ms --- 149.174.212.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/0.993/1.278 ms 2025-09-19 01:56:32,039 - INFO - Ping to IP 149.174.212.67 from VM ctest-vn1-vm1-66283157 passed 2025-09-19 01:56:32,039 - INFO - Deleting interface with subnet_id 9a87b370-5ce6-4efb-9409-c08459654d02, port_id None from router 5bd0e688-5653-41ba-b09b-74cd67d20bb0 2025-09-19 01:56:32,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:56:32,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.174.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:56:32,153 - DEBUG - ping -s 56 -c 3 -W 1 149.174.212.67 2025-09-19 01:56:35,359 - DEBUG - PING 149.174.212.67 (149.174.212.67): 56 data bytes --- 149.174.212.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 01:56:35,359 - WARNING - Ping to IP 149.174.212.67 from VM ctest-vn1-vm1-66283157 failed 2025-09-19 01:56:35,359 - INFO - Adding interface with subnet_id 9a87b370-5ce6-4efb-9409-c08459654d02, port_id None to router 5bd0e688-5653-41ba-b09b-74cd67d20bb0 2025-09-19 01:56:35,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:56:35,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.174.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:56:35,555 - DEBUG - ping -s 56 -c 3 -W 1 149.174.212.67 2025-09-19 01:56:37,755 - DEBUG - PING 149.174.212.67 (149.174.212.67): 56 data bytes 64 bytes from 149.174.212.67: seq=0 ttl=63 time=1.349 ms 64 bytes from 149.174.212.67: seq=1 ttl=63 time=0.833 ms 64 bytes from 149.174.212.67: seq=2 ttl=63 time=0.859 ms --- 149.174.212.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/1.013/1.349 ms 2025-09-19 01:56:37,755 - INFO - Ping to IP 149.174.212.67 from VM ctest-vn1-vm1-66283157 passed 2025-09-19 01:56:37,755 - INFO - Deleting interface with subnet_id 0bb3b037-4723-4a5b-b73f-e4b6bf6813f0, port_id None from router 5bd0e688-5653-41ba-b09b-74cd67d20bb0 2025-09-19 01:56:37,853 - INFO - Deleting interface with subnet_id 9a87b370-5ce6-4efb-9409-c08459654d02, port_id None from router 5bd0e688-5653-41ba-b09b-74cd67d20bb0 2025-09-19 01:56:38,038 - INFO - Deleting VM ctest-vn2-vm1-56192250 2025-09-19 01:56:38,104 - INFO - Deleting VM ctest-vn1-vm1-66283157 2025-09-19 01:56:38,170 - INFO - Deleting VN ctest-vn2-73792476 2025-09-19 01:56:38,207 - DEBUG - VN 955f1c7a-4e8c-45d5-91d4-5d7446880afd still in use: Unable to complete operation on network 955f1c7a-4e8c-45d5-91d4-5d7446880afd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2be16e0e-16b4-4abe-8262-ff064dda0154'] 2025-09-19 01:56:38,207 - WARNING - Deleting VN ctest-vn2-73792476 failed..Will retry 2025-09-19 01:56:40,292 - DEBUG - Response for deleting network () 2025-09-19 01:56:40,292 - INFO - Deleting VN ctest-vn1-78502385 2025-09-19 01:56:40,377 - DEBUG - Response for deleting network () 2025-09-19 01:56:40,629 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 01:56:40,630 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-09-19 01:56:40,630 - INFO - -------------------------------------------------------------------------------- 2025-09-19 01:56:41,296 - INFO - Deleted project: ctest-TestRouters-99950029, ID : d8f2932d-6510-4d01-aae4-04cb916c1050