Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8868

Some 'FsTest' test cases fail on macOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None
    • None
    • macOS 10.13.4, clang 6.0.0.

    Description

      These tests fail in 674db615971d2288ffdd1b64f2be93367e03a63d:

      [ RUN      ] FsTest.CreateDirectoryAtMaxPath
      ../../../3rdparty/stout/tests/os/filesystem_tests.cpp:243: Failure
      Value of: (os::realpath(testfile)).get()
        Actual: "/private/var/folders/0b/srgwj7vd2037pygpz1fpyqgm0000gn/T/FlHiuR/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/file.txt"
      Expected: testfile
      Which is: "/var/folders/0b/srgwj7vd2037pygpz1fpyqgm0000gn/T/FlHiuR/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc/file.txt"
      [  FAILED  ] FsTest.CreateDirectoryAtMaxPath (1 ms)
      [ RUN      ] FsTest.CreateDirectoryLongerThanMaxPath
      ../../../3rdparty/stout/tests/os/filesystem_tests.cpp:267: Failure
      Value of: (os::realpath(testfile)).get()
        Actual: "/private/var/folders/0b/srgwj7vd2037pygpz1fpyqgm0000gn/T/tQjz6A/87efabe7-c026-4d44-9174-7ffaffe92aea/fdf3029c-3ccb-472a-91a9-79c56a114f0a/33b71897-2b23-4546-83f1-f77132e48b86/7548fb65-fa84-4260-80ff-a4d9133e5fe3/221b923d-ddc3-473e-a19a-a18863985401/03e8e58d-80a1-40db-8091-3676c5ecba05/file.txt"
      Expected: testfile
      Which is: "/var/folders/0b/srgwj7vd2037pygpz1fpyqgm0000gn/T/tQjz6A/87efabe7-c026-4d44-9174-7ffaffe92aea/fdf3029c-3ccb-472a-91a9-79c56a114f0a/33b71897-2b23-4546-83f1-f77132e48b86/7548fb65-fa84-4260-80ff-a4d9133e5fe3/221b923d-ddc3-473e-a19a-a18863985401/03e8e58d-80a1-40db-8091-3676c5ecba05/file.txt"
      [  FAILED  ] FsTest.CreateDirectoryLongerThanMaxPath (1 ms)
      [ RUN      ] FsTest.RealpathValidationOnOpenFile
      ../../../3rdparty/stout/tests/os/filesystem_tests.cpp:286: Failure
      Value of: (os::realpath(file)).get()
        Actual: "/private/var/folders/0b/srgwj7vd2037pygpz1fpyqgm0000gn/T/k9wmip/b44085df-3da8-4799-9893-80ad4e007a80"
      Expected: file
      Which is: "/var/folders/0b/srgwj7vd2037pygpz1fpyqgm0000gn/T/k9wmip/b44085df-3da8-4799-9893-80ad4e007a80"
      [  FAILED  ] FsTest.RealpathValidationOnOpenFile (0 ms)
      

      Seems like a regression introduced in stout changes that started with 8b7798f31ea37077e5091d279fcf352a01577366.
       

      Attachments

        Activity

          People

            andschwa Andrew Schwartzmeyer
            nfnt Jan Schlicht
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: