Skip to content

Conversation

kaworu
Copy link
Member

@kaworu kaworu commented Sep 14, 2021

Partially backported:

Once this PR is merged, you can update the PR labels via:

$ for pr in 17234 14271 14621 14704 17275 17445 17258; do contrib/backporting/set-labels.py $pr done 1.8; done

@kaworu kaworu requested a review from a team as a code owner September 14, 2021 13:09
@kaworu kaworu added backport/1.8 kind/backports This PR provides functionality previously merged into master. labels Sep 14, 2021
@kaworu
Copy link
Member Author

kaworu commented Sep 14, 2021

@aanm @jrajahalme had to resolve some conflicts on your patches, please take a look.

Copy link
Contributor

@twpayne twpayne left a comment

Choose a reason for hiding this comment

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

My changes ✅

@kaworu
Copy link
Member Author

kaworu commented Sep 16, 2021

smoke test failure is legit:

# github.com/onsi/gomega/matchers
go/src/github.com/onsi/gomega/matchers/have_http_body_matcher.go:84:30: undefined: io.ReadAll
go/src/github.com/onsi/gomega/matchers/have_http_status_matcher.go:81:16: undefined: io.ReadAll
# github.com/onsi/gomega/gmeasure
go/src/github.com/onsi/gomega/gmeasure/cache.go:69:18: undefined: os.ReadDir
go/src/github.com/onsi/gomega/gmeasure/cache.go:90:18: undefined: os.ReadDir

Both io.ReadAll and os.ReadDir were added in Go v1.16 but we use Go v1.14 in Cilium v1.8.

@kaworu kaworu force-pushed the pr/v1.8-backport-2021-09-14 branch from 5ee99e1 to 99da234 Compare September 16, 2021 11:31
@kaworu
Copy link
Member Author

kaworu commented Sep 16, 2021

Rebased the PR on top of our v1.8 branch to include this commit from @joestringer who's already looked and fixed the gomega/Golang version compatibility issue mentionned above.

@kaworu
Copy link
Member Author

kaworu commented Sep 16, 2021

test-backport-1.8

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.18-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: unable to download https://github.com/cilium/istio/releases/download/1.10.4/cilium-istioctl-1.10.4-linux.tar.gz

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.18-kernel-4.9 so I can create a new GitHub issue to track it.

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.17-kernel-4.19' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: unable to download https://github.com/cilium/istio/releases/download/1.10.4/cilium-istioctl-1.10.4-linux.tar.gz

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.17-kernel-4.19 so I can create a new GitHub issue to track it.

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.16-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: unable to download https://github.com/cilium/istio/releases/download/1.10.4/cilium-istioctl-1.10.4-linux.tar.gz

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.16-kernel-4.9 so I can create a new GitHub issue to track it.

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.14-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: unable to download https://github.com/cilium/istio/releases/download/1.10.4/cilium-istioctl-1.10.4-linux.tar.gz

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.14-kernel-4.9 so I can create a new GitHub issue to track it.

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.15-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: unable to download https://github.com/cilium/istio/releases/download/1.10.4/cilium-istioctl-1.10.4-linux.tar.gz

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.15-kernel-4.9 so I can create a new GitHub issue to track it.

@kaworu kaworu force-pushed the pr/v1.8-backport-2021-09-14 branch from 99da234 to 9a698e3 Compare September 16, 2021 19:37
@kaworu
Copy link
Member Author

kaworu commented Sep 16, 2021

Added #14271 to the backports trying to fix the itsio download failure:

FAIL: unable to download https://github.com/cilium/istio/releases/download/1.10.4/cilium-istioctl-1.10.4-linux.tar.gz

@jrajahalme please take a look.

@kaworu
Copy link
Member Author

kaworu commented Sep 16, 2021

test-backport-1.8

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.14-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: unable to deploy Istio

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.14-kernel-4.9 so I can create a new GitHub issue to track it.

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.18-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: Timed out after 240.001s.

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.18-kernel-4.9 so I can create a new GitHub issue to track it.

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.17-kernel-4.19' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: Timed out after 240.280s.

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.17-kernel-4.19 so I can create a new GitHub issue to track it.

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.16-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: Timed out after 240.000s.

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.16-kernel-4.9 so I can create a new GitHub issue to track it.

@maintainer-s-little-helper
Copy link

Job 'Cilium-PR-K8s-1.15-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: unable to deploy Istio

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.15-kernel-4.9 so I can create a new GitHub issue to track it.

@kaworu
Copy link
Member Author

kaworu commented Sep 23, 2021

@jrajahalme could you take a look at the PR and the CI K8sIstioTest issues please?

aanm and others added 2 commits September 27, 2021 12:54
[ upstream commit 1695d9c ]

Signed-off-by: André Martins <andre@cilium.io>
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
[ upstream commit ae9f5ea ]

Istio CI test was quarantined on K8s 1.19 and 1.20 due to `istioctl`
using deprecated k8s features and then returning a non-zero exit code
due to deprecation warnings from k8s. This release of `istioctl` fixes
that so the test can be unquarantined.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
@kaworu kaworu force-pushed the pr/v1.8-backport-2021-09-14 branch from 9a698e3 to 7130ed6 Compare September 27, 2021 11:08
@kaworu
Copy link
Member Author

