We need to add a timeout for yarn install on windows platform since the building of the dependencies might be flaky due to a network connection issues leading to a failed tests since podman-desktop app could not be started.
Installing dependencies of podman-desktop
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "ssh2@1.11.0" is incompatible with requested version "ssh2@^1.15.0"
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error Error: https://registry.yarnpkg.com/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.5.2.tgz: ESOCKETTIMEDOUT
at ClientRequest.<anonymous> (C:\Users\rhqp\tools\node-v20.11.1-win-x64\node_modules\yarn\lib\cli.js:142037:19)
at Object.onceWrapper (node:events:632:28)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
at ClientRequest.emit (node:events:518:28)
at TLSSocket.emitRequestTimeout (node:_http_client:840:9)
at Object.onceWrapper (node:events:632:28)
at TLSSocket.emit (node:events:530:35)
at Socket._onTimeout (node:net:589:8)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
Building podman-desktop to run e2e from extension repo
yarn run v1.22.22
$ cross-env NODE_ENV=development MODE=development DEBUG=pw:browser npm run build
'cross-env' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
We need to add a timeout for
yarn install
on windows platform since the building of the dependencies might be flaky due to a network connection issues leading to a failed tests since podman-desktop app could not be started.Ref job: https://github.com/containers/podman-desktop-extension-bootc/actions/runs/9280080676/job/25533749951
Error: