<div dir="ltr">The prerelease is failing because it cannot install the `sr_ronex_launch` package, is this a first time release?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 12:48 PM, Toni Oliver Duran <span dir="ltr"><<a href="mailto:toliver.shadow@gmail.com" target="_blank">toliver.shadow@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks William,<div><br></div><div>I've fixed those things you suggested and deleted the release repo and created it again.</div>
<div><br></div><div>Now the bloom-release worked well, but then (after pushing to the release repo) I tried to do a pre-release (which I should have done the first time but didn't) and it fails.</div>
<div><br></div><div>it says "Could not find sr_ronex_launch in keys", but sr_ronex_launch is one of the packages I'm trying to release. How could it be in the keys list?</div><div><br></div><div><a href="http://jenkins.ros.org/job/prerelease-hydro-sr_ronex/ARCH_PARAM=amd64,UBUNTU_PARAM=precise,label=prerelease/2/console" target="_blank">http://jenkins.ros.org/job/prerelease-hydro-sr_ronex/ARCH_PARAM=amd64,UBUNTU_PARAM=precise,label=prerelease/2/console</a><br>
</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/25 William Woodall <span dir="ltr"><<a href="mailto:william@osrfoundation.org" target="_blank">william@osrfoundation.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I am not sure why you didn't get the correct diff.<div><br></div><div>Also I am not sure why you got the error when doing a second release.</div><div><br></div><div>I'm looking into both now.</div>
<div>
<br></div><div>While I was reviewing I found some things:</div><div><br></div><div>- You should remove this file: <a href="https://github.com/shadow-robot/sr-ronex/blob/hydro/CMakeLists.txt" target="_blank">https://github.com/shadow-robot/sr-ronex/blob/hydro/CMakeLists.txt</a></div>
<div>- This is no longer used in catkin: <a href="https://github.com/shadow-robot/sr-ronex/blob/hydro/sr_ronex_utilities/package.xml#L38" target="_blank">https://github.com/shadow-robot/sr-ronex/blob/hydro/sr_ronex_utilities/package.xml#L38</a></div>
<div><br></div><div>I'll continue looking into it, I would recommend you delete the release repository and try bloom again to see if you can reproduce the error. You could also open a ticket against bloom when you find out how to reproduce it.</div>
<div><br></div><div>--</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Wed, Sep 25, 2013 at 9:35 AM, Toni Oliver Duran <span dir="ltr"><<a href="mailto:toliver.shadow@gmail.com" target="_blank">toliver.shadow@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi, I added the <export><metapackage/> tag to the correct package.xml and tried to do a new release (0.9.3 this time).<div>
<br></div><div>But now bloom-release fails (yesterday it worked well when doing the first release).</div>
<div><br></div><div>The error is related to a git rm command in a package 'sr_ronex_hardware_interface' that has not changed (only the version no.)</div><div><br></div><div><div> [git-bloom-patch rebase]: 'execute_command' failed to call 'git rm -rf *' which had a return code (128):</div>
<div> [git-bloom-patch rebase]: ```</div><div>fatal: pathspec 'bin' did not match any files</div></div><div><br></div><div><br></div><div>The full output:</div><div><br></div><div><br></div><div><div>> bloom-release sr_ronex --track hydro --rosdistro hydro</div>
<div>==> Fetching 'sr_ronex' repository from '<a href="https://github.com/shadow-robot/sr-ronex-release.git" target="_blank">https://github.com/shadow-robot/sr-ronex-release.git</a>'</div><div>Cloning into '/tmp/tmptWhdKN'...</div>
<div>remote: Counting objects: 1033, done.</div><div>remote: Compressing objects: 100% (620/620), done.</div><div>remote: Total 1033 (delta 316), reused 1030 (delta 316)</div><div>Receiving objects: 100% (1033/1033), 257.01 KiB | 453 KiB/s, done.</div>
<div>Resolving deltas: 100% (316/316), done.</div><div>==> Testing for push permission on release repository</div><div>==> git remote -v</div><div>origin<span style="white-space:pre-wrap"> </span><a href="https://github.com/shadow-robot/sr-ronex-release.git" target="_blank">https://github.com/shadow-robot/sr-ronex-release.git</a> (fetch)</div>
<div>origin<span style="white-space:pre-wrap"> </span><a href="https://github.com/shadow-robot/sr-ronex-release.git" target="_blank">https://github.com/shadow-robot/sr-ronex-release.git</a> (push)</div><div>==> git push --dry-run</div>
<div>Everything up-to-date</div><div>==> Releasing 'sr_ronex' using release track 'hydro'</div><div>==> git-bloom-release hydro</div><div>Processing release track settings for 'hydro'</div><div>
Checking upstream devel branch for package.xml(s)</div><div>Cloning into '/tmp/tmp9YVnPt/upstream'...</div><div>remote: Counting objects: 2871, done.</div><div>remote: Compressing objects: 100% (1271/1271), done.</div>
<div>remote: Total 2871 (delta 1515), reused 2835 (delta 1479)</div><div>Receiving objects: 100% (2871/2871), 1008.83 KiB | 548 KiB/s, done.</div><div>Resolving deltas: 100% (1515/1515), done.</div><div>Looking for packages in 'hydro' branch... found 10 packages.</div>
<div>Detected version '0.9.3' from package(s): ['sr_ronex_drivers', 'sr_ronex_hardware_interface', 'sr_ronex_utilities', 'sr_ronex_msgs', 'sr_ronex_transmissions', 'sr_ronex_launch', 'sr_ronex_controllers', 'sr_ronex_external_protocol', 'sr_ronex', 'sr_ronex_examples']</div>
<div><br></div><div>Executing release track 'hydro'</div><div>==> bloom-export-upstream /tmp/tmp9YVnPt/upstream git --tag 0.9.3 --display-uri <a href="https://github.com/shadow-robot/sr-ronex.git" target="_blank">https://github.com/shadow-robot/sr-ronex.git</a> --name sr_ronex --output-dir /tmp/tmpF6M3TD</div>
<div>Checking out repository at '<a href="https://github.com/shadow-robot/sr-ronex.git" target="_blank">https://github.com/shadow-robot/sr-ronex.git</a>' to reference '0.9.3'.</div><div>Exporting to archive: '/tmp/tmpF6M3TD/sr_ronex-0.9.3.tar.gz'</div>
<div>md5: 5367700c6dc95279124b0e39b7d76728</div><div><br></div><div>==> git-bloom-import-upstream /tmp/tmpF6M3TD/sr_ronex-0.9.3.tar.gz --release-version 0.9.3 --replace</div><div>The latest upstream tag in the release repository is 'upstream/0.9.2'.</div>
<div>Importing archive into upstream branch...</div><div>Creating tag: 'upstream/0.9.3'</div><div>I'm happy. You should be too.</div><div><br></div><div>==> git-bloom-generate -y rosrelease hydro --source upstream -i 0</div>
<div>Releasing packages: ['sr_ronex_drivers', 'sr_ronex_hardware_interface', 'sr_ronex_utilities', 'sr_ronex_msgs', 'sr_ronex_transmissions', 'sr_ronex_launch', 'sr_ronex_controllers', 'sr_ronex_external_protocol', 'sr_ronex', 'sr_ronex_examples']</div>
<div>Releasing package 'sr_ronex_drivers' for 'hydro' to: 'release/hydro/sr_ronex_drivers'</div><div>Releasing package 'sr_ronex_hardware_interface' for 'hydro' to: 'release/hydro/sr_ronex_hardware_interface'</div>
<div> [git-bloom-patch rebase]: 'execute_command' failed to call 'git rm -rf *' which had a return code (128):</div><div> [git-bloom-patch rebase]: ```</div><div>fatal: pathspec 'bin' did not match any files</div>
<div><br></div><div> [git-bloom-patch rebase]: ```</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/pymodules/python2.7/bloom/commands/git/generate.py", line 101, in try_execute</div><div>
retcode = func(*args, **kwargs)</div><div> File "/usr/lib/pymodules/python2.7/bloom/logging.py", line 210, in decorated</div><div> return f(*args, **kwds)</div><div> File "/usr/lib/pymodules/python2.7/bloom/commands/git/patch/rebase_cmd.py", line 146, in rebase_patches</div>
<div> non_git_rebase(config['parent'], directory=directory)</div><div> File "/usr/lib/pymodules/python2.7/bloom/commands/git/patch/rebase_cmd.py", line 42, in non_git_rebase</div><div> execute_command('git rm -rf *', cwd=directory)</div>
<div> File "/usr/lib/pymodules/python2.7/bloom/util.py", line 388, in execute_command</div><div> raise CalledProcessError(result, cmd)</div><div>CalledProcessError: Command 'git rm -rf *' returned non-zero exit status 128</div>
<div><br></div><div>Error calling git-bloom-patch rebase: Command 'git rm -rf *' returned non-zero exit status 128</div><div>git-bloom-patch rebase returned exit code (128)</div><div><== Error running command '['/usr/bin/git-bloom-generate', '-y', 'rosrelease', 'hydro', '--source', 'upstream', '-i', '0']'</div>
<div>Release failed, exiting.</div></div><div><br></div><div><br></div><div><br></div><div>Best Regards,</div><div><br></div><div>Toni</div><div><br></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/9/25 Toni Oliver Duran <span dir="ltr"><<a href="mailto:toliver.shadow@gmail.com" target="_blank">toliver.shadow@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Yes, sorry. I copied the wrong url in the email by mistake, but I put the right one in the release.yaml.</span><br style="font-family:arial,sans-serif;font-size:13px">
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Is it possible that not having the <export> <metapackage/> tag in the package.xml of the metapackage was the cause of the problem?</div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>2013/9/25 Jack O'Quin <span dir="ltr"><<a href="mailto:jack.oquin@gmail.com" target="_blank">jack.oquin@gmail.com</a>></span><br>
</div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div><div>On Wed, Sep 25, 2013 at 6:12 AM, Toni Oliver Duran <span dir="ltr"><<a href="mailto:toliver.shadow@gmail.com" target="_blank">toliver.shadow@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This is a first-time release of a repo containing multiple packages (one of them a metapackage).<div><br>
</div><div>bloom-release seems to be working well and finding the different packages, but when generating the pull request to hydro/release.yaml it does not create the list of packages automatically.<br>
<br>I get <br><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>sr_ronex:</div><div> tags:</div><div> release: release/hydro/{package}/{version}</div><div> url: git@github.com:shadow-robot/sr-ronex-release.git</div>
<div> version: 0.9.2-0</div></blockquote><div><br></div><div>When I expect:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>sr_ronex:</div><div> packages:</div><div><div> sr_ronex:</div>
</div><div><div> sr_ronex_controllers:</div></div><div><div> sr_ronex_drivers:</div></div><div><div> sr_ronex_examples:</div></div><div><div> sr_ronex_external_protocol:</div></div><div><div> sr_ronex_hardware_interface:</div>
</div><div><div> sr_ronex_launch:</div></div><div><div> sr_ronex_msgs:</div></div><div><div> sr_ronex_transmissions:</div></div><div><div> sr_ronex_utilities:</div></div><div> tags:</div><div>
release: release/hydro/{package}/{version}</div><div> url: git@github.com:shadow-robot/sr-ronex-release.git</div><div> version: 0.9.2-0</div></blockquote><br><div>Is the normal behaviour of bloom-release that the user adds the list of packages manually? Or it means that I did something wrong?</div>
</div></blockquote><div><br></div></div></div><div>Looking at the release repo, bloom clearly did find all your packages, and you have the latest version of bloom.</div><div><br></div><div>I think your release URL should be the https address, not the git login address. The build farm can't log in as you. </div>
<span><font color="#888888">
</font></span></div><span><font color="#888888">-- <br> joq
</font></span></div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
ros-release mailing list<br>
<a href="mailto:ros-release@lists.ros.org" target="_blank">ros-release@lists.ros.org</a><br>
<a href="http://lists.ros.org/mailman/listinfo/ros-release" target="_blank">http://lists.ros.org/mailman/listinfo/ros-release</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>William Woodall<div>ROS Development Team</div><div><a href="mailto:william@osrfoundation.org" target="_blank">william@osrfoundation.org</a></div>
<div><a href="http://williamjwoodall.com/" target="_blank">http://williamjwoodall.com/</a></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>William Woodall<div>ROS Development Team</div><div><a href="mailto:william@osrfoundation.org" target="_blank">william@osrfoundation.org</a></div><div>
<a href="http://williamjwoodall.com/" target="_blank">http://williamjwoodall.com/</a></div>
</div>