SuccessConsole Output

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] Nothing to compile - all classes are up to date
[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
-------------------------------------------------------
Running dk.netarkivet.monitor.logging.CachingLogHandlerTester
13:57:52.623 [main] DEBUG dk.netarkivet.common.utils.Settings - Searching for a setting for key: settings.common.replicas.replica.replicaId
13:57:52.629 [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.784 sec - in dk.netarkivet.monitor.logging.CachingLogHandlerTester
Running dk.netarkivet.monitor.registry.MonitorRegistryServerTester
13:57:53.669 [main] INFO  dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Creating instance of dk.netarkivet.common.distribute.JMSConnectionMockupMQ
13:57:53.678 [main] INFO  dk.netarkivet.monitor.registry.distribute.MonitorRegistryServer - MonitorRegistryServer listening for messages on channel '[Topic 'DEV_COMMON_MONITOR_TOPIC']'
13:57:53.679 [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 sec - in dk.netarkivet.monitor.registry.MonitorRegistryServerTester
Running dk.netarkivet.monitor.MonitorSettingsTester
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 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
13:57:53.684 [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.033 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.018 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.004 sec - in dk.netarkivet.monitor.jmx.CachingProxyFactoryConnectionTest
Running dk.netarkivet.monitor.webinterface.StatusSiteSectionTester
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in dk.netarkivet.monitor.webinterface.StatusSiteSectionTester
Running dk.netarkivet.monitor.webinterface.JMXStatusEntryTester
13:57:53.753 [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
13:57:53.759 [main] DEBUG dk.netarkivet.monitor.jmx.HostForwarding - Adding new jmx hosts '[Host=localhost, JMXport=8081, RMIport=8181, last seen live at Mon Sep 22 13:57:53 CEST 2014]'
13:57:53.760 [main] INFO  dk.netarkivet.monitor.jmx.HostForwarding - Found 1 new JMX hosts
13:57:53.760 [main] DEBUG dk.netarkivet.monitor.jmx.HostForwarding - Forwarding mbeans 'dk.netarkivet.common.logging:*' for host: Host=localhost, JMXport=8081, RMIport=8181, last seen live at Mon Sep 22 13:57:53 CEST 2014
13:57:53.764 [Thread-2] DEBUG dk.netarkivet.common.utils.JMXUtils - Establishing a connection to server 'localhost' on jmxport/rmiport=8081/8181 using username=monitorRole
13:57:53.764 [Thread-2] DEBUG dk.netarkivet.common.utils.JMXUtils - Property 'java.naming.factory.initial' is set to: com.sun.jndi.rmi.registry.RegistryContextFactory
13:57:53.771 [Thread-2] WARN  d.n.m.jmx.RmiProxyConnectionFactory$MBeanServerProxyConnection - Unable to connect to remote JMX server 'localhost', port '8081', rmiPort '8181', user 'monitorRole'
dk.netarkivet.common.exceptions.IOFailure: Could not connect to service:jmx:rmi://localhost:8181/jndi/rmi://localhost:8081/jmxrmi
	at dk.netarkivet.common.utils.JMXUtils.getMBeanServerConnection(JMXUtils.java:188) ~[common-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.common.utils.JMXUtils.getMBeanServerConnection(JMXUtils.java:168) ~[common-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.monitor.jmx.RmiProxyConnectionFactory$MBeanServerProxyConnection$1.run(RmiProxyConnectionFactory.java:121) ~[monitor-5.0-SNAPSHOT.jar:na]
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused]
	at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369) ~[na:1.8.0_11]
	at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270) ~[na:1.8.0_11]
	at dk.netarkivet.common.utils.JMXUtils.getMBeanServerConnection(JMXUtils.java:186) ~[common-5.0-SNAPSHOT.jar:na]
	... 2 common frames omitted
Caused by: javax.naming.ServiceUnavailableException: null
	at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:122) ~[na:1.8.0_11]
	at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205) ~[na:1.8.0_11]
	at javax.naming.InitialContext.lookup(InitialContext.java:417) ~[na:1.8.0_11]
	at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1929) ~[na:1.8.0_11]
	at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1896) ~[na:1.8.0_11]
	at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287) ~[na:1.8.0_11]
	... 4 common frames omitted
Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) ~[na:1.8.0_11]
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) ~[na:1.8.0_11]
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) ~[na:1.8.0_11]
	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342) ~[na:1.8.0_11]
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) ~[na:1.8.0_11]
	at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118) ~[na:1.8.0_11]
	... 9 common frames omitted
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_11]
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) ~[na:1.8.0_11]
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_11]
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_11]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_11]
	at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_11]
	at java.net.Socket.connect(Socket.java:538) ~[na:1.8.0_11]
	at java.net.Socket.<init>(Socket.java:434) ~[na:1.8.0_11]
	at java.net.Socket.<init>(Socket.java:211) ~[na:1.8.0_11]
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) ~[na:1.8.0_11]
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148) ~[na:1.8.0_11]
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613) ~[na:1.8.0_11]
	... 14 common frames omitted
