Skip to content

increase max length of env var value on Windows to 32767#201

Merged
dirk-thomas merged 1 commit intomasterfrom
dirk-thomas/raise-windows-env-var-max-length
Jan 22, 2020
Merged

increase max length of env var value on Windows to 32767#201
dirk-thomas merged 1 commit intomasterfrom
dirk-thomas/raise-windows-env-var-max-length

Conversation

@dirk-thomas
Copy link
Copy Markdown
Member

@dirk-thomas dirk-thomas commented Jan 17, 2020

Trying to use rcutils_get_env() in ros2/rmw_implementation#57 fails since that package e.g. tries to get the environment variable PATH which exceeds the current limit of 2048 characters on the Jenkins CI nodes.

Therefore this PR raises the limit to the maximum size of the sum of all environment variables (see https://devblogs.microsoft.com/oldnewthing/20100203-00/?p=15083).

  • Windows Build Status

@dirk-thomas dirk-thomas added the bug Something isn't working label Jan 17, 2020
@dirk-thomas dirk-thomas self-assigned this Jan 17, 2020
@mjcarroll
Copy link
Copy Markdown
Member

mjcarroll commented Jan 17, 2020

Looks to have been impacted by a network issue, rerunning:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS
  • Windows (debug) Build Status

@dirk-thomas
Copy link
Copy Markdown
Member Author

dirk-thomas commented Jan 17, 2020

Looks to have been impacted by a network issue, rerunning:

I got rid of the non-Windows builds since the patch only affects Windows.

@dirk-thomas
Copy link
Copy Markdown
Member Author

While the Windows build has a very high test failure count (75) that seems to match the latest nightly Windows Debug build: https://ci.ros2.org/view/nightly/job/nightly_win_deb/1504/

@dirk-thomas dirk-thomas requested a review from mjcarroll January 22, 2020 16:39
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas force-pushed the dirk-thomas/raise-windows-env-var-max-length branch from e0280ba to b7d6d36 Compare January 22, 2020 16:41
@dirk-thomas dirk-thomas merged commit cd971e0 into master Jan 22, 2020
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/raise-windows-env-var-max-length branch January 22, 2020 16:48
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

Successfully merging this pull request may close these issues.

2 participants