GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Action can wait for at least 27 minutes when no progress is being made on the download · Issue #810 · actions/cache

Action can wait for at least 27 minutes when no progress is being made on the download #810

New issue
Copy link
New issue
Copy link
Closed
Closed
Action can wait for at least 27 minutes when no progress is being made on the download#810
#1236 (+5)
Copy link
Labels
area:blob-storagebugSomething isn't working

Description

@kevinlul
kevinlul
opened on Jun 1, 2022
Issue body actions

Example: https://github.com/ccmbioinfo/osmp/runs/6692774526?check_suite_focus=true

This hung on Received 1189052508 of 1193246812 (99.6%) for almost half an hour before we noticed and cancelled the workflow run.

Reacted by Rafael Anachoreta, Daniel Jaglowski, Kurt von Laven, Colin White, Billy Vong, Jonathan, Luca Dommes, Mark Ridgwell, Markus Maga, Sean Wang and 24 more

Activity

Next
  1. github-actions
    assigned
    bishal-pdMSFT
    on Jun 1, 2022
  2. fl250144 commented on Jun 2, 2022

    @fl250144
    fl250144
    on Jun 2, 2022
    More actions

    I have this errors multiple times by day...
    my first thought was the cache size that was around 1.5gb... but the problem still happend even with a cache of about 150mb

    image

    Reacted by Steven and Yann Bayle
  3. vsvipul commented on Jun 5, 2022

    @vsvipul
    vsvipul
    on Jun 5, 2022
    Contributor
    More actions

    @kevinlul @fl250144 Please provide full logs with step debugging enabled so that we can debug this further. Thank you.

  4. kevinlul commented on Jun 6, 2022

    @kevinlul
    kevinlul
    on Jun 6, 2022
    Author
    More actions

    Hello, unfortunately the bug was not reproducible, as it cleared up when we cancelled the workflow and reran it. I think the network issues that may cause this bug (e.g. GitHub API hanging) would be difficult for us to reproduce.

  5. vsvipul commented on Jun 6, 2022

    @vsvipul
    vsvipul
    on Jun 6, 2022
    Contributor
    More actions

    @kevinlul Please keep the step debugging on and provide the logs if it reoccurs anytime soon.

    Reacted by Kevin Lu and Fabricio Lopes
  6. fl250144 commented on Jun 8, 2022

    @fl250144
    fl250144
    on Jun 8, 2022
    More actions

    37.zip
    @vsvipul here it is
    this only one example, i have more if you need.

    Reacted by Vipul
  7. Kurt-von-Laven commented on Jun 12, 2022

    @Kurt-von-Laven
    Kurt-von-Laven
    on Jun 12, 2022
    More actions

    We have experienced this multiple times as well.

  8. genisd commented on Jun 13, 2022

    @genisd
    genisd
    on Jun 13, 2022
    More actions

    We have this issue as well if we use self hosted runners hosted in europe.
    At the same time usiing the Github provided runners I don't get this :/

    Anybody else who's getting this using own runners?

    Reacted by Matthieu Rondeau, Vipul, Rafael Anachoreta, OmriSteiner and Yann Bayle
  9. jontze commented on Jun 27, 2022

    @jontze
    jontze
    on Jun 27, 2022
    More actions

    I encountered this behavior now as well multiple times (on github provided runners). The first time the cache download was stuck for 6 hours. As it happens only rarely non-deterministic I can't provide any debug logs nether the link to the workflow as it's a private repo.

    For me this occurred during using the cache feature of actions/setup-node which internally uses actions/cache.

    Logs
    Run actions/setup-node@v3
    with:
      node-version-file: .nvmrc
      cache: yarn
      always-auth: false
      check-latest: false
      token: ***
    Resolved .nvmrc as 16
    Found in cache @ /opt/hostedtoolcache/node/16.15.0/x64
    /usr/local/bin/yarn --version
    1.22.18
    /usr/local/bin/yarn cache dir
    /home/runner/.cache/yarn/v6
    Received 0 of 1585939639 (0.0%), 0.0 MBs/sec
    Received 83886080 of 1585939639 (5.3%), 40.0 MBs/sec
    Received 222298112 of 1585939639 (14.0%), 70.7 MBs/sec
    Received 348127232 of 1585939639 (22.0%), 83.0 MBs/sec
    Received 494927872 of 1585939639 (31.2%), 94.3 MBs/sec
    Received 612368384 of 1585939639 (38.6%), 97.2 MBs/sec
    Received 713031680 of 1585939639 (45.0%), 97.0 MBs/sec
    Received 817889280 of 1585939639 (51.6%), 97.4 MBs/sec
    Received 910163968 of 1585939639 (57.4%), 96.3 MBs/sec
    Received 1002438656 of 1585939639 (63.2%), 95.5 MBs/sec
    Received 1107296256 of 1585939639 (69.8%), 95.9 MBs/sec
    Received 1199570944 of 1585939639 (75.6%), 95.2 MBs/sec
    Received 1296039936 of 1585939639 (81.7%), 95.0 MBs/sec
    Received 1396703232 of 1585939639 (88.1%), 95.0 MBs/sec
    Received 1497366528 of 1585939639 (94.4%), 95.1 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 93.9 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 88.4 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 83.5 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 79.1 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 75.1 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 71.6 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 68.3 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 65.3 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 62.6 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 60.1 MBs/sec
    [.... truncated, thousand lines and several hours later...] 
    Received 1577551031 of 1585939639 (99.5%), 0.1 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 0.1 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 0.1 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 0.1 MBs/sec
    Received 1577551031 of 1585939639 (99.5%), 0.1 MBs/sec
    Error: The operation was canceled.

    As a workaround I added timeout-minutes to the steps so the workflow will at least get canceled automatically.

    Reacted by Luca Dommes, Sankalp, Chingis Gomboev and Yann Bayle
  10. vsvipul
    assigned
    kotewar
    on Jun 27, 2022
  11. kotewar commented on Jun 27, 2022

    @kotewar
    kotewar
    on Jun 27, 2022
    Contributor
    More actions

    We suspect an issue with the Azure SDK and we've opened an issue for the same here -
    Azure/azure-sdk-for-js#22321

    Reacted by Jonathan, Daniel, Kurt von Laven, Steven, OmriSteiner, DJ Tarazona, Yann Bayle and Anoushka Shetty
  12. nguyentoanit commented on Jun 28, 2022

    @nguyentoanit
    nguyentoanit
    on Jun 28, 2022
    More actions

    This happened to my repo as well. 😞

    image

    Reacted by Roman, Toan Nguyen, Luca Dommes, David Connolly and Yann Bayle
  13. vsvipul
    added
    blocked
    on Jun 28, 2022
  14. ichina commented on Jun 29, 2022

    @ichina
    ichina
    on Jun 29, 2022
    More actions

    same happening to our repo as well,
    self-hosted macOS arm64 ,
    Cache Size: ~786 MB (823760266 B),
    action repository 'actions/cache@v3' (SHA:c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d)
    Screen Shot 2022-06-28 at 16 20 03

  15. 41 remaining items

  16. kodiakhq
    added a commit that references this issue on Dec 10, 2022

    [tests] Update to use `actions/cache@v3` (#9056)

    142c2ce
  17. styfle
    added a commit that references this issue on Jan 30, 2023

    [tests] Fix github action restore cache timeout (#9342)

    db216f9
  18. jarydpeloton commented on Mar 30, 2023

    @jarydpeloton
    jarydpeloton
    on Mar 30, 2023
    More actions

    How is the progress on this issue going? We are seeing this multiple times a day, even with a retry step based on initial failure from SEGMENT_DOWNLOAD_TIMEOUT_MINS

  19. Kurt-von-Laven commented on Mar 30, 2023

    @Kurt-von-Laven
    Kurt-von-Laven
    on Mar 30, 2023
    More actions

    I know they recently lowered the default timeout to 10 minutes, so I assume the root cause upstream remains unfixed.

  20. peterbe commented on Apr 19, 2023

    @peterbe
    peterbe
    on Apr 19, 2023
    More actions

    I know they recently lowered the default timeout to 10 minutes, so I assume the root cause upstream remains unfixed.

    The 10 minutes is for a segment. What happened to use yesterday was that it had been running for 47 minutes before I manually cancelled it. Perhaps in our case, it constantly but very slowly was moving a head with segments in under 10 minutes but ultimately would have taken the full 60 minutes eventually.

  21. jsoref commented on May 19, 2023

    @jsoref
    jsoref
    on May 19, 2023
    Contributor
    More actions

    @kotewar in #810 (comment), you wrote:

    Apologies, the environment variable had a typo in the issue as well as documentation. That's why it was not working as expected.

    SEGMENT_DOWNLOAD_TIMEOUT_MINS with S at the end should be used.

    Could you please edit all of the other comments where you wrote SEGMENT_DOWNLOAD_TIMEOUT_MIN?

    • Action can wait for at least 27 minutes when no progress is being made on the download #810 (comment)
    • Action can wait for at least 27 minutes when no progress is being made on the download #810 (comment)
    • Action can wait for at least 27 minutes when no progress is being made on the download #810 (comment) (this will require a comment clarifying things)

    We tripped on this today after it took an hour to retrieve a cache.

  22. kotewar commented on May 19, 2023

    @kotewar
    kotewar
    on May 19, 2023
    Contributor
    More actions

    @jsoref, sorry. Updated the comments.

    Reacted by Josh Soref and Anoushka Shetty
  23. thinkafterbefore commented on May 25, 2023

    @thinkafterbefore
    thinkafterbefore
    on May 25, 2023
    More actions

    Hey everyone,

    I'm Adam, co-founder for BuildJet for GitHub Actions. Our customers often complain about reliability and speed issues like the one reported here. Today, we launched BuildJet Cache, a GitHub Cache alternative thats reliable, fast and free.

    It’s fully compatible with GitHub’s Cache, all you need to do is replace action/cache with buildjet/cache. It works on any runner - be it official, self-hosted, or BuildJet. Whichever runner you choose, BuildJet Cache doubles your free storage, offering a generous 20 GB/repo/week storage space at no cost.

    Head over to our launch post for more details: https://buildjet.com/for-github-actions/blog/launch-buildjet-cache

    Reacted by Josh Soref, Jonathan, Steven, Kurt von Laven and Michael Moore
  24. tonyarnold commented on Jun 6, 2023

    @tonyarnold
    tonyarnold
    on Jun 6, 2023
    More actions

    This issue is the leading cause of failures in our CI workflows. I'm seeing this on almost every run, and it's causing huge problems. Is there anything that we as users can do to show the Azure team that this issue needs attention? The last comment I saw from that team said that they'd place it on their backlog, so I've got zero confidence this issue is going to be fixed anytime soon.

    Reacted by Daniel Jaglowski
  25. jsoref commented on Jun 6, 2023

    @jsoref
    jsoref
    on Jun 6, 2023
    Contributor
    More actions

    My general approach is to open tickets to support. I can't say it'll help.

    If it were happening to me regularly, I'd try the third party drop-in replacement. We've only tripped on it occasionally, so I'm mostly frustrated with the lousy messaging which I poked them to improve.

  26. kotewar
    removed their assignment
    on Jun 16, 2023
  27. kgrzebien
    closed this as completedin #1217on Aug 9, 2023
  28. chkimes commented on Aug 9, 2023

    @chkimes
    chkimes
    on Aug 9, 2023
    Contributor
    More actions

    We have merged a fix for this (see actions/toolkit#1484). Please @-mention me if you observe failures so that I can investigate.

    Reacted by Robrecht Cannoodt, Steven, Jonathan, Pablo Baeyens, Dries Schaumont and Connor Smith
  29. colinrotherham
    added a commit that references this issue on Dec 12, 2023

    Avoid Node.js setup cache restore delays

    e811ef2
  30. ravularohit
    added a commit that references this issue on Jun 25, 2026

    [CI] Use stopgap solution for hanging actions/cache bug (open-telemet…

    3e63881
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:blob-storagebugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.