Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-292

Downloading resources only works if "tmp" and ".m2" are on the same disk

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.4
    • 1.3.5
    • None
    • None
    • Linux
      using the "java buildr"

    Description

      We had a strange bug on our CI-Server. The download of artifacts (i.e. ANT jars) was not working, because of a "permission denied" issue. Only our admin found out that buildr uses the "rename" command to move downloaded artifacts from their download location to the repository. Rename only works if the directories are on the same disk, it would probably help to use "mv" for the implicit cp rm if the folders are on different disks.

      This issue is always a problem if the tmp-dir is located on a different drive.

      I cannot provide more information, because our admin fixed the issue by changing the folder for the tmp dir. The command he used to identify the issue was "strace -f -ox buildr build". The output file shows the failing rename command.

      Regards
      Klaas

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              klaas1979 Klaas Prause
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment