Giter Site home page Giter Site logo

Comments (6)

clalancette avatar clalancette commented on July 29, 2024

This failure is a bit weird, since I don't see it in the CI nightlies or locally. That leads me to suspect that it may be cyclonedds-specific; I'm going to kick off a local build to see if I can reproduce it that way.

from rcutils.

rotu avatar rotu commented on July 29, 2024

@clalancette I see these failures on the Linux nightly, even on the last stable build, and even with CycloneDDS disabled --- it does not report as a test failure. Do a search for "Task exception was never retrieved":

https://ci.ros2.org/view/nightly/job/nightly_linux_release/lastStableBuild/consoleText

from rcutils.

clalancette avatar clalancette commented on July 29, 2024

@clalancette I see these failures on the Linux nightly, even on the last stable build, and even with CycloneDDS disabled --- it does not report as a test failure. Do a search for "Task exception was never retrieved":

Oops, yeah, my eyes slipped right over it since it wasn't a failure. Investigating...

from rcutils.

clalancette avatar clalancette commented on July 29, 2024

All right. This turns out to be a bug in launch, though there is a way to workaround it in the test itself.

The bug basically comes down to the fact that this particular test doesn't have any tests that run concurrently with the processes under test. It only has a test that runs after shutdown. In that scenario, launch_testing seemingly fires up some kind of "dummy" unittest case, which completes immediately because it has no tests. The rest of launch_testing then gets confused because a process under its control fired up and quit, but it has no record of it. I'm going to file a bug against launch_testing for that.

In the meantime, we can workaround this particular failure by adding a test that runs in parallel with the processes, just waiting for them to complete. I'll open a PR for that presently as well.

from rcutils.

clalancette avatar clalancette commented on July 29, 2024

ros2/launch#380 is the new bug under launch.

#209 is a workaround for this until the launch bug gets fixed.

from rcutils.

rotu avatar rotu commented on July 29, 2024

@clalancette thanks for demystifying this!

from rcutils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.