-
Notifications
You must be signed in to change notification settings - Fork 47
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
Skip the mypy testing on CentOS 7. #246
Conversation
The inline comment has a lot more details on why we need to do this. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@Arnatious fyi |
Is the problem also present on CentOS 8 ? |
Yeah +1 on the change in general, but I second @mikaelarguedas's question. This is an unversioned check, are we sure this is broken across all centos releases? |
No, I'm not sure of that. But my thinking here is that we are already doing static analysis of the mypy types on Ubuntu, macOS, and Windows. There isn't really benefit to also running it on CentOS (regardless of the version), in my opinion. |
I'm no up-to-date regarding the CentOS story. Is the goal of this PR that CentOS users compiling from source can run tests locally ? or that the nightly job becomes green ? If the former I'd argue that this is a reason for making the patch as narrow as necessary so that users can run all tests compatible with their setup. If the latter and following your point:
🤔 Would it be fair to say that all linter tests can be skipped on CentOS as they are ran on all the other platforms ? |
I would think that we would target CentOS 8 instead of 7 going forward, yes. But as of today, the buildfarm is testing CentOS 7 nightly.
A little bit of both, but mostly to make the nightly job green.
That is a good point; we could do that. If the problems were widespread, I'd probably consider doing that instead. But in this case, this is the only test that is causing problems on CentOS, so a more targeted fix seems appropriate. Overall, I'm hearing that we should narrow this to CentOS 7. So I'll go ahead and do that for now. |
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
239f197 makes it only skip the test on CentOS 7. |
Thanks for the update. I opened #248 to avoid implementing a custom parsing logic for the os-release file, PTAL |
#248 looks good to me, so closing this one out. |
The inline comment has a lot more details on why we need to
do this.
Signed-off-by: Chris Lalancette clalancette@openrobotics.org
This should fix up the last of the lingering errors on the CentOS job: https://ci.ros2.org/view/nightly/job/nightly_linux-centos_debug/611/
I'll run CI on this once I get agreement that this is the right way to go.