2025-10-30 22:05:40,638 - INFO - Domain Default found not creating 2025-10-30 22:05:40,813 - INFO - Project ctest-TestRouters-78270651 not found, creating it 2025-10-30 22:05:41,326 - INFO - Created Project:ctest-TestRouters-78270651, ID : d9f4b7fc-730f-453d-9015-a2146e378836 2025-10-30 22:05:43,045 - INFO - ================================================================================ 2025-10-30 22:05:43,045 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 22:05:43,045 - 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 22:05:43,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.5': '0'}} with 2025-10-30 22:05:43,317 - INFO - Initial checks done. Running the testcase now 2025-10-30 22:05:43,317 - INFO - 2025-10-30 22:05:43,961 - DEBUG - Response for create_network : {'network': {'id': 'bf41a5e5-cc81-40bc-aa22-47822f1fc8b8', 'name': 'ctest-vn1-91587917', 'tenant_id': 'd9f4b7fc730f453d9015a2146e378836', 'project_id': 'd9f4b7fc730f453d9015a2146e378836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78270651', 'ctest-vn1-91587917'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:05:44,208 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad8a992c-34ce-4b29-ba56-2c1df1275a42', 'name': '', 'tenant_id': 'd9f4b7fc730f453d9015a2146e378836', 'network_id': 'bf41a5e5-cc81-40bc-aa22-47822f1fc8b8', 'ip_version': 4, 'cidr': '157.62.88.128/26', 'allocation_pools': [{'start': '157.62.88.130', 'end': '157.62.88.190'}], 'gateway_ip': '157.62.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.62.88.130', 'tags': [], 'project_id': 'd9f4b7fc730f453d9015a2146e378836'}} 2025-10-30 22:05:44,231 - INFO - Created VN ctest-vn1-91587917 2025-10-30 22:05:44,286 - DEBUG - VN ctest-vn1-91587917 UUID is bf41a5e5-cc81-40bc-aa22-47822f1fc8b8 2025-10-30 22:05:44,653 - DEBUG - Response for create_network : {'network': {'id': 'c25b8d23-acc1-47b6-8593-ed847aaa56f4', 'name': 'ctest-vn2-11639620', 'tenant_id': 'd9f4b7fc730f453d9015a2146e378836', 'project_id': 'd9f4b7fc730f453d9015a2146e378836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78270651', 'ctest-vn2-11639620'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:05:44,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '91bbe2a4-7aae-4b63-b26b-77dc25ccfad9', 'name': '', 'tenant_id': 'd9f4b7fc730f453d9015a2146e378836', 'network_id': 'c25b8d23-acc1-47b6-8593-ed847aaa56f4', 'ip_version': 4, 'cidr': '187.144.8.0/26', 'allocation_pools': [{'start': '187.144.8.2', 'end': '187.144.8.62'}], 'gateway_ip': '187.144.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.144.8.2', 'tags': [], 'project_id': 'd9f4b7fc730f453d9015a2146e378836'}} 2025-10-30 22:05:44,900 - INFO - Created VN ctest-vn2-11639620 2025-10-30 22:05:44,950 - DEBUG - VN ctest-vn2-11639620 UUID is c25b8d23-acc1-47b6-8593-ed847aaa56f4 2025-10-30 22:05:45,124 - DEBUG - Services list from nova: [, , ] 2025-10-30 22:05:46,212 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4558-1) 2025-10-30 22:05:47,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4558-1) 2025-10-30 22:05:47,561 - INFO - Adding interface with subnet_id ad8a992c-34ce-4b29-ba56-2c1df1275a42, port_id None to router a98bf8db-b27d-448f-978f-94beb8784398 2025-10-30 22:05:47,866 - INFO - Waiting for VM ctest-vn1-vm1-86787332 to be up.. 2025-10-30 22:05:47,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 22:05:53,088 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:05:53,088 - INFO - VM name : ctest-vn1-vm1-86787332 2025-10-30 22:05:53,174 - DEBUG - VM ctest-vn1-vm1-86787332 ID is cf939da6-b2f4-4353-bf7d-2b57228d5861 2025-10-30 22:05:53,198 - DEBUG - VM ctest-vn1-vm1-86787332 launched on Node cn-jenkins-deploy-platform-ansible-os-4558-1 2025-10-30 22:05:53,278 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cf939da6-b2f4-4353-bf7d-2b57228d5861 2025-10-30 22:05:53,574 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cf939da6-b2f4-4353-bf7d-2b57228d5861 2025-10-30 22:05:53,611 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/89ee11e4-e6d8-4ee1-be26-01c7c382e71f 2025-10-30 22:05:56,873 - 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 1011ms') 2025-10-30 22:05:56,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86787332 failed! 2025-10-30 22:05:56,930 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-78270651:ctest-vn1-91587917 is 157.62.88.129 and allocation pool is NOT set 2025-10-30 22:05:58,999 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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.400/2.752/4.104/1.352 ms') 2025-10-30 22:05:58,999 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86787332 passed 2025-10-30 22:05:59,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:05:59,151 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86787332, IP 157.62.88.131, Port 22 2025-10-30 22:05:59,314 - DEBUG - VM ctest-vn1-vm1-86787332 is ready for SSH connections 2025-10-30 22:05:59,314 - INFO - Waiting for VM ctest-vn2-vm1-97106644 to be up.. 2025-10-30 22:05:59,406 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:05:59,406 - INFO - VM name : ctest-vn2-vm1-97106644 2025-10-30 22:05:59,494 - DEBUG - VM ctest-vn2-vm1-97106644 ID is 6c0c4c7c-3deb-49be-85c2-25a76f6fc517 2025-10-30 22:05:59,495 - DEBUG - VM ctest-vn2-vm1-97106644 launched on Node cn-jenkins-deploy-platform-ansible-os-4558-1 2025-10-30 22:05:59,574 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/6c0c4c7c-3deb-49be-85c2-25a76f6fc517 2025-10-30 22:05:59,585 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/131d13d4-6218-44cc-a16b-d36280967bb0 2025-10-30 22:06:00,834 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.794 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.794/2.609/4.425/1.815 ms') 2025-10-30 22:06:00,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-97106644 passed 2025-10-30 22:06:00,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:00,991 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-97106644, IP 187.144.8.3, Port 22 2025-10-30 22:06:01,056 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-30 22:06:01,142 - DEBUG - VM ctest-vn2-vm1-97106644 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 22:06:06,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:06,143 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-97106644, IP 187.144.8.3, Port 22 2025-10-30 22:06:06,302 - DEBUG - VM ctest-vn2-vm1-97106644 is ready for SSH connections 2025-10-30 22:06:06,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:06,303 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.144.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:06:06,303 - DEBUG - ping -s 56 -c 3 -W 1 187.144.8.3 2025-10-30 22:06:11,346 - DEBUG - PING 187.144.8.3 (187.144.8.3): 56 data bytes --- 187.144.8.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 22:06:11,346 - WARNING - Ping to IP 187.144.8.3 from VM ctest-vn1-vm1-86787332 failed 2025-10-30 22:06:11,346 - INFO - Adding interface with subnet_id 91bbe2a4-7aae-4b63-b26b-77dc25ccfad9, port_id None to router a98bf8db-b27d-448f-978f-94beb8784398 2025-10-30 22:06:11,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:11,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.144.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:06:11,580 - DEBUG - ping -s 56 -c 3 -W 1 187.144.8.3 2025-10-30 22:06:14,790 - DEBUG - PING 187.144.8.3 (187.144.8.3): 56 data bytes 64 bytes from 187.144.8.3: seq=1 ttl=63 time=5.528 ms 64 bytes from 187.144.8.3: seq=2 ttl=63 time=0.959 ms --- 187.144.8.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.959/3.243/5.528 ms 2025-10-30 22:06:14,791 - WARNING - Ping to IP 187.144.8.3 from VM ctest-vn1-vm1-86787332 failed 2025-10-30 22:06:15,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.144.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:06:15,792 - DEBUG - ping -s 56 -c 3 -W 1 187.144.8.3 2025-10-30 22:06:18,036 - DEBUG - PING 187.144.8.3 (187.144.8.3): 56 data bytes 64 bytes from 187.144.8.3: seq=0 ttl=63 time=1.702 ms 64 bytes from 187.144.8.3: seq=1 ttl=63 time=0.879 ms 64 bytes from 187.144.8.3: seq=2 ttl=63 time=0.816 ms --- 187.144.8.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.132/1.702 ms 2025-10-30 22:06:18,036 - INFO - Ping to IP 187.144.8.3 from VM ctest-vn1-vm1-86787332 passed 2025-10-30 22:06:18,036 - INFO - Deleting interface with subnet_id ad8a992c-34ce-4b29-ba56-2c1df1275a42, port_id None from router a98bf8db-b27d-448f-978f-94beb8784398 2025-10-30 22:06:18,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:18,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.144.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:06:18,154 - DEBUG - ping -s 56 -c 3 -W 1 187.144.8.3 2025-10-30 22:06:21,367 - DEBUG - PING 187.144.8.3 (187.144.8.3): 56 data bytes --- 187.144.8.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 22:06:21,367 - WARNING - Ping to IP 187.144.8.3 from VM ctest-vn1-vm1-86787332 failed 2025-10-30 22:06:21,368 - INFO - Adding interface with subnet_id ad8a992c-34ce-4b29-ba56-2c1df1275a42, port_id None to router a98bf8db-b27d-448f-978f-94beb8784398 2025-10-30 22:06:21,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:21,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.144.8.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:06:21,582 - DEBUG - ping -s 56 -c 3 -W 1 187.144.8.3 2025-10-30 22:06:23,790 - DEBUG - PING 187.144.8.3 (187.144.8.3): 56 data bytes 64 bytes from 187.144.8.3: seq=0 ttl=63 time=1.696 ms 64 bytes from 187.144.8.3: seq=1 ttl=63 time=1.055 ms 64 bytes from 187.144.8.3: seq=2 ttl=63 time=0.904 ms --- 187.144.8.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/1.218/1.696 ms 2025-10-30 22:06:23,792 - INFO - Ping to IP 187.144.8.3 from VM ctest-vn1-vm1-86787332 passed 2025-10-30 22:06:23,792 - INFO - Deleting interface with subnet_id 91bbe2a4-7aae-4b63-b26b-77dc25ccfad9, port_id None from router a98bf8db-b27d-448f-978f-94beb8784398 2025-10-30 22:06:23,910 - INFO - Deleting interface with subnet_id ad8a992c-34ce-4b29-ba56-2c1df1275a42, port_id None from router a98bf8db-b27d-448f-978f-94beb8784398 2025-10-30 22:06:24,075 - INFO - Deleting VM ctest-vn2-vm1-97106644 2025-10-30 22:06:24,147 - INFO - Deleting VM ctest-vn1-vm1-86787332 2025-10-30 22:06:24,226 - INFO - Deleting VN ctest-vn2-11639620 2025-10-30 22:06:24,275 - DEBUG - VN c25b8d23-acc1-47b6-8593-ed847aaa56f4 still in use: Unable to complete operation on network c25b8d23-acc1-47b6-8593-ed847aaa56f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a1b3721-2377-4e4a-a7d2-de47803aa478'] 2025-10-30 22:06:24,275 - WARNING - Deleting VN ctest-vn2-11639620 failed..Will retry 2025-10-30 22:06:26,389 - DEBUG - Response for deleting network () 2025-10-30 22:06:26,389 - INFO - Deleting VN ctest-vn1-91587917 2025-10-30 22:06:26,497 - DEBUG - Response for deleting network () 2025-10-30 22:06:26,768 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 22:06:26,768 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-10-30 22:06:26,768 - INFO - -------------------------------------------------------------------------------- 2025-10-30 22:06:27,433 - INFO - Deleted project: ctest-TestRouters-78270651, ID : d9f4b7fc-730f-453d-9015-a2146e378836