kaworu commented Sep 27, 2021

@jrajahalme added #17445 to the backport, but we previously had failures on k8s >=v1.17 that still need a look.

@kaworu
Copy link
Member Author

kaworu commented Sep 27, 2021

test-backport-1.8

Job 'Cilium-PR-K8s-1.17-kernel-4.19' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: Timed out after 240.000s.

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.17-kernel-4.19 so I can create a new GitHub issue to track it.

Job 'Cilium-PR-K8s-1.13-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sConformance Portmap Chaining Check connectivity-check compliance with portmap chaining

Failure Output

FAIL: connectivity-check pods are not ready after timeout

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.13-kernel-4.9 so I can create a new GitHub issue to track it.

Job 'Cilium-PR-K8s-1.18-kernel-4.9' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: Timed out after 240.301s.

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.18-kernel-4.9 so I can create a new GitHub issue to track it.

@kaworu
Copy link
Member Author

kaworu commented Sep 28, 2021

Seems like

  1. we don't skip k8s-1.13-kernel-4.9 although this commit should ensure we do,
  2. we have still have an istio test failure on both k8s-1.17-kernel-4.19 and k8s-1.18-kernel-4.19.

@jrajahalme
Copy link
Member

2. we have still have an istio test failure on both k8s-1.17-kernel-4.19 and k8s-1.18-kernel-4.19.

I'm looking into this. Most likely some older PRs/commits need also be backported as test/k8sT/istio.go is different between this PR and master.

@jrajahalme
Copy link
Member

jrajahalme commented Sep 28, 2021

At least these are needed in addition to the #14271 you already picked up, and applied right after #14621:

Sorry for missing the backport labels on these!

[ upstream commit 2423a0c ]

Update Istio integration to Istio release 1.7.6.

Istioctl CLI syntax has changed slightly, instead of `cilium-istioctl
manifest apply -y` we now use `cilium-istioctl install -y`.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
[ upstream commit ee18c90 ]

Update Istio integration to Istio release 1.8.2.

Istioctl no longer lists the service name for an inbound port.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
@kaworu kaworu force-pushed the pr/v1.8-backport-2021-09-14 branch from 7130ed6 to b3a3bef Compare September 28, 2021 08:18
[ upstream commit 4c87394 ]

Update Cilium Istio integration to Istio release 1.10.4.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
[ upstream commit 3992048 ]

Istio 1.10 requires at least k8s version 1.17.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
@kaworu
Copy link
Member Author

kaworu commented Sep 28, 2021

/test-backport-1.8

Job 'Cilium-PR-K8s-1.17-kernel-4.19' failed and has not been observed before, so may be related to your PR:

Click to show.

Test Name

K8sIstioTest Istio Bookinfo Demo Tests bookinfo inter-service connectivity

Failure Output

FAIL: Timed out after 240.946s.

If it is a flake, comment /mlh new-flake Cilium-PR-K8s-1.17-kernel-4.19 so I can create a new GitHub issue to track it.

@jrajahalme
Copy link
Member

@kaworu Istio test now fails on curl:

 	 curl: option --retry-connrefused: is unknown
	 curl: try 'curl --help' or 'curl --manual' for more information
	 command terminated with exit code 2

It appears that v1.8 branch uses older version of the istio bookinfo images, with a version of curl that does not support this option. It would be best to also backport this commit that updated the images:

1d85ce7

Backporting the whole PR (#12579) could be too risky.

@kaworu kaworu force-pushed the pr/v1.8-backport-2021-09-14 branch from b3a3bef to 1803b7f Compare October 4, 2021 12:29
pchaigno and others added 2 commits October 4, 2021 14:31
[ upstream commit a197641 ]

Using these two newer versions allows us to save at least 121MB. The image
size of examples-bookinfo-reviews-v1 increased in latest versions, so
let's not update it. Latest versions of examples-bookinfo-productpage-v1
do not contain wget, which we need for tests, so we can't update it.

Signed-off-by: Paul Chaignon <paul@cilium.io>
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
[ upstream commit e0da2e4 ]

Signed-off-by: Tom Payne <tom@isovalent.com>
Co-authored-by: Nicolas Busseneau <nicolas@isovalent.com>
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
@kaworu
Copy link
Member Author

kaworu commented Oct 4, 2021

/test-backport-1.8

@kaworu
Copy link
Member Author

kaworu commented Oct 7, 2021

/test-1.15-4.9

@kaworu
Copy link
Member Author

kaworu commented Oct 7, 2021

/test-upstream-k8s

Copy link
Member

@jrajahalme jrajahalme left a comment

Choose a reason for hiding this comment

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

Istio backports look OK now :-)

@kaworu kaworu added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Oct 7, 2021
@kaworu
Copy link
Member Author

kaworu commented Oct 7, 2021

All reviews are in and CI finally passed, marking as ready-to-merge.

@errordeveloper errordeveloper merged commit ee0f125 into cilium:v1.8 Oct 7, 2021
@kaworu kaworu deleted the pr/v1.8-backport-2021-09-14 branch October 8, 2021 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants