Skip to content

rsync can fail with zero exit code: impacts bulk_move_job_rsync #263

@pansapiens

Description

@pansapiens

If rsync fails with the error ssh: Could not resolve hostname example.com: Temporary failure in name resolution rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(235) [Receiver=3.1.3]' it returns a zero exit code.

The task laxy_backend.tasks.job.bulk_move_job_rsync will appear complete when it in fact failed in this instance. We need to parse this error and treat it as a failure.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions