2025-02-06 16:57:52,187 - INFO - Domain Default found not creating 2025-02-06 16:57:52,330 - INFO - Project ctest-TestBasicVMVNx-78007274 not found, creating it 2025-02-06 16:57:52,784 - INFO - Created Project:ctest-TestBasicVMVNx-78007274, ID : 618eade7-ae52-437e-b5f7-be736a9d76dc 2025-02-06 16:57:54,312 - INFO - ================================================================================ 2025-02-06 16:57:54,313 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-06 16:57:54,313 - 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-02-06 16:57:54,571 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.10': '0'}} with 2025-02-06 16:57:54,571 - INFO - Initial checks done. Running the testcase now 2025-02-06 16:57:54,571 - INFO - 2025-02-06 16:57:55,749 - DEBUG - Response for create_network : {'network': {'id': 'a4731504-1abf-4e80-bab5-5dcd3b70dc5c', 'name': 'ctest-vn-25413972', 'tenant_id': '618eade7ae52437eb5f7be736a9d76dc', 'project_id': '618eade7ae52437eb5f7be736a9d76dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-78007274', 'ctest-vn-25413972'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 16:57:55,956 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a851f239-6504-424e-94ba-cd455126e472', 'name': '', 'tenant_id': '618eade7ae52437eb5f7be736a9d76dc', 'network_id': 'a4731504-1abf-4e80-bab5-5dcd3b70dc5c', 'ip_version': 4, 'cidr': '90.70.98.192/26', 'allocation_pools': [{'start': '90.70.98.194', 'end': '90.70.98.254'}], 'gateway_ip': '90.70.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.70.98.194', 'tags': [], 'project_id': '618eade7ae52437eb5f7be736a9d76dc'}} 2025-02-06 16:57:55,974 - INFO - Created VN ctest-vn-25413972 2025-02-06 16:57:56,029 - DEBUG - VN ctest-vn-25413972 UUID is a4731504-1abf-4e80-bab5-5dcd3b70dc5c 2025-02-06 16:57:56,198 - DEBUG - Services list from nova: [, , ] 2025-02-06 16:57:57,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2702-1) 2025-02-06 16:57:58,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2702-1) 2025-02-06 16:57:58,496 - INFO - Waiting for VM ctest-TestBasicVMVNx-78007274-30943833 to be up.. 2025-02-06 16:57:58,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 16:58:03,663 - DEBUG - VM is in ACTIVE state now 2025-02-06 16:58:03,663 - INFO - VM name : ctest-TestBasicVMVNx-78007274-30943833 2025-02-06 16:58:03,846 - DEBUG - VM ctest-TestBasicVMVNx-78007274-30943833 ID is dd78c93f-37e0-45a3-9c73-4b8364dcf3b2 2025-02-06 16:58:03,866 - DEBUG - VM ctest-TestBasicVMVNx-78007274-30943833 launched on Node cn-jenkins-deploy-platform-ansible-os-2702-1 2025-02-06 16:58:03,947 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/dd78c93f-37e0-45a3-9c73-4b8364dcf3b2 2025-02-06 16:58:04,282 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/dd78c93f-37e0-45a3-9c73-4b8364dcf3b2 2025-02-06 16:58:04,314 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/74b90f66-6c42-4553-84e1-8c363e400c80 2025-02-06 16:58:07,584 - 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-02-06 16:58:07,584 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78007274-30943833 failed! 2025-02-06 16:58:07,641 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-78007274:ctest-vn-25413972 is 90.70.98.193 and allocation pool is NOT set 2025-02-06 16:58:09,706 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.860 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.860/2.178/3.496/1.318 ms') 2025-02-06 16:58:09,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78007274-30943833 passed 2025-02-06 16:58:09,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:58:09,857 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78007274-30943833, IP 90.70.98.195, Port 22 2025-02-06 16:58:10,013 - DEBUG - VM ctest-TestBasicVMVNx-78007274-30943833 is ready for SSH connections 2025-02-06 16:58:10,013 - INFO - Waiting for VM ctest-TestBasicVMVNx-78007274-20013108 to be up.. 2025-02-06 16:58:10,092 - DEBUG - VM is in ACTIVE state now 2025-02-06 16:58:10,092 - INFO - VM name : ctest-TestBasicVMVNx-78007274-20013108 2025-02-06 16:58:10,169 - DEBUG - VM ctest-TestBasicVMVNx-78007274-20013108 ID is 04393b4c-fad8-4e26-91e5-1040dd05357d 2025-02-06 16:58:10,169 - DEBUG - VM ctest-TestBasicVMVNx-78007274-20013108 launched on Node cn-jenkins-deploy-platform-ansible-os-2702-1 2025-02-06 16:58:10,248 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/04393b4c-fad8-4e26-91e5-1040dd05357d 2025-02-06 16:58:10,258 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6e4e2b6f-2f70-4806-894c-a59a5d43be26 2025-02-06 16:58:11,498 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.787/3.121/1.333 ms') 2025-02-06 16:58:11,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-78007274-20013108 passed 2025-02-06 16:58:11,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:58:11,653 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78007274-20013108, IP 90.70.98.196, Port 22 2025-02-06 16:58:11,813 - DEBUG - VM ctest-TestBasicVMVNx-78007274-20013108 is ready for SSH connections 2025-02-06 16:58:11,813 - DEBUG - FILE SIZE = 1303B 2025-02-06 16:58:11,813 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-78007274-30943833 to ctest-TestBasicVMVNx-78007274-20013108 using scp 2025-02-06 16:58:11,814 - 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.27, gateway password: c0ntrail123 2025-02-06 16:58:11,814 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-06 16:58:13,753 - DEBUG - 1+0 records in 1+0 records out 2025-02-06 16:58:14,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:58:14,796 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-06 16:58:14,797 - DEBUG - ls -l testfile 2025-02-06 16:58:16,413 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 6 09:58 testfile 2025-02-06 16:58:16,413 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-78007274-20013108 2025-02-06 16:58:16,414 - INFO - Deleting VM ctest-TestBasicVMVNx-78007274-20013108 2025-02-06 16:58:16,486 - INFO - Deleting VM ctest-TestBasicVMVNx-78007274-30943833 2025-02-06 16:58:16,553 - INFO - Deleting VN ctest-vn-25413972 2025-02-06 16:58:16,596 - DEBUG - VN a4731504-1abf-4e80-bab5-5dcd3b70dc5c still in use: Unable to complete operation on network a4731504-1abf-4e80-bab5-5dcd3b70dc5c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1f12947-574f-49c9-8c91-41df2e225045'] 2025-02-06 16:58:16,596 - WARNING - Deleting VN ctest-vn-25413972 failed..Will retry 2025-02-06 16:58:18,697 - DEBUG - Response for deleting network () 2025-02-06 16:58:18,951 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 16:58:18,951 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-06 16:58:18,951 - INFO - -------------------------------------------------------------------------------- 2025-02-06 16:58:19,669 - INFO - Deleted project: ctest-TestBasicVMVNx-78007274, ID : 618eade7-ae52-437e-b5f7-be736a9d76dc