2025-09-29 21:02:27,556 - INFO - Domain Default found not creating 2025-09-29 21:02:27,673 - INFO - Project ctest-TestRouters-43009078 not found, creating it 2025-09-29 21:02:28,099 - INFO - Created Project:ctest-TestRouters-43009078, ID : 7fafe2d3-7d05-4c7c-aec2-8bc39712ee3c 2025-09-29 21:02:29,773 - INFO - ================================================================================ 2025-09-29 21:02:29,773 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-29 21:02:29,773 - 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-29 21:02:30,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-29 21:02:30,022 - INFO - Initial checks done. Running the testcase now 2025-09-29 21:02:30,022 - INFO - 2025-09-29 21:02:30,565 - DEBUG - Response for create_network : {'network': {'id': '0bb443a0-cef0-47d5-a2a9-eb14861743be', 'name': 'ctest-vn1-38637055', 'tenant_id': '7fafe2d37d054c7caec28bc39712ee3c', 'project_id': '7fafe2d37d054c7caec28bc39712ee3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43009078', 'ctest-vn1-38637055'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:02:30,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '2056dfad-2d36-4f3e-99d9-6fef007232d0', 'name': '', 'tenant_id': '7fafe2d37d054c7caec28bc39712ee3c', 'network_id': '0bb443a0-cef0-47d5-a2a9-eb14861743be', 'ip_version': 4, 'cidr': '93.194.161.64/26', 'allocation_pools': [{'start': '93.194.161.66', 'end': '93.194.161.126'}], 'gateway_ip': '93.194.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.194.161.66', 'tags': [], 'project_id': '7fafe2d37d054c7caec28bc39712ee3c'}} 2025-09-29 21:02:30,790 - INFO - Created VN ctest-vn1-38637055 2025-09-29 21:02:30,841 - DEBUG - VN ctest-vn1-38637055 UUID is 0bb443a0-cef0-47d5-a2a9-eb14861743be 2025-09-29 21:02:31,143 - DEBUG - Response for create_network : {'network': {'id': '0ad1c08d-ce93-4722-97e7-99cb7356c699', 'name': 'ctest-vn2-32547718', 'tenant_id': '7fafe2d37d054c7caec28bc39712ee3c', 'project_id': '7fafe2d37d054c7caec28bc39712ee3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43009078', 'ctest-vn2-32547718'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:02:31,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '0453796d-9d37-4ca1-9599-773e1de6ce61', 'name': '', 'tenant_id': '7fafe2d37d054c7caec28bc39712ee3c', 'network_id': '0ad1c08d-ce93-4722-97e7-99cb7356c699', 'ip_version': 4, 'cidr': '27.200.109.64/26', 'allocation_pools': [{'start': '27.200.109.66', 'end': '27.200.109.126'}], 'gateway_ip': '27.200.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.200.109.66', 'tags': [], 'project_id': '7fafe2d37d054c7caec28bc39712ee3c'}} 2025-09-29 21:02:31,340 - INFO - Created VN ctest-vn2-32547718 2025-09-29 21:02:31,389 - DEBUG - VN ctest-vn2-32547718 UUID is 0ad1c08d-ce93-4722-97e7-99cb7356c699 2025-09-29 21:02:31,573 - DEBUG - Services list from nova: [, , ] 2025-09-29 21:02:32,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4206-1) 2025-09-29 21:02:33,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4206-1) 2025-09-29 21:02:33,679 - INFO - Adding interface with subnet_id 2056dfad-2d36-4f3e-99d9-6fef007232d0, port_id None to router c8affd0b-95b5-453d-a22a-d24fa976dff3 2025-09-29 21:02:33,906 - INFO - Waiting for VM ctest-vn1-vm1-05501656 to be up.. 2025-09-29 21:02:34,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 21:02:39,086 - DEBUG - VM is in ACTIVE state now 2025-09-29 21:02:39,086 - INFO - VM name : ctest-vn1-vm1-05501656 2025-09-29 21:02:39,164 - DEBUG - VM ctest-vn1-vm1-05501656 ID is 589c9335-7830-4e1b-970c-8007e8201bfe 2025-09-29 21:02:39,181 - DEBUG - VM ctest-vn1-vm1-05501656 launched on Node cn-jenkins-deploy-platform-ansible-os-4206-1 2025-09-29 21:02:39,251 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/589c9335-7830-4e1b-970c-8007e8201bfe 2025-09-29 21:02:39,543 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/589c9335-7830-4e1b-970c-8007e8201bfe 2025-09-29 21:02:39,569 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3b574625-adae-48f6-9c1f-985516a8cbe1 2025-09-29 21:02:42,830 - 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 1028ms') 2025-09-29 21:02:42,830 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05501656 failed! 2025-09-29 21:02:42,881 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-43009078:ctest-vn1-38637055 is 93.194.161.65 and allocation pool is NOT set 2025-09-29 21:02:44,936 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 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.370/1.583/2.796/1.213 ms') 2025-09-29 21:02:44,937 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05501656 passed 2025-09-29 21:02:45,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:45,081 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05501656, IP 93.194.161.67, Port 22 2025-09-29 21:02:45,240 - DEBUG - VM ctest-vn1-vm1-05501656 is ready for SSH connections 2025-09-29 21:02:45,240 - INFO - Waiting for VM ctest-vn2-vm1-21117976 to be up.. 2025-09-29 21:02:45,303 - DEBUG - VM is in ACTIVE state now 2025-09-29 21:02:45,303 - INFO - VM name : ctest-vn2-vm1-21117976 2025-09-29 21:02:45,363 - DEBUG - VM ctest-vn2-vm1-21117976 ID is 31523faf-719b-4031-be82-e60104b3028a 2025-09-29 21:02:45,363 - DEBUG - VM ctest-vn2-vm1-21117976 launched on Node cn-jenkins-deploy-platform-ansible-os-4206-1 2025-09-29 21:02:45,428 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/31523faf-719b-4031-be82-e60104b3028a 2025-09-29 21:02:45,434 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/07618c88-0d27-449f-bee6-8a2c19c58db6 2025-09-29 21:02:46,666 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.305 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.305/1.491/2.678/1.186 ms') 2025-09-29 21:02:46,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-21117976 passed 2025-09-29 21:02:46,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:46,813 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-21117976, IP 27.200.109.67, Port 22 2025-09-29 21:02:46,968 - DEBUG - VM ctest-vn2-vm1-21117976 is ready for SSH connections 2025-09-29 21:02:46,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:46,968 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.200.109.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 21:02:46,968 - DEBUG - ping -s 56 -c 3 -W 1 27.200.109.67 2025-09-29 21:02:51,868 - DEBUG - PING 27.200.109.67 (27.200.109.67): 56 data bytes --- 27.200.109.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 21:02:51,868 - WARNING - Ping to IP 27.200.109.67 from VM ctest-vn1-vm1-05501656 failed 2025-09-29 21:02:51,868 - INFO - Adding interface with subnet_id 0453796d-9d37-4ca1-9599-773e1de6ce61, port_id None to router c8affd0b-95b5-453d-a22a-d24fa976dff3 2025-09-29 21:02:52,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:52,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.200.109.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 21:02:52,078 - DEBUG - ping -s 56 -c 3 -W 1 27.200.109.67 2025-09-29 21:02:54,269 - DEBUG - PING 27.200.109.67 (27.200.109.67): 56 data bytes 64 bytes from 27.200.109.67: seq=0 ttl=63 time=2.261 ms 64 bytes from 27.200.109.67: seq=1 ttl=63 time=0.831 ms 64 bytes from 27.200.109.67: seq=2 ttl=63 time=0.665 ms --- 27.200.109.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.665/1.252/2.261 ms 2025-09-29 21:02:54,269 - INFO - Ping to IP 27.200.109.67 from VM ctest-vn1-vm1-05501656 passed 2025-09-29 21:02:54,269 - INFO - Deleting interface with subnet_id 2056dfad-2d36-4f3e-99d9-6fef007232d0, port_id None from router c8affd0b-95b5-453d-a22a-d24fa976dff3 2025-09-29 21:02:54,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:54,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.200.109.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 21:02:54,366 - DEBUG - ping -s 56 -c 3 -W 1 27.200.109.67 2025-09-29 21:02:57,568 - DEBUG - PING 27.200.109.67 (27.200.109.67): 56 data bytes --- 27.200.109.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 21:02:57,568 - WARNING - Ping to IP 27.200.109.67 from VM ctest-vn1-vm1-05501656 failed 2025-09-29 21:02:57,568 - INFO - Adding interface with subnet_id 2056dfad-2d36-4f3e-99d9-6fef007232d0, port_id None to router c8affd0b-95b5-453d-a22a-d24fa976dff3 2025-09-29 21:02:57,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:57,750 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.200.109.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 21:02:57,750 - DEBUG - ping -s 56 -c 3 -W 1 27.200.109.67 2025-09-29 21:02:59,949 - DEBUG - PING 27.200.109.67 (27.200.109.67): 56 data bytes 64 bytes from 27.200.109.67: seq=0 ttl=63 time=1.216 ms 64 bytes from 27.200.109.67: seq=1 ttl=63 time=0.755 ms 64 bytes from 27.200.109.67: seq=2 ttl=63 time=0.707 ms --- 27.200.109.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.707/0.892/1.216 ms 2025-09-29 21:02:59,949 - INFO - Ping to IP 27.200.109.67 from VM ctest-vn1-vm1-05501656 passed 2025-09-29 21:02:59,949 - INFO - Deleting interface with subnet_id 0453796d-9d37-4ca1-9599-773e1de6ce61, port_id None from router c8affd0b-95b5-453d-a22a-d24fa976dff3 2025-09-29 21:03:00,046 - INFO - Deleting interface with subnet_id 2056dfad-2d36-4f3e-99d9-6fef007232d0, port_id None from router c8affd0b-95b5-453d-a22a-d24fa976dff3 2025-09-29 21:03:00,200 - INFO - Deleting VM ctest-vn2-vm1-21117976 2025-09-29 21:03:00,261 - INFO - Deleting VM ctest-vn1-vm1-05501656 2025-09-29 21:03:00,324 - INFO - Deleting VN ctest-vn2-32547718 2025-09-29 21:03:00,354 - DEBUG - VN 0ad1c08d-ce93-4722-97e7-99cb7356c699 still in use: Unable to complete operation on network 0ad1c08d-ce93-4722-97e7-99cb7356c699. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f76dc701-87ba-459e-93cb-028f438153e8'] 2025-09-29 21:03:00,354 - WARNING - Deleting VN ctest-vn2-32547718 failed..Will retry 2025-09-29 21:03:02,443 - DEBUG - Response for deleting network () 2025-09-29 21:03:02,443 - INFO - Deleting VN ctest-vn1-38637055 2025-09-29 21:03:02,531 - DEBUG - Response for deleting network () 2025-09-29 21:03:02,790 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 21:03:02,790 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33]
2025-09-29 21:03:02,790 - INFO - -------------------------------------------------------------------------------- 2025-09-29 21:03:03,411 - INFO - Deleted project: ctest-TestRouters-43009078, ID : 7fafe2d3-7d05-4c7c-aec2-8bc39712ee3c