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

CI: integrate hubble-relay and add initial hubble-relay tests #11549

Merged
merged 3 commits into from May 20, 2020

Conversation

rolinh
Copy link
Member

@rolinh rolinh commented May 15, 2020

This PR integrates hubble-relay into the CI and adds basic tests for hubble-relay.

Ref: #11228

@rolinh rolinh added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. sig/hubble Impacts hubble server or relay labels May 15, 2020
@rolinh rolinh requested review from gandro and nebril May 15, 2020 13:08
@rolinh rolinh requested a review from a team as a code owner May 15, 2020 13:08
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 May 15, 2020
@rolinh
Copy link
Member Author

rolinh commented May 15, 2020

test-me-please

@coveralls
Copy link

coveralls commented May 15, 2020

Coverage Status

Coverage increased (+0.001%) to 37.005% when pulling 0163c9b on pr/rolinh/ci-hubble-relay into 13bcf96 on master.

Copy link
Contributor

@michi-covalent michi-covalent left a comment

Choose a reason for hiding this comment

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

amazing test coverage

Copy link
Member

@gandro gandro left a comment

Choose a reason for hiding this comment

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

Not super familiar with the provisioning scripts, but the CI tests themselves look fine.

@gandro
Copy link
Member

gandro commented May 16, 2020

Almost all tests failed with known flakes (managed etc, privileged unit tests).

test-me-please

@gandro
Copy link
Member

gandro commented May 16, 2020

retest-runtime

Copy link
Member

@nebril nebril left a comment

Choose a reason for hiding this comment

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

Good changes! I have one small request - please add

--build-arg CILIUM_SHA=$(firstword $(GIT_VERSION))

to docker build call in hubble-relay build step in Makefile and

ARG CILIUM_SHA=""
LABEL cilium-sha=${CILIUM_SHA}

in hubble-relay dockerfile for all intermediate images as well as the final images to ensure that these get cleaned in GKE builds.

@rolinh rolinh force-pushed the pr/rolinh/ci-hubble-relay branch from d95a9e5 to 9554d1e Compare May 18, 2020 15:54
@rolinh rolinh requested a review from a team as a code owner May 18, 2020 15:54
@rolinh rolinh requested review from a team and nebril May 18, 2020 15:54
hubble-relay.Dockerfile Show resolved Hide resolved
Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
These tests are the same tests for L3/L4 and L7 flows that target the
local hubble server but they target hubble-relay instead.

Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
@rolinh rolinh force-pushed the pr/rolinh/ci-hubble-relay branch from 9554d1e to 0163c9b Compare May 19, 2020 06:25
@rolinh rolinh requested a review from nebril May 19, 2020 06:25
@rolinh
Copy link
Member Author

rolinh commented May 19, 2020

test-me-please
EDIT: didn't trigger the tests.

@rolinh
Copy link
Member Author

rolinh commented May 20, 2020

test-me-please

@rolinh
Copy link
Member Author

rolinh commented May 20, 2020

retest-runtime

@rolinh
Copy link
Member Author

rolinh commented May 20, 2020

retest-4.9

@tklauser
Copy link
Member

Runtime tests failed on known flake #11512 (https://jenkins.cilium.io/job/Cilium-PR-Runtime-4.9/295/), thus merging.

@tklauser tklauser merged commit f2b7478 into master May 20, 2020
1.8.0 automation moved this from In progress to Merged May 20, 2020
@tklauser tklauser deleted the pr/rolinh/ci-hubble-relay branch May 20, 2020 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. sig/hubble Impacts hubble server or relay
Projects
No open projects
1.8.0
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

6 participants