2025-11-27 02:07:25,708 - INFO - Domain Default found not creating 2025-11-27 02:07:25,878 - INFO - Project ctest-TestRouters-49992389 not found, creating it 2025-11-27 02:07:26,365 - INFO - Created Project:ctest-TestRouters-49992389, ID : 4706be4d-dd01-4c80-a899-333e3461ed8c 2025-11-27 02:07:28,059 - INFO - ================================================================================ 2025-11-27 02:07:28,059 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-27 02:07:28,064 - 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-27 02:07:28,318 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-27 02:07:28,318 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:07:28,318 - INFO - 2025-11-27 02:07:29,002 - DEBUG - Response for create_network : {'network': {'id': 'e4adae02-14a4-40d6-9144-9599abb040ba', 'name': 'ctest-vn1-43823664', 'tenant_id': '4706be4ddd014c80a899333e3461ed8c', 'project_id': '4706be4ddd014c80a899333e3461ed8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-49992389', 'ctest-vn1-43823664'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:07:29,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '70dcc5a4-180f-4d65-b07b-1080293202d3', 'name': '', 'tenant_id': '4706be4ddd014c80a899333e3461ed8c', 'network_id': 'e4adae02-14a4-40d6-9144-9599abb040ba', 'ip_version': 4, 'cidr': '132.41.231.0/26', 'allocation_pools': [{'start': '132.41.231.2', 'end': '132.41.231.62'}], 'gateway_ip': '132.41.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.41.231.2', 'tags': [], 'project_id': '4706be4ddd014c80a899333e3461ed8c'}} 2025-11-27 02:07:29,243 - INFO - Created VN ctest-vn1-43823664 2025-11-27 02:07:29,300 - DEBUG - VN ctest-vn1-43823664 UUID is e4adae02-14a4-40d6-9144-9599abb040ba 2025-11-27 02:07:29,644 - DEBUG - Response for create_network : {'network': {'id': 'd5c393d0-0da0-4c17-b50a-2206c7ce4fca', 'name': 'ctest-vn2-81106316', 'tenant_id': '4706be4ddd014c80a899333e3461ed8c', 'project_id': '4706be4ddd014c80a899333e3461ed8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-49992389', 'ctest-vn2-81106316'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:07:29,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e8247ab-38d8-4fdd-ba2d-b5fe6cb4c490', 'name': '', 'tenant_id': '4706be4ddd014c80a899333e3461ed8c', 'network_id': 'd5c393d0-0da0-4c17-b50a-2206c7ce4fca', 'ip_version': 4, 'cidr': '31.13.165.128/26', 'allocation_pools': [{'start': '31.13.165.130', 'end': '31.13.165.190'}], 'gateway_ip': '31.13.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.13.165.130', 'tags': [], 'project_id': '4706be4ddd014c80a899333e3461ed8c'}} 2025-11-27 02:07:29,835 - INFO - Created VN ctest-vn2-81106316 2025-11-27 02:07:29,888 - DEBUG - VN ctest-vn2-81106316 UUID is d5c393d0-0da0-4c17-b50a-2206c7ce4fca 2025-11-27 02:07:30,064 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:07:31,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4817-1) 2025-11-27 02:07:32,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4817-1) 2025-11-27 02:07:32,681 - INFO - Adding interface with subnet_id 70dcc5a4-180f-4d65-b07b-1080293202d3, port_id None to router 97d46308-6a6d-4130-b131-234e576e55aa 2025-11-27 02:07:32,957 - INFO - Waiting for VM ctest-vn1-vm1-80447995 to be up.. 2025-11-27 02:07:33,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:07:38,136 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:07:38,136 - INFO - VM name : ctest-vn1-vm1-80447995 2025-11-27 02:07:38,217 - DEBUG - VM ctest-vn1-vm1-80447995 ID is a4772499-ecc4-4701-8fdd-11e4b6155ca5 2025-11-27 02:07:38,239 - DEBUG - VM ctest-vn1-vm1-80447995 launched on Node cn-jenkins-deploy-platform-ansible-os-4817-1 2025-11-27 02:07:38,320 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a4772499-ecc4-4701-8fdd-11e4b6155ca5 2025-11-27 02:07:38,659 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a4772499-ecc4-4701-8fdd-11e4b6155ca5 2025-11-27 02:07:38,702 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c6a96586-bc1b-4c60-8d7f-e483eabe6e9c 2025-11-27 02:07:41,970 - 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 1016ms') 2025-11-27 02:07:41,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80447995 failed! 2025-11-27 02:07:42,032 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-49992389:ctest-vn1-43823664 is 132.41.231.1 and allocation pool is NOT set 2025-11-27 02:07:44,096 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.97 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 = 2.974/3.285/3.597/0.311 ms') 2025-11-27 02:07:44,096 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80447995 passed 2025-11-27 02:07:44,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:44,244 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80447995, IP 132.41.231.3, Port 22 2025-11-27 02:07:44,399 - DEBUG - VM ctest-vn1-vm1-80447995 is ready for SSH connections 2025-11-27 02:07:44,399 - INFO - Waiting for VM ctest-vn2-vm1-45579044 to be up.. 2025-11-27 02:07:44,479 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:07:44,479 - INFO - VM name : ctest-vn2-vm1-45579044 2025-11-27 02:07:44,563 - DEBUG - VM ctest-vn2-vm1-45579044 ID is db8565e8-ee18-497e-9954-a83a7cf5752a 2025-11-27 02:07:44,563 - DEBUG - VM ctest-vn2-vm1-45579044 launched on Node cn-jenkins-deploy-platform-ansible-os-4817-1 2025-11-27 02:07:44,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/db8565e8-ee18-497e-9954-a83a7cf5752a 2025-11-27 02:07:44,653 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c6f31b53-52ae-424d-a8ef-14c64db85307 2025-11-27 02:07:45,900 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.980/3.539/1.559 ms') 2025-11-27 02:07:45,900 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-45579044 passed 2025-11-27 02:07:46,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:46,048 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-45579044, IP 31.13.165.131, Port 22 2025-11-27 02:07:46,203 - DEBUG - VM ctest-vn2-vm1-45579044 is ready for SSH connections 2025-11-27 02:07:46,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:46,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.13.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-27 02:07:46,204 - DEBUG - ping -s 56 -c 3 -W 1 31.13.165.131 2025-11-27 02:07:51,267 - DEBUG - PING 31.13.165.131 (31.13.165.131): 56 data bytes --- 31.13.165.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 02:07:51,268 - WARNING - Ping to IP 31.13.165.131 from VM ctest-vn1-vm1-80447995 failed 2025-11-27 02:07:51,268 - INFO - Adding interface with subnet_id 5e8247ab-38d8-4fdd-ba2d-b5fe6cb4c490, port_id None to router 97d46308-6a6d-4130-b131-234e576e55aa 2025-11-27 02:07:51,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:51,507 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.13.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-27 02:07:51,507 - DEBUG - ping -s 56 -c 3 -W 1 31.13.165.131 2025-11-27 02:07:54,737 - DEBUG - PING 31.13.165.131 (31.13.165.131): 56 data bytes 64 bytes from 31.13.165.131: seq=1 ttl=63 time=3.773 ms 64 bytes from 31.13.165.131: seq=2 ttl=63 time=0.963 ms --- 31.13.165.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.963/2.368/3.773 ms 2025-11-27 02:07:54,737 - WARNING - Ping to IP 31.13.165.131 from VM ctest-vn1-vm1-80447995 failed 2025-11-27 02:07:55,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.13.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-27 02:07:55,738 - DEBUG - ping -s 56 -c 3 -W 1 31.13.165.131 2025-11-27 02:07:57,964 - DEBUG - PING 31.13.165.131 (31.13.165.131): 56 data bytes 64 bytes from 31.13.165.131: seq=0 ttl=63 time=1.725 ms 64 bytes from 31.13.165.131: seq=1 ttl=63 time=1.087 ms 64 bytes from 31.13.165.131: seq=2 ttl=63 time=0.865 ms --- 31.13.165.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.225/1.725 ms 2025-11-27 02:07:57,965 - INFO - Ping to IP 31.13.165.131 from VM ctest-vn1-vm1-80447995 passed 2025-11-27 02:07:57,965 - INFO - Deleting interface with subnet_id 70dcc5a4-180f-4d65-b07b-1080293202d3, port_id None from router 97d46308-6a6d-4130-b131-234e576e55aa 2025-11-27 02:07:58,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:58,084 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.13.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-27 02:07:58,084 - DEBUG - ping -s 56 -c 3 -W 1 31.13.165.131 2025-11-27 02:08:01,308 - DEBUG - PING 31.13.165.131 (31.13.165.131): 56 data bytes --- 31.13.165.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 02:08:01,308 - WARNING - Ping to IP 31.13.165.131 from VM ctest-vn1-vm1-80447995 failed 2025-11-27 02:08:01,309 - INFO - Adding interface with subnet_id 70dcc5a4-180f-4d65-b07b-1080293202d3, port_id None to router 97d46308-6a6d-4130-b131-234e576e55aa 2025-11-27 02:08:01,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:08:01,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.13.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-27 02:08:01,557 - DEBUG - ping -s 56 -c 3 -W 1 31.13.165.131 2025-11-27 02:08:03,803 - DEBUG - PING 31.13.165.131 (31.13.165.131): 56 data bytes 64 bytes from 31.13.165.131: seq=0 ttl=63 time=1.836 ms 64 bytes from 31.13.165.131: seq=1 ttl=63 time=1.096 ms 64 bytes from 31.13.165.131: seq=2 ttl=63 time=1.087 ms --- 31.13.165.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.087/1.339/1.836 ms 2025-11-27 02:08:03,803 - INFO - Ping to IP 31.13.165.131 from VM ctest-vn1-vm1-80447995 passed 2025-11-27 02:08:03,803 - INFO - Deleting interface with subnet_id 5e8247ab-38d8-4fdd-ba2d-b5fe6cb4c490, port_id None from router 97d46308-6a6d-4130-b131-234e576e55aa 2025-11-27 02:08:03,939 - INFO - Deleting interface with subnet_id 70dcc5a4-180f-4d65-b07b-1080293202d3, port_id None from router 97d46308-6a6d-4130-b131-234e576e55aa 2025-11-27 02:08:04,169 - INFO - Deleting VM ctest-vn2-vm1-45579044 2025-11-27 02:08:04,266 - INFO - Deleting VM ctest-vn1-vm1-80447995 2025-11-27 02:08:04,350 - INFO - Deleting VN ctest-vn2-81106316 2025-11-27 02:08:04,390 - DEBUG - VN d5c393d0-0da0-4c17-b50a-2206c7ce4fca still in use: Unable to complete operation on network d5c393d0-0da0-4c17-b50a-2206c7ce4fca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-633f5334-95f2-44e7-b84d-352b7d6f88fa'] 2025-11-27 02:08:04,390 - WARNING - Deleting VN ctest-vn2-81106316 failed..Will retry 2025-11-27 02:08:06,493 - DEBUG - Response for deleting network () 2025-11-27 02:08:06,493 - INFO - Deleting VN ctest-vn1-43823664 2025-11-27 02:08:06,610 - DEBUG - Response for deleting network () 2025-11-27 02:08:06,866 - DEBUG - No XMPP flaps were noticed during the test 2025-11-27 02:08:06,866 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-27 02:08:06,866 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:08:07,572 - INFO - Deleted project: ctest-TestRouters-49992389, ID : 4706be4d-dd01-4c80-a899-333e3461ed8c