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.

Cygwin CI has started failing

See original GitHub issue

CI is failing during the install step with this output:

Run choco install git gcc-core python38-devel python38-pip --source cygwin
Chocolatey v0.11.3
[NuGet] Could not connect to the feed specified at 'https://community.chocolatey.org/api/v2/'. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity.
cygwin not installed. The package was not found with the source(s) listed.
 Source(s): 'https://community.chocolatey.org/api/v2/'
 NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
 the package may not be found.
Please see https://docs.chocolatey.org/en-us/troubleshooting for more
 assistance.
Installing the following packages:
git;gcc-core;python38-devel;python38-pip
By installing, you accept licenses for the packages.

Chocolatey installed 0/0 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
The system cannot find the file specified
C:\\tools\\cygwin\\bin\\bash: D:\a\_temp\9a3f62ea-c178-4826-b186-e16cec4eb03b.ps1:3
Line |
   3 |  C:\\tools\\cygwin\\bin\\bash -l -x -c 'python3.8 -m pip install tox'
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The term 'C:\\tools\\cygwin\\bin\\bash' is not recognized as a name of a cmdlet, function, script
     | file, or executable program. Check the spelling of the name, or if a path was included, verify that
     | the path is correct and try again.

Error: Process completed with exit code 1.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
lazkacommented, Jan 17, 2022

I’ve created #3033 either way. Feel free to merge or close.

0reactions
mkoeppecommented, Jan 9, 2022

I would think this was just an intermittent problem. Cygwin tests based on choco continue to work normally for us (https://github.com/sagemath/sage/runs/4752774122)

Read more comments on GitHub >

github_iconTop Results From Across the Web

CI: Cygwin failure tracking issue #20221
The Cygwin testing has started failing. Cygwin version, 3.3.0-1, was released 10/28/2021, which might be related, hence this tracking issue.
Read more >
Cygwin FAQ
What if the Cygwin Setup program fails? 2.16. My Windows logon name has a space in it, will this cause problems? 2.17. My...
Read more >
On Windows running Bash (Cygwin) shell has bug in ... - GitLab
Problem with this is that the scripts for Windows are powershell and not compatible with bash and thus a parallel:matrix solution unreachable.
Read more >
Problem with cygwin (solved) - ROOT Forum
Hi,. I just can't understand what's happening : I was using ROOT the whole day without any problem, but after a crash &...
Read more >
How to fix Cygwin installation, when unable to update setup?
Why is this happening and how can I fix this, preferably w/o a complete uninstall-install cycle of Cygwin? The symptoms you describe sound ......
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