Notifying upstream projects of job completion Join notifier requires a CauseAction [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Netarchivesuite - monitor - test 5.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ monitor-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ monitor-test --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ monitor-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 9 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ monitor-test --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/target/test-classes [WARNING] /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/src/test/java/dk/netarkivet/monitor/jmx/JMXUtilsTester.java:[29,33] com.sun.jndi.rmi.registry.RegistryContextFactory is internal proprietary API and may be removed in a future release [WARNING] /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/src/test/java/dk/netarkivet/monitor/jmx/JMXUtilsTester.java:[70,63] com.sun.jndi.rmi.registry.RegistryContextFactory is internal proprietary API and may be removed in a future release [WARNING] /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/src/test/java/dk/netarkivet/monitor/jmx/JMXUtilsTester.java:[72,23] com.sun.jndi.rmi.registry.RegistryContextFactory is internal proprietary API and may be removed in a future release [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ monitor-test --- [INFO] Surefire report directory: /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/target/surefire-reports [INFO] parallel='none', perCoreThreadCount=true, threadCount=0, useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, threadCountMethods=0, parallelOptimized=true ------------------------------------------------------- T E S T S ------------------------------------------------------- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running dk.netarkivet.monitor.logging.CachingLogHandlerTester 10:49:11.780 [main] DEBUG dk.netarkivet.common.utils.Settings - Searching for a setting for key: settings.common.replicas.replica.replicaId 10:49:11.788 [main] DEBUG dk.netarkivet.common.utils.Settings - Value found in loaded data: ONE,TWO,THREE Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.759 sec - in dk.netarkivet.monitor.logging.CachingLogHandlerTester Running dk.netarkivet.monitor.registry.MonitorRegistryServerTester 10:49:13.977 [main] INFO dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Creating instance of dk.netarkivet.common.distribute.JMSConnectionMockupMQ 10:49:13.993 [main] DEBUG dk.netarkivet.common.utils.Settings - Searching for a setting for key: settings.common.replicas.replica.replicaId 10:49:14.004 [main] DEBUG dk.netarkivet.common.utils.Settings - Value found in loaded data: ONE,TWO,THREE 10:49:14.047 [main] INFO dk.netarkivet.monitor.registry.distribute.MonitorRegistryServer - MonitorRegistryServer listening for messages on channel '[Topic 'DEV_COMMON_MONITOR_TOPIC']' 10:49:14.051 [main] INFO dk.netarkivet.monitor.registry.MonitorRegistry - Added host 'localhost' port 8081/8181 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.851 sec - in dk.netarkivet.monitor.registry.MonitorRegistryServerTester 10:49:14.127 [Thread-0] INFO dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Cleaning up dk.netarkivet.common.distribute.JMSConnectionMockupMQ 10:49:14.128 [Thread-0] INFO dk.netarkivet.common.distribute.JMSConnection - Starting cleanup 10:49:14.128 [Thread-0] INFO dk.netarkivet.common.distribute.JMSConnection - Cleanup finished Cleaned up dk.netarkivet.common.distribute.JMSConnectionMockupMQ 10:49:14.129 [Thread-0] INFO dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Cleaned up dk.netarkivet.common.distribute.JMSConnectionMockupMQ Running dk.netarkivet.monitor.MonitorSettingsTester Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in dk.netarkivet.monitor.MonitorSettingsTester Running dk.netarkivet.monitor.jmx.JMXUtilsTester Set property 'java.naming.factory.initial' to: com.sun.jndi.rmi.registry.RegistryContextFactory 10:49:15.985 [main] DEBUG dk.netarkivet.common.utils.JMXUtils - Property 'java.naming.factory.initial' is set to: com.sun.jndi.rmi.registry.RegistryContextFactory Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.897 sec - in dk.netarkivet.monitor.jmx.JMXUtilsTester Running dk.netarkivet.monitor.jmx.CachingProxyConnectionFactoryTester Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec - in dk.netarkivet.monitor.jmx.CachingProxyConnectionFactoryTester Running dk.netarkivet.monitor.jmx.CachingProxyFactoryConnectionTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in dk.netarkivet.monitor.jmx.CachingProxyFactoryConnectionTest Running dk.netarkivet.monitor.webinterface.StatusSiteSectionTester 10:49:18.731 [main] INFO dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Creating instance of dk.netarkivet.common.distribute.JMSConnectionMockupMQ 10:49:18.746 [main] DEBUG dk.netarkivet.common.utils.Settings - Searching for a setting for key: settings.common.replicas.replica.replicaId 10:49:18.755 [main] DEBUG dk.netarkivet.common.utils.Settings - Value found in loaded data: ONE,TWO,THREE 10:49:18.803 [main] INFO dk.netarkivet.monitor.registry.distribute.MonitorRegistryServer - MonitorRegistryServer listening for messages on channel '[Topic 'DEV_COMMON_MONITOR_TOPIC']' Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.852 sec - in dk.netarkivet.monitor.webinterface.StatusSiteSectionTester 10:49:18.835 [Thread-0] INFO dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Cleaning up dk.netarkivet.common.distribute.JMSConnectionMockupMQ 10:49:18.836 [Thread-0] INFO dk.netarkivet.common.distribute.JMSConnection - Starting cleanup 10:49:18.836 [Thread-0] INFO dk.netarkivet.common.distribute.JMSConnection - Cleanup finished Cleaned up dk.netarkivet.common.distribute.JMSConnectionMockupMQ 10:49:18.837 [Thread-0] INFO dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Cleaned up dk.netarkivet.common.distribute.JMSConnectionMockupMQ Running dk.netarkivet.monitor.webinterface.JMXStatusEntryTester 10:49:20.193 [main] INFO dk.netarkivet.monitor.jmx.HostForwarding - Settings 'settings.monitor.jmxUsername' and 'settings.monitor.jmxPassword' has been updated with value from a System property or one of the files: tests/dk/netarkivet/test-settings.xml [Mon Sep 15 10:49:20 CEST 2014] Remote JMX beanen genererede en Exception javax.management.InstanceNotFoundException: east:httpport=8081,location=EAST,index=1,applicationinstanceid=XX,channel=FOCUSED,machine=machine,replicaname=ReplicaOne,applicationname=SH at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:643) at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678) at dk.netarkivet.monitor.webinterface.JMXStatusEntry.getLogMessage(JMXStatusEntry.java:143) at dk.netarkivet.monitor.webinterface.JMXStatusEntryTester.testGetLogmessage(JMXStatusEntryTester.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runners.Suite.runChild(Suite.java:127) at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.953 sec - in dk.netarkivet.monitor.webinterface.JMXStatusEntryTester Running dk.netarkivet.monitor.webinterface.JMXSummaryUtilsTester Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.817 sec - in dk.netarkivet.monitor.webinterface.JMXSummaryUtilsTester Results : Tests run: 17, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ monitor-test --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/target/monitor-test-5.0-SNAPSHOT.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ monitor-test --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ monitor-test --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ monitor-test --- [INFO] Installing /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/target/monitor-test-5.0-SNAPSHOT.jar to /home/cibuild02/.m2/repository/org/netarchivesuite/monitor-test/5.0-SNAPSHOT/monitor-test-5.0-SNAPSHOT.jar [INFO] Installing /home/cibuild02/workspace/NetarchiveSuite-template/monitor/monitor-test/pom.xml to /home/cibuild02/.m2/repository/org/netarchivesuite/monitor-test/5.0-SNAPSHOT/monitor-test-5.0-SNAPSHOT.pom [JENKINS] Archiving disabled