2025-08-06 07:56:00,030 - INFO - Domain Default found not creating 2025-08-06 07:56:00,223 - INFO - Project ctest-TestRouters-28449934 not found, creating it 2025-08-06 07:56:00,819 - INFO - Created Project:ctest-TestRouters-28449934, ID : 79067fff-e0cd-40b9-b883-ba208ca5f648 2025-08-06 07:56:02,425 - INFO - ================================================================================ 2025-08-06 07:56:02,425 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-06 07:56:02,425 - 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-08-06 07:56:03,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.57': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-08-06 07:56:03,732 - INFO - Initial checks done. Running the testcase now 2025-08-06 07:56:03,732 - INFO - 2025-08-06 07:56:04,458 - DEBUG - Response for create_network : {'network': {'id': '05982c1b-6d24-4062-89f7-4f9c7e173e84', 'name': 'ctest-vn1-87634049', 'tenant_id': '79067fffe0cd40b9b883ba208ca5f648', 'project_id': '79067fffe0cd40b9b883ba208ca5f648', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-28449934', 'ctest-vn1-87634049'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:56:04,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ed1950a-5e72-4e59-90a3-5cab09a9dc52', 'name': '', 'tenant_id': '79067fffe0cd40b9b883ba208ca5f648', 'network_id': '05982c1b-6d24-4062-89f7-4f9c7e173e84', 'ip_version': 4, 'cidr': '171.166.136.128/26', 'allocation_pools': [{'start': '171.166.136.130', 'end': '171.166.136.190'}], 'gateway_ip': '171.166.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.166.136.130', 'tags': [], 'project_id': '79067fffe0cd40b9b883ba208ca5f648'}} 2025-08-06 07:56:04,771 - INFO - Created VN ctest-vn1-87634049 2025-08-06 07:56:04,784 - DEBUG - VN ctest-vn1-87634049 UUID is 05982c1b-6d24-4062-89f7-4f9c7e173e84 2025-08-06 07:56:05,183 - DEBUG - Response for create_network : {'network': {'id': '0eb82680-a84f-4832-8973-46d7b1304876', 'name': 'ctest-vn2-85216951', 'tenant_id': '79067fffe0cd40b9b883ba208ca5f648', 'project_id': '79067fffe0cd40b9b883ba208ca5f648', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-28449934', 'ctest-vn2-85216951'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:56:05,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '19fdd9ca-f2ea-4b03-83c6-ef52e6a4f3c1', 'name': '', 'tenant_id': '79067fffe0cd40b9b883ba208ca5f648', 'network_id': '0eb82680-a84f-4832-8973-46d7b1304876', 'ip_version': 4, 'cidr': '114.28.183.64/26', 'allocation_pools': [{'start': '114.28.183.66', 'end': '114.28.183.126'}], 'gateway_ip': '114.28.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.28.183.66', 'tags': [], 'project_id': '79067fffe0cd40b9b883ba208ca5f648'}} 2025-08-06 07:56:05,457 - INFO - Created VN ctest-vn2-85216951 2025-08-06 07:56:05,475 - DEBUG - VN ctest-vn2-85216951 UUID is 0eb82680-a84f-4832-8973-46d7b1304876 2025-08-06 07:56:05,704 - DEBUG - Services list from nova: [, , , ] 2025-08-06 07:56:07,003 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-1) 2025-08-06 07:56:08,608 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-2) 2025-08-06 07:56:08,744 - INFO - Adding interface with subnet_id 3ed1950a-5e72-4e59-90a3-5cab09a9dc52, port_id None to router d1ee4a08-6ab7-46a3-b692-4db00fb11336 2025-08-06 07:56:09,135 - INFO - Waiting for VM ctest-vn1-vm1-97151316 to be up.. 2025-08-06 07:56:09,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:56:14,474 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:56:14,475 - INFO - VM name : ctest-vn1-vm1-97151316 2025-08-06 07:56:14,591 - DEBUG - VM ctest-vn1-vm1-97151316 ID is ad925c36-893c-4368-b73e-b76e23ec3c95 2025-08-06 07:56:14,624 - DEBUG - VM ctest-vn1-vm1-97151316 launched on Node an-jenkins-deploy-platform-ansible-os-3761-1 2025-08-06 07:56:14,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ad925c36-893c-4368-b73e-b76e23ec3c95 2025-08-06 07:56:15,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ad925c36-893c-4368-b73e-b76e23ec3c95 2025-08-06 07:56:15,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/440e3660-4b7f-489b-b0f3-2ad51aff4b0a 2025-08-06 07:56:18,334 - 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 1020ms') 2025-08-06 07:56:18,334 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97151316 failed! 2025-08-06 07:56:18,364 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-28449934:ctest-vn1-87634049 is 171.166.136.129 and allocation pool is NOT set 2025-08-06 07:56:20,435 - 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=4.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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.433/2.237/4.042/1.804 ms') 2025-08-06 07:56:20,435 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97151316 passed 2025-08-06 07:56:20,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:56:20,555 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97151316, IP 171.166.136.131, Port 22 2025-08-06 07:56:20,623 - 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-08-06 07:56:20,733 - DEBUG - VM ctest-vn1-vm1-97151316 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:56:25,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:56:25,734 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97151316, IP 171.166.136.131, Port 22 2025-08-06 07:56:25,907 - DEBUG - VM ctest-vn1-vm1-97151316 is ready for SSH connections 2025-08-06 07:56:25,908 - INFO - Waiting for VM ctest-vn2-vm1-78016299 to be up.. 2025-08-06 07:56:26,014 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:56:26,014 - INFO - VM name : ctest-vn2-vm1-78016299 2025-08-06 07:56:26,109 - DEBUG - VM ctest-vn2-vm1-78016299 ID is ff4b2ec8-81a0-4a61-845e-ade831b1d6ed 2025-08-06 07:56:26,110 - DEBUG - VM ctest-vn2-vm1-78016299 launched on Node an-jenkins-deploy-platform-ansible-os-3761-2 2025-08-06 07:56:26,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ff4b2ec8-81a0-4a61-845e-ade831b1d6ed 2025-08-06 07:56:26,219 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e352ead4-2e26-4a98-b86a-ad1e1307a934 2025-08-06 07:56:27,436 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/2.152/3.840/1.688 ms') 2025-08-06 07:56:27,436 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-78016299 passed 2025-08-06 07:56:27,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:56:27,561 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78016299, IP 114.28.183.67, Port 22 2025-08-06 07:56:27,741 - DEBUG - VM ctest-vn2-vm1-78016299 is ready for SSH connections 2025-08-06 07:56:27,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:56:27,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.28.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 07:56:27,741 - DEBUG - ping -s 56 -c 3 -W 1 114.28.183.67 2025-08-06 07:56:32,394 - DEBUG - PING 114.28.183.67 (114.28.183.67): 56 data bytes --- 114.28.183.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-06 07:56:32,394 - WARNING - Ping to IP 114.28.183.67 from VM ctest-vn1-vm1-97151316 failed 2025-08-06 07:56:32,394 - INFO - Adding interface with subnet_id 19fdd9ca-f2ea-4b03-83c6-ef52e6a4f3c1, port_id None to router d1ee4a08-6ab7-46a3-b692-4db00fb11336 2025-08-06 07:56:32,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:56:32,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.28.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 07:56:32,822 - DEBUG - ping -s 56 -c 3 -W 1 114.28.183.67 2025-08-06 07:56:36,028 - DEBUG - PING 114.28.183.67 (114.28.183.67): 56 data bytes 64 bytes from 114.28.183.67: seq=1 ttl=63 time=6.310 ms 64 bytes from 114.28.183.67: seq=2 ttl=63 time=1.515 ms --- 114.28.183.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.515/3.912/6.310 ms 2025-08-06 07:56:36,028 - WARNING - Ping to IP 114.28.183.67 from VM ctest-vn1-vm1-97151316 failed 2025-08-06 07:56:37,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.28.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 07:56:37,029 - DEBUG - ping -s 56 -c 3 -W 1 114.28.183.67 2025-08-06 07:56:39,253 - DEBUG - PING 114.28.183.67 (114.28.183.67): 56 data bytes 64 bytes from 114.28.183.67: seq=0 ttl=63 time=7.713 ms 64 bytes from 114.28.183.67: seq=1 ttl=63 time=2.643 ms 64 bytes from 114.28.183.67: seq=2 ttl=63 time=1.218 ms --- 114.28.183.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.218/3.858/7.713 ms 2025-08-06 07:56:39,253 - INFO - Ping to IP 114.28.183.67 from VM ctest-vn1-vm1-97151316 passed 2025-08-06 07:56:39,254 - INFO - Deleting interface with subnet_id 3ed1950a-5e72-4e59-90a3-5cab09a9dc52, port_id None from router d1ee4a08-6ab7-46a3-b692-4db00fb11336 2025-08-06 07:56:39,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:56:39,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.28.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 07:56:39,529 - DEBUG - ping -s 56 -c 3 -W 1 114.28.183.67 2025-08-06 07:56:42,725 - DEBUG - PING 114.28.183.67 (114.28.183.67): 56 data bytes --- 114.28.183.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-06 07:56:42,725 - WARNING - Ping to IP 114.28.183.67 from VM ctest-vn1-vm1-97151316 failed 2025-08-06 07:56:42,725 - INFO - Adding interface with subnet_id 3ed1950a-5e72-4e59-90a3-5cab09a9dc52, port_id None to router d1ee4a08-6ab7-46a3-b692-4db00fb11336 2025-08-06 07:56:43,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:56:43,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.28.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 07:56:43,110 - DEBUG - ping -s 56 -c 3 -W 1 114.28.183.67 2025-08-06 07:56:45,309 - DEBUG - PING 114.28.183.67 (114.28.183.67): 56 data bytes 64 bytes from 114.28.183.67: seq=0 ttl=63 time=2.598 ms 64 bytes from 114.28.183.67: seq=1 ttl=63 time=1.460 ms 64 bytes from 114.28.183.67: seq=2 ttl=63 time=1.204 ms --- 114.28.183.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.204/1.754/2.598 ms 2025-08-06 07:56:45,309 - INFO - Ping to IP 114.28.183.67 from VM ctest-vn1-vm1-97151316 passed 2025-08-06 07:56:45,310 - INFO - Deleting interface with subnet_id 19fdd9ca-f2ea-4b03-83c6-ef52e6a4f3c1, port_id None from router d1ee4a08-6ab7-46a3-b692-4db00fb11336 2025-08-06 07:56:45,567 - INFO - Deleting interface with subnet_id 3ed1950a-5e72-4e59-90a3-5cab09a9dc52, port_id None from router d1ee4a08-6ab7-46a3-b692-4db00fb11336 2025-08-06 07:56:46,110 - INFO - Deleting VM ctest-vn2-vm1-78016299 2025-08-06 07:56:46,293 - INFO - Deleting VM ctest-vn1-vm1-97151316 2025-08-06 07:56:46,407 - INFO - Deleting VN ctest-vn2-85216951 2025-08-06 07:56:46,486 - DEBUG - VN 0eb82680-a84f-4832-8973-46d7b1304876 still in use: Unable to complete operation on network 0eb82680-a84f-4832-8973-46d7b1304876. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b48fc4f0-43f5-4ae6-bef4-1cdc7b930839'] 2025-08-06 07:56:46,486 - WARNING - Deleting VN ctest-vn2-85216951 failed..Will retry 2025-08-06 07:56:48,731 - DEBUG - Response for deleting network () 2025-08-06 07:56:48,731 - INFO - Deleting VN ctest-vn1-87634049 2025-08-06 07:56:48,908 - DEBUG - Response for deleting network () 2025-08-06 07:56:50,198 - DEBUG - No XMPP flaps were noticed during the test 2025-08-06 07:56:50,199 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:48] 2025-08-06 07:56:50,199 - INFO - -------------------------------------------------------------------------------- 2025-08-06 07:56:51,124 - INFO - Deleted project: ctest-TestRouters-28449934, ID : 79067fff-e0cd-40b9-b883-ba208ca5f648