You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by dinesh singla <ty...@gmail.com> on 2021/08/02 08:07:16 UTC

Need help on setting up the zookeeper on my local

Hi Dev team,

I am new to open source and i want to contribute to apache zookeeper. I
need some help as some test cases are failing on my local. Can someone help
me here?
I also know about the mentorship programme of Apache. Please consider me
for a mentorship programme. Thanks in advance.

Regards,
Dinesh

Re: Need help on setting up the zookeeper on my local

Posted by Norbert Kalmar <nk...@cloudera.com.INVALID>.
I don't see the FileChangeWatcherTest.testCallbackWorksOnFileDeleted on
latest flaky build:
https://ci-hadoop.apache.org/blue/organizations/jenkins/ZooKeeper-Find-Flaky-Tests/detail/ZooKeeper-Find-Flaky-Tests/339/pipeline
It was actually flaky, but should have been already fixed: ZOOKEEPER-3219

However, the other ones, on branch 3.5, looks flaky (so probably also are
on master):
ZooKeeperServerMainTest.testReadOnlySnapshotDir
ZooKeeperServerMainTest.testReadOnlyTxnLogDir

You can try to re-run the failed tests individually:
mvn -Dtest=FileChangeWatcherTest -DfailIfNoTests=false test

If they pass you can try to re-run the whole tests again. We do have some
flaky tests, and fixes are always welcomed. Please check first if there's
already a jira ticket for it:
https://issues.apache.org/jira/browse/ZOOKEEPER-3042?jql=text%20~%20%22flaky%22

From the logs it looks like it's an issue of the multi thread test runs,
sometimes ZK instances get stuck (it's a valid question why we have ZK
instances fired up in unit tests).

- Norbert

On Mon, Aug 2, 2021 at 11:20 AM dinesh singla <ty...@gmail.com>
wrote:

> Hi Norbert,
>
> I am currently at master branch and when i run maven clean and install here
> I am getting an error on a test case and the error is
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *[ERROR] Failures: [ERROR]
> FileChangeWatcherTest.testCallbackWorksOnFileDeleted:210 expected:
> <ENTRY_DELETE> but was: <ENTRY_MODIFY>[ERROR]
> NettyServerCnxnFactoryTest.testOutstandingHandshakeLimit:155 Only 0 out of
> 9 connections created![ERROR]
> ZooKeeperServerMainTest.testReadOnlySnapshotDir:254 waiting for server
> being up ==> expected: <false> but was: <true>[ERROR]
> ZooKeeperServerMainTest.testReadOnlyTxnLogDir:293 waiting for server being
> up ==> expected: <false> but was: <true>[ERROR]
>
> LearnerMetricsTest.testLearnerMetricsTest:101->waitForMetric:118->ZKTestCase.waitFor:110
> unable to match on metric: learner_proposal_received_count[ERROR]
> QuorumPeerMainTest.testFailedTxnAsPartOfQuorumLoss:792 create /zk2 should
> have failed[ERROR]   QuorumPeerMainTest.testLeaderOutOfView:916 expected:
> <LOOKING> but was: <FOLLOWING>[ERROR]
> QuorumSSLTest.testCertificateRevocationList:758 expected: <true> but was:
> <false>[ERROR]
>
> QuorumSSLTest.testHostnameVerificationWithInvalidIpAddressAndValidHostname:657->testHostnameVerification:722
> expected: <true> but was: <false>[ERROR]   QuorumSSLTest.testOCSP:829
> expected: <true> but was: <false>[ERROR]
> ReconfigBackupTest.testVersionOfDynamicFilename:319 expected: <true> but
> was: <false>[ERROR]   StatResetCommandTest.testStatResetWithFollower:82
> expected: <Server stats reset.> but was: <Server stats reset.*
>
>
>
> Can you please tell me if I am doing something wrong here or if this needs
> to be fixed? If this needs to be fixed, I would like to try. Thanks for the
> help.
>
> Regards,
> Dinesh Singla
>
> On Mon, Aug 2, 2021 at 1:49 PM Norbert Kalmar <nk...@apache.org> wrote:
>
> > Hi Dinesh,
> >
> > Welcome to the ZooKeeper community, we are always happy to see interest
> in
> > the project.
> > Please attach logs so we can help pinpointing the problem.
> >
> > You can find a lot of useful howto posts on
> > https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> > Mainly:
> > https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute
> >
> > As for the mentor programme, do you mean this one:
> > https://community.apache.org/mentoringprogramme.html
> > That is more of a general programme geared toward apache contributions in
> > general, and there's a form to apply.
> >
> > We are happy to help if you have questions, I'm not sure there will be an
> > assigned mentor though.
> >
> > Regards,
> > Norbert
> >
> > On Mon, Aug 2, 2021 at 10:07 AM dinesh singla <ty...@gmail.com>
> > wrote:
> >
> > > Hi Dev team,
> > >
> > > I am new to open source and i want to contribute to apache zookeeper. I
> > > need some help as some test cases are failing on my local. Can someone
> > help
> > > me here?
> > > I also know about the mentorship programme of Apache. Please consider
> me
> > > for a mentorship programme. Thanks in advance.
> > >
> > > Regards,
> > > Dinesh
> > >
> >
>

