2024-09-16 02:20:22,569 - INFO - Domain Default found not creating 2024-09-16 02:20:22,720 - INFO - Project ctest-TestBasicVMVNx-27166881 not found, creating it 2024-09-16 02:20:23,187 - INFO - Created Project:ctest-TestBasicVMVNx-27166881, ID : 500e0b93-2af9-45f0-b8c7-1fb540ff96d9 2024-09-16 02:20:24,617 - INFO - ================================================================================ 2024-09-16 02:20:24,617 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-16 02:20:24,617 - 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-09-16 02:20:24,872 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.8': '0'}} with 2024-09-16 02:20:24,872 - INFO - Initial checks done. Running the testcase now 2024-09-16 02:20:24,872 - INFO - 2024-09-16 02:20:25,435 - DEBUG - Response for create_network : {'network': {'id': 'aaa51f70-2b55-4b06-be32-4ac1d0e22ecd', 'name': 'ctest-vn-21337325', 'tenant_id': '500e0b932af945f0b8c71fb540ff96d9', 'project_id': '500e0b932af945f0b8c71fb540ff96d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27166881', 'ctest-vn-21337325'], 'port_security_enabled': True, 'description': ''}} 2024-09-16 02:20:25,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1747f35-12ac-4384-bca2-901088bd29b2', 'name': '', 'tenant_id': '500e0b932af945f0b8c71fb540ff96d9', 'network_id': 'aaa51f70-2b55-4b06-be32-4ac1d0e22ecd', 'ip_version': 4, 'cidr': '20.140.159.192/26', 'allocation_pools': [{'start': '20.140.159.194', 'end': '20.140.159.254'}], 'gateway_ip': '20.140.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.140.159.194', 'tags': [], 'project_id': '500e0b932af945f0b8c71fb540ff96d9'}} 2024-09-16 02:20:25,606 - INFO - Created VN ctest-vn-21337325 2024-09-16 02:20:25,666 - DEBUG - VN ctest-vn-21337325 UUID is aaa51f70-2b55-4b06-be32-4ac1d0e22ecd 2024-09-16 02:20:25,831 - DEBUG - Services list from nova: [, , ] 2024-09-16 02:20:26,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1943-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1943-1) 2024-09-16 02:20:27,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1943-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1943-1) 2024-09-16 02:20:27,964 - INFO - Waiting for VM ctest-TestBasicVMVNx-27166881-42564707 to be up.. 2024-09-16 02:20:28,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-16 02:20:33,140 - DEBUG - VM is in ACTIVE state now 2024-09-16 02:20:33,140 - INFO - VM name : ctest-TestBasicVMVNx-27166881-42564707 2024-09-16 02:20:33,220 - DEBUG - VM ctest-TestBasicVMVNx-27166881-42564707 ID is 848dffdb-caab-44a6-8ffe-74a308c40fc1 2024-09-16 02:20:33,238 - DEBUG - VM ctest-TestBasicVMVNx-27166881-42564707 launched on Node cn-jenkins-deploy-platform-ansible-os-1943-1 2024-09-16 02:20:33,325 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/848dffdb-caab-44a6-8ffe-74a308c40fc1 2024-09-16 02:20:33,623 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/848dffdb-caab-44a6-8ffe-74a308c40fc1 2024-09-16 02:20:33,656 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9c2a2fd8-7160-410b-91cc-df50a6b12869 2024-09-16 02:20:36,899 - 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 1003ms') 2024-09-16 02:20:36,899 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27166881-42564707 failed! 2024-09-16 02:20:36,959 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27166881:ctest-vn-21337325 is 20.140.159.193 and allocation pool is NOT set 2024-09-16 02:20:39,019 - 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=2.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/1.479/2.543/1.063 ms') 2024-09-16 02:20:39,019 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27166881-42564707 passed 2024-09-16 02:20:39,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:20:39,175 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27166881-42564707, IP 20.140.159.195, Port 22 2024-09-16 02:20:39,331 - DEBUG - VM ctest-TestBasicVMVNx-27166881-42564707 is ready for SSH connections 2024-09-16 02:20:39,331 - INFO - Waiting for VM ctest-TestBasicVMVNx-27166881-47427249 to be up.. 2024-09-16 02:20:39,406 - DEBUG - VM is in ACTIVE state now 2024-09-16 02:20:39,406 - INFO - VM name : ctest-TestBasicVMVNx-27166881-47427249 2024-09-16 02:20:39,479 - DEBUG - VM ctest-TestBasicVMVNx-27166881-47427249 ID is feb68f0a-daad-4d7f-932b-5a7aceb9b2d3 2024-09-16 02:20:39,479 - DEBUG - VM ctest-TestBasicVMVNx-27166881-47427249 launched on Node cn-jenkins-deploy-platform-ansible-os-1943-1 2024-09-16 02:20:39,553 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/feb68f0a-daad-4d7f-932b-5a7aceb9b2d3 2024-09-16 02:20:39,564 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7fd1cd38-0d8d-4511-9c08-b52e860dc272 2024-09-16 02:20:40,816 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.820/3.272/1.452 ms') 2024-09-16 02:20:40,816 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27166881-47427249 passed 2024-09-16 02:20:40,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:20:40,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27166881-47427249, IP 20.140.159.196, Port 22 2024-09-16 02:20:41,130 - DEBUG - VM ctest-TestBasicVMVNx-27166881-47427249 is ready for SSH connections 2024-09-16 02:20:41,130 - DEBUG - FILE SIZE = 1303B 2024-09-16 02:20:41,130 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27166881-42564707 to ctest-TestBasicVMVNx-27166881-47427249 using scp 2024-09-16 02:20:41,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:20:41,135 - 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.23, gateway password: c0ntrail123 2024-09-16 02:20:41,135 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-16 02:20:42,975 - DEBUG - 1+0 records in 1+0 records out 2024-09-16 02:20:43,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 02:20:43,867 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-09-16 02:20:43,867 - DEBUG - ls -l testfile 2024-09-16 02:20:45,695 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 15 20:20 testfile 2024-09-16 02:20:45,695 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27166881-47427249 2024-09-16 02:20:45,695 - INFO - Deleting VM ctest-TestBasicVMVNx-27166881-47427249 2024-09-16 02:20:45,760 - INFO - Deleting VM ctest-TestBasicVMVNx-27166881-42564707 2024-09-16 02:20:45,827 - INFO - Deleting VN ctest-vn-21337325 2024-09-16 02:20:45,865 - DEBUG - VN aaa51f70-2b55-4b06-be32-4ac1d0e22ecd still in use: Unable to complete operation on network aaa51f70-2b55-4b06-be32-4ac1d0e22ecd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2af8b86c-791d-4065-b94f-4eb5cfc88951'] 2024-09-16 02:20:45,865 - WARNING - Deleting VN ctest-vn-21337325 failed..Will retry 2024-09-16 02:20:47,973 - DEBUG - Response for deleting network () 2024-09-16 02:20:48,228 - DEBUG - No XMPP flaps were noticed during the test
2024-09-16 02:20:48,228 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-16 02:20:48,228 - INFO - -------------------------------------------------------------------------------- 2024-09-16 02:20:48,937 - INFO - Deleted project: ctest-TestBasicVMVNx-27166881, ID : 500e0b93-2af9-45f0-b8c7-1fb540ff96d9