Skip to content
Success

Console Output

Started by an SCM change
Building on master in workspace /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url git@github.com:spotify/dns-java.git # timeout=10
Fetching upstream changes from git@github.com:spotify/dns-java.git
 > /usr/bin/git --version # timeout=10
 > /usr/bin/git fetch --tags --progress git@github.com:spotify/dns-java.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision c554287e6f5a025576f4343ada84b2419277ebfd (refs/remotes/origin/master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f c554287e6f5a025576f4343ada84b2419277ebfd
Commit message: "Merge pull request #31 from spotify/ryan/specify-dns-servers"
 > /usr/bin/git rev-list --no-walk 8bcdf57e912a9dd494234a732e77d723750b163e # timeout=10
[workspace] $ /home/javastream.de/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven-3/bin/mvn clean install
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Spotify DNS wrapper library 3.1.6-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dns ---
[INFO] Deleting /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce) @ dns ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dns ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ dns ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/target/classes
[WARNING] /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/src/main/java/com/spotify/dns/ChangeNotifiers.java: /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/src/main/java/com/spotify/dns/ChangeNotifiers.java uses unchecked or unsafe operations.
[WARNING] /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/src/main/java/com/spotify/dns/ChangeNotifiers.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:manifest (default) @ dns ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ dns ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ dns ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/target/test-classes
[WARNING] /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/src/test/java/com/spotify/dns/DnsSrvResolversIT.java: Some input files use unchecked or unsafe operations.
[WARNING] /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/src/test/java/com/spotify/dns/DnsSrvResolversIT.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ dns ---
[INFO] Surefire report directory: /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.spotify.dns.AggregatingChangeNotifierTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.134 sec - in com.spotify.dns.AggregatingChangeNotifierTest
Running com.spotify.dns.AbstractChangeNotifierTest
[main] ERROR com.spotify.dns.AbstractChangeNotifier - Change notification listener threw exception
java.lang.RuntimeException: stupid listener
	at com.spotify.dns.AbstractChangeNotifier.notifyListener(AbstractChangeNotifier.java:91)
	at com.spotify.dns.AbstractChangeNotifier.fireRecordsUpdated(AbstractChangeNotifier.java:71)
	at com.spotify.dns.AbstractChangeNotifierTest.shouldIgnoreListenerExceptions(AbstractChangeNotifierTest.java:127)
	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:498)
	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.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	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: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.473 sec - in com.spotify.dns.AbstractChangeNotifierTest
Running com.spotify.dns.DnsSrvWatchersTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.876 sec - in com.spotify.dns.DnsSrvWatchersTest
Running com.spotify.dns.SimpleLookupFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec - in com.spotify.dns.SimpleLookupFactoryTest
Running com.spotify.dns.MeteredDnsSrvResolverTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec - in com.spotify.dns.MeteredDnsSrvResolverTest
Running com.spotify.dns.RetainingDnsSrvResolverTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.031 sec - in com.spotify.dns.RetainingDnsSrvResolverTest
Running com.spotify.dns.XBillDnsSrvResolverTest
[main] WARN com.spotify.dns.XBillDnsSrvResolver - No results returned for query 'thefqdn.'; result from XBill: 3 - host not found
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec - in com.spotify.dns.XBillDnsSrvResolverTest
Running com.spotify.dns.CachingLookupFactoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec - in com.spotify.dns.CachingLookupFactoryTest
Running com.spotify.dns.ServiceResolvingChangeNotifierTest
[main] ERROR com.spotify.dns.ServiceResolvingChangeNotifier - something wrong
com.spotify.dns.DnsException: something wrong
	at com.spotify.dns.ServiceResolvingChangeNotifier.run(ServiceResolvingChangeNotifier.java:96)
	at com.spotify.dns.ServiceResolvingChangeNotifierTest.shouldCallErrorHandlerOnResolveErrors(ServiceResolvingChangeNotifierTest.java:224)
	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:498)
	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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	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)
[main] ERROR com.spotify.dns.ServiceResolvingChangeNotifier - transformed
java.lang.NullPointerException: transformed
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:208)
	at com.spotify.dns.ServiceResolvingChangeNotifier.run(ServiceResolvingChangeNotifier.java:115)
	at com.spotify.dns.ServiceResolvingChangeNotifierTest.shouldDoSomethingWithNulls(ServiceResolvingChangeNotifierTest.java:206)
	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:498)
	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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	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: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec - in com.spotify.dns.ServiceResolvingChangeNotifierTest

Results :

Tests run: 40, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:bundle (default-bundle) @ dns ---
[INFO] 
[INFO] --- japicmp-maven-plugin:0.6.1:cmp (default) @ dns ---
[INFO] Written file '/home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/target/japicmp/japicmp.diff'.
[INFO] Written file '/home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/target/japicmp/japicmp.xml'.
[INFO] Written file '/home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/target/japicmp/japicmp.html'.
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ dns ---
[INFO] Installing /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/target/dns-3.1.6-SNAPSHOT.jar to /home/javastream.de/www/maven/com/spotify/dns/3.1.6-SNAPSHOT/dns-3.1.6-SNAPSHOT.jar
[INFO] Installing /home/javastream.de/jenkins/jobs/com.spotify.dns/workspace/pom.xml to /home/javastream.de/www/maven/com/spotify/dns/3.1.6-SNAPSHOT/dns-3.1.6-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:install (default-install) @ dns ---
[INFO] Installing com/spotify/dns/3.1.6-SNAPSHOT/dns-3.1.6-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:01 min
[INFO] Finished at: 2018-03-29T07:45:17+02:00
[INFO] Final Memory: 24M/76M
[INFO] ------------------------------------------------------------------------
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
Finished: SUCCESS