Thank you for the confirmation Alexey.  It worked out.

On Wed, Jul 7, 2021 at 6:03 AM Alexey Romanenko <[email protected]>
wrote:

> Yes, rebasing against HEAD is almost always a good idea. I did run locally
> “./gradlew :sdks:java:harness:check” (which includes “spotbugs" check)
> against current HEAD and there is no issue with spotbugsMain task.
>
> —
> Alexey
>
> On 7 Jul 2021, at 04:28, Matthew Ouyang <[email protected]> wrote:
>
> I get the following spotbugs failure after running spotlessApply on a
> project that I did not modify and cannot reproduce in a Windows 10
> environment.  I am also unable to see the particular failure being cited
> because a file local to the machine the build ran on is being referenced.
>
> What confuses me is that the failure occurred in the sdks/java/harness 
> project eventhough
> I didn't change it.  I also didn't find build failures for commits made
> against that project.  To be fair, my branch is based on a commit that is 3
> weeks old.  Would rebasing to HEAD master make a difference?
>
> PR: https://github.com/apache/beam/pull/15070
> Jenkins:
> https://ci-beam.apache.org/job/beam_PreCommit_Java_Phrase/3779/console
>
> *03:03:22* FAILURE: Build failed with an exception.
>
> *03:03:22* *03:03:22* * What went wrong:*03:03:22* Execution failed for task 
> ':sdks:java:harness:spotbugsMain'.*03:03:22* > A failure occurred while 
> executing 
> com.github.spotbugs.snom.internal.SpotBugsRunnerForWorker$SpotBugsExecutor*03:03:22*
>     > 1 SpotBugs violations were found. See the report at: 
> file:///home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Phrase/src/sdks/java/harness/build/reports/spotbugs/main.xml
>
> ```
>
>
>

Reply via email to