Build failed in Jenkins: zookeeper-master-maven #286

2019-06-21 Thread Apache Jenkins Server
See 

--
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H15 (Hadoop xenial) in workspace 

[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Using shallow clone
Avoid fetching tags
Cloning repository https://github.com/apache/zookeeper
 > git init  # 
 > timeout=10
Fetching upstream changes from https://github.com/apache/zookeeper
 > git --version # timeout=10
 > git fetch --no-tags --progress https://github.com/apache/zookeeper 
 > +refs/heads/*:refs/remotes/origin/* --depth=1
 > git config remote.origin.url https://github.com/apache/zookeeper # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://github.com/apache/zookeeper # timeout=10
Fetching upstream changes from https://github.com/apache/zookeeper
 > git fetch --no-tags --progress https://github.com/apache/zookeeper 
 > +refs/heads/*:refs/remotes/origin/* --depth=1
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 92257ef143ac94c37941600474d30fe22e1a1a6e 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 92257ef143ac94c37941600474d30fe22e1a1a6e
Commit message: "ZOOKEEPER-3391: Drop unused RecFormat(CSV/XML)"
 > git rev-list --no-walk 92257ef143ac94c37941600474d30fe22e1a1a6e # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 35753
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[zookeeper-master-maven] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx4g 
-Xms4g -cp 
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/apache-maven-3.6.0/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.6.0/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/apache-maven-3.6.0 
/home/jenkins/jenkins-slave/remoting.jar 
/home/jenkins/jenkins-slave/maven35-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 35753
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 
apache-rat:check verify spotbugs:check checkstyle:check -Pfull-build
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache ZooKeeper   [pom]
[INFO] Apache ZooKeeper - Documentation   [jar]
[INFO] Apache ZooKeeper - Jute[jar]
[INFO] Apache ZooKeeper - Server  [jar]
[INFO] Apache ZooKeeper - Metrics Providers   [pom]
[INFO] Apache ZooKeeper - Prometheus.io Metrics Provider  [jar]
[INFO] Apache ZooKeeper - Client  [pom]
[INFO] Apache ZooKeeper - Client - C  [jar]
[INFO] Apache ZooKeeper - Recipes [pom]
[INFO] Apache ZooKeeper - Recipes - Election  [jar]
[INFO] Apache ZooKeeper - Recipes - Lock  [jar]
[INFO] Apache ZooKeeper - Recipes - Queue [jar]
[INFO] Apache ZooKeeper - Assembly[pom]
[INFO] Apache ZooKeeper - Contrib [pom]
[INFO] Apache ZooKeeper - Contrib - Loggraph  [jar]
[INFO] Apache ZooKeeper - Contrib - Rest  [jar]
[INFO] Apache ZooKeeper - Contrib - ZooInspector  [jar]
[INFO] 
[INFO] < org.apache.zookeeper:parent >-
[INFO] Building Apache ZooKeeper 3.6.0-SNAPSHOT  [1/17]
[INFO] [ pom ]-
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default-cli) @ parent ---
[INFO] 59 implicit excludes (use -debug for more details).
[INFO] Exclude: **/log4j.properties
[INFO] Exclude: **/README.md
[INFO] Exclude: **/git.properties
[INFO] Exclude: **/findbugsExcludeFile.xml
[INFO] Exclude: **/checkstyle-noframes-sorted.xsl
[INFO] Exclude: **/configure.ac
[INFO] Exclude: **/Makefile.am
[INFO] Exclude: conf/zoo_sample.cfg

Jenkins build is back to stable : PreCommit-ZOOKEEPER-github-pr-build-maven #850

2019-06-21 Thread Apache Jenkins Server
See 




[jira] [Created] (ZOOKEEPER-3439) Observability improvements on client / server connection close

2019-06-21 Thread Michael Han (JIRA)
Michael Han created ZOOKEEPER-3439:
--

 Summary: Observability improvements on client / server connection 
close
 Key: ZOOKEEPER-3439
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3439
 Project: ZooKeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.6.0
Reporter: Michael Han
Assignee: Michael Han


Currently when server close a client connection there is not enough information 
recorded (except few exception logs) which makes it hard to do postmortems. On 
the other side, having a complete view of the aggregated connection closing 
reason will provide more signals based on which we can better operate the 
clusters (e.g. predicate an incident might happen based on the trending of the 
connection closing reasons).



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


Jenkins build is unstable: PreCommit-ZOOKEEPER-github-pr-build-maven #849

2019-06-21 Thread Apache Jenkins Server
See 




Re: Broken build

2019-06-21 Thread Brian Nixon
Finally got around to looking at this issue.

https://github.com/apache/zookeeper/pull/996 may suffice to address the
breaking test.


On Wed, Jan 30, 2019 at 2:39 PM Brian Nixon 
wrote:

> ZOOKEEPER-3240 is my patch - I'll see if I can figure out what the problem
> is.
>
>
> On Wed, Jan 30, 2019 at 7:54 AM Andor Molnar 
> wrote:
>
>> This doesn't look good yet.
>> Let's give it some time (til tomorrow) to recover.
>>
>> Andor
>>
>>
>>
>> On Wed, Jan 30, 2019 at 12:08 PM Andor Molnar  wrote:
>>
>> > Done. I reverted the patch on 3.5 and master branches.
>> > Hopefully builds will soon become green again.
>> >
>> > Andor
>> >
>> >
>> >
>> > On Wed, Jan 30, 2019 at 11:45 AM Andor Molnar 
>> wrote:
>> >
>> >> 2 tests are failing constantly:
>> >>
>> >>
>> >>
>> org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testFailedTxnAsPartOfQuorumLoss
>> >>
>> >>
>> org.apache.zookeeper.server.quorum.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum
>> >>
>> >> I reverted "ZOOKEEPER-3240: Close socket on Learner shutdown to avoid
>> >> dangling socket" and now it works.
>> >>
>> >> Andor
>> >>
>> >>
>> >>
>> >> On Wed, Jan 30, 2019 at 11:43 AM Enrico Olivelli 
>> >> wrote:
>> >>
>> >>> Do you have failing tests or code does not compile at all? (I don't
>> have
>> >>> my
>> >>> laptop at the moment)
>> >>>
>> >>> Enrico
>> >>>
>> >>> Il giorno mer 30 gen 2019, 11:31 Andor Molnar
>> > >>> >
>> >>> ha scritto:
>> >>>
>> >>> > Hi team,
>> >>> >
>> >>> > Looks like one of these changes have broken the build:
>> >>> >
>> >>> >
>> >>> >1. ZOOKEEPER-3250 <
>> >>> https://issues.apache.org/jira/browse/ZOOKEEPER-3250
>> >>> > >:
>> >>> >typo in doc - zookeeperInternals (detail
>> >>> ><
>> >>> >
>> >>>
>> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper_branch35_jdk8/1285/changes#detail0
>> >>> > >
>> >>> >)
>> >>> >2. ZOOKEEPER-3256 <
>> >>> https://issues.apache.org/jira/browse/ZOOKEEPER-3256
>> >>> > >:
>> >>> >Enable OWASP checks to Maven build (detail
>> >>> ><
>> >>> >
>> >>>
>> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper_branch35_jdk8/1285/changes#detail1
>> >>> > >
>> >>> >)
>> >>> >3. Fix typos (detail
>> >>> ><
>> >>> >
>> >>>
>> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper_branch35_jdk8/1285/changes#detail2
>> >>> > >
>> >>> >)
>> >>> >4. ZOOKEEPER-3236 <
>> >>> https://issues.apache.org/jira/browse/ZOOKEEPER-3236
>> >>> > >:
>> >>> >Upgrade BouncyCastle (detail
>> >>> ><
>> >>> >
>> >>>
>> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper_branch35_jdk8/1285/changes#detail3
>> >>> > >
>> >>> >)
>> >>> >5. ZOOKEEPER-3240 <
>> >>> https://issues.apache.org/jira/browse/ZOOKEEPER-3240
>> >>> > >:
>> >>> >Close socket on Learner shutdown to avoid dangling so… (detail
>> >>> ><
>> >>> >
>> >>>
>> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper_branch35_jdk8/1285/changes#detail4
>> >>> > >
>> >>> >)
>> >>> >
>> >>> > I'm trying to revert them one-by-one and see which one is the bad
>> guy.
>> >>> >
>> >>> > Regards,
>> >>> > Andor
>> >>> >
>> >>>
>> >>
>>
>


Build failed in Jenkins: PreCommit-ZOOKEEPER-github-pr-build-maven #848

2019-06-21 Thread Apache Jenkins Server
See 


--
[...truncated 905.52 KB...]
 [exec] Stopping zookeeper ... STOPPED
 [exec] Stopping zookeeper ... STOPPED
 [exec] Stopping zookeeper ... STOPPED
 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Starting zookeeper ... STARTED
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] Starting zookeeper ... STARTED
 [exec] Starting zookeeper ... STARTED
 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] Stopping zookeeper ... STOPPED
 [exec] Stopping zookeeper ... STOPPED
 [exec] ZooKeeper JMX enabled by default
 [exec] Using config: 

 [exec] Stopping zookeeper ... STOPPED
 [exec]  : elapsed 11747 : OK
 [exec] Zookeeper_clientretry::testRetrygencerts.sh
 [exec] 

 [exec]  ZooKeeper server startedgencerts.sh
 [exec] 

 [exec]  ZooKeeper server started : elapsed 14157 : OK
 [exec] Zookeeper_operations::testAsyncWatcher1 : elapsed 5 : OK
 [exec] Zookeeper_operations::testAsyncGetOperation : elapsed 5 : OK
 [exec] Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : 
