Skip to content

Occasional failures on windows-latest runner #557

@stinodego

Description

@stinodego

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:

Details
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions