Skip to content

Tests fail on windows due to issues in bazel-starlib #330

Open
@peakschris

Description

@peakschris

Around 16 test cases are failing with the error below. The root cause is cgrindel/bazel-starlib#447. There is a possible fix: cgrindel/bazel-starlib#446

ERROR: src/main/native/windows/process.cc(202): CreateProcessW("D:\udu\b\n2fuxwdi\execroot\_main\bazel-out\x64_windows-fastbuild\bin\bazel_integration_test\private\bzlformat_lint_test.sh.runfiles\_main\bazel_integration_test\private\bzlformat_lint_test.sh"): %1 is not a valid Win32 application

Full message:

INFO: From Testing //bazel_integration_test/private:bzlformat_lint_test:
==================== Test output for //bazel_integration_test/private:bzlformat_lint_test:
ERROR(tools/test/windows/tw.cc:1302) ERROR: src/main/native/windows/process.cc(202): CreateProcessW("D:\udu\b\n2fuxwdi\execroot\_main\bazel-out\x64_windows-fastbuild\bin\bazel_integration_test\private\bzlformat_lint_test.sh.runfiles\_main\bazel_integration_test\private\bzlformat_lint_test.sh"): %1 is not a valid Win32 application.
 (error: 193)
ERROR(tools/test/windows/tw.cc:1479) Failed to start test process (arg: D:\udu\b\n2fuxwdi\execroot\_main\bazel-out\x64_windows-fastbuild\bin\bazel_integration_test\private\bzlformat_lint_test.sh.runfiles\_main\bazel_integration_test\private\bzlformat_lint_test.sh)
================================================================================

To reproduce:

git clone
cd rules_bazel_integration_test
bazel test //tests/tools_tests:bzlformat_lint_test
bazel clean
bazel --windows_enable_symlinks test //tests/tools_tests:bzlformat_lint_test
bazel clean
bazel --windows_enable_symlinks test //tests/tools_tests:bzlformat_lint_test --enable_runfiles

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions