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-role-spring >------
[INFO] Building TheseFoolishThings :: Roles :: Spring 3.2-ALPHA-25-SNAPSHOT [9/19]
[INFO] from modules/SpringRoles/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.4.0:clean (default-clean) @ it-tidalwave-role-spring ---
[INFO]
[INFO] --- buildnumber:3.2.1:create (default) @ it-tidalwave-role-spring ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles
[INFO] Storing buildNumber: d4d6ee276ae7 at timestamp: 1734731147600
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles' && 'git' 'symbolic-ref' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles
[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/SpringRoles' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles
[INFO] Storing scmBranch: UNKNOWN
[INFO]
[INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ it-tidalwave-role-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-role-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-role-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-role-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/SpringRoles/target/jacoco.exec
[INFO]
[INFO] --- antrun:3.1.0:run (create-unwoven-classes-dirs) @ it-tidalwave-role-spring ---
[INFO] Executing tasks
[INFO] [mkdir] Created dir: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/unwoven-classes
[INFO] [mkdir] Created dir: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/unwoven-test-classes
[INFO] Executed tasks
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-role-spring ---
[INFO] Copying 2 resources from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ it-tidalwave-role-spring ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 5 source files with javac [forked debug deprecation release 11] to target/unwoven-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/SpringRoles/src/main/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspect.java:[69,47] [deprecation] <V,T>runWithContext(Object,Task<V,T>) in ContextManager has been deprecated
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[INFO]
[INFO] --- aspectj:1.15.0:compile (weave-classes) @ it-tidalwave-role-spring ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-role-spring ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/resources
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ it-tidalwave-role-spring ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 9 source files with javac [forked debug deprecation release 11] to target/unwoven-test-classes
[WARNING] [path] bad path element "/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/test-classes": no such file or directory
[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/SpringRoles/src/test/java/it/tidalwave/role/spring/mock/MockDatum1.java:[40,39] [this-escape] possible 'this' escape before subclass is fully initialized
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/mock/MockDatum2.java:[40,39] [this-escape] possible 'this' escape before subclass is fully initialized
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[178,21] [rawtypes] found raw type: Answer
missing type arguments for generic class Answer<T>
where T is a type-variable:
T extends Object declared in interface Answer
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[184,22] [rawtypes] found raw type: Task
missing type arguments for generic class Task<T,E>
where T,E are type-variables:
T extends Object declared in class Task
E extends Throwable declared in class Task
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[187,48] [unchecked] unchecked method invocation: method runWithContext in interface ContextManager is applied to given types
required: Object,Task<V,T>
found: Object,Task
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[187,59] [unchecked] unchecked conversion
required: Task<V,T>
found: Task
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[187,33] [deprecation] <V,T>runWithContext(Object,Task<V,T>) in ContextManager has been deprecated
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[243,55] [unchecked] unchecked method invocation: method runWithContext in interface ContextManager is applied to given types
required: Object,Task<V,T>
found: Support,Task
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[243,73] [unchecked] unchecked conversion
required: Task<V,T>
found: Task
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[243,40] [deprecation] <V,T>runWithContext(Object,Task<V,T>) in ContextManager has been deprecated
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[INFO]
[INFO] --- aspectj:1.15.0:test-compile (weave-test-classes) @ it-tidalwave-role-spring ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[INFO]
[INFO] --- surefire:3.5.2:test (default-test) @ it-tidalwave-role-spring ---
[INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
21:46:00.543 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - STARTING TESTS OF it.tidalwave.role.spring.SpringAdapterTest
21:46:01.717 [main ] INFO it.tidalwave.role.impl.ServiceLoaderLocator - Too many instances of SystemRoleFactoryProvider, ignoring default providers ...
21:46:01.721 [main ] INFO it.tidalwave.role.impl.ServiceLoaderLocator - SystemRoleFactoryProvider instantiated from META-INF/services: it.tidalwave.role.spring.spi.SpringSystemRoleFactoryProvider@42c12b3e
21:46:01.968 [main ] DEBUG i.t.r.spring.spi.AnnotationSpringSystemRoleFactory - scanning classes with interface it.tidalwave.dci.annotation.DciRole annotation...
21:46:04.383 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - scan([i.t.r.s.m.MockConcreteRole1, i.t.r.s.m.MockConcreteRole2])
21:46:04.395 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - Configured roles:
21:46:04.397 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole1 -> [i.t.r.s.m.MockConcreteRole1]
21:46:04.397 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:04.397 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum2: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:04.402 [main ] INFO it.tidalwave.role.impl.ServiceLoaderLocator - ContextManagerProvider instantiated from META-INF/services: it.tidalwave.role.impl.DefaultContextManagerProvider@5901caf8
21:46:04.464 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - ********************************************************
21:46:04.465 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST "must inject a role properly assigning its owner 1"
21:46:04.466 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - ********************************************************
21:46:04.473 [main ] INFO it.tidalwave.role.impl.ServiceLoaderLocator - OwnerRoleFactoryProvider instantiated from META-INF/services: it.tidalwave.role.impl.DefaultOwnerRoleFactoryProvider@270b527f
21:46:04.477 [main ] TRACE it.tidalwave.role.impl.ContextSnapshot - >>>> contexts for i.t.r.s.m.MockDatum1@3dbdc1f6 at construction time: []
21:46:04.478 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - as(i.t.r.s.m.MockRole1) for i.t.r.s.m.MockDatum1@3dbdc1f6
21:46:04.480 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> contexts: ContextSnapshot[]
21:46:04.483 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@3bc1ed53, [])
21:46:04.484 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> contexts now: [] - it.tidalwave.role.impl.DefaultContextManager@8aa77a4
21:46:04.485 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - findRoles(i.t.r.s.m.MockDatum1@3dbdc1f6, i.t.r.s.m.MockRole1)
21:46:04.486 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> trying constructor public it.tidalwave.role.spring.mock.MockConcreteRole1(it.tidalwave.role.spring.mock.MockDatum1)
21:46:04.487 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> constructor parameters: [it.tidalwave.role.spring.mock.MockDatum1@3dbdc1f6]
21:46:04.488 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> findRoles() returning: [i.t.r.s.m.MockConcreteRole1@6d81522b]
21:46:04.488 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@3bc1ed53, []) completed
21:46:04.490 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> as() returning [i.t.r.s.m.MockConcreteRole1@6d81522b]
21:46:04.502 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST PASSED in 34 msec
21:46:04.502 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest -
21:46:04.601 [main ] DEBUG i.t.r.spring.spi.AnnotationSpringSystemRoleFactory - scanning classes with interface it.tidalwave.dci.annotation.DciRole annotation...
21:46:05.728 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - scan([i.t.r.s.m.MockConcreteRole1, i.t.r.s.m.MockConcreteRole2])
21:46:05.728 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - Configured roles:
21:46:05.729 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole1 -> [i.t.r.s.m.MockConcreteRole1]
21:46:05.729 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:05.730 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum2: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:05.744 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - **************************************************************************************
21:46:05.744 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST "must inject a role supporting multiple datum types properly assigning its owner"
21:46:05.745 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - **************************************************************************************
21:46:05.746 [main ] TRACE it.tidalwave.role.impl.ContextSnapshot - >>>> contexts for i.t.r.s.m.MockDatum1@6d3c1f07 at construction time: []
21:46:05.746 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - as(i.t.r.s.m.MockRole2) for i.t.r.s.m.MockDatum1@6d3c1f07
21:46:05.747 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> contexts: ContextSnapshot[]
21:46:05.747 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@7b1d1c75, [])
21:46:05.748 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> contexts now: [] - it.tidalwave.role.impl.DefaultContextManager@8aa77a4
21:46:05.748 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - findRoles(i.t.r.s.m.MockDatum1@6d3c1f07, i.t.r.s.m.MockRole2)
21:46:05.748 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> trying constructor public it.tidalwave.role.spring.mock.MockConcreteRole2(java.lang.Object)
21:46:05.749 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> constructor parameters: [it.tidalwave.role.spring.mock.MockDatum1@6d3c1f07]
21:46:05.750 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> findRoles() returning: [i.t.r.s.m.MockConcreteRole2@8161366]
21:46:05.750 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@7b1d1c75, []) completed
21:46:05.750 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> as() returning [i.t.r.s.m.MockConcreteRole2@8161366]
21:46:05.751 [main ] TRACE it.tidalwave.role.impl.ContextSnapshot - >>>> contexts for i.t.r.s.m.MockDatum2@5dfe144 at construction time: []
21:46:05.751 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - as(i.t.r.s.m.MockRole2) for i.t.r.s.m.MockDatum2@5dfe144
21:46:05.752 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> contexts: ContextSnapshot[]
21:46:05.752 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@eb6646e, [])
21:46:05.752 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> contexts now: [] - it.tidalwave.role.impl.DefaultContextManager@8aa77a4
21:46:05.753 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - findRoles(i.t.r.s.m.MockDatum2@5dfe144, i.t.r.s.m.MockRole2)
21:46:05.753 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> trying constructor public it.tidalwave.role.spring.mock.MockConcreteRole2(java.lang.Object)
21:46:05.754 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> constructor parameters: [it.tidalwave.role.spring.mock.MockDatum2@5dfe144]
21:46:05.754 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> findRoles() returning: [i.t.r.s.m.MockConcreteRole2@3603cbfd]
21:46:05.755 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@eb6646e, []) completed
21:46:05.755 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> as() returning [i.t.r.s.m.MockConcreteRole2@3603cbfd]
21:46:05.756 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST PASSED in 11 msec
21:46:05.756 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest -
21:46:05.813 [main ] DEBUG i.t.r.spring.spi.AnnotationSpringSystemRoleFactory - scanning classes with interface it.tidalwave.dci.annotation.DciRole annotation...
21:46:07.036 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - scan([i.t.r.s.m.MockConcreteRole1, i.t.r.s.m.MockConcreteRole2])
21:46:07.039 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - Configured roles:
21:46:07.040 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole1 -> [i.t.r.s.m.MockConcreteRole1]
21:46:07.040 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:07.041 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum2: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:07.079 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - **********************************************************************
21:46:07.080 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST "must return the datum object when it directly implements a role"
21:46:07.080 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - **********************************************************************
21:46:07.087 [main ] TRACE it.tidalwave.role.impl.ContextSnapshot - >>>> contexts for i.t.r.s.m.MockDatum2@40c9bcaa at construction time: []
21:46:07.088 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - as(i.t.r.s.m.MockRole3) for i.t.r.s.m.MockDatum2@40c9bcaa
21:46:07.088 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> contexts: ContextSnapshot[]
21:46:07.088 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@41825c0, [])
21:46:07.088 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> contexts now: [] - it.tidalwave.role.impl.DefaultContextManager@8aa77a4
21:46:07.092 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - findRoles(i.t.r.s.m.MockDatum2@40c9bcaa, i.t.r.s.m.MockRole3)
21:46:07.093 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> findRoles() returning: []
21:46:07.093 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@41825c0, []) completed
21:46:07.093 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> as() returning [i.t.r.s.m.MockDatum2@40c9bcaa]
21:46:07.094 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST PASSED in 14 msec
21:46:07.094 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest -
21:46:07.184 [main ] DEBUG i.t.r.spring.spi.AnnotationSpringSystemRoleFactory - scanning classes with interface it.tidalwave.dci.annotation.DciRole annotation...
21:46:08.205 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - scan([i.t.r.s.m.MockConcreteRole1, i.t.r.s.m.MockConcreteRole2])
21:46:08.206 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - Configured roles:
21:46:08.207 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole1 -> [i.t.r.s.m.MockConcreteRole1]
21:46:08.207 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:08.207 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum2: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:08.230 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - *******************************************************************
21:46:08.235 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST "must throw AsException when asking for an unavailable role 1"
21:46:08.235 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - *******************************************************************
21:46:08.236 [main ] TRACE it.tidalwave.role.impl.ContextSnapshot - >>>> contexts for i.t.r.s.m.MockDatum1@164afa6f at construction time: []
21:46:08.237 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - as(i.t.r.s.m.MockRole3) for i.t.r.s.m.MockDatum1@164afa6f
21:46:08.237 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> contexts: ContextSnapshot[]
21:46:08.242 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@18d28cf6, [])
21:46:08.243 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> contexts now: [] - it.tidalwave.role.impl.DefaultContextManager@8aa77a4
21:46:08.243 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - findRoles(i.t.r.s.m.MockDatum1@164afa6f, i.t.r.s.m.MockRole3)
21:46:08.244 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> findRoles() returning: []
21:46:08.244 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@18d28cf6, []) completed
21:46:08.244 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> as() returning []
21:46:08.252 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST PASSED in 24 msec
21:46:08.252 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest -
21:46:08.378 [main ] DEBUG i.t.r.spring.spi.AnnotationSpringSystemRoleFactory - scanning classes with interface it.tidalwave.dci.annotation.DciRole annotation...
21:46:09.347 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - scan([i.t.r.s.m.MockConcreteRole1, i.t.r.s.m.MockConcreteRole2])
21:46:09.347 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - Configured roles:
21:46:09.348 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole1 -> [i.t.r.s.m.MockConcreteRole1]
21:46:09.348 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum1: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:09.348 [main ] DEBUG it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> i.t.r.s.m.MockDatum2: i.t.r.s.m.MockRole2 -> [i.t.r.s.m.MockConcreteRole2]
21:46:09.358 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - *******************************************************************
21:46:09.359 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST "must throw AsException when asking for an unavailable role 2"
21:46:09.359 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - *******************************************************************
21:46:09.360 [main ] TRACE it.tidalwave.role.impl.ContextSnapshot - >>>> contexts for i.t.r.s.m.MockDatum2@1e82dad5 at construction time: []
21:46:09.361 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - as(i.t.r.s.m.MockRole1) for i.t.r.s.m.MockDatum2@1e82dad5
21:46:09.361 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> contexts: ContextSnapshot[]
21:46:09.361 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@7da23c0e, [])
21:46:09.361 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> contexts now: [] - it.tidalwave.role.impl.DefaultContextManager@8aa77a4
21:46:09.362 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - findRoles(i.t.r.s.m.MockDatum2@1e82dad5, i.t.r.s.m.MockRole1)
21:46:09.362 [main ] TRACE it.tidalwave.role.spi.SystemRoleFactorySupport - >>>> findRoles() returning: []
21:46:09.362 [main ] TRACE it.tidalwave.role.impl.DefaultContextManager - >>>> runWithContexts(i.t.u.ContextManager$$Lambda/0x0000718e2022a210@7da23c0e, []) completed
21:46:09.362 [main ] TRACE it.tidalwave.role.impl.DefaultOwnerRoleFactory - >>>> as() returning []
21:46:09.363 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - TEST PASSED in 4 msec
21:46:09.364 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest -
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:46:13.105 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - **********************************************************************
21:46:13.106 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must bind context when annotation present and autoThreadBinding"
21:46:13.106 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [publicMethod]
21:46:13.107 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - **********************************************************************
21:46:13.164 [main ] TRACE i.t.r.s.spi.DciContextWithAutoThreadBindingAspect - executing i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest$WithAnnotationAndAutoThreadBinding@7249362d.publicMethod() with context thread binding
21:46:13.197 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - publicMethod()
21:46:13.280 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 171 msec
21:46:13.280 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.286 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - **********************************************************************
21:46:13.287 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must bind context when annotation present and autoThreadBinding"
21:46:13.287 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [protectedMethod]
21:46:13.287 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - **********************************************************************
21:46:13.291 [main ] TRACE i.t.r.s.spi.DciContextWithAutoThreadBindingAspect - executing i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest$WithAnnotationAndAutoThreadBinding@6d08cc5c.protectedMethod() with context thread binding
21:46:13.292 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - protectedMethod()
21:46:13.302 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 18 msec
21:46:13.303 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.305 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - **********************************************************************
21:46:13.308 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must bind context when annotation present and autoThreadBinding"
21:46:13.309 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [packageMethod]
21:46:13.309 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - **********************************************************************
21:46:13.312 [main ] TRACE i.t.r.s.spi.DciContextWithAutoThreadBindingAspect - executing i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest$WithAnnotationAndAutoThreadBinding@6c5ef5fa.packageMethod() with context thread binding
21:46:13.313 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - packageMethod()
21:46:13.322 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 16 msec
21:46:13.322 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.328 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - *****************************************************************************
21:46:13.329 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must not bind context when annotation present but no autoThreadBinding"
21:46:13.329 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [publicMethod]
21:46:13.329 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - *****************************************************************************
21:46:13.343 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - publicMethod()
21:46:13.348 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 19 msec
21:46:13.349 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.350 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - *****************************************************************************
21:46:13.351 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must not bind context when annotation present but no autoThreadBinding"
21:46:13.354 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [protectedMethod]
21:46:13.354 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - *****************************************************************************
21:46:13.355 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - protectedMethod()
21:46:13.357 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 6 msec
21:46:13.360 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.361 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - *****************************************************************************
21:46:13.361 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must not bind context when annotation present but no autoThreadBinding"
21:46:13.362 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [packageMethod]
21:46:13.362 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - *****************************************************************************
21:46:13.364 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - packageMethod()
21:46:13.368 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 3 msec
21:46:13.368 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.374 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ***********************************************
21:46:13.374 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must not bind context when no annotation"
21:46:13.374 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [publicMethod]
21:46:13.375 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ***********************************************
21:46:13.379 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - publicMethod()
21:46:13.385 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 6 msec
21:46:13.385 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.387 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ***********************************************
21:46:13.390 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must not bind context when no annotation"
21:46:13.391 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [protectedMethod]
21:46:13.391 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ***********************************************
21:46:13.395 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - protectedMethod()
21:46:13.400 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 10 msec
21:46:13.403 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.411 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ***********************************************
21:46:13.415 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST "must not bind context when no annotation"
21:46:13.416 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ARGS [packageMethod]
21:46:13.416 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - ***********************************************
21:46:13.418 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - packageMethod()
21:46:13.423 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest - TEST PASSED in 12 msec
21:46:13.426 [main ] INFO i.t.r.s.s.DciContextWithAutoThreadBindingAspectTest -
21:46:13.427 [main ] INFO it.tidalwave.role.spring.SpringAdapterTest - FINISHED TESTS OF it.tidalwave.role.spring.SpringAdapterTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.77 s -- in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[JENKINS] Recording test results
[INFO]
[INFO] --- jacoco:0.8.12:report (report) @ it-tidalwave-role-spring ---
[INFO] Loading execution data file /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/jacoco.exec
[INFO] Analyzed bundle 'TheseFoolishThings :: Roles :: Spring' with 6 classes
[INFO]
[INFO] --- jar:3.4.2:jar (default-jar) @ it-tidalwave-role-spring ---
[INFO] Building jar: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/it-tidalwave-role-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7.jar
[INFO]
[INFO] --- jar:3.4.2:test-jar (default-test-jar) @ it-tidalwave-role-spring ---
[INFO] Building jar: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/it-tidalwave-role-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7-tests.jar
[INFO]
[INFO] --- install:3.1.3:install (default-install) @ it-tidalwave-role-spring ---
[INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/pom.xml to /var/jenkins_home/maven-repositories/2/it/tidalwave/thesefoolishthings/it-tidalwave-role-spring/3.2-ALPHA-25-SNAPSHOT/it-tidalwave-role-spring-3.2-ALPHA-25-SNAPSHOT.pom
[INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/it-tidalwave-role-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/thesefoolishthings/it-tidalwave-role-spring/3.2-ALPHA-25-SNAPSHOT/it-tidalwave-role-spring-3.2-ALPHA-25-SNAPSHOT.jar
[INFO] Installing /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/it-tidalwave-role-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7-tests.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/thesefoolishthings/it-tidalwave-role-spring/3.2-ALPHA-25-SNAPSHOT/it-tidalwave-role-spring-3.2-ALPHA-25-SNAPSHOT-tests.jar
[INFO]
[INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ it-tidalwave-role-spring >>>
[INFO]
[INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ it-tidalwave-role-spring ---
[INFO] Fork Value is true
[INFO] Done SpotBugs Analysis....
[INFO]
[INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ it-tidalwave-role-spring <<<
[INFO]
[INFO]
[INFO] --- spotbugs:4.8.6.6:check (default-cli) @ it-tidalwave-role-spring ---
[INFO] BugInstance size is 9
[INFO] Error size is 0
[INFO] Total bugs: 9
[ERROR] Low: Overridable method ajc$afterReturning$org_springframework_beans_factory_aspectj_AbstractDependencyInjectionAspect$2$1ea6722c is called from constructor new it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory(). [it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory] At AnnotationSpringSystemRoleFactory.java:[line 50] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR
[ERROR] Low: Overridable method ajc$before$org_springframework_beans_factory_aspectj_AbstractDependencyInjectionAspect$1$e854fa65 is called from constructor new it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory(). [it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory] At AnnotationSpringSystemRoleFactory.java:[line 50] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR
[ERROR] Medium: Non-null field beanFactory is not initialized by new it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory() [it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory] At AnnotationSpringSystemRoleFactory.java:[line 50] NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
[ERROR] Medium: Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory() [it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory] Redundant null check at AnnotationSpringSystemRoleFactory.java:[line 50] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
[ERROR] Low: Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory() [it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory] Redundant null check at AnnotationSpringSystemRoleFactory.java:[line 50] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
[ERROR] Low: it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect.ajc$perSingletonInstance isn't final but should be [it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect] In DciContextWithAutoThreadBindingAspect.java MS_SHOULD_BE_FINAL
[ERROR] Medium: Primitive field it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect.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.role.spring.spi.DciContextWithAutoThreadBindingAspect] At DciContextWithAutoThreadBindingAspect.java:[line 1] PA_PUBLIC_PRIMITIVE_ATTRIBUTE
[ERROR] Low: The class it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect$1 could be refactored into a named _static_ inner class [it.tidalwave.role.spring.spi.DciContextWithAutoThreadBindingAspect] At DciContextWithAutoThreadBindingAspect.java:[line 69] SIC_INNER_SHOULD_BE_STATIC_ANON
[ERROR] Medium: Possible null pointer dereference in it.tidalwave.util.spring.ClassScanner.findClasses() due to return value of called method [it.tidalwave.util.spring.ClassScanner, it.tidalwave.util.spring.ClassScanner] Method invoked at ClassScanner.java:[line 73]Known null at ClassScanner.java:[line 73] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE
[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-role-spring ---
[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-role-spring ---
[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-role-spring ---
[INFO] There are 6 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-role-spring >>>
[INFO]
[INFO] --- buildnumber:3.2.1:create (default) @ it-tidalwave-role-spring ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles
[INFO] Storing buildNumber: d4d6ee276ae7 at timestamp: 1734731186005
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles' && 'git' 'symbolic-ref' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles
[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/SpringRoles' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles
[INFO] Storing scmBranch: UNKNOWN
[INFO]
[INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ it-tidalwave-role-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-role-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-role-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-role-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/SpringRoles/target/jacoco.exec
[INFO]
[INFO] --- antrun:3.1.0:run (create-unwoven-classes-dirs) @ it-tidalwave-role-spring ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-role-spring ---
[INFO] Copying 2 resources from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ it-tidalwave-role-spring ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 5 source files with javac [forked debug deprecation release 11] to target/unwoven-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/SpringRoles/src/main/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspect.java:[69,47] [deprecation] <V,T>runWithContext(Object,Task<V,T>) in ContextManager has been deprecated
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] Overwriting artifact's file from /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/it-tidalwave-role-spring-3.2-ALPHA-25-SNAPSHOT.d4d6ee276ae7.jar to /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/target/unwoven-classes
[INFO]
[INFO] --- aspectj:1.15.0:compile (weave-classes) @ it-tidalwave-role-spring ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-role-spring ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/resources
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ it-tidalwave-role-spring ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 9 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/SpringRoles/src/test/java/it/tidalwave/role/spring/mock/MockDatum1.java:[40,39] [this-escape] possible 'this' escape before subclass is fully initialized
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/mock/MockDatum2.java:[40,39] [this-escape] possible 'this' escape before subclass is fully initialized
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[178,21] [rawtypes] found raw type: Answer
missing type arguments for generic class Answer<T>
where T is a type-variable:
T extends Object declared in interface Answer
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[184,22] [rawtypes] found raw type: Task
missing type arguments for generic class Task<T,E>
where T,E are type-variables:
T extends Object declared in class Task
E extends Throwable declared in class Task
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[187,48] [unchecked] unchecked method invocation: method runWithContext in interface ContextManager is applied to given types
required: Object,Task<V,T>
found: Object,Task
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[187,59] [unchecked] unchecked conversion
required: Task<V,T>
found: Task
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[187,33] [deprecation] <V,T>runWithContext(Object,Task<V,T>) in ContextManager has been deprecated
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[243,55] [unchecked] unchecked method invocation: method runWithContext in interface ContextManager is applied to given types
required: Object,Task<V,T>
found: Support,Task
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[243,73] [unchecked] unchecked conversion
required: Task<V,T>
found: Task
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[WARNING] /var/jenkins_home/jobs/TheseFoolishThings_Metrics_branches/workspace/modules/SpringRoles/src/test/java/it/tidalwave/role/spring/spi/DciContextWithAutoThreadBindingAspectTest.java:[243,40] [deprecation] <V,T>runWithContext(Object,Task<V,T>) in ContextManager has been deprecated
where V,T are type-variables:
V extends Object declared in method <V,T>runWithContext(Object,Task<V,T>)
T extends Throwable declared in method <V,T>runWithContext(Object,Task<V,T>)
[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-role-spring <<<
[INFO]
[INFO]
[INFO] --- dependency:3.8.1:analyze (default-cli) @ it-tidalwave-role-spring ---
[WARNING] Used undeclared dependencies found:
[WARNING] com.google.code.findbugs:jsr305:jar:3.0.2:compile
[WARNING] org.springframework:spring-core:jar:5.3.37:compile
[WARNING] Unused declared dependencies found:
[WARNING] it.tidalwave.thesefoolishthings:it-tidalwave-role:jar:3.2-ALPHA-25-SNAPSHOT: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:test
[WARNING] ch.qos.logback:logback-classic:jar:1.5.12:test
[JENKINS] Archiving disabled