-
Notifications
You must be signed in to change notification settings - Fork 898
Flacky: e2e test fails with failed to uninstall due to atomic being set #4354
Copy link
Copy link
Closed
Labels
kind/bugThese are bugs.These are bugs.
Description
What happened:
The pipeline is sometimes failing, this needs to be looked at:
# if IMAGE_PULL_SECRET_FILE is specified, create the agones-system namespace and install the secret
bash -c '[[ $(helm status agones -n agones-system --output json | jq -r ".info.status") =~ (failed|pending-.*) ]] && helm uninstall agones --namespace=agones-system || true'
release "agones" uninstalled
\
helm upgrade --install --atomic --wait --timeout 10m --namespace=agones-system \
--create-namespace \
--set agones.image.tag=1.54.0-dev-4d91545,agones.image.registry="us-docker.pkg.dev/agones-images/ci" \
--set agones.image.controller.pullPolicy="Always",agones.image.controller.pullSecret= \
--set agones.image.extensions.pullPolicy="Always",agones.image.allocator.pullPolicy="Always" \
--set agones.image.ping.pullPolicy="Always",agones.image.sdk.alwaysPull=true \
--set agones.ping.http.serviceType="LoadBalancer",agones.ping.udp.serviceType="LoadBalancer" \
--set agones.allocator.service.serviceType="LoadBalancer" \
--set agones.controller.logLevel="debug" \
--set agones.crds.cleanupOnDelete=true \
--set agones.featureGates="PlayerAllocationFilter=true&FleetAutoscaleRequestMetaData=true&PlayerTracking=true&CountsAndLists=false&RollingUpdateFix=false&PortRanges=false&PortPolicyNone=false&ScheduledAutoscaler=false&AutopilotPassthroughPort=false&GKEAutopilotExtendedDurationPods=false&SidecarContainers=true&WasmAutoscaler=true&Example=true" \
--set agones.allocator.service.loadBalancerIP=34.34.152.97 \
--set agones.metrics.serviceMonitor.enabled=false \
\
agones /go/src/agones.dev/agones/install/helm/agones/
Release "agones" does not exist. Installing it now.
Error: release agones failed, and has been uninstalled due to atomic being set: services "agones-ping-http-service" not found
make: *** [Makefile:450: install] Error 1
It might be a race condition between the uninstall and the install
What you expected to happen:
It should works all the time
How to reproduce it (as minimally and precisely as possible):
Running a new build pipeline, it sometimes fails / it's flaky
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugThese are bugs.These are bugs.