2025-09-09 07:03:14,681 - INFO - Domain Default found not creating 2025-09-09 07:03:15,214 - INFO - Project ctest-TestRouters-99052889 not found, creating it 2025-09-09 07:03:15,692 - INFO - Created Project:ctest-TestRouters-99052889, ID : 27d8dd90-592a-41d9-b15d-46ff16c1c01c 2025-09-09 07:03:17,272 - INFO - ================================================================================ 2025-09-09 07:03:17,272 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-09 07:03:17,272 - 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-09 07:03:17,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-09 07:03:17,532 - INFO - Initial checks done. Running the testcase now 2025-09-09 07:03:17,532 - INFO - 2025-09-09 07:03:18,129 - DEBUG - Response for create_network : {'network': {'id': 'fe25ff9a-1f11-4139-8a58-2e1107538858', 'name': 'ctest-vn1-86008634', 'tenant_id': '27d8dd90592a41d9b15d46ff16c1c01c', 'project_id': '27d8dd90592a41d9b15d46ff16c1c01c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99052889', 'ctest-vn1-86008634'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 07:03:18,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e42ed620-b007-4a87-8152-a76c39a9e02b', 'name': '', 'tenant_id': '27d8dd90592a41d9b15d46ff16c1c01c', 'network_id': 'fe25ff9a-1f11-4139-8a58-2e1107538858', 'ip_version': 4, 'cidr': '143.207.14.64/26', 'allocation_pools': [{'start': '143.207.14.66', 'end': '143.207.14.126'}], 'gateway_ip': '143.207.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.207.14.66', 'tags': [], 'project_id': '27d8dd90592a41d9b15d46ff16c1c01c'}} 2025-09-09 07:03:18,317 - INFO - Created VN ctest-vn1-86008634 2025-09-09 07:03:18,374 - DEBUG - VN ctest-vn1-86008634 UUID is fe25ff9a-1f11-4139-8a58-2e1107538858 2025-09-09 07:03:18,678 - DEBUG - Response for create_network : {'network': {'id': '92289bc1-b5e4-4416-895a-a1f98c5e473a', 'name': 'ctest-vn2-31431939', 'tenant_id': '27d8dd90592a41d9b15d46ff16c1c01c', 'project_id': '27d8dd90592a41d9b15d46ff16c1c01c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99052889', 'ctest-vn2-31431939'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 07:03:18,837 - DEBUG - Response for create_subnet : {'subnet': {'id': '61e7a835-9cb2-41f7-8dc4-c21e8e4eb441', 'name': '', 'tenant_id': '27d8dd90592a41d9b15d46ff16c1c01c', 'network_id': '92289bc1-b5e4-4416-895a-a1f98c5e473a', 'ip_version': 4, 'cidr': '2.149.157.64/26', 'allocation_pools': [{'start': '2.149.157.66', 'end': '2.149.157.126'}], 'gateway_ip': '2.149.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.149.157.66', 'tags': [], 'project_id': '27d8dd90592a41d9b15d46ff16c1c01c'}} 2025-09-09 07:03:18,856 - INFO - Created VN ctest-vn2-31431939 2025-09-09 07:03:18,906 - DEBUG - VN ctest-vn2-31431939 UUID is 92289bc1-b5e4-4416-895a-a1f98c5e473a 2025-09-09 07:03:19,075 - DEBUG - Services list from nova: [, , ] 2025-09-09 07:03:20,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4059-1) 2025-09-09 07:03:21,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4059-1) 2025-09-09 07:03:21,636 - INFO - Adding interface with subnet_id e42ed620-b007-4a87-8152-a76c39a9e02b, port_id None to router b0736e4c-d567-4e49-8bfb-55fdcaba34cc 2025-09-09 07:03:21,902 - INFO - Waiting for VM ctest-vn1-vm1-69722082 to be up.. 2025-09-09 07:03:22,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 07:03:27,125 - DEBUG - VM is in ACTIVE state now 2025-09-09 07:03:27,125 - INFO - VM name : ctest-vn1-vm1-69722082 2025-09-09 07:03:27,211 - DEBUG - VM ctest-vn1-vm1-69722082 ID is ad69426d-5edf-44d6-b56a-c0e7b070fdad 2025-09-09 07:03:27,235 - DEBUG - VM ctest-vn1-vm1-69722082 launched on Node cn-jenkins-deploy-platform-ansible-os-4059-1 2025-09-09 07:03:27,317 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ad69426d-5edf-44d6-b56a-c0e7b070fdad 2025-09-09 07:03:27,684 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ad69426d-5edf-44d6-b56a-c0e7b070fdad 2025-09-09 07:03:27,724 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/03fc26b3-8713-4d15-a069-21a7e5f360bf 2025-09-09 07:03:31,004 - 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 1026ms') 2025-09-09 07:03:31,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69722082 failed! 2025-09-09 07:03:31,070 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99052889:ctest-vn1-86008634 is 143.207.14.65 and allocation pool is NOT set 2025-09-09 07:03:33,129 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/2.196/3.951/1.754 ms') 2025-09-09 07:03:33,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69722082 passed 2025-09-09 07:03:33,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:03:33,283 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69722082, IP 143.207.14.67, Port 22 2025-09-09 07:03:33,456 - DEBUG - VM ctest-vn1-vm1-69722082 is ready for SSH connections 2025-09-09 07:03:33,456 - INFO - Waiting for VM ctest-vn2-vm1-74256436 to be up.. 2025-09-09 07:03:33,548 - DEBUG - VM is in ACTIVE state now 2025-09-09 07:03:33,548 - INFO - VM name : ctest-vn2-vm1-74256436 2025-09-09 07:03:33,629 - DEBUG - VM ctest-vn2-vm1-74256436 ID is 643de0bf-f727-4e8f-b95a-256bc2158169 2025-09-09 07:03:33,630 - DEBUG - VM ctest-vn2-vm1-74256436 launched on Node cn-jenkins-deploy-platform-ansible-os-4059-1 2025-09-09 07:03:33,712 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/643de0bf-f727-4e8f-b95a-256bc2158169 2025-09-09 07:03:33,724 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/99a5e05b-34f3-4540-ad13-10825eba5551 2025-09-09 07:03:34,988 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.841/3.182/1.341 ms') 2025-09-09 07:03:34,988 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-74256436 passed 2025-09-09 07:03:35,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:03:35,139 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-74256436, IP 2.149.157.67, Port 22 2025-09-09 07:03:35,298 - DEBUG - VM ctest-vn2-vm1-74256436 is ready for SSH connections 2025-09-09 07:03:35,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:03:35,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.149.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 07:03:35,298 - DEBUG - ping -s 56 -c 3 -W 1 2.149.157.67 2025-09-09 07:03:40,356 - DEBUG - PING 2.149.157.67 (2.149.157.67): 56 data bytes --- 2.149.157.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-09 07:03:40,356 - WARNING - Ping to IP 2.149.157.67 from VM ctest-vn1-vm1-69722082 failed 2025-09-09 07:03:40,356 - INFO - Adding interface with subnet_id 61e7a835-9cb2-41f7-8dc4-c21e8e4eb441, port_id None to router b0736e4c-d567-4e49-8bfb-55fdcaba34cc 2025-09-09 07:03:40,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:03:40,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.149.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 07:03:40,598 - DEBUG - ping -s 56 -c 3 -W 1 2.149.157.67 2025-09-09 07:03:43,829 - DEBUG - PING 2.149.157.67 (2.149.157.67): 56 data bytes 64 bytes from 2.149.157.67: seq=1 ttl=63 time=2.998 ms 64 bytes from 2.149.157.67: seq=2 ttl=63 time=0.988 ms --- 2.149.157.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.988/1.993/2.998 ms 2025-09-09 07:03:43,829 - WARNING - Ping to IP 2.149.157.67 from VM ctest-vn1-vm1-69722082 failed 2025-09-09 07:03:44,830 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.149.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 07:03:44,830 - DEBUG - ping -s 56 -c 3 -W 1 2.149.157.67 2025-09-09 07:03:47,067 - DEBUG - PING 2.149.157.67 (2.149.157.67): 56 data bytes 64 bytes from 2.149.157.67: seq=0 ttl=63 time=1.658 ms 64 bytes from 2.149.157.67: seq=1 ttl=63 time=0.926 ms 64 bytes from 2.149.157.67: seq=2 ttl=63 time=0.944 ms --- 2.149.157.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/1.176/1.658 ms 2025-09-09 07:03:47,067 - INFO - Ping to IP 2.149.157.67 from VM ctest-vn1-vm1-69722082 passed 2025-09-09 07:03:47,067 - INFO - Deleting interface with subnet_id e42ed620-b007-4a87-8152-a76c39a9e02b, port_id None from router b0736e4c-d567-4e49-8bfb-55fdcaba34cc 2025-09-09 07:03:47,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:03:47,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.149.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 07:03:47,191 - DEBUG - ping -s 56 -c 3 -W 1 2.149.157.67 2025-09-09 07:03:50,430 - DEBUG - PING 2.149.157.67 (2.149.157.67): 56 data bytes --- 2.149.157.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-09 07:03:50,430 - WARNING - Ping to IP 2.149.157.67 from VM ctest-vn1-vm1-69722082 failed 2025-09-09 07:03:50,430 - INFO - Adding interface with subnet_id e42ed620-b007-4a87-8152-a76c39a9e02b, port_id None to router b0736e4c-d567-4e49-8bfb-55fdcaba34cc 2025-09-09 07:03:50,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:03:50,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.149.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 07:03:50,661 - DEBUG - ping -s 56 -c 3 -W 1 2.149.157.67 2025-09-09 07:03:52,889 - DEBUG - PING 2.149.157.67 (2.149.157.67): 56 data bytes 64 bytes from 2.149.157.67: seq=0 ttl=63 time=1.504 ms 64 bytes from 2.149.157.67: seq=1 ttl=63 time=0.914 ms 64 bytes from 2.149.157.67: seq=2 ttl=63 time=1.072 ms --- 2.149.157.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.163/1.504 ms 2025-09-09 07:03:52,889 - INFO - Ping to IP 2.149.157.67 from VM ctest-vn1-vm1-69722082 passed 2025-09-09 07:03:52,889 - INFO - Deleting interface with subnet_id 61e7a835-9cb2-41f7-8dc4-c21e8e4eb441, port_id None from router b0736e4c-d567-4e49-8bfb-55fdcaba34cc 2025-09-09 07:03:53,026 - INFO - Deleting interface with subnet_id e42ed620-b007-4a87-8152-a76c39a9e02b, port_id None from router b0736e4c-d567-4e49-8bfb-55fdcaba34cc 2025-09-09 07:03:53,205 - INFO - Deleting VM ctest-vn2-vm1-74256436 2025-09-09 07:03:53,289 - INFO - Deleting VM ctest-vn1-vm1-69722082 2025-09-09 07:03:53,364 - INFO - Deleting VN ctest-vn2-31431939 2025-09-09 07:03:53,404 - DEBUG - VN 92289bc1-b5e4-4416-895a-a1f98c5e473a still in use: Unable to complete operation on network 92289bc1-b5e4-4416-895a-a1f98c5e473a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36874c31-8de0-4fdb-9765-9fa7c7394403'] 2025-09-09 07:03:53,404 - WARNING - Deleting VN ctest-vn2-31431939 failed..Will retry 2025-09-09 07:03:55,500 - DEBUG - Response for deleting network () 2025-09-09 07:03:55,500 - INFO - Deleting VN ctest-vn1-86008634 2025-09-09 07:03:55,604 - DEBUG - Response for deleting network () 2025-09-09 07:03:55,868 - DEBUG - No XMPP flaps were noticed during the test
2025-09-09 07:03:55,868 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-09 07:03:55,868 - INFO - -------------------------------------------------------------------------------- 2025-09-09 07:03:56,581 - INFO - Deleted project: ctest-TestRouters-99052889, ID : 27d8dd90-592a-41d9-b15d-46ff16c1c01c