-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
The exact number of tests and what tests that fail varies between runs. If I run with -j1 instead of -j4 there are no failures.
$ /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j4 -E s3-unit
Internal ctest changing into directory: /builddir/build/BUILD/xrootd-s3-http-0.5.0-build/xrootd-s3-http-0.5.0/redhat-linux-build
Test project /builddir/build/BUILD/xrootd-s3-http-0.5.0-build/xrootd-s3-http-0.5.0/redhat-linux-build
Start 15: HTTP::basic::setup
Start 1: FileSystemGlob.GlobFilter
Start 2: FileSystemGlob.GlobNormal
Start 3: FileSystemGlob.Globstar
1/17 Test #1: FileSystemGlob.GlobFilter ............ Passed 0.01 sec
Start 4: FileSystemGlob.SanitizePrefix
2/17 Test #2: FileSystemGlob.GlobNormal ............ Passed 0.01 sec
Start 5: TestPosc.BasicFileVisibility
3/17 Test #3: FileSystemGlob.Globstar .............. Passed 0.01 sec
Start 6: TestPosc.BasicFilesystemVisibility
4/17 Test #4: FileSystemGlob.SanitizePrefix ........ Passed 0.01 sec
Start 7: TestPosc.TempfileUpdate
5/17 Test #6: TestPosc.BasicFilesystemVisibility ... Passed 0.01 sec
Start 8: TestPosc.CreateENOENT
6/17 Test #5: TestPosc.BasicFileVisibility .........***Failed 0.02 sec
Running main() from /builddir/build/BUILD/gtest-1.15.2-build/googletest-1.15.2/googletest/src/gtest_main.cc
Note: Google Test filter = TestPosc.BasicFileVisibility
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TestPosc
[ RUN ] TestPosc.BasicFileVisibility
++++++ Storage system initialization started.
=====> oss.localroot /tmp/gtest_temp_xrootd_localroot
Config effective /tmp/xrootd-gtest.cfg.Ngw1d8 oss configuration:
oss.alloc 0 0 0
oss.spacescan 600
oss.fdlimit 262144 524288
oss.maxsize 0
oss.localroot /tmp/gtest_temp_xrootd_localroot
oss.trace 0
oss.xfr 1 deny 10800 keep 1200
oss.memfile off max 4098385920
oss.defaults r/w nocheck nodread nomig nopurge norcreate nostage
oss.path /tmp r/w nocheck nodread nomig nopurge norcreate nostage
------ Storage system initialization completed.
=====> posc.prefix /posc_test
=====> posc.trace debug
250825 08:58:31 1448 posc_Config: POSC directory does not exist /posc_test
250825 08:58:31 1448 posc_Config: Created POSC directory /posc_test
250825 08:58:31 1448 posc_Initialize: PoscFileSystem initialized
250825 08:58:31 1448 posc_POSC: POSC sub-directory is needed for file creation: /posc_test/anonymous
250825 08:58:31 1448 posc_POSC: Opened POSC file /posc_test/anonymous/in_progress.1756105111.930886
250825 08:58:31 1448 posc_POSC: Failed to set POSC file mode /posc_test/anonymous/in_progress.1756105111.930886 No such file or directory
/builddir/build/BUILD/xrootd-s3-http-0.5.0-build/xrootd-s3-http-0.5.0/test/posc_tests.cc:123: Failure
Expected equality of these values:
fp->Close()
Which is: -5
0
Failed to close file
[ FAILED ] TestPosc.BasicFileVisibility (9 ms)
[----------] 1 test from TestPosc (9 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (9 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TestPosc.BasicFileVisibility
1 FAILED TEST
7/17 Test #7: TestPosc.TempfileUpdate ..............***Failed 0.02 sec
Running main() from /builddir/build/BUILD/gtest-1.15.2-build/googletest-1.15.2/googletest/src/gtest_main.cc
Note: Google Test filter = TestPosc.TempfileUpdate
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TestPosc
[ RUN ] TestPosc.TempfileUpdate
++++++ Storage system initialization started.
=====> oss.localroot /tmp/gtest_temp_xrootd_localroot
Config effective /tmp/xrootd-gtest.cfg.RrSDYF oss configuration:
oss.alloc 0 0 0
oss.spacescan 600
oss.fdlimit 262144 524288
oss.maxsize 0
oss.localroot /tmp/gtest_temp_xrootd_localroot
oss.trace 0
oss.xfr 1 deny 10800 keep 1200
oss.memfile off max 4098385920
oss.defaults r/w nocheck nodread nomig nopurge norcreate nostage
oss.path /tmp r/w nocheck nodread nomig nopurge norcreate nostage
------ Storage system initialization completed.
=====> posc.prefix /posc_test
=====> posc.trace debug
250825 08:58:31 1450 posc_Config: POSC directory does not exist /posc_test
250825 08:58:31 1450 posc_Config: Created POSC directory /posc_test
250825 08:58:31 1450 posc_Initialize: PoscFileSystem initialized
250825 08:58:31 1450 posc_POSC: POSC sub-directory is needed for file creation: /posc_test/anonymous
250825 08:58:31 1450 posc_POSC: Opened POSC file /posc_test/anonymous/in_progress.1756105111.930886
250825 08:58:31 1450 posc_POSC: Updated POSC file mode /posc_test/anonymous/in_progress.1756105111.930886
/builddir/build/BUILD/xrootd-s3-http-0.5.0-build/xrootd-s3-http-0.5.0/test/posc_tests.cc:276: Failure
Value of: update_chrono > now_chrono
Actual: false
Expected: true
POSC file mtime was not updated after UpdateOpenFiles call
[ FAILED ] TestPosc.TempfileUpdate (13 ms)
[----------] 1 test from TestPosc (13 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (13 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TestPosc.TempfileUpdate
1 FAILED TEST
8/17 Test #8: TestPosc.CreateENOENT ................***Failed 0.02 sec
Running main() from /builddir/build/BUILD/gtest-1.15.2-build/googletest-1.15.2/googletest/src/gtest_main.cc
Note: Google Test filter = TestPosc.CreateENOENT
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TestPosc
[ RUN ] TestPosc.CreateENOENT
++++++ Storage system initialization started.
=====> oss.localroot /tmp/gtest_temp_xrootd_localroot
Config effective /tmp/xrootd-gtest.cfg.7VEzr3 oss configuration:
oss.alloc 0 0 0
oss.spacescan 600
oss.fdlimit 262144 524288
oss.maxsize 0
oss.localroot /tmp/gtest_temp_xrootd_localroot
oss.trace 0
oss.xfr 1 deny 10800 keep 1200
oss.memfile off max 4098385920
oss.defaults r/w nocheck nodread nomig nopurge norcreate nostage
oss.path /tmp r/w nocheck nodread nomig nopurge norcreate nostage
------ Storage system initialization completed.
=====> posc.prefix /posc_test
=====> posc.trace debug
250825 08:58:31 1459 posc_Config: POSC directory does not exist /posc_test
250825 08:58:31 1459 posc_Config: Created POSC directory /posc_test
250825 08:58:31 1459 posc_Initialize: PoscFileSystem initialized
250825 08:58:31 1459 posc_POSC: Failing file open as parent path does not exist /subdir
250825 08:58:31 1459 posc_POSC: POSC sub-directory is needed for file creation: /posc_test/anonymous
250825 08:58:31 1459 posc_POSC: Opened POSC file /posc_test/anonymous/in_progress.1756105111.930886
250825 08:58:31 1459 posc_POSC: Failed to set POSC file mode /posc_test/anonymous/in_progress.1756105111.930886 No such file or directory
/builddir/build/BUILD/xrootd-s3-http-0.5.0-build/xrootd-s3-http-0.5.0/test/posc_tests.cc:333: Failure
Expected equality of these values:
fp->Close()
Which is: -5
0
Failed to close file
[ FAILED ] TestPosc.CreateENOENT (11 ms)
[----------] 1 test from TestPosc (11 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (11 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TestPosc.CreateENOENT
1 FAILED TEST
9/17 Test #15: HTTP::basic::setup ................... Passed 2.23 sec
Start 9: TestHTTPFile.TestList
Start 10: TestHTTPFile.TestXfer
Start 11: TestHTTPFile.TestWriteZeroByteFile
Start 12: TestHTTPFile.TestWriteSmallFile
10/17 Test #9: TestHTTPFile.TestList ................ Passed 0.18 sec
Start 13: TestHTTPFile.TestWriteLargeFile
11/17 Test #11: TestHTTPFile.TestWriteZeroByteFile ... Passed 0.18 sec
Start 14: TestHTTPParseProtocol.Test1
12/17 Test #10: TestHTTPFile.TestXfer ................ Passed 0.23 sec
Start 17: HTTP::basic::test
13/17 Test #14: TestHTTPParseProtocol.Test1 .......... Passed 0.07 sec
14/17 Test #12: TestHTTPFile.TestWriteSmallFile ...... Passed 0.27 sec
15/17 Test #17: HTTP::basic::test .................... Passed 0.09 sec
16/17 Test #13: TestHTTPFile.TestWriteLargeFile ...... Passed 0.18 sec
Start 16: HTTP::basic::teardown
17/17 Test #16: HTTP::basic::teardown ................ Passed 0.00 sec
82% tests passed, 3 tests failed out of 17
Total Test time (real) = 2.60 sec
The following tests FAILED:
5 - TestPosc.BasicFileVisibility (Failed)
7 - TestPosc.TempfileUpdate (Failed)
8 - TestPosc.CreateENOENT (Failed)
Errors while running CTest
Metadata
Metadata
Assignees
Labels
No labels