Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

fails to build on Windows in Jenkins #4

Closed

Description

@wjwwood

I get this when it try's to upgrade the project file:

http://54.183.26.131:8080/job/ros2_batch_ci_windows/

C:/Jenkins/workspace/ros2_batch_ci_windows/workspace/src/ament/uncrustify/win32/Debug/Uncrustify.exe

         Microsoft Visual Studio 2015 RC Version 14.0.22823.1.
         Copyright (C) Microsoft Corp. All rights reserved.

         The license for Visual Studio has expired.

         The evaluation period for this product has ended.
     5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj]
     5>Done Building Project "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj" (default targets) -- FAILED.
     3>Done Building Project "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj.metaproj" (default targets) -- FAILED.
     2>Done Building Project "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\ALL_BUILD.vcxproj.metaproj" (default targets) -- FAILED.
     1>Done Building Project "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\uncrustify.sln" (default targets) -- FAILED.

Build FAILED.

       "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\uncrustify.sln" (default target) (1) ->
       "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj.metaproj" (default target) (3) ->
       "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj" (default target) (5) ->
       (CustomBuild target) -> 
         C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj]

    0 Warning(s)
    1 Error(s)

If I use a custom ros2.repos file which excludes this repository it gets further and fails on the know issue about the IDL file, see:

http://54.183.26.131:8080/job/ros2_batch_ci_windows/228/console

This does not pose a problem when running it from a terminal directly on the machine. Even the IDL bug doesn't occur when building from source in the cmd prompt, but that may be due to the fact that I have slightly out-of-date sources. So some reason this is a problem when running under Jenkins. I updated the jenkins slave service to run as the local account, but that didn't help.

This was happening and so I looked to see if there was a newer version. There was so I updated to VS 2015 Community RC, but the issue persisted after upgrading (by uninstalling VS 2015 Ultimate Preview and the installing the new version).

One other thought I had, as a workaround, was to upgrade the solution file and commit it. That might solve the issue for now.

Activity

  1. added
    bug
    on May 6, 2015
  2. added
    in progress
    on May 11, 2015
  3. assigned and unassigned on May 11, 2015
  4. wjwwood commented on Jun 2, 2015

    @wjwwood
    Author

    This is gone after reinstalling Windows.

  5. removed
    in progress
    on Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions