2025-10-30 16:37:51,858 - INFO - Domain Default found not creating 2025-10-30 16:37:52,047 - INFO - Project ctest-TestRouters-17446077 not found, creating it 2025-10-30 16:37:52,556 - INFO - Created Project:ctest-TestRouters-17446077, ID : f8f9acae-1131-46f0-8529-11b88056e5dc 2025-10-30 16:37:54,252 - INFO - ================================================================================ 2025-10-30 16:37:54,252 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 16:37:54,252 - 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 16:37:54,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-10-30 16:37:54,521 - INFO - Initial checks done. Running the testcase now 2025-10-30 16:37:54,521 - INFO - 2025-10-30 16:37:55,174 - DEBUG - Response for create_network : {'network': {'id': '8400dab8-7d4d-4d44-a37f-62f8220420df', 'name': 'ctest-vn1-12369986', 'tenant_id': 'f8f9acae113146f0852911b88056e5dc', 'project_id': 'f8f9acae113146f0852911b88056e5dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17446077', 'ctest-vn1-12369986'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:37:55,345 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4107c42-8c1c-44a0-9daf-c5a3f28276ed', 'name': '', 'tenant_id': 'f8f9acae113146f0852911b88056e5dc', 'network_id': '8400dab8-7d4d-4d44-a37f-62f8220420df', 'ip_version': 4, 'cidr': '119.127.7.0/26', 'allocation_pools': [{'start': '119.127.7.2', 'end': '119.127.7.62'}], 'gateway_ip': '119.127.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.127.7.2', 'tags': [], 'project_id': 'f8f9acae113146f0852911b88056e5dc'}} 2025-10-30 16:37:55,369 - INFO - Created VN ctest-vn1-12369986 2025-10-30 16:37:55,425 - DEBUG - VN ctest-vn1-12369986 UUID is 8400dab8-7d4d-4d44-a37f-62f8220420df 2025-10-30 16:37:55,755 - DEBUG - Response for create_network : {'network': {'id': '883ee50a-0fdf-4510-9129-81814e5b73fe', 'name': 'ctest-vn2-83546377', 'tenant_id': 'f8f9acae113146f0852911b88056e5dc', 'project_id': 'f8f9acae113146f0852911b88056e5dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17446077', 'ctest-vn2-83546377'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:37:55,980 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e89637af-66be-4090-abe4-b60b35b8d471', 'name': '', 'tenant_id': 'f8f9acae113146f0852911b88056e5dc', 'network_id': '883ee50a-0fdf-4510-9129-81814e5b73fe', 'ip_version': 4, 'cidr': '222.1.158.128/26', 'allocation_pools': [{'start': '222.1.158.130', 'end': '222.1.158.190'}], 'gateway_ip': '222.1.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.1.158.130', 'tags': [], 'project_id': 'f8f9acae113146f0852911b88056e5dc'}} 2025-10-30 16:37:56,001 - INFO - Created VN ctest-vn2-83546377 2025-10-30 16:37:56,053 - DEBUG - VN ctest-vn2-83546377 UUID is 883ee50a-0fdf-4510-9129-81814e5b73fe 2025-10-30 16:37:56,252 - DEBUG - Services list from nova: [, , ] 2025-10-30 16:37:57,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:37:58,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:37:59,056 - INFO - Adding interface with subnet_id e4107c42-8c1c-44a0-9daf-c5a3f28276ed, port_id None to router b260be9d-5434-4927-b291-70962238ddb2 2025-10-30 16:37:59,365 - INFO - Waiting for VM ctest-vn1-vm1-90796959 to be up.. 2025-10-30 16:37:59,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 16:38:04,609 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:38:04,610 - INFO - VM name : ctest-vn1-vm1-90796959 2025-10-30 16:38:04,703 - DEBUG - VM ctest-vn1-vm1-90796959 ID is 0accd2e1-f3da-4449-8b5f-b5b29ecc72bb 2025-10-30 16:38:04,726 - DEBUG - VM ctest-vn1-vm1-90796959 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:38:04,822 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0accd2e1-f3da-4449-8b5f-b5b29ecc72bb 2025-10-30 16:38:05,193 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0accd2e1-f3da-4449-8b5f-b5b29ecc72bb 2025-10-30 16:38:05,238 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5112465c-7eda-4d83-bee1-dc123467a44d 2025-10-30 16:38:08,525 - 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 1012ms') 2025-10-30 16:38:08,526 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90796959 failed! 2025-10-30 16:38:08,581 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-17446077:ctest-vn1-12369986 is 119.127.7.1 and allocation pool is NOT set 2025-10-30 16:38:10,654 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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.458/5.740/10.022/4.282 ms') 2025-10-30 16:38:10,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90796959 passed 2025-10-30 16:38:10,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:38:10,809 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90796959, IP 119.127.7.3, Port 22 2025-10-30 16:38:10,979 - DEBUG - VM ctest-vn1-vm1-90796959 is ready for SSH connections 2025-10-30 16:38:10,979 - INFO - Waiting for VM ctest-vn2-vm1-52765442 to be up.. 2025-10-30 16:38:11,091 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:38:11,092 - INFO - VM name : ctest-vn2-vm1-52765442 2025-10-30 16:38:11,199 - DEBUG - VM ctest-vn2-vm1-52765442 ID is 59bbe3c3-c918-4362-8ec6-bdaa92427dc4 2025-10-30 16:38:11,199 - DEBUG - VM ctest-vn2-vm1-52765442 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:38:11,287 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/59bbe3c3-c918-4362-8ec6-bdaa92427dc4 2025-10-30 16:38:11,296 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d77cb493-f3be-4f7b-82a5-0b00f1df4072 2025-10-30 16:38:12,550 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.33 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.334/3.492/3.650/0.158 ms') 2025-10-30 16:38:12,550 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-52765442 passed 2025-10-30 16:38:12,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:38:12,713 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-52765442, IP 222.1.158.131, Port 22 2025-10-30 16:38:12,779 - 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 16:38:12,875 - DEBUG - VM ctest-vn2-vm1-52765442 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 16:38:17,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:38:17,876 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-52765442, IP 222.1.158.131, Port 22 2025-10-30 16:38:18,042 - DEBUG - VM ctest-vn2-vm1-52765442 is ready for SSH connections 2025-10-30 16:38:18,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:38:18,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.1.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:38:18,043 - DEBUG - ping -s 56 -c 3 -W 1 222.1.158.131 2025-10-30 16:38:23,276 - DEBUG - PING 222.1.158.131 (222.1.158.131): 56 data bytes --- 222.1.158.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 16:38:23,276 - WARNING - Ping to IP 222.1.158.131 from VM ctest-vn1-vm1-90796959 failed 2025-10-30 16:38:23,276 - INFO - Adding interface with subnet_id e89637af-66be-4090-abe4-b60b35b8d471, port_id None to router b260be9d-5434-4927-b291-70962238ddb2 2025-10-30 16:38:23,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:38:23,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.1.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:38:23,577 - DEBUG - ping -s 56 -c 3 -W 1 222.1.158.131 2025-10-30 16:38:26,835 - DEBUG - PING 222.1.158.131 (222.1.158.131): 56 data bytes 64 bytes from 222.1.158.131: seq=1 ttl=63 time=3.464 ms 64 bytes from 222.1.158.131: seq=2 ttl=63 time=1.339 ms --- 222.1.158.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.339/2.401/3.464 ms 2025-10-30 16:38:26,835 - WARNING - Ping to IP 222.1.158.131 from VM ctest-vn1-vm1-90796959 failed 2025-10-30 16:38:27,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.1.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:38:27,836 - DEBUG - ping -s 56 -c 3 -W 1 222.1.158.131 2025-10-30 16:38:30,080 - DEBUG - PING 222.1.158.131 (222.1.158.131): 56 data bytes 64 bytes from 222.1.158.131: seq=0 ttl=63 time=1.870 ms 64 bytes from 222.1.158.131: seq=1 ttl=63 time=1.220 ms 64 bytes from 222.1.158.131: seq=2 ttl=63 time=1.011 ms --- 222.1.158.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/1.367/1.870 ms 2025-10-30 16:38:30,080 - INFO - Ping to IP 222.1.158.131 from VM ctest-vn1-vm1-90796959 passed 2025-10-30 16:38:30,080 - INFO - Deleting interface with subnet_id e4107c42-8c1c-44a0-9daf-c5a3f28276ed, port_id None from router b260be9d-5434-4927-b291-70962238ddb2 2025-10-30 16:38:30,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:38:30,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.1.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:38:30,223 - DEBUG - ping -s 56 -c 3 -W 1 222.1.158.131 2025-10-30 16:38:33,459 - DEBUG - PING 222.1.158.131 (222.1.158.131): 56 data bytes --- 222.1.158.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 16:38:33,459 - WARNING - Ping to IP 222.1.158.131 from VM ctest-vn1-vm1-90796959 failed 2025-10-30 16:38:33,460 - INFO - Adding interface with subnet_id e4107c42-8c1c-44a0-9daf-c5a3f28276ed, port_id None to router b260be9d-5434-4927-b291-70962238ddb2 2025-10-30 16:38:33,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:38:33,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.1.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:38:33,710 - DEBUG - ping -s 56 -c 3 -W 1 222.1.158.131 2025-10-30 16:38:35,962 - DEBUG - PING 222.1.158.131 (222.1.158.131): 56 data bytes 64 bytes from 222.1.158.131: seq=0 ttl=63 time=1.885 ms 64 bytes from 222.1.158.131: seq=1 ttl=63 time=1.092 ms 64 bytes from 222.1.158.131: seq=2 ttl=63 time=1.059 ms --- 222.1.158.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.059/1.345/1.885 ms 2025-10-30 16:38:35,962 - INFO - Ping to IP 222.1.158.131 from VM ctest-vn1-vm1-90796959 passed 2025-10-30 16:38:35,962 - INFO - Deleting interface with subnet_id e89637af-66be-4090-abe4-b60b35b8d471, port_id None from router b260be9d-5434-4927-b291-70962238ddb2 2025-10-30 16:38:36,080 - INFO - Deleting interface with subnet_id e4107c42-8c1c-44a0-9daf-c5a3f28276ed, port_id None from router b260be9d-5434-4927-b291-70962238ddb2 2025-10-30 16:38:36,273 - INFO - Deleting VM ctest-vn2-vm1-52765442 2025-10-30 16:38:36,361 - INFO - Deleting VM ctest-vn1-vm1-90796959 2025-10-30 16:38:36,446 - INFO - Deleting VN ctest-vn2-83546377 2025-10-30 16:38:36,498 - DEBUG - VN 883ee50a-0fdf-4510-9129-81814e5b73fe still in use: Unable to complete operation on network 883ee50a-0fdf-4510-9129-81814e5b73fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85191d7a-b1b3-4ae1-8b33-c947aff951f1'] 2025-10-30 16:38:36,498 - WARNING - Deleting VN ctest-vn2-83546377 failed..Will retry 2025-10-30 16:38:38,619 - DEBUG - Response for deleting network () 2025-10-30 16:38:38,619 - INFO - Deleting VN ctest-vn1-12369986 2025-10-30 16:38:38,765 - DEBUG - Response for deleting network () 2025-10-30 16:38:39,027 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 16:38:39,027 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45] 2025-10-30 16:38:39,028 - INFO - -------------------------------------------------------------------------------- 2025-10-30 16:38:39,801 - INFO - Deleted project: ctest-TestRouters-17446077, ID : f8f9acae-1131-46f0-8529-11b88056e5dc