Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-316

Make tests always use tempdir in Jenkins workspace to make sure the user_xattr option is set

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0522
    • Component/s: Tests
    • Sprint:
      Sprint Drive 7.2-4
    • Story Points:
      1

      Description

      user_xattr is required on the temporary folders created by the tests were Nuxeo Drive is working.

      On the docker slaves the Jenkins workspace is a direct mount of the host so the user_xattr is set on the partition but we don't have control over /tmp.
      As tempfile doesn't take into account the TMPDIR / TEMP / TMP environment variables we need to specify the tmp parent directory in each call to tempfile.mkdtemp, NamedTemporaryFile, ...

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: