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

Chocolatey had an error on fv-az838-323 (with user runneradmin) #9477

Closed
1 of 13 tasks
fangq opened this issue Mar 10, 2024 · 2 comments
Closed
1 of 13 tasks

Chocolatey had an error on fv-az838-323 (with user runneradmin) #9477

fangq opened this issue Mar 10, 2024 · 2 comments

Comments

@fangq
Copy link

fangq commented Mar 10, 2024

Description

Windows runner had been working fine until half day ago - choco fails to install packages in the below action log

https://github.com/fangq/mmc/actions/runs/8217659261/job/22473602280

the error message is

  choco install octave.portable --version=8.3.0
  choco install upx
  choco install mingw --version=8.1.0
  echo 'C:\ProgramData\chocolatey\lib\octave.portable\tools\octave\mingw64\bin' >> $GITHUB_PATH
  echo 'C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\bin\' >> $GITHUB_PATH
  echo 'MW_MINGW64_LOC=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/' >> $GITHUB_ENV
  shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
Chocolatey v2.2.2
Installing the following packages:
octave.portable
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-az8[3](https://github.com/fangq/mmc/actions/runs/8217659261/job/22473602280#step:6:3)[8](https://github.com/fangq/mmc/actions/runs/8217659261/job/22473602280#step:6:8)-323 (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.
   at System.Console.ReadKey(Boolean intercept)
   at chocolatey.infrastructure.commandline.ReadKeyTimeout.ConsoleReadKey()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

the last successful build was 9 hours ago

https://github.com/fangq/mmc/actions/runs/8216028448/job/22470141369

choco version is v2.2.2 in both the good and bad builds

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

https://github.com/fangq/mmc/actions/runs/8217659261/job/22473602280

Is it regression?

https://github.com/fangq/mmc/actions/runs/8216028448/job/22470141369

Expected behavior

choco install complete successfully

Actual behavior

choco fails to install package octave

Repro steps

run choco install octave.portable --version=8.3.0 in a windows runner

@binarymaster
Copy link

@mikhailkoliada
Copy link
Member

Duplicate of #9476

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

3 participants