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

Enhance Kafka integration tests to support multiple Kafka versions #6400

Merged

Conversation

zzzk1
Copy link
Contributor

@zzzk1 zzzk1 commented Dec 24, 2024

Which problem is this PR solving?

Description of the changes

  • Introduce old version kafka env
  • Update e2e CI script

How was this change tested?

  • integration tests

Checklist

@zzzk1 zzzk1 requested a review from a team as a code owner December 24, 2024 14:16
@zzzk1 zzzk1 requested a review from jkowall December 24, 2024 14:16
@dosubot dosubot bot added docker Pull requests that update Docker code storage/kafka labels Dec 24, 2024
@zzzk1 zzzk1 force-pushed the Issue-3068-mulit-kafka-integration-test branch from 43aebe4 to 21b81c6 Compare December 24, 2024 14:22
@zzzk1
Copy link
Contributor Author

zzzk1 commented Dec 24, 2024

I 'm not sure where to record the document.... 🤔

.github/workflows/ci-e2e-kafka.yml Outdated Show resolved Hide resolved
.github/workflows/ci-e2e-kafka.yml Outdated Show resolved Hide resolved
docker-compose/kafka/docker-compose.yml Outdated Show resolved Hide resolved
scripts/kafka-integration-test.sh Outdated Show resolved Hide resolved
scripts/kafka-integration-test.sh Outdated Show resolved Hide resolved
@zzzk1 zzzk1 force-pushed the Issue-3068-mulit-kafka-integration-test branch from ffbcd21 to 47d2e03 Compare December 25, 2024 11:59
@zzzk1 zzzk1 force-pushed the Issue-3068-mulit-kafka-integration-test branch from 47d2e03 to 57f9f5a Compare December 25, 2024 12:03
@zzzk1
Copy link
Contributor Author

zzzk1 commented Dec 25, 2024

@jpkrohling mention nightly jobs here: #3068 (comment), so what should we do now?😊

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

please also update renovate.json

scripts/kafka-integration-test.sh Outdated Show resolved Hide resolved
scripts/kafka-integration-test.sh Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.27%. Comparing base (53468aa) to head (11bff41).
Report is 8 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6400       +/-   ##
===========================================
+ Coverage   49.57%   96.27%   +46.69%     
===========================================
  Files         182      367      +185     
  Lines       11190    20978     +9788     
===========================================
+ Hits         5548    20197    +14649     
+ Misses       5197      597     -4600     
+ Partials      445      184      -261     
Flag Coverage Δ
badger_v1 8.94% <ø> (-0.03%) ⬇️
badger_v2 1.83% <ø> (-0.01%) ⬇️
cassandra-4.x-v1-manual 14.87% <ø> (-0.05%) ⬇️
cassandra-4.x-v2-auto 1.77% <ø> (-0.01%) ⬇️
cassandra-4.x-v2-manual 1.77% <ø> (-0.01%) ⬇️
cassandra-5.x-v1-manual 14.87% <ø> (-0.05%) ⬇️
cassandra-5.x-v2-auto 1.77% <ø> (-0.01%) ⬇️
cassandra-5.x-v2-manual 1.77% <ø> (-0.01%) ⬇️
elasticsearch-6.x-v1 18.55% <ø> (-0.07%) ⬇️
elasticsearch-7.x-v1 18.62% <ø> (-0.06%) ⬇️
elasticsearch-8.x-v1 18.79% <ø> (-0.05%) ⬇️
elasticsearch-8.x-v2 1.82% <ø> (-0.02%) ⬇️
grpc_v1 10.61% <ø> (-0.04%) ⬇️
grpc_v2 8.10% <ø> (-0.03%) ⬇️
kafka-2.x-v1 9.30% <ø> (?)
kafka-2.x-v2 1.83% <ø> (?)
kafka-3.x-v1 9.30% <ø> (?)
kafka-3.x-v2 1.83% <ø> (?)
kafka-v1 ?
kafka-v2 ?
memory_v2 1.82% <ø> (-0.02%) ⬇️
opensearch-1.x-v1 18.68% <ø> (-0.05%) ⬇️
opensearch-2.x-v1 18.68% <ø> (-0.05%) ⬇️
opensearch-2.x-v2 1.82% <ø> (-0.01%) ⬇️
tailsampling-processor 0.46% <ø> (-0.01%) ⬇️
unittests 95.13% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yurishkuro yurishkuro added the changelog:ci Change related to continuous integration / testing label Dec 25, 2024
;;
esac
done
if [ "$jaeger_version" != "v1" ] && [ "$jaeger_version" != "v2" ]; then
if [[ "$jaeger_version" != "v1" && "$jaeger_version" != "v2" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

don't have objection to the change, but can you elaborate why you wanted to change it?

@yurishkuro yurishkuro merged commit e51d1ae into jaegertracing:main Dec 25, 2024
56 checks passed
Manik2708 pushed a commit to Manik2708/jaeger that referenced this pull request Jan 5, 2025
…aegertracing#6400)

## Which problem is this PR solving?
- Resolves jaegertracing#3068
## Description of the changes
- Introduce old version kafka env
- Update e2e CI script
## How was this change tested?
- integration tests

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `npm run lint` and `npm run test`

---------

Signed-off-by: zzzk1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:ci Change related to continuous integration / testing docker Pull requests that update Docker code storage/kafka
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document and update integration test with the versions of Kafka Jaeger supports
2 participants