commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: mvn -Prelease deploy fails?
Date Thu, 07 Feb 2013 04:52:01 GMT
On 02/06/2013 09:38 PM, sebb wrote:
> On 6 February 2013 20:15, Mladen Turk <mturk@apache.org> wrote:
>> On 02/06/2013 07:26 PM, Mladen Turk wrote:
>>>
>>>
>>> I have everything set up in maven config file as before when this
>>> operation was successful.
>>>
>>
>> Now I have different problem.
>> deploy constantly times out. It uploads few files but then it just sits for
>> a minute a so and fails with timeout.
>> I have tried about 5-6 times so far and it fails at different file.
>>
>> Eg
>> Uploading:
>> https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-bin.tar.gz
>> [WARNING] Failed to upload SHA-1 checksum for
>> /shared/Workplace/COMMONS_DAEMON_1_0_13/target/commons-daemon-1.0.13-bin.tar.gz:
>> Connection to https://repository.apache.org refused
>> org.apache.maven.wagon.TransferFailedException: Connection to
>> https://repository.apache.org refused
>
> Perhaps you managed to lock out your account?
>
> Running Maven with bad or missing credentials can do that easily.
>
> Can you login to the Nexus instance?
>

But I said it partially uploads the content.
As you can see I already dropped the staging repo twice cause it fails to
upload the 2 files (random one) out of 20.
Our build system is broken as well cause it complains with WARNING when unable to upload those
files
but it seems only for .asc/.sah1/.md5 files !?


Here is the latest log with extra failure in uploading .zip

[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ commons-daemon ---
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar
(24 KB at 5.3 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.pom
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.pom
(5 KB at 1.0 KB/sec)
Downloading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/maven-metadata.xml
Downloaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/maven-metadata.xml
(310 B at 0.1 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/maven-metadata.xml
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/maven-metadata.xml
(310 B at 0.1 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-sources.jar
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-sources.jar
(23 KB at 7.0 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-javadoc.jar
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-javadoc.jar
(104 KB at 23.9 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-native-src.tar.gz
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-native-src.tar.gz
(197 KB at 24.2 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-native-src.zip
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-native-src.zip
(251 KB at 20.3 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-bin.tar.gz
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-bin.tar.gz
(224 KB at 35.5 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-bin.zip
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-bin.zip
(296 KB at 41.9 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-src.tar.gz
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-src.tar.gz
(279 KB at 40.8 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-src.zip
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-src.zip
(373 KB at 45.4 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-bin-windows.zip
[WARNING] Failed to upload MD5 checksum for /shared/Workplace/COMMONS_DAEMON_1_0_13/target/commons-daemon-1.0.13-bin-windows.zip:
Connection to https://repository.apache.org refused
org.apache.maven.wagon.TransferFailedException: Connection to https://repository.apache.org
refused
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:521)
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:471)
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.putFromStream(AbstractHttpClientWagon.java:465)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.uploadChecksum(WagonRepositoryConnector.java:886)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.uploadChecksums(WagonRepositoryConnector.java:861)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:818)
	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:467)
	at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:274)
	at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:211)
	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:443)
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137)
	at org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:167)
	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:188)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	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:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:601)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.wagon.providers.http.httpclient.conn.HttpHostConnectException:
Connection to https://repository.apache.org refused
	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
	at org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
	at org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
	at org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
	at org.apache.maven.wagon.providers.http.httpclient.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:674)
	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:515)
	... 33 more
Caused by: java.net.ConnectException: Connection timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
	at java.net.Socket.connect(Socket.java:579)
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
	at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:375)
	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
	... 41 more
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-bin-windows.zip
(204 KB at 1.5 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar.asc
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar.asc
(230 B at 0.1 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.pom.asc
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.pom.asc
(230 B at 0.1 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-sources.jar.asc
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-sources.jar.asc
(230 B at 0.1 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-javadoc.jar.asc
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-javadoc.jar.asc
(230 B at 0.1 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-native-src.tar.gz.asc
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-native-src.tar.gz.asc
(230 B at 0.1 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-native-src.zip.asc
Uploaded: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-native-src.zip.asc
(230 B at 0.1 KB/sec)
Uploading: https://repository.apache.org/service/local/staging/deploy/maven2/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13-bin.tar.gz.asc
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:09.862s
[INFO] Finished at: Thu Feb 07 05:45:50 CET 2013
[INFO] Final Memory: 28M/355M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy)
on project commons-daemon: Failed to deploy artifacts: Could not transfer artifact commons-daemon:commons-daemon:tar.gz.asc:bin:1.0.13
from/to 
apache.releases.https (https://repository.apache.org/service/local/staging/deploy/maven2):
Connection to https://repository.apache.org refused: Connection timed out -> [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/MojoExecutionException



Regards
-- 
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message