2025-08-14 02:17:00,261 - INFO - Domain Default found not creating 2025-08-14 02:17:00,385 - INFO - Project ctest-TestRouters-67530171 not found, creating it 2025-08-14 02:17:00,876 - INFO - Created Project:ctest-TestRouters-67530171, ID : f30c7480-f161-4170-9f57-75b79fe5ff88 2025-08-14 02:17:02,225 - INFO - ================================================================================ 2025-08-14 02:17:02,225 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-14 02:17:02,225 - 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-14 02:17:03,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.25': '0'}} with 2025-08-14 02:17:03,480 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:17:03,480 - INFO - 2025-08-14 02:17:04,337 - DEBUG - Response for create_network : {'network': {'id': '8fc027ba-2e44-466f-a18d-0f18c14c10dd', 'name': 'ctest-vn1-99531618', 'tenant_id': 'f30c7480f16141709f5775b79fe5ff88', 'project_id': 'f30c7480f16141709f5775b79fe5ff88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67530171', 'ctest-vn1-99531618'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:17:04,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '367882aa-cf80-4861-aa47-e820dee2e695', 'name': '', 'tenant_id': 'f30c7480f16141709f5775b79fe5ff88', 'network_id': '8fc027ba-2e44-466f-a18d-0f18c14c10dd', 'ip_version': 4, 'cidr': '28.209.195.64/26', 'allocation_pools': [{'start': '28.209.195.66', 'end': '28.209.195.126'}], 'gateway_ip': '28.209.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.209.195.66', 'tags': [], 'project_id': 'f30c7480f16141709f5775b79fe5ff88'}} 2025-08-14 02:17:04,638 - INFO - Created VN ctest-vn1-99531618 2025-08-14 02:17:04,651 - DEBUG - VN ctest-vn1-99531618 UUID is 8fc027ba-2e44-466f-a18d-0f18c14c10dd 2025-08-14 02:17:05,006 - DEBUG - Response for create_network : {'network': {'id': '95caebf3-fc93-47ca-b91a-24fb6f4c5b1a', 'name': 'ctest-vn2-04777715', 'tenant_id': 'f30c7480f16141709f5775b79fe5ff88', 'project_id': 'f30c7480f16141709f5775b79fe5ff88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67530171', 'ctest-vn2-04777715'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:17:05,300 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a37051d4-e53b-4871-bec0-a79c2002268f', 'name': '', 'tenant_id': 'f30c7480f16141709f5775b79fe5ff88', 'network_id': '95caebf3-fc93-47ca-b91a-24fb6f4c5b1a', 'ip_version': 4, 'cidr': '155.31.29.192/26', 'allocation_pools': [{'start': '155.31.29.194', 'end': '155.31.29.254'}], 'gateway_ip': '155.31.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.31.29.194', 'tags': [], 'project_id': 'f30c7480f16141709f5775b79fe5ff88'}} 2025-08-14 02:17:05,328 - INFO - Created VN ctest-vn2-04777715 2025-08-14 02:17:05,342 - DEBUG - VN ctest-vn2-04777715 UUID is 95caebf3-fc93-47ca-b91a-24fb6f4c5b1a 2025-08-14 02:17:05,512 - DEBUG - Services list from nova: [, , , ] 2025-08-14 02:17:06,562 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-2) 2025-08-14 02:17:07,904 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-1) 2025-08-14 02:17:08,017 - INFO - Adding interface with subnet_id 367882aa-cf80-4861-aa47-e820dee2e695, port_id None to router 83b3f905-f9a5-4a50-8ef6-f769561cbb5f 2025-08-14 02:17:08,452 - INFO - Waiting for VM ctest-vn1-vm1-15735958 to be up.. 2025-08-14 02:17:08,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 02:17:13,635 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:17:13,635 - INFO - VM name : ctest-vn1-vm1-15735958 2025-08-14 02:17:13,703 - DEBUG - VM ctest-vn1-vm1-15735958 ID is 54cf0d4f-8a1b-4fb5-8ded-13b5d2406175 2025-08-14 02:17:13,725 - DEBUG - VM ctest-vn1-vm1-15735958 launched on Node an-jenkins-deploy-platform-ansible-os-3851-2 2025-08-14 02:17:13,797 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/54cf0d4f-8a1b-4fb5-8ded-13b5d2406175 2025-08-14 02:17:14,088 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/54cf0d4f-8a1b-4fb5-8ded-13b5d2406175 2025-08-14 02:17:14,118 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/47ca9c75-e810-4755-b02d-4b8c610ba3f9 2025-08-14 02:17:17,320 - 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 1022ms') 2025-08-14 02:17:17,320 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15735958 failed! 2025-08-14 02:17:17,334 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-67530171:ctest-vn1-99531618 is 28.209.195.65 and allocation pool is NOT set 2025-08-14 02:17:19,408 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.35 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 = 2.345/3.799/5.254/1.454 ms') 2025-08-14 02:17:19,408 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15735958 passed 2025-08-14 02:17:19,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:17:19,476 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15735958, IP 28.209.195.67, Port 22 2025-08-14 02:17:19,530 - 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-14 02:17:19,603 - DEBUG - VM ctest-vn1-vm1-15735958 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 02:17:24,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:17:24,604 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15735958, IP 28.209.195.67, Port 22 2025-08-14 02:17:24,780 - DEBUG - VM ctest-vn1-vm1-15735958 is ready for SSH connections 2025-08-14 02:17:24,781 - INFO - Waiting for VM ctest-vn2-vm1-99434223 to be up.. 2025-08-14 02:17:24,850 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:17:24,850 - INFO - VM name : ctest-vn2-vm1-99434223 2025-08-14 02:17:24,915 - DEBUG - VM ctest-vn2-vm1-99434223 ID is 7b23c518-ab7b-4709-ae0e-d75aaaa6efda 2025-08-14 02:17:24,915 - DEBUG - VM ctest-vn2-vm1-99434223 launched on Node an-jenkins-deploy-platform-ansible-os-3851-1 2025-08-14 02:17:24,982 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/7b23c518-ab7b-4709-ae0e-d75aaaa6efda 2025-08-14 02:17:24,991 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b5bc8106-b157-47df-9ae7-f8d62e99be0e 2025-08-14 02:17:26,148 - 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=2.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/1.432/2.481/1.049 ms') 2025-08-14 02:17:26,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-99434223 passed 2025-08-14 02:17:26,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:17:26,217 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-99434223, IP 155.31.29.195, Port 22 2025-08-14 02:17:26,381 - DEBUG - VM ctest-vn2-vm1-99434223 is ready for SSH connections 2025-08-14 02:17:26,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:17:26,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.31.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-14 02:17:26,381 - DEBUG - ping -s 56 -c 3 -W 1 155.31.29.195 2025-08-14 02:17:30,290 - DEBUG - PING 155.31.29.195 (155.31.29.195): 56 data bytes --- 155.31.29.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 02:17:30,290 - WARNING - Ping to IP 155.31.29.195 from VM ctest-vn1-vm1-15735958 failed 2025-08-14 02:17:30,290 - INFO - Adding interface with subnet_id a37051d4-e53b-4871-bec0-a79c2002268f, port_id None to router 83b3f905-f9a5-4a50-8ef6-f769561cbb5f 2025-08-14 02:17:30,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:17:30,669 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.31.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-14 02:17:30,670 - DEBUG - ping -s 56 -c 3 -W 1 155.31.29.195 2025-08-14 02:17:33,868 - DEBUG - PING 155.31.29.195 (155.31.29.195): 56 data bytes 64 bytes from 155.31.29.195: seq=1 ttl=63 time=3.913 ms 64 bytes from 155.31.29.195: seq=2 ttl=63 time=1.069 ms --- 155.31.29.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.069/2.491/3.913 ms 2025-08-14 02:17:33,868 - WARNING - Ping to IP 155.31.29.195 from VM ctest-vn1-vm1-15735958 failed 2025-08-14 02:17:34,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.31.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-14 02:17:34,868 - DEBUG - ping -s 56 -c 3 -W 1 155.31.29.195 2025-08-14 02:17:37,059 - DEBUG - PING 155.31.29.195 (155.31.29.195): 56 data bytes 64 bytes from 155.31.29.195: seq=0 ttl=63 time=2.657 ms 64 bytes from 155.31.29.195: seq=1 ttl=63 time=1.291 ms 64 bytes from 155.31.29.195: seq=2 ttl=63 time=0.972 ms --- 155.31.29.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/1.640/2.657 ms 2025-08-14 02:17:37,059 - INFO - Ping to IP 155.31.29.195 from VM ctest-vn1-vm1-15735958 passed 2025-08-14 02:17:37,059 - INFO - Deleting interface with subnet_id 367882aa-cf80-4861-aa47-e820dee2e695, port_id None from router 83b3f905-f9a5-4a50-8ef6-f769561cbb5f 2025-08-14 02:17:37,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:17:37,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.31.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-14 02:17:37,254 - DEBUG - ping -s 56 -c 3 -W 1 155.31.29.195 2025-08-14 02:17:40,445 - DEBUG - PING 155.31.29.195 (155.31.29.195): 56 data bytes --- 155.31.29.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 02:17:40,445 - WARNING - Ping to IP 155.31.29.195 from VM ctest-vn1-vm1-15735958 failed 2025-08-14 02:17:40,445 - INFO - Adding interface with subnet_id 367882aa-cf80-4861-aa47-e820dee2e695, port_id None to router 83b3f905-f9a5-4a50-8ef6-f769561cbb5f 2025-08-14 02:17:40,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:17:40,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.31.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-14 02:17:40,792 - DEBUG - ping -s 56 -c 3 -W 1 155.31.29.195 2025-08-14 02:17:42,973 - DEBUG - PING 155.31.29.195 (155.31.29.195): 56 data bytes 64 bytes from 155.31.29.195: seq=0 ttl=63 time=2.595 ms 64 bytes from 155.31.29.195: seq=1 ttl=63 time=1.013 ms 64 bytes from 155.31.29.195: seq=2 ttl=63 time=1.096 ms --- 155.31.29.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.013/1.568/2.595 ms 2025-08-14 02:17:42,973 - INFO - Ping to IP 155.31.29.195 from VM ctest-vn1-vm1-15735958 passed 2025-08-14 02:17:42,973 - INFO - Deleting interface with subnet_id a37051d4-e53b-4871-bec0-a79c2002268f, port_id None from router 83b3f905-f9a5-4a50-8ef6-f769561cbb5f 2025-08-14 02:17:43,161 - INFO - Deleting interface with subnet_id 367882aa-cf80-4861-aa47-e820dee2e695, port_id None from router 83b3f905-f9a5-4a50-8ef6-f769561cbb5f 2025-08-14 02:17:43,441 - INFO - Deleting VM ctest-vn2-vm1-99434223 2025-08-14 02:17:43,524 - INFO - Deleting VM ctest-vn1-vm1-15735958 2025-08-14 02:17:43,579 - INFO - Deleting VN ctest-vn2-04777715 2025-08-14 02:17:43,617 - DEBUG - VN 95caebf3-fc93-47ca-b91a-24fb6f4c5b1a still in use: Unable to complete operation on network 95caebf3-fc93-47ca-b91a-24fb6f4c5b1a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20efa721-85f9-4ffa-ac4c-f7efcdb06e3f'] 2025-08-14 02:17:43,617 - WARNING - Deleting VN ctest-vn2-04777715 failed..Will retry 2025-08-14 02:17:45,775 - DEBUG - Response for deleting network () 2025-08-14 02:17:45,776 - INFO - Deleting VN ctest-vn1-99531618 2025-08-14 02:17:45,923 - DEBUG - Response for deleting network () 2025-08-14 02:17:47,175 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:17:47,175 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45] 2025-08-14 02:17:47,175 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:17:47,838 - INFO - Deleted project: ctest-TestRouters-67530171, ID : f30c7480-f161-4170-9f57-75b79fe5ff88