See <https://builds.apache.org/job/pulsar-master/149/display/redirect?page=changes>
Changes: [mmerli] Separate ports used by global and local zookeeper (#876) ------------------------------------------ [...truncated 287.58 KB...] [ 55%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/Consumer.cc.o [ 56%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/ClientImpl.cc.o [ 57%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/MessageBuilder.cc.o [ 57%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/ConsumerConfiguration.cc.o [ 58%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/ReaderImpl.cc.o [ 59%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/ClientConfiguration.cc.o [ 59%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchAcknowledgementTracker.cc.o [ 60%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/ConnectionPool.cc.o [ 60%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchMessageContainer.cc.o [ 61%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/CompressionCodecLZ4.cc.o [ 62%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/PartitionedConsumerImpl.cc.o [ 62%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/CompressionCodec.cc.o [ 63%] Building C object lib/CMakeFiles/pulsarStatic.dir/lz4/lz4.c.o [ 64%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/checksum/ChecksumProvider.cc.o [ 64%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/checksum/crc32c_sw.cc.o [ 65%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/checksum/crc32c_sse42.cc.o [ 65%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/stats/ProducerStatsImpl.cc.o [ 66%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/stats/ConsumerStatsImpl.cc.o [ 67%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/PulsarApi.pb.cc.o [ 67%] Linking CXX static library libpulsar.a [ 68%] Built target pulsarStatic Scanning dependencies of target ztsClient [ 69%] Building CXX object lib/auth/athenz/CMakeFiles/ztsClient.dir/ZTSClient.cc.o [ 70%] Linking CXX shared library libztsClient.so [ 70%] Built target ztsClient Scanning dependencies of target authAthenz [ 70%] Building CXX object lib/auth/CMakeFiles/authAthenz.dir/AuthAthenz.cc.o [ 71%] Linking CXX shared module libauthathenz.so [ 71%] Built target authAthenz Scanning dependencies of target authTls [ 72%] Building CXX object lib/auth/CMakeFiles/authTls.dir/AuthTls.cc.o [ 72%] Linking CXX shared module libauthtls.so [ 72%] Built target authTls Scanning dependencies of target perfConsumer [ 73%] Building CXX object perf/CMakeFiles/perfConsumer.dir/PerfConsumer.cc.o [ 74%] Linking CXX executable perfConsumer [ 74%] Built target perfConsumer Scanning dependencies of target perfProducer [ 74%] Building CXX object perf/CMakeFiles/perfProducer.dir/PerfProducer.cc.o [ 75%] Linking CXX executable perfProducer [ 75%] Built target perfProducer Scanning dependencies of target SampleProducer [ 76%] Building CXX object examples/CMakeFiles/SampleProducer.dir/SampleProducer.cc.o [ 76%] Linking CXX executable SampleProducer [ 76%] Built target SampleProducer Scanning dependencies of target SampleConsumer [ 76%] Building CXX object examples/CMakeFiles/SampleConsumer.dir/SampleConsumer.cc.o [ 77%] Linking CXX executable SampleConsumer [ 77%] Built target SampleConsumer Scanning dependencies of target SampleAsyncProducer [ 77%] Building CXX object examples/CMakeFiles/SampleAsyncProducer.dir/SampleAsyncProducer.cc.o [ 78%] Linking CXX executable SampleAsyncProducer [ 78%] Built target SampleAsyncProducer Scanning dependencies of target SampleConsumerListener [ 79%] Building CXX object examples/CMakeFiles/SampleConsumerListener.dir/SampleConsumerListener.cc.o [ 79%] Linking CXX executable SampleConsumerListener [ 79%] Built target SampleConsumerListener Scanning dependencies of target main [ 80%] Building CXX object tests/CMakeFiles/main.dir/ProducerTest.cc.o [ 80%] Building CXX object tests/CMakeFiles/main.dir/BlockingQueueTest.cc.o [ 81%] Building CXX object tests/CMakeFiles/main.dir/ClientDeduplicationTest.cc.o [ 82%] Building CXX object tests/CMakeFiles/main.dir/LatchTest.cc.o [ 82%] Building CXX object tests/CMakeFiles/main.dir/main.cc.o [ 83%] Building CXX object tests/CMakeFiles/main.dir/MessageTest.cc.o [ 84%] Building CXX object tests/CMakeFiles/main.dir/NamespaceNameTest.cc.o [ 84%] Building CXX object tests/CMakeFiles/main.dir/AuthPluginTest.cc.o [ 85%] Building CXX object tests/CMakeFiles/main.dir/ConsumerStatsTest.cc.o [ 85%] Building CXX object tests/CMakeFiles/main.dir/BasicEndToEndTest.cc.o [ 86%] Building CXX object tests/CMakeFiles/main.dir/BinaryLookupServiceTest.cc.o [ 87%] Building CXX object tests/CMakeFiles/main.dir/ConsumerTest.cc.o [ 87%] Building CXX object tests/CMakeFiles/main.dir/MessageIdTest.cc.o [ 88%] Building CXX object tests/CMakeFiles/main.dir/ClientTest.cc.o [ 88%] Building CXX object tests/CMakeFiles/main.dir/DestinationNameTest.cc.o [ 89%] Building CXX object tests/CMakeFiles/main.dir/BatchMessageTest.cc.o [ 90%] Building CXX object tests/CMakeFiles/main.dir/ReaderTest.cc.o [ 90%] Building CXX object tests/CMakeFiles/main.dir/BackoffTest.cc.o [ 91%] Building CXX object tests/CMakeFiles/main.dir/UrlTest.cc.o [ 92%] Building CXX object tests/CMakeFiles/main.dir/ZTSClientTest.cc.o [ 92%] Building CXX object tests/CMakeFiles/main.dir/HttpHelper.cc.o [ 93%] Building CXX object tests/CMakeFiles/main.dir/LoggerTest.cc.o [ 93%] Linking CXX executable main [ 93%] Built target main Scanning dependencies of target _pulsar [ 94%] Building CXX object python/CMakeFiles/_pulsar.dir/src/pulsar.cc.o [ 95%] Building CXX object python/CMakeFiles/_pulsar.dir/src/producer.cc.o [ 95%] Building CXX object python/CMakeFiles/_pulsar.dir/src/consumer.cc.o [ 96%] Building CXX object python/CMakeFiles/_pulsar.dir/src/config.cc.o [ 97%] Building CXX object python/CMakeFiles/_pulsar.dir/src/enums.cc.o [ 97%] Building CXX object python/CMakeFiles/_pulsar.dir/src/client.cc.o [ 98%] Building CXX object python/CMakeFiles/_pulsar.dir/src/message.cc.o [ 98%] Building CXX object python/CMakeFiles/_pulsar.dir/src/authentication.cc.o [ 99%] Building CXX object python/CMakeFiles/_pulsar.dir/src/reader.cc.o [100%] Linking CXX shared library _pulsar.so [100%] Built target _pulsar + pulsar-client-cpp/docker-tests.sh ---- Testing Pulsar C++ client using image apachepulsar/pulsar-build:ubuntu-16.04 ubuntu-16.04: Pulling from apachepulsar/pulsar-build Digest: sha256:215f78ff2a1cc3e17a7b140a6b55b72e52146f40d0a56fa820bbd859823e4dd8 Status: Image is up to date for apachepulsar/pulsar-build:ubuntu-16.04 [AppClassLoader@5caf905d] info AspectJ Weaver Version 1.8.9 built on Monday Mar 14, 2016 at 21:18:16 GMT [AppClassLoader@5caf905d] info register classloader sun.misc.Launcher$AppClassLoader@5caf905d [AppClassLoader@5caf905d] info using configuration file:/pulsar/pulsar-client-cpp/pulsar-dist/lib/org.apache.pulsar-pulsar-broker-1.21.0-incubating-SNAPSHOT.jar!/META-INF/aop.xml [AppClassLoader@5caf905d] info using configuration file:/pulsar/pulsar-client-cpp/pulsar-dist/lib/org.apache.pulsar-pulsar-zookeeper-1.21.0-incubating-SNAPSHOT.jar!/META-INF/aop.xml [AppClassLoader@5caf905d] info register aspect org.apache.pulsar.broker.zookeeper.aspectj.ClientCnxnAspect [AppClassLoader@5caf905d] info AspectJ Weaver Version 1.8.9 built on Monday Mar 14, 2016 at 21:18:16 GMT [AppClassLoader@5caf905d] info register classloader sun.misc.Launcher$AppClassLoader@5caf905d [AppClassLoader@5caf905d] info using configuration file:/pulsar/pulsar-client-cpp/pulsar-dist/lib/org.apache.pulsar-pulsar-broker-1.21.0-incubating-SNAPSHOT.jar!/META-INF/aop.xml [AppClassLoader@5caf905d] info using configuration file:/pulsar/pulsar-client-cpp/pulsar-dist/lib/org.apache.pulsar-pulsar-zookeeper-1.21.0-incubating-SNAPSHOT.jar!/META-INF/aop.xml [AppClassLoader@5caf905d] info register aspect org.apache.pulsar.broker.zookeeper.aspectj.ClientCnxnAspect [AppClassLoader@5caf905d] info register aspect org.apache.pulsar.zookeeper.FinalRequestProcessorAspect [AppClassLoader@5caf905d] info register aspect org.apache.pulsar.zookeeper.ZooKeeperServerAspect [AppClassLoader@5caf905d] info register aspect org.apache.pulsar.zookeeper.FinalRequestProcessorAspect [AppClassLoader@5caf905d] info register aspect org.apache.pulsar.zookeeper.ZooKeeperServerAspect null Reason: javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused) ---- Run unit tests in parallel log4cxx: Could not read configuration file [log4cxx.conf]. [MethodUtil@1ad9e1ea] info AspectJ Weaver Version 1.8.9 built on Monday Mar 14, 2016 at 21:18:16 GMT [MethodUtil@1ad9e1ea] info register classloader sun.reflect.misc.MethodUtil@1ad9e1ea [MethodUtil@1ad9e1ea] info using configuration file:/pulsar/pulsar-client-cpp/pulsar-dist/lib/org.apache.pulsar-pulsar-broker-1.21.0-incubating-SNAPSHOT.jar!/META-INF/aop.xml [MethodUtil@1ad9e1ea] info using configuration file:/pulsar/pulsar-client-cpp/pulsar-dist/lib/org.apache.pulsar-pulsar-zookeeper-1.21.0-incubating-SNAPSHOT.jar!/META-INF/aop.xml [MethodUtil@1ad9e1ea] info register aspect org.apache.pulsar.broker.zookeeper.aspectj.ClientCnxnAspect [MethodUtil@1ad9e1ea] info register aspect org.apache.pulsar.zookeeper.FinalRequestProcessorAspect [MethodUtil@1ad9e1ea] info register aspect org.apache.pulsar.zookeeper.ZooKeeperServerAspect [MethodUtil@766da26e] info AspectJ Weaver Version 1.8.9 built on Monday Mar 14, 2016 at 21:18:16 GMT [MethodUtil@766da26e] info register classloader sun.reflect.misc.MethodUtil@766da26e [MethodUtil@766da26e] info using configuration file:/pulsar/pulsar-client-cpp/pulsar-dist/lib/org.apache.pulsar-pulsar-broker-1.21.0-incubating-SNAPSHOT.jar!/META-INF/aop.xml [MethodUtil@766da26e] info using configuration file:/pulsar/pulsar-client-cpp/pulsar-dist/lib/org.apache.pulsar-pulsar-zookeeper-1.21.0-incubating-SNAPSHOT.jar!/META-INF/aop.xml [MethodUtil@766da26e] info register aspect org.apache.pulsar.broker.zookeeper.aspectj.ClientCnxnAspect [MethodUtil@766da26e] info register aspect org.apache.pulsar.zookeeper.FinalRequestProcessorAspect [MethodUtil@766da26e] info register aspect org.apache.pulsar.zookeeper.ZooKeeperServerAspect [0/90] Running tests... [1/90] ZTSClientTest.testZTSClient (139 ms) [2/90] LoggerTest.testLogger (157 ms) [3/90] BackoffTest.ignoringMandatoryStopTest (136 ms) [4/90] UrlTest.testUrl (192 ms) [5/90] BackoffTest.mandatoryStopTest (225 ms) [6/90] BackoffTest.maxTest (217 ms) [7/90] BackoffTest.basicTest (196 ms) [8/90] BackoffTest.mandatoryStopTestNegativeTest (229 ms) [9/90] BatchMessageTest.testPartitionedTopics (213 ms) log4cxx: Could not read configuration file [log4cxx.conf]. Note: Google Test filter = BatchMessageTest.testPartitionedTopics [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from BatchMessageTest [ RUN ] BatchMessageTest.testPartitionedTopics log4cxx: No appender could be found for logger (pulsar./pulsar/pulsar-client-cpp/lib/ClientImpl.cc). log4cxx: Please initialize the log4cxx system properly. /pulsar/pulsar-client-cpp/tests/BatchMessageTest.cc:842: Failure Value of: res != 204 && res != 409 Actual: true Expected: false [ FAILED ] BatchMessageTest.testPartitionedTopics (35 ms) [----------] 1 test from BatchMessageTest (35 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (35 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] BatchMessageTest.testPartitionedTopics 1 FAILED TEST [9/90] BatchMessageTest.testPartitionedTopics returned/aborted with exit code 1 (213 ms) [10/90] BackoffTest.firstBackoffTimerTest (583 ms) [11/90] ReaderTest.testReaderOnSpecificMessageWithBatches (5574 ms) [12/90] ReaderTest.testSimpleReader (5468 ms) [13/90] ReaderTest.testReaderAfterMessagesWerePublished (5643 ms) [14/90] ReaderTest.testReaderOnLastMessage (5700 ms) [15/90] ReaderTest.testReaderOnSpecificMessage (5746 ms) [16/90] ReaderTest.testMultipleReaders (5749 ms) [17/90] DestinationNameTest.testExtraArguments (102 ms) [18/90] BatchMessageTest.testProducerConfig (162 ms) [19/90] DestinationNameTest.testEmptyString (126 ms) [20/90] DestinationNameTest.testIllegalCharacters (45 ms) [21/90] DestinationNameTest.testIllegalUrl (109 ms) [22/90] DestinationNameTest.testExtraSlashes (102 ms) [23/90] DestinationNameTest.testEmptyClusterName (125 ms) [24/90] DestinationNameTest.testDestinationNameWithSlashes (114 ms) [25/90] DestinationNameTest.testLookup (94 ms) [26/90] DestinationNameTest.testDestinationName (132 ms) [27/90] ClientTest.testSwHwChecksum (84 ms) [28/90] ClientTest.testChecksumComputation (89 ms) [29/90] MessageIdTest.testSerialization (88 ms) [30/90] ConsumerTest.consumerNotInitialized (114 ms) [31/90] BinaryLookupServiceTest.basicLookup (559 ms) [32/90] BasicEndToEndTest.testProduceMessageSize (1119 ms) [33/90] BatchMessageTest.testBatchSizeInBytes (6164 ms) [34/90] BasicEndToEndTest.testResendViaSendCallback (4936 ms) [35/90] BasicEndToEndTest.testStatsLatencies (11894 ms) [36/90] BasicEndToEndTest.testMessageListener (7071 ms) [37/90] BatchMessageTest.testMixedAck (20323 ms) [38/90] BasicEndToEndTest.testRoundRobinRoutingPolicy (1925 ms) [39/90] BasicEndToEndTest.testNamespaceName (42 ms) [40/90] BatchMessageTest.testCumulativeAck (20437 ms) [41/90] BasicEndToEndTest.testConsumerClose (286 ms) [42/90] BasicEndToEndTest.testConfigurationFile (67 ms) [43/90] BasicEndToEndTest.testCompressionZLib (449 ms) [44/90] BasicEndToEndTest.testCompressionLZ4 (646 ms) [45/90] BasicEndToEndTest.testMessageTooBig (453 ms) [46/90] BasicEndToEndTest.testSinglePartitionRoutingPolicy (1501 ms) [47/90] BasicEndToEndTest.testInvalidUrlPassed (48 ms) [48/90] BasicEndToEndTest.testSubscribeCloseUnsubscribeSherpaScenario (146 ms) [49/90] BasicEndToEndTest.testIamSoFancyCharactersInTopicName (286 ms) [50/90] BasicEndToEndTest.testPartitionedProducerConsumerSubscriptionName (1519 ms) [51/90] BasicEndToEndTest.testDuplicateConsumerCreationOnPartitionedTopic (3701 ms) [52/90] BasicEndToEndTest.testPartitionedProducerConsumer (1425 ms) [53/90] BasicEndToEndTest.testNonPersistentTopic (69 ms) [54/90] BasicEndToEndTest.testNonExistingTopic (56 ms) [55/90] BasicEndToEndTest.testProduceAndConsumeAfterClientClose (663 ms) [56/90] BasicEndToEndTest.testSingleClientMultipleSubscriptions (220 ms) [57/90] BasicEndToEndTest.testLookupThrottling (113 ms) [58/90] BasicEndToEndTest.testProduceConsume (357 ms) [59/90] BasicEndToEndTest.testMultipleClientsMultipleSubscriptions (2299 ms) [60/90] ConsumerStatsTest.testFailure (440 ms) [61/90] BatchMessageTest.testPermits (25976 ms) [62/90] AuthPluginTest.testDisable (56 ms) [63/90] AuthPluginTest.testAthenz (62 ms) [64/90] BatchMessageTest.testProducerTimeout (21890 ms) [65/90] AuthPluginTest.testCreate (53 ms) [66/90] NamespaceNameTest.testNamespaceName (40 ms) [67/90] MessageTest.testProperties (67 ms) [68/90] BatchMessageTest.testSmallReceiverQueueSize (22245 ms) [69/90] MessageTest.testAllocatedContents (73 ms) [70/90] MessageTest.testMessageContents (66 ms) [71/90] LatchTest.testLatchCount (96 ms) [72/90] LatchTest.testTimedWait (192 ms) [73/90] LatchTest.testCountDown (129 ms) [74/90] ConsumerStatsTest.testCachingMechanism (4581 ms) [75/90] BlockingQueueTest.testReservedSpot (93 ms) [76/90] ClientDeduplicationTest.testProducerSequenceAfterReconnect (1035 ms) [77/90] BlockingQueueTest.testBlockingConsumer (90 ms) [78/90] BlockingQueueTest.testBlockingProducer (93 ms) [79/90] BlockingQueueTest.testQueueOperations (65 ms) [80/90] BlockingQueueTest.testBasic (111 ms) [81/90] ProducerTest.producerNotInitialized (143 ms) [82/90] ConsumerStatsTest.testBacklogInfo (3912 ms) [83/90] BasicEndToEndTest.testBatchMessages (6338 ms) [84/90] ConsumerStatsTest.testAsyncCallOnPartitionedTopic (6891 ms) [85/90] BatchMessageTest.testIndividualAck (29943 ms) [86/90] ClientDeduplicationTest.testProducerDeduplication (3003 ms) [87/90] BlockingQueueTest.testTimeout (3080 ms) [88/90] AuthPluginTest.testTls (9377 ms) [89/90] BasicEndToEndTest.testHandlerReconnectionLogic (65543 ms) [90/90] BasicEndToEndTest.testMessageListenerPause (87148 ms) FAILED TESTS (1/90): 213 ms: ./main BatchMessageTest.testPartitionedTopics Build step 'Execute shell' marked build as failure