actions / actions/cache

Action gets stuck forever if cache download times out

Open
#1,234 4 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

The same problem as reported years ago on https://github.com/actions/cache/issues/731 is back.

Wed, 06 Sep 2023 14:05:43 GMT | Run actions/cache@v3
Wed, 06 Sep 2023 14:05:43 GMT |   with:
Wed, 06 Sep 2023 14:05:43 GMT |     path: node_modules
Wed, 06 Sep 2023 14:05:43 GMT |     key: node_modules-c8afd7dc0a5b42630a5caa0df543b435fd7e5f69efa662f6038f7a191d28b06c
Wed, 06 Sep 2023 14:05:43 GMT |     enableCrossOsArchive: false
Wed, 06 Sep 2023 14:05:43 GMT |     fail-on-cache-miss: false
Wed, 06 Sep 2023 14:05:43 GMT |     lookup-only: false
Wed, 06 Sep 2023 14:05:44 GMT | Received 63347836 of 71736444 (88.3%), 60.4 MBs/sec
Wed, 06 Sep 2023 14:05:45 GMT | Received 63347836 of 71736444 (88.3%), 30.2 MBs/sec
Wed, 06 Sep 2023 14:05:46 GMT | Received 63347836 of 71736444 (88.3%), 20.1 MBs/sec
Wed, 06 Sep 2023 14:05:47 GMT | Received 63347836 of 71736444 (88.3%), 15.1 MBs/sec
Wed, 06 Sep 2023 14:05:48 GMT | Received 63347836 of 71736444 (88.3%), 12.1 MBs/sec
Wed, 06 Sep 2023 14:05:49 GMT | Received 63347836 of 71736444 (88.3%), 10.1 MBs/sec
Wed, 06 Sep 2023 14:05:50 GMT | Received 67542140 of 71736444 (94.2%), 9.2 MBs/sec
Wed, 06 Sep 2023 14:05:51 GMT | Received 67542140 of 71736444 (94.2%), 8.0 MBs/sec
Wed, 06 Sep 2023 14:05:52 GMT | Received 67542140 of 71736444 (94.2%), 7.2 MBs/sec
Wed, 06 Sep 2023 14:05:53 GMT | Received 67542140 of 71736444 (94.2%), 6.4 MBs/sec
Wed, 06 Sep 2023 14:05:54 GMT | Received 67542140 of 71736444 (94.2%), 5.8 MBs/sec
Wed, 06 Sep 2023 14:05:55 GMT | Received 67542140 of 71736444 (94.2%), 5.4 MBs/sec
Wed, 06 Sep 2023 14:05:56 GMT | Received 67542140 of 71736444 (94.2%), 4.9 MBs/sec
Wed, 06 Sep 2023 14:05:57 GMT | Received 67542140 of 71736444 (94.2%), 4.6 MBs/sec
Wed, 06 Sep 2023 14:05:58 GMT | Received 67542140 of 71736444 (94.2%), 4.3 MBs/sec
Wed, 06 Sep 2023 14:05:59 GMT | Received 67542140 of 71736444 (94.2%), 4.0 MBs/sec
Wed, 06 Sep 2023 14:06:00 GMT | Received 67542140 of 71736444 (94.2%), 3.8 MBs/sec
Wed, 06 Sep 2023 14:06:01 GMT | Received 67542140 of 71736444 (94.2%), 3.6 MBs/sec
Wed, 06 Sep 2023 14:06:02 GMT | Received 67542140 of 71736444 (94.2%), 3.4 MBs/sec
Wed, 06 Sep 2023 14:06:03 GMT | Received 67542140 of 71736444 (94.2%), 3.2 MBs/sec
Wed, 06 Sep 2023 14:06:04 GMT | Received 67542140 of 71736444 (94.2%), 3.1 MBs/sec
Wed, 06 Sep 2023 14:06:05 GMT | Received 67542140 of 71736444 (94.2%), 2.9 MBs/sec
Wed, 06 Sep 2023 14:06:06 GMT | Received 67542140 of 71736444 (94.2%), 2.8 MBs/sec
Wed, 06 Sep 2023 14:06:07 GMT | Received 67542140 of 71736444 (94.2%), 2.7 MBs/sec
Wed, 06 Sep 2023 14:06:08 GMT | Received 67542140 of 71736444 (94.2%), 2.6 MBs/sec
Wed, 06 Sep 2023 14:06:09 GMT | Received 67542140 of 71736444 (94.2%), 2.5 MBs/sec
Wed, 06 Sep 2023 14:06:10 GMT | Received 67542140 of 71736444 (94.2%), 2.4 MBs/sec
Wed, 06 Sep 2023 14:06:11 GMT | Received 67542140 of 71736444 (94.2%), 2.3 MBs/sec
Wed, 06 Sep 2023 14:06:12 GMT | Received 67542140 of 71736444 (94.2%), 2.2 MBs/sec
Wed, 06 Sep 2023 14:06:13 GMT | Received 67542140 of 71736444 (94.2%), 2.1 MBs/sec
Wed, 06 Sep 2023 14:06:14 GMT | Received 67542140 of 71736444 (94.2%), 2.1 MBs/sec
Wed, 06 Sep 2023 14:06:15 GMT | Received 67542140 of 71736444 (94.2%), 2.0 MBs/sec
Wed, 06 Sep 2023 14:06:16 GMT | Received 67542140 of 71736444 (94.2%), 1.9 MBs/sec
Wed, 06 Sep 2023 14:06:17 GMT | Received 67542140 of 71736444 (94.2%), 1.9 MBs/sec
Wed, 06 Sep 2023 14:06:18 GMT | Received 67542140 of 71736444 (94.2%), 1.8 MBs/sec
Wed, 06 Sep 2023 14:06:19 GMT | Received 67542140 of 71736444 (94.2%), 1.8 MBs/sec
Wed, 06 Sep 2023 14:06:20 GMT | Received 67542140 of 71736444 (94.2%), 1.7 MBs/sec
Wed, 06 Sep 2023 14:06:21 GMT | Received 67542140 of 71736444 (94.2%), 1.7 MBs/sec
Wed, 06 Sep 2023 14:06:22 GMT | Received 67542140 of 71736444 (94.2%), 1.6 MBs/sec
Wed, 06 Sep 2023 14:06:23 GMT | Received 67542140 of 71736444 (94.2%), 1.6 MBs/sec
Wed, 06 Sep 2023 14:06:24 GMT | Received 67542140 of 71736444 (94.2%), 1.6 MBs/sec
Wed, 06 Sep 2023 14:06:25 GMT | Received 67542140 of 71736444 (94.2%), 1.5 MBs/sec
Wed, 06 Sep 2023 14:06:26 GMT | Received 67542140 of 71736444 (94.2%), 1.5 MBs/sec
Wed, 06 Sep 2023 14:06:27 GMT | Received 67542140 of 71736444 (94.2%), 1.5 MBs/sec
Wed, 06 Sep 2023 14:06:28 GMT | Received 67542140 of 71736444 (94.2%), 1.4 MBs/sec
Wed, 06 Sep 2023 14:06:29 GMT | Received 67542140 of 71736444 (94.2%), 1.4 MBs/sec
Wed, 06 Sep 2023 14:06:30 GMT | Received 67542140 of 71736444 (94.2%), 1.4 MBs/sec
Wed, 06 Sep 2023 14:06:31 GMT | Received 67542140 of 71736444 (94.2%), 1.3 MBs/sec
Wed, 06 Sep 2023 14:06:32 GMT | Received 67542140 of 71736444 (94.2%), 1.3 MBs/sec
Wed, 06 Sep 2023 14:06:33 GMT | Received 67542140 of 71736444 (94.2%), 1.3 MBs/sec
Wed, 06 Sep 2023 14:06:34 GMT | Received 67542140 of 71736444 (94.2%), 1.3 MBs/sec
Wed, 06 Sep 2023 14:06:35 GMT | Received 67542140 of 71736444 (94.2%), 1.2 MBs/sec
Wed, 06 Sep 2023 14:06:36 GMT | Received 67542140 of 71736444 (94.2%), 1.2 MBs/sec
Wed, 06 Sep 2023 14:06:37 GMT | Received 67542140 of 71736444 (94.2%), 1.2 MBs/sec
Wed, 06 Sep 2023 14:06:38 GMT | Received 67542140 of 71736444 (94.2%), 1.2 MBs/sec
Wed, 06 Sep 2023 14:06:39 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:40 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:41 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:42 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:43 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:44 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:45 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:46 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:47 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:48 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:49 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:50 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:51 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:52 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:53 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:54 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:55 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:56 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:57 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:58 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:59 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:00 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:01 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:02 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:03 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:04 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:05 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:06 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:07 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:08 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:09 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:10 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:11 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:12 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:13 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:14 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:15 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:16 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:17 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:18 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:19 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:20 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:21 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:22 GMT | Received 67542140 of 71736444 (94.2%), 0.6 MBs/sec
Wed, 06 Sep 2023 14:07:23 GMT | Received 67542140 of 71736444 (94.2%), 0.6 MBs/sec
Wed, 06 Sep 2023 14:07:23 GMT | Received 67542140 of 71736444 (94.2%), 0.6 MBs/sec
Wed, 06 Sep 2023 14:07:23 GMT | Warning: Failed to restore: The operation cannot be completed in timeout.
Wed, 06 Sep 2023 14:07:23 GMT | Cache not found for input keys: node_modules-c8afd7dc0a5b42630a5caa0df543b435fd7e5f69efa662f6038f7a191d28b06c
Wed, 06 Sep 2023 16:23:25 GMT | Error: The operation was canceled.

Seems like the timeout is "working" as the download stops, but the job step hangs forever unless it is manually canceled instead of failing or succeeding as a cache-miss.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the provided actions/cache@v3 step with a cache download that times out, using the log to confirm that restoration stops but the job remains running. Trace the timeout and cache-miss handling, and consider the issue done when the step terminates with a defined failure or cache-miss result instead of hanging until manual cancellation.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.