Skip to content

ZOOKEEPER-3101: add reminder to ZOO_ERRORS#581

Closed
sl4mmy wants to merge 2 commits intoapache:masterfrom
sl4mmy:zookeeper-3101
Closed

ZOOKEEPER-3101: add reminder to ZOO_ERRORS#581
sl4mmy wants to merge 2 commits intoapache:masterfrom
sl4mmy:zookeeper-3101

Conversation

@sl4mmy
Copy link
Contributor

@sl4mmy sl4mmy commented Jul 23, 2018

Add comment at bottom of ZOO_ERRORS reminding developers to also
update zerror(int) when adding or changing values. Suggested by
@phunt in #575 (comment).

Signed-off-by: Kent R. Spillner kspillner@acm.org

@sl4mmy
Copy link
Contributor Author

sl4mmy commented Jul 23, 2018

The Jenkins failure looks like an internal error in Jenkins itself: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1987/consoleText

@sl4mmy
Copy link
Contributor Author

sl4mmy commented Jul 23, 2018

This commit just adds a comment so I'm not sure how it would cause a build failure other than a style alert, but that doesn't appear to be the case

@nkalmar
Copy link
Contributor

nkalmar commented Jul 24, 2018

Looks to me jenkins was simply overloaded.
You can re-run the jenkins job by doing an empty --amend commit and pushing it to your PR branch.

Copy link
Contributor

@nkalmar nkalmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a useful comment, no code changes.

Yeah, looks like something wrong with the git - https://issues.apache.org/jira/browse/INFRA-16808

@sl4mmy
Copy link
Contributor Author

sl4mmy commented Jul 24, 2018

@nkalmar Thanks, I just pushed a new commit (slightly reworded the commit message) but the Jenkins build failed again for the same reason: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1990/console

@lvfangmin
Copy link
Contributor

+1 looks like the Jenkins failed due to "NoClassDefFoundError: hudson.model.Computer", is it an environment issue?

@nkalmar
Copy link
Contributor

nkalmar commented Jul 25, 2018

Yes, all PR fails due to the same reason. I think there is already an INFRA ticket but I'll double check.

Copy link
Contributor

@breed breed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@anmolnar
Copy link
Contributor

anmolnar commented Aug 8, 2018

@sl4mmy Would you please trigger another Jenkins build, so that we get a green one and I can commit.

@sl4mmy
Copy link
Contributor Author

sl4mmy commented Aug 8, 2018

@anmolnar Done, and it passed. Thanks!

@anmolnar
Copy link
Contributor

Quite a simple patch to commit.
@sl4mmy Are u still around? Would you please resolve the conflict?

@sl4mmy sl4mmy force-pushed the zookeeper-3101 branch from 5d99813 to fc9ffdb Compare May 1, 2020 16:18
@sl4mmy
Copy link
Contributor Author

sl4mmy commented May 1, 2020

@anmolnar rebased & pushed. I also added a new commit (fc9ffdb) to handle a new error code that wasn't added to zerror(int) (and fixed the indentation of another case that was added to zerror(int)).

@sl4mmy
Copy link
Contributor Author

sl4mmy commented May 1, 2020

t looks like the Travis build for s390 failed due to:

[FATAL] Non-resolvable parent POM for org.apache.zookeeper:parent:3.7.0-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:23 from/to central (https://repo.maven.apache.org/maven2): /home/travis/.m2/repository/org/apache/apache/23/apache-23.pom.part.lock (No such file or directory) and 'parent.relativePath' points at no local POM @ line 23, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.zookeeper:parent:3.7.0-SNAPSHOT (/home/travis/build/apache/zookeeper/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.zookeeper:parent:3.7.0-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:23 from/to central (https://repo.maven.apache.org/maven2): /home/travis/.m2/repository/org/apache/apache/23/apache-23.pom.part.lock (No such file or directory) and 'parent.relativePath' points at no local POM @ line 23, column 11 -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
The command "eval mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V " failed. Retrying, 3 of 3.```

I don't think that was caused by this PR?

@sl4mmy sl4mmy force-pushed the zookeeper-3101 branch from fc9ffdb to 2cfc023 Compare May 7, 2020 04:48
@sl4mmy sl4mmy force-pushed the zookeeper-3101 branch 2 times, most recently from 7174621 to 93a48f6 Compare June 9, 2020 16:28
sl4mmy added 2 commits July 17, 2020 08:44
Add comment to bottom of ZOO_ERRORS reminding developers to also
update zerror(int) when adding or changing values.  Suggested by
@phunt in apache#575 (comment).

Signed-off-by: Kent R. Spillner <kspillner@acm.org>
Handle ZSESSIONCLOSEDREQUIRESASLAUTH case in zerror(int).  Also fix
indentation of ZTHROTTLEDOP while here.

Signed-off-by: Kent R. Spillner <kspillner@acm.org>
@sl4mmy
Copy link
Contributor Author

sl4mmy commented Jul 17, 2020

Ping @nkalmar @lvfangmin @breed @anmolnar - I rebased this on top of latest master earlier this morning and the build is passing. Would be great to get this merged & closed before it's 2nd birthday (July 23), or before the 2nd anniversary of @nkalmar approving the change (July 24). 😉

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eolivelli eolivelli closed this in 5b58e19 Jul 17, 2020
@eolivelli
Copy link
Contributor

committed to master branch ! thank you @sl4mmy

stickyhipp pushed a commit to stickyhipp/zookeeper that referenced this pull request Aug 19, 2020
Add comment at bottom of ZOO_ERRORS reminding developers to also
update zerror(int) when adding or changing values.  Suggested by
phunt in apache#575 (comment).

Signed-off-by: Kent R. Spillner <kspillneracm.org>

Author: Kent R. Spillner <kspillner@acm.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org>, Benjamin Reed <breed@apache.org>

Closes apache#581 from sl4mmy/zookeeper-3101
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
Add comment at bottom of ZOO_ERRORS reminding developers to also
update zerror(int) when adding or changing values.  Suggested by
phunt in apache#575 (comment).

Signed-off-by: Kent R. Spillner <kspillneracm.org>

Author: Kent R. Spillner <kspillner@acm.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org>, Benjamin Reed <breed@apache.org>

Closes apache#581 from sl4mmy/zookeeper-3101
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
Add comment at bottom of ZOO_ERRORS reminding developers to also
update zerror(int) when adding or changing values.  Suggested by
phunt in apache#575 (comment).

Signed-off-by: Kent R. Spillner <kspillneracm.org>

Author: Kent R. Spillner <kspillner@acm.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org>, Benjamin Reed <breed@apache.org>

Closes apache#581 from sl4mmy/zookeeper-3101
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
Add comment at bottom of ZOO_ERRORS reminding developers to also
update zerror(int) when adding or changing values.  Suggested by
phunt in apache#575 (comment).

Signed-off-by: Kent R. Spillner <kspillneracm.org>

Author: Kent R. Spillner <kspillner@acm.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org>, Benjamin Reed <breed@apache.org>

Closes apache#581 from sl4mmy/zookeeper-3101
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
Add comment at bottom of ZOO_ERRORS reminding developers to also
update zerror(int) when adding or changing values.  Suggested by
phunt in apache#575 (comment).

Signed-off-by: Kent R. Spillner <kspillneracm.org>

Author: Kent R. Spillner <kspillner@acm.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org>, Benjamin Reed <breed@apache.org>

Closes apache#581 from sl4mmy/zookeeper-3101
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

Successfully merging this pull request may close these issues.

6 participants