Skip to content

TEZ-4287: Upgrade FindBugs to SpotBugs - #108

Closed
belugabehr wants to merge 2 commits into
apache:masterfrom
belugabehr:TEZ-4287
Closed

TEZ-4287: Upgrade FindBugs to SpotBugs#108
belugabehr wants to merge 2 commits into
apache:masterfrom
belugabehr:TEZ-4287

Conversation

@belugabehr

Copy link
Copy Markdown
Contributor

No description provided.

@belugabehr

Copy link
Copy Markdown
ContributorAuthor

How do we update the build system to call out to this new spot bugs?

@abstractdog

abstractdog commented Feb 11, 2021

Copy link
Copy Markdown
Contributor

I think the error is because currently, we don't use a Jenkinsfile in the repo, but tez-multibranch job (link) has the --findbugs-strict-precheck flag, which is not handled then(once we'll have Jenkinsfile we can handle this in it). I believe I can remove that temporarily in the jenkins job configuration while having this tested, is it the proper way to do @jteagles ?

UPDATE: I commented out, could you retry @belugabehr ?

@jteagles

Copy link
Copy Markdown
Contributor

There is a Jenkins file in progress as a PR submission that I haven't had time to verify. If anyone has time to try this out, it may help with better integration with Yetus.
https://github.com/aw-was-here/tez/commit/bead3a21e68ecf4a75d64d8c08b9f8fa0f98cf51

@abstractdog

Copy link
Copy Markdown
Contributor

@jteagles : I was already looking at that patch, looks good, I'm about to adopt it piece-by-piece

@abstractdog

Copy link
Copy Markdown
Contributor

@belugabehr, please rebase this PR as TEZ-4290 is merged, you might have minimal conflicts with that in Dockerfile

@hadoop-yetus

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-108/2/console in case of problems.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 0sDocker mode activated.
-1 ❌docker0m 0sDocker failed to build yetus/tez:f88aa6f21.
SubsystemReport/Notes
GITHUB PR#108
JIRA IssueTEZ-4287
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-108/2/console
versionsgit=2.17.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-108/3/console in case of problems.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 5sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+0 🆗mvndep5m 56sMaven dependency ordering for branch
+1 💚mvninstall7m 59smaster passed
+1 💚compile3m 50smaster passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04
+1 💚compile3m 30smaster passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
+1 💚javadoc3m 46smaster passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04
+1 💚javadoc3m 14smaster passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall4m 52sthe patch passed
+1 💚compile3m 52sthe patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04
+1 💚javac3m 52sthe patch passed
+1 💚compile3m 30sthe patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
+1 💚javac3m 30sthe patch passed
+1 💚hadolint0m 2sThere were no new hadolint issues.
+1 💚shellcheck0m 4sThere were no new shellcheck issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 5sThe patch has no ill-formed XML file.
+1 💚javadoc3m 41sthe patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04
+1 💚javadoc3m 13sthe patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
_ Other Tests _
+1 💚unit2m 9stez-api in the patch passed.
+1 💚unit0m 46stez-runtime-internals in the patch passed.
+1 💚unit4m 26stez-dag in the patch passed.
+1 💚unit73m 30sroot in the patch passed.
+1 💚asflicense1m 56sThe patch does not generate ASF License warnings.
134m 10s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-108/3/artifact/out/Dockerfile
GITHUB PR#108
JIRA IssueTEZ-4287
Optional Testsdupname asflicense hadolint shellcheck shelldocs javac javadoc unit xml compile
unameLinux 3bfaccb2f61f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/tez.sh
git revisionmaster / 2fefe4a
Default JavaPrivate Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-108/3/testReport/
Max. process+thread count1688 (vs. ulimit of 5500)
modulesC: tez-api tez-runtime-internals tez-dag . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-108/3/console
versionsgit=2.25.1 maven=3.6.3 shellcheck=0.7.1 hadolint=1.18.0-0-g76eee5c
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@belugabehr

Copy link
Copy Markdown
ContributorAuthor

@abstractdog Hey, can you please take a look at this PR once more? Thanks!

@abstractdog

Copy link
Copy Markdown
Contributor

@belugabehr: could you please refresh/rebase this PR? considering that Jenkinsfile and github integration is working for a long time, we can retry this initiative

@maheshrajus

Copy link
Copy Markdown
Contributor

Hi @belugabehr@mark-bathori
I am working for tez upgrade to jdk17. For this we need to replace findbugs with spotbugs.
I can see you both raised PR [https://github.com//pull/108] [https://github.com//pull/188] already and they are open from long back. Can i take it up and start working on it ?
Thanks !
cc: @abstractdog@ayushtkn

@belugabehr

Copy link
Copy Markdown
ContributorAuthor

@maheshrajus , by all means. Thanks for picking this up.

@abstractdog

Copy link
Copy Markdown
Contributor

handled in TEZ-4624

Sign up for freeto 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.

5 participants

@belugabehr@abstractdog@jteagles@hadoop-yetus@maheshrajus