manusa / actions-setup-minikube

Set up your GitHub Actions workflow with a specific version of Minikube and Kuberentes
Apache License 2.0
62 stars 26 forks source link

Action fails on apt update #34

Closed kornys closed 3 years ago

kornys commented 3 years ago

I see that minikube action is not able to complete apt update.

Get:46 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [80.7 kB]
Get:47 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [10.6 kB]
Get:48 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 Packages [3056 B]
Get:49 https://dl.bintray.com/sbt/debian  Packages [5122 B]
Get:50 https://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [191 kB]
Reading package lists...
E: The repository 'https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04  Release' no longer has a Release file.
Error: Command failed: sudo apt-get update
Error: Command failed: sudo apt-get update
    at checkExecSyncError (child_process.js:621:11)
    at Object.execSync (child_process.js:657:15)
    at logExecSync (/home/runner/work/_actions/manusa/actions-setup-minikube/v2.3.0/src/exec.js:8:17)
    at configureEnvironment (/home/runner/work/_actions/manusa/actions-setup-minikube/v2.3.0/src/configure-environment.js:25:3)
    at run (/home/runner/work/_actions/manusa/actions-setup-minikube/v2.3.0/src/index.js:14:9)
    at Object.<anonymous> (/home/runner/work/_actions/manusa/actions-setup-minikube/v2.3.0/src/index.js:20:1)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14) {
  status: 100,
  signal: null,
  output: [ null, null, null ],
  pid: 1498,
  stdout: null,
  stderr: null
}
Error: Command failed: sudo apt-get update
leseb commented 3 years ago

Same on 18.04. Looks like things changed a bit here: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable, today. 🤷‍♂️

leseb commented 3 years ago

FYI, it's working again on my side 🥳

manusa commented 3 years ago

It seems like an intermittent failure, something wrong with the Open Suse repo. I'm cutting a new release with something that should fix it for all runs 🤞

leseb commented 3 years ago

Perhaps a repo caching issue.

manusa commented 3 years ago

Given the timestamps in https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable image

and https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ image

Probably had something to do with a failed release process in Open Suse. Actions seem to pass now, not sure if the fix actually does something or not. Anyway, there's a v2.3.1 out.