2025-04-23 15:36:55,531 - INFO - Domain Default found not creating 2025-04-23 15:36:55,683 - INFO - Project ctest-TestBasicVMVNx-27579254 not found, creating it 2025-04-23 15:36:56,146 - INFO - Created Project:ctest-TestBasicVMVNx-27579254, ID : d3b368a5-f553-405e-99ed-494765581d41 2025-04-23 15:36:57,709 - INFO - ================================================================================ 2025-04-23 15:36:57,709 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-23 15:36:57,709 - 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-04-23 15:36:57,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.192': '0'}} with 2025-04-23 15:36:57,969 - INFO - Initial checks done. Running the testcase now 2025-04-23 15:36:57,969 - INFO - 2025-04-23 15:36:58,553 - DEBUG - Response for create_network : {'network': {'id': 'b119cdcf-a25b-4442-946e-56f2117fd2de', 'name': 'ctest-vn-58420737', 'tenant_id': 'd3b368a5f553405e99ed494765581d41', 'project_id': 'd3b368a5f553405e99ed494765581d41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27579254', 'ctest-vn-58420737'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:36:58,745 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa184351-1993-4a1f-a251-70261e53e471', 'name': '', 'tenant_id': 'd3b368a5f553405e99ed494765581d41', 'network_id': 'b119cdcf-a25b-4442-946e-56f2117fd2de', 'ip_version': 4, 'cidr': '171.98.87.0/26', 'allocation_pools': [{'start': '171.98.87.2', 'end': '171.98.87.62'}], 'gateway_ip': '171.98.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.98.87.2', 'tags': [], 'project_id': 'd3b368a5f553405e99ed494765581d41'}} 2025-04-23 15:36:58,764 - INFO - Created VN ctest-vn-58420737 2025-04-23 15:36:58,820 - DEBUG - VN ctest-vn-58420737 UUID is b119cdcf-a25b-4442-946e-56f2117fd2de 2025-04-23 15:36:59,024 - DEBUG - Services list from nova: [, , ] 2025-04-23 15:37:00,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3189-1) 2025-04-23 15:37:01,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3189-1) 2025-04-23 15:37:01,460 - INFO - Waiting for VM ctest-TestBasicVMVNx-27579254-00616417 to be up.. 2025-04-23 15:37:01,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 15:37:06,632 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:37:06,632 - INFO - VM name : ctest-TestBasicVMVNx-27579254-00616417 2025-04-23 15:37:06,732 - DEBUG - VM ctest-TestBasicVMVNx-27579254-00616417 ID is 874b91db-d894-4974-9010-f8db59ac6545 2025-04-23 15:37:06,755 - DEBUG - VM ctest-TestBasicVMVNx-27579254-00616417 launched on Node cn-jenkins-deploy-platform-ansible-os-3189-1 2025-04-23 15:37:06,847 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/874b91db-d894-4974-9010-f8db59ac6545 2025-04-23 15:37:07,187 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/874b91db-d894-4974-9010-f8db59ac6545 2025-04-23 15:37:07,229 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b9f6e1f8-9382-4e3d-bb85-3adb9edc6642 2025-04-23 15:37:10,499 - 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 1006ms') 2025-04-23 15:37:10,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27579254-00616417 failed! 2025-04-23 15:37:10,560 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27579254:ctest-vn-58420737 is 171.98.87.1 and allocation pool is NOT set 2025-04-23 15:37:12,622 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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 = 1.985/2.963/3.941/0.978 ms') 2025-04-23 15:37:12,622 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27579254-00616417 passed 2025-04-23 15:37:12,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:37:12,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27579254-00616417, IP 171.98.87.3, Port 22 2025-04-23 15:37:12,935 - DEBUG - VM ctest-TestBasicVMVNx-27579254-00616417 is ready for SSH connections 2025-04-23 15:37:12,935 - INFO - Waiting for VM ctest-TestBasicVMVNx-27579254-61222540 to be up.. 2025-04-23 15:37:13,109 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:37:13,110 - INFO - VM name : ctest-TestBasicVMVNx-27579254-61222540 2025-04-23 15:37:13,195 - DEBUG - VM ctest-TestBasicVMVNx-27579254-61222540 ID is 3cecd0f3-9372-40af-8262-0f07e28ba0d3 2025-04-23 15:37:13,196 - DEBUG - VM ctest-TestBasicVMVNx-27579254-61222540 launched on Node cn-jenkins-deploy-platform-ansible-os-3189-1 2025-04-23 15:37:13,274 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3cecd0f3-9372-40af-8262-0f07e28ba0d3 2025-04-23 15:37:13,284 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1e78aa7b-a2bc-4dd1-bf0b-421199e80c11 2025-04-23 15:37:14,524 - 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=4.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.840 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.840/2.828/4.816/1.988 ms') 2025-04-23 15:37:14,524 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27579254-61222540 passed 2025-04-23 15:37:14,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:37:14,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27579254-61222540, IP 171.98.87.4, Port 22 2025-04-23 15:37:14,831 - DEBUG - VM ctest-TestBasicVMVNx-27579254-61222540 is ready for SSH connections 2025-04-23 15:37:14,831 - DEBUG - FILE SIZE = 1303B 2025-04-23 15:37:14,831 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27579254-00616417 to ctest-TestBasicVMVNx-27579254-61222540 using scp 2025-04-23 15:37:14,832 - 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.33, gateway password: c0ntrail123 2025-04-23 15:37:14,832 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-23 15:37:16,835 - DEBUG - 1+0 records in 1+0 records out 2025-04-23 15:37:17,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:37:17,873 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-23 15:37:17,873 - DEBUG - ls -l testfile 2025-04-23 15:37:19,519 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 23 09:37 testfile 2025-04-23 15:37:19,519 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27579254-61222540 2025-04-23 15:37:19,519 - INFO - Deleting VM ctest-TestBasicVMVNx-27579254-61222540 2025-04-23 15:37:19,588 - INFO - Deleting VM ctest-TestBasicVMVNx-27579254-00616417 2025-04-23 15:37:19,659 - INFO - Deleting VN ctest-vn-58420737 2025-04-23 15:37:19,694 - DEBUG - VN b119cdcf-a25b-4442-946e-56f2117fd2de still in use: Unable to complete operation on network b119cdcf-a25b-4442-946e-56f2117fd2de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9b6b11c9-2c60-4ed0-9077-476189949db2'] 2025-04-23 15:37:19,694 - WARNING - Deleting VN ctest-vn-58420737 failed..Will retry 2025-04-23 15:37:21,824 - DEBUG - Response for deleting network () 2025-04-23 15:37:22,086 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 15:37:22,087 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-04-23 15:37:22,087 - INFO - -------------------------------------------------------------------------------- 2025-04-23 15:37:22,850 - INFO - Deleted project: ctest-TestBasicVMVNx-27579254, ID : d3b368a5-f553-405e-99ed-494765581d41