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

Improve resilience to cacheManager: EOF #10

Open
robdimsdale opened this issue Mar 20, 2023 · 0 comments
Open

Improve resilience to cacheManager: EOF #10

robdimsdale opened this issue Mar 20, 2023 · 0 comments

Comments

@robdimsdale
Copy link

When we run ctrl+c the paketo buildpacks integration tests we sometimes see the following error on re-runs:

=== RUN   TestIntegration
    init_test.go:68: 
        Unexpected error:
            <*errors.errorString | 0xc000441a90>: 
            failed to open cacheManager: EOF
            {
                s: "failed to open cacheManager: EOF",
            }
        occurred
--- FAIL: TestIntegration (0.00s)
FAIL
FAIL	github.com/paketo-buildpacks/node-engine/integration	0.009s
FAIL
** GO Test Failed with index.docker.io/paketobuildpacks/builder:buildpackless-base**

We typically resolve this with:

rm -rf $HOME/.freezer-cache

This works, but it's not a great UX. Can we make this library more resilient to an empty cache manager?

Example of community member running into it: see paketo-buildpacks/node-engine#630

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant