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

docker, runtime: only build clang and llc targets #10956

Merged
merged 2 commits into from Apr 16, 2020

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Apr 14, 2020

Specify only the targets we need from the llvm build, namely clang and
llc. This reduces the amount of objects to build by ~300 and thus
also reduces build time a bit.

(Edit from @borkmann: added the test update commit which fixes below issue)

Fixes: #10882

@tklauser tklauser added pending-review release-note/misc This PR makes changes that have no direct user impact. labels Apr 14, 2020
@tklauser tklauser requested a review from borkmann April 14, 2020 07:42
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Apr 14, 2020
@tklauser
Copy link
Member Author

test-me-please

@coveralls
Copy link

coveralls commented Apr 14, 2020

Coverage Status

Coverage decreased (-0.009%) to 46.788% when pulling 06b1501 on pr/tklauser/docker-runtime-llvm-targets into 4ce5a4e on master.

@tklauser tklauser force-pushed the pr/tklauser/docker-runtime-llvm-targets branch from 197e4cb to 1661e19 Compare April 14, 2020 13:46
@tklauser tklauser requested a review from a team as a code owner April 14, 2020 13:46
@tklauser
Copy link
Member Author

tklauser commented Apr 14, 2020

test-me-please

EDIT: failure looks like #10882 https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/18735/

Specify only the targets we need from the llvm build, namely `clang` and
`llc`. This reduces the amount of objects to build by ~300 and thus
also reduces build time a bit.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser tklauser force-pushed the pr/tklauser/docker-runtime-llvm-targets branch from 1661e19 to d77ff8b Compare April 14, 2020 16:30
@tklauser
Copy link
Member Author

test-me-please

@tklauser tklauser requested a review from a team as a code owner April 14, 2020 23:44
@borkmann
Copy link
Member

test-me-please

1 similar comment
@borkmann
Copy link
Member

test-me-please

@borkmann
Copy link
Member

borkmann commented Apr 15, 2020

Hit #10838
(tests-with-kernel green)

@borkmann
Copy link
Member

test-me-please

@borkmann
Copy link
Member

borkmann commented Apr 15, 2020

@borkmann
Copy link
Member

borkmann commented Apr 15, 2020

@tklauser
Copy link
Member Author

tklauser commented Apr 15, 2020

@tklauser
Copy link
Member Author

test-with-kernel

@tklauser
Copy link
Member Author

test-gke

@tklauser
Copy link
Member Author

tklauser commented Apr 15, 2020

restart-ginkgo

EDIT: net-next vm provisioning failure https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/18814/

@tklauser
Copy link
Member Author

tklauser commented Apr 15, 2020

restart-ginkgo
(IPv4 fragments flake)

1 similar comment
@borkmann
Copy link
Member

borkmann commented Apr 15, 2020

restart-ginkgo
(IPv4 fragments flake)

@borkmann
Copy link
Member

borkmann commented Apr 16, 2020

restart-ginkgo
(IPv4 fragments flake)

After updating the cilium-runtime image we also get a newer bpftool
build which generates a bpf_features.h header that includes the netns
cookie and therefore on bpf-next kernel we must fail this particular
test.

Similarly, doFragmentedRequest() from pod loopback does not make sense
either anymore. Given we performed the earlier testCurlRequestFail()
for a service, there is no point in retesting a fragmented request
again for this address.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
@borkmann borkmann force-pushed the pr/tklauser/docker-runtime-llvm-targets branch from 024cead to 06b1501 Compare April 16, 2020 07:40
@borkmann
Copy link
Member

test-me-please

@borkmann borkmann merged commit fff1c55 into master Apr 16, 2020
1.8.0 automation moved this from In progress to Merged Apr 16, 2020
@borkmann borkmann deleted the pr/tklauser/docker-runtime-llvm-targets branch April 16, 2020 09:57
@brb
Copy link
Member

brb commented Apr 17, 2020

Did you create a PR for cilium/packer-ci-build to cache the updated Docker image in the CI VM images?

tklauser added a commit to cilium/packer-ci-build that referenced this pull request Apr 17, 2020
This will pull in Go 1.14.2 via cilium/cilium#10912 and the build llvm
changes from cilium/cilium#10956

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
tklauser added a commit to cilium/packer-ci-build that referenced this pull request Apr 17, 2020
This will pull in Go 1.14.2 via cilium/cilium#10912 and the build llvm
changes from cilium/cilium#10956

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser
Copy link
Member Author

Did you create a PR for cilium/packer-ci-build to cache the updated Docker image in the CI VM images?

@brb Thanks for the reminder. Opened PR cilium/packer-ci-build#208

brb pushed a commit to cilium/packer-ci-build that referenced this pull request Apr 18, 2020
This will pull in Go 1.14.2 via cilium/cilium#10912 and the build llvm
changes from cilium/cilium#10956

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
tklauser added a commit to cilium/packer-ci-build that referenced this pull request May 25, 2020
Specify only the targets we need from the llvm build, namely `clang` and
`llc`. This reduces the amount of objects to build by ~300 and thus
also reduces build time a bit.

Same as cilium/cilium#10956

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
tklauser added a commit to cilium/packer-ci-build that referenced this pull request May 25, 2020
Specify only the targets we need from the llvm build, namely `clang` and
`llc`. This reduces the amount of objects to build by ~300 and thus
also reduces build time a bit.

Same as cilium/cilium#10956

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
tklauser added a commit to cilium/packer-ci-build that referenced this pull request May 26, 2020
Specify only the targets we need from the llvm build, namely `clang` and
`llc`. This reduces the amount of objects to build by ~300 and thus
also reduces build time a bit.

Same as cilium/cilium#10956

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.8.0
  
Merged
Development

Successfully merging this pull request may close these issues.

CI: K8sServicesTest Checks service across nodes Tests NodePort BPF Tests with vxlan Tests NodePort: Exitcode 7
5 participants