Doubt about unable to file transfer

Which versions and directions to be included in the file for unable to transfer files ,for those for which I am not able to transfer files .I must also include versions for which there are incorrect file permissions??

For first question yes you have to include versions and directions.
for the second question, it is a part of different task, so you have to do the checking of permissions for file transferred through each version. Is this answer your query?

I did but in unit testing all cases are passed but only one case is not passing …
2020-02-25 19:56:07,235 unitTesting INFO Running command_runner
2020-02-25 19:56:07,295 unitTesting INFO Running setup.sh…
2020-02-25 19:56:08,432 unitTesting INFO Module setup complete!
2020-02-25 19:56:08,441 unitTesting INFO Starting assessment…
2020-02-25 19:56:08,444 unitTesting INFO Assessing evaluate_high_cpu_task.py
2020-02-25 19:56:08,863 unitTesting INFO File: evaluate_high_cpu_task.py | Status: TEST_STATUS_SUCCESS
2020-02-25 19:56:08,869 unitTesting INFO Assessing evaluate_file_permission_task.py
2020-02-25 19:56:09,237 unitTesting INFO File: evaluate_file_permission_task.py | Status: TEST_STATUS_SUCCESS
2020-02-25 19:56:09,244 unitTesting INFO Assessing evaluate_file_permission_config_params.py
2020-02-25 19:56:09,454 unitTesting INFO File: evaluate_file_permission_config_params.py | Status: TEST_STATUS_SUCCESS
2020-02-25 19:56:09,461 unitTesting INFO Assessing evaluate_time_taken_task.py
2020-02-25 19:56:09,749 unitTesting INFO File: evaluate_time_taken_task.py | Status: TEST_STATUS_SUCCESS
2020-02-25 19:56:09,755 unitTesting INFO Assessing evaluate_time_taken_task_direction.py
2020-02-25 19:56:09,969 unitTesting INFO File: evaluate_time_taken_task_direction.py | Status: TEST_STATUS_SUCCESS
2020-02-25 19:56:09,974 unitTesting INFO Assessing evaluate_high_memory_task.py
2020-02-25 19:56:10,245 unitTesting INFO File: evaluate_high_memory_task.py | Status: TEST_STATUS_SUCCESS
2020-02-25 19:56:10,251 unitTesting INFO Assessing evaluate_file_transfer_fail_task.py
2020-02-25 19:56:10,559 unitTesting INFO File: evaluate_file_transfer_fail_task.py | Status: TEST_STATUS_SUCCESS
2020-02-25 19:56:10,566 unitTesting INFO Assessing evaluate_file_transfer_fail_task_direction.py
2020-02-25 19:56:10,793 unitTesting INFO Failure: Correct direction not specified in file /ssuyash909-ME_QBOX-d94af184-5808-11ea-9206-43d4ec840f59/ssuyash909-ME_QBOX/debugging/file_transfer_not_possible_direction

2020-02-25 19:56:10,799 unitTesting INFO File: evaluate_file_transfer_fail_task_direction.py | Status: TEST_STATUS_FAILURE
2020-02-25 19:56:10,802 unitTesting INFO Assessment finished!
2020-02-25 19:56:10,804 unitTesting INFO Starting cleanup…
2020-02-25 19:56:10,854 unitTesting INFO Running cleanup.sh…

For every version we have to provide direction or common for all???

can you try both and see which works. common and individual

There exist 2 versions for which file transfer is not possible in both directions,what i should write in dierections file???

each direction should come only once

And if it’s not passing try the monitoring again.

crio-user@ssuyash909:~/workspace/QBox$ ftp 127.0.0.1 8081
Connected to 127.0.0.1.
220 (vsFTPd 3.0.3)
Name (127.0.0.1:crio-user): crio-user
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd ~/ftp_server
250 Directory successfully changed.
ftp> lcd ~/ftp_client
Local directory now /home/crio-user/ftp_client
ftp> get file2
local: file2 remote: file2
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for file2 (1048576000 bytes).
421 Service not available, remote server has closed connection

This should be considered in unable to tranfer file or I am infering or doing something wrong
??

I tried it for a lot time for the respective version it is giving same problems every time??

this looks good. is put giving same error also?

yes its giving same error

can you share output for that also?

If i do put followed by get there is problem,else it works fine with put as first command for small file and took very much time for 1gb file.

crio-user@ssuyash909:~/ftp_client$ ftp 127.0.0.1 8081
Connected to 127.0.0.1.
220 (vsFTPd 3.0.3)
Name (127.0.0.1:crio-user): crio-user
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd ~/ftp_Server
550 Failed to change directory.
ftp> cd ~/ftp_server
250 Directory successfully changed.
ftp> lcd ~/ftp_client
Local directory now /home/crio-user/ftp_client
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rwxr-xr-x 1 0 0 1048576000 Feb 26 04:30 file1
-rwxr-xr-x 1 0 0 1048576000 Feb 26 04:30 file2
-rw------- 1 1001 1001 21831680 Feb 26 04:53 file3
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed1
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed2
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed3
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed4
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed5
226 Directory send OK.
ftp> !ls
file1 file3 filed1 fileu2 fileu4
file2 file4 fileu1 fileu3 fileu5
ftp> !ls
file3 file4 fileu1 fileu2 fileu3 fileu4 fileu5
ftp> get file1
local: file1 remote: file1
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for file1 (1048576000 bytes).
421 Service not available, remote server has closed connection
ftp> put fileu1
Not connected.

Connected to 127.0.0.1.
220 (vsFTPd 3.0.3)
Name (127.0.0.1:crio-user): crio-user
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd ~/ftp_server
250 Directory successfully changed.
ftp> lcd ~/ftp_client
Local directory now /home/crio-user/ftp_client
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rwxr-xr-x 1 0 0 1048576000 Feb 26 04:30 file1
-rwxr-xr-x 1 0 0 1048576000 Feb 26 04:30 file2
-rw------- 1 1001 1001 21994202 Feb 26 04:53 file3
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed1
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed2
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed3
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed4
-rwxr-xr-x 1 0 0 53 Feb 26 04:30 filed5
226 Directory send OK.
ftp> !ls
file1 file4 fileu2 fileu4
file3 fileu1 fileu3 fileu5
ftp> put fileu1
local: fileu1 remote: fileu1
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 Transfer complete.
48 bytes sent in 0.00 secs (1.6954 MB/s)
ftp> put file4
local: file4 remote: file4
200 PORT command successful

In config_params_to_correct_file_permissions, mention file permissions as well.
In increased_time_taken_versions, there are multiple versions in it.