2025-03-24 18:19:53,405 - INFO - Domain Default found not creating 2025-03-24 18:19:53,583 - INFO - Project ctest-TestBasicVMVNx-60178536 not found, creating it 2025-03-24 18:19:54,065 - INFO - Created Project:ctest-TestBasicVMVNx-60178536, ID : 0cb72ceb-21d3-4db6-9a8e-48f3e6301456 2025-03-24 18:19:55,593 - INFO - ================================================================================ 2025-03-24 18:19:55,593 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-24 18:19:55,593 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2025-03-24 18:19:55,860 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.6': '0'}} with 2025-03-24 18:19:55,860 - INFO - Initial checks done. Running the testcase now 2025-03-24 18:19:55,860 - INFO - 2025-03-24 18:19:56,430 - DEBUG - Response for create_network : {'network': {'id': '7de68798-06cd-4929-843d-c88eef7986c4', 'name': 'ctest-vn-86571335', 'tenant_id': '0cb72ceb21d34db69a8e48f3e6301456', 'project_id': '0cb72ceb21d34db69a8e48f3e6301456', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60178536', 'ctest-vn-86571335'], 'port_security_enabled': True, 'description': ''}} 2025-03-24 18:19:56,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '804eba3c-96fb-4a7b-8ef0-493beedf80a1', 'name': '', 'tenant_id': '0cb72ceb21d34db69a8e48f3e6301456', 'network_id': '7de68798-06cd-4929-843d-c88eef7986c4', 'ip_version': 4, 'cidr': '33.62.109.0/26', 'allocation_pools': [{'start': '33.62.109.2', 'end': '33.62.109.62'}], 'gateway_ip': '33.62.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.62.109.2', 'tags': [], 'project_id': '0cb72ceb21d34db69a8e48f3e6301456'}} 2025-03-24 18:19:56,614 - INFO - Created VN ctest-vn-86571335 2025-03-24 18:19:56,667 - DEBUG - VN ctest-vn-86571335 UUID is 7de68798-06cd-4929-843d-c88eef7986c4 2025-03-24 18:19:56,839 - DEBUG - Services list from nova: [, , ] 2025-03-24 18:19:57,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2944-1) 2025-03-24 18:19:59,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2944-1) 2025-03-24 18:19:59,121 - INFO - Waiting for VM ctest-TestBasicVMVNx-60178536-44804428 to be up.. 2025-03-24 18:19:59,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-24 18:20:04,331 - DEBUG - VM is in ACTIVE state now 2025-03-24 18:20:04,331 - INFO - VM name : ctest-TestBasicVMVNx-60178536-44804428 2025-03-24 18:20:04,416 - DEBUG - VM ctest-TestBasicVMVNx-60178536-44804428 ID is 0015f068-1f3e-4b06-83c8-63aff57a7632 2025-03-24 18:20:04,440 - DEBUG - VM ctest-TestBasicVMVNx-60178536-44804428 launched on Node cn-jenkins-deploy-platform-ansible-os-2944-1 2025-03-24 18:20:04,636 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0015f068-1f3e-4b06-83c8-63aff57a7632 2025-03-24 18:20:04,939 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0015f068-1f3e-4b06-83c8-63aff57a7632 2025-03-24 18:20:04,973 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/136c9857-092e-4f38-b624-db28d41d1943 2025-03-24 18:20:08,249 - 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 1015ms') 2025-03-24 18:20:08,249 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60178536-44804428 failed! 2025-03-24 18:20:08,310 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60178536:ctest-vn-86571335 is 33.62.109.1 and allocation pool is NOT set 2025-03-24 18:20:10,372 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.043/3.427/4.812/1.384 ms') 2025-03-24 18:20:10,372 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60178536-44804428 passed 2025-03-24 18:20:10,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 18:20:10,523 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60178536-44804428, IP 33.62.109.3, Port 22 2025-03-24 18:20:10,682 - DEBUG - VM ctest-TestBasicVMVNx-60178536-44804428 is ready for SSH connections 2025-03-24 18:20:10,682 - INFO - Waiting for VM ctest-TestBasicVMVNx-60178536-64283436 to be up.. 2025-03-24 18:20:10,770 - DEBUG - VM is in ACTIVE state now 2025-03-24 18:20:10,770 - INFO - VM name : ctest-TestBasicVMVNx-60178536-64283436 2025-03-24 18:20:10,860 - DEBUG - VM ctest-TestBasicVMVNx-60178536-64283436 ID is c4148e46-dba7-4a0b-85a6-9d57270d66c7 2025-03-24 18:20:10,860 - DEBUG - VM ctest-TestBasicVMVNx-60178536-64283436 launched on Node cn-jenkins-deploy-platform-ansible-os-2944-1 2025-03-24 18:20:10,958 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c4148e46-dba7-4a0b-85a6-9d57270d66c7 2025-03-24 18:20:10,970 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/01665d8b-f441-4da0-88c5-6ea6ea3b2fd8 2025-03-24 18:20:12,225 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.542 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.542/1.687/2.833/1.145 ms') 2025-03-24 18:20:12,225 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60178536-64283436 passed 2025-03-24 18:20:12,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 18:20:12,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60178536-64283436, IP 33.62.109.4, Port 22 2025-03-24 18:20:12,535 - DEBUG - VM ctest-TestBasicVMVNx-60178536-64283436 is ready for SSH connections 2025-03-24 18:20:12,535 - DEBUG - FILE SIZE = 1303B 2025-03-24 18:20:12,535 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60178536-44804428 to ctest-TestBasicVMVNx-60178536-64283436 using scp 2025-03-24 18:20:12,535 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-03-24 18:20:12,536 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-24 18:20:14,502 - DEBUG - 1+0 records in 1+0 records out 2025-03-24 18:20:15,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 18:20:15,632 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-03-24 18:20:15,633 - DEBUG - ls -l testfile 2025-03-24 18:20:17,217 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 24 12:20 testfile 2025-03-24 18:20:17,217 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60178536-64283436 2025-03-24 18:20:17,217 - INFO - Deleting VM ctest-TestBasicVMVNx-60178536-64283436 2025-03-24 18:20:17,305 - INFO - Deleting VM ctest-TestBasicVMVNx-60178536-44804428 2025-03-24 18:20:17,394 - INFO - Deleting VN ctest-vn-86571335 2025-03-24 18:20:17,439 - DEBUG - VN 7de68798-06cd-4929-843d-c88eef7986c4 still in use: Unable to complete operation on network 7de68798-06cd-4929-843d-c88eef7986c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14c9640d-e381-4601-9dd8-ed24165f1da5'] 2025-03-24 18:20:17,440 - WARNING - Deleting VN ctest-vn-86571335 failed..Will retry 2025-03-24 18:20:19,595 - DEBUG - Response for deleting network () 2025-03-24 18:20:19,854 - DEBUG - No XMPP flaps were noticed during the test 2025-03-24 18:20:19,854 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-24 18:20:19,854 - INFO - -------------------------------------------------------------------------------- 2025-03-24 18:20:20,659 - INFO - Deleted project: ctest-TestBasicVMVNx-60178536, ID : 0cb72ceb-21d3-4db6-9a8e-48f3e6301456