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.bluemarine2:it-tidalwave-bluemarine2-mediaserver >---- [INFO] Building blueMarine II :: Media Server 1.1-ALPHA-2-SNAPSHOT [18/34] [INFO] from modules/MediaServer/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.1.0:clean (default-clean) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] [INFO] --- buildnumber:1.4:create (default) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer [INFO] Storing buildNumber: 776aa35dcaa1 at timestamp: 1682035791322 [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/blueMarine2_Build_and_Test/workspace/modules/MediaServer' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] [INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/fabrizio.giudici 1.1-ALPHA-2-SNAPSHOT 776aa35dcaa1 [INFO] [echo] Java Version: 11.0.18 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- resources:3.2.0:resources (default-resources) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ it-tidalwave-bluemarine2-mediaserver --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/classes [WARNING] No processor claimed any of these annotations: /javax.annotation.Nonnull,/javax.annotation.concurrent.Immutable,/javax.annotation.PostConstruct,/it.tidalwave.dci.annotation.DciRole,/org.springframework.beans.factory.annotation.Autowired [INFO] [INFO] --- dependency:3.1.2:unpack (unpack-testset-triples) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] Configured Artifact: it.tidalwave.bluemarine2:it-tidalwave-bluemarine2-mediascanner:tests:?:jar [INFO] Configured Artifact: it.tidalwave.bluemarine2:it-tidalwave-bluemarine2-metadata-musicbrainz:tests:?:jar [INFO] Unpacking /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaScanner/target/it-tidalwave-bluemarine2-mediascanner-1.1-ALPHA-2-SNAPSHOT.776aa35dcaa1-tests.jar to /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/extra with includes "expected-results/**/*.n3" and excludes "" [INFO] Unpacking /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MusicBrainz/target/it-tidalwave-bluemarine2-metadata-musicbrainz-1.1-ALPHA-2-SNAPSHOT.776aa35dcaa1-tests.jar to /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/extra with includes "expected-results/**/*.n3" and excludes "" [INFO] [INFO] --- resources:3.2.0:testResources (default-testResources) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 4 resources [INFO] [INFO] --- resources:3.2.0:copy-resources (default) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 6 resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ it-tidalwave-bluemarine2-mediaserver --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/test-classes [WARNING] No processor claimed any of these annotations: /org.testng.annotations.Test,/org.testng.annotations.DataProvider,/javax.annotation.Nonnull,/org.testng.annotations.BeforeMethod [WARNING] /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/src/test/java/it/tidalwave/bluemarine2/mediaserver/impl/DefaultContentDirectorySystemIntegrationTest.java:[84,18] [deprecation] initialize() in Repository has been deprecated [INFO] [INFO] --- surefire:3.0.0-M5:test (default-test) @ it-tidalwave-bluemarine2-mediaserver --- [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. [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite 02:10:05.401 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - STARTING TESTS OF it.tidalwave.bluemarine2.mediaserver.impl.DefaultContentDirectorySystemIntegrationTest 02:10:05.434 [main ] INFO i.t.bluemarine2.commons.test.SpringTestSupport - Spring configuration locations: [META-INF/DciAutoBeans.xml, META-INF/CommonsAutoBeans.xml, META-INF/CatalogAutoBeans.xml, META-INF/DefaultContentDirectoryTestBeans.xml] 02:10:07.928 [main ] WARN o.s.context.support.ClassPathXmlApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [it.tidalwave.role.spring.spi.AnnotationSpringRoleManager] for bean with name 'roleManager' defined in class path resource [META-INF/DciAutoBeans.xml]; nested exception is java.lang.ClassNotFoundException: it.tidalwave.role.spring.spi.AnnotationSpringRoleManager 02:10:07.972 [main ] ERROR i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - CONFIGURATION FAILED org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [it.tidalwave.role.spring.spi.AnnotationSpringRoleManager] for bean with name 'roleManager' defined in class path resource [META-INF/DciAutoBeans.xml]; nested exception is java.lang.ClassNotFoundException: it.tidalwave.role.spring.spi.AnnotationSpringRoleManager 02:10:07.974 [main ] ERROR i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - CONFIGURATION FAILED org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [it.tidalwave.role.spring.spi.AnnotationSpringRoleManager] for bean with name 'roleManager' defined in class path resource [META-INF/DciAutoBeans.xml]; nested exception is java.lang.ClassNotFoundException: it.tidalwave.role.spring.spi.AnnotationSpringRoleManager at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:693) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:663) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1665) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1142) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:924) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:144) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:95) at it.tidalwave.bluemarine2.commons.test.SpringTestSupport.createSpringContext(SpringTestSupport.java:109) at it.tidalwave.bluemarine2.commons.test.SpringTestSupport.beforeMethod(SpringTestSupport.java:75) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215) at org.testng.internal.Invoker.invokeMethod(Invoker.java:589) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) at org.testng.TestRunner.privateRun(TestRunner.java:782) at org.testng.TestRunner.run(TestRunner.java:632) at org.testng.SuiteRunner.runTest(SuiteRunner.java:366) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319) at org.testng.SuiteRunner.run(SuiteRunner.java:268) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244) at org.testng.TestNG.runSuitesLocally(TestNG.java:1169) at org.testng.TestNG.run(TestNG.java:1064) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) Caused by: java.lang.ClassNotFoundException: it.tidalwave.role.spring.spi.AnnotationSpringRoleManager at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at org.springframework.util.ClassUtils.forName(ClassUtils.java:284) at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:469) at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1602) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1529) ... 42 common frames omitted 02:10:07.992 [main ] WARN i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - CONFIGURATION SKIPPED 02:10:07.993 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - ********************************* 02:10:07.993 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - TEST "must properly expose data" 02:10:07.993 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - ARGS [model-iTunes-fg-20160504-2] 02:10:07.993 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - ********************************* 02:10:07.999 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - TEST SKIPPED 02:10:07.999 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - 02:10:08.001 [main ] WARN i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - CONFIGURATION SKIPPED 02:10:08.004 [main ] WARN i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - CONFIGURATION SKIPPED 02:10:08.005 [main ] WARN i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - CONFIGURATION SKIPPED 02:10:08.005 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - ********************************* 02:10:08.007 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - TEST "must properly expose data" 02:10:08.007 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - ARGS [model-iTunes-fg-20161210-1] 02:10:08.007 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - ********************************* 02:10:08.007 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - TEST SKIPPED 02:10:08.007 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - 02:10:08.007 [main ] WARN i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - CONFIGURATION SKIPPED 02:10:08.012 [main ] WARN i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - CONFIGURATION SKIPPED 02:10:08.018 [main ] WARN i.t.b.mediaserver.impl.DefaultContentDirectoryTest - CONFIGURATION SKIPPED 02:10:08.033 [main ] WARN i.t.b.mediaserver.impl.DefaultContentDirectoryTest - CONFIGURATION SKIPPED 02:10:08.046 [main ] WARN i.t.b.mediaserver.impl.DefaultContentDirectoryTest - CONFIGURATION SKIPPED 02:10:08.047 [main ] INFO i.t.b.mediaserver.impl.DefaultContentDirectoryTest - **************************************** 02:10:08.047 [main ] INFO i.t.b.mediaserver.impl.DefaultContentDirectoryTest - TEST "must return correct root children" 02:10:08.047 [main ] INFO i.t.b.mediaserver.impl.DefaultContentDirectoryTest - **************************************** 02:10:08.048 [main ] INFO i.t.b.mediaserver.impl.DefaultContentDirectoryTest - TEST SKIPPED 02:10:08.048 [main ] INFO i.t.b.mediaserver.impl.DefaultContentDirectoryTest - 02:10:08.048 [main ] WARN i.t.b.mediaserver.impl.DefaultContentDirectoryTest - CONFIGURATION SKIPPED 02:10:08.049 [main ] WARN i.t.b.mediaserver.impl.DefaultContentDirectoryTest - CONFIGURATION SKIPPED 02:10:08.123 [main ] INFO i.t.b.m.i.DefaultContentDirectorySystemIntegrationTest - FINISHED TESTS OF it.tidalwave.bluemarine2.mediaserver.impl.DefaultContentDirectorySystemIntegrationTest [ERROR] Tests run: 15, Failures: 1, Errors: 0, Skipped: 14, Time elapsed: 3.958 s <<< FAILURE! - in TestSuite [ERROR] it.tidalwave.bluemarine2.mediaserver.impl.DefaultContentDirectorySystemIntegrationTest.beforeMethod Time elapsed: 3.662 s <<< FAILURE! org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [it.tidalwave.role.spring.spi.AnnotationSpringRoleManager] for bean with name 'roleManager' defined in class path resource [META-INF/DciAutoBeans.xml]; nested exception is java.lang.ClassNotFoundException: it.tidalwave.role.spring.spi.AnnotationSpringRoleManager Caused by: java.lang.ClassNotFoundException: it.tidalwave.role.spring.spi.AnnotationSpringRoleManager [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] it.tidalwave.bluemarine2.mediaserver.impl.DefaultContentDirectorySystemIntegrationTest.beforeMethod [ERROR] Run 1: DefaultContentDirectorySystemIntegrationTest>SpringTestSupport.beforeMethod:75->SpringTestSupport.createSpringContext:109 ยป CannotLoadBeanClass [INFO] Run 2: PASS [INFO] [INFO] [ERROR] Tests run: 12, Failures: 1, Errors: 0, Skipped: 11 [INFO] [ERROR] There are test failures. Please refer to /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/surefire-reports/plain for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [JENKINS] Recording test results [INFO] [INFO] --- jar:3.2.0:jar (default-jar) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] Building jar: /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/it-tidalwave-bluemarine2-mediaserver-1.1-ALPHA-2-SNAPSHOT.776aa35dcaa1.jar [INFO] [INFO] --- jar:3.2.0:test-jar (default-test-jar) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] Building jar: /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/it-tidalwave-bluemarine2-mediaserver-1.1-ALPHA-2-SNAPSHOT.776aa35dcaa1-tests.jar [INFO] [INFO] --- install:3.0.0-M1:install (default-install) @ it-tidalwave-bluemarine2-mediaserver --- [INFO] Installing /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/it-tidalwave-bluemarine2-mediaserver-1.1-ALPHA-2-SNAPSHOT.776aa35dcaa1.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/bluemarine2/it-tidalwave-bluemarine2-mediaserver/1.1-ALPHA-2-SNAPSHOT/it-tidalwave-bluemarine2-mediaserver-1.1-ALPHA-2-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/pom.xml to /var/jenkins_home/maven-repositories/2/it/tidalwave/bluemarine2/it-tidalwave-bluemarine2-mediaserver/1.1-ALPHA-2-SNAPSHOT/it-tidalwave-bluemarine2-mediaserver-1.1-ALPHA-2-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/blueMarine2_Build_and_Test/workspace/modules/MediaServer/target/it-tidalwave-bluemarine2-mediaserver-1.1-ALPHA-2-SNAPSHOT.776aa35dcaa1-tests.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/bluemarine2/it-tidalwave-bluemarine2-mediaserver/1.1-ALPHA-2-SNAPSHOT/it-tidalwave-bluemarine2-mediaserver-1.1-ALPHA-2-SNAPSHOT-tests.jar [JENKINS] Archiving disabled