Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job hangs for a good amount of time after finishing file copy. #12815

Closed
vsd-codesode opened this issue May 4, 2020 · 6 comments · Fixed by #13312
Closed

Job hangs for a good amount of time after finishing file copy. #12815

vsd-codesode opened this issue May 4, 2020 · 6 comments · Fixed by #13312
Assignees
Labels
Area: ABTT Akvelon Build Tasks Team area of work bug Task: CopyFilesOverSSH

Comments

@vsd-codesode
Copy link

Note

I have a repository in Azure DevOps, pipeline of this repos copy the generated tar file to a remote server. Every step of the pipeline works very smooth. But, CopyFilesOverSSH task keeps waiting for the finish for good 30 minutes.
I have checked on the server that file is fully copied in 5 minutes, but the task is still showing Copying file ****

For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: CopyFilesOverSSH

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Server - Azure Pipelines or TFS on-premises?

    • If using TFS on-premises, provide the version:

    • If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

  • Agent - Hosted or Private:

    • If using Hosted agent, provide agent queue name:

    • If using private agent, provide the OS of the machine running the agent and the agent version:

Issue Description

[Include task name(s), screenshots and any other relevant details]

Task logs

[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Error logs

[Insert error from the logs here for a quick overview]

@damccorm damccorm added Area: ABTT Akvelon Build Tasks Team area of work Area: Core and removed route labels May 4, 2020
@sdobrodeev
Copy link

@vsd-codesode Can you please provide information about size of the file that you copied?

@vsd-codesode
Copy link
Author

File size is around 530mb.

@sdobrodeev
Copy link

Reproduced a delay after finishing copy process depending on source file size. This behavior is caused by the scp2 library used by CopyFilesOverSSH task. Created #13048 for future investigations.

@vsd-codesode
Copy link
Author

Hi @sdobrodeev ,

I could help you in doing the code change. Let me know; if your process allows.

@sdobrodeev
Copy link

It was fixed in #13084 PR. Tested on 500Mb and 1Gb files. Delay after copying now no longer occurs.

@sdobrodeev sdobrodeev added the awaiting deployment Related changes are waiting for deployment to be completed label Jul 7, 2020
@sdobrodeev sdobrodeev removed the awaiting deployment Related changes are waiting for deployment to be completed label Jul 15, 2020
@anatolybolshakov
Copy link
Contributor

Reopened it at the moment due to reverted changes - #13298, we are going to proceed on it further

@sdobrodeev sdobrodeev linked a pull request Jul 20, 2020 that will close this issue
2 tasks
@sdobrodeev sdobrodeev added the awaiting deployment Related changes are waiting for deployment to be completed label Aug 4, 2020
@sdobrodeev sdobrodeev removed the awaiting deployment Related changes are waiting for deployment to be completed label Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ABTT Akvelon Build Tasks Team area of work bug Task: CopyFilesOverSSH
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants