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

[windows-latest] Failing Chocolatey install of WinSCP #9367

Closed
2 of 13 tasks
mattias-fritzson opened this issue Feb 19, 2024 · 1 comment
Closed
2 of 13 tasks

[windows-latest] Failing Chocolatey install of WinSCP #9367

mattias-fritzson opened this issue Feb 19, 2024 · 1 comment

Comments

@mattias-fritzson
Copy link

Description

image

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Image: windows-2022
Version: 20240211.1.0
Failing build job: https://github.com/Maersk-Global/edi-sb-lns-regression/actions/runs/7957650561/job/21720916263

Is it regression?

No, last successfull build has same version.

Expected behavior

We run the command: choco install winscp
Expect it to successfully install.

Actual behavior

Not even download of the winscp package seems to happen. Instead we see error messages about credentials:

Chocolatey v2.2.2
Installing the following packages:
winscp
By installing, you accept licenses for the packages.
Invalid credentials specified.
Please provide credentials for: https://community.chocolatey.org/api/v2/
User name: Password: Chocolatey had an error on fv-az365-579 (with user runneradmin):
System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.

Repro steps

The following action is enough to test it:

`
name: Test WinSCP Install

on:
workflow_dispatch:

jobs:
test-install:
runs-on: windows-latest
steps:
- name: Install winscp
run: |
choco install winscp
shell: pwsh
`

@mattias-fritzson
Copy link
Author

Seems to just be an issue with the Chokolatey repo after maintenance this morning. Nothing to see here... closing the ticket.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants