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 Connext 5.3.1 and Visual Studio 2017 #146

Merged
merged 5 commits into from
Apr 17, 2018
Merged

Conversation

dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas commented Apr 11, 2018

For Windows I didn't bother to install the VS 2015 version but go for the VS 2017 version right away.

@dirk-thomas dirk-thomas added the in progress Actively being worked on (Kanban column) label Apr 11, 2018
@dirk-thomas dirk-thomas self-assigned this Apr 11, 2018
@dirk-thomas
Copy link
Member Author

@dhood Since you wrote the rti_web_binaries_install_script.py script to install Connext I was wondering if you could patch it to work for the new Connext version. Currently it fails on a new question: see https://ci.ros2.org/job/ci_linux/4200/console

@dhood
Copy link
Member

dhood commented Apr 11, 2018

sure thing

@dirk-thomas
Copy link
Member Author

The commit 892373e adds the bits and pieces from #122 to use VS 2017.

@dirk-thomas dirk-thomas mentioned this pull request Apr 11, 2018
3 tasks
@dirk-thomas
Copy link
Member Author

dirk-thomas commented Apr 11, 2018

I have installed Connext 5.3.1 on all running mac OS (mini1+2+3) and Windows (icecube+portable+windshield) machines:

  • macOS: Build Status
  • Windows: Build Status

@dirk-thomas dirk-thomas assigned dhood and unassigned dirk-thomas Apr 11, 2018
@dhood dhood force-pushed the use_connext_531 branch from 1e3d633 to 479d6fb Compare April 13, 2018 18:03
@dhood
Copy link
Member

dhood commented Apr 13, 2018

@dirk-thomas it installs fine on linux after 479d6fb (and a necessary rebase): Build Status

I'll pass this back over to you for QA.

Launched the osx and windows jobs including fastrtps looking for cross-rmw issues (I also haven't seen the osx failure above before so it may be a regression):

  • os x: Build Status
  • windows: Build Status
  • linux: above includes fastrtps.

@dhood dhood assigned dirk-thomas and unassigned dhood Apr 13, 2018
elif result_index == 1:
child.sendline('y')
elif result_index == 2:
child.sendline('n')
Copy link
Member Author

@dirk-thomas dirk-thomas Apr 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the index should never be not 0, 1, or 2? For safety I would propose to still add (to protect from a potentially infinite loop):

else:
    assert False, 'Unexpected result_index: %d' % result_index

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it'll return an index in the list or timeout (which is caught below), but there's no harm in adding it. How come not raise though? (not that we intend to run this optimised, but who knows.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come not raise though?

That is exactly what the assert does.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not if run with -O, right? Again it's "not that we intend to run this optimised, but who knows." 😄

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=> what I meant was that today we don't, but for some unrelated reason in the future we might set PYTHONOPTIMIZE or something

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually I use assert for logic checks like this. For cases which "shouldn't happen". But I don't mind either way here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in 1523332.

@dirk-thomas dirk-thomas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Apr 13, 2018
@dirk-thomas
Copy link
Member Author

The CI builds are green. Waiting for final review (preferably from multiple people since this not only bumps Connext but also Visual Studio).

@dirk-thomas dirk-thomas changed the title use Connext 5.3.1 use Connext 5.3.1 and Visual Studio 2017 Apr 13, 2018
Copy link
Member

@dhood dhood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the connext 5.3.1 changes LGTM, don't have familiarity with the visual studio changes.

@mikaelarguedas
Copy link
Member

I didn't follow this closely.
How does it work for future Ardent releases?

  • Is the goal to keep VS2015 installed on all machines and to build next Ardent patches with VS2015? If so can you please create an ardent branch here that we can use to that effect?
  • Do we also have 5.3.1 for VS2015 ? Or do future Ardent release need 5.3.0 to still be installed?

@mikaelarguedas
Copy link
Member

@dirk-thomas Just checking: Can you confirm that the following been installed on all Windows nodes?

  • openCV compiled with VS2017
  • connext 5.3.1 security plugins

@dirk-thomas
Copy link
Member Author

Is the goal to keep VS2015 installed on all machines and to build next Ardent patches with VS2015?

Yes.

If so can you please create an ardent branch here that we can use to that effect?

I will do that once this is merged (to branch as late as possible).

Do we also have 5.3.1 for VS2015 ?

Yes, we do.

Or do future Ardent release need 5.3.0 to still be installed?

Until someone take the initiative nothing changes - so Ardent releases can still use 5.3.0. If we see a reason to change that we can do that on the to-be-created ardent branch (which will require 5.3.1 for VS2015 to be installed on the build nodes.

@dirk-thomas
Copy link
Member Author

openCV compiled with VS2017

That has already happened for #122 a while ago.

connext 5.3.1 security plugins

Yes, of course.

@mikaelarguedas
Copy link
Member

Thanks for confirming 👍

Copy link
Member

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dirk-thomas
Copy link
Member Author

@mikaelarguedas @nuclearsandwich Thank you for reviewing this. Can you please also review the referenced PR ros2/rmw_connext#283.

@dirk-thomas dirk-thomas merged commit 4498a4a into master Apr 17, 2018
@dirk-thomas dirk-thomas deleted the use_connext_531 branch April 17, 2018 00:31
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Apr 17, 2018
@dirk-thomas dirk-thomas added this to the bouncy milestone Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants