Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional failures on windows-latest runner #557

Open
stinodego opened this issue Jan 24, 2024 · 3 comments
Open

Occasional failures on windows-latest runner #557

stinodego opened this issue Jan 24, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@stinodego
Copy link

stinodego commented Jan 24, 2024

Describe the bug

The action occasionally fails on Windows runners.

To Reproduce

I don't have a reproduction - mostly it works fine, but sometimes it fails. Here's an example failure:
https://github.com/pola-rs/polars/actions/runs/7567589915/job/20607064007

Traceback:

Run ts-graphviz/setup-graphviz@v1
  with:
    ubuntu-skip-apt-update: false
    macos-skip-brew-update: false
  env:
    RUSTFLAGS: -C debuginfo=0
    pythonLocation: C:\hostedtoolcache\windows\Python\3.1[2](https://github.com/pola-rs/polars/actions/runs/7567589915/job/20607064007#step:4:2).1\x64
    PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\[3](https://github.com/pola-rs/polars/actions/runs/7567589915/job/20607064007#step:4:3).12.1\x6[4](https://github.com/pola-rs/polars/actions/runs/7567589915/job/20607064007#step:4:4)/lib/pkgconfig
    Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.1\x64
    Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.1\x64
    Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.12.1\x64
C:\ProgramData\Chocolatey\bin\choco.exe install graphviz
Chocolatey v2.2.2
Installing the following packages:
graphviz
By installing, you accept licenses for the packages.
[NuGet] Error downloading 'Graphviz.9.0.0 : chocolatey-core.extension [1.3.[5](https://github.com/pola-rs/polars/actions/runs/7567589915/job/20607064007#step:4:5), )' from 'https://community.chocolatey.org/api/v2/package/Graphviz/[9](https://github.com/pola-rs/polars/actions/runs/7567589915/job/20607064007#step:4:9).0.0'.
[NuGet] Response status code does not indicate success: 500 (Internal Server Error).
[NuGet] Error downloading 'Graphviz.9.0.0 : chocolatey-core.extension [1.3.5, )' from 'https://community.chocolatey.org/api/v2/package/Graphviz/9.0.0'.
[NuGet] Response status code does not indicate success: 500 (Internal Server Error).
Graphviz not installed. An error occurred during installation:
 Error downloading 'Graphviz.9.0.0 : chocolatey-core.extension [1.3.5, )' from 'https://community.chocolatey.org/api/v2/package/Graphviz/9.0.0'.
Graphviz package files install failed with exit code 1. Performing other installation steps.
The install of Graphviz was NOT successful.
Graphviz not installed. An error occurred during installation:
 Error downloading 'Graphviz.9.0.0 : chocolatey-core.extension [1.3.5, )' from 'https://community.chocolatey.org/api/v2/package/Graphviz/9.0.0'.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - Graphviz (exited 1) - Graphviz not installed. An error occurred during installation:
 Error downloading 'Graphviz.9.0.0 : chocolatey-core.extension [1.3.5, )' from 'https://community.chocolatey.org/api/v2/package/Graphviz/9.0.0'.
Error: The process 'C:\ProgramData\Chocolatey\bin\choco.exe' failed with exit code 1

Expected behavior

Installation should succeed.

Additional context

N/A

@kamiazya
Copy link
Member

kamiazya commented Feb 5, 2024

@all-contributors please add @stinodego for bug.

Copy link
Contributor

@kamiazya

I've put up a pull request to add @stinodego! 🎉

@kamiazya
Copy link
Member

@stinodego Upon closer inspection, this installation failure is due to a 500 response from the server, so it is not a glitch in this project.

The only possible thing is to retry several times upon failure, which I may implement when the time is right.

I will remove the bug label.

@kamiazya kamiazya removed the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants