Skip to content

Conversation

@nuclearsandwich
Copy link
Contributor

@nuclearsandwich nuclearsandwich commented Mar 23, 2020

This PR along with its companion ament/ament_lint#224 should fix Dashing CI builds failing during the test result parsing stage on ci.ros2.org.

This PR backports #174, #181, #196, #206, #218, #221, and #225.

ament_cmake_test did not include the ament_python component when Dashing was released so in order to keep the package coherent I looked at each of the commits made to it since the Python module was added and backported all of them.

@nuclearsandwich nuclearsandwich self-assigned this Mar 23, 2020
pbaughman and others added 7 commits March 23, 2020 15:45
* ament_cmake allow speficiation of a different test runner

  - By default, still uses run_test.py
  - Example use case: ament_cmake_ros can use a test runner that
    sets a ROS_DOMAIN_ID

Signed-off-by: Pete Baughman <[email protected]>

* ament_cmake move run_test.py to a python module

  - This should let us see the history

Signed-off-by: Pete Baughman <[email protected]>

* ament_cmake refactor run_test.py into an importable python module

  - Adds an ament_cmake_test python package

Signed-off-by: Pete Baughman <[email protected]>
Signed-off-by: Steven! Ragnarök <[email protected]>
Signed-off-by: Dirk Thomas <[email protected]>
Signed-off-by: Steven! Ragnarök <[email protected]>
Signed-off-by: Dirk Thomas <[email protected]>
Signed-off-by: Steven! Ragnarök <[email protected]>
)

Switch to CMAKE_CURRENT_BINARY_DIR for consistency with CTest

Signed-off-by: Dan Rose <[email protected]>
Signed-off-by: Steven! Ragnarök <[email protected]>
Signed-off-by: Dan Rose <[email protected]>
Signed-off-by: Steven! Ragnarök <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Steven! Ragnarök <[email protected]>
@nuclearsandwich
Copy link
Contributor Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@mjcarroll
Copy link
Contributor

LGTM other than the Linux flake.

@nuclearsandwich
Copy link
Contributor Author

nuclearsandwich commented Mar 24, 2020

the Linux flake.

The build eventually ran to completion in Build Status

@nuclearsandwich
Copy link
Contributor Author

@rotu backporting #206 will require a backport of ros2/rcutils#185 as well. I'm trying to decide if I should actually drop that PR from this backport to avoid breaking any other test code and would value your input as both a downstream Dashing user and the author of the original PR.

@rotu
Copy link
Contributor

rotu commented Apr 7, 2020

I’d say don’t backport #206. It’s a non-essential breaking change; @dirk-thomas thought it shouldn’t land after the feature freeze (#206 (comment)), and backporting breaking changes should be even more conservative.

@nuclearsandwich
Copy link
Contributor Author

Excellent feedback.

@nuclearsandwich
Copy link
Contributor Author

nuclearsandwich commented Apr 9, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

…ctory (#206)"

This reverts commit 4354d62.

Signed-off-by: Steven! Ragnarök <[email protected]>
@nuclearsandwich nuclearsandwich force-pushed the dashing-junit-backports branch from a7ffd1d to 3ce9599 Compare April 11, 2020 15:00
@nuclearsandwich nuclearsandwich merged commit 8c4ddc6 into dashing Apr 11, 2020
@nuclearsandwich nuclearsandwich deleted the dashing-junit-backports branch April 11, 2020 15:01
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.

7 participants