This build failed when publishing to maven. I pinged builds
folks<http://mail-archives.apache.org/mod_mbox/www-builds/201210.mbox/browser>
to
confirm the settings are correct (presumably they're wrong since it failed).

Where did the settings come from?

Maven has a file called ~/.m2/settings.xml that contains stuff like
usernames & passwords for repositories. This allows you to configure a
project to use a certain repo, but not embed credentials in the project
itself.

The Apache master
POM<https://repository.apache.org/service/local/repositories/releases/content/org/apache/apache/11/apache-11.pom>has
the snapshots repository defined, and we attempt to publish to the
same
ID & repo URL. As long as the repo ID you publish to, and the settings.xml
repo ID match, the credentials should work fine. I was able to test this
locally. It did not work on the build machines, so we need to troubleshoot
the publishing process from this new environment.

I'll followup after hearing back from the build folks.

--travis




On Mon, Oct 1, 2012 at 8:39 PM, Apache Jenkins Server <
[email protected]> wrote:

> See <https://builds.apache.org/job/Hcatalog-trunk-build/277/changes>
>
> Changes:
>
> [travis] HCATALOG-517 Misc. build cleanup
>
> ------------------------------------------
> [...truncated 5941 lines...]
>     [junit] Running org.apache.hcatalog.mapreduce.TestPassProperties
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.04 sec
>     [junit] Running org.apache.hcatalog.mapreduce.TestSequenceFileReadWrite
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 53.18 sec
>     [junit] Running
> org.apache.hcatalog.rcfile.TestRCFileMapReduceInputFormat
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.185 sec
>     [junit] Running
> org.apache.hcatalog.security.TestHdfsAuthorizationProvider
>     [junit] Tests run: 34, Failures: 0, Errors: 0, Time elapsed: 17.162 sec
>
> _check-ivy-retrieve:
>
> _ivy-init:
>      [echo] hcatalog-pig-adapter
> [ivy:configure] :: loading settings :: file = <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/ivy/ivysettings.xml
> >
>      [echo] Generating <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/ivy/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.pom
> >
>
> ivy-init:
>
> ivy-retrieve:
>
> compile:
>      [echo] hcatalog-pig-adapter
>
> mvn-init:
>      [echo] hcatalog-pig-adapter
>       [get] Destination already exists (skipping): <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar
> >
>
> jar:
>      [echo] hcatalog-pig-adapter
> [artifact:install] [INFO] Installing <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.jar>
> to
> /home/jenkins/.m2/repository/org/apache/hcatalog/hcatalog-pig-adapter/0.4.0-SNAPSTHOT/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.jar
>
> compile-test:
>      [echo] hcatalog-pig-adapter
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/test/classes
> >
>     [javac] Compiling 10 source files to <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/test/classes
> >
>
> test:
>      [echo] hcatalog-pig-adapter
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/test/logs
> >
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/test/hcat_junit_warehouse
> >
>     [junit] WARNING: multiple versions of ant detected in path for junit
>     [junit]
>  
> jar:file:/home/jenkins/tools/ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/Project.class
>     [junit]      and jar:<
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/ivy/lib/test/ant-ant-1.6.5.jar!/org/apache/tools/ant/Project.class
> >
>     [junit] Running org.apache.hcatalog.pig.TestHCatLoader
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 64.434 sec
>     [junit] Running org.apache.hcatalog.pig.TestHCatLoaderComplexSchema
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 140.204 sec
>     [junit] Running org.apache.hcatalog.pig.TestHCatLoaderStorer
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 47.41 sec
>     [junit] Running org.apache.hcatalog.pig.TestHCatStorer
>     [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 116.72 sec
>     [junit] Running org.apache.hcatalog.pig.TestHCatStorerMulti
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 28.924 sec
>     [junit] Running org.apache.hcatalog.pig.TestHCatStorerWrapper
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 13.426 sec
>     [junit] Running org.apache.hcatalog.pig.TestPigHCatUtil
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.182 sec
>
> mvn-init:
>      [echo] hcatalog-server-extensions
>       [get] Destination already exists (skipping): <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar
> >
>
> _check-mvn-dependencies:
>
> mvn-dependencies:
>
> ivy-retrieve:
>
> compile:
>      [echo] hcatalog-server-extensions
>
> jar:
>      [echo] hcatalog-server-extensions
> [artifact:install] [INFO] Installing <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/hcatalog-server-extensions-0.4.0-SNAPSTHOT.jar>
> to
> /home/jenkins/.m2/repository/org/apache/hcatalog/hcatalog-server-extensions/0.4.0-SNAPSTHOT/hcatalog-server-extensions-0.4.0-SNAPSTHOT.jar
>
> compile-test:
>      [echo] hcatalog-server-extensions
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/test/classes
> >
>     [javac] Compiling 2 source files to <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/test/classes
> >
>
> test:
>      [echo] hcatalog-server-extensions
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/test/logs
> >
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/test/hcat_junit_warehouse
> >
>     [junit] WARNING: multiple versions of ant detected in path for junit
>     [junit]
>  
> jar:file:/home/jenkins/tools/ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/Project.class
>     [junit]      and jar:<
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/lib/test/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
> >
>     [junit] Running org.apache.hcatalog.listener.TestMsgBusConnection
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.403 sec
>     [junit] Running org.apache.hcatalog.listener.TestNotificationListener
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.092 sec
>
> _check-ivy-retrieve:
>
> _ivy-init:
>      [echo] webhcat
> [ivy:configure] :: loading settings :: file = <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/ivy/ivysettings.xml
> >
>      [echo] Generating <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/ivy/webhcat-0.4.0-SNAPSTHOT.pom
> >
>
> ivy-init:
>
> ivy-retrieve:
>
> compile:
>      [echo] webhcat
>
> mvn-init:
>      [echo] webhcat
>       [get] Destination already exists (skipping): <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar
> >
>
> jar:
>      [echo] webhcat
> [artifact:install] [INFO] Installing <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/webhcat-0.4.0-SNAPSTHOT.jar>
> to
> /home/jenkins/.m2/repository/org/apache/hcatalog/webhcat/0.4.0-SNAPSTHOT/webhcat-0.4.0-SNAPSTHOT.jar
>
> compile-test:
>      [echo] webhcat
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/test/classes
> >
>     [javac] Compiling 7 source files to <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/test/classes
> >
>     [javac] Note: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/src/test/java/org/apache/hcatalog/templeton/TestDesc.java>
> uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>
> test:
>      [echo] webhcat
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/test/logs
> >
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/test/hcat_junit_warehouse
> >
>     [junit] WARNING: multiple versions of ant detected in path for junit
>     [junit]
>  
> jar:file:/home/jenkins/tools/ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/Project.class
>     [junit]      and jar:<
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/ivy/lib/test/ant-ant-1.6.5.jar!/org/apache/tools/ant/Project.class
> >
>     [junit] Running org.apache.hcatalog.templeton.TestDesc
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.386 sec
>     [junit] Running org.apache.hcatalog.templeton.TestServer
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.54 sec
>     [junit] Running org.apache.hcatalog.templeton.tool.TestTempletonUtils
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.639 sec
>     [junit] Running
> org.apache.hcatalog.templeton.tool.TestTrivialExecService
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.078 sec
>
> _check-ivy-retrieve:
>
> _ivy-init:
>      [echo] webhcat-java-client
> [ivy:configure] :: loading settings :: file = <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/ivy/ivysettings.xml
> >
>      [echo] Generating <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/ivy/webhcat-java-client-0.4.0-SNAPSTHOT.pom
> >
>
> ivy-init:
>
> ivy-retrieve:
>
> compile:
>      [echo] webhcat-java-client
>
> mvn-init:
>      [echo] webhcat-java-client
>       [get] Destination already exists (skipping): <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar
> >
>
> jar:
>      [echo] webhcat-java-client
> [artifact:install] [INFO] Installing <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/webhcat-java-client-0.4.0-SNAPSTHOT.jar>
> to
> /home/jenkins/.m2/repository/org/apache/hcatalog/webhcat-java-client/0.4.0-SNAPSTHOT/webhcat-java-client-0.4.0-SNAPSTHOT.jar
>
> compile-test:
>      [echo] webhcat-java-client
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/test/classes
> >
>     [javac] Compiling 1 source file to <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/test/classes
> >
>     [javac] Note: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/src/test/java/org/apache/hcatalog/api/TestHCatClient.java>
> uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>
> test:
>      [echo] webhcat-java-client
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/test/logs
> >
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/test/hcat_junit_warehouse
> >
>     [junit] WARNING: multiple versions of ant detected in path for junit
>     [junit]
>  
> jar:file:/home/jenkins/tools/ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/Project.class
>     [junit]      and jar:<
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/ivy/lib/test/ant-ant-1.6.5.jar!/org/apache/tools/ant/Project.class
> >
>     [junit] Running org.apache.hcatalog.api.TestHCatClient
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 46.259 sec
>     [junit] Shutting down hive metastore.
>
> test:
>      [echo] Testing all handlers
>
> template:
>      [echo] Executing storage-handler "test" for hbase
>
> mvn-init:
>      [echo] hbase-storage-handler
>       [get] Destination already exists (skipping): <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar
> >
>
> mvn-dependencies:
>
> init:
>
> compile-src:
>
> jar:
>
> compile-test:
>     [javac] Compiling 16 source files to <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/storage-handlers/hbase/build/test/classes
> >
>     [javac] Note: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/TestHBaseDirectOutputFormat.java>
> uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>
> test:
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/storage-handlers/hbase/build/test/logs
> >
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/storage-handlers/hbase/build/test/temp
> >
>     [mkdir] Created dir: <
> https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/storage-handlers/hbase/build/test/data
> >
>     [junit] Running org.apache.hcatalog.hbase.TestHBaseBulkOutputFormat
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 110.38 sec
>     [junit] Running org.apache.hcatalog.hbase.TestHBaseDirectOutputFormat
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 62.455 sec
>     [junit] Running org.apache.hcatalog.hbase.TestHBaseHCatStorageHandler
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 44.642 sec
>     [junit] Running org.apache.hcatalog.hbase.TestHBaseInputFormat
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 80.415 sec
>     [junit] Running org.apache.hcatalog.hbase.TestSnapshots
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 35.598 sec
>     [junit] Running org.apache.hcatalog.hbase.snapshot.TestIDGenerator
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 71.498 sec
>     [junit] Running org.apache.hcatalog.hbase.snapshot.TestRevisionManager
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 23.376 sec
>     [junit] Running
> org.apache.hcatalog.hbase.snapshot.TestRevisionManagerConfiguration
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.203 sec
>     [junit] Running
> org.apache.hcatalog.hbase.snapshot.TestRevisionManagerEndpoint
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 20.208 sec
>     [junit] Running
> org.apache.hcatalog.hbase.snapshot.TestThriftSerialization
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.158 sec
>     [junit] Running org.apache.hcatalog.hbase.snapshot.TestZNodeSetUp
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 29.309 sec
>     [junit] Running org.apache.hcatalog.hbase.snapshot.lock.WriteLockTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 20.592 sec
>     [junit] Running org.apache.hcatalog.hbase.snapshot.lock.ZNodeNameTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.129 sec
>
> mvn-init:
>
> mvn-deploy:
> [artifact:deploy] Deploying to
> https://repository.apache.org/content/repositories/snapshots
> [artifact:deploy] Uploading:
> org/apache/hcatalog/hcatalog/0.4.0-SNAPSTHOT/hcatalog-0.4.0-SNAPSTHOT.jar
> to repository apache.snapshots.https at
> https://repository.apache.org/content/repositories/snapshots
> [artifact:deploy] Transferring 292K from apache.snapshots.https
> [artifact:deploy] An error has occurred while processing the Maven
> artifact tasks.
> [artifact:deploy]  Diagnosis:
> [artifact:deploy]
> [artifact:deploy] Error deploying artifact
> 'org.apache.hcatalog:hcatalog:jar': Error deploying artifact: Failed to
> transfer file:
> https://repository.apache.org/content/repositories/snapshots/org/apache/hcatalog/hcatalog/0.4.0-SNAPSTHOT/hcatalog-0.4.0-SNAPSTHOT.jar.
> Return code is: 400
>
> BUILD FAILED
> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build.xml>:350:
> Error deploying artifact 'org.apache.hcatalog:hcatalog:jar': Error
> deploying artifact: Failed to transfer file:
> https://repository.apache.org/content/repositories/snapshots/org/apache/hcatalog/hcatalog/0.4.0-SNAPSTHOT/hcatalog-0.4.0-SNAPSTHOT.jar.
> Return code is: 400
>
> Total time: 36 minutes 16 seconds
> Build step 'Execute shell' marked build as failure
> Archiving artifacts
> Recording test results
>

Reply via email to