Skip to content

Fix flaky e2e tests #11667

@crenshaw-dev

Description

@crenshaw-dev

Noting failed tests and counts here:

  • (2) TestSimplePullRequestGenerator - fix here: chore: fix flaky e2e test #11670
  • (3) TestNamespacedGetLogsAllowSwitchOnNS
  • (2) TestNamespacedImmutableChange - fix here: chore: fix flaky e2e test for immutable fields #11685

    spec.clusterIPs: Invalid value: []string{"10.43.0.10"}: failed to allocate IP 10.43.0.10: provided IP is already allocated

  • (1) TestImmutableChange - fix here: chore: fix flaky e2e test for immutable fields #11685

    spec.clusterIPs: Invalid value: []string{"10.43.0.10"}: failed to allocate IP 10.43.0.10: provided IP is already allocated

  • (1) TestHelmCrdHook

    no matches for kind "CronTab" in version "stable.example.com/v1"\nensure CRDs are installed first

  • (11) TestNamespacedAppLogs

    "Get "https://10.1.0.237:10250/containerLogs/argocd-e2e--test-namespaced-app-logs-zstyf/guestbook-ui-6df84db565-crmh8/guestbook-ui?timestamps=true\": EOF" does not contain "Hi"

  • (5) TestAppLogs
  • (9) TestNamespacedResourceDiffing - fix here: fix: ssa e2e tests failing after updating to kubectl 1.26 #11753
        	Error:      	Received unexpected error:
        	            	`kubectl apply -n argocd-e2e--test-namespaced-resource-diffing-helty --server-side=true --field-manager=revision-history-manager --validate=false --force-conflicts -f -` failed exit status 1: The Deployment "guestbook-ui" is invalid: 
        	            	* spec.selector: Required value
        	            	* spec.template.metadata.labels: Invalid value: map[string]string(nil): `selector` does not match template `labels`
        	            	* spec.template.spec.containers: Required value
        	            	* spec.selector: Invalid value: "null": field is immutable
    
  • (1) TestSelectiveSyncWithNamespace

    time="2022-12-22T04:02:28Z" level=error msg="../../dist/argocd app create test-selective-sync-with-namespace --repo file:///tmp/argo-e2e/testdata.git --dest-server https://kubernetes.default.svc/ --path guestbook-with-namespace --project default --dest-namespace argocd-e2e--test-selective-sync-with-namespace-czbcl --plaintext --server 127.0.0.1:8088 --auth-token *** --insecure failed exit status 20: time="2022-12-22T04:02:28Z" level=fatal msg="rpc error: code = InvalidArgument desc = application spec for test-selective-sync-with-namespace is invalid: InvalidSpecError: Unable to generate manifests in guestbook-with-namespace: rpc error: code = Unknown desc = failed to walk for symlinks in .tmp/_argocd-repo/d2bca6dc-2b5a-472f-8c36-1c88886fb98c/.git/gc.pid: no such file or directory"" execID=93a2e

  • (1) TestNamespacedSyncToUnsignedCommit (timeout)
  • (1) TestMultiSourceAppWithHelmExternalValueFiles (timeout)
  • (1) TestHookBeforeHookCreationFailure - hook_test.go:351: timeout waiting for: operation phase should be Failed, is Succeeded
  • (1) TestAutoSyncSelfHealDisabled (timeout)
  • (1) TestCRDs

    time="2023-02-21T08:39:23Z" level=error msg="../../dist/argocd app sync test-cr-ds --timeout 10 --prune --plaintext --server 127.0.0.1:8088 --auth-token *** --insecure failed exit status 20: time="2023-02-21T08:39:23Z" level=fatal msg="rpc error: code = Canceled desc = context canceled"" execID=61390

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions