Skip to content

Update clone script to fail when rsync or other comments fail

Francisco Borges Aurindo Barros requested to merge clone-failure-fix into v9.4-2

From Friday we saw a few clone jobs that failed with the following error:

rsync: [receiver] write failed on "/drupal-data/...": Quota exceeded (122)
rsync error: error in file IO (code 11) at receiver.c(378) [receiver=3.2.3]
rsync: [sender] write error: Broken pipe (32)
rsync error: error in file IO (code 11) at io.c(823) [sender=3.2.3]

This was while copying files to the target PV.
To avoid having silent failed copies happening, this MR proposes to have scripts fail if a non-zero code is the output of any of the commands of the clone.

Ideally we want to merge this to both v9.4-1 and v9.4-2, but since this is rare, updating just the latest image, v9.4-2 should suffice. Reviewers

Approvals are optional. Milestone Labels

Edited by Francisco Borges Aurindo Barros

Merge request reports