Skip to content

wireit fails on GitHub Actions using Windows with the shell set to bash #1242

@OrKoN

Description

@OrKoN

Example run https://github.com/puppeteer/puppeteer/actions/runs/12084169285/job/33698791913?pr=13342#step:10:15

Run npm run test -- --shard '1-2' --test-suite chrome-headless --save-stats-to /tmp/artifacts/pull_request_INSERTID.json
  npm run test -- --shard '1-2' --test-suite chrome-headless --save-stats-to /tmp/artifacts/pull_request_INSERTID.json
  shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
  env:
    WIREIT_CACHE: github
    WIREIT_CACHE_GITHUB_CUSTODIAN_PORT: 50899

> test
> wireit --shard 1-2 --test-suite chrome-headless --save-stats-to C:/Users/RUNNER~1/AppData/Local/Temp/artifacts/pull_request_INSERTID.json

Analyzing
 83% [10 / 12] [0 running]
✅ Ran 0 scripts and skipped 10 in 2.9s.
❌ [test] Internal error! Please file a bug at https://github.com/google/wireit/issues/new, mention this message, that you encountered it in wireit version 0.14.9, and give information about your package.json files.
    Unknown error thrown: tar error: Error: Command failed: tar --extract --file D:\a\puppeteer\puppeteer\tools\mocha-runner\.wireit\6275696c64\templhxi8v\cache.tgz --gzip -P
tar (child): Cannot connect to D: resolve failed

gzip: stdin: unexpected end of file
tar: Child returned status 128
tar: Error is not recoverable: exiting now

Error: Process completed with exit code 1.

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