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

Suddenly the step is extremely slow? #109

Closed
mydea opened this issue Oct 14, 2020 · 5 comments · May be fixed by affiliatedkat/setup-java#21 or idkyou1500/setup-java#2
Closed

Suddenly the step is extremely slow? #109

mydea opened this issue Oct 14, 2020 · 5 comments · May be fixed by affiliatedkat/setup-java#21 or idkyou1500/setup-java#2
Assignees
Labels
bug Something isn't working

Comments

@mydea
Copy link

mydea commented Oct 14, 2020

Since a bit more than an hour, suddenly this action became extremely slow - it takes 5-10 minutes to run.

We have multiple workflows which look like this:

jobs:
  test:
    runs-on: ubuntu-latest
    timeout-minutes: 6    steps:
      - uses: actions/checkout@v2
      - name: Setup Java
        uses: actions/setup-java@v1
        with:
          java-version: "11"
          architecture: "x64"

Which now time out because the "Setup Java" step takes too long, and is aborted:

Run actions/setup-java@v1
  with:
    java-version: 11
    architecture: x64
    java-package: jdk
    server-id: github
    server-username: GITHUB_ACTOR
    server-password: GITHUB_TOKEN
Error: The operation was canceled.

With debugging enabled, I get this output:

Run actions/setup-java@v1
##[debug]isExplicit: 
##[debug]explicit? false
##[debug]evaluating 0 versions
##[debug]match not found
##[debug]Downloading JDK from Azul
##[debug]Searching for files with extension: -linux_x64.tar.gz
##[debug]Downloading https://static.azul.com/zulu/bin/zulu11.41.23-ca-jdk11.0.8-linux_x64.tar.gz
##[debug]Downloading /home/runner/work/_temp/396c3e9f-c908-4376-bc75-60add47a4e50
##[debug]Re-evaluate condition on job cancellation for step: 'Setup Java'.
@tonsky
Copy link

tonsky commented Oct 14, 2020

@orestis
Copy link

orestis commented Oct 14, 2020

Same, sometimes it fails outright. Cancelling the workflow and re-starting seems to resolve though.

@mydea
Copy link
Author

mydea commented Oct 14, 2020

Seems to be working again for me!

@dmitry-shibanov dmitry-shibanov added the bug Something isn't working label Jan 14, 2021
@dmitry-shibanov
Copy link
Contributor

Hello, everyone. Have you faced up with this issue recently ?

@dmitry-shibanov
Copy link
Contributor

dmitry-shibanov commented Feb 3, 2021

Hello everyone, I'm closing the issue since it's not reproducible for now. If you have any concerns or questions feel free to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants