Jan Schlicht created MESOS-8868:
-----------------------------------

             Summary: Some 'FsTest' test cases fail on macOS
                 Key: MESOS-8868
                 URL: https://issues.apache.org/jira/browse/MESOS-8868
             Project: Mesos
          Issue Type: Bug
         Environment: macOS 10.13.4, clang 6.0.0.
            Reporter: Jan Schlicht


These tests fail in {{674db615971d2288ffdd1b64f2be93367e03a63d}}:
{noformat}
[ 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)
{noformat}

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to