2025-11-17 02:05:56,399 - INFO - Domain Default found not creating 2025-11-17 02:05:56,590 - INFO - Project ctest-TestRouters-24432466 not found, creating it 2025-11-17 02:05:57,100 - INFO - Created Project:ctest-TestRouters-24432466, ID : 57a060c6-b9e6-44fe-b347-863190c1a0af 2025-11-17 02:05:58,800 - INFO - ================================================================================ 2025-11-17 02:05:58,801 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-17 02:05:58,801 - 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-11-17 02:05:59,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-11-17 02:05:59,075 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:05:59,075 - INFO - 2025-11-17 02:05:59,787 - DEBUG - Response for create_network : {'network': {'id': '9d4c8e00-d2f4-4f68-bb78-726c87045739', 'name': 'ctest-vn1-53931830', 'tenant_id': '57a060c6b9e644feb347863190c1a0af', 'project_id': '57a060c6b9e644feb347863190c1a0af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24432466', 'ctest-vn1-53931830'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:06:00,064 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1b91cb9-cb24-49f6-b340-d113c73f3c8d', 'name': '', 'tenant_id': '57a060c6b9e644feb347863190c1a0af', 'network_id': '9d4c8e00-d2f4-4f68-bb78-726c87045739', 'ip_version': 4, 'cidr': '119.45.32.192/26', 'allocation_pools': [{'start': '119.45.32.194', 'end': '119.45.32.254'}], 'gateway_ip': '119.45.32.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.45.32.194', 'tags': [], 'project_id': '57a060c6b9e644feb347863190c1a0af'}} 2025-11-17 02:06:00,087 - INFO - Created VN ctest-vn1-53931830 2025-11-17 02:06:00,143 - DEBUG - VN ctest-vn1-53931830 UUID is 9d4c8e00-d2f4-4f68-bb78-726c87045739 2025-11-17 02:06:00,524 - DEBUG - Response for create_network : {'network': {'id': '7d4ab719-a42c-4924-91c5-957313ad2bb8', 'name': 'ctest-vn2-98893501', 'tenant_id': '57a060c6b9e644feb347863190c1a0af', 'project_id': '57a060c6b9e644feb347863190c1a0af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24432466', 'ctest-vn2-98893501'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:06:00,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '7776c9fd-77be-41ef-a704-6bf4b0b75a38', 'name': '', 'tenant_id': '57a060c6b9e644feb347863190c1a0af', 'network_id': '7d4ab719-a42c-4924-91c5-957313ad2bb8', 'ip_version': 4, 'cidr': '134.240.241.192/26', 'allocation_pools': [{'start': '134.240.241.194', 'end': '134.240.241.254'}], 'gateway_ip': '134.240.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.240.241.194', 'tags': [], 'project_id': '57a060c6b9e644feb347863190c1a0af'}} 2025-11-17 02:06:00,804 - INFO - Created VN ctest-vn2-98893501 2025-11-17 02:06:00,863 - DEBUG - VN ctest-vn2-98893501 UUID is 7d4ab719-a42c-4924-91c5-957313ad2bb8 2025-11-17 02:06:01,054 - DEBUG - Services list from nova: [, , ] 2025-11-17 02:06:02,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1) 2025-11-17 02:06:03,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1) 2025-11-17 02:06:03,779 - INFO - Adding interface with subnet_id f1b91cb9-cb24-49f6-b340-d113c73f3c8d, port_id None to router 4eeccc13-ebd0-4674-94f6-86b5d8d42798 2025-11-17 02:06:04,100 - INFO - Waiting for VM ctest-vn1-vm1-11751580 to be up.. 2025-11-17 02:06:04,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:06:09,311 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:06:09,311 - INFO - VM name : ctest-vn1-vm1-11751580 2025-11-17 02:06:09,414 - DEBUG - VM ctest-vn1-vm1-11751580 ID is e61d9287-07bf-48de-90d1-07704fe3e695 2025-11-17 02:06:09,443 - DEBUG - VM ctest-vn1-vm1-11751580 launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1 2025-11-17 02:06:09,537 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e61d9287-07bf-48de-90d1-07704fe3e695 2025-11-17 02:06:09,863 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e61d9287-07bf-48de-90d1-07704fe3e695 2025-11-17 02:06:09,911 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e6702ed9-2eb3-4b3a-85b1-7ea63a45dc5e 2025-11-17 02:06:13,169 - 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 1005ms') 2025-11-17 02:06:13,169 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11751580 failed! 2025-11-17 02:06:13,227 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-24432466:ctest-vn1-53931830 is 119.45.32.193 and allocation pool is NOT set 2025-11-17 02:06:15,294 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.934 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.934/2.246/3.559/1.312 ms') 2025-11-17 02:06:15,294 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11751580 passed 2025-11-17 02:06:15,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:15,459 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11751580, IP 119.45.32.195, Port 22 2025-11-17 02:06:15,633 - DEBUG - VM ctest-vn1-vm1-11751580 is ready for SSH connections 2025-11-17 02:06:15,633 - INFO - Waiting for VM ctest-vn2-vm1-36907387 to be up.. 2025-11-17 02:06:15,722 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:06:15,722 - INFO - VM name : ctest-vn2-vm1-36907387 2025-11-17 02:06:15,802 - DEBUG - VM ctest-vn2-vm1-36907387 ID is 9e17660f-7230-4fd3-8ec2-eedfe8a629b2 2025-11-17 02:06:15,802 - DEBUG - VM ctest-vn2-vm1-36907387 launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1 2025-11-17 02:06:15,886 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9e17660f-7230-4fd3-8ec2-eedfe8a629b2 2025-11-17 02:06:15,896 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8a093155-871a-45c4-beb4-add183b0aed0 2025-11-17 02:06:17,148 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.977 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.977/2.307/3.637/1.330 ms') 2025-11-17 02:06:17,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-36907387 passed 2025-11-17 02:06:17,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:17,303 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-36907387, IP 134.240.241.195, Port 22 2025-11-17 02:06:17,373 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-17 02:06:17,460 - DEBUG - VM ctest-vn2-vm1-36907387 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 02:06:22,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:22,461 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-36907387, IP 134.240.241.195, Port 22 2025-11-17 02:06:22,633 - DEBUG - VM ctest-vn2-vm1-36907387 is ready for SSH connections 2025-11-17 02:06:22,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:22,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.240.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-17 02:06:22,633 - DEBUG - ping -s 56 -c 3 -W 1 134.240.241.195 2025-11-17 02:06:27,771 - DEBUG - PING 134.240.241.195 (134.240.241.195): 56 data bytes --- 134.240.241.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 02:06:27,771 - WARNING - Ping to IP 134.240.241.195 from VM ctest-vn1-vm1-11751580 failed 2025-11-17 02:06:27,771 - INFO - Adding interface with subnet_id 7776c9fd-77be-41ef-a704-6bf4b0b75a38, port_id None to router 4eeccc13-ebd0-4674-94f6-86b5d8d42798 2025-11-17 02:06:28,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:28,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.240.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-17 02:06:28,072 - DEBUG - ping -s 56 -c 3 -W 1 134.240.241.195 2025-11-17 02:06:31,296 - DEBUG - PING 134.240.241.195 (134.240.241.195): 56 data bytes 64 bytes from 134.240.241.195: seq=1 ttl=63 time=3.843 ms 64 bytes from 134.240.241.195: seq=2 ttl=63 time=0.932 ms --- 134.240.241.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.932/2.387/3.843 ms 2025-11-17 02:06:31,297 - WARNING - Ping to IP 134.240.241.195 from VM ctest-vn1-vm1-11751580 failed 2025-11-17 02:06:32,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.240.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-17 02:06:32,298 - DEBUG - ping -s 56 -c 3 -W 1 134.240.241.195 2025-11-17 02:06:34,537 - DEBUG - PING 134.240.241.195 (134.240.241.195): 56 data bytes 64 bytes from 134.240.241.195: seq=0 ttl=63 time=2.146 ms 64 bytes from 134.240.241.195: seq=1 ttl=63 time=1.351 ms 64 bytes from 134.240.241.195: seq=2 ttl=63 time=1.010 ms --- 134.240.241.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/1.502/2.146 ms 2025-11-17 02:06:34,537 - INFO - Ping to IP 134.240.241.195 from VM ctest-vn1-vm1-11751580 passed 2025-11-17 02:06:34,537 - INFO - Deleting interface with subnet_id f1b91cb9-cb24-49f6-b340-d113c73f3c8d, port_id None from router 4eeccc13-ebd0-4674-94f6-86b5d8d42798 2025-11-17 02:06:34,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:34,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.240.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-17 02:06:34,666 - DEBUG - ping -s 56 -c 3 -W 1 134.240.241.195 2025-11-17 02:06:37,904 - DEBUG - PING 134.240.241.195 (134.240.241.195): 56 data bytes --- 134.240.241.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 02:06:37,905 - WARNING - Ping to IP 134.240.241.195 from VM ctest-vn1-vm1-11751580 failed 2025-11-17 02:06:37,905 - INFO - Adding interface with subnet_id f1b91cb9-cb24-49f6-b340-d113c73f3c8d, port_id None to router 4eeccc13-ebd0-4674-94f6-86b5d8d42798 2025-11-17 02:06:38,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:38,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.240.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-17 02:06:38,177 - DEBUG - ping -s 56 -c 3 -W 1 134.240.241.195 2025-11-17 02:06:40,412 - DEBUG - PING 134.240.241.195 (134.240.241.195): 56 data bytes 64 bytes from 134.240.241.195: seq=0 ttl=63 time=2.024 ms 64 bytes from 134.240.241.195: seq=1 ttl=63 time=1.414 ms 64 bytes from 134.240.241.195: seq=2 ttl=63 time=1.177 ms --- 134.240.241.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.177/1.538/2.024 ms 2025-11-17 02:06:40,412 - INFO - Ping to IP 134.240.241.195 from VM ctest-vn1-vm1-11751580 passed 2025-11-17 02:06:40,412 - INFO - Deleting interface with subnet_id 7776c9fd-77be-41ef-a704-6bf4b0b75a38, port_id None from router 4eeccc13-ebd0-4674-94f6-86b5d8d42798 2025-11-17 02:06:40,559 - INFO - Deleting interface with subnet_id f1b91cb9-cb24-49f6-b340-d113c73f3c8d, port_id None from router 4eeccc13-ebd0-4674-94f6-86b5d8d42798 2025-11-17 02:06:40,768 - INFO - Deleting VM ctest-vn2-vm1-36907387 2025-11-17 02:06:40,865 - INFO - Deleting VM ctest-vn1-vm1-11751580 2025-11-17 02:06:40,962 - INFO - Deleting VN ctest-vn2-98893501 2025-11-17 02:06:41,009 - DEBUG - VN 7d4ab719-a42c-4924-91c5-957313ad2bb8 still in use: Unable to complete operation on network 7d4ab719-a42c-4924-91c5-957313ad2bb8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e018b0b5-ce63-4549-88a1-236df4fa0a9b'] 2025-11-17 02:06:41,009 - WARNING - Deleting VN ctest-vn2-98893501 failed..Will retry 2025-11-17 02:06:43,139 - DEBUG - Response for deleting network () 2025-11-17 02:06:43,139 - INFO - Deleting VN ctest-vn1-53931830 2025-11-17 02:06:43,264 - DEBUG - Response for deleting network () 2025-11-17 02:06:43,541 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 02:06:43,542 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-11-17 02:06:43,542 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:06:44,314 - INFO - Deleted project: ctest-TestRouters-24432466, ID : 57a060c6-b9e6-44fe-b347-863190c1a0af