Skip to content

[CI][Windows] Processes slow or hanging #21

@dcharkes

Description

@dcharkes

Various process invocations seem to hang on the CI.
It doesn't look like increasing timeouts fixes the issue, it actually hangs.

  FINER: 2023-04-28 07:13:28.837437: Looking up version with --version for ToolInstance(dumpbin.exe, null, file:///C:/Program%20Files/Microsoft%20Visual%20Studio/2022/Enterprise/VC/Tools/MSVC/14.34.31933/bin/HostX64/x64/dumpbin.exe).
  
  INFO: 2023-04-28 07:13:28.837437: Running `C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\dumpbin.exe --version`.
  TimeoutException after 0:01:00.000000: Test timed out after 1 minutes.
  dart:isolate  _RawReceivePort._handleMessage

FINER: 2023-04-28 07:13:35.466475: Looking for Visual Studio Locator on PATH.

https://github.com/dart-lang/native/actions/runs/4828010210/jobs/8601346569

FINER: 2023-04-28 07:27:06.814897: Checking if ToolInstance(Apple Clang, null, file:///C:/Program%20Files/LLVM/bin/clang.exe) satisfies CLI filter.
  
  INFO: 2023-04-28 07:27:06.830574: Running `C:\Program Files\LLVM\bin\clang.exe --version`.
  TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See https://pub.dev/packages/test#timeouts
  dart:isolate  _RawReceivePort._handleMessage

FINER: 2023-04-28 07:27:[36](https://github.com/dart-lang/native/actions/runs/4828010210/jobs/8601594600#step:10:38).736019: No compiler set in config[cc].

https://github.com/dart-lang/native/actions/runs/4828010210/jobs/8601594600

I wonder if there is something wrong with the way we're trying to capture output of those process invocations so that the future we're waiting for doesn't complete.

pkgs/c_compiler/lib/src/utils/run_process.dart

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ontype-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions