2025-09-08 11:59:27,724 - INFO - Domain Default found not creating 2025-09-08 11:59:27,868 - INFO - Project ctest-TestRouters-24880913 not found, creating it 2025-09-08 11:59:28,314 - INFO - Created Project:ctest-TestRouters-24880913, ID : 4572eb1d-fd72-4812-958a-66444bab086a 2025-09-08 11:59:29,732 - INFO - ================================================================================ 2025-09-08 11:59:29,732 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-08 11:59:29,733 - 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-09-08 11:59:29,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-08 11:59:29,985 - INFO - Initial checks done. Running the testcase now 2025-09-08 11:59:29,985 - INFO - 2025-09-08 11:59:30,509 - DEBUG - Response for create_network : {'network': {'id': '432a7642-299c-4906-992e-60b47cc22219', 'name': 'ctest-vn1-63582931', 'tenant_id': '4572eb1dfd724812958a66444bab086a', 'project_id': '4572eb1dfd724812958a66444bab086a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24880913', 'ctest-vn1-63582931'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 11:59:30,706 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c72d03f-142c-45cd-9814-d36b25c95464', 'name': '', 'tenant_id': '4572eb1dfd724812958a66444bab086a', 'network_id': '432a7642-299c-4906-992e-60b47cc22219', 'ip_version': 4, 'cidr': '30.146.151.192/26', 'allocation_pools': [{'start': '30.146.151.194', 'end': '30.146.151.254'}], 'gateway_ip': '30.146.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.146.151.194', 'tags': [], 'project_id': '4572eb1dfd724812958a66444bab086a'}} 2025-09-08 11:59:30,723 - INFO - Created VN ctest-vn1-63582931 2025-09-08 11:59:30,776 - DEBUG - VN ctest-vn1-63582931 UUID is 432a7642-299c-4906-992e-60b47cc22219 2025-09-08 11:59:31,097 - DEBUG - Response for create_network : {'network': {'id': '1b358fd4-d791-4dc2-b275-d0afa4e77afe', 'name': 'ctest-vn2-99645410', 'tenant_id': '4572eb1dfd724812958a66444bab086a', 'project_id': '4572eb1dfd724812958a66444bab086a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24880913', 'ctest-vn2-99645410'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 11:59:31,302 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b36c241a-b422-40a9-ab92-edad720d1d3d', 'name': '', 'tenant_id': '4572eb1dfd724812958a66444bab086a', 'network_id': '1b358fd4-d791-4dc2-b275-d0afa4e77afe', 'ip_version': 4, 'cidr': '112.149.240.128/26', 'allocation_pools': [{'start': '112.149.240.130', 'end': '112.149.240.190'}], 'gateway_ip': '112.149.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.149.240.130', 'tags': [], 'project_id': '4572eb1dfd724812958a66444bab086a'}} 2025-09-08 11:59:31,319 - INFO - Created VN ctest-vn2-99645410 2025-09-08 11:59:31,372 - DEBUG - VN ctest-vn2-99645410 UUID is 1b358fd4-d791-4dc2-b275-d0afa4e77afe 2025-09-08 11:59:31,567 - DEBUG - Services list from nova: [, , ] 2025-09-08 11:59:32,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1) 2025-09-08 11:59:33,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1) 2025-09-08 11:59:33,827 - INFO - Adding interface with subnet_id 7c72d03f-142c-45cd-9814-d36b25c95464, port_id None to router f4c563de-cd5e-4627-a274-15a29589d0c0 2025-09-08 11:59:34,096 - INFO - Waiting for VM ctest-vn1-vm1-01294117 to be up.. 2025-09-08 11:59:34,188 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 11:59:39,260 - DEBUG - VM is in ACTIVE state now 2025-09-08 11:59:39,260 - INFO - VM name : ctest-vn1-vm1-01294117 2025-09-08 11:59:39,337 - DEBUG - VM ctest-vn1-vm1-01294117 ID is c470ba8c-2790-4d43-ad88-b3f73542ff26 2025-09-08 11:59:39,356 - DEBUG - VM ctest-vn1-vm1-01294117 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1 2025-09-08 11:59:39,429 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c470ba8c-2790-4d43-ad88-b3f73542ff26 2025-09-08 11:59:39,720 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c470ba8c-2790-4d43-ad88-b3f73542ff26 2025-09-08 11:59:39,748 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d3d7eb0a-a8a9-4612-9241-4e5712edb410 2025-09-08 11:59:42,994 - 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 1007ms') 2025-09-08 11:59:42,994 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01294117 failed! 2025-09-08 11:59:43,048 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-24880913:ctest-vn1-63582931 is 30.146.151.193 and allocation pool is NOT set 2025-09-08 11:59:45,112 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/1.791/3.220/1.428 ms') 2025-09-08 11:59:45,112 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01294117 passed 2025-09-08 11:59:45,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 11:59:45,260 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01294117, IP 30.146.151.195, Port 22 2025-09-08 11:59:45,424 - DEBUG - VM ctest-vn1-vm1-01294117 is ready for SSH connections 2025-09-08 11:59:45,424 - INFO - Waiting for VM ctest-vn2-vm1-84895114 to be up.. 2025-09-08 11:59:45,491 - DEBUG - VM is in ACTIVE state now 2025-09-08 11:59:45,491 - INFO - VM name : ctest-vn2-vm1-84895114 2025-09-08 11:59:45,556 - DEBUG - VM ctest-vn2-vm1-84895114 ID is efa6327d-6306-435d-88a8-22291a02a3d9 2025-09-08 11:59:45,557 - DEBUG - VM ctest-vn2-vm1-84895114 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1 2025-09-08 11:59:45,621 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/efa6327d-6306-435d-88a8-22291a02a3d9 2025-09-08 11:59:45,630 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1ae8b8d4-d8b4-4d1b-add2-280217ae9c31 2025-09-08 11:59:46,859 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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 = 0.379/1.974/3.570/1.595 ms') 2025-09-08 11:59:46,859 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84895114 passed 2025-09-08 11:59:47,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 11:59:47,012 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84895114, IP 112.149.240.131, Port 22 2025-09-08 11:59:47,167 - DEBUG - VM ctest-vn2-vm1-84895114 is ready for SSH connections 2025-09-08 11:59:47,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 11:59:47,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.149.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 11:59:47,168 - DEBUG - ping -s 56 -c 3 -W 1 112.149.240.131 2025-09-08 11:59:51,833 - DEBUG - PING 112.149.240.131 (112.149.240.131): 56 data bytes --- 112.149.240.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 11:59:51,834 - WARNING - Ping to IP 112.149.240.131 from VM ctest-vn1-vm1-01294117 failed 2025-09-08 11:59:51,834 - INFO - Adding interface with subnet_id b36c241a-b422-40a9-ab92-edad720d1d3d, port_id None to router f4c563de-cd5e-4627-a274-15a29589d0c0 2025-09-08 11:59:52,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 11:59:52,082 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.149.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 11:59:52,082 - DEBUG - ping -s 56 -c 3 -W 1 112.149.240.131 2025-09-08 11:59:54,303 - DEBUG - PING 112.149.240.131 (112.149.240.131): 56 data bytes 64 bytes from 112.149.240.131: seq=0 ttl=63 time=2.582 ms 64 bytes from 112.149.240.131: seq=1 ttl=63 time=0.790 ms 64 bytes from 112.149.240.131: seq=2 ttl=63 time=1.002 ms --- 112.149.240.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/1.458/2.582 ms 2025-09-08 11:59:54,303 - INFO - Ping to IP 112.149.240.131 from VM ctest-vn1-vm1-01294117 passed 2025-09-08 11:59:54,304 - INFO - Deleting interface with subnet_id 7c72d03f-142c-45cd-9814-d36b25c95464, port_id None from router f4c563de-cd5e-4627-a274-15a29589d0c0 2025-09-08 11:59:54,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 11:59:54,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.149.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 11:59:54,420 - DEBUG - ping -s 56 -c 3 -W 1 112.149.240.131 2025-09-08 11:59:57,618 - DEBUG - PING 112.149.240.131 (112.149.240.131): 56 data bytes --- 112.149.240.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 11:59:57,618 - WARNING - Ping to IP 112.149.240.131 from VM ctest-vn1-vm1-01294117 failed 2025-09-08 11:59:57,618 - INFO - Adding interface with subnet_id 7c72d03f-142c-45cd-9814-d36b25c95464, port_id None to router f4c563de-cd5e-4627-a274-15a29589d0c0 2025-09-08 11:59:57,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 11:59:57,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.149.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 11:59:57,838 - DEBUG - ping -s 56 -c 3 -W 1 112.149.240.131 2025-09-08 12:00:01,065 - DEBUG - PING 112.149.240.131 (112.149.240.131): 56 data bytes 64 bytes from 112.149.240.131: seq=1 ttl=63 time=1.315 ms 64 bytes from 112.149.240.131: seq=2 ttl=63 time=1.208 ms --- 112.149.240.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.208/1.261/1.315 ms 2025-09-08 12:00:01,065 - WARNING - Ping to IP 112.149.240.131 from VM ctest-vn1-vm1-01294117 failed 2025-09-08 12:00:02,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.149.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 12:00:02,066 - DEBUG - ping -s 56 -c 3 -W 1 112.149.240.131 2025-09-08 12:00:04,269 - DEBUG - PING 112.149.240.131 (112.149.240.131): 56 data bytes 64 bytes from 112.149.240.131: seq=0 ttl=63 time=4.726 ms 64 bytes from 112.149.240.131: seq=1 ttl=63 time=0.889 ms 64 bytes from 112.149.240.131: seq=2 ttl=63 time=0.867 ms --- 112.149.240.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/2.160/4.726 ms 2025-09-08 12:00:04,269 - INFO - Ping to IP 112.149.240.131 from VM ctest-vn1-vm1-01294117 passed 2025-09-08 12:00:04,269 - INFO - Deleting interface with subnet_id b36c241a-b422-40a9-ab92-edad720d1d3d, port_id None from router f4c563de-cd5e-4627-a274-15a29589d0c0 2025-09-08 12:00:04,444 - INFO - Deleting interface with subnet_id 7c72d03f-142c-45cd-9814-d36b25c95464, port_id None from router f4c563de-cd5e-4627-a274-15a29589d0c0 2025-09-08 12:00:04,609 - INFO - Deleting VM ctest-vn2-vm1-84895114 2025-09-08 12:00:04,697 - INFO - Deleting VM ctest-vn1-vm1-01294117 2025-09-08 12:00:04,770 - INFO - Deleting VN ctest-vn2-99645410 2025-09-08 12:00:04,810 - DEBUG - VN 1b358fd4-d791-4dc2-b275-d0afa4e77afe still in use: Unable to complete operation on network 1b358fd4-d791-4dc2-b275-d0afa4e77afe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42337c93-49ef-400c-b57c-7d2186ed6362'] 2025-09-08 12:00:04,810 - WARNING - Deleting VN ctest-vn2-99645410 failed..Will retry 2025-09-08 12:00:06,928 - DEBUG - Response for deleting network () 2025-09-08 12:00:06,928 - INFO - Deleting VN ctest-vn1-63582931 2025-09-08 12:00:07,052 - DEBUG - Response for deleting network () 2025-09-08 12:00:07,316 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 12:00:07,317 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-08 12:00:07,317 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:00:08,007 - INFO - Deleted project: ctest-TestRouters-24880913, ID : 4572eb1d-fd72-4812-958a-66444bab086a