2025-10-08 19:21:11,463 - INFO - Domain Default found not creating 2025-10-08 19:21:11,614 - INFO - Project ctest-TestRouters-49075085 not found, creating it 2025-10-08 19:21:12,095 - INFO - Created Project:ctest-TestRouters-49075085, ID : 0ceafc92-7118-4169-92d6-0e95d65145a6 2025-10-08 19:21:13,653 - INFO - ================================================================================ 2025-10-08 19:21:13,653 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-08 19:21:13,653 - 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-08 19:21:13,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.193': '0'}} with 2025-10-08 19:21:13,907 - INFO - Initial checks done. Running the testcase now 2025-10-08 19:21:13,907 - INFO - 2025-10-08 19:21:14,488 - DEBUG - Response for create_network : {'network': {'id': '4fec5a10-1ab6-460c-8a87-8efc66f6b146', 'name': 'ctest-vn1-36300120', 'tenant_id': '0ceafc927118416992d60e95d65145a6', 'project_id': '0ceafc927118416992d60e95d65145a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-49075085', 'ctest-vn1-36300120'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 19:21:14,678 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff3b132a-cc0b-42eb-b7df-99fa095bf7ce', 'name': '', 'tenant_id': '0ceafc927118416992d60e95d65145a6', 'network_id': '4fec5a10-1ab6-460c-8a87-8efc66f6b146', 'ip_version': 4, 'cidr': '47.194.94.192/26', 'allocation_pools': [{'start': '47.194.94.194', 'end': '47.194.94.254'}], 'gateway_ip': '47.194.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.194.94.194', 'tags': [], 'project_id': '0ceafc927118416992d60e95d65145a6'}} 2025-10-08 19:21:14,699 - INFO - Created VN ctest-vn1-36300120 2025-10-08 19:21:14,754 - DEBUG - VN ctest-vn1-36300120 UUID is 4fec5a10-1ab6-460c-8a87-8efc66f6b146 2025-10-08 19:21:15,068 - DEBUG - Response for create_network : {'network': {'id': 'bb145c08-4981-4181-8dc8-2e86b756eab1', 'name': 'ctest-vn2-10534784', 'tenant_id': '0ceafc927118416992d60e95d65145a6', 'project_id': '0ceafc927118416992d60e95d65145a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-49075085', 'ctest-vn2-10534784'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 19:21:15,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f006298-2b6f-4903-95de-5f87e9906037', 'name': '', 'tenant_id': '0ceafc927118416992d60e95d65145a6', 'network_id': 'bb145c08-4981-4181-8dc8-2e86b756eab1', 'ip_version': 4, 'cidr': '45.144.95.64/26', 'allocation_pools': [{'start': '45.144.95.66', 'end': '45.144.95.126'}], 'gateway_ip': '45.144.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.144.95.66', 'tags': [], 'project_id': '0ceafc927118416992d60e95d65145a6'}} 2025-10-08 19:21:15,322 - INFO - Created VN ctest-vn2-10534784 2025-10-08 19:21:15,377 - DEBUG - VN ctest-vn2-10534784 UUID is bb145c08-4981-4181-8dc8-2e86b756eab1 2025-10-08 19:21:15,625 - DEBUG - Services list from nova: [, , ] 2025-10-08 19:21:16,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4242-1) 2025-10-08 19:21:17,932 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4242-1) 2025-10-08 19:21:18,004 - INFO - Adding interface with subnet_id ff3b132a-cc0b-42eb-b7df-99fa095bf7ce, port_id None to router a5ae7f0e-8f17-4583-98d1-e78824cbe386 2025-10-08 19:21:18,313 - INFO - Waiting for VM ctest-vn1-vm1-37413721 to be up.. 2025-10-08 19:21:18,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 19:21:23,627 - DEBUG - VM is in ACTIVE state now 2025-10-08 19:21:23,627 - INFO - VM name : ctest-vn1-vm1-37413721 2025-10-08 19:21:23,714 - DEBUG - VM ctest-vn1-vm1-37413721 ID is 1fe03219-e468-4436-a954-60ef93363933 2025-10-08 19:21:23,737 - DEBUG - VM ctest-vn1-vm1-37413721 launched on Node cn-jenkins-deploy-platform-ansible-os-4242-1 2025-10-08 19:21:23,829 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1fe03219-e468-4436-a954-60ef93363933 2025-10-08 19:21:24,128 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1fe03219-e468-4436-a954-60ef93363933 2025-10-08 19:21:24,165 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/89e01ba6-d557-4e08-ac17-c1eaacaa0cc5 2025-10-08 19:21:27,426 - 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 1015ms') 2025-10-08 19:21:27,426 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37413721 failed! 2025-10-08 19:21:27,482 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-49075085:ctest-vn1-36300120 is 47.194.94.193 and allocation pool is NOT set 2025-10-08 19:21:29,544 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.454/2.057/3.660/1.603 ms') 2025-10-08 19:21:29,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37413721 passed 2025-10-08 19:21:29,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:29,698 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37413721, IP 47.194.94.195, Port 22 2025-10-08 19:21:29,853 - DEBUG - VM ctest-vn1-vm1-37413721 is ready for SSH connections 2025-10-08 19:21:29,853 - INFO - Waiting for VM ctest-vn2-vm1-16655410 to be up.. 2025-10-08 19:21:29,924 - DEBUG - VM is in ACTIVE state now 2025-10-08 19:21:29,925 - INFO - VM name : ctest-vn2-vm1-16655410 2025-10-08 19:21:29,993 - DEBUG - VM ctest-vn2-vm1-16655410 ID is 30737d0a-3a5e-4d21-902f-c096f57d5fc8 2025-10-08 19:21:29,994 - DEBUG - VM ctest-vn2-vm1-16655410 launched on Node cn-jenkins-deploy-platform-ansible-os-4242-1 2025-10-08 19:21:30,065 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/30737d0a-3a5e-4d21-902f-c096f57d5fc8 2025-10-08 19:21:30,074 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8f250201-db61-4ca5-8765-70a3038452c6 2025-10-08 19:21:31,315 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/1.751/2.959/1.208 ms') 2025-10-08 19:21:31,316 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-16655410 passed 2025-10-08 19:21:31,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:31,466 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-16655410, IP 45.144.95.67, Port 22 2025-10-08 19:21:31,625 - DEBUG - VM ctest-vn2-vm1-16655410 is ready for SSH connections 2025-10-08 19:21:31,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:31,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.144.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 19:21:31,626 - DEBUG - ping -s 56 -c 3 -W 1 45.144.95.67 2025-10-08 19:21:36,700 - DEBUG - PING 45.144.95.67 (45.144.95.67): 56 data bytes --- 45.144.95.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 19:21:36,701 - WARNING - Ping to IP 45.144.95.67 from VM ctest-vn1-vm1-37413721 failed 2025-10-08 19:21:36,701 - INFO - Adding interface with subnet_id 2f006298-2b6f-4903-95de-5f87e9906037, port_id None to router a5ae7f0e-8f17-4583-98d1-e78824cbe386 2025-10-08 19:21:36,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:36,965 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.144.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 19:21:36,966 - DEBUG - ping -s 56 -c 3 -W 1 45.144.95.67 2025-10-08 19:21:40,182 - DEBUG - PING 45.144.95.67 (45.144.95.67): 56 data bytes 64 bytes from 45.144.95.67: seq=1 ttl=63 time=3.341 ms 64 bytes from 45.144.95.67: seq=2 ttl=63 time=0.916 ms --- 45.144.95.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.916/2.128/3.341 ms 2025-10-08 19:21:40,182 - WARNING - Ping to IP 45.144.95.67 from VM ctest-vn1-vm1-37413721 failed 2025-10-08 19:21:41,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.144.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 19:21:41,183 - DEBUG - ping -s 56 -c 3 -W 1 45.144.95.67 2025-10-08 19:21:43,390 - DEBUG - PING 45.144.95.67 (45.144.95.67): 56 data bytes 64 bytes from 45.144.95.67: seq=0 ttl=63 time=1.455 ms 64 bytes from 45.144.95.67: seq=1 ttl=63 time=0.959 ms 64 bytes from 45.144.95.67: seq=2 ttl=63 time=0.998 ms --- 45.144.95.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/1.137/1.455 ms 2025-10-08 19:21:43,390 - INFO - Ping to IP 45.144.95.67 from VM ctest-vn1-vm1-37413721 passed 2025-10-08 19:21:43,390 - INFO - Deleting interface with subnet_id ff3b132a-cc0b-42eb-b7df-99fa095bf7ce, port_id None from router a5ae7f0e-8f17-4583-98d1-e78824cbe386 2025-10-08 19:21:43,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:43,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.144.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 19:21:43,515 - DEBUG - ping -s 56 -c 3 -W 1 45.144.95.67 2025-10-08 19:21:46,757 - DEBUG - PING 45.144.95.67 (45.144.95.67): 56 data bytes --- 45.144.95.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 19:21:46,758 - WARNING - Ping to IP 45.144.95.67 from VM ctest-vn1-vm1-37413721 failed 2025-10-08 19:21:46,758 - INFO - Adding interface with subnet_id ff3b132a-cc0b-42eb-b7df-99fa095bf7ce, port_id None to router a5ae7f0e-8f17-4583-98d1-e78824cbe386 2025-10-08 19:21:46,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:46,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.144.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 19:21:46,973 - DEBUG - ping -s 56 -c 3 -W 1 45.144.95.67 2025-10-08 19:21:49,178 - DEBUG - PING 45.144.95.67 (45.144.95.67): 56 data bytes 64 bytes from 45.144.95.67: seq=0 ttl=63 time=1.635 ms 64 bytes from 45.144.95.67: seq=1 ttl=63 time=0.838 ms 64 bytes from 45.144.95.67: seq=2 ttl=63 time=0.868 ms --- 45.144.95.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.113/1.635 ms 2025-10-08 19:21:49,178 - INFO - Ping to IP 45.144.95.67 from VM ctest-vn1-vm1-37413721 passed 2025-10-08 19:21:49,179 - INFO - Deleting interface with subnet_id 2f006298-2b6f-4903-95de-5f87e9906037, port_id None from router a5ae7f0e-8f17-4583-98d1-e78824cbe386 2025-10-08 19:21:49,298 - INFO - Deleting interface with subnet_id ff3b132a-cc0b-42eb-b7df-99fa095bf7ce, port_id None from router a5ae7f0e-8f17-4583-98d1-e78824cbe386 2025-10-08 19:21:49,503 - INFO - Deleting VM ctest-vn2-vm1-16655410 2025-10-08 19:21:49,577 - INFO - Deleting VM ctest-vn1-vm1-37413721 2025-10-08 19:21:49,655 - INFO - Deleting VN ctest-vn2-10534784 2025-10-08 19:21:49,692 - DEBUG - VN bb145c08-4981-4181-8dc8-2e86b756eab1 still in use: Unable to complete operation on network bb145c08-4981-4181-8dc8-2e86b756eab1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b8bf438b-f8ed-431f-999c-c9316abe1e32'] 2025-10-08 19:21:49,692 - WARNING - Deleting VN ctest-vn2-10534784 failed..Will retry 2025-10-08 19:21:51,784 - DEBUG - Response for deleting network () 2025-10-08 19:21:51,784 - INFO - Deleting VN ctest-vn1-36300120 2025-10-08 19:21:51,886 - DEBUG - Response for deleting network () 2025-10-08 19:21:52,142 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 19:21:52,142 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-08 19:21:52,142 - INFO - -------------------------------------------------------------------------------- 2025-10-08 19:21:52,800 - INFO - Deleted project: ctest-TestRouters-49075085, ID : 0ceafc92-7118-4169-92d6-0e95d65145a6