<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Curtis,<div><br></div><div>The Jenkins Release-Version job doesn’t currently work for me because</div><div><pre class="console-output" style="box-sizing: border-box; white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; color: rgb(51, 51, 51);"><font face="Monaco" size="1">/tmp/hudson4570292381982454361.sh: 43: .: Can't open /<a href="mailto:var/lib/jenkins/.mvn.gnupg/tobias.pietzsch@jenkins.imagej.net.settings">var/lib/jenkins/.mvn.gnupg/tobias.pietzsch@jenkins.imagej.net.settings</a>
Build step 'Execute shell' marked build as failure
Finished: FAILURE</font></pre><div><div>Mark is helping me with this (thanks a lot Mark!), so hopefully it will work soon.</div><div></div></div></div><div><br></div><div><br></div><div>For the release-version.sh I doubt that it is a network issue because the error occured at exactly the same point for two different projects.</div><div>I noticed that the mvn outpu for the uploads of the jars follows this pattern:</div><div><br></div><div><div><font size="1" face="Monaco">[INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ spim_data ---</font></div><div><font size="1" face="Monaco">Uploading: dav:http:// <a href="http://maven.imagej.net/">maven.imagej.net/</a> content/ repositories/ releases/ sc/ fiji/ spim_data/ 1.0.0-beta-4/ spim_data-1.0.0-beta-4.jar</font></div><div><font size="1" face="Monaco">…</font></div><div><font size="1" face="Monaco">Uploaded: dav:http:// <a href="http://maven.imagej.net/">maven.imagej.net/</a> content/ repositories/ releases/ sc/ fiji/ spim_data/ 1.0.0-beta-4/ spim_data-1.0.0-beta-4.jar (171 KB at 60.0 KB/sec)</font></div><div><font size="1" face="Monaco">Uploading: http:// <a href="http://maven.imagej.net/">maven.imagej.net/</a> content/ repositories/ releases/ sc/ fiji/ spim_data/ 1.0.0-beta-4/ spim_data-1.0.0-beta-4.pom</font></div><div><font size="1" face="Monaco">…</font></div><div><font size="1" face="Monaco">Uploaded: http:// <a href="http://maven.imagej.net/">maven.imagej.net/</a> content/ repositories/ releases/ sc/ fiji/ spim_data/ 1.0.0-beta-4/ spim_data-1.0.0-beta-4.pom (5 KB at 2.4 KB/sec)</font></div></div><div><div></div></div><div><div><div><br></div><div>So always <span style="font-family: Monaco; font-size: x-small;">Uploading:<something></span> followed by <span style="font-family: Monaco; font-size: x-small;">Uploaded:<something></span></div><div>For the failing projects, I get <span style="font-family: Monaco; font-size: x-small;">Uploaded:<something></span> for X.jar, X.pom, maven-metadata.xml, X-sources.jar</div><div>After that, I think it should try to upload the X-javadoc.jar</div><div>However, apparently, it tries to upload X-sources.jar again</div><div><br></div><div><div><font face="Monaco" size="1">Uploaded: dav:http://<a href="http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar">maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar</a> (114 KB at 44.1 KB/sec)</font></div><div><font face="Monaco" size="1">Uploading: dav:http://<a href="http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar">maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar</a></font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:43 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:44 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">[INFO] ------------------------------------------------------------------------</font></div><div><font face="Monaco" size="1">[INFO] BUILD FAILURE</font></div><div><font face="Monaco" size="1">[INFO] ------------------------------------------------------------------------</font></div></div><div><br></div><div>That seems odd. Could this be related to the Maven wagon plugin that you mentioned?</div><div><br></div><div><br></div><div>best regards,</div><div>Tobias</div><div><br></div><div>On 16 Dec 2014, at 16:55, Curtis Rueden <<a href="mailto:ctrueden@wisc.edu">ctrueden@wisc.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Tobias,<div><br></div><div>> Failed on releasing the javadoc and is now stuck…</div><div><br></div><div>It is probably a network error. This has happened to me several times when I try to release from a remote machine, even one on the same subnet as the ImageJ Maven server. So to avoid that, I always run release-version.sh from the dev server itself. Or use the Release-Version Jenkins job to release when possible.</div><div><br></div><div><div>> I don’t really understand what goes on in the release-version.sh</div><div>> script.</div></div><div><br></div><div>The script mostly just leans on the maven-release-plugin. The actual deploy happens with a Maven wagon plugin: the wagon-webdav-jackrabbit [1]. The version we used was chosen for cross-compatibility with both Maven 2 and Maven 3 -- newer webdav wagon plugins I looked at stopped working with Maven 2. But now that we have migrated fully to requiring Maven 3 anyway, we should probably upgrade the wagon plugin to the latest, to see whether it helps with these connectivity issues.</div><div><br></div><div>In the meantime, let's add the BDV projects to the Jenkins Release-Version job. See you on IRC.</div><div><br></div><div>Regards,</div><div>Curtis</div><div><br></div><div>[1] <a href="https://github.com/scijava/pom-scijava/blob/pom-scijava-5.2.3/pom.xml#L919-L927">https://github.com/scijava/pom-scijava/blob/pom-scijava-5.2.3/pom.xml#L919-L927</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 8:18 AM, Tobias Pietzsch <span dir="ltr"><<a href="mailto:pietzsch@mpi-cbg.de" target="_blank">pietzsch@mpi-cbg.de</a>></span> wrote:<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;"><div style="word-wrap:break-word">Ok, and the same thing happened with bigdataviewer-core. Failed on releasing the javadoc and is now stuck…<div><br></div><div>I don’t really understand what goes on in the release-version.sh script. From the git history of that script it does not look like there have been recent changes that could explain why it fails now and didn’t a few weeks back. Is there something changed in the <a href="http://maven.imagej.net/" target="_blank">maven.imagej.net</a> that could cause it?</div><div><br></div><div>best regards,<br><div>Tobias<br><div><br><div><div><div class="h5"><div>On 16 Dec 2014, at 14:54, Tobias Pietzsch <<a href="mailto:pietzsch@mpi-cbg.de" target="_blank">pietzsch@mpi-cbg.de</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div style="word-wrap:break-word">Hi,<div><br></div><div>I just tried to releaseVersion.sh for <a href="https://github.com/bigdataviewer/spimdata" target="_blank">https://github.com/bigdataviewer/spimdata</a> project.</div><div>It failed in the middle of the release:</div><div>In the imagej maven repository <a href="http://maven.imagej.net/index.html#nexus-search;quick~spim_data" target="_blank">http://maven.imagej.net/index.html#nexus-search;quick~spim_data</a> the </div><div>spim_data-1.0.0-beta-4.jar and</div><div>spim_data-1.0.0-beta-4-sources.jar are there.</div><div>The upload of the spim_data-1.0.0-beta-4-javadoc.jar is missing.</div><div>That’s where the script failed:</div><div>…</div><div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:40 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:40 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Uploaded: <a href="http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/maven-metadata.xml" target="_blank">http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/maven-metadata.xml</a> (772 B at 0.4 KB/sec)</font></div><div><font face="Monaco" size="1">Uploading: dav:http://<a href="http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar" target="_blank">maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar</a></font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:41 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:41 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:42 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:42 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:42 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:43 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Uploaded: dav:http://<a href="http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar" target="_blank">maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar</a> (114 KB at 44.1 KB/sec)</font></div><div><font face="Monaco" size="1">Uploading: dav:http://<a href="http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar" target="_blank">maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar</a></font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:43 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">Dec 16, 2014 2:36:44 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme</font></div><div><font face="Monaco" size="1">INFO: basic authentication scheme selected</font></div><div><font face="Monaco" size="1">[INFO] ------------------------------------------------------------------------</font></div><div><font face="Monaco" size="1">[INFO] BUILD FAILURE</font></div><div><font face="Monaco" size="1">[INFO] ------------------------------------------------------------------------</font></div><div><font face="Monaco" size="1">[INFO] Total time: 22.047 s</font></div><div><font face="Monaco" size="1">[INFO] Finished at: 2014-12-16T14:36:44+01:00</font></div><div><font face="Monaco" size="1">[INFO] Final Memory: 33M/447M</font></div><div><font face="Monaco" size="1">[INFO] ------------------------------------------------------------------------</font></div><div><font face="Monaco" size="1">[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) on project spim_data: Failed to deploy artifacts: Could not transfer artifact sc.fiji:spim_data:jar:sources:1.0.0-beta-4 from/to imagej.releases (dav:http://<a href="http://maven.imagej.net/content/repositories/releases" target="_blank">maven.imagej.net/content/repositories/releases</a>): Failed to transfer file: <a href="http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar" target="_blank">http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar</a>. Return code is: 400 -> [Help 1]</font></div><div><font face="Monaco" size="1">[ERROR]</font></div><div><font face="Monaco" size="1">[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.</font></div><div><font face="Monaco" size="1">[ERROR] Re-run Maven using the -X switch to enable full debug logging.</font></div><div><font face="Monaco" size="1">[ERROR]</font></div><div><font face="Monaco" size="1">[ERROR] For more information about the errors and possible solutions, please read the following articles:</font></div><div><font face="Monaco" size="1">[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a></font></div><div><font face="Monaco" size="1">pietzsch@tomancak-mac-17:~/workspace/BigDataViewer/SpimData ((spim_data-1.0.0-beta-4))$</font></div></div><div><font face="Monaco" size="1"><br></font></div><div><font face="Monaco" size="1"><br></font></div><div>Now, I don’t know how to proceed...</div><div>In git I’m in a detached HEAD state at spim_data-1.0.0-beta-4.</div><div>Can I somehow manually try to upload the spim_data-1.0.0-beta-4-javadoc.jar?</div><div>And then just checkout master branch again?</div><div>Or, can I git reset HEAD^ and re-run the releaseVersion.sh (Is it even possible to re-deploy the already deployed jars…)?</div><div><br></div><div>thanks for any help,</div><div>Tobias</div></div></div></div>_______________________________________________<br>ImageJ-devel mailing list<br><a href="mailto:ImageJ-devel@imagej.net" target="_blank">ImageJ-devel@imagej.net</a><br><a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
<br></blockquote></div></div>
_______________________________________________<br>ImageJ-devel mailing list<br><a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>http://imagej.net/mailman/listinfo/imagej-devel<br></blockquote></div><br></div></body></html>