-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
GitOps version: 1.14
OCP version: Rosa Classic 4.15
Test: TestArgoCDSupportsMultipleServiceAccountsWithDifferingRBACOnSameCluster
Steps to Reproduce
Go to https://gitlab.cee.redhat.com/gitops/gitops-components-automated-testing and run:
sh scripts/argocd-e2e-test-single.sh TestArgoCDSupportsMultipleServiceAccountsWithDifferingRBACOnSameCluster
Expected results:
This ArgoCD E2E test should pass against any GitOps Operator and OCP version.
Acceptance criteria:
- Fix the error of the test failure
- Verify with the few combinations of operator and OCP version
Log:{}
=== RUN TestArgoCDSupportsMultipleServiceAccountsWithDifferingRBACOnSameCluster time="2024-08-29T18:33:24Z" level=info msg="kubectl delete ns -l e2e.argoproj.io=true --field-selector status.phase=Active --wait=false" dir= execID=2140c time="2024-08-29T18:33:24Z" level=debug msg="namespace \"argocd-e2e--test-deploy-to-kubernetes-apiurl-with-query-p-xcrix\" deleted\n" duration=227.768964ms execID=2140c time="2024-08-29T18:33:24Z" level=info msg="kubectl delete crd -l e2e.argoproj.io=true --wait=false" dir= execID=d24d1 time="2024-08-29T18:33:25Z" level=debug msg="No resources found\n" duration=551.995492ms execID=d24d1 time="2024-08-29T18:33:25Z" level=info msg="kubectl delete clusterroles -l e2e.argoproj.io=true --wait=false" dir= execID=a9e94 time="2024-08-29T18:33:25Z" level=debug msg="No resources found\n" duration=216.046074ms execID=a9e94 time="2024-08-29T18:33:26Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." time="2024-08-29T18:33:26Z" level=info msg="../../dist/argocd proj create gpg --server argocd-test-server-argocd-e2e.apps.rosa-qe-415.i1qm.p1.openshiftapps.com --auth-token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhcmdvY2QiLCJzdWIiOiJhZG1pbjpsb2dpbiIsImV4cCI6MTcyNTA0MjgwNiwibmJmIjoxNzI0OTU2NDA2LCJpYXQiOjE3MjQ5NTY0MDYsImp0aSI6IjQwOGEzODE0LTg4ZTgtNDI2OS04ZDNmLTY0ODhiYzc4NzBmMiJ9.nrYf410O4EslRwDXVdCUIGsuNVY6tcAJK6oc8kKVqpg --insecure" dir= execID=51d3b time="2024-08-29T18:33:26Z" level=debug duration=142.705555ms execID=51d3b time="2024-08-29T18:33:26Z" level=info msg="mkdir -p /tmp/argo-e2e" dir= execID=5f722 time="2024-08-29T18:33:26Z" level=debug duration=2.049549ms execID=5f722 time="2024-08-29T18:33:26Z" level=info msg="mkdir -p /tmp/argo-e2e/gpg" dir= execID=0aecf time="2024-08-29T18:33:26Z" level=debug duration=1.601199ms execID=0aecf time="2024-08-29T18:33:26Z" level=info msg="chmod 0700 /tmp/argo-e2e/gpg" dir= execID=fa154 time="2024-08-29T18:33:26Z" level=debug duration=1.473352ms execID=fa154 time="2024-08-29T18:33:26Z" level=info msg="pkill -9 gpg-agent" dir= execID=c2979 time="2024-08-29T18:33:26Z" level=info msg="gpg --import ../fixture/gpg/signingkey.asc" dir= execID=cbc4c time="2024-08-29T18:33:26Z" level=debug duration=10.686483ms execID=cbc4c time="2024-08-29T18:33:26Z" level=info msg="cp -Rf testdata /tmp/argo-e2e/testdata.git" dir= execID=79316 time="2024-08-29T18:33:26Z" level=debug duration=268.080141ms execID=79316 time="2024-08-29T18:33:26Z" level=info msg="chmod 777 ." dir=/tmp/argo-e2e/testdata.git execID=5c2e4 time="2024-08-29T18:33:26Z" level=debug duration=1.838051ms execID=5c2e4 time="2024-08-29T18:33:26Z" level=info msg="git init -b master" dir=/tmp/argo-e2e/testdata.git execID=4710e time="2024-08-29T18:33:26Z" level=debug msg="Initialized empty Git repository in /tmp/argo-e2e/testdata.git/.git/\n" duration=3.618761ms execID=4710e time="2024-08-29T18:33:26Z" level=info msg="git add ." dir=/tmp/argo-e2e/testdata.git execID=a18dd time="2024-08-29T18:33:26Z" level=debug duration=30.699427ms execID=a18dd time="2024-08-29T18:33:26Z" level=info msg="git commit -q -m initial commit" dir=/tmp/argo-e2e/testdata.git execID=cd305 time="2024-08-29T18:33:26Z" level=debug duration=25.554543ms execID=cd305 time="2024-08-29T18:33:26Z" level=info msg="git remote add origin http://127.0.0.1:9081/argo-e2e/testdata.git" dir=/tmp/argo-e2e/testdata.git execID=addc4 time="2024-08-29T18:33:26Z" level=debug duration=2.293078ms execID=addc4 time="2024-08-29T18:33:26Z" level=info msg="git push origin master -f" dir=/tmp/argo-e2e/testdata.git execID=11a57 time="2024-08-29T18:33:27Z" level=debug duration=138.371388ms execID=11a57 time="2024-08-29T18:33:27Z" level=info msg="kubectl create ns argocd-e2e--test-argo-cd-supports-multiple-service-accoun-qlgit" dir= execID=3816c time="2024-08-29T18:33:27Z" level=debug msg="namespace/argocd-e2e--test-argo-cd-supports-multiple-service-accoun-qlgit created\n" duration=143.355527ms execID=3816c time="2024-08-29T18:33:27Z" level=info msg="kubectl label ns argocd-e2e--test-argo-cd-supports-multiple-service-accoun-qlgit e2e.argoproj.io=true" dir= execID=93c4c time="2024-08-29T18:33:27Z" level=debug msg="namespace/argocd-e2e--test-argo-cd-supports-multiple-service-accoun-qlgit labeled\n" duration=289.968372ms execID=93c4c time="2024-08-29T18:33:27Z" level=info msg="kubectl delete ns e2e-test-user1" dir= execID=1b020 time="2024-08-29T18:33:33Z" level=debug msg="namespace \"e2e-test-user1\" deleted\n" duration=6.016106829s execID=1b020 time="2024-08-29T18:33:33Z" level=info msg="clean state" duration=9.537172679s id=TestArgoCDSupportsMultipleServiceAccountsWithDifferingRBACOnSameCluster-qlgit name=TestArgoCDSupportsMultipleServiceAccountsWithDifferingRBACOnSameCluster password=password username=admin time="2024-08-29T18:33:33Z" level=info msg="ServiceAccount \"e2e-test-user1-serviceaccount\" created in namespace \"e2e-test-user1\"" time="2024-08-29T18:33:33Z" level=info msg="Created bearer token secret for ServiceAccount \"e2e-test-user1-serviceaccount\"" deployment_test.go:313: Error Trace: /argocd-e2e/argo-cd/test/e2e/deployment_test.go:313 /argocd-e2e/argo-cd/test/e2e/deployment_test.go:168 Error: Received unexpected error: failed to patch serviceaccount "e2e-test-user1-serviceaccount" with bearer token secret: Operation cannot be fulfilled on serviceaccounts "e2e-test-user1-serviceaccount": the object has been modified; please apply your changes to the latest version and try again Test: TestArgoCDSupportsMultipleServiceAccountsWithDifferingRBACOnSameCluster --- FAIL: TestArgoCDSupportsMultipleServiceAccountsWithDifferingRBACOnSameCluster (9.74s)
- clones
-
GITOPS-5422 Investigate 'TestDeployToKubernetesAPIURLWithQueryParameter' test failure
- New