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

Occasional RETCODE_NO_DATA in basic_test #10

Open
iguessthislldo opened this issue Feb 20, 2020 · 4 comments
Open

Occasional RETCODE_NO_DATA in basic_test #10

iguessthislldo opened this issue Feb 20, 2020 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@iguessthislldo
Copy link
Member

@mitza-oci this is the issue I mentioned a few weeks ago when I got this before 0.1 release. It happened again: https://github.com/oci-labs/pyopendds/runs/455791295. I will try to see if it's my fault or not (It probably is).

@iguessthislldo iguessthislldo added the bug Something isn't working label Feb 20, 2020
@iguessthislldo iguessthislldo added this to the v0.2 milestone Feb 20, 2020
@iguessthislldo
Copy link
Member Author

take_next_sample python implementation is here and that calls a type specific version here where the OpenDDS take_next_sample is called.

@mitza-oci
Copy link
Member

@iguessthislldo
Copy link
Member Author

iguessthislldo commented Feb 20, 2020

Huh, yea it's not handling that. It should be using Errors::check_rc() like I do just below where it's handling the return code from take_next_sample. I looked through the history and it looks like I wrote it like that and just forgot to do anything with rc:

https://github.com/oci-labs/pyopendds/blob/0a3319f01324ba791152a3c292dc70a45994eeeb/pyopendds/dev/itl2py/CppOutput.py#L182

iguessthislldo added a commit that referenced this issue Feb 21, 2020
@iguessthislldo
Copy link
Member Author

Okay so that's being checked now, but if the test subscriber is timing out sometimes in the github actions, then there's another issue that's causing it to time out. The publisher only hangs around for 1 second after writing the sample and doesn't use wait_for_acknowledgements(), maybe it needs to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants