2025-09-11 10:59:44,449 - INFO - Domain Default found not creating 2025-09-11 10:59:44,582 - INFO - Project ctest-TestRouters-84917052 not found, creating it 2025-09-11 10:59:45,009 - INFO - Created Project:ctest-TestRouters-84917052, ID : f755be73-ab74-46c2-982a-77d4e6515b29 2025-09-11 10:59:46,393 - INFO - ================================================================================ 2025-09-11 10:59:46,393 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 10:59:46,393 - 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-09-11 10:59:46,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 10:59:46,642 - INFO - Initial checks done. Running the testcase now 2025-09-11 10:59:46,642 - INFO - 2025-09-11 10:59:47,165 - DEBUG - Response for create_network : {'network': {'id': 'ba894cce-4c86-4b18-84ea-dd913184c222', 'name': 'ctest-vn1-15745604', 'tenant_id': 'f755be73ab7446c2982a77d4e6515b29', 'project_id': 'f755be73ab7446c2982a77d4e6515b29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84917052', 'ctest-vn1-15745604'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 10:59:47,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '6deb42c1-c821-4802-9e6d-dc27bf66807b', 'name': '', 'tenant_id': 'f755be73ab7446c2982a77d4e6515b29', 'network_id': 'ba894cce-4c86-4b18-84ea-dd913184c222', 'ip_version': 4, 'cidr': '26.57.54.64/26', 'allocation_pools': [{'start': '26.57.54.66', 'end': '26.57.54.126'}], 'gateway_ip': '26.57.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.57.54.66', 'tags': [], 'project_id': 'f755be73ab7446c2982a77d4e6515b29'}} 2025-09-11 10:59:47,341 - INFO - Created VN ctest-vn1-15745604 2025-09-11 10:59:47,393 - DEBUG - VN ctest-vn1-15745604 UUID is ba894cce-4c86-4b18-84ea-dd913184c222 2025-09-11 10:59:47,675 - DEBUG - Response for create_network : {'network': {'id': 'c0191663-6308-4972-bbb6-228e4efe7c1d', 'name': 'ctest-vn2-51008192', 'tenant_id': 'f755be73ab7446c2982a77d4e6515b29', 'project_id': 'f755be73ab7446c2982a77d4e6515b29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84917052', 'ctest-vn2-51008192'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 10:59:47,901 - DEBUG - Response for create_subnet : {'subnet': {'id': '4222bf84-738b-4761-9090-f3277a410257', 'name': '', 'tenant_id': 'f755be73ab7446c2982a77d4e6515b29', 'network_id': 'c0191663-6308-4972-bbb6-228e4efe7c1d', 'ip_version': 4, 'cidr': '44.240.40.128/26', 'allocation_pools': [{'start': '44.240.40.130', 'end': '44.240.40.190'}], 'gateway_ip': '44.240.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.240.40.130', 'tags': [], 'project_id': 'f755be73ab7446c2982a77d4e6515b29'}} 2025-09-11 10:59:47,919 - INFO - Created VN ctest-vn2-51008192 2025-09-11 10:59:47,969 - DEBUG - VN ctest-vn2-51008192 UUID is c0191663-6308-4972-bbb6-228e4efe7c1d 2025-09-11 10:59:48,214 - DEBUG - Services list from nova: [, , ] 2025-09-11 10:59:49,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4088-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4088-1) 2025-09-11 10:59:50,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4088-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4088-1) 2025-09-11 10:59:50,444 - INFO - Adding interface with subnet_id 6deb42c1-c821-4802-9e6d-dc27bf66807b, port_id None to router 98375e7e-8ab3-4530-99fa-3287b3e25546 2025-09-11 10:59:50,713 - INFO - Waiting for VM ctest-vn1-vm1-51050095 to be up.. 2025-09-11 10:59:50,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 10:59:55,896 - DEBUG - VM is in ACTIVE state now 2025-09-11 10:59:55,896 - INFO - VM name : ctest-vn1-vm1-51050095 2025-09-11 10:59:55,965 - DEBUG - VM ctest-vn1-vm1-51050095 ID is 724269c0-760f-4163-89eb-f4c514a23cce 2025-09-11 10:59:55,986 - DEBUG - VM ctest-vn1-vm1-51050095 launched on Node cn-jenkins-deploy-platform-ansible-os-4088-1 2025-09-11 10:59:56,056 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/724269c0-760f-4163-89eb-f4c514a23cce 2025-09-11 10:59:56,349 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/724269c0-760f-4163-89eb-f4c514a23cce 2025-09-11 10:59:56,378 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ce962722-31d8-4a69-943f-48f7b7d92c27 2025-09-11 10:59:59,628 - 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 1024ms') 2025-09-11 10:59:59,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51050095 failed! 2025-09-11 10:59:59,685 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84917052:ctest-vn1-15745604 is 26.57.54.65 and allocation pool is NOT set 2025-09-11 11:00:01,749 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/2.052/3.715/1.662 ms') 2025-09-11 11:00:01,750 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51050095 passed 2025-09-11 11:00:01,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:00:01,897 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51050095, IP 26.57.54.67, Port 22 2025-09-11 11:00:02,052 - DEBUG - VM ctest-vn1-vm1-51050095 is ready for SSH connections 2025-09-11 11:00:02,052 - INFO - Waiting for VM ctest-vn2-vm1-41337169 to be up.. 2025-09-11 11:00:02,123 - DEBUG - VM is in ACTIVE state now 2025-09-11 11:00:02,123 - INFO - VM name : ctest-vn2-vm1-41337169 2025-09-11 11:00:02,193 - DEBUG - VM ctest-vn2-vm1-41337169 ID is af924a4d-ea80-423e-9f5a-a2ccd6f96967 2025-09-11 11:00:02,193 - DEBUG - VM ctest-vn2-vm1-41337169 launched on Node cn-jenkins-deploy-platform-ansible-os-4088-1 2025-09-11 11:00:02,263 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/af924a4d-ea80-423e-9f5a-a2ccd6f96967 2025-09-11 11:00:02,270 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/97eb02d2-454e-4bb5-85a9-35a749229c75 2025-09-11 11:00:03,504 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.653/2.915/1.261 ms') 2025-09-11 11:00:03,504 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-41337169 passed 2025-09-11 11:00:03,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:00:03,653 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-41337169, IP 44.240.40.131, Port 22 2025-09-11 11:00:03,808 - DEBUG - VM ctest-vn2-vm1-41337169 is ready for SSH connections 2025-09-11 11:00:03,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:00:03,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.240.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 11:00:03,808 - DEBUG - ping -s 56 -c 3 -W 1 44.240.40.131 2025-09-11 11:00:08,498 - DEBUG - PING 44.240.40.131 (44.240.40.131): 56 data bytes --- 44.240.40.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 11:00:08,498 - WARNING - Ping to IP 44.240.40.131 from VM ctest-vn1-vm1-51050095 failed 2025-09-11 11:00:08,498 - INFO - Adding interface with subnet_id 4222bf84-738b-4761-9090-f3277a410257, port_id None to router 98375e7e-8ab3-4530-99fa-3287b3e25546 2025-09-11 11:00:08,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:00:08,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.240.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 11:00:08,723 - DEBUG - ping -s 56 -c 3 -W 1 44.240.40.131 2025-09-11 11:00:11,931 - DEBUG - PING 44.240.40.131 (44.240.40.131): 56 data bytes 64 bytes from 44.240.40.131: seq=1 ttl=63 time=2.667 ms 64 bytes from 44.240.40.131: seq=2 ttl=63 time=0.719 ms --- 44.240.40.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.719/1.693/2.667 ms 2025-09-11 11:00:11,931 - WARNING - Ping to IP 44.240.40.131 from VM ctest-vn1-vm1-51050095 failed 2025-09-11 11:00:12,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.240.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 11:00:12,932 - DEBUG - ping -s 56 -c 3 -W 1 44.240.40.131 2025-09-11 11:00:15,138 - DEBUG - PING 44.240.40.131 (44.240.40.131): 56 data bytes 64 bytes from 44.240.40.131: seq=0 ttl=63 time=1.412 ms 64 bytes from 44.240.40.131: seq=1 ttl=63 time=0.926 ms 64 bytes from 44.240.40.131: seq=2 ttl=63 time=1.010 ms --- 44.240.40.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/1.116/1.412 ms 2025-09-11 11:00:15,138 - INFO - Ping to IP 44.240.40.131 from VM ctest-vn1-vm1-51050095 passed 2025-09-11 11:00:15,138 - INFO - Deleting interface with subnet_id 6deb42c1-c821-4802-9e6d-dc27bf66807b, port_id None from router 98375e7e-8ab3-4530-99fa-3287b3e25546 2025-09-11 11:00:15,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:00:15,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.240.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 11:00:15,252 - DEBUG - ping -s 56 -c 3 -W 1 44.240.40.131 2025-09-11 11:00:18,455 - DEBUG - PING 44.240.40.131 (44.240.40.131): 56 data bytes --- 44.240.40.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 11:00:18,455 - WARNING - Ping to IP 44.240.40.131 from VM ctest-vn1-vm1-51050095 failed 2025-09-11 11:00:18,455 - INFO - Adding interface with subnet_id 6deb42c1-c821-4802-9e6d-dc27bf66807b, port_id None to router 98375e7e-8ab3-4530-99fa-3287b3e25546 2025-09-11 11:00:18,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:00:18,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.240.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 11:00:18,651 - DEBUG - ping -s 56 -c 3 -W 1 44.240.40.131 2025-09-11 11:00:20,875 - DEBUG - PING 44.240.40.131 (44.240.40.131): 56 data bytes 64 bytes from 44.240.40.131: seq=0 ttl=63 time=1.664 ms 64 bytes from 44.240.40.131: seq=1 ttl=63 time=0.941 ms 64 bytes from 44.240.40.131: seq=2 ttl=63 time=0.787 ms --- 44.240.40.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/1.130/1.664 ms 2025-09-11 11:00:20,875 - INFO - Ping to IP 44.240.40.131 from VM ctest-vn1-vm1-51050095 passed 2025-09-11 11:00:20,875 - INFO - Deleting interface with subnet_id 4222bf84-738b-4761-9090-f3277a410257, port_id None from router 98375e7e-8ab3-4530-99fa-3287b3e25546 2025-09-11 11:00:20,975 - INFO - Deleting interface with subnet_id 6deb42c1-c821-4802-9e6d-dc27bf66807b, port_id None from router 98375e7e-8ab3-4530-99fa-3287b3e25546 2025-09-11 11:00:21,159 - INFO - Deleting VM ctest-vn2-vm1-41337169 2025-09-11 11:00:21,224 - INFO - Deleting VM ctest-vn1-vm1-51050095 2025-09-11 11:00:21,293 - INFO - Deleting VN ctest-vn2-51008192 2025-09-11 11:00:21,326 - DEBUG - VN c0191663-6308-4972-bbb6-228e4efe7c1d still in use: Unable to complete operation on network c0191663-6308-4972-bbb6-228e4efe7c1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f017bcab-05a9-4f83-ade3-15d0399820a8'] 2025-09-11 11:00:21,326 - WARNING - Deleting VN ctest-vn2-51008192 failed..Will retry 2025-09-11 11:00:23,418 - DEBUG - Response for deleting network () 2025-09-11 11:00:23,418 - INFO - Deleting VN ctest-vn1-15745604 2025-09-11 11:00:23,509 - DEBUG - Response for deleting network () 2025-09-11 11:00:23,761 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 11:00:23,761 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-09-11 11:00:23,761 - INFO - -------------------------------------------------------------------------------- 2025-09-11 11:00:24,412 - INFO - Deleted project: ctest-TestRouters-84917052, ID : f755be73-ab74-46c2-982a-77d4e6515b29