Sandro Bonazzola has posted comments on this change. Change subject: Doing proper mock cleanup ......................................................................
Patch Set 3: (1 comment) http://gerrit.ovirt.org/#/c/35597/3/jobs/confs/shell-scripts/mock_cleanup.sh File jobs/confs/shell-scripts/mock_cleanup.sh: Line 13: mounts=($(mount | awk '{print $3}' | grep "$mock_dir")) || : Line 14: if [[ "$mounts" ]]; then Line 15: echo "Found mounted dirs inside the chroot. Trying to umount." Line 16: fi Line 17: for mount in "${mounts[@]}"; do doesn't "mock --clean" take care of unmounting and cleaning up the chroot? Line 18: umount "$mount" \ Line 19: || { Line 20: echo "ERROR: Failed to umount $mount. Aborting." Line 21: failed=true -- To view, visit http://gerrit.ovirt.org/35597 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I20cb54fb968556f3d1bdcf3a9ab14e826c56b352 Gerrit-PatchSet: 3 Gerrit-Project: jenkins Gerrit-Branch: master Gerrit-Owner: David Caro <[email protected]> Gerrit-Reviewer: Barak Korren <[email protected]> Gerrit-Reviewer: David Caro <[email protected]> Gerrit-Reviewer: Eyal Edri <[email protected]> Gerrit-Reviewer: Paz Dangur <[email protected]> Gerrit-Reviewer: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Sharon Naftaly <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
