maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Heuer (JIRA)" <j...@codehaus.org>
Subject [jira] (MDEPLOY-177) Maven release:perform hangs when downloading maven-metadata.xml
Date Tue, 01 Apr 2014 01:37:01 GMT

    [ https://jira.codehaus.org/browse/MDEPLOY-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343895#comment-343895
] 

Michael Heuer commented on MDEPLOY-177:
---------------------------------------

Still happens with --debug via release:perform

{code:none}
$ mvn -X release:perform --debug
...
[INFO] [DEBUG] Configuring mojo org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy
from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-deploy-plugin:2.8.1,
parent: sun.misc.Launcher$AppClassLoader@713c817]
[INFO] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy'
with basic configurator -->
[INFO] [DEBUG]   (f) artifact = org.biojava:biojava-legacy:pom:1.8.5
[INFO] [DEBUG]   (f) attachedArtifacts = []
[INFO] [DEBUG]   (f) deployAtEnd = false
[INFO] [DEBUG]   (s) localRepository =        id: local
[INFO]       url: file:///Users/heuermh/.m2/repository/
[INFO]    layout: default
[INFO] snapshots: [enabled => true, update => always]
[INFO]  releases: [enabled => true, update => always]
[INFO] 
[INFO] [DEBUG]   (f) offline = false
[INFO] [DEBUG]   (f) packaging = pom
[INFO] [DEBUG]   (f) pomFile = /Users/heuermh/working/biojava-legacy/target/checkout/pom.xml
[INFO] [DEBUG]   (f) reactorProjects = [MavenProject: org.biojava:biojava-legacy:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/pom.xml,
MavenProject: org.biojava:bytecode:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/bytecode/pom.xml,
MavenProject: org.biojava:core:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/core/pom.xml,
MavenProject: org.biojava:alignment:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/alignment/pom.xml,
MavenProject: org.biojava:biosql:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/biosql/pom.xml,
MavenProject: org.biojava:blast:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/blast/pom.xml,
MavenProject: org.biojava:das:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/das/pom.xml,
MavenProject: org.biojava:sequencing:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/sequencing/pom.xml,
MavenProject: org.biojava:gui:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/gui/pom.xml,
MavenProject: org.biojava:phylo:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/phylo/pom.xml]
[INFO] [DEBUG]   (f) retryFailedDeploymentCount = 1
[INFO] [DEBUG]   (f) skip = false
[INFO] [DEBUG]   (f) updateReleaseInfo = true
[INFO] [DEBUG]   (f) project = MavenProject: org.biojava:biojava-legacy:1.8.5 @ /Users/heuermh/working/biojava-legacy/target/checkout/pom.xml
[INFO] [DEBUG] -- end configuration --
[INFO] [DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/
with username=mheuer
[INFO] Uploading: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/1.8.5/biojava-legacy-1.8.5.pom
[INFO] 4/9 KB   
[INFO] 8/9 KB   
[INFO] 9/9 KB   
[INFO]          
[INFO] Uploaded: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/1.8.5/biojava-legacy-1.8.5.pom
(9 KB at 2.9 KB/sec)
[INFO] Downloading: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/maven-metadata.xml
[INFO] 751/750 B
{code}

On the server side
{code:none}
4 -rw-rw-r--  1 apache  apache  750 Mar 31 03:30 maven-metadata.xml
4 -rw-rw-r--  1 apache  apache   32 Mar 31 03:30 maven-metadata.xml.md5
4 -rw-rw-r--  1 apache  apache   40 Mar 31 03:30 maven-metadata.xml.sha1
{code}

the checksums are valid
{code:none}
$ md5sum maven-metadata.xml
74c93817f3cc47c9dd4958b2d1cf8f69  maven-metadata.xml
$ cat maven-metadata.xml.md5 
74c93817f3cc47c9dd4958b2d1cf8f69
$ sha1sum maven-metadata.xml
b8865ab6744fb26ba9400f1ef906cb6145f86631  maven-metadata.xml
$ cat maven-metadata.xml.sha1 
b8865ab6744fb26ba9400f1ef906cb6145f86631
{code}

maven-metadata.xml was last touched by the deploy of a snapshot for the next snapshot version
(1.8.6-SNAPSHOT), presumably by Travis CI
{code:xml}
$ cat maven-metadata.xml
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.biojava</groupId>
  <artifactId>biojava-legacy</artifactId>
  <versioning>
    <release>1.8.4</release>
    <versions>
      <version>3.0-beta1</version>
      <version>1.8-beta1</version>
      <version>1.8-beta2-SNAPSHOT</version>
      <version>1.8</version>
      <version>1.8.1-SNAPSHOT</version>
      <version>1.8.1</version>
      <version>1.8.2-SNAPSHOT</version>
      <version>1.8.2</version>
      <version>1.8.3-SNAPSHOT</version>
      <version>1.8.4-SNAPSHOT</version>
      <version>1.8.4</version>
      <version>1.8.5-SNAPSHOT</version>
      <version>1.8.6-SNAPSHOT</version>
    </versions>
    <lastUpdated>20140331033047</lastUpdated>
  </versioning>
</metadata>
{code}

It looks the same when pulled down via http
{code:xml}
$ wget -q -O - biojava.org/download/maven/org/biojava/biojava-legacy/maven-metadata.xml
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.biojava</groupId>
  <artifactId>biojava-legacy</artifactId>
  <versioning>
    <release>1.8.4</release>
    <versions>
      <version>3.0-beta1</version>
      <version>1.8-beta1</version>
      <version>1.8-beta2-SNAPSHOT</version>
      <version>1.8</version>
      <version>1.8.1-SNAPSHOT</version>
      <version>1.8.1</version>
      <version>1.8.2-SNAPSHOT</version>
      <version>1.8.2</version>
      <version>1.8.3-SNAPSHOT</version>
      <version>1.8.4-SNAPSHOT</version>
      <version>1.8.4</version>
      <version>1.8.5-SNAPSHOT</version>
      <version>1.8.6-SNAPSHOT</version>
    </versions>
    <lastUpdated>20140331033047</lastUpdated>
  </versioning>
</metadata>
{code}

Could this post-1.8.5 version be a problem?

> Maven release:perform hangs when downloading maven-metadata.xml
> ---------------------------------------------------------------
>
>                 Key: MDEPLOY-177
>                 URL: https://jira.codehaus.org/browse/MDEPLOY-177
>             Project: Maven Deploy Plugin
>          Issue Type: Bug
>          Components: deploy:deploy
>    Affects Versions: 2.8.1
>         Environment: $ mvn -v
> Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T11:37:52-06:00)
> Maven home: /usr/local/Cellar/maven/3.2.1/libexec
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"
>            Reporter: Michael Heuer
>            Priority: Critical
>
> When attempting to mvn release:perform
> {code:none}
> $ mvn release:perform
> ...
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Building biojava-legacy 1.8.5
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] 
> [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ biojava-legacy
>>>
> [INFO] [INFO] 
> [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ biojava-legacy
<<<
> [INFO] [INFO] 
> [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ biojava-legacy ---
> [INFO] [INFO] 
> [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ biojava-legacy ---
> [INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
> [INFO] [INFO] 
> [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ biojava-legacy
---
> [INFO] [INFO] Installing /Users/xxx/working/biojava-legacy/target/checkout/pom.xml to
/Users/xxx/.m2/repository/org/biojava/biojava-legacy/1.8.5/biojava-legacy-1.8.5.pom
> [INFO] [INFO] 
> [INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ biojava-legacy
---
> [INFO] Uploading: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/1.8.5/biojava-legacy-1.8.5.pom
> [INFO] 4/9 KB   
> [INFO] 8/9 KB   
> [INFO] 9/9 KB   
> [INFO]          
> [INFO] Uploaded: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/1.8.5/biojava-legacy-1.8.5.pom
(9 KB at 3.0 KB/sec)
> [INFO] Downloading: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/maven-metadata.xml
> [INFO] 750/750 B   
> [INFO] 751/750 B
> {code}
> the build hangs at this point.  It appears there might be a difference between the expected
file size and the downloaded file size, but no warning/error messages appear, the build just
hangs.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message