2025-10-06 01:52:41,469 - INFO - Domain Default found not creating 2025-10-06 01:52:41,613 - INFO - Project ctest-TestRouters-03150560 not found, creating it 2025-10-06 01:52:42,095 - INFO - Created Project:ctest-TestRouters-03150560, ID : f8178777-a0a0-4160-8289-5bb0335645ab 2025-10-06 01:52:43,789 - INFO - ================================================================================ 2025-10-06 01:52:43,789 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-06 01:52:43,790 - 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-06 01:52:44,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.129': '0'}} with 2025-10-06 01:52:44,060 - INFO - Initial checks done. Running the testcase now 2025-10-06 01:52:44,060 - INFO - 2025-10-06 01:52:44,708 - DEBUG - Response for create_network : {'network': {'id': '85f61f3d-6c90-4223-86aa-e096779efb3c', 'name': 'ctest-vn1-55573203', 'tenant_id': 'f8178777a0a0416082895bb0335645ab', 'project_id': 'f8178777a0a0416082895bb0335645ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03150560', 'ctest-vn1-55573203'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:52:44,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '67268c76-5879-4d5f-8997-160a8ed57484', 'name': '', 'tenant_id': 'f8178777a0a0416082895bb0335645ab', 'network_id': '85f61f3d-6c90-4223-86aa-e096779efb3c', 'ip_version': 4, 'cidr': '222.203.116.192/26', 'allocation_pools': [{'start': '222.203.116.194', 'end': '222.203.116.254'}], 'gateway_ip': '222.203.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.203.116.194', 'tags': [], 'project_id': 'f8178777a0a0416082895bb0335645ab'}} 2025-10-06 01:52:44,925 - INFO - Created VN ctest-vn1-55573203 2025-10-06 01:52:44,975 - DEBUG - VN ctest-vn1-55573203 UUID is 85f61f3d-6c90-4223-86aa-e096779efb3c 2025-10-06 01:52:45,293 - DEBUG - Response for create_network : {'network': {'id': '78cfdadb-93ac-4e42-94b3-daba72b12049', 'name': 'ctest-vn2-27182262', 'tenant_id': 'f8178777a0a0416082895bb0335645ab', 'project_id': 'f8178777a0a0416082895bb0335645ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03150560', 'ctest-vn2-27182262'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:52:45,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dd9a474-e5aa-42b8-b378-a6c324bb4fb4', 'name': '', 'tenant_id': 'f8178777a0a0416082895bb0335645ab', 'network_id': '78cfdadb-93ac-4e42-94b3-daba72b12049', 'ip_version': 4, 'cidr': '90.156.152.64/26', 'allocation_pools': [{'start': '90.156.152.66', 'end': '90.156.152.126'}], 'gateway_ip': '90.156.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.156.152.66', 'tags': [], 'project_id': 'f8178777a0a0416082895bb0335645ab'}} 2025-10-06 01:52:45,496 - INFO - Created VN ctest-vn2-27182262 2025-10-06 01:52:45,547 - DEBUG - VN ctest-vn2-27182262 UUID is 78cfdadb-93ac-4e42-94b3-daba72b12049 2025-10-06 01:52:45,719 - DEBUG - Services list from nova: [, , ] 2025-10-06 01:52:46,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4216-1) 2025-10-06 01:52:48,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4216-1) 2025-10-06 01:52:48,326 - INFO - Adding interface with subnet_id 67268c76-5879-4d5f-8997-160a8ed57484, port_id None to router 4433ffbc-b4d9-4e54-8a1e-1f779252651c 2025-10-06 01:52:48,619 - INFO - Waiting for VM ctest-vn1-vm1-30603701 to be up.. 2025-10-06 01:52:48,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 01:52:53,805 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:52:53,805 - INFO - VM name : ctest-vn1-vm1-30603701 2025-10-06 01:52:53,877 - DEBUG - VM ctest-vn1-vm1-30603701 ID is 2103c779-f083-4e28-bdb7-02e2706a5628 2025-10-06 01:52:53,897 - DEBUG - VM ctest-vn1-vm1-30603701 launched on Node cn-jenkins-deploy-platform-ansible-os-4216-1 2025-10-06 01:52:53,984 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/2103c779-f083-4e28-bdb7-02e2706a5628 2025-10-06 01:52:54,326 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/2103c779-f083-4e28-bdb7-02e2706a5628 2025-10-06 01:52:54,359 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/0896c354-2b19-453d-bfc5-ba773703f739 2025-10-06 01:52:57,629 - 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 1026ms') 2025-10-06 01:52:57,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30603701 failed! 2025-10-06 01:52:57,691 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-03150560:ctest-vn1-55573203 is 222.203.116.193 and allocation pool is NOT set 2025-10-06 01:52:59,756 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.498 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.498/2.013/3.529/1.515 ms') 2025-10-06 01:52:59,756 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30603701 passed 2025-10-06 01:52:59,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:52:59,912 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30603701, IP 222.203.116.195, Port 22 2025-10-06 01:53:00,078 - DEBUG - VM ctest-vn1-vm1-30603701 is ready for SSH connections 2025-10-06 01:53:00,078 - INFO - Waiting for VM ctest-vn2-vm1-62159135 to be up.. 2025-10-06 01:53:00,174 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:53:00,174 - INFO - VM name : ctest-vn2-vm1-62159135 2025-10-06 01:53:00,265 - DEBUG - VM ctest-vn2-vm1-62159135 ID is a925e481-415c-4f2d-846a-d1c9f475e73a 2025-10-06 01:53:00,265 - DEBUG - VM ctest-vn2-vm1-62159135 launched on Node cn-jenkins-deploy-platform-ansible-os-4216-1 2025-10-06 01:53:00,348 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a925e481-415c-4f2d-846a-d1c9f475e73a 2025-10-06 01:53:00,357 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/7c35d063-71d5-44fb-ab21-860efc304336 2025-10-06 01:53:01,625 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.49 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.493/3.598/3.704/0.105 ms') 2025-10-06 01:53:01,625 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-62159135 passed 2025-10-06 01:53:01,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:01,780 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-62159135, IP 90.156.152.67, Port 22 2025-10-06 01:53:01,850 - 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-06 01:53:01,926 - DEBUG - VM ctest-vn2-vm1-62159135 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 01:53:06,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:06,927 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-62159135, IP 90.156.152.67, Port 22 2025-10-06 01:53:07,090 - DEBUG - VM ctest-vn2-vm1-62159135 is ready for SSH connections 2025-10-06 01:53:07,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:07,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-06 01:53:07,091 - DEBUG - ping -s 56 -c 3 -W 1 90.156.152.67 2025-10-06 01:53:12,115 - DEBUG - PING 90.156.152.67 (90.156.152.67): 56 data bytes --- 90.156.152.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 01:53:12,115 - WARNING - Ping to IP 90.156.152.67 from VM ctest-vn1-vm1-30603701 failed 2025-10-06 01:53:12,115 - INFO - Adding interface with subnet_id 7dd9a474-e5aa-42b8-b378-a6c324bb4fb4, port_id None to router 4433ffbc-b4d9-4e54-8a1e-1f779252651c 2025-10-06 01:53:12,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:12,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-06 01:53:12,332 - DEBUG - ping -s 56 -c 3 -W 1 90.156.152.67 2025-10-06 01:53:15,546 - DEBUG - PING 90.156.152.67 (90.156.152.67): 56 data bytes 64 bytes from 90.156.152.67: seq=1 ttl=63 time=2.959 ms 64 bytes from 90.156.152.67: seq=2 ttl=63 time=0.911 ms --- 90.156.152.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.911/1.935/2.959 ms 2025-10-06 01:53:15,547 - WARNING - Ping to IP 90.156.152.67 from VM ctest-vn1-vm1-30603701 failed 2025-10-06 01:53:16,547 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-06 01:53:16,547 - DEBUG - ping -s 56 -c 3 -W 1 90.156.152.67 2025-10-06 01:53:18,766 - DEBUG - PING 90.156.152.67 (90.156.152.67): 56 data bytes 64 bytes from 90.156.152.67: seq=0 ttl=63 time=1.609 ms 64 bytes from 90.156.152.67: seq=1 ttl=63 time=0.842 ms 64 bytes from 90.156.152.67: seq=2 ttl=63 time=0.802 ms --- 90.156.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.084/1.609 ms 2025-10-06 01:53:18,766 - INFO - Ping to IP 90.156.152.67 from VM ctest-vn1-vm1-30603701 passed 2025-10-06 01:53:18,766 - INFO - Deleting interface with subnet_id 67268c76-5879-4d5f-8997-160a8ed57484, port_id None from router 4433ffbc-b4d9-4e54-8a1e-1f779252651c 2025-10-06 01:53:18,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:18,879 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-06 01:53:18,879 - DEBUG - ping -s 56 -c 3 -W 1 90.156.152.67 2025-10-06 01:53:22,107 - DEBUG - PING 90.156.152.67 (90.156.152.67): 56 data bytes --- 90.156.152.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 01:53:22,107 - WARNING - Ping to IP 90.156.152.67 from VM ctest-vn1-vm1-30603701 failed 2025-10-06 01:53:22,107 - INFO - Adding interface with subnet_id 67268c76-5879-4d5f-8997-160a8ed57484, port_id None to router 4433ffbc-b4d9-4e54-8a1e-1f779252651c 2025-10-06 01:53:22,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:53:22,312 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-06 01:53:22,312 - DEBUG - ping -s 56 -c 3 -W 1 90.156.152.67 2025-10-06 01:53:24,539 - DEBUG - PING 90.156.152.67 (90.156.152.67): 56 data bytes 64 bytes from 90.156.152.67: seq=0 ttl=63 time=1.772 ms 64 bytes from 90.156.152.67: seq=1 ttl=63 time=0.867 ms 64 bytes from 90.156.152.67: seq=2 ttl=63 time=0.884 ms --- 90.156.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/1.174/1.772 ms 2025-10-06 01:53:24,539 - INFO - Ping to IP 90.156.152.67 from VM ctest-vn1-vm1-30603701 passed 2025-10-06 01:53:24,539 - INFO - Deleting interface with subnet_id 7dd9a474-e5aa-42b8-b378-a6c324bb4fb4, port_id None from router 4433ffbc-b4d9-4e54-8a1e-1f779252651c 2025-10-06 01:53:24,654 - INFO - Deleting interface with subnet_id 67268c76-5879-4d5f-8997-160a8ed57484, port_id None from router 4433ffbc-b4d9-4e54-8a1e-1f779252651c 2025-10-06 01:53:24,844 - INFO - Deleting VM ctest-vn2-vm1-62159135 2025-10-06 01:53:24,916 - INFO - Deleting VM ctest-vn1-vm1-30603701 2025-10-06 01:53:24,991 - INFO - Deleting VN ctest-vn2-27182262 2025-10-06 01:53:25,033 - DEBUG - VN 78cfdadb-93ac-4e42-94b3-daba72b12049 still in use: Unable to complete operation on network 78cfdadb-93ac-4e42-94b3-daba72b12049. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef7b3549-ed51-405c-89d2-6179edccbe5b'] 2025-10-06 01:53:25,033 - WARNING - Deleting VN ctest-vn2-27182262 failed..Will retry 2025-10-06 01:53:27,125 - DEBUG - Response for deleting network () 2025-10-06 01:53:27,125 - INFO - Deleting VN ctest-vn1-55573203 2025-10-06 01:53:27,214 - DEBUG - Response for deleting network () 2025-10-06 01:53:27,469 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 01:53:27,469 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-10-06 01:53:27,469 - INFO - -------------------------------------------------------------------------------- 2025-10-06 01:53:28,167 - INFO - Deleted project: ctest-TestRouters-03150560, ID : f8178777-a0a0-4160-8289-5bb0335645ab