SuccessConsole Output

Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/workspace/development/spotbugs
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/JMRI/JMRI.git # timeout=10
Using shallow fetch with depth 10
Fetching upstream changes from https://github.com/JMRI/JMRI.git
 > git --version # timeout=10
 > git fetch --no-tags --progress --depth=10 -- https://github.com/JMRI/JMRI.git +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision ae7615a652eeeda0f77285f160093e28f484849d (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ae7615a652eeeda0f77285f160093e28f484849d # timeout=10
Commit message: "Merge pull request #8828 from DanielBoudreau/master"
 > git rev-list --no-walk 90bf1d4865821c0404b8d8af18ca26c6de581a0b # timeout=10
[spotbugs] $ /var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/Ant_1.10.6/bin/ant -Dspotbugs.home=/opt/spotbugs-3.1.7 realclean spotbugs-ci
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Buildfile: /var/lib/jenkins/workspace/development/spotbugs/build.xml

clean:
   [delete] Deleting directory /var/lib/jenkins/workspace/development/spotbugs/target
   [delete] Deleting /var/lib/jenkins/workspace/development/spotbugs/jmri.jar

clean:

realclean:
   [delete] Deleting /var/lib/jenkins/workspace/development/spotbugs/spotbugs.xml

clean:

clean:

init:
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/classes
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/classes/resources
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/testreport

copyfiles:
     [copy] Copying 17 files to /var/lib/jenkins/workspace/development/spotbugs/target/classes/resources
     [copy] Copying 1869 files to /var/lib/jenkins/workspace/development/spotbugs/target/classes

jjtree:
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmris/srcp/parser
   [jjtree] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
   [jjtree] Java Compiler Compiler Version 7.0.3 (Tree Builder)
   [jjtree] (type "jjtree" with no arguments for help)
   [jjtree] Reading from file /var/lib/jenkins/workspace/development/spotbugs/java/src/jmri/jmris/srcp/SRCPParser.jjt . . .
   [jjtree] opt:java
   [jjtree] File "Node.java" does not exist.  Will create one.
   [jjtree] File "SimpleNode.java" does not exist.  Will create one.
   [jjtree] File "ASThandshakecommand.java" does not exist.  Will create one.
   [jjtree] File "ASTcommand.java" does not exist.  Will create one.
   [jjtree] File "ASTserviceversion.java" does not exist.  Will create one.
   [jjtree] File "ASTconnectionmode.java" does not exist.  Will create one.
   [jjtree] File "ASTbus.java" does not exist.  Will create one.
   [jjtree] File "ASTaddress.java" does not exist.  Will create one.
   [jjtree] File "ASTvalue.java" does not exist.  Will create one.
   [jjtree] File "ASTcvno.java" does not exist.  Will create one.
   [jjtree] File "ASTzeroaddress.java" does not exist.  Will create one.
   [jjtree] File "ASTnonzeroaddress.java" does not exist.  Will create one.
   [jjtree] File "ASTport.java" does not exist.  Will create one.
   [jjtree] File "ASTdevicegroup.java" does not exist.  Will create one.
   [jjtree] File "ASTgo.java" does not exist.  Will create one.
   [jjtree] File "ASTget.java" does not exist.  Will create one.
   [jjtree] File "ASThandshake_set.java" does not exist.  Will create one.
   [jjtree] File "ASTprotocollitteral.java" does not exist.  Will create one.
   [jjtree] File "ASTconnectionlitteral.java" does not exist.  Will create one.
   [jjtree] File "ASTset.java" does not exist.  Will create one.
   [jjtree] File "ASTterm.java" does not exist.  Will create one.
   [jjtree] File "ASTcheck.java" does not exist.  Will create one.
   [jjtree] File "ASTwait_cmd.java" does not exist.  Will create one.
   [jjtree] File "ASTinit.java" does not exist.  Will create one.
   [jjtree] File "ASTreset.java" does not exist.  Will create one.
   [jjtree] File "ASTverify.java" does not exist.  Will create one.
   [jjtree] File "ASTgl.java" does not exist.  Will create one.
   [jjtree] File "ASTsm.java" does not exist.  Will create one.
   [jjtree] File "ASTga.java" does not exist.  Will create one.
   [jjtree] File "ASTfb.java" does not exist.  Will create one.
   [jjtree] File "ASTtime.java" does not exist.  Will create one.
   [jjtree] File "ASTpower.java" does not exist.  Will create one.
   [jjtree] File "ASTserver.java" does not exist.  Will create one.
   [jjtree] File "ASTsession.java" does not exist.  Will create one.
   [jjtree] File "ASTlock.java" does not exist.  Will create one.
   [jjtree] File "ASTdescription.java" does not exist.  Will create one.
   [jjtree] File "ASTonoff.java" does not exist.  Will create one.
   [jjtree] File "ASTzeroone.java" does not exist.  Will create one.
   [jjtree] File "ASTdelay.java" does not exist.  Will create one.
   [jjtree] File "ASTtimeout.java" does not exist.  Will create one.
   [jjtree] File "ASTprogmode.java" does not exist.  Will create one.
   [jjtree] File "ASTcv.java" does not exist.  Will create one.
   [jjtree] File "ASTcvbit.java" does not exist.  Will create one.
   [jjtree] File "ASTreg.java" does not exist.  Will create one.
   [jjtree] File "ASTprotocol.java" does not exist.  Will create one.
   [jjtree] File "ASTdrivemode.java" does not exist.  Will create one.
   [jjtree] File "ASTfunctionmode.java" does not exist.  Will create one.
   [jjtree] File "SRCPParserTreeConstants.java" does not exist.  Will create one.
   [jjtree] File "SRCPParserVisitor.java" does not exist.  Will create one.
   [jjtree] File "SRCPParserDefaultVisitor.java" does not exist.  Will create one.
   [jjtree] File "JJTSRCPParserState.java" does not exist.  Will create one.
   [jjtree] Annotated grammar generated successfully in /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmris/srcp/parser/SRCPParser.jj
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmrix/srcp/parser
   [jjtree] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
   [jjtree] Java Compiler Compiler Version 7.0.3 (Tree Builder)
   [jjtree] (type "jjtree" with no arguments for help)
   [jjtree] Reading from file /var/lib/jenkins/workspace/development/spotbugs/java/src/jmri/jmrix/srcp/SRCPClientParser.jjt . . .
   [jjtree] opt:java
   [jjtree] File "Node.java" does not exist.  Will create one.
   [jjtree] File "SimpleNode.java" does not exist.  Will create one.
   [jjtree] File "ASThandshakeresponse.java" does not exist.  Will create one.
   [jjtree] File "ASTtimestamp.java" does not exist.  Will create one.
   [jjtree] File "ASTserviceversion.java" does not exist.  Will create one.
   [jjtree] File "ASTinforesponse.java" does not exist.  Will create one.
   [jjtree] File "ASTinfo.java" does not exist.  Will create one.
   [jjtree] File "ASTerror.java" does not exist.  Will create one.
   [jjtree] File "ASTok.java" does not exist.  Will create one.
   [jjtree] File "ASTcommandresponse.java" does not exist.  Will create one.
   [jjtree] File "ASTbus.java" does not exist.  Will create one.
   [jjtree] File "ASTpower.java" does not exist.  Will create one.
   [jjtree] File "ASTzeroaddress.java" does not exist.  Will create one.
   [jjtree] File "ASTnonzeroaddress.java" does not exist.  Will create one.
   [jjtree] File "ASTport.java" does not exist.  Will create one.
   [jjtree] File "ASTdevicegroup.java" does not exist.  Will create one.
   [jjtree] File "ASTgl.java" does not exist.  Will create one.
   [jjtree] File "ASTsm.java" does not exist.  Will create one.
   [jjtree] File "ASTga.java" does not exist.  Will create one.
   [jjtree] File "ASTfb.java" does not exist.  Will create one.
   [jjtree] File "ASTtime.java" does not exist.  Will create one.
   [jjtree] File "ASTserver.java" does not exist.  Will create one.
   [jjtree] File "ASTsession.java" does not exist.  Will create one.
   [jjtree] File "ASTlock.java" does not exist.  Will create one.
   [jjtree] File "ASTdescription.java" does not exist.  Will create one.
   [jjtree] File "ASTonoff.java" does not exist.  Will create one.
   [jjtree] File "SRCPClientParserTreeConstants.java" does not exist.  Will create one.
   [jjtree] File "SRCPClientParserVisitor.java" does not exist.  Will create one.
   [jjtree] File "SRCPClientParserDefaultVisitor.java" does not exist.  Will create one.
   [jjtree] File "JJTSRCPClientParserState.java" does not exist.  Will create one.
   [jjtree] Annotated grammar generated successfully in /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmrix/srcp/parser/SRCPClientParser.jj
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmris/simpleserver/parser
   [jjtree] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
   [jjtree] Java Compiler Compiler Version 7.0.3 (Tree Builder)
   [jjtree] (type "jjtree" with no arguments for help)
   [jjtree] Reading from file /var/lib/jenkins/workspace/development/spotbugs/java/src/jmri/jmris/simpleserver/JmriServerParser.jjt . . .
   [jjtree] opt:java
   [jjtree] File "Node.java" does not exist.  Will create one.
   [jjtree] File "SimpleNode.java" does not exist.  Will create one.
   [jjtree] File "ASTcommand.java" does not exist.  Will create one.
   [jjtree] File "ASTpowercmd.java" does not exist.  Will create one.
   [jjtree] File "ASTpower.java" does not exist.  Will create one.
   [jjtree] File "ASTonoff.java" does not exist.  Will create one.
   [jjtree] File "ASTturnoutcmd.java" does not exist.  Will create one.
   [jjtree] File "ASTturnout.java" does not exist.  Will create one.
   [jjtree] File "ASTturnoutdevice.java" does not exist.  Will create one.
   [jjtree] File "ASTthrownclosed.java" does not exist.  Will create one.
   [jjtree] File "ASTlightcmd.java" does not exist.  Will create one.
   [jjtree] File "ASTlight.java" does not exist.  Will create one.
   [jjtree] File "ASTlightdevice.java" does not exist.  Will create one.
   [jjtree] File "ASTreportercmd.java" does not exist.  Will create one.
   [jjtree] File "ASTreporter.java" does not exist.  Will create one.
   [jjtree] File "ASTreporterdevice.java" does not exist.  Will create one.
   [jjtree] File "ASTsensorcmd.java" does not exist.  Will create one.
   [jjtree] File "ASTsensor.java" does not exist.  Will create one.
   [jjtree] File "ASTsensordevice.java" does not exist.  Will create one.
   [jjtree] File "ASToperationscmd.java" does not exist.  Will create one.
   [jjtree] File "ASToperations.java" does not exist.  Will create one.
   [jjtree] File "ASTtrains.java" does not exist.  Will create one.
   [jjtree] File "ASTlocations.java" does not exist.  Will create one.
   [jjtree] File "ASTterminate.java" does not exist.  Will create one.
   [jjtree] File "ASTtraincmd.java" does not exist.  Will create one.
   [jjtree] File "ASTattributelist.java" does not exist.  Will create one.
   [jjtree] File "ASTattributename.java" does not exist.  Will create one.
   [jjtree] File "ASTvalue.java" does not exist.  Will create one.
   [jjtree] File "JmriServerParserTreeConstants.java" does not exist.  Will create one.
   [jjtree] File "JmriServerParserVisitor.java" does not exist.  Will create one.
   [jjtree] File "JmriServerParserDefaultVisitor.java" does not exist.  Will create one.
   [jjtree] File "JJTJmriServerParserState.java" does not exist.  Will create one.
   [jjtree] Annotated grammar generated successfully in /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmris/simpleserver/parser/JmriServerParser.jj

