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-spring >--- [INFO] Building TheseFoolishThings :: MessageBus :: Spring 3.2-ALPHA-25-SNAPSHOT [8/19] [INFO] from modules/SpringMessageBus/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ it-tidalwave-messagebus-spring --- [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ it-tidalwave-messagebus-spring --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus [INFO] Storing buildNumber: d4d6ee276ae7 at timestamp: 1734731094681 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus [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/SpringMessageBus' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ it-tidalwave-messagebus-spring --- [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.5.0:enforce (enforce-banned-dependencies) @ it-tidalwave-messagebus-spring --- [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-spring --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/feature/TFT-165 3.2-ALPHA-25-SNAPSHOT d4d6ee276ae7 [INFO] [echo] Java Version: 21.0.5 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ it-tidalwave-messagebus-spring --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/jacoco.exec [INFO] [INFO] --- antrun:3.1.0:run (create-unwoven-classes-dirs) @ it-tidalwave-messagebus-spring --- [INFO] Executing tasks [INFO] [mkdir] Created dir: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/unwoven-classes [INFO] [mkdir] Created dir: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/unwoven-test-classes [INFO] Executed tasks [INFO] [INFO] --- build-helper:3.6.0:add-source (add-aj-sources) @ it-tidalwave-messagebus-spring --- [INFO] Source directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/main/aspect added. [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-messagebus-spring --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ it-tidalwave-messagebus-spring --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [forked debug deprecation release 11] to target/unwoven-classes [INFO] [INFO] --- aspectj:1.15.0:compile (weave-classes) @ it-tidalwave-messagebus-spring --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [WARNING] You aren't using a compiler supported by lombok, so lombok will not work and has been disabled. Your processor is: org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BatchProcessingEnvImpl Lombok supports: OpenJDK javac, ECJ : [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-messagebus-spring --- [INFO] Copying 1 resource from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ it-tidalwave-messagebus-spring --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 6 source files with javac [forked debug deprecation release 11] to target/unwoven-test-classes [WARNING] on the class path. A future release of javac may disable annotation processing unless at least one processor is specified by name (-processor), or a search path is specified (--processor-path, --processor-module-path), or annotation processing is enabled explicitly (-proc:only, -proc:full). Use -Xlint:-options to suppress this message. Use -proc:none to disable annotation processing. /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/ListenerAdapterMatcher.java:[42,63] [rawtypes] found raw type: MessageBusAdapterFactory.MessageBusListenerAdapter missing type arguments for generic class MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in class MessageBusAdapterFactory.MessageBusListenerAdapter [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/ListenerAdapterMatcher.java:[54,34] [rawtypes] found raw type: MessageBusAdapterFactory.MessageBusListenerAdapter missing type arguments for generic class MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in class MessageBusAdapterFactory.MessageBusListenerAdapter [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[85,47] [unchecked] unchecked method invocation: method subscribe in interface MessageBus is applied to given types required: Class,Listener found: Class,MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[85,77] [unchecked] unchecked conversion required: Listener found: MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[89,47] [unchecked] unchecked method invocation: method subscribe in interface MessageBus is applied to given types required: Class,Listener found: Class,MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[89,77] [unchecked] unchecked conversion required: Listener found: MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[135,41] [unchecked] unchecked method invocation: method subscribe in interface MessageBus is applied to given types required: Class,Listener found: Class,MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[135,71] [unchecked] unchecked conversion required: Listener found: MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[139,41] [unchecked] unchecked method invocation: method subscribe in interface MessageBus is applied to given types required: Class,Listener found: Class,MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[139,71] [unchecked] unchecked conversion required: Listener found: MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [INFO] [INFO] --- aspectj:1.15.0:test-compile (weave-test-classes) @ it-tidalwave-messagebus-spring --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [INFO] [INFO] --- surefire:3.5.2:test (default-test) @ it-tidalwave-messagebus-spring --- [INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspectTest 21:45:11.850 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - STARTING TESTS OF it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspectTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended WARNING: A Java agent has been loaded dynamically (/var/jenkins_home/maven-repositories/2/net/bytebuddy/byte-buddy-agent/1.15.0/byte-buddy-agent-1.15.0.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release 21:45:17.788 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:17.951 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:17.985 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:17.986 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:18.004 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - ********************************************************** 21:45:18.005 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - TEST "must subscribe to default message bus at initialize" 21:45:18.006 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - ********************************************************** 21:45:18.059 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:18.061 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:18.122 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - TEST PASSED in 119 msec 21:45:18.122 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - 21:45:18.521 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:18.523 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:18.547 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:18.549 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:18.554 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - ********************************************** 21:45:18.556 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - TEST "must subscribe to alternate message bus" 21:45:18.557 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - ********************************************** 21:45:18.562 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:18.567 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:18.576 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - TEST PASSED in 20 msec 21:45:18.576 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - 21:45:18.845 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:18.848 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:18.868 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:18.870 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:18.874 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - ************************************************** 21:45:18.874 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - TEST "must unsubscribe from alternate message bus" 21:45:18.875 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - ************************************************** 21:45:18.886 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - TEST PASSED in 10 msec 21:45:18.886 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - 21:45:19.063 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:19.065 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber1.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:19.082 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent1(it.tidalwave.messagebus.impl.spring.MockEvent1)) 21:45:19.085 [main ] TRACE it.tidalwave.messagebus.MessageBusHelper - registerMessageListener(void it.tidalwave.messagebus.impl.spring.MockSubscriber2.onMockEvent2(it.tidalwave.messagebus.impl.spring.MockEvent2)) 21:45:19.089 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - *********************************************************** 21:45:19.089 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - TEST "must unsubscribe from default message bus at destroy" 21:45:19.089 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - *********************************************************** 21:45:19.097 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - TEST PASSED in 7 msec 21:45:19.097 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - 21:45:19.100 [main ] INFO i.t.m.i.s.SpringSimpleMessageSubscriberAspectTest - FINISHED TESTS OF it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspectTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.23 s -- in it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspectTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- jacoco:0.8.12:report (report) @ it-tidalwave-messagebus-spring --- [INFO] Loading execution data file /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/jacoco.exec [INFO] Analyzed bundle 'TheseFoolishThings :: MessageBus :: Spring' with 4 classes [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ it-tidalwave-messagebus-spring --- [INFO] Building jar: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/it-tidalwave-messagebus-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7.jar [INFO] [INFO] --- jar:3.4.2:test-jar (default-test-jar) @ it-tidalwave-messagebus-spring --- [INFO] Building jar: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/it-tidalwave-messagebus-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7-tests.jar [INFO] [INFO] --- install:3.1.3:install (default-install) @ it-tidalwave-messagebus-spring --- [INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/pom.xml to /var/jenkins_home/maven-repositories/2/it/tidalwave/thesefoolishthings/it-tidalwave-messagebus-spring/3.2-ALPHA-25-SNAPSHOT/it-tidalwave-messagebus-spring-3.2-ALPHA-25-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/it-tidalwave-messagebus-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/thesefoolishthings/it-tidalwave-messagebus-spring/3.2-ALPHA-25-SNAPSHOT/it-tidalwave-messagebus-spring-3.2-ALPHA-25-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/it-tidalwave-messagebus-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7-tests.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/thesefoolishthings/it-tidalwave-messagebus-spring/3.2-ALPHA-25-SNAPSHOT/it-tidalwave-messagebus-spring-3.2-ALPHA-25-SNAPSHOT-tests.jar [INFO] [INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ it-tidalwave-messagebus-spring >>> [INFO] [INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ it-tidalwave-messagebus-spring --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ it-tidalwave-messagebus-spring <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.6.6:check (default-cli) @ it-tidalwave-messagebus-spring --- [INFO] BugInstance size is 4 [INFO] Error size is 0 [INFO] Total bugs: 4 [ERROR] Low: Invocation of reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block, in new it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter(MessageBusAdapterFactory, Object, Method, Class) [it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter] At MessageBusAdapterFactory.java:[line 75] DP_DO_INSIDE_DO_PRIVILEGED [ERROR] Low: it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspect.ajc$perSingletonInstance isn't final but should be [it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspect] In SpringSimpleMessageSubscriberAspect.aj MS_SHOULD_BE_FINAL [ERROR] Medium: Primitive field it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspect.ajc$perSingletonInstance is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. [it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspect] At SpringSimpleMessageSubscriberAspect.aj:[line 1] PA_PUBLIC_PRIMITIVE_ATTRIBUTE [ERROR] Medium: Exception thrown in class it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport at new it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport(BeanFactory, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport, it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport] At SpringSimpleMessageSubscriberSupport.java:[line 47]At SpringSimpleMessageSubscriberSupport.java:[line 47] CT_CONSTRUCTOR_THROW [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-spring --- [WARNING] Parameter 'aggregate' (user property 'aggregate') is deprecated: since 3.15.0 Use the goals pmd:aggregate-pmd and pmd:aggregate-cpd instead. [WARNING] Unable to locate Source XRef to link to - DISABLED [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-spring --- [WARNING] Parameter 'aggregate' (user property 'aggregate') is deprecated: since 3.15.0 Use the goals pmd:aggregate-pmd and pmd:aggregate-cpd instead. [WARNING] Unable to locate Source XRef to link to - DISABLED [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-spring --- [INFO] There are 3 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.8.1:analyze (default-cli) > test-compile @ it-tidalwave-messagebus-spring >>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ it-tidalwave-messagebus-spring --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus [INFO] Storing buildNumber: d4d6ee276ae7 at timestamp: 1734731133198 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus [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/SpringMessageBus' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ it-tidalwave-messagebus-spring --- [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.5.0:enforce (enforce-banned-dependencies) @ it-tidalwave-messagebus-spring --- [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-spring --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/feature/TFT-165 3.2-ALPHA-25-SNAPSHOT d4d6ee276ae7 [INFO] [echo] Java Version: 21.0.5 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ it-tidalwave-messagebus-spring --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/jacoco.exec [INFO] [INFO] --- antrun:3.1.0:run (create-unwoven-classes-dirs) @ it-tidalwave-messagebus-spring --- [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] --- build-helper:3.6.0:add-source (add-aj-sources) @ it-tidalwave-messagebus-spring --- [INFO] Source directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/main/aspect added. [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-messagebus-spring --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ it-tidalwave-messagebus-spring --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [forked debug deprecation release 11] to target/unwoven-classes [WARNING] Overwriting artifact's file from /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/it-tidalwave-messagebus-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7.jar to /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/target/unwoven-classes [INFO] [INFO] --- aspectj:1.15.0:compile (weave-classes) @ it-tidalwave-messagebus-spring --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [WARNING] You aren't using a compiler supported by lombok, so lombok will not work and has been disabled. Your processor is: org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BatchProcessingEnvImpl Lombok supports: OpenJDK javac, ECJ : [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-messagebus-spring --- [INFO] Copying 1 resource from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ it-tidalwave-messagebus-spring --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 6 source files with javac [forked debug deprecation release 11] to target/unwoven-test-classes [WARNING] on the class path. A future release of javac may disable annotation processing unless at least one processor is specified by name (-processor), or a search path is specified (--processor-path, --processor-module-path), or annotation processing is enabled explicitly (-proc:only, -proc:full). Use -Xlint:-options to suppress this message. Use -proc:none to disable annotation processing. /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/ListenerAdapterMatcher.java:[42,63] [rawtypes] found raw type: MessageBusAdapterFactory.MessageBusListenerAdapter missing type arguments for generic class MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in class MessageBusAdapterFactory.MessageBusListenerAdapter [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/ListenerAdapterMatcher.java:[54,34] [rawtypes] found raw type: MessageBusAdapterFactory.MessageBusListenerAdapter missing type arguments for generic class MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in class MessageBusAdapterFactory.MessageBusListenerAdapter [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[85,47] [unchecked] unchecked method invocation: method subscribe in interface MessageBus is applied to given types required: Class,Listener found: Class,MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[85,77] [unchecked] unchecked conversion required: Listener found: MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[89,47] [unchecked] unchecked method invocation: method subscribe in interface MessageBus is applied to given types required: Class,Listener found: Class,MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[89,77] [unchecked] unchecked conversion required: Listener found: MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[135,41] [unchecked] unchecked method invocation: method subscribe in interface MessageBus is applied to given types required: Class,Listener found: Class,MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[135,71] [unchecked] unchecked conversion required: Listener found: MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[139,41] [unchecked] unchecked method invocation: method subscribe in interface MessageBus is applied to given types required: Class,Listener found: Class,MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringMessageBus/src/test/java/it/tidalwave/messagebus/impl/spring/SpringSimpleMessageSubscriberAspectTest.java:[139,71] [unchecked] unchecked conversion required: Listener found: MessageBusAdapterFactory.MessageBusListenerAdapter where T is a type-variable: T extends Object declared in method subscribe(Class,Listener) [WARNING] Failed to getClass for org.apache.maven.plugins.dependency.analyze.AnalyzeMojo [INFO] [INFO] <<< dependency:3.8.1:analyze (default-cli) < test-compile @ it-tidalwave-messagebus-spring <<< [INFO] [INFO] [INFO] --- dependency:3.8.1:analyze (default-cli) @ it-tidalwave-messagebus-spring --- [WARNING] Used undeclared dependencies found: [WARNING] com.google.code.findbugs:jsr305:jar:3.0.2:compile [WARNING] Unused declared dependencies found: [WARNING] org.springframework:spring-aspects:jar:5.3.37:compile [WARNING] org.springframework:spring-core:jar:5.3.37:compile [WARNING] javax.inject:javax.inject:jar:1:compile [WARNING] org.slf4j:jcl-over-slf4j:jar:2.0.16:test [WARNING] it.tidalwave.thesefoolishthings:it-tidalwave-util-test:jar:3.2-ALPHA-25-SNAPSHOT:compile [WARNING] javax.annotation:javax.annotation-api:jar:1.3.2:compile [WARNING] ch.qos.logback:logback-classic:jar:1.5.12:test [WARNING] Non-test scoped test only dependencies found: [WARNING] org.springframework:spring-context:jar:5.3.37:compile [JENKINS] Archiving disabled