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

Call cache no copy fixups and centaur error improvements #4951

Merged
merged 12 commits into from
May 10, 2019

Conversation

cjllanwarne
Copy link
Contributor

@cjllanwarne cjllanwarne commented May 8, 2019

These changes are side effects of my investigation into the invalidate_bad_caches_jes_no_copy
test on PAPIv1:

  • Don't retry invalidate_bad_caches_jes_no_copy because it will never work the second time (even on v2)
  • Print out any failure metadata we get if we expected Succeeded to speed up the debug cycle
  • Don't log the "metadata mismatch" as errors just because we're waiting for metadata consistency.

# No point retrying failures since they'll just end up colliding with previous results:
retryTestFailures: false


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

despace

@@ -386,7 +398,6 @@ object Operations {
validateMetadata(workflow, expectedMetadata).handleErrorWith({ _ =>
for {
_ <- IO.sleep(2.seconds)
_ = if (LogFailures) Console.err.println(s"Metadata mismatch for ${submittedWorkflow.id} - retrying")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does get printed if it never reaches the expected value?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct - the actual message (including which metadata was wrong) gets printed if this "eventuallyMetadata" times out

@cjllanwarne cjllanwarne force-pushed the cjl_jes_call_cache_no_copy_take_2 branch from 4d536f0 to 15c3a42 Compare May 8, 2019 22:11
Copy link
Contributor

@kshakir kshakir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small change:

centaur/src/main/scala/centaur/test/Test.scala Outdated Show resolved Hide resolved
Co-Authored-By: kshakir <github@kshakir.org>
Co-Authored-By: kshakir <github@kshakir.org>
@cjllanwarne cjllanwarne merged commit 747aa97 into develop May 10, 2019
@cjllanwarne cjllanwarne deleted the cjl_jes_call_cache_no_copy_take_2 branch May 10, 2019 18:17
ysp0606 pushed a commit to ysp0606/cromwell that referenced this pull request May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants