Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO]
[INFO] ------< it.tidalwave.thesefoolishthings:it-tidalwave-messagebus >-------
[INFO] Building TheseFoolishThings :: MessageBus 3.2-ALPHA-24-SNAPSHOT [3/19]
[INFO] from modules/MessageBus/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ it-tidalwave-messagebus ---
[INFO]
[INFO] --- buildnumber:3.0.0:create (default) @ it-tidalwave-messagebus ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus
[INFO] Storing buildNumber: 30ad76de1a31 at timestamp: 1683581984174
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- enforcer:3.3.0:enforce (enforce-maven) @ it-tidalwave-messagebus ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed
[INFO]
[INFO] --- enforcer:3.3.0:enforce (enforce-banned-dependencies) @ it-tidalwave-messagebus ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO]
[INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ it-tidalwave-messagebus ---
[INFO] Executing tasks
[INFO] [echo] DESCRIPTION: origin/feature/TFT-165 3.2-ALPHA-24-SNAPSHOT 30ad76de1a31
[INFO] [echo] Java Version: 11.0.18 -source 11 -target 11 -release 11
[INFO] Executed tasks
[INFO]
[INFO] --- jacoco:0.8.9:prepare-agent (prepare-agent) @ it-tidalwave-messagebus ---
[INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/0/org/jacoco/org.jacoco.agent/0.8.9/org.jacoco.agent-0.8.9-runtime.jar=destfile=/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/target/jacoco.exec
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-messagebus ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/resources
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ it-tidalwave-messagebus ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 10 source files with javac [forked debug deprecation release 11] to target/classes
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/spi/SimpleMessageBus.java:[107,42] [unchecked] unchecked cast
required: Class<T>
found: Class<CAP#1>
where T is a type-variable:
T extends Object declared in method <T>publish(T)
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ? extends Object
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/spi/SimpleMessageBus.java:[167,78] [unchecked] unchecked conversion
required: List<WeakReference<Listener<T>>>
found: List
where T is a type-variable:
T extends Object declared in method <T>dispatchMessage(Class<T>,T)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/spi/SimpleMessageBus.java:[197,53] [unchecked] unchecked conversion
required: List<WeakReference<Listener<T>>>
found: List
where T is a type-variable:
T extends Object declared in method <T>findListenersByTopic(Class<T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/spi/SimpleMessageBus.java:[202,35] [unchecked] unchecked method invocation: method put in interface Map is applied to given types
required: K,V
found: Class<T>,List
where K,V,T are type-variables:
K extends Object declared in interface Map
V extends Object declared in interface Map
T extends Object declared in method <T>findListenersByTopic(Class<T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/spi/SimpleMessageBus.java:[202,43] [unchecked] unchecked conversion
required: V
found: List
where V is a type-variable:
V extends Object declared in interface Map
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/spi/MultiQueue.java:[109,59] [unchecked] unchecked cast
required: Class<T>
found: Class<CAP#1>
where T is a type-variable:
T extends Object declared in method <T>remove()
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ?
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/spi/MultiQueue.java:[109,69] [unchecked] unchecked cast
required: T
found: Object
where T is a type-variable:
T extends Object declared in method <T>remove()
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/spi/MultiQueue.java:[177,49] [unchecked] unchecked cast
required: Queue<T>
found: Queue<CAP#1>
where T is a type-variable:
T extends Object declared in method <T>getQueue(Class<T>)
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ?
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/java/it/tidalwave/messagebus/MessageBusHelper.java:[159,62] [unchecked] unchecked cast
required: Class<T>
found: Class<?>
where T is a type-variable:
T extends Object declared in method <T>registerMessageListener(Method)
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-messagebus ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/test/resources
[INFO]
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ it-tidalwave-messagebus ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 4 source files with javac [forked debug deprecation release 11] to target/test-classes
[INFO]
[INFO] --- surefire:3.0.0:test (default-test) @ it-tidalwave-messagebus ---
[JENKINS] Recording test results
[INFO]
[INFO] --- jacoco:0.8.9:report (report) @ it-tidalwave-messagebus ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- jar:3.3.0:jar (default-jar) @ it-tidalwave-messagebus ---
[INFO] Building jar: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/target/it-tidalwave-messagebus-3.2-ALPHA-24-SNAPSHOT.30ad76de1a31.jar
[INFO]
[INFO] --- jar:3.3.0:test-jar (default-test-jar) @ it-tidalwave-messagebus ---
[INFO] Building jar: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/target/it-tidalwave-messagebus-3.2-ALPHA-24-SNAPSHOT.30ad76de1a31-tests.jar
[INFO]
[INFO] --- install:3.1.1:install (default-install) @ it-tidalwave-messagebus ---
[INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/pom.xml to /var/jenkins_home/maven-repositories/0/it/tidalwave/thesefoolishthings/it-tidalwave-messagebus/3.2-ALPHA-24-SNAPSHOT/it-tidalwave-messagebus-3.2-ALPHA-24-SNAPSHOT.pom
[INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/target/it-tidalwave-messagebus-3.2-ALPHA-24-SNAPSHOT.30ad76de1a31.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/thesefoolishthings/it-tidalwave-messagebus/3.2-ALPHA-24-SNAPSHOT/it-tidalwave-messagebus-3.2-ALPHA-24-SNAPSHOT.jar
[INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/target/it-tidalwave-messagebus-3.2-ALPHA-24-SNAPSHOT.30ad76de1a31-tests.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/thesefoolishthings/it-tidalwave-messagebus/3.2-ALPHA-24-SNAPSHOT/it-tidalwave-messagebus-3.2-ALPHA-24-SNAPSHOT-tests.jar
[INFO]
[INFO] >>> spotbugs:4.7.3.4:check (default-cli) > :spotbugs @ it-tidalwave-messagebus >>>
[INFO]
[INFO] --- spotbugs:4.7.3.4:spotbugs (spotbugs) @ it-tidalwave-messagebus ---
[INFO] Fork Value is true
[INFO] Done SpotBugs Analysis....
[INFO]
[INFO] <<< spotbugs:4.7.3.4:check (default-cli) < :spotbugs @ it-tidalwave-messagebus <<<
[INFO]
[INFO]
[INFO] --- spotbugs:4.7.3.4:check (default-cli) @ it-tidalwave-messagebus ---
[INFO] BugInstance size is 4
[INFO] Error size is 0
[INFO] Total bugs: 4
[ERROR] Medium: Non-null field messageBusSupport is not initialized by new it.tidalwave.messagebus.spi.RoundRobinAsyncMessageDelivery() [it.tidalwave.messagebus.spi.RoundRobinAsyncMessageDelivery] At RoundRobinAsyncMessageDelivery.java:[lines 46-60] NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
[ERROR] Medium: Non-null field messageBusSupport is not initialized by new it.tidalwave.messagebus.spi.SimpleAsyncMessageDelivery() [it.tidalwave.messagebus.spi.SimpleAsyncMessageDelivery] At SimpleAsyncMessageDelivery.java:[line 42] NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
[ERROR] Medium: Adding elements of an entry set may fail due to reuse of Map.Entry object in it.tidalwave.messagebus.spi.SimpleMessageBus.dispatchMessage(Class, Object) [it.tidalwave.messagebus.spi.SimpleMessageBus] At SimpleMessageBus.java:[line 161] DMI_ENTRY_SETS_MAY_REUSE_ENTRY_OBJECTS
[ERROR] Low: Overridable method initialize is called from constructor new it.tidalwave.messagebus.spi.SimpleMessageBus(Executor, MessageDelivery). [it.tidalwave.messagebus.spi.SimpleMessageBus] At SimpleMessageBus.java:[line 95] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR
[INFO]
To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui"
[INFO]
[INFO] --- pmd:3.20.0:cpd (default-cli) @ it-tidalwave-messagebus ---
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
[WARNING] Parameter 'aggregate' (user property 'aggregate') is deprecated: since 3.15.0 Use the goals <code>pmd:aggregate-pmd</code> and <code>pmd:aggregate-cpd</code>
instead.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] PMD version: 6.53.0
[INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
[INFO]
[INFO] --- pmd:3.20.0:pmd (default-cli) @ it-tidalwave-messagebus ---
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
[WARNING] Parameter 'aggregate' (user property 'aggregate') is deprecated: since 3.15.0 Use the goals <code>pmd:aggregate-pmd</code> and <code>pmd:aggregate-cpd</code>
instead.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] PMD version: 6.53.0
[WARNING] Applying rule set filter: The rule "UnusedModifier" has been moved from ruleset "unusedcode" to "unnecessary". Please change your ruleset!
[WARNING] Applying rule set filter: The rule "UnusedModifier" has been renamed to "UnnecessaryModifier". Please change your ruleset!
[WARNING] The RuleSet rulesets/java/basic.xml has been deprecated and will be removed in PMD 7.0.0
[WARNING] The RuleSet rulesets/java/unusedcode.xml has been deprecated and will be removed in PMD 7.0.0
[WARNING] The RuleSet rulesets/java/imports.xml has been deprecated and will be removed in PMD 7.0.0
[WARNING] Applying rule set filter: The rule "UnusedModifier" has been moved from ruleset "unusedcode" to "unnecessary". Please change your ruleset!
[WARNING] Applying rule set filter: The rule "UnusedModifier" has been renamed to "UnnecessaryModifier". Please change your ruleset!
[WARNING] The RuleSet rulesets/java/basic.xml has been deprecated and will be removed in PMD 7.0.0
[WARNING] The RuleSet rulesets/java/unusedcode.xml has been deprecated and will be removed in PMD 7.0.0
[WARNING] The RuleSet rulesets/java/imports.xml has been deprecated and will be removed in PMD 7.0.0
[INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
[INFO]
[INFO] --- checkstyle:3.0.0:checkstyle (default-cli) @ it-tidalwave-messagebus ---
[INFO] There are 61 errors reported by Checkstyle 6.18 with it/tidalwave/checkstyle/checkstyle.xml ruleset.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO]
[INFO] >>> dependency:3.5.0:analyze (default-cli) > test-compile @ it-tidalwave-messagebus >>>
[INFO]
[INFO] --- buildnumber:3.0.0:create (default) @ it-tidalwave-messagebus ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus
[INFO] Storing buildNumber: 30ad76de1a31 at timestamp: 1683582009159
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- enforcer:3.3.0:enforce (enforce-maven) @ it-tidalwave-messagebus ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed
[INFO]
[INFO] --- enforcer:3.3.0:enforce (enforce-banned-dependencies) @ it-tidalwave-messagebus ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO]
[INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ it-tidalwave-messagebus ---
[INFO] Executing tasks
[INFO] [echo] DESCRIPTION: origin/feature/TFT-165 3.2-ALPHA-24-SNAPSHOT 30ad76de1a31
[INFO] [echo] Java Version: 11.0.18 -source 11 -target 11 -release 11
[INFO] Executed tasks
[INFO]
[INFO] --- jacoco:0.8.9:prepare-agent (prepare-agent) @ it-tidalwave-messagebus ---
[INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/0/org/jacoco/org.jacoco.agent/0.8.9/org.jacoco.agent-0.8.9-runtime.jar=destfile=/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/target/jacoco.exec
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-messagebus ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/main/resources
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ it-tidalwave-messagebus ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-messagebus ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/MessageBus/src/test/resources
[INFO]
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ it-tidalwave-messagebus ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 4 source files with javac [forked debug deprecation release 11] to target/test-classes
[WARNING] Failed to getClass for org.apache.maven.plugins.dependency.analyze.AnalyzeMojo
[INFO]
[INFO] <<< dependency:3.5.0:analyze (default-cli) < test-compile @ it-tidalwave-messagebus <<<
[INFO]
[INFO]
[INFO] --- dependency:3.5.0:analyze (default-cli) @ it-tidalwave-messagebus ---
[WARNING] Used undeclared dependencies found:
[WARNING] com.google.code.findbugs:jsr305:jar:3.0.2:compile
[WARNING] Unused declared dependencies found:
[WARNING] javax.annotation:javax.annotation-api:jar:1.3.2:compile
[WARNING] org.projectlombok:lombok:jar:1.18.24:provided
[WARNING] org.hamcrest:hamcrest-all:jar:1.3:test
[WARNING] org.mockito:mockito-core:jar:4.8.1:test
[WARNING] ch.qos.logback:logback-classic:jar:1.4.7:test
[JENKINS] Archiving disabled