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

ament_tools fails on windows testing #23

Closed

Description

@tfoote

this line tries to invoke make which doesn't exist.

full console output

Backtrace

+++ Testing 'ament_cmake_core'
Traceback (most recent call last):
  File "src\ament\ament_tools\scripts\ament.py", line 111, in <module>
    sys.exit(main() or 0)
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\commands\ament.py", line 88, in main
    rc = args.main(args)
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\verbs\test\cli.py", line 63, in main
    build_main(opts, test_pkg_main_wrapper)
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\verbs\build\cli.py", line 138, in main
    iterate_packages(opts, packages, per_package_main)
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\verbs\build\cli.py", line 190, in iterate_packages
    rc = per_package_callback(opts)
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\verbs\test\cli.py", line 56, in test_pkg_main_wrapper
    rc = test_pkg_main(opts)
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\verbs\test_pkg\cli.py", line 49, in main
    handle_build_action(on_test_ret, context)
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\verbs\build_pkg\cli.py", line 255, in handle_build_action
    for build_action in build_action_ret:
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\build_types\ament_cmake.py", line 153, in on_test
    if has_make_target(context.build_space, 'test') or context.dry_run:
  File "C:\Jenkins\workspace\ros2_batch_ci_windows\src\ament\ament_tools\ament_tools\build_types\cmake_common.py", line 30, in has_make_target
    output = subprocess.check_output([MAKE_EXECUTABLE, '-pn'], cwd=path)
  File "C:\tools\python\lib\subprocess.py", line 607, in check_output
    with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
  File "C:\tools\python\lib\subprocess.py", line 858, in __init__
    restore_signals, start_new_session)
  File "C:\tools\python\lib\subprocess.py", line 1085, in _execute_child
    args = list2cmdline(args)
  File "C:\tools\python\lib\subprocess.py", line 663, in list2cmdline
    needquote = (" " in arg) or ("\t" in arg) or not arg

It actually detects that make does not exist and passes None as the command which is the failure.

Activity

  1. added
    in progress
    ready
    and removed
    in progress
    on Mar 24, 2015
  2. added
    bug
    on Mar 24, 2015
  3. added
    in progress
    and removed
    ready
    on Mar 28, 2015
  4. assigned and unassigned on Mar 28, 2015
  5. added
    in review
    and removed
    in progress
    on Mar 28, 2015
  6. removed
    in review
    on Mar 31, 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