Coder Social home page Coder Social logo

Failures on Windows about rmw_cyclonedds HOT 6 CLOSED

ros2 avatar ros2 commented on August 15, 2024
Failures on Windows

from rmw_cyclonedds.

Comments (6)

nuclearsandwich avatar nuclearsandwich commented on August 15, 2024

I wasn't able to reproduce this using the binary archive from https://ci.ros2.org/view/packaging/job/packaging_windows/1564/

When I did experience issues previously it was due to ros2 daemon running with a different rmw but @ivanpauno and I have discussed that offline and we're reasonably sure that's not the case here.

from rmw_cyclonedds.

sloretz avatar sloretz commented on August 15, 2024

I sort of wasn't able to reproduce this using https://ci.ros2.org/view/packaging/job/packaging_windows/1565/

The first time I ran the talker, nothing happend. There was no stdout from the talker at all. I started the listener and didn't see any output from that either. I investigated whether the talker prints anything (it does), and by the time I figured that out the talker and listener were communicating. I would guess it took a couple minutes before the talker started printing anything, and maybe a minute before the listener started. Now when I kill/restart the talker and listener the talker starts printing stuff immediately, and the talker/listener start communicating immediately.

from rmw_cyclonedds.

sloretz avatar sloretz commented on August 15, 2024

Ok this is weird, I was able to reproduce the same behavior again using demo_nodes_py. In the above comment, I was using demo_nodes_cpp. I did the same thing again with demo_nodes_py (started talker, waited, started listener), and saw the same behavior. The talker didn't print anything for about a minute, so I started the listener. Neither printed anything for ~15 seconds, then they started communicating. However, when I restart them they start communicating instantly.

from rmw_cyclonedds.

ivanpauno avatar ivanpauno commented on August 15, 2024

Thanks @nuclearsandwich @sloretz !

I also observed sometimes the behavior @shane is commenting (talker slow to start). But in my case, the listener never receives any message (after waiting many minutes). I tried many times in different fresh terminals.

I really don't know what is wrong in the environment I was testing.

Besides that, the failures in https://ci.ros2.org/view/nightly/job/nightly_win_extra_rmw_rel/543/#showFailuresLink should be investigated.

If nobody can reproduce this, we can close this one and open a new issue for the ci failures.

from rmw_cyclonedds.

nuclearsandwich avatar nuclearsandwich commented on August 15, 2024

I have seen Windows Defender try to scan every linked library via real-time protection or "protect me in real-time" cause slow executable startup time the first time around. I think we'd need to break out Wireshark to see whether the slow communication time is related to that or discovery issues.

from rmw_cyclonedds.

ivanpauno avatar ivanpauno commented on August 15, 2024

Closing as nobody else can reproduce the error.
Opened https://github.com/ros2/build_cop/issues/251 to follow-up in the CI failures.

from rmw_cyclonedds.

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.