chore: add test for reconcileEphemeralMetadata() #3163
7 fail, 6 skipped, 90 pass in 3h 29m 5s
Annotations
Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e
github-actions / E2E Tests Published Test Results
1 out of 5 runs failed: TestAWSSuite/TestALBExperimentStepNoSetWeightMultiIngress (github.com/argoproj/argo-rollouts/test/e2e)
artifacts/E2E Test Results (k8s 1.26)/junit.xml [took 13s]
Raw output
Failed
=== RUN TestAWSSuite/TestALBExperimentStepNoSetWeightMultiIngress
time="2023-11-10T20:50:28Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeightMultiIngress"
time="2023-11-10T20:50:29Z" level=info msg="service/alb-rollout-root created\n" rollout=alb-rollout
time="2023-11-10T20:50:29Z" level=info msg="service/alb-rollout-canary created\n" rollout=alb-rollout
time="2023-11-10T20:50:29Z" level=info msg="service/alb-rollout-stable created\n" rollout=alb-rollout
time="2023-11-10T20:50:29Z" level=info msg="ingress.networking.k8s.io/alb-rollout-multi-ingress-1 created\n" rollout=alb-rollout
time="2023-11-10T20:50:29Z" level=info msg="ingress.networking.k8s.io/alb-rollout-multi-ingress-2 created\n" rollout=alb-rollout
time="2023-11-10T20:50:30Z" level=info msg="rollout.argoproj.io/alb-rollout created\n" rollout=alb-rollout
time="2023-11-10T20:50:30Z" level=info msg="Waiting for condition: status=Healthy" rollout=alb-rollout
time="2023-11-10T20:50:31Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=alb-rollout
time="2023-11-10T20:50:31Z" level=info msg="Experiment expectation 'experiment count == 0' met" rollout=alb-rollout
time="2023-11-10T20:50:31Z" level=info msg="Updated rollout pod spec: 2023-11-10T20:50:31.794645383Z" rollout=alb-rollout
time="2023-11-10T20:50:31Z" level=info msg="Sleeping 10s" rollout=alb-rollout
require.go:72:
Error Trace: /home/runner/go/pkg/mod/github.com/tj/[email protected]/require.go:72
/home/runner/work/argo-rollouts/argo-rollouts/test/e2e/aws_test.go:298
/home/runner/work/argo-rollouts/argo-rollouts/test/fixtures/then.go:28
/home/runner/work/argo-rollouts/argo-rollouts/test/e2e/aws_test.go:287
Error: Not equal:
expected: "{\"Type\":\"forward\",\"ForwardConfig\":{\"TargetGroups\":[{\"ServiceName\":\"alb-rollout-canary\",\"ServicePort\":\"80\",\"Weight\":0},{\"ServiceName\":\"\",\"ServicePort\":\"80\",\"Weight\":20},{\"ServiceName\":\"\",\"ServicePort\":\"80\",\"Weight\":20},{\"ServiceName\":\"alb-rollout-stable\",\"ServicePort\":\"80\",\"Weight\":60}]}}"
actual : "{\"Type\":\"forward\",\"ForwardConfig\":{\"TargetGroups\":[{\"ServiceName\":\"alb-rollout-canary\",\"ServicePort\":\"80\",\"Weight\":0},{\"ServicePort\":\"80\",\"Weight\":20},{\"ServicePort\":\"80\",\"Weight\":20},{\"ServiceName\":\"alb-rollout-stable\",\"ServicePort\":\"80\",\"Weight\":60}]}}"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-{"Type":"forward","ForwardConfig":{"TargetGroups":[{"ServiceName":"alb-rollout-canary","ServicePort":"80","Weight":0},{"ServiceName":"","ServicePort":"80","Weight":20},{"ServiceName":"","ServicePort":"80","Weight":20},{"ServiceName":"alb-rollout-stable","ServicePort":"80","Weight":60}]}}
+{"Type":"forward","ForwardConfig":{"TargetGroups":[{"ServiceName":"alb-rollout-canary","ServicePort":"80","Weight":0},{"ServicePort":"80","Weight":20},{"ServicePort":"80","Weight":20},{"ServiceName":"alb-rollout-stable","ServicePort":"80","Weight":60}]}}
Test: TestAWSSuite/TestALBExperimentStepNoSetWeightMultiIngress
Name: alb-rollout
Namespace: default
Status: �[94m◌�[0m Progressing
Message: more replicas need to be updated
Strategy: Canary
Step: 0/1
SetWeight: 0
ActualWeight: 0
Images: nginx:1.19-alpine (�[32mstable�[0m, �[0mΣ:experiment-alb-canary�[0m, �[0mΣ:experiment-alb-stable�[0m)
Replicas:
Desired: 1
Current: 1
Updated: 0
Ready: 1
Available: 1
NAME KIND STATUS AGE INFO
⟳ alb-rollout Rollout �[94m◌�[0m Progressing 11s
├──# revision:2
│ ├──⧉ �[33malb-rollout-66b5dbd968�[0m ReplicaSet �[0m•�[0m ScaledDown 10s �[33mcanary�[0m
│ └──Σ �[94malb-rollout-66b5dbd968-2-0�[0m Experiment �[94m◌�[0m Running 10s
│ ├──⧉ alb-rollout-66b5dbd968-2-0-experiment-alb-canary ReplicaSet �[32m✔�[0m Healthy 10s
│ │ └──□ alb-rollout-66b5dbd968-2-0-experiment-alb-canary-vzgwh Pod �[32m✔�[0m Running 10s ready:1/1
│ └──⧉ alb-rollout-66b5dbd968-2-0-experiment-alb-stable ReplicaSet �[32m✔�[0m Healthy 10s
│ └──□ alb-rollout-66b5dbd968-2-0-experiment-alb-stable-hjf9b Pod �[32m✔�[0m Running 10s ready:1/1
└──# revision:1
└──⧉ �[32malb-rollout-d6f4fdcdc�[0m ReplicaSet �[32m✔�[0m Healthy 11s �[32mstable�[0m
└──□ alb-rollout-d6f4fdcdc-7glbv Pod �[32m✔�[0m Running 11s ready:1/1
---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
annotations:
rollout.argoproj.io/revision: "2"
creationTimestamp: "2023-11-10T20:50:30Z"
generation: 3
labels:
argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
e2e-test-name: TestALBExperimentStepNoSetWeightMultiIngress
name: alb-rollout
namespace: default
resourceVersion: "4334"
uid: b547f430-ece1-4ac3-a53a-39758fb49989
spec:
replicas: 1
selector:
matchLabels:
app: alb-rollout
strategy:
canary:
canaryService: alb-rollout-canary
stableService: alb-rollout-stable
steps:
- experiment:
duration: 15s
templates:
- metadata: {}
name: experiment-alb-canary
specRef: canary
weight: 20
- metadata: {}
name: experiment-alb-stable
specRef: stable
weight: 20
trafficRouting:
alb:
ingresses:
- alb-rollout-multi-ingress-1
- alb-rollout-multi-ingress-2
rootService: alb-rollout-root
servicePort: 80
template:
metadata:
annotations:
update: "2023-11-10T20:50:31.794645383Z"
creationTimestamp: null
labels:
app: alb-rollout
spec:
containers:
- image: nginx:1.19-alpine
name: alb-rollout
ports:
- containerPort: 80
name: http
protocol: TCP
resources:
requests:
cpu: 5m
memory: 16Mi
status:
HPAReplicas: 1
availableReplicas: 1
blueGreen: {}
canary:
currentExperiment: alb-rollout-66b5dbd968-2-0
weights:
additional:
- weight: 20
- weight: 20
canary:
podTemplateHash: 66b5dbd968
serviceName: alb-rollout-canary
weight: 0
stable:
podTemplateHash: d6f4fdcdc
serviceName: alb-rollout-stable
weight: 60
conditions:
- lastTransitionTime: "2023-11-10T20:50:31Z"
lastUpdateTime: "2023-11-10T20:50:31Z"
message: Rollout has minimum availability
reason: AvailableReason
status: "True"
type: Available
- lastTransitionTime: "2023-11-10T20:50:31Z"
lastUpdateTime: "2023-11-10T20:50:31Z"
message: Rollout is not healthy
reason: RolloutHealthy
status: "False"
type: Healthy
- lastTransitionTime: "2023-11-10T20:50:31Z"
lastUpdateTime: "2023-11-10T20:50:31Z"
message: RolloutCompleted
reason: RolloutCompleted
status: "False"
type: Completed
- lastTransitionTime: "2023-11-10T20:50:30Z"
lastUpdateTime: "2023-11-10T20:50:31Z"
message: Created new replica set "alb-rollout-66b5dbd968"
reason: NewReplicaSetCreated
status: "True"
type: Progressing
currentPodHash: 66b5dbd968
currentStepHash: 558cc8bf4d
currentStepIndex: 0
message: more replicas need to be updated
observedGeneration: "3"
phase: Progressing
readyReplicas: 1
replicas: 1
selector: app=alb-rollout
stableRS: d6f4fdcdc
2023-11-10T20:50:30Z Normal RolloutAddedToInformer Rollout resource added to informer: default/alb-rollout
2023-11-10T20:50:30Z Normal RolloutNotCompleted Rollout not completed, started update to revision 1 (d6f4fdcdc)
2023-11-10T20:50:30Z Normal RolloutUpdated Rollout updated to revision 1
2023-11-10T20:50:30Z Normal NewReplicaSetCreated Created ReplicaSet alb-rollout-d6f4fdcdc (revision 1)
2023-11-10T20:50:30Z (x2) Normal TrafficWeightUpdated Traffic weight updated to 0
2023-11-10T20:50:30Z Normal ScalingReplicaSet Scaled up ReplicaSet alb-rollout-d6f4fdcdc (revision 1) from 0 to 1
2023-11-10T20:50:30Z Normal RolloutCompleted Rollout completed update to revision 1 (d6f4fdcdc): Initial deploy
2023-11-10T20:50:31Z Normal SwitchService Switched selector for service 'alb-rollout-stable' from '' to 'd6f4fdcdc'
2023-11-10T20:50:31Z Normal SwitchService Switched selector for service 'alb-rollout-canary' from '' to 'd6f4fdcdc'
2023-11-10T20:50:31Z Normal RolloutNotCompleted Rollout not completed, started update to revision 2 (66b5dbd968)
2023-11-10T20:50:31Z Normal RolloutUpdated Rollout updated to revision 2
2023-11-10T20:50:31Z Normal NewReplicaSetCreated Created ReplicaSet alb-rollout-66b5dbd968 (revision 2)
2023-11-10T20:50:31Z (x2) Normal TrafficWeightUpdated Traffic weight updated
2023-11-10T20:50:31Z Normal ExperimentCreated Created Experiment 'alb-rollout-66b5dbd968-2-0'
2023-11-10T20:50:33Z (x2) Normal PatchingALBIngress Updating Ingress `alb-rollout-multi-ingress-1` to desiredWeight '0'
2023-11-10T20:50:33Z (x2) Normal PatchingALBIngress Updating Ingress `alb-rollout-multi-ingress-2` to desiredWeight '0'
2023-11-10T20:50:33Z Normal TrafficWeightUpdated Traffic weight updated additional: [{20 } {20 }]
time="2023-11-10T20:50:41Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeightMultiIngress"
--- FAIL: TestAWSSuite/TestALBExperimentStepNoSetWeightMultiIngress (13.54s)
Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e
github-actions / E2E Tests Published Test Results
2 out of 6 runs failed: TestAWSSuite (github.com/argoproj/argo-rollouts/test/e2e)
artifacts/E2E Test Results (k8s 1.25)/junit.xml [took 1m 58s]
artifacts/E2E Test Results (k8s 1.26)/junit.xml [took 1m 58s]
Raw output
Failed
=== RUN TestAWSSuite
--- FAIL: TestAWSSuite (118.68s)
Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e
github-actions / E2E Tests Published Test Results
1 out of 5 runs failed: TestCanarySuite/TestCanaryScaleDownDelay (github.com/argoproj/argo-rollouts/test/e2e)
artifacts/E2E Test Results (k8s 1.26)/junit.xml [took 10s]
Raw output
Failed
=== RUN TestCanarySuite/TestCanaryScaleDownDelay
time="2023-11-10T20:56:36Z" level=info msg="Deleting e2e-test-name=TestCanaryScaleDownDelay"
time="2023-11-10T20:56:36Z" level=info msg="service/canary-scaledowndelay-root created\n" rollout=canary-scaledowndelay
time="2023-11-10T20:56:36Z" level=info msg="service/canary-scaledowndelay-canary created\n" rollout=canary-scaledowndelay
time="2023-11-10T20:56:37Z" level=info msg="service/canary-scaledowndelay-stable created\n" rollout=canary-scaledowndelay
time="2023-11-10T20:56:37Z" level=info msg="ingress.networking.k8s.io/canary-scaledowndelay-ingress created\n" rollout=canary-scaledowndelay
time="2023-11-10T20:56:37Z" level=info msg="rollout.argoproj.io/canary-scaledowndelay created\n" rollout=canary-scaledowndelay
time="2023-11-10T20:56:37Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledowndelay
time="2023-11-10T20:56:39Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=canary-scaledowndelay
time="2023-11-10T20:56:39Z" level=info msg="Updated rollout spec: {\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"rev\":\"two\"}}}}}" rollout=canary-scaledowndelay
time="2023-11-10T20:56:39Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledowndelay
time="2023-11-10T20:56:41Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=canary-scaledowndelay
time="2023-11-10T20:56:41Z" level=info msg="Sleeping 2s" rollout=canary-scaledowndelay
time="2023-11-10T20:56:43Z" level=info msg="Updated rollout spec: {\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"rev\":\"three\"}}}}}" rollout=canary-scaledowndelay
time="2023-11-10T20:56:43Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledowndelay
time="2023-11-10T20:56:44Z" level=info msg="Condition 'status=Healthy' met after 0s" rollout=canary-scaledowndelay
time="2023-11-10T20:56:45Z" level=info msg="Updated rollout spec: {\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"rev\":\"two\"}}}}}" rollout=canary-scaledowndelay
time="2023-11-10T20:56:45Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledowndelay
time="2023-11-10T20:56:45Z" level=info msg="Condition 'status=Healthy' met after 0s" rollout=canary-scaledowndelay
canary_test.go:529:
Error Trace: /home/runner/work/argo-rollouts/argo-rollouts/test/e2e/canary_test.go:529
/home/runner/work/argo-rollouts/argo-rollouts/test/fixtures/then.go:28
/home/runner/work/argo-rollouts/argo-rollouts/test/e2e/canary_test.go:517
Error: Should NOT be empty, but was
Test: TestCanarySuite/TestCanaryScaleDownDelay
Name: canary-scaledowndelay
Namespace: default
Status: �[32m✔�[0m Healthy
Strategy: Canary
Step:
SetWeight: 100
ActualWeight: 100
Images: nginx:1.19-alpine (�[32mstable�[0m)
Replicas:
Desired: 1
Current: 2
Updated: 1
Ready: 2
Available: 2
NAME KIND STATUS AGE INFO
⟳ canary-scaledowndelay Rollout �[32m✔�[0m Healthy 9s
├──# revision:4
│ └──⧉ �[32mcanary-scaledowndelay-7c74c66d54�[0m ReplicaSet �[32m✔�[0m Healthy 7s �[32mstable�[0m
│ └──□ canary-scaledowndelay-7c74c66d54-h64xt Pod �[32m✔�[0m Running 7s ready:1/1
├──# revision:3
│ └──⧉ canary-scaledowndelay-9586cf7d4 ReplicaSet �[32m✔�[0m Healthy 3s
│ └──□ canary-scaledowndelay-9586cf7d4-lkcvs Pod �[32m✔�[0m Running 3s ready:1/1
└──# revision:1
└──⧉ canary-scaledowndelay-66597877b7 ReplicaSet �[0m•�[0m ScaledDown 9s
---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
annotations:
rollout.argoproj.io/revision: "4"
creationTimestamp: "2023-11-10T20:56:37Z"
generation: 5
labels:
argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
e2e-test-name: TestCanaryScaleDownDelay
name: canary-scaledowndelay
namespace: default
resourceVersion: "7343"
uid: c61cf151-6020-4309-9383-c62347f9f608
spec:
replicas: 1
selector:
matchLabels:
app: canary-scaledowndelay
strategy:
canary:
canaryService: canary-scaledowndelay-canary
scaleDownDelayRevisionLimit: 1
stableService: canary-scaledowndelay-stable
trafficRouting:
alb:
ingress: canary-scaledowndelay-ingress
rootService: canary-scaledowndelay-root
servicePort: 80
template:
metadata:
annotations:
rev: two
creationTimestamp: null
labels:
app: canary-scaledowndelay
spec:
containers:
- image: nginx:1.19-alpine
name: canary-scaledowndelay
ports:
- containerPort: 80
name: http
protocol: TCP
resources:
requests:
cpu: 5m
memory: 16Mi
status:
HPAReplicas: 2
availableReplicas: 2
blueGreen: {}
canary:
weights:
canary:
podTemplateHash: 7c74c66d54
serviceName: canary-scaledowndelay-canary
weight: 0
stable:
podTemplateHash: 9586cf7d4
serviceName: canary-scaledowndelay-stable
weight: 100
conditions:
- lastTransitionTime: "2023-11-10T20:56:39Z"
lastUpdateTime: "2023-11-10T20:56:39Z"
message: Rollout has minimum availability
reason: AvailableReason
status: "True"
type: Available
- lastTransitionTime: "2023-11-10T20:56:39Z"
lastUpdateTime: "2023-11-10T20:56:39Z"
message: Rollout is not healthy
reason: RolloutHealthy
status: "False"
type: Healthy
- lastTransitionTime: "2023-11-10T20:56:37Z"
lastUpdateTime: "2023-11-10T20:56:45Z"
message: ReplicaSet "canary-scaledowndelay-7c74c66d54" is progressing.
reason: ReplicaSetUpdated
status: "True"
type: Progressing
- lastTransitionTime: "2023-11-10T20:56:45Z"
lastUpdateTime: "2023-11-10T20:56:45Z"
message: RolloutCompleted
reason: RolloutCompleted
status: "True"
type: Completed
currentPodHash: 7c74c66d54
currentStepHash: 5ffbfbbd64
observedGeneration: "5"
phase: Healthy
readyReplicas: 2
replicas: 2
selector: app=canary-scaledowndelay
stableRS: 7c74c66d54
updatedReplicas: 1
2023-11-10T20:56:37Z Normal RolloutAddedToInformer Rollout resource added to informer: default/canary-scaledowndelay
2023-11-10T20:56:37Z Normal RolloutNotCompleted Rollout not completed, started update to revision 1 (66597877b7)
2023-11-10T20:56:37Z Normal RolloutUpdated Rollout updated to revision 1
2023-11-10T20:56:37Z Normal NewReplicaSetCreated Created ReplicaSet canary-scaledowndelay-66597877b7 (revision 1)
2023-11-10T20:56:37Z Normal PatchingALBIngress Updating Ingress `canary-scaledowndelay-ingress` to desiredWeight '0'
2023-11-10T20:56:37Z (x2) Normal TrafficWeightUpdated Traffic weight updated to 0
2023-11-10T20:56:37Z Normal ScalingReplicaSet Scaled up ReplicaSet canary-scaledowndelay-66597877b7 (revision 1) from 0 to 1
2023-11-10T20:56:37Z Normal RolloutCompleted Rollout completed update to revision 1 (66597877b7): Initial deploy
2023-11-10T20:56:39Z Normal SwitchService Switched selector for service 'canary-scaledowndelay-stable' from '' to '66597877b7'
2023-11-10T20:56:39Z Normal SwitchService Switched selector for service 'canary-scaledowndelay-canary' from '' to '66597877b7'
2023-11-10T20:56:39Z Normal RolloutNotCompleted Rollout not completed, started update to revision 2 (7c74c66d54)
2023-11-10T20:56:39Z Normal RolloutUpdated Rollout updated to revision 2
2023-11-10T20:56:39Z Normal NewReplicaSetCreated Created ReplicaSet canary-scaledowndelay-7c74c66d54 (revision 2)
2023-11-10T20:56:39Z Normal ScalingReplicaSet Scaled up ReplicaSet canary-scaledowndelay-7c74c66d54 (revision 2) from 0 to 1
2023-11-10T20:56:41Z Normal SwitchService Switched selector for service 'canary-scaledowndelay-canary' from '66597877b7' to '7c74c66d54'
2023-11-10T20:56:41Z Normal RolloutCompleted Rollout completed update to revision 2 (7c74c66d54): Completed all 0 canary steps
2023-11-10T20:56:41Z Normal SwitchService Switched selector for service 'canary-scaledowndelay-stable' from '66597877b7' to '7c74c66d54'
2023-11-10T20:56:41Z (x4) Normal TrafficWeightUpdated Traffic weight updated
2023-11-10T20:56:43Z Normal RolloutNotCompleted Rollout not completed, started update to revision 3 (9586cf7d4)
2023-11-10T20:56:43Z Normal RolloutUpdated Rollout updated to revision 3
2023-11-10T20:56:43Z Normal NewReplicaSetCreated Created ReplicaSet canary-scaledowndelay-9586cf7d4 (revision 3)
time="2023-11-10T20:56:46Z" level=info msg="Deleting e2e-test-name=TestCanaryScaleDownDelay"
--- FAIL: TestCanarySuite/TestCanaryScaleDownDelay (10.31s)
Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e
github-actions / E2E Tests Published Test Results
7 out of 12 runs failed: TestCanarySuite (github.com/argoproj/argo-rollouts/test/e2e)
artifacts/E2E Test Results (k8s 1.23)/junit.xml [took 4m 13s]
artifacts/E2E Test Results (k8s 1.24)/junit.xml [took 19s]
artifacts/E2E Test Results (k8s 1.25)/junit.xml [took 19s]
artifacts/E2E Test Results (k8s 1.26)/junit.xml [took 4m 21s]
Raw output
Failed
=== RUN TestCanarySuite
time="2023-11-10T20:53:57Z" level=info msg="analysistemplate.argoproj.io/sleep-job created\n"
--- FAIL: TestCanarySuite (261.50s)
Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e
github-actions / E2E Tests Published Test Results
1 out of 5 runs failed: TestAWSSuite/TestALBExperimentStepNoSetWeight (github.com/argoproj/argo-rollouts/test/e2e)
artifacts/E2E Test Results (k8s 1.25)/junit.xml [took 13s]
Raw output
Failed
=== RUN TestAWSSuite/TestALBExperimentStepNoSetWeight
time="2023-11-10T20:50:18Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeight"
time="2023-11-10T20:50:18Z" level=info msg="service/alb-rollout-root created\n" rollout=alb-rollout
time="2023-11-10T20:50:19Z" level=info msg="service/alb-rollout-canary created\n" rollout=alb-rollout
time="2023-11-10T20:50:19Z" level=info msg="service/alb-rollout-stable created\n" rollout=alb-rollout
time="2023-11-10T20:50:19Z" level=info msg="ingress.networking.k8s.io/alb-rollout-ingress created\n" rollout=alb-rollout
time="2023-11-10T20:50:19Z" level=info msg="rollout.argoproj.io/alb-rollout created\n" rollout=alb-rollout
time="2023-11-10T20:50:19Z" level=info msg="Waiting for condition: status=Healthy" rollout=alb-rollout
time="2023-11-10T20:50:21Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=alb-rollout
time="2023-11-10T20:50:21Z" level=info msg="Experiment expectation 'experiment count == 0' met" rollout=alb-rollout
time="2023-11-10T20:50:21Z" level=info msg="Updated rollout pod spec: 2023-11-10T20:50:21.2241635Z" rollout=alb-rollout
time="2023-11-10T20:50:21Z" level=info msg="Sleeping 10s" rollout=alb-rollout
require.go:72:
Error Trace: /home/runner/go/pkg/mod/github.com/tj/[email protected]/require.go:72
/home/runner/work/argo-rollouts/argo-rollouts/test/e2e/aws_test.go:264
/home/runner/work/argo-rollouts/argo-rollouts/test/fixtures/then.go:28
/home/runner/work/argo-rollouts/argo-rollouts/test/e2e/aws_test.go:254
Error: Not equal:
expected: "{\"Type\":\"forward\",\"ForwardConfig\":{\"TargetGroups\":[{\"ServiceName\":\"alb-rollout-canary\",\"ServicePort\":\"80\",\"Weight\":0},{\"ServiceName\":\"\",\"ServicePort\":\"80\",\"Weight\":20},{\"ServiceName\":\"\",\"ServicePort\":\"80\",\"Weight\":20},{\"ServiceName\":\"alb-rollout-stable\",\"ServicePort\":\"80\",\"Weight\":60}]}}"
actual : "{\"Type\":\"forward\",\"ForwardConfig\":{\"TargetGroups\":[{\"ServiceName\":\"alb-rollout-canary\",\"ServicePort\":\"80\",\"Weight\":0},{\"ServicePort\":\"80\",\"Weight\":20},{\"ServicePort\":\"80\",\"Weight\":20},{\"ServiceName\":\"alb-rollout-stable\",\"ServicePort\":\"80\",\"Weight\":60}]}}"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-{"Type":"forward","ForwardConfig":{"TargetGroups":[{"ServiceName":"alb-rollout-canary","ServicePort":"80","Weight":0},{"ServiceName":"","ServicePort":"80","Weight":20},{"ServiceName":"","ServicePort":"80","Weight":20},{"ServiceName":"alb-rollout-stable","ServicePort":"80","Weight":60}]}}
+{"Type":"forward","ForwardConfig":{"TargetGroups":[{"ServiceName":"alb-rollout-canary","ServicePort":"80","Weight":0},{"ServicePort":"80","Weight":20},{"ServicePort":"80","Weight":20},{"ServiceName":"alb-rollout-stable","ServicePort":"80","Weight":60}]}}
Test: TestAWSSuite/TestALBExperimentStepNoSetWeight
Name: alb-rollout
Namespace: default
Status: �[94m◌�[0m Progressing
Message: more replicas need to be updated
Strategy: Canary
Step: 0/1
SetWeight: 0
ActualWeight: 0
Images: nginx:1.19-alpine (�[32mstable�[0m, �[0mΣ:experiment-alb-canary�[0m, �[0mΣ:experiment-alb-stable�[0m)
Replicas:
Desired: 1
Current: 1
Updated: 0
Ready: 1
Available: 1
NAME KIND STATUS AGE INFO
⟳ alb-rollout Rollout �[94m◌�[0m Progressing 12s
├──# revision:2
│ ├──⧉ �[33malb-rollout-6c886d8df7�[0m ReplicaSet �[0m•�[0m ScaledDown 10s �[33mcanary�[0m
│ └──Σ �[94malb-rollout-6c886d8df7-2-0�[0m Experiment �[94m◌�[0m Running 10s
│ ├──⧉ alb-rollout-6c886d8df7-2-0-experiment-alb-canary ReplicaSet �[32m✔�[0m Healthy 10s
│ │ └──□ alb-rollout-6c886d8df7-2-0-experiment-alb-canary-nqb7l Pod �[32m✔�[0m Running 10s ready:1/1
│ └──⧉ alb-rollout-6c886d8df7-2-0-experiment-alb-stable ReplicaSet �[32m✔�[0m Healthy 10s
│ └──□ alb-rollout-6c886d8df7-2-0-experiment-alb-stable-p4p5r Pod �[32m✔�[0m Running 10s ready:1/1
└──# revision:1
└──⧉ �[32malb-rollout-d6f4fdcdc�[0m ReplicaSet �[32m✔�[0m Healthy 12s �[32mstable�[0m
└──□ alb-rollout-d6f4fdcdc-8vmn8 Pod �[32m✔�[0m Running 12s ready:1/1
---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
annotations:
rollout.argoproj.io/revision: "2"
creationTimestamp: "2023-11-10T20:50:19Z"
generation: 3
labels:
argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
e2e-test-name: TestALBExperimentStepNoSetWeight
name: alb-rollout
namespace: default
resourceVersion: "3984"
uid: 8930df9c-2c51-4806-90c9-ad4de1080e37
spec:
replicas: 1
selector:
matchLabels:
app: alb-rollout
strategy:
canary:
canaryService: alb-rollout-canary
stableService: alb-rollout-stable
steps:
- experiment:
duration: 15s
templates:
- metadata: {}
name: experiment-alb-canary
specRef: canary
weight: 20
- metadata: {}
name: experiment-alb-stable
specRef: stable
weight: 20
trafficRouting:
alb:
ingress: alb-rollout-ingress
rootService: alb-rollout-root
servicePort: 80
template:
metadata:
annotations:
update: "2023-11-10T20:50:21.2241635Z"
creationTimestamp: null
labels:
app: alb-rollout
spec:
containers:
- image: nginx:1.19-alpine
name: alb-rollout
ports:
- containerPort: 80
name: http
protocol: TCP
resources:
requests:
cpu: 5m
memory: 16Mi
status:
HPAReplicas: 1
availableReplicas: 1
blueGreen: {}
canary:
currentExperiment: alb-rollout-6c886d8df7-2-0
weights:
additional:
- weight: 20
- weight: 20
canary:
podTemplateHash: 6c886d8df7
serviceName: alb-rollout-canary
weight: 0
stable:
podTemplateHash: d6f4fdcdc
serviceName: alb-rollout-stable
weight: 60
conditions:
- lastTransitionTime: "2023-11-10T20:50:21Z"
lastUpdateTime: "2023-11-10T20:50:21Z"
message: Rollout has minimum availability
reason: AvailableReason
status: "True"
type: Available
- lastTransitionTime: "2023-11-10T20:50:21Z"
lastUpdateTime: "2023-11-10T20:50:21Z"
message: Rollout is not healthy
reason: RolloutHealthy
status: "False"
type: Healthy
- lastTransitionTime: "2023-11-10T20:50:21Z"
lastUpdateTime: "2023-11-10T20:50:21Z"
message: RolloutCompleted
reason: RolloutCompleted
status: "False"
type: Completed
- lastTransitionTime: "2023-11-10T20:50:19Z"
lastUpdateTime: "2023-11-10T20:50:21Z"
message: Created new replica set "alb-rollout-6c886d8df7"
reason: NewReplicaSetCreated
status: "True"
type: Progressing
currentPodHash: 6c886d8df7
currentStepHash: 558cc8bf4d
currentStepIndex: 0
message: more replicas need to be updated
observedGeneration: "3"
phase: Progressing
readyReplicas: 1
replicas: 1
selector: app=alb-rollout
stableRS: d6f4fdcdc
2023-11-10T20:50:19Z Normal RolloutAddedToInformer Rollout resource added to informer: default/alb-rollout
2023-11-10T20:50:19Z Normal RolloutNotCompleted Rollout not completed, started update to revision 1 (d6f4fdcdc)
2023-11-10T20:50:19Z Normal RolloutUpdated Rollout updated to revision 1
2023-11-10T20:50:19Z Normal NewReplicaSetCreated Created ReplicaSet alb-rollout-d6f4fdcdc (revision 1)
2023-11-10T20:50:19Z (x2) Normal TrafficWeightUpdated Traffic weight updated to 0
2023-11-10T20:50:19Z Normal ScalingReplicaSet Scaled up ReplicaSet alb-rollout-d6f4fdcdc (revision 1) from 0 to 1
2023-11-10T20:50:19Z Normal RolloutCompleted Rollout completed update to revision 1 (d6f4fdcdc): Initial deploy
2023-11-10T20:50:21Z Normal SwitchService Switched selector for service 'alb-rollout-stable' from '' to 'd6f4fdcdc'
2023-11-10T20:50:21Z Normal SwitchService Switched selector for service 'alb-rollout-canary' from '' to 'd6f4fdcdc'
2023-11-10T20:50:21Z Normal RolloutNotCompleted Rollout not completed, started update to revision 2 (6c886d8df7)
2023-11-10T20:50:21Z Normal RolloutUpdated Rollout updated to revision 2
2023-11-10T20:50:21Z Normal NewReplicaSetCreated Created ReplicaSet alb-rollout-6c886d8df7 (revision 2)
2023-11-10T20:50:21Z (x2) Normal TrafficWeightUpdated Traffic weight updated
2023-11-10T20:50:21Z Normal ExperimentCreated Created Experiment 'alb-rollout-6c886d8df7-2-0'
2023-11-10T20:50:22Z (x2) Normal PatchingALBIngress Updating Ingress `alb-rollout-ingress` to desiredWeight '0'
2023-11-10T20:50:22Z Normal TrafficWeightUpdated Traffic weight updated additional: [{20 } {20 }]
time="2023-11-10T20:50:31Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeight"
--- FAIL: TestAWSSuite/TestALBExperimentStepNoSetWeight (13.17s)
Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e
github-actions / E2E Tests Published Test Results
6 out of 10 runs failed: TestCanarySuite/TestCanaryDynamicStableScale (github.com/argoproj/argo-rollouts/test/e2e)
artifacts/E2E Test Results (k8s 1.23)/junit.xml [took 18s]
artifacts/E2E Test Results (k8s 1.24)/junit.xml [took 19s]
artifacts/E2E Test Results (k8s 1.25)/junit.xml [took 19s]
Raw output
Failed
=== RUN TestCanarySuite/TestCanaryDynamicStableScale
time="2023-11-10T20:53:31Z" level=info msg="Deleting e2e-test-name=TestCanaryDynamicStableScale"
W1110 20:53:31.794012 21771 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W1110 20:53:31.796641 21771 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
time="2023-11-10T20:53:32Z" level=info msg="service/dynamic-stable-scale-root created\n" rollout=dynamic-stable-scale
time="2023-11-10T20:53:32Z" level=info msg="service/dynamic-stable-scale-canary created\n" rollout=dynamic-stable-scale
time="2023-11-10T20:53:32Z" level=info msg="service/dynamic-stable-scale-stable created\n" rollout=dynamic-stable-scale
time="2023-11-10T20:53:32Z" level=info msg="ingress.networking.k8s.io/dynamic-stable-scale-ingress created\n" rollout=dynamic-stable-scale
time="2023-11-10T20:53:32Z" level=info msg="rollout.argoproj.io/dynamic-stable-scale created\n" rollout=dynamic-stable-scale
time="2023-11-10T20:53:33Z" level=info msg="Marked 4 revision 1 pods as ready" rollout=dynamic-stable-scale
time="2023-11-10T20:53:33Z" level=info msg="Waiting for condition: status=Healthy" rollout=dynamic-stable-scale
time="2023-11-10T20:53:37Z" level=info msg="Condition 'status=Healthy' met after 3s" rollout=dynamic-stable-scale
time="2023-11-10T20:53:37Z" level=info msg="Updated rollout pod spec: 2023-11-10T20:53:37.535778305Z" rollout=dynamic-stable-scale
time="2023-11-10T20:53:38Z" level=info msg="Marked 1 revision 2 pods as ready" rollout=dynamic-stable-scale
time="2023-11-10T20:53:38Z" level=info msg="Waiting for condition: status=Paused" rollout=dynamic-stable-scale
time="2023-11-10T20:53:39Z" level=info msg="Condition 'status=Paused' met after 0s" rollout=dynamic-stable-scale
time="2023-11-10T20:53:39Z" level=info msg="Sleeping 2s" rollout=dynamic-stable-scale
time="2023-11-10T20:53:41Z" level=info msg="Pod expectation 'revision:1 pod count == 3' met" rollout=dynamic-stable-scale
time="2023-11-10T20:53:41Z" level=info msg="Pod expectation 'revision:2 pod count == 1' met" rollout=dynamic-stable-scale
time="2023-11-10T20:53:41Z" level=info msg="Promoted rollout" rollout=dynamic-stable-scale
time="2023-11-10T20:53:42Z" level=info msg="Marked 2 revision 2 pods as ready" rollout=dynamic-stable-scale
time="2023-11-10T20:53:42Z" level=info msg="Waiting for condition: status.currentStepIndex=3" rollout=dynamic-stable-scale
time="2023-11-10T20:53:44Z" level=info msg="Condition 'status.currentStepIndex=3' met after 1s" rollout=dynamic-stable-scale
time="2023-11-10T20:53:44Z" level=info msg="Sleeping 2s" rollout=dynamic-stable-scale
time="2023-11-10T20:53:46Z" level=info msg="Pod expectation 'revision:1 pod count == 1' met" rollout=dynamic-stable-scale
time="2023-11-10T20:53:46Z" level=info msg="Pod expectation 'revision:2 pod count == 3' met" rollout=dynamic-stable-scale
time="2023-11-10T20:53:46Z" level=info msg="Aborted rollout" rollout=dynamic-stable-scale
time="2023-11-10T20:53:47Z" level=info msg="Marked 2 revision 1 pods as ready" rollout=dynamic-stable-scale
time="2023-11-10T20:53:47Z" level=info msg="Waiting for condition: rev=2 podcount=1" rollout=dynamic-stable-scale
time="2023-11-10T20:53:49Z" level=info msg="Condition 'rev=2 podcount=1' met after 2s" rollout=dynamic-stable-scale
time="2023-11-10T20:53:49Z" level=info msg="Pod expectation 'revision:1 pod count == 4' met" rollout=dynamic-stable-scale
time="2023-11-10T20:53:50Z" level=info msg="Marked 1 revision 1 pods as ready" rollout=dynamic-stable-scale
time="2023-11-10T20:53:50Z" level=info msg="Waiting for condition: rev=2 podcount=0" rollout=dynamic-stable-scale
time="2023-11-10T20:53:50Z" level=info msg="Condition 'rev=2 podcount=0' met after 0s" rollout=dynamic-stable-scale
canary_test.go:621: Expected dynamic-stable-scale-canary selector: map[app:dynamic-stable-scale rollouts-pod-template-hash:868d98995b]. Actual: map[app:dynamic-stable-scale rollouts-pod-template-hash:74775858fd]
Name: dynamic-stable-scale
Namespace: default
Status: �[31m✖�[0m Degraded
Message: RolloutAborted: Rollout aborted update to revision 2
Strategy: Canary
Step: 0/4
SetWeight: 0
ActualWeight: 0
Images: nginx:1.19-alpine (�[32mstable�[0m)
Replicas:
Desired: 4
Current: 4
Updated: 0
Ready: 4
Available: 4
NAME KIND STATUS AGE INFO
⟳ dynamic-stable-scale Rollout �[31m✖�[0m Degraded 18s
├──# revision:2
│ └──⧉ �[33mdynamic-stable-scale-74775858fd�[0m ReplicaSet �[0m•�[0m ScaledDown 13s �[33mcanary�[0m
│ ├──□ dynamic-stable-scale-74775858fd-lczkl Pod �[94m◌�[0m Terminating 13s ready:1/1
│ └──□ dynamic-stable-scale-74775858fd-4qq5c Pod �[94m◌�[0m Terminating 9s ready:1/1
└──# revision:1
└──⧉ �[32mdynamic-stable-scale-868d98995b�[0m ReplicaSet �[32m✔�[0m Healthy 18s �[32mstable�[0m
├──□ dynamic-stable-scale-868d98995b-sdp69 Pod �[32m✔�[0m Running 18s ready:1/1
├──□ dynamic-stable-scale-868d98995b-5sgf8 Pod �[32m✔�[0m Running 4s ready:1/1
├──□ dynamic-stable-scale-868d98995b-6882h Pod �[32m✔�[0m Running 4s ready:1/1
└──□ dynamic-stable-scale-868d98995b-nzv4n Pod �[32m✔�[0m Running 4s ready:1/1
---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
annotations:
rollout.argoproj.io/revision: "2"
creationTimestamp: "2023-11-10T20:53:32Z"
generation: 2
labels:
argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
e2e-test-name: TestCanaryDynamicStableScale
name: dynamic-stable-scale
namespace: default
resourceVersion: "6551"
uid: aa6a6228-e03a-4f15-8f48-b5341a95661c
spec:
replicas: 4
selector:
matchLabels:
app: dynamic-stable-scale
strategy:
canary:
canaryService: dynamic-stable-scale-canary
dynamicStableScale: true
stableService: dynamic-stable-scale-stable
steps:
- setWeight: 25
- pause: {}
- setWeight: 75
- pause: {}
trafficRouting:
alb:
ingress: dynamic-stable-scale-ingress
rootService: dynamic-stable-scale-root
servicePort: 80
template:
metadata:
annotations:
update: "2023-11-10T20:53:37.535778305Z"
creationTimestamp: null
labels:
app: dynamic-stable-scale
spec:
containers:
- image: nginx:1.19-alpine
name: dynamic-stable-scale
ports:
- containerPort: 80
name: http
protocol: TCP
resources:
requests:
cpu: 5m
memory: 16Mi
readinessGates:
- conditionType: argoproj.io/e2e-readiness
status:
HPAReplicas: 5
abort: true
abortedAt: "2023-11-10T20:53:46Z"
availableReplicas: 5
blueGreen: {}
canary:
weights:
canary:
podTemplateHash: 74775858fd
serviceName: dynamic-stable-scale-canary
weight: 0
stable:
podTemplateHash: 868d98995b
serviceName: dynamic-stable-scale-stable
weight: 100
conditions:
- lastTransitionTime: "2023-11-10T20:53:37Z"
lastUpdateTime: "2023-11-10T20:53:37Z"
message: Rollout has minimum availability
reason: AvailableReason
status: "True"
type: Available
- lastTransitionTime: "2023-11-10T20:53:37Z"
lastUpdateTime: "2023-11-10T20:53:37Z"
message: Rollout is not healthy
reason: RolloutHealthy
status: "False"
type: Healthy
- lastTransitionTime: "2023-11-10T20:53:37Z"
lastUpdateTime: "2023-11-10T20:53:37Z"
message: RolloutCompleted
reason: RolloutCompleted
status: "False"
type: Completed
- lastTransitionTime: "2023-11-10T20:53:44Z"
lastUpdateTime: "2023-11-10T20:53:44Z"
message: Rollout is paused
reason: RolloutPaused
status: "True"
type: Paused
- lastTransitionTime: "2023-11-10T20:53:46Z"
lastUpdateTime: "2023-11-10T20:53:46Z"
message: Rollout aborted update to revision 2
reason: RolloutAborted
status: "False"
type: Progressing
currentPodHash: 74775858fd
currentStepHash: 7c5b668566
currentStepIndex: 0
message: 'RolloutAborted: Rollout aborted update to revision 2'
observedGeneration: "2"
phase: Degraded
readyReplicas: 5
replicas: 5
selector: app=dynamic-stable-scale
stableRS: 868d98995b
updatedReplicas: 1
2023-11-10T20:53:32Z Normal RolloutAddedToInformer Rollout resource added to informer: default/dynamic-stable-scale
2023-11-10T20:53:32Z Normal RolloutNotCompleted Rollout not completed, started update to revision 1 (868d98995b)
2023-11-10T20:53:32Z Normal RolloutUpdated Rollout updated to revision 1
2023-11-10T20:53:32Z Normal NewReplicaSetCreated Created ReplicaSet dynamic-stable-scale-868d98995b (revision 1)
2023-11-10T20:53:32Z Normal PatchingALBIngress Updating Ingress `dynamic-stable-scale-ingress` to desiredWeight '0'
2023-11-10T20:53:32Z (x2) Normal TrafficWeightUpdated Traffic weight updated to 0
2023-11-10T20:53:32Z Normal ScalingReplicaSet Scaled up ReplicaSet dynamic-stable-scale-868d98995b (revision 1) from 0 to 4
2023-11-10T20:53:32Z Normal RolloutCompleted Rollout completed update to revision 1 (868d98995b): Initial deploy
2023-11-10T20:53:37Z Normal SwitchService Switched selector for service 'dynamic-stable-scale-stable' from '' to '868d98995b'
2023-11-10T20:53:37Z Normal SwitchService Switched selector for service 'dynamic-stable-scale-canary' from '' to '868d98995b'
2023-11-10T20:53:37Z Normal RolloutNotCompleted Rollout not completed, started update to revision 2 (74775858fd)
2023-11-10T20:53:37Z Normal RolloutUpdated Rollout updated to revision 2
2023-11-10T20:53:37Z Normal NewReplicaSetCreated Created ReplicaSet dynamic-stable-scale-74775858fd (revision 2)
2023-11-10T20:53:37Z (x3) Normal TrafficWeightUpdated Traffic weight updated
2023-11-10T20:53:37Z Normal ScalingReplicaSet Scaled up ReplicaSet dynamic-stable-scale-74775858fd (revision 2) from 0 to 1
2023-11-10T20:53:38Z Normal SwitchService Switched selector for service 'dynamic-stable-scale-canary' from '868d98995b' to '74775858fd'
2023-11-10T20:53:38Z Normal PatchingALBIngress Updating Ingress `dynamic-stable-scale-ingress` to desiredWeight '25'
2023-11-10T20:53:38Z Normal TrafficWeightUpdated Traffic weight updated from 0 to 25
2023-11-10T20:53:38Z Normal RolloutStepCompleted Rollout step 1/4 completed (setWeight: 25)
2023-11-10T20:53:38Z Normal ScalingReplicaSet Scaled down ReplicaSet dynamic-stable-scale-868d98995b (revision 1) from 4 to 3
2023-11-10T20:53:39Z Normal RolloutPaused Rollout is paused (CanaryPauseStep)
2023-11-10T20:53:41Z Normal RolloutStepCompleted Rollout step 2/4 completed (pause)
time="2023-11-10T20:53:50Z" level=info msg="Deleting e2e-test-name=TestCanaryDynamicStableScale"
W1110 20:53:50.644563 21771 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W1110 20:53:50.647303 21771 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
--- FAIL: TestCanarySuite/TestCanaryDynamicStableScale (18.92s)
Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e
github-actions / E2E Tests Published Test Results
1 out of 5 runs failed: TestCanarySuite/TestCanaryScaleDownOnAbort (github.com/argoproj/argo-rollouts/test/e2e)
artifacts/E2E Test Results (k8s 1.25)/junit.xml [took 5s]
Raw output
Failed
=== RUN TestCanarySuite/TestCanaryScaleDownOnAbort
time="2023-11-10T20:56:48Z" level=info msg="Deleting e2e-test-name=TestCanaryScaleDownOnAbort"
time="2023-11-10T20:56:48Z" level=info msg="service/canary-scaledowndelay-root created\n" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:48Z" level=info msg="service/canary-scaledowndelay-canary created\n" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:49Z" level=info msg="service/canary-scaledowndelay-stable created\n" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:49Z" level=info msg="ingress.networking.k8s.io/canary-scaledowndelay-ingress created\n" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:49Z" level=info msg="rollout.argoproj.io/canary-scaledownd-on-abort created\n" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:49Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:52Z" level=info msg="Condition 'status=Healthy' met after 2s" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:52Z" level=info msg="Updated rollout pod spec: 2023-11-10T20:56:52.141899961Z" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:52Z" level=info msg="Waiting for condition: status=Paused" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:53Z" level=info msg="Condition 'status=Paused' met after 0s" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:53Z" level=info msg="Aborted rollout" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:53Z" level=info msg="Waiting for condition: status=Degraded" rollout=canary-scaledownd-on-abort
time="2023-11-10T20:56:53Z" level=info msg="Condition 'status=Degraded' met after 0s" rollout=canary-scaledownd-on-abort
canary_test.go:544: Expected canary-scaledowndelay-canary selector: map[app:canary-scaledowndelay rollouts-pod-template-hash:66597877b7]. Actual: map[app:canary-scaledowndelay rollouts-pod-template-hash:6b59dc8d78]
Name: canary-scaledownd-on-abort
Namespace: default
Status: �[31m✖�[0m Degraded
Message: RolloutAborted: Rollout aborted update to revision 2
Strategy: Canary
Step: 0/2
SetWeight: 0
ActualWeight: 0
Images: nginx:1.19-alpine (�[33mcanary�[0m, �[32mstable�[0m)
Replicas:
Desired: 1
Current: 2
Updated: 1
Ready: 2
Available: 2
NAME KIND STATUS AGE INFO
⟳ canary-scaledownd-on-abort Rollout �[31m✖�[0m Degraded 4s
├──# revision:2
│ └──⧉ �[33mcanary-scaledownd-on-abort-6b59dc8d78�[0m ReplicaSet �[32m✔�[0m Healthy 1s �[33mcanary�[0m,delay:0s
│ └──□ canary-scaledownd-on-abort-6b59dc8d78-2922h Pod �[32m✔�[0m Running 1s ready:1/1
└──# revision:1
└──⧉ �[32mcanary-scaledownd-on-abort-66597877b7�[0m ReplicaSet �[32m✔�[0m Healthy 4s �[32mstable�[0m
└──□ canary-scaledownd-on-abort-66597877b7-7z8pf Pod �[32m✔�[0m Running 4s ready:1/1
---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
annotations:
rollout.argoproj.io/revision: "2"
creationTimestamp: "2023-11-10T20:56:49Z"
generation: 3
labels:
argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
e2e-test-name: TestCanaryScaleDownOnAbort
name: canary-scaledownd-on-abort
namespace: default
resourceVersion: "7377"
uid: d95207b9-a7fc-4636-8d98-9a2d36a8bae1
spec:
replicas: 1
selector:
matchLabels:
app: canary-scaledowndelay
strategy:
canary:
abortScaleDownDelaySeconds: 1
canaryService: canary-scaledowndelay-canary
scaleDownDelayRevisionLimit: 1
stableService: canary-scaledowndelay-stable
steps:
- setCanaryScale:
replicas: 1
- pause: {}
trafficRouting:
alb:
ingress: canary-scaledowndelay-ingress
rootService: canary-scaledowndelay-root
servicePort: 80
template:
metadata:
annotations:
update: "2023-11-10T20:56:52.141899961Z"
creationTimestamp: null
labels:
app: canary-scaledowndelay
spec:
containers:
- image: nginx:1.19-alpine
name: canary-scaledowndelay
ports:
- containerPort: 80
name: http
protocol: TCP
resources:
requests:
cpu: 5m
memory: 16Mi
status:
HPAReplicas: 2
abort: true
abortedAt: "2023-11-10T20:56:53Z"
availableReplicas: 2
blueGreen: {}
canary:
weights:
canary:
podTemplateHash: 6b59dc8d78
serviceName: canary-scaledowndelay-canary
weight: 0
stable:
podTemplateHash: 66597877b7
serviceName: canary-scaledowndelay-stable
weight: 100
conditions:
- lastTransitionTime: "2023-11-10T20:56:52Z"
lastUpdateTime: "2023-11-10T20:56:52Z"
message: Rollout has minimum availability
reason: AvailableReason
status: "True"
type: Available
- lastTransitionTime: "2023-11-10T20:56:52Z"
lastUpdateTime: "2023-11-10T20:56:52Z"
message: Rollout is not healthy
reason: RolloutHealthy
status: "False"
type: Healthy
- lastTransitionTime: "2023-11-10T20:56:52Z"
lastUpdateTime: "2023-11-10T20:56:52Z"
message: RolloutCompleted
reason: RolloutCompleted
status: "False"
type: Completed
- lastTransitionTime: "2023-11-10T20:56:53Z"
lastUpdateTime: "2023-11-10T20:56:53Z"
message: Rollout is paused
reason: RolloutPaused
status: "True"
type: Paused
- lastTransitionTime: "2023-11-10T20:56:53Z"
lastUpdateTime: "2023-11-10T20:56:53Z"
message: Rollout aborted update to revision 2
reason: RolloutAborted
status: "False"
type: Progressing
currentPodHash: 6b59dc8d78
currentStepHash: 5db8f9b897
currentStepIndex: 0
message: 'RolloutAborted: Rollout aborted update to revision 2'
observedGeneration: "3"
phase: Degraded
readyReplicas: 2
replicas: 2
selector: app=canary-scaledowndelay
stableRS: 66597877b7
updatedReplicas: 1
2023-11-10T20:56:49Z Normal RolloutAddedToInformer Rollout resource added to informer: default/canary-scaledownd-on-abort
2023-11-10T20:56:49Z Normal RolloutNotCompleted Rollout not completed, started update to revision 1 (66597877b7)
2023-11-10T20:56:49Z Normal RolloutUpdated Rollout updated to revision 1
2023-11-10T20:56:49Z Normal NewReplicaSetCreated Created ReplicaSet canary-scaledownd-on-abort-66597877b7 (revision 1)
2023-11-10T20:56:49Z Normal PatchingALBIngress Updating Ingress `canary-scaledowndelay-ingress` to desiredWeight '0'
2023-11-10T20:56:49Z (x2) Normal TrafficWeightUpdated Traffic weight updated to 0
2023-11-10T20:56:49Z Normal ScalingReplicaSet Scaled up ReplicaSet canary-scaledownd-on-abort-66597877b7 (revision 1) from 0 to 1
2023-11-10T20:56:49Z Normal RolloutCompleted Rollout completed update to revision 1 (66597877b7): Initial deploy
2023-11-10T20:56:52Z Normal SwitchService Switched selector for service 'canary-scaledowndelay-stable' from '' to '66597877b7'
2023-11-10T20:56:52Z Normal SwitchService Switched selector for service 'canary-scaledowndelay-canary' from '' to '66597877b7'
2023-11-10T20:56:52Z Normal RolloutNotCompleted Rollout not completed, started update to revision 2 (6b59dc8d78)
2023-11-10T20:56:52Z Normal RolloutUpdated Rollout updated to revision 2
2023-11-10T20:56:52Z Normal NewReplicaSetCreated Created ReplicaSet canary-scaledownd-on-abort-6b59dc8d78 (revision 2)
2023-11-10T20:56:52Z (x3) Normal TrafficWeightUpdated Traffic weight updated
2023-11-10T20:56:52Z Normal ScalingReplicaSet Scaled up ReplicaSet canary-scaledownd-on-abort-6b59dc8d78 (revision 2) from 0 to 1
2023-11-10T20:56:53Z Normal RolloutStepCompleted Rollout step 1/2 completed (setCanaryScale{replicas: 1})
2023-11-10T20:56:53Z Normal RolloutPaused Rollout is paused (CanaryPauseStep)
2023-11-10T20:56:53Z Warning RolloutAborted Rollout aborted update to revision 2
2023-11-10T20:56:53Z (x2) Normal SwitchService Switched selector for service 'canary-scaledowndelay-canary' from '66597877b7' to '6b59dc8d78'
2023-11-10T20:56:53Z (x2) Normal SwitchService Switched selector for service 'canary-scaledowndelay-canary' from '6b59dc8d78' to '66597877b7'
time="2023-11-10T20:56:53Z" level=info msg="Deleting e2e-test-name=TestCanaryScaleDownOnAbort"
--- FAIL: TestCanarySuite/TestCanaryScaleDownOnAbort (5.15s)
Check notice on line 0 in .github
github-actions / E2E Tests Published Test Results
6 skipped tests found
There are 6 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBBlueGreenUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBCanaryUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBCanaryUpdateMultiIngress
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAppMeshSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestSMIIngressSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestSMISuite
Check notice on line 0 in .github
github-actions / E2E Tests Published Test Results
103 tests found
There are 103 tests, see "Raw output" for the full list of tests.
Raw output
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAPISIXSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAPISIXSuite/TestAPISIXCanarySetHeaderStep
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAPISIXSuite/TestAPISIXCanaryStep
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBBlueGreenUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBCanaryUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBCanaryUpdateMultiIngress
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBExperimentStep
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBExperimentStepMultiIngress
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBExperimentStepNoSetWeight
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBExperimentStepNoSetWeightMultiIngress
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBPingPongUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestALBPingPongUpdateMultiIngress
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestAlbHeaderRoute
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAWSSuite/TestAlbHeaderRouteMultiIngress
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestAnalysisWithArgs
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestAnalysisWithSecret
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestBackgroundAnalysisWithArgs
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestBlueGreenAbortAndUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestBlueGreenAnalysis
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestBlueGreenKitchenSink
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestBlueGreenPostPromotionFail
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestBlueGreenPrePromotionFail
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestCanaryBackgroundAnalysis
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestCanaryFailInlineMultipleAnalysis
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestCanaryInlineAnalysis
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestCanaryInlineMultipleAnalysis
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAnalysisSuite/TestMultipleAnalysis
github.com/argoproj/argo-rollouts/test/e2e ‑ TestAppMeshSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestBlueGreenSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestBlueGreenSuite/TestBlueGreenPreviewReplicaCount
github.com/argoproj/argo-rollouts/test/e2e ‑ TestBlueGreenSuite/TestBlueGreenProgressDeadlineExceededWithPause
github.com/argoproj/argo-rollouts/test/e2e ‑ TestBlueGreenSuite/TestBlueGreenProgressDeadlineExceededWithoutPause
github.com/argoproj/argo-rollouts/test/e2e ‑ TestBlueGreenSuite/TestEphemeralMetadata
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanaryDynamicStableScale
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanaryDynamicStableScaleRollbackToStable
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanaryProgressDeadlineExceededWithPause
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanaryScaleDownDelay
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanaryScaleDownOnAbort
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanaryScaleDownOnAbortNoTrafficRouting
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanarySetCanaryScale
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanaryUnScaleDownOnAbort
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestEphemeralMetadata
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestReduceWeightAndHonorMaxUnavailable
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestRolloutScalingDuringUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestRolloutScalingWhenPaused
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestRolloutWithMaxSurgeScalingDuringUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestExperimentSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestExperimentSuite/TestExperimentWithDryRunMetrics
github.com/argoproj/argo-rollouts/test/e2e ‑ TestExperimentSuite/TestExperimentWithMeasurementRetentionMetrics
github.com/argoproj/argo-rollouts/test/e2e ‑ TestExperimentSuite/TestExperimentWithMultiportServiceAndScaleDownDelay
github.com/argoproj/argo-rollouts/test/e2e ‑ TestExperimentSuite/TestExperimentWithServiceAndScaleDownDelay
github.com/argoproj/argo-rollouts/test/e2e ‑ TestExperimentSuite/TestExperimentWithServiceNameAndScaleDownDelay
github.com/argoproj/argo-rollouts/test/e2e ‑ TestExperimentSuite/TestRolloutWithExperimentAndAnalysis
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestBlueGreenExceedProgressDeadlineAbort
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestBlueGreenPreviewReplicaCountPromoteFull
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestBlueGreenPromoteFull
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestBlueGreenScaleDownDelay
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestBlueGreenScaleDownOnAbort
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestBlueGreenToCanary
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestBlueGreenUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestCanaryPromoteFull
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestCompleteRolloutRestart
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestContainerResourceFormats
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestControllerMetrics
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestFixInvalidSpec
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestKubectlWaitForCompleted
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestKubectlWaitForPaused
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestMalformedRollout
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestMalformedRolloutEphemeralCtr
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutAbortRetryPromote
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutBadToBadUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutBadToGoodSetWeightUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutBadToGoodUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutGoodToBadUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutPDBRestart
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutPauseDurationGreaterThanProgressDeadlineSeconds
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutPodVolumesItemsSpec
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestRolloutRestart
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestWorkloadRef
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestWorkloadRefTemplate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestHeaderRoutingSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestHeaderRoutingSuite/TestIstioHostHeaderRoute
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioAbortUpdate
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioAbortUpdateDeleteAllCanaryPods
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioHostSplit
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioHostSplitExperimentStep
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioHostSplitOnlyTls
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioSubsetSplit
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioSubsetSplitExperimentStep
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioSubsetSplitSingleRoute
github.com/argoproj/argo-rollouts/test/e2e ‑ TestIstioSuite/TestIstioUpdateInMiddleZeroCanaryReplicas
github.com/argoproj/argo-rollouts/test/e2e ‑ TestMirrorRouteSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestMirrorRouteSuite/TestIstioHostMirrorRoute
github.com/argoproj/argo-rollouts/test/e2e ‑ TestRollbackSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestRollbackSuite/TestRollbackAnalysisOutsideWindow
github.com/argoproj/argo-rollouts/test/e2e ‑ TestRollbackSuite/TestRollbackAnalysisWithinWindow
github.com/argoproj/argo-rollouts/test/e2e ‑ TestSMIIngressSuite
github.com/argoproj/argo-rollouts/test/e2e ‑ TestSMISuite