2025-08-11 18:31:53,575 - INFO - Domain Default found not creating 2025-08-11 18:31:53,703 - INFO - Project ctest-TestRouters-90868518 not found, creating it 2025-08-11 18:31:54,176 - INFO - Created Project:ctest-TestRouters-90868518, ID : 40cae489-eff1-475f-bc42-54c0abf4fe53 2025-08-11 18:31:55,570 - INFO - ================================================================================ 2025-08-11 18:31:55,571 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 18:31:55,571 - 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-08-11 18:31:55,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-08-11 18:31:55,836 - INFO - Initial checks done. Running the testcase now 2025-08-11 18:31:55,836 - INFO - 2025-08-11 18:31:56,390 - DEBUG - Response for create_network : {'network': {'id': '89ef1ead-e32a-47e7-a80c-7766ee496557', 'name': 'ctest-vn1-96500469', 'tenant_id': '40cae489eff1475fbc4254c0abf4fe53', 'project_id': '40cae489eff1475fbc4254c0abf4fe53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90868518', 'ctest-vn1-96500469'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 18:31:56,607 - DEBUG - Response for create_subnet : {'subnet': {'id': '88aaa34c-cc74-4825-afbb-499da24ae13d', 'name': '', 'tenant_id': '40cae489eff1475fbc4254c0abf4fe53', 'network_id': '89ef1ead-e32a-47e7-a80c-7766ee496557', 'ip_version': 4, 'cidr': '42.166.42.192/26', 'allocation_pools': [{'start': '42.166.42.194', 'end': '42.166.42.254'}], 'gateway_ip': '42.166.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.166.42.194', 'tags': [], 'project_id': '40cae489eff1475fbc4254c0abf4fe53'}} 2025-08-11 18:31:56,629 - INFO - Created VN ctest-vn1-96500469 2025-08-11 18:31:56,681 - DEBUG - VN ctest-vn1-96500469 UUID is 89ef1ead-e32a-47e7-a80c-7766ee496557 2025-08-11 18:31:57,018 - DEBUG - Response for create_network : {'network': {'id': '46a0b65a-3f99-436d-9cb2-2bea188ea0bb', 'name': 'ctest-vn2-16984692', 'tenant_id': '40cae489eff1475fbc4254c0abf4fe53', 'project_id': '40cae489eff1475fbc4254c0abf4fe53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90868518', 'ctest-vn2-16984692'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 18:31:57,260 - DEBUG - Response for create_subnet : {'subnet': {'id': '837e89f9-b3ad-4d75-8b8c-ee2371559414', 'name': '', 'tenant_id': '40cae489eff1475fbc4254c0abf4fe53', 'network_id': '46a0b65a-3f99-436d-9cb2-2bea188ea0bb', 'ip_version': 4, 'cidr': '204.129.209.64/26', 'allocation_pools': [{'start': '204.129.209.66', 'end': '204.129.209.126'}], 'gateway_ip': '204.129.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.129.209.66', 'tags': [], 'project_id': '40cae489eff1475fbc4254c0abf4fe53'}} 2025-08-11 18:31:57,277 - INFO - Created VN ctest-vn2-16984692 2025-08-11 18:31:57,333 - DEBUG - VN ctest-vn2-16984692 UUID is 46a0b65a-3f99-436d-9cb2-2bea188ea0bb 2025-08-11 18:31:57,578 - DEBUG - Services list from nova: [, , ] 2025-08-11 18:31:58,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3820-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3820-1) 2025-08-11 18:31:59,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3820-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3820-1) 2025-08-11 18:31:59,737 - INFO - Adding interface with subnet_id 88aaa34c-cc74-4825-afbb-499da24ae13d, port_id None to router fb2c1a45-9dd9-412e-b46e-d0c91dd50c6a 2025-08-11 18:32:00,012 - INFO - Waiting for VM ctest-vn1-vm1-87615813 to be up.. 2025-08-11 18:32:00,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 18:32:05,182 - DEBUG - VM is in ACTIVE state now 2025-08-11 18:32:05,182 - INFO - VM name : ctest-vn1-vm1-87615813 2025-08-11 18:32:05,249 - DEBUG - VM ctest-vn1-vm1-87615813 ID is bd86d3c8-2726-4dee-b1b1-01a69e4db02a 2025-08-11 18:32:05,266 - DEBUG - VM ctest-vn1-vm1-87615813 launched on Node cn-jenkins-deploy-platform-ansible-os-3820-1 2025-08-11 18:32:05,332 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/bd86d3c8-2726-4dee-b1b1-01a69e4db02a 2025-08-11 18:32:05,621 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/bd86d3c8-2726-4dee-b1b1-01a69e4db02a 2025-08-11 18:32:05,654 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8601aa3a-e6b9-4a0c-93e0-8b349e472234 2025-08-11 18:32:08,919 - 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 1020ms') 2025-08-11 18:32:08,919 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87615813 failed! 2025-08-11 18:32:08,973 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-90868518:ctest-vn1-96500469 is 42.166.42.193 and allocation pool is NOT set 2025-08-11 18:32:11,030 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.292 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.292/1.458/2.625/1.166 ms') 2025-08-11 18:32:11,030 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87615813 passed 2025-08-11 18:32:11,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:32:11,178 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87615813, IP 42.166.42.195, Port 22 2025-08-11 18:32:11,333 - DEBUG - VM ctest-vn1-vm1-87615813 is ready for SSH connections 2025-08-11 18:32:11,333 - INFO - Waiting for VM ctest-vn2-vm1-34539585 to be up.. 2025-08-11 18:32:11,400 - DEBUG - VM is in ACTIVE state now 2025-08-11 18:32:11,401 - INFO - VM name : ctest-vn2-vm1-34539585 2025-08-11 18:32:11,470 - DEBUG - VM ctest-vn2-vm1-34539585 ID is 167747fa-0d57-45f1-99ef-bcddf56bab67 2025-08-11 18:32:11,470 - DEBUG - VM ctest-vn2-vm1-34539585 launched on Node cn-jenkins-deploy-platform-ansible-os-3820-1 2025-08-11 18:32:11,534 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/167747fa-0d57-45f1-99ef-bcddf56bab67 2025-08-11 18:32:11,544 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c7c657ea-9825-4d05-8e43-6f96dbdd5d10 2025-08-11 18:32:12,783 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.266 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.266/1.786/3.306/1.520 ms') 2025-08-11 18:32:12,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34539585 passed 2025-08-11 18:32:12,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:32:12,937 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34539585, IP 204.129.209.67, Port 22 2025-08-11 18:32:13,092 - DEBUG - VM ctest-vn2-vm1-34539585 is ready for SSH connections 2025-08-11 18:32:13,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:32:13,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.129.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-11 18:32:13,093 - DEBUG - ping -s 56 -c 3 -W 1 204.129.209.67 2025-08-11 18:32:18,025 - DEBUG - PING 204.129.209.67 (204.129.209.67): 56 data bytes --- 204.129.209.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 18:32:18,025 - WARNING - Ping to IP 204.129.209.67 from VM ctest-vn1-vm1-87615813 failed 2025-08-11 18:32:18,025 - INFO - Adding interface with subnet_id 837e89f9-b3ad-4d75-8b8c-ee2371559414, port_id None to router fb2c1a45-9dd9-412e-b46e-d0c91dd50c6a 2025-08-11 18:32:18,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:32:18,258 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.129.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-11 18:32:18,258 - DEBUG - ping -s 56 -c 3 -W 1 204.129.209.67 2025-08-11 18:32:20,457 - DEBUG - PING 204.129.209.67 (204.129.209.67): 56 data bytes 64 bytes from 204.129.209.67: seq=0 ttl=63 time=2.267 ms 64 bytes from 204.129.209.67: seq=1 ttl=63 time=0.763 ms 64 bytes from 204.129.209.67: seq=2 ttl=63 time=0.691 ms --- 204.129.209.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.691/1.240/2.267 ms 2025-08-11 18:32:20,457 - INFO - Ping to IP 204.129.209.67 from VM ctest-vn1-vm1-87615813 passed 2025-08-11 18:32:20,457 - INFO - Deleting interface with subnet_id 88aaa34c-cc74-4825-afbb-499da24ae13d, port_id None from router fb2c1a45-9dd9-412e-b46e-d0c91dd50c6a 2025-08-11 18:32:20,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:32:20,565 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.129.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-11 18:32:20,565 - DEBUG - ping -s 56 -c 3 -W 1 204.129.209.67 2025-08-11 18:32:23,780 - DEBUG - PING 204.129.209.67 (204.129.209.67): 56 data bytes --- 204.129.209.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 18:32:23,780 - WARNING - Ping to IP 204.129.209.67 from VM ctest-vn1-vm1-87615813 failed 2025-08-11 18:32:23,780 - INFO - Adding interface with subnet_id 88aaa34c-cc74-4825-afbb-499da24ae13d, port_id None to router fb2c1a45-9dd9-412e-b46e-d0c91dd50c6a 2025-08-11 18:32:23,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:32:23,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.129.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-11 18:32:23,992 - DEBUG - ping -s 56 -c 3 -W 1 204.129.209.67 2025-08-11 18:32:27,179 - DEBUG - PING 204.129.209.67 (204.129.209.67): 56 data bytes 64 bytes from 204.129.209.67: seq=1 ttl=63 time=1.406 ms 64 bytes from 204.129.209.67: seq=2 ttl=63 time=0.689 ms --- 204.129.209.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.689/1.047/1.406 ms 2025-08-11 18:32:27,179 - WARNING - Ping to IP 204.129.209.67 from VM ctest-vn1-vm1-87615813 failed 2025-08-11 18:32:28,180 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.129.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-11 18:32:28,180 - DEBUG - ping -s 56 -c 3 -W 1 204.129.209.67 2025-08-11 18:32:30,372 - DEBUG - PING 204.129.209.67 (204.129.209.67): 56 data bytes 64 bytes from 204.129.209.67: seq=0 ttl=63 time=1.382 ms 64 bytes from 204.129.209.67: seq=1 ttl=63 time=0.797 ms 64 bytes from 204.129.209.67: seq=2 ttl=63 time=0.730 ms --- 204.129.209.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/0.969/1.382 ms 2025-08-11 18:32:30,372 - INFO - Ping to IP 204.129.209.67 from VM ctest-vn1-vm1-87615813 passed 2025-08-11 18:32:30,372 - INFO - Deleting interface with subnet_id 837e89f9-b3ad-4d75-8b8c-ee2371559414, port_id None from router fb2c1a45-9dd9-412e-b46e-d0c91dd50c6a 2025-08-11 18:32:30,490 - INFO - Deleting interface with subnet_id 88aaa34c-cc74-4825-afbb-499da24ae13d, port_id None from router fb2c1a45-9dd9-412e-b46e-d0c91dd50c6a 2025-08-11 18:32:30,690 - INFO - Deleting VM ctest-vn2-vm1-34539585 2025-08-11 18:32:30,752 - INFO - Deleting VM ctest-vn1-vm1-87615813 2025-08-11 18:32:30,818 - INFO - Deleting VN ctest-vn2-16984692 2025-08-11 18:32:30,853 - DEBUG - VN 46a0b65a-3f99-436d-9cb2-2bea188ea0bb still in use: Unable to complete operation on network 46a0b65a-3f99-436d-9cb2-2bea188ea0bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0fea0463-7cd5-4741-ace8-f4e1204facbf'] 2025-08-11 18:32:30,853 - WARNING - Deleting VN ctest-vn2-16984692 failed..Will retry 2025-08-11 18:32:32,942 - DEBUG - Response for deleting network () 2025-08-11 18:32:32,942 - INFO - Deleting VN ctest-vn1-96500469 2025-08-11 18:32:33,031 - DEBUG - Response for deleting network () 2025-08-11 18:32:33,282 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 18:32:33,282 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-11 18:32:33,282 - INFO - -------------------------------------------------------------------------------- 2025-08-11 18:32:33,937 - INFO - Deleted project: ctest-TestRouters-90868518, ID : 40cae489-eff1-475f-bc42-54c0abf4fe53