13:57:53.773 [main] WARN  dk.netarkivet.monitor.jmx.HostForwarding - Failure connecting to remote JMX MBeanserver (Host=localhost, JMXport=8081, RMIport=8181, last seen live at Mon Sep 22 13:57:53 CEST 2014)
dk.netarkivet.common.exceptions.IOFailure: Could not get connection for query 'dk.netarkivet.common.logging:*'
	at dk.netarkivet.monitor.jmx.RmiProxyConnectionFactory$MBeanServerProxyConnection.query(RmiProxyConnectionFactory.java:169) ~[monitor-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.monitor.jmx.HostForwarding.createProxyMBeansForHost(HostForwarding.java:303) [monitor-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.monitor.jmx.HostForwarding.registerRemoteMbeans(HostForwarding.java:265) [monitor-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.monitor.jmx.HostForwarding.updateJmx(HostForwarding.java:216) [monitor-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.monitor.jmx.HostForwarding.<init>(HostForwarding.java:144) [monitor-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.monitor.jmx.HostForwarding.getInstance(HostForwarding.java:161) [monitor-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.monitor.webinterface.JMXStatusEntry.getLogMessage(JMXStatusEntry.java:141) [monitor-5.0-SNAPSHOT.jar:na]
	at dk.netarkivet.monitor.webinterface.JMXStatusEntryTester.testGetLogmessage(JMXStatusEntryTester.java:70) [test-classes/:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_11]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_11]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_11]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_11]
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na]
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na]
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na]
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na]
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) [junit-4.11.jar:na]
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) [junit-4.11.jar:na]
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na]
	at org.junit.runners.Suite.runChild(Suite.java:127) [junit-4.11.jar:na]
	at org.junit.runners.Suite.runChild(Suite.java:26) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na]
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na]
	at org.junit.runner.JUnitCore.run(JUnitCore.java:160) [junit-4.11.jar:na]
	at org.junit.runner.JUnitCore.run(JUnitCore.java:138) [junit-4.11.jar:na]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113) [surefire-junit47-2.17.jar:2.17]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85) [surefire-junit47-2.17.jar:2.17]
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) [surefire-junit47-2.17.jar:2.17]
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134) [surefire-junit47-2.17.jar:2.17]
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) [surefire-booter-2.17.jar:2.17]
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) [surefire-booter-2.17.jar:2.17]
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.17.jar:2.17]
[Mon Sep 22 13:57:53 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.046 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.018 sec - in dk.netarkivet.monitor.webinterface.JMXSummaryUtilsTester
13:57:53.815 [Thread-1] INFO  dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Cleaning up dk.netarkivet.common.distribute.JMSConnectionMockupMQ
13:57:53.816 [Thread-1] INFO  dk.netarkivet.common.distribute.JMSConnection - Starting cleanup
13:57:53.817 [Thread-1] INFO  dk.netarkivet.common.distribute.JMSConnection - Cleanup finished
Cleaned up dk.netarkivet.common.distribute.JMSConnectionMockupMQ
13:57:53.817 [Thread-1] INFO  dk.netarkivet.common.distribute.JMSConnectionMockupMQ - Cleaned up dk.netarkivet.common.distribute.JMSConnectionMockupMQ

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