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

Files failing to copy does not exit the process #8

Open
Tim020 opened this issue Apr 4, 2020 · 4 comments
Open

Files failing to copy does not exit the process #8

Tim020 opened this issue Apr 4, 2020 · 4 comments

Comments

@Tim020
Copy link

Tim020 commented Apr 4, 2020

I am not sure if this is due to using the parallelism setting or not, however if a file fails to copy (in our case from K8S to AWS) then the parent process is not terminated. This leads to copy jobs sat spinning making no progress for days at a time. The desired behaviour here is that, should a file fail to copy, the entire process should exit with a non-0 status code to allow the copy to be retried if desired.

@Tim020
Copy link
Author

Tim020 commented Apr 5, 2020

For example, we saw this error last night:

2020/04/04 17:23:36 error in Stream: error dialing backend: dial tcp ***.***.***.***:10250: connect: connection refused src: file: default/jenkins-8fb6578f5-59vsm/jenkins/var/jenkins_home/jobs/Supportal/jobs/Post Merge/jobs/supportal/branches/master/builds/16/workflow/3.xml

And the backup job was sat running since then. In such scenarios, everything should terminate.

@rrusmana
Copy link

Hi @Tim020 I am experiencing the same problem with copying to GCS. Have you solved this problem? If so, how? If not - where did you see this error? In my case the copy process just hangs forever without any error output at all.

@Tim020
Copy link
Author

Tim020 commented May 21, 2020

Hey @rrusmana, unfortunately I haven't been able to solve this. I see this error when copying from K8s to AWS, it encounters an error like the one above and then hangs indefinitely.

@dex80526
Copy link

dex80526 commented Sep 23, 2020

We are seeing the similar problem in our Jenkins backup job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants