Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xlog test error #1889

Open
zhngs opened this issue Nov 21, 2022 · 0 comments
Open

xlog test error #1889

zhngs opened this issue Nov 21, 2022 · 0 comments

Comments

@zhngs
Copy link

zhngs commented Nov 21, 2022

1/4 Test #717: xlog_test.XlogTest.xlogIf ....................***Failed 0.06 sec
Note: Google Test filter = XlogTest.xlogIf
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from XlogTest
[ RUN ] XlogTest.xlogIf
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:87: Failure
Expected equality of these values:
1
messages.size()
Which is: 0
[ FAILED ] XlogTest.xlogIf (0 ms)
[----------] 1 test from XlogTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] XlogTest.xlogIf

1 FAILED TEST

2/4 Test #718: xlog_test.XlogTest.xlog ......................***Failed 0.06 sec
Note: Google Test filter = XlogTest.xlog
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from XlogTest
[ RUN ] XlogTest.xlog
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:152: Failure
Expected equality of these values:
1
messages.size()
Which is: 0
[ FAILED ] XlogTest.xlog (0 ms)
[----------] 1 test from XlogTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] XlogTest.xlog

1 FAILED TEST

3/4 Test #721: xlog_test.XlogTest.rateLimitingEndOfThread ...***Failed 0.07 sec
Note: Google Test filter = XlogTest.rateLimitingEndOfThread
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from XlogTest
[ RUN ] XlogTest.rateLimitingEndOfThread
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:492: Failure
Value of: handler->getMessageValues()
Expected: has 12 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 7",
element #2 is equal to "msg 14",
element #3 is equal to "msg 21",
element #4 is equal to "msg 28",
element #5 is equal to "msg 35",
element #6 is equal to "msg 42",
element #7 is equal to "msg 49",
element #8 is equal to "dtor 100",
element #9 is equal to "dtor 101",
element #10 is equal to "dtor 102",
element #11 is equal to "dtor 103"
Actual: {}
[ FAILED ] XlogTest.rateLimitingEndOfThread (0 ms)
[----------] 1 test from XlogTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] XlogTest.rateLimitingEndOfThread

1 FAILED TEST

4/4 Test #720: xlog_test.XlogTest.rateLimiting ..............***Failed 0.18 sec
Note: Google Test filter = XlogTest.rateLimiting
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from XlogTest
[ RUN ] XlogTest.rateLimiting
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:297: Failure
Value of: handler->getMessageValues()
Expected: has 8 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 7",
element #2 is equal to "msg 14",
element #3 is equal to "msg 21",
element #4 is equal to "msg 28",
element #5 is equal to "msg 35",
element #6 is equal to "msg 42",
element #7 is equal to "msg 49"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:306: Failure
Value of: handler->getMessageValues()
Expected: has 7 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 8",
element #2 is equal to "msg 16",
element #3 is equal to "msg 24",
element #4 is equal to "msg 32",
element #5 is equal to "msg 40",
element #6 is equal to "msg 48"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:316: Failure
Value of: handler->getMessageValues()
Expected: has 4 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 14",
element #2 is equal to "msg 28",
element #3 is equal to "msg 42"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:325: Failure
Value of: handler->getMessageValues()
Expected: has 7 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 8",
element #2 is equal to "msg 16",
element #3 is equal to "msg 24",
element #4 is equal to "msg 32",
element #5 is equal to "msg 40",
element #6 is equal to "msg 48"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:342: Failure
Value of: handler->getMessageValues()
Expected: has 8 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 7",
element #2 is equal to "msg 14",
element #3 is equal to "msg 21",
element #4 is equal to "msg 28",
element #5 is equal to "msg 35",
element #6 is equal to "msg 42",
element #7 is equal to "msg 49"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:351: Failure
Value of: handler->getMessageValues()
Expected: has 7 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 8",
element #2 is equal to "msg 16",
element #3 is equal to "msg 24",
element #4 is equal to "msg 32",
element #5 is equal to "msg 40",
element #6 is equal to "msg 48"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:368: Failure
Value of: handler->getMessageValues()
Expected: has 8 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 7",
element #2 is equal to "msg 14",
element #3 is equal to "msg 21",
element #4 is equal to "msg 28",
element #5 is equal to "msg 35",
element #6 is equal to "msg 42",
element #7 is equal to "msg 49"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:377: Failure
Value of: handler->getMessageValues()
Expected: has 7 elements where
element #0 is equal to "msg 0",
element #1 is equal to "msg 8",
element #2 is equal to "msg 16",
element #3 is equal to "msg 24",
element #4 is equal to "msg 32",
element #5 is equal to "msg 40",
element #6 is equal to "msg 48"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:434: Failure
Value of: handler->getMessageValues()
Expected: has 21 elements where
element #0 is equal to "int arg 0",
element #1 is equal to "ms arg 0",
element #2 is equal to "s arg 0",
element #3 is equal to "s arg capture 0",
element #4 is equal to "fmt arg 0",
element #5 is equal to "fmt ms arg 0",
element #6 is equal to "2x int arg 0",
element #7 is equal to "1x ms arg 0",
element #8 is equal to "3x s arg 0",
element #9 is equal to "2x int arg 1",
element #10 is equal to "3x s arg 1",
element #11 is equal to "3x s arg 2",
element #12 is equal to "int arg conditional 2",
element #13 is equal to "int arg 6",
element #14 is equal to "ms arg 6",
element #15 is equal to "fmt arg 6",
element #16 is equal to "fmt ms arg 6",
element #17 is equal to "2x int arg 6",
element #18 is equal to "1x ms arg 6",
element #19 is equal to "int arg conditional 6",
element #20 is equal to "2x int arg 7"
Actual: {}
/Users/zhangshuo/work/folly/folly/logging/test/XlogTest.cpp:448: Failure
Value of: handler->getMessageValues()
Expected: has 4 elements where
element #0 is equal to "bah 0",
element #1 is equal to "bah 1",
element #2 is equal to "bah 2",
element #3 is equal to "bah 3"
Actual: {}
[ FAILED ] XlogTest.rateLimiting (114 ms)
[----------] 1 test from XlogTest (114 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (114 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] XlogTest.rateLimiting

1 FAILED TEST

0% tests passed, 4 tests failed out of 4

Total Test time (real) = 6.97 sec

The following tests FAILED:
717 - xlog_test.XlogTest.xlogIf (Failed)
718 - xlog_test.XlogTest.xlog (Failed)
720 - xlog_test.XlogTest.rateLimiting (Failed)
721 - xlog_test.XlogTest.rateLimitingEndOfThread (Failed)
Errors while running CTest

============================================================
is this a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant