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/11/08 01:44:01 UTC

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

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

Changes:

[ccustine] Fix support for bearer tokens

------------------------------------------
[...truncated 160 lines...]
[INFO] Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/jclouds/jclouds-core/2.0.0-SNAPSHOT/maven-metadata.xml (1000 B at 2.2 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/jclouds/driver/jclouds-slf4j/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/jclouds/driver/jclouds-slf4j/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/jclouds/driver/jclouds-slf4j/2.0.0-SNAPSHOT/maven-metadata.xml (1008 B at 3.9 KB/sec)
[INFO] Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/jclouds/driver/jclouds-slf4j/2.0.0-SNAPSHOT/maven-metadata.xml (1008 B at 3.8 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oauth ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.1.1:enforce (enforce-banned-dependencies) @ oauth ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.1.1:enforce (enforce-java) @ oauth ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ oauth ---
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/jclouds/jclouds-project/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/jclouds/jclouds-core/2.0.0-SNAPSHOT/maven-metadata.xml
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oauth ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/main/clojure>
[INFO] skip non existing resourceDirectory <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/main/resources>
[INFO] skip non existing resourceDirectory <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/classes>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ oauth ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 24 source files to <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/classes>
[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] No processor claimed any of these annotations: com.google.inject.Singleton,javax.inject.Qualifier,org.jclouds.location.Provider,org.jclouds.json.SerializedNames,org.jclouds.rest.annotations.BinderParam,com.google.inject.Inject,javax.inject.Inject,javax.inject.Named,com.google.inject.Provides,com.google.auto.value.AutoValue,javax.ws.rs.POST,org.jclouds.rest.annotations.Endpoint,javax.ws.rs.Consumes,org.jclouds.oauth.v2.config.Authentication,com.google.inject.name.Named,com.google.common.annotations.VisibleForTesting,org.jclouds.rest.ConfiguresHttpApi,javax.annotation.PostConstruct,javax.inject.Singleton
[WARNING] No processor claimed any of these annotations: javax.annotation.Generated
[WARNING] <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/main/java/org/jclouds/oauth/v2/binders/OAuthTokenBinder.java>: <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/main/java/org/jclouds/oauth/v2/binders/OAuthTokenBinder.java> uses unchecked or unsafe operations.
[WARNING] <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/main/java/org/jclouds/oauth/v2/binders/OAuthTokenBinder.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oauth ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/test/clojure>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ oauth ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/test-classes>
[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] No processor claimed any of these annotations: javax.ws.rs.Consumes,org.testng.annotations.Test
[WARNING] <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/test/java/org/jclouds/oauth/v2/binders/OAuthTokenBinderTest.java>: <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/test/java/org/jclouds/oauth/v2/binders/OAuthTokenBinderTest.java> uses or overrides a deprecated API.
[WARNING] <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/src/test/java/org/jclouds/oauth/v2/binders/OAuthTokenBinderTest.java>: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ oauth ---
[INFO] Surefire report directory: <https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/ws/oauth/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: TestNG652Configurator
Starting test testTransformableToContains(org.jclouds.oauth.v2.OAuthApiMetadataTest)
Starting test testWithId(org.jclouds.oauth.v2.OAuthApiMetadataTest)
Starting test testLoadPKString(org.jclouds.oauth.v2.functions.OAuthCredentialsFromPKTest)
Starting test testAllContains(org.jclouds.oauth.v2.OAuthApiMetadataTest)
[pool-1-thread-3] Test testTransformableToContains(org.jclouds.oauth.v2.OAuthApiMetadataTest) succeeded: 44ms
Test suite progress: tests succeeded: 1, failed: 0, skipped: 0.
Starting test testUsedBase64IsUrlSafe(org.jclouds.oauth.v2.internal.Base64UrlSafeTest)
Starting test testAuthorizationExceptionIsThrownOnBadKeys(org.jclouds.oauth.v2.functions.OAuthCredentialsSupplierTest)
[pool-1-thread-2] Test testAllContains(org.jclouds.oauth.v2.OAuthApiMetadataTest) succeeded: 102ms
Test suite progress: tests succeeded: 2, failed: 0, skipped: 0.
Starting test testCredentialsAreLoadedOnRightAlgoAndCredentials(org.jclouds.oauth.v2.functions.OAuthCredentialsSupplierTest)
[pool-1-thread-1] Test testUsedBase64IsUrlSafe(org.jclouds.oauth.v2.internal.Base64UrlSafeTest) succeeded: 89ms
Test suite progress: tests succeeded: 3, failed: 0, skipped: 0.
Starting test testGSEChildExceptionsPropagateAsAuthorizationException(org.jclouds.oauth.v2.functions.OAuthCredentialsSupplierTest)
[pool-1-thread-1] Test testGSEChildExceptionsPropagateAsAuthorizationException(org.jclouds.oauth.v2.functions.OAuthCredentialsSupplierTest) succeeded: 1ms
Test suite progress: tests succeeded: 4, failed: 0, skipped: 0.
Starting test test409MakesIllegalStateException(org.jclouds.oauth.v2.handlers.OAuthErrorHandlerTest)
[pool-1-thread-4] Test testWithId(org.jclouds.oauth.v2.OAuthApiMetadataTest) succeeded: 193ms
Test suite progress: tests succeeded: 5, failed: 0, skipped: 0.
Starting test testSignPayload(org.jclouds.oauth.v2.functions.SignerFunctionTest)
[pool-1-thread-3] Test testAuthorizationExceptionIsThrownOnBadKeys(org.jclouds.oauth.v2.functions.OAuthCredentialsSupplierTest) succeeded: 389ms
Test suite progress: tests succeeded: 6, failed: 0, skipped: 0.
[pool-1-thread-5] Test testLoadPKString(org.jclouds.oauth.v2.functions.OAuthCredentialsFromPKTest) succeeded: 633ms
Test suite progress: tests succeeded: 7, failed: 0, skipped: 0.
[pool-1-thread-2] Test testCredentialsAreLoadedOnRightAlgoAndCredentials(org.jclouds.oauth.v2.functions.OAuthCredentialsSupplierTest) succeeded: 524ms
Test suite progress: tests succeeded: 8, failed: 0, skipped: 0.
[pool-1-thread-4] Test testSignPayload(org.jclouds.oauth.v2.functions.SignerFunctionTest) succeeded: 965ms
Test suite progress: tests succeeded: 9, failed: 0, skipped: 0.
[pool-1-thread-1] Test test409MakesIllegalStateException(org.jclouds.oauth.v2.handlers.OAuthErrorHandlerTest) succeeded: 1361ms
Test suite progress: tests succeeded: 10, failed: 0, skipped: 0.
Starting test testPayloadIsUrlSafe(org.jclouds.oauth.v2.binders.OAuthTokenBinderTest)
[pool-2-thread-1] Test testPayloadIsUrlSafe(org.jclouds.oauth.v2.binders.OAuthTokenBinderTest) succeeded: 4164ms
Test suite progress: tests succeeded: 11, failed: 0, skipped: 0.
Starting test testGenerateJWTRequest(org.jclouds.oauth.v2.features.OAuthApiMockTest)
Nov 08, 2014 12:43:47 AM com.squareup.okhttp.mockwebserver.MockWebServer$3 processOneRequest
INFO: Received request: POST / HTTP/1.1 and responded: HTTP/1.1 200 OK
[pool-4-thread-1] Test testGenerateJWTRequest(org.jclouds.oauth.v2.features.OAuthApiMockTest) succeeded: 1147ms
Test suite progress: tests succeeded: 12, failed: 0, skipped: 0.
Starting test test(org.jclouds.oauth.v2.parse.ParseTokenTest)
[pool-5-thread-1] Test test(org.jclouds.oauth.v2.parse.ParseTokenTest) succeeded: 83ms
Test suite progress: tests succeeded: 13, failed: 0, skipped: 0.
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.335 sec - in TestSuite

Results :

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

[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] 40 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: 38 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] OAuthTestUtils.java[30:8] (imports) UnusedImports: Unused import - org.jclouds.oauth.v2.config.CredentialType.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache jclouds labs google ........................ SUCCESS [37.968s]
[INFO] jclouds OAuth core ................................ FAILURE [44.121s]
[INFO] jclouds Google Compute Engine provider ............ SKIPPED
[INFO] jclouds Google Cloud Storage provider ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:31.861s
[INFO] Finished at: Sat Nov 08 00:43:59 UTC 2014
[INFO] Final Memory: 36M/89M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.13:check (default) on project oauth: You have 1 Checkstyle violation. -> [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 1 Checkstyle violation.
	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)
	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 1 Checkstyle violation.
	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/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
[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