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

Use of IP_MULTICAST_IF makes the code not compatible with QEMU emulation #561

Open
traversaro opened this issue Dec 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@traversaro
Copy link
Contributor

In I tried to run some tests for a project that depends (transitively) on gz-transport in conda-forge/gz-sim-yarp-plugins-feedstock#14, and on linux aarch64 and ppc64le emulation using QEMU, the test fail with the following error:

Error setting socket option (IP_MULTICAST_IF).
Error setting socket option (IP_MULTICAST_IF).
Did you set the environment variable IGN_IP with a correct IP address? 
  [172.17.0.2] seems an invalid local IP address.
  Using 127.0.0.1 as hostname.
unknown file: Failure
C++ exception with description "vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)" thrown in the test body.

At least the first error is expected, as the IP_MULTICAST_IF option is not supported in QEMU (see https://gitlab.com/qemu-project/qemu/-/issues/1837). I do not care too much about running tests under QEMU, but I preferred to report this so that I have a clear issue to link in the place of the script where I skip tests on QEMU.

Desired behavior

Not sure, I wanted just to report the issue to have something to reference in downstream issues.

Alternatives considered

I did not considered any alternative.

Implementation suggestion

I do not have any implementation suggestion.

Additional context

@traversaro traversaro added the enhancement New feature or request label Dec 6, 2024
traversaro added a commit to traversaro/gz-sim-yarp-plugins-feedstock that referenced this issue Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Inbox
Development

No branches or pull requests

1 participant