2025-11-20 16:57:24,209 - INFO - Domain Default found not creating 2025-11-20 16:57:24,360 - INFO - Project ctest-TestRouters-99848735 not found, creating it 2025-11-20 16:57:24,796 - INFO - Created Project:ctest-TestRouters-99848735, ID : 07e41b28-2bb9-4bcf-a374-6c26a538cd77 2025-11-20 16:57:26,244 - INFO - ================================================================================ 2025-11-20 16:57:26,244 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-20 16:57:26,244 - 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-11-20 16:57:26,510 - DEBUG - Nothing to compare xmpp stats {'10.0.0.154': {'10.20.0.252': '0'}} with 2025-11-20 16:57:26,510 - INFO - Initial checks done. Running the testcase now 2025-11-20 16:57:26,510 - INFO - 2025-11-20 16:57:27,064 - DEBUG - Response for create_network : {'network': {'id': 'a5e61c83-9ad5-4f7b-9f70-36a34dbd52a4', 'name': 'ctest-vn1-10190145', 'tenant_id': '07e41b282bb94bcfa3746c26a538cd77', 'project_id': '07e41b282bb94bcfa3746c26a538cd77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99848735', 'ctest-vn1-10190145'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 16:57:27,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '54ea3fc9-bd44-493e-9b8f-36fde869a1d7', 'name': '', 'tenant_id': '07e41b282bb94bcfa3746c26a538cd77', 'network_id': 'a5e61c83-9ad5-4f7b-9f70-36a34dbd52a4', 'ip_version': 4, 'cidr': '132.134.3.128/26', 'allocation_pools': [{'start': '132.134.3.130', 'end': '132.134.3.190'}], 'gateway_ip': '132.134.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.134.3.130', 'tags': [], 'project_id': '07e41b282bb94bcfa3746c26a538cd77'}} 2025-11-20 16:57:27,315 - INFO - Created VN ctest-vn1-10190145 2025-11-20 16:57:27,365 - DEBUG - VN ctest-vn1-10190145 UUID is a5e61c83-9ad5-4f7b-9f70-36a34dbd52a4 2025-11-20 16:57:27,716 - DEBUG - Response for create_network : {'network': {'id': 'a41af9f1-40ae-4b0b-95ee-6ef183b0ec78', 'name': 'ctest-vn2-40111343', 'tenant_id': '07e41b282bb94bcfa3746c26a538cd77', 'project_id': '07e41b282bb94bcfa3746c26a538cd77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99848735', 'ctest-vn2-40111343'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 16:57:27,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ea6b6be-73bb-43b6-8c24-51d69589c66f', 'name': '', 'tenant_id': '07e41b282bb94bcfa3746c26a538cd77', 'network_id': 'a41af9f1-40ae-4b0b-95ee-6ef183b0ec78', 'ip_version': 4, 'cidr': '36.189.107.64/26', 'allocation_pools': [{'start': '36.189.107.66', 'end': '36.189.107.126'}], 'gateway_ip': '36.189.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.189.107.66', 'tags': [], 'project_id': '07e41b282bb94bcfa3746c26a538cd77'}} 2025-11-20 16:57:27,965 - INFO - Created VN ctest-vn2-40111343 2025-11-20 16:57:28,017 - DEBUG - VN ctest-vn2-40111343 UUID is a41af9f1-40ae-4b0b-95ee-6ef183b0ec78 2025-11-20 16:57:28,224 - DEBUG - Services list from nova: [, , ] 2025-11-20 16:57:29,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4780-1) 2025-11-20 16:57:30,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4780-1) 2025-11-20 16:57:30,529 - INFO - Adding interface with subnet_id 54ea3fc9-bd44-493e-9b8f-36fde869a1d7, port_id None to router f4acb882-94fc-4289-9554-e7e7c294a054 2025-11-20 16:57:30,782 - INFO - Waiting for VM ctest-vn1-vm1-32798034 to be up.. 2025-11-20 16:57:30,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 16:57:35,955 - DEBUG - VM is in ACTIVE state now 2025-11-20 16:57:35,955 - INFO - VM name : ctest-vn1-vm1-32798034 2025-11-20 16:57:36,023 - DEBUG - VM ctest-vn1-vm1-32798034 ID is 3de75dbb-ab22-48ac-8578-0a8b7611b74e 2025-11-20 16:57:36,041 - DEBUG - VM ctest-vn1-vm1-32798034 launched on Node cn-jenkins-deploy-platform-ansible-os-4780-1 2025-11-20 16:57:36,109 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/3de75dbb-ab22-48ac-8578-0a8b7611b74e 2025-11-20 16:57:36,404 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/3de75dbb-ab22-48ac-8578-0a8b7611b74e 2025-11-20 16:57:36,436 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/0168cd7b-361e-41fa-8149-c15d595d671c 2025-11-20 16:57:39,673 - 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 1004ms') 2025-11-20 16:57:39,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32798034 failed! 2025-11-20 16:57:39,725 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99848735:ctest-vn1-10190145 is 132.134.3.129 and allocation pool is NOT set 2025-11-20 16:57:41,783 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/1.724/3.043/1.318 ms') 2025-11-20 16:57:41,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32798034 passed 2025-11-20 16:57:41,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:41,933 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32798034, IP 132.134.3.131, Port 22 2025-11-20 16:57:42,095 - DEBUG - VM ctest-vn1-vm1-32798034 is ready for SSH connections 2025-11-20 16:57:42,095 - INFO - Waiting for VM ctest-vn2-vm1-81097614 to be up.. 2025-11-20 16:57:42,163 - DEBUG - VM is in ACTIVE state now 2025-11-20 16:57:42,163 - INFO - VM name : ctest-vn2-vm1-81097614 2025-11-20 16:57:42,231 - DEBUG - VM ctest-vn2-vm1-81097614 ID is 44a43cb6-9831-4ebf-9100-67bdc2e301cf 2025-11-20 16:57:42,231 - DEBUG - VM ctest-vn2-vm1-81097614 launched on Node cn-jenkins-deploy-platform-ansible-os-4780-1 2025-11-20 16:57:42,303 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/44a43cb6-9831-4ebf-9100-67bdc2e301cf 2025-11-20 16:57:42,310 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/2151b2cb-8f0b-4210-bb8b-9dd2cb90cb0b 2025-11-20 16:57:43,544 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/2.031/3.639/1.607 ms') 2025-11-20 16:57:43,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-81097614 passed 2025-11-20 16:57:43,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:43,693 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-81097614, IP 36.189.107.67, Port 22 2025-11-20 16:57:43,857 - DEBUG - VM ctest-vn2-vm1-81097614 is ready for SSH connections 2025-11-20 16:57:43,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:43,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.189.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2025-11-20 16:57:43,857 - DEBUG - ping -s 56 -c 3 -W 1 36.189.107.67 2025-11-20 16:57:48,512 - DEBUG - PING 36.189.107.67 (36.189.107.67): 56 data bytes --- 36.189.107.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 16:57:48,512 - WARNING - Ping to IP 36.189.107.67 from VM ctest-vn1-vm1-32798034 failed 2025-11-20 16:57:48,512 - INFO - Adding interface with subnet_id 1ea6b6be-73bb-43b6-8c24-51d69589c66f, port_id None to router f4acb882-94fc-4289-9554-e7e7c294a054 2025-11-20 16:57:48,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:48,725 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.189.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2025-11-20 16:57:48,725 - DEBUG - ping -s 56 -c 3 -W 1 36.189.107.67 2025-11-20 16:57:51,930 - DEBUG - PING 36.189.107.67 (36.189.107.67): 56 data bytes 64 bytes from 36.189.107.67: seq=1 ttl=63 time=2.532 ms 64 bytes from 36.189.107.67: seq=2 ttl=63 time=0.843 ms --- 36.189.107.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.843/1.687/2.532 ms 2025-11-20 16:57:51,930 - WARNING - Ping to IP 36.189.107.67 from VM ctest-vn1-vm1-32798034 failed 2025-11-20 16:57:52,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.189.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2025-11-20 16:57:52,931 - DEBUG - ping -s 56 -c 3 -W 1 36.189.107.67 2025-11-20 16:57:55,143 - DEBUG - PING 36.189.107.67 (36.189.107.67): 56 data bytes 64 bytes from 36.189.107.67: seq=0 ttl=63 time=1.287 ms 64 bytes from 36.189.107.67: seq=1 ttl=63 time=0.738 ms 64 bytes from 36.189.107.67: seq=2 ttl=63 time=0.860 ms --- 36.189.107.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/0.961/1.287 ms 2025-11-20 16:57:55,143 - INFO - Ping to IP 36.189.107.67 from VM ctest-vn1-vm1-32798034 passed 2025-11-20 16:57:55,143 - INFO - Deleting interface with subnet_id 54ea3fc9-bd44-493e-9b8f-36fde869a1d7, port_id None from router f4acb882-94fc-4289-9554-e7e7c294a054 2025-11-20 16:57:55,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:55,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.189.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2025-11-20 16:57:55,243 - DEBUG - ping -s 56 -c 3 -W 1 36.189.107.67 2025-11-20 16:57:58,450 - DEBUG - PING 36.189.107.67 (36.189.107.67): 56 data bytes --- 36.189.107.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 16:57:58,451 - WARNING - Ping to IP 36.189.107.67 from VM ctest-vn1-vm1-32798034 failed 2025-11-20 16:57:58,451 - INFO - Adding interface with subnet_id 54ea3fc9-bd44-493e-9b8f-36fde869a1d7, port_id None to router f4acb882-94fc-4289-9554-e7e7c294a054 2025-11-20 16:57:58,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:58,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.189.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2025-11-20 16:57:58,639 - DEBUG - ping -s 56 -c 3 -W 1 36.189.107.67 2025-11-20 16:58:00,889 - DEBUG - PING 36.189.107.67 (36.189.107.67): 56 data bytes 64 bytes from 36.189.107.67: seq=0 ttl=63 time=1.710 ms 64 bytes from 36.189.107.67: seq=1 ttl=63 time=0.764 ms 64 bytes from 36.189.107.67: seq=2 ttl=63 time=0.717 ms --- 36.189.107.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.717/1.063/1.710 ms 2025-11-20 16:58:00,889 - INFO - Ping to IP 36.189.107.67 from VM ctest-vn1-vm1-32798034 passed 2025-11-20 16:58:00,889 - INFO - Deleting interface with subnet_id 1ea6b6be-73bb-43b6-8c24-51d69589c66f, port_id None from router f4acb882-94fc-4289-9554-e7e7c294a054 2025-11-20 16:58:00,990 - INFO - Deleting interface with subnet_id 54ea3fc9-bd44-493e-9b8f-36fde869a1d7, port_id None from router f4acb882-94fc-4289-9554-e7e7c294a054 2025-11-20 16:58:01,160 - INFO - Deleting VM ctest-vn2-vm1-81097614 2025-11-20 16:58:01,231 - INFO - Deleting VM ctest-vn1-vm1-32798034 2025-11-20 16:58:01,304 - INFO - Deleting VN ctest-vn2-40111343 2025-11-20 16:58:01,336 - DEBUG - VN a41af9f1-40ae-4b0b-95ee-6ef183b0ec78 still in use: Unable to complete operation on network a41af9f1-40ae-4b0b-95ee-6ef183b0ec78. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7933d134-48d5-4f0f-8c43-8836f7ed463e'] 2025-11-20 16:58:01,336 - WARNING - Deleting VN ctest-vn2-40111343 failed..Will retry 2025-11-20 16:58:03,429 - DEBUG - Response for deleting network () 2025-11-20 16:58:03,429 - INFO - Deleting VN ctest-vn1-10190145 2025-11-20 16:58:03,518 - DEBUG - Response for deleting network () 2025-11-20 16:58:03,770 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 16:58:03,770 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-20 16:58:03,770 - INFO - -------------------------------------------------------------------------------- 2025-11-20 16:58:04,426 - INFO - Deleted project: ctest-TestRouters-99848735, ID : 07e41b28-2bb9-4bcf-a374-6c26a538cd77