Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable GZ_ENABLE_RELOCATABLE_INSTALL in CI for gz-cmake3 #913

Closed
wants to merge 60 commits into from

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Apr 20, 2023

Following gazebosim/gz-cmake#334 Needs testing.

j-rivero and others added 30 commits April 20, 2023 17:41
* Create a Groovy script to apply singleton labels.

I think this script will need to be run as a system groovy script rather
than with the sandbox. I have successfully tested it using the Jenkins
script console.

* Add a comment describing the form.

I'd like to make this a struct/class but I'm not quite sure yet.

* Replace shuffle with an in-place pick of a random number.

I was bending around the immutable set in order to use shuffle. But this
is much shorter and makes me happier.

* Add a global coment in the file

Signed-off-by: Jose Luis Rivero <[email protected]>

* Add the _nightly_node_labeler DSL job

Signed-off-by: Jose Luis Rivero <[email protected]>

* Filter nodes to only online nodes

Signed-off-by: Jose Luis Rivero <[email protected]>

* Mark build as unstable if labels were not set correctly

Signed-off-by: Jose Luis Rivero <[email protected]>

* Support for cron operations on nightly preparation

Signed-off-by: Jose Luis Rivero <[email protected]>

* Mark build unstable for non expected scenarios

Signed-off-by: Jose Luis Rivero <[email protected]>

* Fix path expected by Jenkins

Signed-off-by: Jose Luis Rivero <[email protected]>

---------

Signed-off-by: Jose Luis Rivero <[email protected]>
Co-authored-by: Jose Luis Rivero <[email protected]>
If the build failed due to the Nvidia error, we do the following steps:

 *  Remove all labels from current agent and add a recovery-process label to indicate that that agent is performing recovery actions, preventing it from taking on any other build.
 *   Requeue the job with same parameters with a delay of 70s to give time for the next step.
 *   Schedule a system restart on 1 minute (the delay is needed here so that the postbuild action finishes correctly
Co-authored-by: Jose Luis Rivero <[email protected]>
Co-authored-by: Jose Luis Rivero <[email protected]>
OSRFBase.groovy creates the naginator publisher retry tag. However, having the previous functionality replaces the ClosedChannel exception error. I'm using the `update_retry_parameters` to add the nvml error at the same regex as CloseChannelException

Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Co-authored-by: Jose Luis Rivero <[email protected]>
* Use meaningful names for nightly values defined
* Filter nodes to select for nightly assignments
  * No gpu nodes
  * No test nodes
  * No existing nodes with one nightly label

Signed-off-by: Jose Luis Rivero <[email protected]>
Crola1702 and others added 27 commits June 28, 2023 17:26
Move some nightly configuration to  be defined in a yaml file

Add a helper tool to create the code dsl + yaml
 - Use the helper script in github actions
 - Update instructions to run code locally

Signed-off-by: Jose Luis Rivero <[email protected]>
…utput (#944)

* Migrate github action to GITHUB_OUTPUT
* Force test of DSL code

Signed-off-by: Jose Luis Rivero <[email protected]>
* Add a parser for OpenGL problems on Windows

Signed-off-by: Jose Luis Rivero <[email protected]>

* Update OSRFWinBase.groovy

---------

Signed-off-by: Jose Luis Rivero <[email protected]>
* Move nightly configuration to use the gz-collections.yaml file
  Implement libs inside harmonic to keep the nightly configuration
  running.
* The change break the local generation due to the lack of the sneakyaml jar. Add a helper tool to do it:
   * Use the helper script in github actions
   * Update README.md with instructions instructions
* Fix small typo in nightly output
---------
Signed-off-by: Jose Luis Rivero <[email protected]>
* Move code to use gz_ prefix instead of ign_ in *compilation.bash
* Move code to use gz_ prefix instead of ign_ in ign_launch test

Signed-off-by: Jose Luis Rivero <[email protected]>
* README instructions about how to fork gbp 
* rename script to modify all the bloom templates consistently 

---------

Signed-off-by: Jose Luis Rivero <[email protected]>
 * Python3 modifications
 * Update ROS2 distros

Signed-off-by: Jose Luis Rivero <[email protected]>
This way we can be sure that any node killed during the nightly
generation is being replaced by a new one.

Signed-off-by: Jose Luis Rivero <[email protected]>
Smoke test designed to mainly identify extreme breakages in the software with the eyes set on any possible ABI disruptive change that ROS dependencies of the wrappers could execute. To do so, the testing does:
 * Reproduce ros_gz talker/listener and check for expected output
 * Execute ros2 launch ros_gz_sim gz_sim.launch.py gz_args:=shapes.sdf and leave it for 3 min checking that indeed it has been running for 3min.
… gz-collections.yaml configuration (#951)

* Added new DSL to generate Harmonic -ci-pr_any- jobs based on yaml configuration.
  * Reduce libs to just gz-cmake to test
  * Add ci metadata to gz-collections for harmonic

* Make BUILDING_SOFTWARE_DIRECTORY variable to respect previous values

Signed-off-by: Jose Luis Rivero <[email protected]>
* Enable Harmonic -pr_any-jammy for all libs
* Use gz_sim instead of gz_gazebo

Signed-off-by: Jose Luis Rivero <[email protected]>
)

* Fix rocker call
* Use gazebo-release repository
* Include instructions for releasing

Signed-off-by: Jose Luis Rivero <[email protected]>
@j-rivero
Copy link
Contributor Author

Broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants