You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/11 05:37:18 UTC
[GitHub] [pulsar] RobertIndie commented on issue #14848: Flaky-test: C++ ClientTest.testReferenceCount
RobertIndie commented on issue #14848:
URL: https://github.com/apache/pulsar/issues/14848#issuecomment-1094572731
After #14854 get merged, I still get this error.
[example failure](https://github.com/apache/pulsar/runs/5966290255?check_suite_focus=true#step:11:160)
```
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ClientTest
[ RUN ] ClientTest.testReferenceCount
2022-04-11 04:43:29.498 INFO [139942018497280] ClientConnection:189 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2022-04-11 04:43:29.498 INFO [139942018497280] ConnectionPool:96 | Created connection for pulsar://localhost:6650
2022-04-11 04:43:29.500 INFO [139941896357632] ClientConnection:375 | [127.0.0.1:45924 -> 127.0.0.1:6650] Connected to broker
2022-04-11 04:43:29.503 INFO [139941896357632] HandlerBase:64 | [persistent://public/default/client-test-reference-count-[164](https://github.com/apache/pulsar/runs/5966290255?check_suite_focus=true#step:11:164)9652209, ] Getting connection from pool
2022-04-11 04:43:29.538 INFO [139941896357632] ProducerImpl:189 | [persistent://public/default/client-test-reference-count-1649652209, ] Created producer on broker [127.0.0.1:45924 -> 127.0.0.1:6650]
2022-04-11 04:43:29.538 INFO [1399420[184](https://github.com/apache/pulsar/runs/5966290255?check_suite_focus=true#step:11:184)97280] ClientTest:210 | Reference count of the producer: 1
2022-04-11 04:43:29.538 INFO [139942018497280] Client:88 | Subscribing on Topic :client-test-reference-count-1649652209
2022-04-11 04:43:29.540 INFO [13994[189](https://github.com/apache/pulsar/runs/5966290255?check_suite_focus=true#step:11:189)6357632] HandlerBase:64 | [persistent://public/default/client-test-reference-count-1649652209, my-sub, 0] Getting connection from pool
2022-04-11 04:43:29.558 INFO [139941896357632] ConsumerImpl:224 | [persistent://public/default/client-test-reference-count-1649652209, my-sub, 0] Created consumer on broker [127.0.0.1:45924 -> 127.0.0.1:6650]
2022-04-11 04:43:29.560 INFO [139942018497280] ClientTest:216 | Reference count of the consumer: 7
2022-04-11 04:43:29.562 INFO [139941896357632] HandlerBase:64 | [persistent://public/default/client-test-reference-count-1649652209-reader, reader-0fd8e7ba92, 1] Getting connection from pool
2022-04-11 04:43:29.597 INFO [139941896357632] ConsumerImpl:224 | [persistent://public/default/client-test-reference-count-1649652209-reader, reader-0fd8e7ba92, 1] Created consumer on broker [127.0.0.1:45924 -> 127.0.0.1:6650]
2022-04-11 04:43:29.598 INFO [139942018497280] ClientTest:224 | Reference count of the reader's underlying consumer: 3
/pulsar/pulsar-client-cpp/tests/ClientTest.cc:227: Failure
Value of: 1
Expected: readerWeakPtr.use_count()
Which is: 5
2022-04-11 04:43:29.598 WARN [139942018497280] ConsumerImpl:116 | [persistent://public/default/client-test-reference-count-1649652209, my-sub, 0] Destroyed consumer which was not properly closed
2022-04-11 04:43:29.598 INFO [139942018497280] ConsumerImpl:124 | [persistent://public/default/client-test-reference-count-1649652209, my-sub, 0] Closed consumer for race condition: 0
2022-04-11 04:43:29.598 INFO [139942018497280] ProducerImpl:628 | Producer - [persistent://public/default/client-test-reference-count-1649652209, standalone-0-203] , [batchMessageContainer = { BatchMessageContainer [size = 0] [bytes = 0] [maxSize = 1000] [maxBytes = 131072] [topicName = persistent://public/default/client-test-reference-count-1649652209] [numberOfBatchesSent_ = 0] [averageBatchSize_ = 0] }]
2022-04-11 04:43:29.598 WARN [139942018497280] ProducerImpl:114 | [persistent://public/default/client-test-reference-count-1649652209, standalone-0-203] Destroyed producer which was not properly closed
2022-04-11 04:43:29.598 INFO [139942018497280] ClientConnection:1560 | [127.0.0.1:45924 -> 127.0.0.1:6650] Connection closed
[ FAILED ] ClientTest.testReferenceCount (101 ms)
[----------] 1 test from ClientTest (101 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (101 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] ClientTest.testReferenceCount
```
PTAL @BewareMyPower
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org