2025-10-22 21:16:45,470 - INFO - Domain Default found not creating 2025-10-22 21:16:45,600 - INFO - Project ctest-TestRouters-13248094 not found, creating it 2025-10-22 21:16:46,060 - INFO - Created Project:ctest-TestRouters-13248094, ID : f17627eb-cd6a-40a4-a978-93cd64b9aa59 2025-10-22 21:16:47,432 - INFO - ================================================================================ 2025-10-22 21:16:47,433 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 21:16:47,433 - 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-22 21:16:47,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 21:16:47,694 - INFO - Initial checks done. Running the testcase now 2025-10-22 21:16:47,694 - INFO - 2025-10-22 21:16:48,229 - DEBUG - Response for create_network : {'network': {'id': 'a98b3aab-80d4-4696-9caa-572775d6e0f7', 'name': 'ctest-vn1-32965071', 'tenant_id': 'f17627ebcd6a40a4a97893cd64b9aa59', 'project_id': 'f17627ebcd6a40a4a97893cd64b9aa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13248094', 'ctest-vn1-32965071'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:16:48,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d3b8e35-f0ec-409b-b6c2-f0bb4f27abe4', 'name': '', 'tenant_id': 'f17627ebcd6a40a4a97893cd64b9aa59', 'network_id': 'a98b3aab-80d4-4696-9caa-572775d6e0f7', 'ip_version': 4, 'cidr': '167.52.146.192/26', 'allocation_pools': [{'start': '167.52.146.194', 'end': '167.52.146.254'}], 'gateway_ip': '167.52.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.52.146.194', 'tags': [], 'project_id': 'f17627ebcd6a40a4a97893cd64b9aa59'}} 2025-10-22 21:16:48,472 - INFO - Created VN ctest-vn1-32965071 2025-10-22 21:16:48,525 - DEBUG - VN ctest-vn1-32965071 UUID is a98b3aab-80d4-4696-9caa-572775d6e0f7 2025-10-22 21:16:48,863 - DEBUG - Response for create_network : {'network': {'id': '19a68d71-ddf0-4d2f-ba4e-de9493618fae', 'name': 'ctest-vn2-64899880', 'tenant_id': 'f17627ebcd6a40a4a97893cd64b9aa59', 'project_id': 'f17627ebcd6a40a4a97893cd64b9aa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13248094', 'ctest-vn2-64899880'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:16:49,044 - DEBUG - Response for create_subnet : {'subnet': {'id': '39cca16c-579c-4ede-b2d9-9bb369773e27', 'name': '', 'tenant_id': 'f17627ebcd6a40a4a97893cd64b9aa59', 'network_id': '19a68d71-ddf0-4d2f-ba4e-de9493618fae', 'ip_version': 4, 'cidr': '189.229.141.192/26', 'allocation_pools': [{'start': '189.229.141.194', 'end': '189.229.141.254'}], 'gateway_ip': '189.229.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.229.141.194', 'tags': [], 'project_id': 'f17627ebcd6a40a4a97893cd64b9aa59'}} 2025-10-22 21:16:49,060 - INFO - Created VN ctest-vn2-64899880 2025-10-22 21:16:49,113 - DEBUG - VN ctest-vn2-64899880 UUID is 19a68d71-ddf0-4d2f-ba4e-de9493618fae 2025-10-22 21:16:49,307 - DEBUG - Services list from nova: [, , ] 2025-10-22 21:16:50,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4442-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4442-1) 2025-10-22 21:16:51,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4442-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4442-1) 2025-10-22 21:16:51,618 - INFO - Adding interface with subnet_id 7d3b8e35-f0ec-409b-b6c2-f0bb4f27abe4, port_id None to router 0719a6f1-67be-4ea4-8256-1c56568b1b45 2025-10-22 21:16:51,947 - INFO - Waiting for VM ctest-vn1-vm1-97143902 to be up.. 2025-10-22 21:16:52,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 21:16:57,113 - DEBUG - VM is in ACTIVE state now 2025-10-22 21:16:57,113 - INFO - VM name : ctest-vn1-vm1-97143902 2025-10-22 21:16:57,177 - DEBUG - VM ctest-vn1-vm1-97143902 ID is 16c07642-2d22-42b2-8388-9b4a69d16e95 2025-10-22 21:16:57,193 - DEBUG - VM ctest-vn1-vm1-97143902 launched on Node cn-jenkins-deploy-platform-ansible-os-4442-1 2025-10-22 21:16:57,256 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/16c07642-2d22-42b2-8388-9b4a69d16e95 2025-10-22 21:16:57,545 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/16c07642-2d22-42b2-8388-9b4a69d16e95 2025-10-22 21:16:57,575 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2194beb7-8ae1-4e8a-af50-d0bbd3da128e 2025-10-22 21:17:00,846 - 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 1022ms') 2025-10-22 21:17:00,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97143902 failed! 2025-10-22 21:17:00,905 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-13248094:ctest-vn1-32965071 is 167.52.146.193 and allocation pool is NOT set 2025-10-22 21:17:02,970 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.686 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.686/2.765/4.845/2.079 ms') 2025-10-22 21:17:02,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97143902 passed 2025-10-22 21:17:03,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:17:03,117 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97143902, IP 167.52.146.195, Port 22 2025-10-22 21:17:03,283 - DEBUG - VM ctest-vn1-vm1-97143902 is ready for SSH connections 2025-10-22 21:17:03,283 - INFO - Waiting for VM ctest-vn2-vm1-90575292 to be up.. 2025-10-22 21:17:03,374 - DEBUG - VM is in ACTIVE state now 2025-10-22 21:17:03,374 - INFO - VM name : ctest-vn2-vm1-90575292 2025-10-22 21:17:03,450 - DEBUG - VM ctest-vn2-vm1-90575292 ID is 681901ca-a4a7-477a-980c-ff41e039149a 2025-10-22 21:17:03,451 - DEBUG - VM ctest-vn2-vm1-90575292 launched on Node cn-jenkins-deploy-platform-ansible-os-4442-1 2025-10-22 21:17:03,535 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/681901ca-a4a7-477a-980c-ff41e039149a 2025-10-22 21:17:03,544 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/73bb8138-34b4-4b39-8df8-b14722c3b519 2025-10-22 21:17:04,797 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.664/2.941/1.276 ms') 2025-10-22 21:17:04,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-90575292 passed 2025-10-22 21:17:04,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:17:04,949 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90575292, IP 189.229.141.195, Port 22 2025-10-22 21:17:05,104 - DEBUG - VM ctest-vn2-vm1-90575292 is ready for SSH connections 2025-10-22 21:17:05,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:17:05,105 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.229.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 21:17:05,105 - DEBUG - ping -s 56 -c 3 -W 1 189.229.141.195 2025-10-22 21:17:09,741 - DEBUG - PING 189.229.141.195 (189.229.141.195): 56 data bytes --- 189.229.141.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 21:17:09,741 - WARNING - Ping to IP 189.229.141.195 from VM ctest-vn1-vm1-97143902 failed 2025-10-22 21:17:09,741 - INFO - Adding interface with subnet_id 39cca16c-579c-4ede-b2d9-9bb369773e27, port_id None to router 0719a6f1-67be-4ea4-8256-1c56568b1b45 2025-10-22 21:17:10,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:17:10,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.229.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 21:17:10,020 - DEBUG - ping -s 56 -c 3 -W 1 189.229.141.195 2025-10-22 21:17:13,241 - DEBUG - PING 189.229.141.195 (189.229.141.195): 56 data bytes 64 bytes from 189.229.141.195: seq=1 ttl=63 time=4.868 ms 64 bytes from 189.229.141.195: seq=2 ttl=63 time=0.710 ms --- 189.229.141.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.710/2.789/4.868 ms 2025-10-22 21:17:13,241 - WARNING - Ping to IP 189.229.141.195 from VM ctest-vn1-vm1-97143902 failed 2025-10-22 21:17:14,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.229.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 21:17:14,242 - DEBUG - ping -s 56 -c 3 -W 1 189.229.141.195 2025-10-22 21:17:16,455 - DEBUG - PING 189.229.141.195 (189.229.141.195): 56 data bytes 64 bytes from 189.229.141.195: seq=0 ttl=63 time=1.744 ms 64 bytes from 189.229.141.195: seq=1 ttl=63 time=1.057 ms 64 bytes from 189.229.141.195: seq=2 ttl=63 time=0.920 ms --- 189.229.141.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/1.240/1.744 ms 2025-10-22 21:17:16,455 - INFO - Ping to IP 189.229.141.195 from VM ctest-vn1-vm1-97143902 passed 2025-10-22 21:17:16,456 - INFO - Deleting interface with subnet_id 7d3b8e35-f0ec-409b-b6c2-f0bb4f27abe4, port_id None from router 0719a6f1-67be-4ea4-8256-1c56568b1b45 2025-10-22 21:17:16,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:17:16,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.229.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 21:17:16,614 - DEBUG - ping -s 56 -c 3 -W 1 189.229.141.195 2025-10-22 21:17:19,826 - DEBUG - PING 189.229.141.195 (189.229.141.195): 56 data bytes --- 189.229.141.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 21:17:19,826 - WARNING - Ping to IP 189.229.141.195 from VM ctest-vn1-vm1-97143902 failed 2025-10-22 21:17:19,826 - INFO - Adding interface with subnet_id 7d3b8e35-f0ec-409b-b6c2-f0bb4f27abe4, port_id None to router 0719a6f1-67be-4ea4-8256-1c56568b1b45 2025-10-22 21:17:20,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:17:20,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.229.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 21:17:20,038 - DEBUG - ping -s 56 -c 3 -W 1 189.229.141.195 2025-10-22 21:17:22,249 - DEBUG - PING 189.229.141.195 (189.229.141.195): 56 data bytes 64 bytes from 189.229.141.195: seq=0 ttl=63 time=1.726 ms 64 bytes from 189.229.141.195: seq=1 ttl=63 time=1.034 ms 64 bytes from 189.229.141.195: seq=2 ttl=63 time=0.795 ms --- 189.229.141.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/1.185/1.726 ms 2025-10-22 21:17:22,249 - INFO - Ping to IP 189.229.141.195 from VM ctest-vn1-vm1-97143902 passed 2025-10-22 21:17:22,249 - INFO - Deleting interface with subnet_id 39cca16c-579c-4ede-b2d9-9bb369773e27, port_id None from router 0719a6f1-67be-4ea4-8256-1c56568b1b45 2025-10-22 21:17:22,365 - INFO - Deleting interface with subnet_id 7d3b8e35-f0ec-409b-b6c2-f0bb4f27abe4, port_id None from router 0719a6f1-67be-4ea4-8256-1c56568b1b45 2025-10-22 21:17:22,541 - INFO - Deleting VM ctest-vn2-vm1-90575292 2025-10-22 21:17:22,608 - INFO - Deleting VM ctest-vn1-vm1-97143902 2025-10-22 21:17:22,677 - INFO - Deleting VN ctest-vn2-64899880 2025-10-22 21:17:22,716 - DEBUG - VN 19a68d71-ddf0-4d2f-ba4e-de9493618fae still in use: Unable to complete operation on network 19a68d71-ddf0-4d2f-ba4e-de9493618fae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-02d17456-8a4c-4e79-bfd4-70a1d3cc0b03'] 2025-10-22 21:17:22,716 - WARNING - Deleting VN ctest-vn2-64899880 failed..Will retry 2025-10-22 21:17:24,843 - DEBUG - Response for deleting network () 2025-10-22 21:17:24,843 - INFO - Deleting VN ctest-vn1-32965071 2025-10-22 21:17:24,961 - DEBUG - Response for deleting network () 2025-10-22 21:17:25,218 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 21:17:25,218 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-22 21:17:25,218 - INFO - -------------------------------------------------------------------------------- 2025-10-22 21:17:25,919 - INFO - Deleted project: ctest-TestRouters-13248094, ID : f17627eb-cd6a-40a4-a978-93cd64b9aa59