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

Do a better job of cleaning up the FileCache #11174

Merged
merged 3 commits into from Apr 3, 2018

Conversation

brianmoose
Copy link
Contributor

This is an attempt to address the random peacock Mac failures, which I haven't been able to reproduce.

The basic assumption is that when the tests are run in parallel there is one or more tests messing with the same files, causing crashes/errors. Since tests run in their own directories, the main source of potential conflicts is the --json dump cache.

It does look like multiple tests were potentially writing to the same cache file since PeacockApp was overwriting the ApplicationName.

I also noticed that since we are clearing the QSettings at the start of a test, we were not properly cleaning up old cache files. There was ~300G of cache files on the mac test box and the partition was actually out of space. I suspect this also contributed to the random failures.

closes #11156

@moosebuild
Copy link
Contributor

moosebuild commented Apr 2, 2018

Job Documentation on a7ee7a9 wanted to post the following:

View the site here

This comment will be updated on new commits.

@brianmoose brianmoose force-pushed the fix-peacock branch 2 times, most recently from 74fe3aa to 7cbafea Compare April 2, 2018 20:45
@brianmoose brianmoose force-pushed the fix-peacock branch 3 times, most recently from cca62e7 to c8da52e Compare April 2, 2018 22:37
@brianmoose
Copy link
Contributor Author

I ran this on a loop for a while with no failures. I also verified that the Qt settings and cache are empty after tests are run.

@permcody permcody merged commit 424301c into idaholab:devel Apr 3, 2018
@brianmoose brianmoose deleted the fix-peacock branch April 3, 2018 20:35
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

Successfully merging this pull request may close these issues.

None yet

3 participants