Skip to content
Failed

Console Output

Started by user wea_ondara
Building in workspace /var/lib/jenkins/workspace/BungeePermsTest
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/weaondara/BungeePerms.git # timeout=10
Fetching upstream changes from https://github.com/weaondara/BungeePerms.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://github.com/weaondara/BungeePerms.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 0f3dace137ef5dc04a7cac88321ecf35ace5c0d0 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0f3dace137ef5dc04a7cac88321ecf35ace5c0d0
 > git rev-list 0f3dace137ef5dc04a7cac88321ecf35ace5c0d0 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
[BungeePermsTest] $ /usr/lib/jvm/java-7-oracle/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.5.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-2.53.2.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.5.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 44527
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/workspace/BungeePermsTest/pom.xml clean install -Dbuild.number=#42 -Dbuild.type=dev-test
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building BungeePerms 3.0
[INFO] ------------------------------------------------------------------------
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-api/1.8-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-parent/1.8-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-chat/1.8-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-config/1.8-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-event/1.8-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-protocol/1.8-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/com/mojang/AccountsClient/0.0.1-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/org/spigotmc/spigot-api/1.8-R0.1-SNAPSHOT/maven-metadata.xml
[WARNING] The POM for net.milkbowl.vault:Vault:jar:1.2.32 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.ess3:Essentials:jar:2.13.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ BungeePerms ---
[INFO] Deleting file set: /var/lib/jenkins/workspace/BungeePermsTest/target (included: [**], excluded: [])
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ BungeePerms ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ BungeePerms ---
[INFO] Compiling 113 source files to /var/lib/jenkins/workspace/BungeePermsTest/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ BungeePerms ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/BungeePermsTest/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ BungeePerms ---
[INFO] Compiling 4 source files to /var/lib/jenkins/workspace/BungeePermsTest/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ BungeePerms ---
[INFO] Surefire report directory: /var/lib/jenkins/workspace/BungeePermsTest/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.alpenblock.bungeeperms.util.ConcurrentListTest
tesing concurrency
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.298 sec
Running net.alpenblock.bungeeperms.io.MySQL2BackEndTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running net.alpenblock.bungeeperms.uuid.UUIDFetcherTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.446 sec
Running net.alpenblock.bungeeperms.PermissionsResolverTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

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

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ BungeePerms ---
[INFO] Building jar: /var/lib/jenkins/workspace/BungeePermsTest/target/BungeePerms-3.0-dev-test-#42.jar
[INFO] 
[INFO] --- maven-shade-plugin:2.1:shade (default) @ BungeePerms ---
[INFO] Excluding net.md-5:bungeecord-api:jar:1.8-SNAPSHOT from the shaded jar.
[INFO] Excluding net.md-5:bungeecord-chat:jar:1.8-SNAPSHOT from the shaded jar.
[INFO] Excluding net.md-5:bungeecord-config:jar:1.8-SNAPSHOT from the shaded jar.
[INFO] Excluding net.md-5:bungeecord-event:jar:1.8-SNAPSHOT from the shaded jar.
[INFO] Excluding net.md-5:bungeecord-protocol:jar:1.8-SNAPSHOT from the shaded jar.
[INFO] Excluding io.netty:netty-codec:jar:4.0.33.Final from the shaded jar.
[INFO] Excluding io.netty:netty-transport:jar:4.0.33.Final from the shaded jar.
[INFO] Excluding io.netty:netty-buffer:jar:4.0.33.Final from the shaded jar.
[INFO] Excluding io.netty:netty-common:jar:4.0.33.Final from the shaded jar.
[INFO] Excluding net.sf.trove4j:trove4j:jar:3.0.3 from the shaded jar.
[INFO] Excluding com.google.guava:guava:jar:18.0 from the shaded jar.
[INFO] Excluding org.projectlombok:lombok:jar:1.12.2 from the shaded jar.
[INFO] Including com.mojang:AccountsClient:jar:0.0.1-SNAPSHOT in the shaded jar.
[INFO] Including com.google.code.gson:gson:jar:2.2.4 in the shaded jar.
[INFO] Excluding junit:junit:jar:4.11 from the shaded jar.
[INFO] Excluding org.hamcrest:hamcrest-core:jar:1.3 from the shaded jar.
[INFO] Excluding org.spigotmc:spigot-api:jar:1.8-R0.1-SNAPSHOT from the shaded jar.
[INFO] Excluding commons-lang:commons-lang:jar:2.6 from the shaded jar.
[INFO] Excluding com.googlecode.json-simple:json-simple:jar:1.1.1 from the shaded jar.
[INFO] Excluding org.avaje:ebean:jar:2.8.1 from the shaded jar.
[INFO] Excluding javax.persistence:persistence-api:jar:1.0 from the shaded jar.
[INFO] Excluding org.yaml:snakeyaml:jar:1.14 from the shaded jar.
[INFO] Excluding com.sk89q:worldedit:jar:5.6.2 from the shaded jar.
[INFO] Excluding de.schlichtherle:truezip:jar:6.8.3 from the shaded jar.
[INFO] Excluding rhino:js:jar:1.7R2 from the shaded jar.
[INFO] Excluding com.sk89q:jchronic:jar:0.2.4a from the shaded jar.
[INFO] Excluding net.milkbowl.vault:Vault:jar:1.2.32 from the shaded jar.
[INFO] Excluding net.ess3:Essentials:jar:2.13.1 from the shaded jar.
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /var/lib/jenkins/workspace/BungeePermsTest/target/BungeePerms-3.0-dev-test-#42.jar with /var/lib/jenkins/workspace/BungeePermsTest/target/BungeePerms-3.0-shaded.jar
[INFO] Dependency-reduced POM written at: /var/lib/jenkins/workspace/BungeePermsTest/dependency-reduced-pom.xml
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install-file (default) @ BungeePerms ---
[INFO] Installing /var/lib/jenkins/workspace/BungeePermsTest/target/BungeePerms-3.0-dev-test-#42.jar to /var/lib/jenkins/.m2/repository/net/alpenblock/BungeePerms/3.0-dev-test-#42/BungeePerms-3.0-dev-test-#42.jar
[INFO] Installing /var/lib/jenkins/workspace/BungeePermsTest/pom.xml to /var/lib/jenkins/.m2/repository/net/alpenblock/BungeePerms/3.0-dev-test-#42/BungeePerms-3.0-dev-test-#42.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.542s
[INFO] Finished at: Fri Feb 12 20:36:28 CET 2016
[INFO] Final Memory: 34M/499M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/workspace/BungeePermsTest/dependency-reduced-pom.xml to net.alpenblock/BungeePerms/3.0/BungeePerms-3.0.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/BungeePermsTest/target/BungeePerms-3.0-dev-test-#42.jar to net.alpenblock/BungeePerms/3.0/BungeePerms-3.0.jar
[BungeePermsTest] $ mvn deploy -Dbuild.number=#42 -Dbuild.type=dev-test
channel stopped
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building BungeePerms 3.0
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom
4/6 KB   
6/6 KB   
         
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom (6 KB at 10.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom
4/13 KB   
8/13 KB   
12/13 KB   
13/13 KB   
           
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom (13 KB at 231.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/21/maven-parent-21.pom
4/26 KB    
8/26 KB   
12/26 KB   
16/26 KB   
20/26 KB   
24/26 KB   
26/26 KB   
           
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/21/maven-parent-21.pom (26 KB at 459.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom
4/15 KB    
8/15 KB   
12/15 KB   
15/15 KB   
           
Downloaded: https://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom (15 KB at 361.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.jar
4/27 KB    
8/27 KB   
12/27 KB   
16/27 KB   
20/27 KB   
24/27 KB   
27/27 KB   
           
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.jar (27 KB at 476.4 KB/sec)
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-api/1.8-SNAPSHOT/maven-metadata.xml
           
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-parent/1.8-SNAPSHOT/maven-metadata.xml
           
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-chat/1.8-SNAPSHOT/maven-metadata.xml
           
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-config/1.8-SNAPSHOT/maven-metadata.xml
           
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-event/1.8-SNAPSHOT/maven-metadata.xml
           
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-protocol/1.8-SNAPSHOT/maven-metadata.xml
           
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/com/mojang/AccountsClient/0.0.1-SNAPSHOT/maven-metadata.xml
           
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/org/spigotmc/spigot-api/1.8-R0.1-SNAPSHOT/maven-metadata.xml
           
[WARNING] The POM for net.milkbowl.vault:Vault:jar:1.2.32 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.ess3:Essentials:jar:2.13.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ BungeePerms ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ BungeePerms ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ BungeePerms ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/BungeePermsTest/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ BungeePerms ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ BungeePerms ---
[INFO] Surefire report directory: /var/lib/jenkins/workspace/BungeePermsTest/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.alpenblock.bungeeperms.util.ConcurrentListTest
tesing concurrency
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.27 sec
Running net.alpenblock.bungeeperms.io.MySQL2BackEndTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running net.alpenblock.bungeeperms.uuid.UUIDFetcherTest
java.io.IOException: Server returned HTTP response code: 429 for URL: https://sessionserver.mojang.com/session/minecraft/profile/10976043a8204412bfcdbc7ec3e59998
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at net.alpenblock.bungeeperms.uuid.UUIDFetcher.getPlayerNameFromMojang(UUIDFetcher.java:99)
	at net.alpenblock.bungeeperms.uuid.UUIDFetcherTest.testGetPlayerNames(UUIDFetcherTest.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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.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.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.022 sec <<< FAILURE!
Running net.alpenblock.bungeeperms.PermissionsResolverTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec

Results :

Tests in error: 
  testGetPlayerNames(net.alpenblock.bungeeperms.uuid.UUIDFetcherTest)

Tests run: 47, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.958s
[INFO] Finished at: Fri Feb 12 20:36:36 CET 2016
[INFO] Final Memory: 11M/226M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project BungeePerms: There are test failures.
[ERROR] 
[ERROR] Please refer to /var/lib/jenkins/workspace/BungeePermsTest/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE