Skip to content

GH-39874: [CI][C++][Windows] Use pre-installed OpenSSL#39882

Merged
kou merged 1 commit intoapache:mainfrom
kou:ci-cpp-windows-choco
Feb 1, 2024
Merged

GH-39874: [CI][C++][Windows] Use pre-installed OpenSSL#39882
kou merged 1 commit intoapache:mainfrom
kou:ci-cpp-windows-choco

Conversation

@kou
Copy link
Copy Markdown
Member

@kou kou commented Feb 1, 2024

Rationale for this change

It seems that we can't use OpenSSL via Chocolatey.

openssl v3.2.0 [Approved]
openssl package files install completed. Performing other installation steps.
Attempt to get headers for https://slproweb.com/download/Win64OpenSSL-3_2_0.exe failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading openssl 64 bit
  from 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found." 
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.
The install of openssl was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\openssl\tools\chocolateyinstall.ps1'.
 See log for details.

What changes are included in this PR?

Use pre-installed OpenSSL on self-hosted GitHub runner instead.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

It seems that we can't use OpenSSL via Chocolatey.
@kou kou requested review from assignUser and raulcd as code owners February 1, 2024 13:58
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 1, 2024

⚠️ GitHub issue #39874 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Feb 1, 2024
@kou
Copy link
Copy Markdown
Member Author

kou commented Feb 1, 2024

+1

@kou kou merged commit 63c7c4a into apache:main Feb 1, 2024
@kou kou deleted the ci-cpp-windows-choco branch February 1, 2024 14:43
@kou kou removed the awaiting committer review Awaiting committer review label Feb 1, 2024
@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 63c7c4a.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…39882)

### Rationale for this change

It seems that we can't use OpenSSL via Chocolatey.

```text
openssl v3.2.0 [Approved]
openssl package files install completed. Performing other installation steps.
Attempt to get headers for https://slproweb.com/download/Win64OpenSSL-3_2_0.exe failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading openssl 64 bit
  from 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found." 
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.
The install of openssl was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\openssl\tools\chocolateyinstall.ps1'.
 See log for details.
```

### What changes are included in this PR?

Use pre-installed OpenSSL on self-hosted GitHub runner instead.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#39874

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI][C++][Windows] Installing OpenSSL by Chocolatey failed

2 participants