question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CI builds are broken on Windows

See original GitHub issue

Describe the Bug

Starting yesterday, all CI builds start to break on Windows, especially our nightly: https://github.com/camunda/camunda-modeler/runs/5324718004?check_suite_focus=true

Error output:
node-pre-gyp ERR! install response status 404 Not Found on https://node-precompiled-binaries.grpc.io/grpc/v1.24.10/electron-v12.1-win32-x64-unknown.tar.gz 
node-pre-gyp WARN Pre-built binaries not installable for grpc@1.24.10 and electron@12.1.2 (electron-v12.1 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp WARN Hit error response status 404 Not Found on https://node-precompiled-binaries.grpc.io/grpc/v1.24.10/electron-v12.1-win[32](https://github.com/camunda/camunda-modeler/runs/5324718004?check_suite_focus=true#step:5:32)-x64-unknown.tar.gz 
gyp ERR! find VS 
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! code ELIFECYCLE
npm ERR! errno 1
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS 
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS 
gyp ERR! configure error 
gyp ERR! stack Error: Could not find any Visual Studio installation to use

Steps to Reproduce

  1. Open builds
  2. See that all builds are failing on Windows while installing the dependencies, beginning yesterday ~10AM

Expected Behavior

Builds should run green.

Environment

  • OS: [e.g. MacOS 10.2, Windows 10]
  • Camunda Modeler Version: [e.g. 2.0.0]
  • Execution Platform: [e.g. Camunda Platform, Camunda Cloud]
  • Installed plug-ins: […]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
pinussilvestruscommented, Feb 25, 2022

I guess we pin the windows version for now?

+1 for this one. We do already the same with MacOS.

On the longer runner, we should really investigate an Electron upgrade (https://github.com/camunda/camunda-modeler/issues/2538), and get rid of the C++ based grpc dependency (https://github.com/camunda-community-hub/zeebe-client-node-js/blob/master/CHANGELOG.md#breaking-changes).

1reaction
marstammcommented, Feb 25, 2022

Works on windows 2019: https://github.com/camunda/camunda-modeler/runs/5330823564?check_suite_focus=true

What are the next steps? I guess we pin the windows version for now?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identify and fix broken builds with CI/CD pipelines | TechTarget
Broken or failing builds in a CI/CD pipeline can deteriorate a team's faith in its own processes. It can also hinder a team's...
Read more >
Windows CI builds broken · Issue #12460 · python/mypy · GitHub
Currently all Windows CI builds seem to be broken. Example failure: https://github.com/python/mypy/actions/runs/2044190861 This might be caused by the ...
Read more >
A checkin policy to detect that the build is broken in a CI ...
One important aspect of Continuous Integration is getting notification that the build is broken. One common way is via a desktop ...
Read more >
Fix Broken Builds Immediately - InformIT
A broken build is anything that prevents the build from reporting success. This may be a compilation error, a failed test or inspection, ......
Read more >
Troubleshooting Continuous Integration, or How to Debug ...
If you're using a Continuous Integration server, sooner or later a build will fail on the CI, but pass on your development machine....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found