2025-10-31 20:02:55,984 - INFO - Domain Default found not creating 2025-10-31 20:02:56,142 - INFO - Project ctest-TestRouters-78616758 not found, creating it 2025-10-31 20:02:56,639 - INFO - Created Project:ctest-TestRouters-78616758, ID : fb228854-2bcb-46b3-af4e-3e81698dc91a 2025-10-31 20:02:58,065 - INFO - ================================================================================ 2025-10-31 20:02:58,066 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 20:02:58,066 - 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-31 20:02:58,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-31 20:02:58,327 - INFO - Initial checks done. Running the testcase now 2025-10-31 20:02:58,327 - INFO - 2025-10-31 20:02:58,877 - DEBUG - Response for create_network : {'network': {'id': '2b4a1b10-ac9b-4ce9-8cfd-46ef3ebd69a9', 'name': 'ctest-vn1-14386394', 'tenant_id': 'fb2288542bcb46b3af4e3e81698dc91a', 'project_id': 'fb2288542bcb46b3af4e3e81698dc91a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78616758', 'ctest-vn1-14386394'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 20:02:59,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fe1ecb6-2a72-4ac4-b106-566d988d2afe', 'name': '', 'tenant_id': 'fb2288542bcb46b3af4e3e81698dc91a', 'network_id': '2b4a1b10-ac9b-4ce9-8cfd-46ef3ebd69a9', 'ip_version': 4, 'cidr': '53.141.81.0/26', 'allocation_pools': [{'start': '53.141.81.2', 'end': '53.141.81.62'}], 'gateway_ip': '53.141.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.141.81.2', 'tags': [], 'project_id': 'fb2288542bcb46b3af4e3e81698dc91a'}} 2025-10-31 20:02:59,035 - INFO - Created VN ctest-vn1-14386394 2025-10-31 20:02:59,086 - DEBUG - VN ctest-vn1-14386394 UUID is 2b4a1b10-ac9b-4ce9-8cfd-46ef3ebd69a9 2025-10-31 20:02:59,409 - DEBUG - Response for create_network : {'network': {'id': 'ec70c037-a179-4ebe-b614-e7c7461f6d8d', 'name': 'ctest-vn2-07556515', 'tenant_id': 'fb2288542bcb46b3af4e3e81698dc91a', 'project_id': 'fb2288542bcb46b3af4e3e81698dc91a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78616758', 'ctest-vn2-07556515'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 20:02:59,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '2382efdb-4006-425e-8953-885e805f396b', 'name': '', 'tenant_id': 'fb2288542bcb46b3af4e3e81698dc91a', 'network_id': 'ec70c037-a179-4ebe-b614-e7c7461f6d8d', 'ip_version': 4, 'cidr': '120.130.4.0/26', 'allocation_pools': [{'start': '120.130.4.2', 'end': '120.130.4.62'}], 'gateway_ip': '120.130.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.130.4.2', 'tags': [], 'project_id': 'fb2288542bcb46b3af4e3e81698dc91a'}} 2025-10-31 20:02:59,620 - INFO - Created VN ctest-vn2-07556515 2025-10-31 20:02:59,670 - DEBUG - VN ctest-vn2-07556515 UUID is ec70c037-a179-4ebe-b614-e7c7461f6d8d 2025-10-31 20:02:59,918 - DEBUG - Services list from nova: [, , ] 2025-10-31 20:03:00,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4581-1) 2025-10-31 20:03:02,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4581-1) 2025-10-31 20:03:02,161 - INFO - Adding interface with subnet_id 7fe1ecb6-2a72-4ac4-b106-566d988d2afe, port_id None to router 67eed89d-2391-4551-a68a-675ac1737720 2025-10-31 20:03:02,417 - INFO - Waiting for VM ctest-vn1-vm1-64659828 to be up.. 2025-10-31 20:03:02,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 20:03:07,568 - DEBUG - VM is in ACTIVE state now 2025-10-31 20:03:07,569 - INFO - VM name : ctest-vn1-vm1-64659828 2025-10-31 20:03:07,636 - DEBUG - VM ctest-vn1-vm1-64659828 ID is 8158da9b-c4dc-4659-b7d8-63dd8b641c89 2025-10-31 20:03:07,653 - DEBUG - VM ctest-vn1-vm1-64659828 launched on Node cn-jenkins-deploy-platform-ansible-os-4581-1 2025-10-31 20:03:07,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8158da9b-c4dc-4659-b7d8-63dd8b641c89 2025-10-31 20:03:08,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8158da9b-c4dc-4659-b7d8-63dd8b641c89 2025-10-31 20:03:08,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/10564da6-1b68-4796-95f4-26203cf220a7 2025-10-31 20:03:11,304 - 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-10-31 20:03:11,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64659828 failed! 2025-10-31 20:03:11,358 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-78616758:ctest-vn1-14386394 is 53.141.81.1 and allocation pool is NOT set 2025-10-31 20:03:13,416 - 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=4.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/2.218/4.048/1.830 ms') 2025-10-31 20:03:13,417 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64659828 passed 2025-10-31 20:03:13,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:13,570 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64659828, IP 53.141.81.3, Port 22 2025-10-31 20:03:13,744 - DEBUG - VM ctest-vn1-vm1-64659828 is ready for SSH connections 2025-10-31 20:03:13,744 - INFO - Waiting for VM ctest-vn2-vm1-40301679 to be up.. 2025-10-31 20:03:13,824 - DEBUG - VM is in ACTIVE state now 2025-10-31 20:03:13,824 - INFO - VM name : ctest-vn2-vm1-40301679 2025-10-31 20:03:13,890 - DEBUG - VM ctest-vn2-vm1-40301679 ID is f986d951-8507-4af2-a89b-7b954d15ae7d 2025-10-31 20:03:13,890 - DEBUG - VM ctest-vn2-vm1-40301679 launched on Node cn-jenkins-deploy-platform-ansible-os-4581-1 2025-10-31 20:03:13,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f986d951-8507-4af2-a89b-7b954d15ae7d 2025-10-31 20:03:13,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d6b79014-9263-45ce-99e5-0c738a1e11e4 2025-10-31 20:03:15,202 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.827/3.201/1.373 ms') 2025-10-31 20:03:15,202 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-40301679 passed 2025-10-31 20:03:15,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:15,350 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-40301679, IP 120.130.4.3, Port 22 2025-10-31 20:03:15,505 - DEBUG - VM ctest-vn2-vm1-40301679 is ready for SSH connections 2025-10-31 20:03:15,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:15,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.130.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-31 20:03:15,506 - DEBUG - ping -s 56 -c 3 -W 1 120.130.4.3 2025-10-31 20:03:20,170 - DEBUG - PING 120.130.4.3 (120.130.4.3): 56 data bytes --- 120.130.4.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 20:03:20,170 - WARNING - Ping to IP 120.130.4.3 from VM ctest-vn1-vm1-64659828 failed 2025-10-31 20:03:20,170 - INFO - Adding interface with subnet_id 2382efdb-4006-425e-8953-885e805f396b, port_id None to router 67eed89d-2391-4551-a68a-675ac1737720 2025-10-31 20:03:20,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:20,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.130.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-31 20:03:20,416 - DEBUG - ping -s 56 -c 3 -W 1 120.130.4.3 2025-10-31 20:03:22,619 - DEBUG - PING 120.130.4.3 (120.130.4.3): 56 data bytes 64 bytes from 120.130.4.3: seq=0 ttl=63 time=3.566 ms 64 bytes from 120.130.4.3: seq=1 ttl=63 time=0.911 ms 64 bytes from 120.130.4.3: seq=2 ttl=63 time=0.950 ms --- 120.130.4.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/1.809/3.566 ms 2025-10-31 20:03:22,619 - INFO - Ping to IP 120.130.4.3 from VM ctest-vn1-vm1-64659828 passed 2025-10-31 20:03:22,619 - INFO - Deleting interface with subnet_id 7fe1ecb6-2a72-4ac4-b106-566d988d2afe, port_id None from router 67eed89d-2391-4551-a68a-675ac1737720 2025-10-31 20:03:22,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:22,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.130.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-31 20:03:22,757 - DEBUG - ping -s 56 -c 3 -W 1 120.130.4.3 2025-10-31 20:03:25,957 - DEBUG - PING 120.130.4.3 (120.130.4.3): 56 data bytes --- 120.130.4.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 20:03:25,957 - WARNING - Ping to IP 120.130.4.3 from VM ctest-vn1-vm1-64659828 failed 2025-10-31 20:03:25,957 - INFO - Adding interface with subnet_id 7fe1ecb6-2a72-4ac4-b106-566d988d2afe, port_id None to router 67eed89d-2391-4551-a68a-675ac1737720 2025-10-31 20:03:26,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:26,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.130.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-31 20:03:26,162 - DEBUG - ping -s 56 -c 3 -W 1 120.130.4.3 2025-10-31 20:03:29,374 - DEBUG - PING 120.130.4.3 (120.130.4.3): 56 data bytes 64 bytes from 120.130.4.3: seq=1 ttl=63 time=2.512 ms 64 bytes from 120.130.4.3: seq=2 ttl=63 time=0.939 ms --- 120.130.4.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.939/1.725/2.512 ms 2025-10-31 20:03:29,375 - WARNING - Ping to IP 120.130.4.3 from VM ctest-vn1-vm1-64659828 failed 2025-10-31 20:03:30,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.130.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-31 20:03:30,375 - DEBUG - ping -s 56 -c 3 -W 1 120.130.4.3 2025-10-31 20:03:32,573 - DEBUG - PING 120.130.4.3 (120.130.4.3): 56 data bytes 64 bytes from 120.130.4.3: seq=0 ttl=63 time=1.382 ms 64 bytes from 120.130.4.3: seq=1 ttl=63 time=0.835 ms 64 bytes from 120.130.4.3: seq=2 ttl=63 time=1.065 ms --- 120.130.4.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.094/1.382 ms 2025-10-31 20:03:32,573 - INFO - Ping to IP 120.130.4.3 from VM ctest-vn1-vm1-64659828 passed 2025-10-31 20:03:32,573 - INFO - Deleting interface with subnet_id 2382efdb-4006-425e-8953-885e805f396b, port_id None from router 67eed89d-2391-4551-a68a-675ac1737720 2025-10-31 20:03:32,688 - INFO - Deleting interface with subnet_id 7fe1ecb6-2a72-4ac4-b106-566d988d2afe, port_id None from router 67eed89d-2391-4551-a68a-675ac1737720 2025-10-31 20:03:32,847 - INFO - Deleting VM ctest-vn2-vm1-40301679 2025-10-31 20:03:32,910 - INFO - Deleting VM ctest-vn1-vm1-64659828 2025-10-31 20:03:32,976 - INFO - Deleting VN ctest-vn2-07556515 2025-10-31 20:03:33,009 - DEBUG - VN ec70c037-a179-4ebe-b614-e7c7461f6d8d still in use: Unable to complete operation on network ec70c037-a179-4ebe-b614-e7c7461f6d8d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9cd0e1bb-f570-4bdf-bca4-1830b149d60c'] 2025-10-31 20:03:33,009 - WARNING - Deleting VN ctest-vn2-07556515 failed..Will retry 2025-10-31 20:03:35,114 - DEBUG - Response for deleting network () 2025-10-31 20:03:35,114 - INFO - Deleting VN ctest-vn1-14386394 2025-10-31 20:03:35,214 - DEBUG - Response for deleting network () 2025-10-31 20:03:35,471 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 20:03:35,471 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-31 20:03:35,471 - INFO - -------------------------------------------------------------------------------- 2025-10-31 20:03:36,129 - INFO - Deleted project: ctest-TestRouters-78616758, ID : fb228854-2bcb-46b3-af4e-3e81698dc91a