elapsed 370 : OK
 [exec] Zookeeper_operations::testOperationsAndDisconnectConcurrently2 : 
elapsed 0 : OK
 [exec] Zookeeper_operations::testConcurrentOperations1 : elapsed 25654 : OK
 [exec] Zookeeper_multi::testCreate : elapsed 1038 : OK
 [exec] Zookeeper_multi::testCreateDelete : elapsed 1014 : OK
 [exec] Zookeeper_multi::testInvalidVersion : elapsed 1035 : OK
 [exec] Zookeeper_multi::testNestedCreate : elapsed 1030 : OK
 [exec] Zookeeper_multi::testSetData : elapsed 6053 : OK
 [exec] Zookeeper_multi::testUpdateConflict : elapsed 

Jenkins build is back to normal : PreCommit-ZOOKEEPER-github-pr-build-maven #845

2019-06-21 Thread Apache Jenkins Server
See 




[jira] [Created] (ZOOKEEPER-3438) Flaky test:org.apache.zookeeper.server.PrepRequestProcessorMetricsTest.testPrepRequestProcessorMetrics

2019-06-21 Thread maoling (JIRA)
maoling created ZOOKEEPER-3438:
--

 Summary: Flaky 
test:org.apache.zookeeper.server.PrepRequestProcessorMetricsTest.testPrepRequestProcessorMetrics
 Key: ZOOKEEPER-3438
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3438
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Reporter: maoling
 Fix For: 3.6.0


[https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build-maven/org.apache.zookeeper$zookeeper/844/testReport/junit/org.apache.zookeeper.server/PrepRequestProcessorMetricsTest/testPrepRequestProcessorMetrics/]
{code:java}
Error Message
expected:<5> but was:<4>
Stacktrace
java.lang.AssertionError: expected:<5> but was:<4>
at 
org.apache.zookeeper.server.PrepRequestProcessorMetricsTest.testPrepRequestProcessorMetrics(PrepRequestProcessorMetricsTest.java:146)

Standard Output
2019-06-21 09:09:37,915 [myid:] - INFO  [main:ZKTestCase$1@60] - STARTING 
testPrepRequestProcessorMetrics
2019-06-21 09:09:37,917 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - RUNNING TEST METHOD 
testPrepRequestProcessorMetrics
2019-06-21 09:09:37,951 [myid:] - ERROR [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@1002] - Failed to process sessionid:0x1 
type:setData cxid:0x0 zxid:0x1 txntype:5 reqpath:n/a
java.lang.NullPointerException
at 
org.apache.zookeeper.server.PrepRequestProcessor.pRequest2Txn(PrepRequestProcessor.java:521)
at 
org.apache.zookeeper.server.PrepRequestProcessor.pRequest(PrepRequestProcessor.java:872)
at 
org.apache.zookeeper.server.PrepRequestProcessor.run(PrepRequestProcessor.java:156)
2019-06-21 09:09:37,952 [myid:] - ERROR [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@1015] - Dumping request buffer: 
0x00042f666f6f
2019-06-21 09:09:37,959 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@99] - TEST METHOD FAILED 
testPrepRequestProcessorMetrics
java.lang.AssertionError: expected:<5> but was:<4>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at 
org.apache.zookeeper.server.PrepRequestProcessorMetricsTest.testPrepRequestProcessorMetrics(PrepRequestProcessorMetricsTest.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2019-06-21 09:09:37,960 [myid:] - INFO  

Build failed in Jenkins: PreCommit-ZOOKEEPER-github-pr-build-maven #844

2019-06-21 Thread Apache Jenkins Server
See 


--
[...truncated 687.77 KB...]
Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating