awalsh128 / cache-apt-pkgs-action

Cache APT packages in GitHub Actions
Other
205 stars 35 forks source link

Cache Service Failing #20

Closed JumperBot closed 2 years ago

JumperBot commented 2 years ago

Ran this like every other day, might've been my 5th or 6th time for today. This only happened right now, Cache service responded with 503.

Some info from build process:

    > Run awalsh128/cache-apt-pkgs-action@v1.0.1
    > Run /home/runner/work/_actions/awalsh128/cache-apt-pkgs-action/v1.0.1/pre_cache_action.sh \
    Validating action arguments (version='', packages='openjdk-11-jdk')...done.
    Verifying packages...done.
    Creating cache key...
    - Normalized package list is 'openjdk-11-jdk '.
    - Value to hash is 'openjdk-11-jdk @'.
    - Value hashed as '167ce49116dfc5b382b84fddb301067b'.
    done.
    Hash value written to /home/runner/cache-apt-pkgs/cache_key.md5
    > Run actions/cache@v2
    **Warning**: getCacheEntry failed: Cache service responded with 503
    Run /home/runner/work/_actions/awalsh128/cache-apt-pkgs-action/v1.0.1/post_cache_action.sh \
    Clean installing and caching 1 package(s).
    Package list:
    - openjdk-11-jdk
    Updating APT package list...done.
    Clean installing and caching 1 packages...
    - openjdk-11-jdk
      Installing...done.
      Caching to /home/runner/cache-apt-pkgs/openjdk-11-jdk.tar.gz...done.
    done.
    Writing package manifest to /home/runner/cache-apt-pkgs/manifest.log...done.

    Post job cleanup.
    Post job cleanup.
    **Warning**: reserveCache failed: Cache service responded with 503

How I generally use the action:

    uses: awalsh128/cache-apt-pkgs-action@v1.0.1
        with:
          packages: openjdk-11-jdk

Edit:

I ran the action again, there is definitely something wrong.

There goes my Actions minutes 😆

awalsh128 commented 2 years ago

Looks like the underlying cache action was failing. Here is the issue thread tracking the problem...

https://github.com/actions/setup-java/issues/343

It should have gotten resolved a couple hours after this issue was filed. Give it another shot and let me know how it goes.

JumperBot commented 2 years ago

Well it works now, didn't know it uses setup-java for the JDK, thanks!

awalsh128 commented 2 years ago

Glad to hear. It doesn't, it uses the same cache action though. I should have just pointed to the actual service issue itself.