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

SharedClassesCacheChecker fails attempting to delete the cache it owns itself with DESTROY_FAILED_CURRENT_GEN_CACHE #78

Closed
Mesbah-Alam opened this issue Jan 23, 2019 · 2 comments

Comments

@Mesbah-Alam
Copy link
Contributor

DESTROY_FAILED_CURRENT_GEN_CACHE seems to be a test issue: https://ci.eclipse.org/openj9/view/Test/job/Test-extended.system-JDK8-win_x86/137/tapResults/

The SharedClassesCacheChecker receives it when it tries to delete the cache it owns itself : DefaultLocationGroupAccessJavaNoIterator. Test needs to be updated to fix this.

@Mesbah-Alam
Copy link
Contributor Author

FYI: @hangshao0 @pshipton

@Mesbah-Alam
Copy link
Contributor Author

Mesbah-Alam commented Jan 24, 2019

The SharedClassesCacheChecker should only be verifying and deleting Workload caches (created both in default and non-default locations). It should leave out any caches that might exist in the default location on the machine owned by other processes. It should also not attempt to delete the cache(s) it owns - e.g. "DefaultLocationGroupAccessJavaNoIterator" cache -- those caches will be deleted in the tearDown() method in SharedClassesAPI.java.

The test needs to be updated to send a list of Workload Cache names (as those names are dynamically created at runtime when SharedClassesAPI runs a workload) into SharedClassesCacheChecker process - so that whenever it is attempting to process a cache it finds, it can verify first if it is a workload cache created by the SharedClassesAPI test.

@Mesbah-Alam Mesbah-Alam changed the title SharedClassesCacheChecker fails attempting to delete the cache it owns itself SharedClassesCacheChecker fails attempting to delete the cache it owns itself with DESTROY_FAILED_CURRENT_GEN_CACHE Jan 24, 2019
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