-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ci: Check health of services after running integration tests #1897
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggested improvements.
Whoa! Is it ... working? 🤔
Is the replacer supposed to restart? |
Seeing |
My guess is that it restarted but switched to a running state after we queried docker ps, so the second docker ps (the one we print) doesn't show the issue. |
Not sure if this helps but Compose V2 has a |
Seems plausible. Should we capture the output of the first call so we can output exactly what we're testing against? Related: I did try to find a |
Yeah I'm leaning towards that right now as well. |
Of course, I'm still not sure why snuba-replacer is restarting... For using |
OK, now printing the JSON of the failing/exited services. |
Aye, there's the rub! |
This was removed in getsentry/snuba@6e98074
Found it! Batching was removed from replacer, added a fix for that. |
So does that mean self-hosted has been broken for three weeks? We should add some tests to catch this sort of thing. Oh wait ... ;-) |
I pushed 668ae2a1f867509556eee72f097e96dd6ec1cfce in order to evaluate the failure output formatting. |
Here's what I'm seeing:
How about using the https://stackoverflow.com/questions/39139107/how-to-format-a-json-string-as-a-table-using-jq |
668ae2a
to
f4c9932
Compare
(I force-pushed 668ae2a1f867509556eee72f097e96dd6ec1cfce off again.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use the @tsv
filter for better readability?
Heh, oops! With |
Sob and actually broken run won't blend.
|
801a055
to
0f5b9cc
Compare
Can you push a commit to show the error case? |
b9f949c is expected to pass CI (right?). |
Yes |
I will push something that breaks but I wanted to make sure the expected success case works first :) |
64d51a2 adds back the snuba breakage to test things |
This reverts commit 64d51a2.
Can you add this comment to the PR description? For future reference so it's easier to see why it was deleted. Otherwise lgtm |
Fixes #1762