Re: Need help on setting up the zookeeper on my local

Posted by dinesh singla <ty...@gmail.com>.
Hi Norbert,

I am currently at master branch and when i run maven clean and install here
I am getting an error on a test case and the error is














*[ERROR] Failures: [ERROR]
FileChangeWatcherTest.testCallbackWorksOnFileDeleted:210 expected:
<ENTRY_DELETE> but was: <ENTRY_MODIFY>[ERROR]
NettyServerCnxnFactoryTest.testOutstandingHandshakeLimit:155 Only 0 out of
9 connections created![ERROR]
ZooKeeperServerMainTest.testReadOnlySnapshotDir:254 waiting for server
being up ==> expected: <false> but was: <true>[ERROR]
ZooKeeperServerMainTest.testReadOnlyTxnLogDir:293 waiting for server being
up ==> expected: <false> but was: <true>[ERROR]
LearnerMetricsTest.testLearnerMetricsTest:101->waitForMetric:118->ZKTestCase.waitFor:110
unable to match on metric: learner_proposal_received_count[ERROR]
QuorumPeerMainTest.testFailedTxnAsPartOfQuorumLoss:792 create /zk2 should
have failed[ERROR]   QuorumPeerMainTest.testLeaderOutOfView:916 expected:
<LOOKING> but was: <FOLLOWING>[ERROR]
QuorumSSLTest.testCertificateRevocationList:758 expected: <true> but was:
<false>[ERROR]
QuorumSSLTest.testHostnameVerificationWithInvalidIpAddressAndValidHostname:657->testHostnameVerification:722
expected: <true> but was: <false>[ERROR]   QuorumSSLTest.testOCSP:829
expected: <true> but was: <false>[ERROR]
ReconfigBackupTest.testVersionOfDynamicFilename:319 expected: <true> but
was: <false>[ERROR]   StatResetCommandTest.testStatResetWithFollower:82
expected: <Server stats reset.> but was: <Server stats reset.*



Can you please tell me if I am doing something wrong here or if this needs
to be fixed? If this needs to be fixed, I would like to try. Thanks for the
help.

Regards,
Dinesh Singla

On Mon, Aug 2, 2021 at 1:49 PM Norbert Kalmar <nk...@apache.org> wrote:

> Hi Dinesh,
>
> Welcome to the ZooKeeper community, we are always happy to see interest in
> the project.
> Please attach logs so we can help pinpointing the problem.
>
> You can find a lot of useful howto posts on
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> Mainly:
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute
>
> As for the mentor programme, do you mean this one:
> https://community.apache.org/mentoringprogramme.html
> That is more of a general programme geared toward apache contributions in
> general, and there's a form to apply.
>
> We are happy to help if you have questions, I'm not sure there will be an
> assigned mentor though.
>
> Regards,
> Norbert
>
> On Mon, Aug 2, 2021 at 10:07 AM dinesh singla <ty...@gmail.com>
> wrote:
>
> > Hi Dev team,
> >
> > I am new to open source and i want to contribute to apache zookeeper. I
> > need some help as some test cases are failing on my local. Can someone
> help
> > me here?
> > I also know about the mentorship programme of Apache. Please consider me
> > for a mentorship programme. Thanks in advance.
> >
> > Regards,
> > Dinesh
> >
>

Re: Need help on setting up the zookeeper on my local

Posted by Norbert Kalmar <nk...@apache.org>.
Hi Dinesh,

Welcome to the ZooKeeper community, we are always happy to see interest in
the project.
Please attach logs so we can help pinpointing the problem.

You can find a lot of useful howto posts on
https://cwiki.apache.org/confluence/display/ZOOKEEPER/
Mainly:
https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute

As for the mentor programme, do you mean this one:
https://community.apache.org/mentoringprogramme.html
That is more of a general programme geared toward apache contributions in
general, and there's a form to apply.

We are happy to help if you have questions, I'm not sure there will be an
assigned mentor though.

Regards,
Norbert

On Mon, Aug 2, 2021 at 10:07 AM dinesh singla <ty...@gmail.com>
wrote:

> Hi Dev team,
>
> I am new to open source and i want to contribute to apache zookeeper. I
> need some help as some test cases are failing on my local. Can someone help
> me here?
> I also know about the mentorship programme of Apache. Please consider me
> for a mentorship programme. Thanks in advance.
>
> Regards,
> Dinesh
>