2024-11-10 20:56:52,325 - INFO - Domain Default found not creating 2024-11-10 20:56:52,524 - INFO - Project ctest-TestBasicVMVNx-51555590 not found, creating it 2024-11-10 20:56:53,112 - INFO - Created Project:ctest-TestBasicVMVNx-51555590, ID : 47b87da8-2c24-41c3-86dd-16f3f459ddee 2024-11-10 20:56:54,721 - INFO - ================================================================================ 2024-11-10 20:56:54,721 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 20:56:54,721 - 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 2024-11-10 20:56:54,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.21': '0'}} with 2024-11-10 20:56:54,983 - INFO - Initial checks done. Running the testcase now 2024-11-10 20:56:54,983 - INFO - 2024-11-10 20:56:55,595 - DEBUG - Response for create_network : {'network': {'id': '41ddef77-90f9-4d88-bdc0-86394d753051', 'name': 'ctest-vn-85033971', 'tenant_id': '47b87da82c2441c386dd16f3f459ddee', 'project_id': '47b87da82c2441c386dd16f3f459ddee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51555590', 'ctest-vn-85033971'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 20:56:55,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '53511145-3252-42fc-992f-6ee91eb300b3', 'name': '', 'tenant_id': '47b87da82c2441c386dd16f3f459ddee', 'network_id': '41ddef77-90f9-4d88-bdc0-86394d753051', 'ip_version': 4, 'cidr': '50.78.71.64/26', 'allocation_pools': [{'start': '50.78.71.66', 'end': '50.78.71.126'}], 'gateway_ip': '50.78.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.78.71.66', 'tags': [], 'project_id': '47b87da82c2441c386dd16f3f459ddee'}} 2024-11-10 20:56:55,836 - INFO - Created VN ctest-vn-85033971 2024-11-10 20:56:55,896 - DEBUG - VN ctest-vn-85033971 UUID is 41ddef77-90f9-4d88-bdc0-86394d753051 2024-11-10 20:56:56,134 - DEBUG - Services list from nova: [, , ] 2024-11-10 20:56:57,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2264-1) 2024-11-10 20:56:59,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2264-1) 2024-11-10 20:56:59,262 - INFO - Waiting for VM ctest-TestBasicVMVNx-51555590-33216948 to be up.. 2024-11-10 20:56:59,360 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 20:57:04,588 - DEBUG - VM is in ACTIVE state now 2024-11-10 20:57:04,588 - INFO - VM name : ctest-TestBasicVMVNx-51555590-33216948 2024-11-10 20:57:04,683 - DEBUG - VM ctest-TestBasicVMVNx-51555590-33216948 ID is 5e7b8c27-a9d2-4cfe-a927-95c74ce9cf54 2024-11-10 20:57:04,709 - DEBUG - VM ctest-TestBasicVMVNx-51555590-33216948 launched on Node cn-jenkins-deploy-platform-ansible-os-2264-1 2024-11-10 20:57:04,845 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5e7b8c27-a9d2-4cfe-a927-95c74ce9cf54 2024-11-10 20:57:05,152 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5e7b8c27-a9d2-4cfe-a927-95c74ce9cf54 2024-11-10 20:57:05,192 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/32123aa7-9433-463c-b981-000cf4cca7a5 2024-11-10 20:57:08,476 - 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 1023ms') 2024-11-10 20:57:08,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51555590-33216948 failed! 2024-11-10 20:57:08,587 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51555590:ctest-vn-85033971 is 50.78.71.65 and allocation pool is NOT set 2024-11-10 20:57:10,656 - 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=5.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.757/3.760/5.763/2.003 ms') 2024-11-10 20:57:10,656 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51555590-33216948 passed 2024-11-10 20:57:10,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:57:10,824 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51555590-33216948, IP 50.78.71.67, Port 22 2024-11-10 20:57:10,983 - DEBUG - VM ctest-TestBasicVMVNx-51555590-33216948 is ready for SSH connections 2024-11-10 20:57:10,984 - INFO - Waiting for VM ctest-TestBasicVMVNx-51555590-08554416 to be up.. 2024-11-10 20:57:11,099 - DEBUG - VM is in ACTIVE state now 2024-11-10 20:57:11,099 - INFO - VM name : ctest-TestBasicVMVNx-51555590-08554416 2024-11-10 20:57:11,226 - DEBUG - VM ctest-TestBasicVMVNx-51555590-08554416 ID is dbb10ad6-18c8-49f3-83d4-46601f649766 2024-11-10 20:57:11,226 - DEBUG - VM ctest-TestBasicVMVNx-51555590-08554416 launched on Node cn-jenkins-deploy-platform-ansible-os-2264-1 2024-11-10 20:57:11,345 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/dbb10ad6-18c8-49f3-83d4-46601f649766 2024-11-10 20:57:11,359 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8437ce48-dfcb-4fb6-9c29-d3b3c93dc8b5 2024-11-10 20:57:12,640 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.946/3.396/1.450 ms') 2024-11-10 20:57:12,640 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51555590-08554416 passed 2024-11-10 20:57:12,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:57:12,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51555590-08554416, IP 50.78.71.68, Port 22 2024-11-10 20:57:12,970 - DEBUG - VM ctest-TestBasicVMVNx-51555590-08554416 is ready for SSH connections 2024-11-10 20:57:12,971 - DEBUG - FILE SIZE = 1303B 2024-11-10 20:57:12,971 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51555590-33216948 to ctest-TestBasicVMVNx-51555590-08554416 using scp 2024-11-10 20:57:12,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:57:13,969 - 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.41, gateway password: c0ntrail123 2024-11-10 20:57:13,969 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 20:57:15,943 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 20:57:16,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:57:17,105 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-11-10 20:57:17,105 - DEBUG - ls -l testfile 2024-11-10 20:57:18,700 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 13:57 testfile 2024-11-10 20:57:18,700 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51555590-08554416 2024-11-10 20:57:18,701 - INFO - Deleting VM ctest-TestBasicVMVNx-51555590-08554416 2024-11-10 20:57:18,789 - INFO - Deleting VM ctest-TestBasicVMVNx-51555590-33216948 2024-11-10 20:57:18,875 - INFO - Deleting VN ctest-vn-85033971 2024-11-10 20:57:18,924 - DEBUG - VN 41ddef77-90f9-4d88-bdc0-86394d753051 still in use: Unable to complete operation on network 41ddef77-90f9-4d88-bdc0-86394d753051. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6e9d69e-d0e6-4883-81eb-adbcc20f9efe'] 2024-11-10 20:57:18,924 - WARNING - Deleting VN ctest-vn-85033971 failed..Will retry 2024-11-10 20:57:21,078 - DEBUG - Response for deleting network () 2024-11-10 20:57:21,338 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 20:57:21,338 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27]
2024-11-10 20:57:21,338 - INFO - -------------------------------------------------------------------------------- 2024-11-10 20:57:22,098 - INFO - Deleted project: ctest-TestBasicVMVNx-51555590, ID : 47b87da8-2c24-41c3-86dd-16f3f459ddee