You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by BuildHive <bu...@cloudbees.com> on 2014/10/26 00:30:09 UTC

Build failed in Jenkins: jclouds » jclouds-labs-google #1553

See <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/1553/changes>

Changes:

[Adrian Cole] JCLOUDS-750 At the cost of one trivial type adapter, remove lots of junk with google auto.

------------------------------------------
[...truncated 312 lines...]
Caused by: java.lang.RuntimeException: Failed to invoke public org.jclouds.oauth.v2.domain.Token() with no args
	at com.google.gson.internal.ConstructorConstructor$3.construct(ConstructorConstructor.java:107)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:173)
	at com.google.gson.Gson.fromJson(Gson.java:805)
	at com.google.gson.Gson.fromJson(Gson.java:770)
	at com.google.gson.Gson.fromJson(Gson.java:719)
	at org.jclouds.json.internal.GsonWrapper.fromJson(GsonWrapper.java:42)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:82)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:76)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:62)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:42)
	at org.jclouds.json.BaseParserTest.test(BaseParserTest.java:69)
	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.InstantiationException: null
	at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at com.google.gson.internal.ConstructorConstructor$3.construct(ConstructorConstructor.java:104)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:173)
	at com.google.gson.Gson.fromJson(Gson.java:805)
	at com.google.gson.Gson.fromJson(Gson.java:770)
	at com.google.gson.Gson.fromJson(Gson.java:719)
	at org.jclouds.json.internal.GsonWrapper.fromJson(GsonWrapper.java:42)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:82)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:76)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:62)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:42)
	at org.jclouds.json.BaseParserTest.test(BaseParserTest.java:69)
	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)

testGenerateJWTRequest(org.jclouds.oauth.v2.features.OAuthApiExpectTest)  Time elapsed: 6.735 sec  <<< FAILURE!
org.jclouds.http.HttpResponseException: command: POST http://localhost:5000/o/oauth2/token HTTP/1.1 failed with response: HTTP/1.1 500 no response configured for request; content: [

----------------------------------------
The following request is not configured:
----------------------------------------
POST http://localhost:5000/o/oauth2/token HTTP/1.1
Accept: application/json
Content-Type: application/x-www-form-urlencoded
Content-Length: 641

grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer&assertion=eyJzaWduZXJBbGdvcml0aG0iOiJSUzI1NiIsInR5cGUiOiJKV1QifQ.eyJlbWlzc2lvblRpbWUiOjEzMjg1Njk3ODEsImV4cGlyYXRpb25UaW1lIjoxMzI4NTczMzgxLCJjbGFpbXMiOnsiaXNzIjoiNzYxMzI2Nzk4MDY5LXI1bWxqbGxuMXJkNGxyYmhnNzVlZmdpZ3AzNm03OGo1QGRldmVsb3Blci5nc2VydmljZWFjY291bnQuY29tIiwic2NvcGUiOiJodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL3ByZWRpY3Rpb24iLCJhdWQiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20vby9vYXV0aDIvdG9rZW4ifX0.C-cSxoFmt3ouXbzz3gdPS4cUMDxpZrvvOB6bwTQd9R34jDajbmU0QRmJnN9fD6XhjkbgkypNwVsfCGXe8R8MMZWcE3xHsybgQVtoCPa_-pSykiVBp4k3XFIuwAB72Lax61tgPNF4bj027kmii3E8iBefsn-k-zArjQPI6xkwa2I
----------------------------------------
Configured requests:

----------------------------------------
POST http://localhost:5000/o/oauth2/token HTTP/1.1
Accept: application/json
Content-Type: application/x-www-form-urlencoded
Content-Length: 582

grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer&assertion=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3NjEzMjY3OTgwNjktcjVtbGpsbG4xcmQ0bHJiaGc3NWVmZ2lncDM2bTc4ajVAZGV2ZWxvcGVyLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJzY29wZSI6Imh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvcHJlZGljdGlvbiIsImF1ZCI6Imh0dHBzOi8vYWNjb3VudHMuZ29vZ2xlLmNvbS9vL29hdXRoMi90b2tlbiIsImV4cCI6MTMyODU3MzM4MSwiaWF0IjoxMzI4NTY5NzgxfQ.W2Lesr_98AzVYiMbzxFqmwcOjpIWlwqkC6pNn1fXND9oSDNNnFhy-AAR6DKH-x9ZmxbY80R5fH-OCeWumXlVgceKN8Z2SmgQsu8ElTpypQA54j_5j8vUImJ5hsOUYPeyF1U2BUzZ3L5g03PXBA0YWwRU9E1ChH28dQBYuGiUmYw]
	at org.jclouds.http.handlers.CloseContentAndSetExceptionErrorHandler.handleError(CloseContentAndSetExceptionErrorHandler.java:38)
	at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:67)
	at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:128)
	at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:98)
	at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90)
	at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73)
	at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44)
	at org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:156)
	at org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:123)
	at com.sun.proxy.$Proxy46.authenticate(Unknown Source)
	at org.jclouds.oauth.v2.features.OAuthApiExpectTest.testGenerateJWTRequest(OAuthApiExpectTest.java:95)


Results :

Failed tests: 
  ParseTokenTest>BaseParserTest.test:69 » HttpResponse Error parsing input
{stat...
  OAuthApiExpectTest.testGenerateJWTRequest:95 » HttpResponse command: POST http...

Tests run: 13, Failures: 2, Errors: 0, Skipped: 0

[ERROR] There are test failures.

Please refer to <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/surefire-reports> for the individual test results.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ oauth ---
[INFO] Building jar: <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/oauth-2.0.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ oauth ---
[INFO] 
[INFO] --- apache-rat-plugin:0.10:check (default) @ oauth ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: **/src/test/resources/**/*.sh
[INFO] Exclude: **/src/test/resources/**/*.bat
[INFO] Exclude: **/src/test/resources/**/*.cmd
[INFO] Exclude: **/src/test/resources/**/*.txt
[INFO] Exclude: **/src/test/resources/**/*.gz
[INFO] Exclude: **/src/test/resources/**/*.xml
[INFO] Exclude: **/services/*LoggingModule
[INFO] Exclude: **/services/*ApiMetadata
[INFO] Exclude: **/services/*ProviderMetadata
[INFO] Exclude: **/LICENSE.txt
[INFO] Exclude: **/header.txt
[INFO] Exclude: **/NOTICE.txt
[INFO] Exclude: **/DISCLAIMER
[INFO] Exclude: **/BUILD.txt
[INFO] Exclude: **/CHANGES.txt
[INFO] Exclude: **/README.md
[INFO] Exclude: **/README.txt
[INFO] Exclude: **/DEPENDENCIES
[INFO] Exclude: **/CONTRIBUTING.md
[INFO] Exclude: **/*json
[INFO] Exclude: **/*readme
[INFO] Exclude: **/test
[INFO] Exclude: **/test.pub
[INFO] Exclude: **/target/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/bin/**
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.dir-locals.el
[INFO] Exclude: **/.project
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.eml
[INFO] Exclude: **/*.ipr
[INFO] Exclude: **/*.iws
[INFO] Exclude: **/*.DS_STORE
[INFO] Exclude: **/TAGS
[INFO] Exclude: **/.metadata/**
[INFO] Exclude: **/atlassian-ide-plugin.xml
[INFO] Exclude: **/.DS_Store
[INFO] Exclude: .mailmap
[INFO] Exclude: .git/**
[INFO] Exclude: **/.gitignore
[INFO] Exclude: **/.gitattributes
[INFO] Exclude: **/.java-version
[INFO] Exclude: **/modernizer_exclusions.txt
[INFO] Exclude: .repository/**
[INFO] Exclude: gc.log
[INFO] 47 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 45 licence.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ oauth ---
[INFO] Building jar: <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/oauth-2.0.0-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (integration) @ oauth ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-duplicate-finder-plugin:1.0.5:check (default) @ oauth ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (default) @ oauth ---
[INFO] 
[WARNING] TokenAdapter.java[23:8] (imports) UnusedImports: Unused import - com.google.gson.FieldNamingPolicy.
[WARNING] Token.java[19:8] (imports) UnusedImports: Unused import - javax.inject.Named.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache jclouds labs google ........................ SUCCESS [34.990s]
[INFO] jclouds OAuth core ................................ FAILURE [44.110s]
[INFO] jclouds Google Compute Engine provider ............ SKIPPED
[INFO] jclouds Google Cloud Storage provider ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:28.233s
[INFO] Finished at: Sat Oct 25 22:30:07 UTC 2014
[INFO] Final Memory: 35M/93M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.13:check (default) on project oauth: You have 2 Checkstyle violations. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.13:check (default) on project oauth: You have 2 Checkstyle violations.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
	at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
	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.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
	at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[JENKINS] Archiving <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/pom.xml> to org.apache.jclouds.labs/jclouds-labs-google/2.0.0-SNAPSHOT/jclouds-labs-google-2.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/target/jclouds-labs-google-2.0.0-SNAPSHOT-tests.jar> to org.apache.jclouds.labs/jclouds-labs-google/2.0.0-SNAPSHOT/jclouds-labs-google-2.0.0-SNAPSHOT-tests.jar
	at java.lang.reflect.Method.invoke(Method.java:606)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:134)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:69)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:328)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.maven.plugin.MojoFailureException: You have 2 Checkstyle violations.
	at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execute(CheckstyleViolationCheckMojo.java:582)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 30 more
[ERROR] 
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :oauth
[JENKINS] Archiving <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/google-cloud-storage/pom.xml> to org.apache.jclouds.labs/google-cloud-storage/2.0.0-SNAPSHOT/google-cloud-storage-2.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/google-compute-engine/pom.xml> to org.apache.jclouds.labs/google-compute-engine/2.0.0-SNAPSHOT/google-compute-engine-2.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/pom.xml> to org.apache.jclouds.labs/oauth/2.0.0-SNAPSHOT/oauth-2.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/oauth-2.0.0-SNAPSHOT.jar> to org.apache.jclouds.labs/oauth/2.0.0-SNAPSHOT/oauth-2.0.0-SNAPSHOT.jar
[JENKINS] Archiving <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/oauth-2.0.0-SNAPSHOT-tests.jar> to org.apache.jclouds.labs/oauth/2.0.0-SNAPSHOT/oauth-2.0.0-SNAPSHOT-tests.jar
channel stopped