ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

All builds failed on build farm

asked 2021-05-26 05:34:01 -0500

deadln gravatar image

We recently released a bunch of packages in rosdistro (https://github.com/ros/rosdistro/pull...). I did prerelease tests via ROS-buildfarm emulation, and everything was fine. But two days later we noticed that builds of two our packages failed (https://build.ros.org/view/Mbin_uB64/...) (https://build.ros.org/view/Mbin_uB64/...). Soon i realized that i forgot to include changes into our release tag. I updated the tag and generated new files for release repository But subsequent builds still were failed with same errors as if ROS-buildfarm tried to build from cached buggy files instead of fetching new files from release repository. What could i do to to fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-05-26 06:39:12 -0500

gvdhoorn gravatar image

updated 2021-05-26 07:35:10 -0500

I updated the tag and generated new files for release repository

that's not something you should do.

Tags are supposed to be immutable and should never change.

But subsequent builds still were failed with same errors as if ROS-buildfarm tried to build from cached buggy files instead of fetching new files from release repository.

the buildfarm does not fetch sources from your source repository during build.

I don't see any new release after your initial one in CopterExpress/clover-release. That's why the buildfarm keeps building your 0.21.2-1 release.

You need to make a new release and then Bloom it.

I'd suggest to:

  • revert your changes to the tag in your source repository (ie: place the tag back where it was before you changed it)
  • perform the release preparation steps again (ie: update changelog, add new tag)
  • run Bloom again (release new version of previously release package)

If there are no more problems with your sources, the buildfarm builds should start succeeding after your new release gets merged.

edit flag offensive delete link more

Comments

Thank you for your answer. I also want to know what should i do with release repository. Here is the actions i did:

  1. I made first release of 0.21.2 with bloom-release and created pull request to ros distro
  2. My pull request was merged but two days later i noticed that build on build farm fails.
  3. I deleted tag 0.21.2 in upstream repo and reset release repository to it's initial state
  4. I again released 0.21.2 with bloom-release but without pull request

If i need to revert changes tag back should i also reset release repo and run bloom-release for reverted tag?

deadln gravatar image deadln  ( 2021-05-26 07:23:01 -0500 )edit

Don't ever do that again -- without good reason.

Almost all release problems can be fixed by just releasing a package again. Not by nuke-ing your release repository.

I'd suggest to just attempt a new release. Don't touch your release repository, let Bloom take care of things.

I'd still recommend to put the 0.21.2 tag in your source repository back to where it was before you started manually changing things.

Then do a normal release, as I described in my answer (so update changelogs, new tag, etc, etc).

I would expect that to fix things.

gvdhoorn gravatar image gvdhoorn  ( 2021-05-26 07:33:49 -0500 )edit

Question Tools

Stats

Asked: 2021-05-26 05:34:01 -0500

Seen: 125 times

Last updated: May 26 '21