-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Upgrade storage integration test: Use V2 Archive ReaderWriter #6489
base: main
Are you sure you want to change the base?
Conversation
2ca2f23
to
9ad6870
Compare
looks like some archive tests are failing
|
there's no new change with the recent push... just trying to update the branch. I will get back to these issues later in my day. |
aaab620
to
a43bc9a
Compare
Hello @yurishkuro, I can't find the cause of this bug, but for elastic search and open search, the testArchiveTrace test fails; the archive trace reader returns an empty trace... |
Did you look at the logs? I see nil pointer segfaults, that should be easy to troubleshoot. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6489 +/- ##
===========================================
- Coverage 96.26% 50.29% -45.98%
===========================================
Files 372 188 -184
Lines 21282 11410 -9872
===========================================
- Hits 20488 5739 -14749
- Misses 607 5213 +4606
- Partials 187 458 +271
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
--------- Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
Signed-off-by: Emmanuel Emonueje Ebenezer <[email protected]>
ccf0435
to
54a0a07
Compare
if len(traces) > 0 { | ||
actualTrace = traces[0] | ||
} else { | ||
actualTrace, err = s.ArchiveSpanReader.GetTrace(context.Background(), spanstore.GetTraceParameters{TraceID: tID}) |
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.
with span reader, the archive span test(specifically) doesn't fail,
I have had no luck figuring out why it does fail with the archive trace reader,
TraceWriter tracestore.Writer | ||
TraceReader tracestore.Reader | ||
ArchiveTraceReader tracestore.Reader | ||
ArchiveSpanReader spanstore.Reader |
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.
the plan is not to get this merged, I just wanted to show you somthing:
the segfaults occured because the ArchiveTraceReader wasn't reading the spans, so `actualTrace1 remained nil, hence the errors when trying to read the spans
but that doesn't occur with the archive span reader...
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.
a tip - if you don't think the PR is ready for merge, you can convert it to a Draft. I would still get a notification of all changes because I subscribe to all, but it won't be saying "Ready for review".
I'll get more familiar with time, but git messed with me alot for this pr... alot of commits🙃🙂 |
Which problem is this PR solving?
Description of the changes
Incrementally swaps the fields of
StorageIntegration
to align with v2 storage apiUpdates test functions accordingly to work with the updated fields
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test