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

K8s integration test for hotrod #6155

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chahatsagarmain
Copy link
Contributor

Which problem is this PR solving?

Description of the changes

How was this change tested?

Checklist

Signed-off-by: chahatsagarmain <[email protected]>
Signed-off-by: chahatsagarmain <[email protected]>
@chahatsagarmain chahatsagarmain requested a review from a team as a code owner November 3, 2024 06:09
@dosubot dosubot bot added the docker Pull requests that update Docker code label Nov 3, 2024
Signed-off-by: chahatsagarmain <[email protected]>
Copy link

codecov bot commented Nov 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.49%. Comparing base (772d84c) to head (8fd66ba).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6155      +/-   ##
==========================================
+ Coverage   96.47%   96.49%   +0.01%     
==========================================
  Files         354      354              
  Lines       20126    20126              
==========================================
+ Hits        19417    19420       +3     
+ Misses        524      522       -2     
+ Partials      185      184       -1     
Flag Coverage Δ
badger_v1 8.31% <ø> (ø)
badger_v2 1.67% <ø> (ø)
cassandra-4.x-v1 14.39% <ø> (ø)
cassandra-4.x-v2 1.61% <ø> (ø)
cassandra-5.x-v1 14.39% <ø> (ø)
cassandra-5.x-v2 1.61% <ø> (ø)
elasticsearch-6.x-v1 18.60% <ø> (+<0.01%) ⬆️
elasticsearch-7.x-v1 18.68% <ø> (ø)
elasticsearch-8.x-v1 18.85% <ø> (+<0.01%) ⬆️
elasticsearch-8.x-v2 1.67% <ø> (ø)
grpc_v1 9.48% <ø> (ø)
grpc_v2 7.00% <ø> (ø)
kafka-v1 8.88% <ø> (ø)
kafka-v2 1.67% <ø> (ø)
memory_v2 1.67% <ø> (ø)
opensearch-1.x-v1 18.72% <ø> (-0.01%) ⬇️
opensearch-2.x-v1 18.72% <ø> (-0.01%) ⬇️
opensearch-2.x-v2 1.67% <ø> (+0.01%) ⬆️
tailsampling-processor 0.46% <ø> (ø)
unittests 95.40% <ø> (+0.01%) ⬆️

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.

scripts/build-hotrod-image.sh Show resolved Hide resolved
scripts/build-hotrod-image.sh Show resolved Hide resolved
scripts/build-hotrod-image.sh Outdated Show resolved Hide resolved
scripts/build-hotrod-image.sh Outdated Show resolved Hide resolved
.github/workflows/ci-docker-hotrod.yml Outdated Show resolved Hide resolved
.github/workflows/ci-docker-hotrod.yml Show resolved Hide resolved
scripts/build-hotrod-image.sh Show resolved Hide resolved
if [[ -n "${JAEGER_PORT_FWD_PID:-}" ]]; then
kill "$JAEGER_PORT_FWD_PID" || true
fi
kubectl delete namespace example-hotrod --ignore-not-found=true
Copy link
Member

Choose a reason for hiding this comment

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

can we also dump the logs if unsuccessful?

Copy link
Member

Choose a reason for hiding this comment

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

how was this resolved?

@yurishkuro yurishkuro added the changelog:ci Change related to continuous integration / testing label Nov 3, 2024
@chahatsagarmain
Copy link
Contributor Author

@yurishkuro I have made the necessary changes

if [[ "$success" == "false" ]]; then
dump_logs "${docker_compose_file}"
dump_logs "${docker_compose_file}"
Copy link
Member

Choose a reason for hiding this comment

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

logs should be dumped before you bring down containers

@yurishkuro
Copy link
Member

needs a rebase

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add integration test for hotrod on k8s
2 participants