javacc:
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/javacc/jmri/jmris/srcp/parser
   [javacc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
   [javacc] Java Compiler Compiler Version 7.0.3 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmris/srcp/parser/SRCPParser.jj . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/javacc/jmri/jmrix/srcp/parser
   [javacc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
   [javacc] Java Compiler Compiler Version 7.0.3 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmrix/srcp/parser/SRCPClientParser.jj . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.
    [mkdir] Created dir: /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/javacc/jmri/jmris/simpleserver/parser
   [javacc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
   [javacc] Java Compiler Compiler Version 7.0.3 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file /var/lib/jenkins/workspace/development/spotbugs/target/generated-sources/jjtree/jmri/jmris/simpleserver/parser/JmriServerParser.jj . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

update-template-code:
     [copy] Copying 1 file to /var/lib/jenkins/workspace/development/spotbugs/target/classes

compile-generated-source:
    [javac] Compiling 134 source files to /var/lib/jenkins/workspace/development/spotbugs/target/classes
    [javac] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

compile:
    [javac] Compiling 4703 source files to /var/lib/jenkins/workspace/development/spotbugs/target/classes
    [javac] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    [javac] /var/lib/jenkins/workspace/development/spotbugs/java/src/jmri/jmrix/DefaultSystemConnectionMemo.java:203: warning: [unchecked] unchecked method invocation: method removeRegisteredObject in class DefaultSystemConnectionMemo is applied to given types
    [javac]         keySet.forEach(this::removeRegisteredObject);
    [javac]                        ^
    [javac]   required: Class<T>
    [javac]   found: Class
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method <T>removeRegisteredObject(Class<T>)
    [javac] /var/lib/jenkins/workspace/development/spotbugs/java/src/jmri/jmrix/DefaultSystemConnectionMemo.java:203: warning: [unchecked] unchecked method invocation: method forEach in interface Iterable is applied to given types
    [javac]         keySet.forEach(this::removeRegisteredObject);
    [javac]                       ^
    [javac]   required: Consumer<? super T>
    [javac]   found: Consumer<Class>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in interface Iterable
    [javac] 2 warnings

debug:

jar:
      [jar] Building jar: /var/lib/jenkins/workspace/development/spotbugs/jmri.jar

dist:

spotbugs-ci:
 [spotbugs] Executing SpotBugs FindBugsTask from ant task
 [spotbugs] Running SpotBugs...
 [spotbugs] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
 [spotbugs] Warnings generated: 232
 [spotbugs] Calculating exit code...
 [spotbugs] Setting 'bugs found' flag (1)
 [spotbugs] Exit code set to: 1
 [spotbugs] Java Result: 1
 [spotbugs] Output saved to spotbugs.xml

BUILD SUCCESSFUL
Total time: 7 minutes 4 seconds
[ConsoleLogToWorkspace] Writing console log to workspace file console.log started
[ConsoleLogToWorkspace] Wrote console log to workspace file console.log successfully
[SpotBugs] Searching for all files in '/var/lib/jenkins/workspace/development/spotbugs' that match the pattern '**/spotbugs.xml'
[SpotBugs] -> found 1 file
[SpotBugs] Successfully parsed file /var/lib/jenkins/workspace/development/spotbugs/spotbugs.xml
[SpotBugs] -> found 232 issues (skipped 0 duplicates)
[SpotBugs] Post processing issues on 'Master' with source code encoding 'UTF-8'
[SpotBugs] Resolving absolute file names for all issues in source directories '[/var/lib/jenkins/workspace/development/spotbugs]'
[SpotBugs] -> 0 resolved, 0 unresolved, 113 already resolved
[SpotBugs] Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files)
[SpotBugs] -> resolved module names for 232 issues
[SpotBugs] Resolving package names (or namespaces) by parsing the affected files
[SpotBugs] -> all affected files already have a valid package name
[SpotBugs] No filter has been set, publishing all 232 issues
[SpotBugs] Creating fingerprints for all affected code blocks to track issues over different builds
[SpotBugs] -> created fingerprints for 0 issues
[SpotBugs] Copying affected files to Jenkins' build folder '/var/lib/jenkins/jobs/development/jobs/spotbugs/builds/296/files-with-issues'
[SpotBugs] -> 113 copied, 0 not in workspace, 0 not-found, 0 with I/O error
[SpotBugs] Attaching ResultAction with ID 'spotbugs' to run 'development/spotbugs #296'.
[SpotBugs] Using reference build 'development/spotbugs #295' to compute new, fixed, and outstanding issues
[SpotBugs] Issues delta (vs. reference build): outstanding: 232, new: 0, fixed: 0
[SpotBugs] No quality gates have been set - skipping
[SpotBugs] Health report is disabled - skipping
[SpotBugs] Created analysis result for 232 issues (found 0 new issues, fixed 0 issues)
[Java] Sleeping for 5 seconds due to JENKINS-32191...
[Java] Parsing console log (workspace: '/var/lib/jenkins/workspace/development/spotbugs')
[Java] Post processing issues on 'Master' with source code encoding 'UTF-8'
[Java] Resolving absolute file names for all issues in source directories '[/var/lib/jenkins/workspace/development/spotbugs]'
[Java] -> 0 resolved, 0 unresolved, 1 already resolved
[Java] Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files)
[Java] -> resolved module names for 2 issues
[Java] Resolving package names (or namespaces) by parsing the affected files
[Java] -> resolved package names of 1 affected files
[Java] No filter has been set, publishing all 2 issues
[Java] Creating fingerprints for all affected code blocks to track issues over different builds
[Java] -> created fingerprints for 2 issues
[Java] Copying affected files to Jenkins' build folder '/var/lib/jenkins/jobs/development/jobs/spotbugs/builds/296/files-with-issues'
[Java] -> 1 copied, 0 not in workspace, 0 not-found, 0 with I/O error
[Java] Attaching ResultAction with ID 'java' to run 'development/spotbugs #296'.
[Java] Using reference build 'development/spotbugs #295' to compute new, fixed, and outstanding issues
[Java] Issues delta (vs. reference build): outstanding: 2, new: 0, fixed: 0
[Java] No quality gates have been set - skipping
[Java] Health report is disabled - skipping
[Java] Created analysis result for 2 issues (found 0 new issues, fixed 0 issues)
Finished: SUCCESS