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

E2E tests failing with Cache not found for input keys #243

Closed
rohanKanojia opened this issue Feb 20, 2023 · 9 comments · Fixed by #247
Closed

E2E tests failing with Cache not found for input keys #243

rohanKanojia opened this issue Feb 20, 2023 · 9 comments · Fixed by #247
Assignees

Comments

@rohanKanojia
Copy link
Member

rohanKanojia commented Feb 20, 2023

This morning I'm seeing unrelated failures in all E2E tests, it seems to be happening in all tests:

Run JKUBE_VERSION=$(mvn -f jkube/pom.xml -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) \
POM file jkube/pom.xml specified with the -f/--file command line argument does not exist

These are the PRs I updated this morning:

@rohanKanojia rohanKanojia self-assigned this Feb 20, 2023
@rohanKanojia
Copy link
Member Author

It looks like there is some problem related to loading jkube/ cache:

Run actions/cache@v2
Warning: The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-[10](https://github.com/jkubeio/ci/actions/runs/4193076077/jobs/7331414563#step:3:11)-[11](https://github.com/jkubeio/ci/actions/runs/4193076077/jobs/7331414563#step:3:12)-github-actions-deprecating-save-state-and-set-output-commands/
Cache not found for input keys: cache-e2e-bootstrap-4193076077

@manusa manusa moved this to In Progress in Eclipse JKube Feb 20, 2023
@rohanKanojia
Copy link
Member Author

rohanKanojia commented Feb 20, 2023

Similar issues seem to be created in GitHub Actions cache repository in past few days:

We had updated revision of actions/cache last week in #241 . I think for now we can try reverting to the previous version of actions/cache

@rohanKanojia rohanKanojia changed the title E2E tests failing with error pom file doesn't exist E2E tests failing with Cache not found for input keys Feb 20, 2023
rohanKanojia added a commit to rohanKanojia/jkube-integration-tests that referenced this issue Feb 20, 2023
…jkube#243)

Latest update of actions/cache seems to be causing issues in E2E test
runs. Looks like some bug has been introduced (linked in the issue
comment).

Reverting to previous version of actions/cache for now.

Signed-off-by: Rohan Kumar <[email protected]>
manusa pushed a commit that referenced this issue Feb 20, 2023
Latest update of actions/cache seems to be causing issues in E2E test
runs. Looks like some bug has been introduced (linked in the issue
comment).

Reverting to previous version of actions/cache for now.

Signed-off-by: Rohan Kumar <[email protected]>
@rohanKanojia
Copy link
Member Author

The issue is still there even after merging this fix. Need to think of something else.

@manusa
Copy link
Member

manusa commented Feb 21, 2023

From what I've seen, it seems that the problem is related to the Runner VM and the version of zstd.

@rohanKanojia
Copy link
Member Author

We can either add another step for downgrading zstd to 1.5.0 or wait for this PR to get merged actions/cache#1118

@manusa
Copy link
Member

manusa commented Feb 21, 2023

We can either add another step for downgrading zstd to 1.5.0 or wait for this PR to get merged actions/cache#1118

Let's wait a couple of hours and see if they merge it. Else we can implement the temporary workaround.

@rohanKanojia
Copy link
Member Author

The abovementioned PR seems to have been merged. Let me try to bump actions/cache to this revision

rohanKanojia added a commit to rohanKanojia/jkube-integration-tests that referenced this issue Feb 21, 2023
…a0a42d2b0` revision (eclipse-jkube#243)

Upgrade actions/cache to latest revision that contains fix related to
zsh

Signed-off-by: Rohan Kumar <[email protected]>
rohanKanojia added a commit to rohanKanojia/jkube-integration-tests that referenced this issue Feb 21, 2023
…a0a42d2b0` revision (eclipse-jkube#243)

Upgrade actions/cache to latest revision that contains fix related to
zstd

Signed-off-by: Rohan Kumar <[email protected]>
rohanKanojia added a commit to rohanKanojia/jkube-integration-tests that referenced this issue Feb 21, 2023
…a0a42d2b0` revision (eclipse-jkube#243)

Upgrade actions/cache to latest revision that contains fix related to
zstd

Signed-off-by: Rohan Kumar <[email protected]>
manusa pushed a commit that referenced this issue Feb 21, 2023
…a0a42d2b0` revision (#243)

Upgrade actions/cache to latest revision that contains fix related to
zstd

Signed-off-by: Rohan Kumar <[email protected]>
@github-project-automation github-project-automation bot moved this from In Progress to Done in Eclipse JKube Feb 21, 2023
@rohanKanojia rohanKanojia reopened this Feb 21, 2023
@rohanKanojia
Copy link
Member Author

Not sure why but i still see failures after restarting some workflows

rohanKanojia added a commit to rohanKanojia/ci that referenced this issue Feb 21, 2023
…a0a42d2b0` revision (#243)

Related to eclipse-jkube/jkube-integration-tests#243

Upgrade actions/cache to latest revision that contains fix related to zstd

Signed-off-by: Rohan Kumar <[email protected]>
@rohanKanojia
Copy link
Member Author

I think we need to do it on jkubeio/ci as well, as pointed by Marc in #244 (comment)

Okay, on E2E workflows I see actions/v2 getting used. Looks like they're picked from jkubeio/ci repository:
Screenshot from 2023-02-21 19-38-46

manusa pushed a commit to eclipse-jkube/ci that referenced this issue Feb 21, 2023
…a0a42d2b0` revision (#243)

Related to eclipse-jkube/jkube-integration-tests#243

Upgrade actions/cache to latest revision that contains fix related to zstd

Signed-off-by: Rohan Kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants