Skip to content

fix: loop when paused and completed #5829

fix: loop when paused and completed

fix: loop when paused and completed #5829

GitHub Actions / Published E2E Test Results succeeded Feb 21, 2025 in 0s

7 fail, 7 skipped, 100 pass in 3h 20m 39s

  4 files    4 suites   3h 20m 39s ⏱️
114 tests 100 ✅  7 💤 7 ❌
464 runs  429 ✅ 28 💤 7 ❌

Results for commit 153110c.

Annotations

Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

1 out of 5 runs failed: TestAnalysisSuite/TestAnalysisWithArgs (github.com/argoproj/argo-rollouts/test/e2e)

artifacts/E2E Test Results (k8s 1.30)/junit-e2e-test.xml [took 1m 50s]
Raw output
Failed
=== RUN   TestAnalysisSuite/TestAnalysisWithArgs
time="2025-02-21T18:44:28Z" level=info msg="Deleting e2e-test-name=TestAnalysisWithArgs"
time="2025-02-21T18:44:28Z" level=info msg="rollout.argoproj.io/rollout-secret created\n" rollout=rollout-secret
time="2025-02-21T18:44:28Z" level=info msg="secret/example-secret created\n" rollout=rollout-secret
time="2025-02-21T18:44:28Z" level=info msg="analysistemplate.argoproj.io/analysis-secret-args created\n" rollout=rollout-secret
time="2025-02-21T18:44:28Z" level=info msg="Waiting for condition: status=Healthy" rollout=rollout-secret
time="2025-02-21T18:44:32Z" level=info msg="Condition 'status=Healthy' met after 3s" rollout=rollout-secret
time="2025-02-21T18:44:32Z" level=info msg="AnalysisRun expectation 'analysisrun count == 0' met" rollout=rollout-secret
time="2025-02-21T18:44:32Z" level=info msg="Updated rollout pod spec: 2025-02-21T18:44:32.785599923Z" rollout=rollout-secret
time="2025-02-21T18:44:32Z" level=info msg="Waiting for condition: status=Paused" rollout=rollout-secret
time="2025-02-21T18:44:49Z" level=info msg="Condition 'status=Paused' met after 16s" rollout=rollout-secret
time="2025-02-21T18:44:49Z" level=info msg="Waiting for AnalysisRun rollout-secret-7bc896d9f-2-1 condition: phase=Successful" rollout=rollout-secret
time="2025-02-21T18:44:49Z" level=info msg="Condition 'phase=Successful' met after 0s" rollout=rollout-secret
time="2025-02-21T18:44:49Z" level=info msg="Promoted rollout" rollout=rollout-secret
time="2025-02-21T18:44:49Z" level=info msg="Waiting for condition: status=Healthy" rollout=rollout-secret
    when.go:467: timeout after 1m30s waiting for condition status=Healthy
Name:            rollout-secret
Namespace:       default
Status:          �[94m◌�[0m Progressing
Message:         waiting for rollout to unpause
Strategy:        Canary
  Step:          2/3
  SetWeight:     25
  ActualWeight:  50
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
⟳ rollout-secret                            Rollout      �[94m◌�[0m Progressing  111s  
├──# revision:2                                                               
│  ├──⧉ �[33mrollout-secret-7bc896d9f�[0m            ReplicaSet   �[32m✔�[0m Healthy      107s  �[33mcanary�[0m
│  │  └──□ rollout-secret-7bc896d9f-kfrb4   Pod          �[32m✔�[0m Running      107s  ready:1/1
│  └──α �[0mrollout-secret-7bc896d9f-2-1�[0m        AnalysisRun  �[32m✔�[0m Successful   105s  �[32m✔�[0m 3
└──# revision:1                                                               
   └──⧉ �[32mrollout-secret-77bf55959c�[0m           ReplicaSet   �[32m✔�[0m Healthy      110s  �[32mstable�[0m
      └──□ rollout-secret-77bf55959c-kbblm  Pod          �[32m✔�[0m Running      110s  ready:1/1

---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  annotations:
    rollout.argoproj.io/revision: "2"
  creationTimestamp: "2025-02-21T18:44:28Z"
  generation: 3
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestAnalysisWithArgs
  name: rollout-secret
  namespace: default
  resourceVersion: "936"
  uid: 7a383aa9-160c-4af5-a4cd-643f91d7de0f
spec:
  replicas: 1
  revisionHistoryLimit: 2
  selector:
    matchLabels:
      app: rollout-secret
  strategy:
    canary:
      steps:
      - setWeight: 25
      - analysis:
          analysisRunMetadata: {}
          args:
          - name: failure-limit
            value: "2"
          - name: analysis-interval
            value: 5s
          - name: analysis-runs
            value: "3"
          - name: inconclusive-limit
            value: "2"
          - name: success-condition
            value: It worked!
          templates:
          - templateName: analysis-secret-args
      - pause: {}
  template:
    metadata:
      annotations:
        update: "2025-02-21T18:44:32.785599923Z"
      creationTimestamp: null
      labels:
        app: rollout-secret
    spec:
      containers:
      - image: nginx:1.19-alpine
        imagePullPolicy: Always
        name: rollouts-demo
        ports:
        - containerPort: 8080
          protocol: TCP
        resources: {}
status:
  HPAReplicas: 2
  availableReplicas: 2
  blueGreen: {}
  canary: {}
  conditions:
  - lastTransitionTime: "2025-02-21T18:44:32Z"
    lastUpdateTime: "2025-02-21T18:44:32Z"
    message: Rollout has minimum availability
    reason: AvailableReason
    status: "True"
    type: Available
  - lastTransitionTime: "2025-02-21T18:44:32Z"
    lastUpdateTime: "2025-02-21T18:44:32Z"
    message: Rollout is not healthy
    reason: RolloutHealthy
    status: "False"
    type: Healthy
  - lastTransitionTime: "2025-02-21T18:44:32Z"
    lastUpdateTime: "2025-02-21T18:44:32Z"
    message: RolloutCompleted
    reason: RolloutCompleted
    status: "False"
    type: Completed
  - lastTransitionTime: "2025-02-21T18:44:49Z"
    lastUpdateTime: "2025-02-21T18:44:49Z"
    message: Rollout is paused
    reason: RolloutPaused
    status: Unknown
    type: Progressing
  - lastTransitionTime: "2025-02-21T18:44:49Z"
    lastUpdateTime: "2025-02-21T18:44:49Z"
    message: Rollout is paused
    reason: RolloutPaused
    status: "True"
    type: Paused
  controllerPause: true
  currentPodHash: 7bc896d9f
  currentStepHash: 58d9d99467
  currentStepIndex: 2
  message: CanaryPauseStep
  observedGeneration: "3"
  phase: Paused
  readyReplicas: 2
  replicas: 2
  selector: app=rollout-secret
  stableRS: 77bf55959c
  updatedReplicas: 1

2025-02-21T18:44:28Z    Normal    RolloutAddedToInformer    Rollout resource added to informer: default/rollout-secret
2025-02-21T18:44:29Z    Normal    RolloutUpdated            Rollout updated to revision 1
2025-02-21T18:44:29Z    Normal    NewReplicaSetCreated      Created ReplicaSet rollout-secret-77bf55959c (revision 1)
2025-02-21T18:44:29Z    Normal    RolloutNotCompleted       Rollout not completed, started update to revision 1 (77bf55959c)
2025-02-21T18:44:29Z    Normal    ScalingReplicaSet         Scaled up ReplicaSet rollout-secret-77bf55959c (revision 1) from 0 to 1
2025-02-21T18:44:29Z    Normal    RolloutCompleted          Rollout completed update to revision 1 (77bf55959c): Initial deploy
2025-02-21T18:44:32Z    Normal    RolloutUpdated            Rollout updated to revision 2
2025-02-21T18:44:32Z    Normal    NewReplicaSetCreated      Created ReplicaSet rollout-secret-7bc896d9f (revision 2)
2025-02-21T18:44:32Z    Normal    RolloutNotCompleted       Rollout not completed, started update to revision 2 (7bc896d9f)
2025-02-21T18:44:32Z    Normal    ScalingReplicaSet         Scaled up ReplicaSet rollout-secret-7bc896d9f (revision 2) from 0 to 1
2025-02-21T18:44:34Z    Normal    RolloutStepCompleted      Rollout step 1/3 completed (setWeight: 25)
2025-02-21T18:44:34Z    Normal    AnalysisRunRunning        Step Analysis Run 'rollout-secret-7bc896d9f-2-1' Status New: 'Running' Previous: ''
2025-02-21T18:44:49Z    Normal    AnalysisRunSuccessful     Step Analysis Run 'rollout-secret-7bc896d9f-2-1' Status New: 'Successful' Previous: 'Running'
2025-02-21T18:44:49Z    Normal    RolloutStepCompleted      Rollout step 2/3 completed (analysis)
2025-02-21T18:44:49Z    Normal    RolloutPaused             Rollout is paused (CanaryPauseStep)

time="2025-02-21T18:46:19Z" level=info msg="Deleting e2e-test-name=TestAnalysisWithArgs"
    --- FAIL: TestAnalysisSuite/TestAnalysisWithArgs (110.63s)

Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

1 out of 5 runs failed: TestAnalysisSuite (github.com/argoproj/argo-rollouts/test/e2e)

artifacts/E2E Test Results (k8s 1.30)/junit-e2e-test.xml [took 4m 38s]
Raw output
Failed
=== RUN   TestAnalysisSuite
time="2025-02-21T18:44:28Z" level=info msg="analysistemplate.argoproj.io/web-background created\n"
time="2025-02-21T18:44:28Z" level=info msg="analysistemplate.argoproj.io/sleep-job created\n"
time="2025-02-21T18:44:28Z" level=info msg="analysistemplate.argoproj.io/multiple-job created\n"
time="2025-02-21T18:44:28Z" level=info msg="analysistemplate.argoproj.io/multiple-job-fail created\n"
--- FAIL: TestAnalysisSuite (278.36s)

Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

1 out of 5 runs failed: TestAWSSuite/TestALBExperimentStepNoSetWeight (github.com/argoproj/argo-rollouts/test/e2e)

artifacts/E2E Test Results (k8s 1.30)/junit-e2e-test.xml [took 12s]
Raw output
Failed
=== RUN   TestAWSSuite/TestALBExperimentStepNoSetWeight
time="2025-02-21T18:50:47Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeight"
time="2025-02-21T18:50:48Z" level=info msg="service/alb-rollout-root created\n" rollout=alb-rollout
time="2025-02-21T18:50:48Z" level=info msg="service/alb-rollout-canary created\n" rollout=alb-rollout
time="2025-02-21T18:50:48Z" level=info msg="service/alb-rollout-stable created\n" rollout=alb-rollout
time="2025-02-21T18:50:48Z" level=info msg="Warning: annotation \"kubernetes.io/ingress.class\" is deprecated, please use 'spec.ingressClassName' instead\ningress.networking.k8s.io/alb-rollout-ingress created\n" rollout=alb-rollout
time="2025-02-21T18:50:48Z" level=info msg="rollout.argoproj.io/alb-rollout created\n" rollout=alb-rollout
time="2025-02-21T18:50:48Z" level=info msg="Waiting for condition: status=Healthy" rollout=alb-rollout
time="2025-02-21T18:50:49Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=alb-rollout
time="2025-02-21T18:50:49Z" level=info msg="Experiment expectation 'experiment count == 0' met" rollout=alb-rollout
time="2025-02-21T18:50:49Z" level=info msg="Updated rollout pod spec: 2025-02-21T18:50:49.606168331Z" rollout=alb-rollout
time="2025-02-21T18:50:49Z" 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:330
        	            				/home/runner/work/argo-rollouts/argo-rollouts/test/fixtures/then.go:30
        	            				/home/runner/work/argo-rollouts/argo-rollouts/test/e2e/aws_test.go:320
        	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  11s  
├──# revision:2                                                                                       
│  ├──⧉ �[33malb-rollout-74b5d564f5�[0m                                        ReplicaSet  �[0m•�[0m ScaledDown   10s  �[33mcanary�[0m
│  └──Σ �[94malb-rollout-74b5d564f5-2-0�[0m                                    Experiment  �[94m◌�[0m Running      10s  
│     ├──⧉ alb-rollout-74b5d564f5-2-0-experiment-alb-canary           ReplicaSet  �[32m✔�[0m Healthy      10s  
│     │  └──□ alb-rollout-74b5d564f5-2-0-experiment-alb-canary-v47j7  Pod         �[32m✔�[0m Running      10s  ready:1/1
│     └──⧉ alb-rollout-74b5d564f5-2-0-experiment-alb-stable           ReplicaSet  �[32m✔�[0m Healthy      10s  
│        └──□ alb-rollout-74b5d564f5-2-0-experiment-alb-stable-cmnbx  Pod         �[32m✔�[0m Running      10s  ready:1/1
└──# revision:1                                                                                       
   └──⧉ �[32malb-rollout-d6f4fdcdc�[0m                                         ReplicaSet  �[32m✔�[0m Healthy      11s  �[32mstable�[0m
      └──□ alb-rollout-d6f4fdcdc-888rw                                Pod         �[32m✔�[0m Running      11s  ready:1/1

---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  annotations:
    rollout.argoproj.io/revision: "2"
  creationTimestamp: "2025-02-21T18:50:48Z"
  generation: 4
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestALBExperimentStepNoSetWeight
  name: alb-rollout
  namespace: default
  resourceVersion: "4016"
  uid: 33ff2161-b6a6-4918-bdba-803218e8725b
spec:
  replicas: 1
  selector:
    matchLabels:
      app: alb-rollout
  strategy:
    canary:
      canaryService: alb-rollout-canary
      stableService: alb-rollout-stable
      steps:
      - experiment:
          analysisRunMetadata: {}
          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: "2025-02-21T18:50:49.606168331Z"
      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-74b5d564f5-2-0
    weights:
      additional:
      - weight: 20
      - weight: 20
      canary:
        podTemplateHash: 74b5d564f5
        serviceName: alb-rollout-canary
        weight: 0
      stable:
        podTemplateHash: d6f4fdcdc
        serviceName: alb-rollout-stable
        weight: 60
  conditions:
  - lastTransitionTime: "2025-02-21T18:50:49Z"
    lastUpdateTime: "2025-02-21T18:50:49Z"
    message: Rollout has minimum availability
    reason: AvailableReason
    status: "True"
    type: Available
  - lastTransitionTime: "2025-02-21T18:50:49Z"
    lastUpdateTime: "2025-02-21T18:50:49Z"
    message: Rollout is not healthy
    reason: RolloutHealthy
    status: "False"
    type: Healthy
  - lastTransitionTime: "2025-02-21T18:50:48Z"
    lastUpdateTime: "2025-02-21T18:50:49Z"
    message: ReplicaSet "alb-rollout-74b5d564f5" is progressing.
    reason: ReplicaSetUpdated
    status: "True"
    type: Progressing
  - lastTransitionTime: "2025-02-21T18:50:49Z"
    lastUpdateTime: "2025-02-21T18:50:49Z"
    message: RolloutCompleted
    reason: RolloutCompleted
    status: "False"
    type: Completed
  currentPodHash: 74b5d564f5
  currentStepHash: 8b59978
  currentStepIndex: 0
  message: more replicas need to be updated
  observedGeneration: "4"
  phase: Progressing
  readyReplicas: 1
  replicas: 1
  selector: app=alb-rollout
  stableRS: d6f4fdcdc

2025-02-21T18:50:48Z         Normal    RolloutAddedToInformer    Rollout resource added to informer: default/alb-rollout
2025-02-21T18:50:48Z         Normal    RolloutUpdated            Rollout updated to revision 1
2025-02-21T18:50:48Z         Normal    NewReplicaSetCreated      Created ReplicaSet alb-rollout-d6f4fdcdc (revision 1)
2025-02-21T18:50:48Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 1 (d6f4fdcdc)
2025-02-21T18:50:50Z (x2)    Normal    PatchingALBIngress        Updating Ingress `alb-rollout-ingress` to desiredWeight '0'
2025-02-21T18:50:48Z         Normal    TrafficWeightUpdated      Traffic weight updated to 0
2025-02-21T18:50:48Z         Normal    ScalingReplicaSet         Scaled up ReplicaSet alb-rollout-d6f4fdcdc (revision 1) from 0 to 1
2025-02-21T18:50:48Z         Normal    RolloutCompleted          Rollout completed update to revision 1 (d6f4fdcdc): Initial deploy
2025-02-21T18:50:49Z (x2)    Normal    TrafficWeightUpdated      Traffic weight updated 
2025-02-21T18:50:49Z         Normal    SwitchService             Switched selector for service 'alb-rollout-stable' from '' to 'd6f4fdcdc'
2025-02-21T18:50:49Z         Normal    SwitchService             Switched selector for service 'alb-rollout-canary' from '' to 'd6f4fdcdc'
2025-02-21T18:50:49Z         Normal    RolloutUpdated            Rollout updated to revision 2
2025-02-21T18:50:49Z         Normal    NewReplicaSetCreated      Created ReplicaSet alb-rollout-74b5d564f5 (revision 2)
2025-02-21T18:50:49Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 2 (74b5d564f5)
2025-02-21T18:50:49Z         Normal    ExperimentCreated         Created Experiment 'alb-rollout-74b5d564f5-2-0'
2025-02-21T18:50:50Z         Normal    TrafficWeightUpdated      Traffic weight updated additional: [{20  } {20  }]

Name:            alb-rollout-74b5d564f5-2-0
Namespace:       default
Status:          �[94m◌�[0m Running
Images:          nginx:1.19-alpine (�[0mΣ:experiment-alb-canary�[0m, �[0mΣ:experiment-alb-stable�[0m)

NAME                                                            KIND        STATUS     AGE  INFO
Σ �[94malb-rollout-74b5d564f5-2-0�[0m                                    Experiment  �[94m◌�[0m Running  10s  
├──⧉ alb-rollout-74b5d564f5-2-0-experiment-alb-canary           ReplicaSet  �[32m✔�[0m Healthy  10s  
│  └──□ alb-rollout-74b5d564f5-2-0-experiment-alb-canary-v47j7  Pod         �[32m✔�[0m Running  10s  ready:1/1
└──⧉ alb-rollout-74b5d564f5-2-0-experiment-alb-stable           ReplicaSet  �[32m✔�[0m Healthy  10s  
   └──□ alb-rollout-74b5d564f5-2-0-experiment-alb-stable-cmnbx  Pod         �[32m✔�[0m Running  10s  ready:1/1

---
apiVersion: argoproj.io/v1alpha1
kind: Experiment
metadata:
  annotations:
    rollout.argoproj.io/revision: "2"
  creationTimestamp: "2025-02-21T18:50:49Z"
  generation: 9
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestALBExperimentStepNoSetWeight
    rollouts-pod-template-hash: 74b5d564f5
  name: alb-rollout-74b5d564f5-2-0
  namespace: default
  ownerReferences:
  - apiVersion: argoproj.io/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: Rollout
    name: alb-rollout
    uid: 33ff2161-b6a6-4918-bdba-803218e8725b
  resourceVersion: "4012"
  uid: 8a7abd12-2c53-43c4-b9e1-abcbad1a134e
spec:
  analysisRunMetadata: {}
  duration: 15s
  templates:
  - name: experiment-alb-canary
    selector:
      matchLabels:
        app: alb-rollout
        rollouts-pod-template-hash: 74b5d564f5
    service: {}
    template:
      metadata:
        annotations:
          update: "2025-02-21T18:50:49.606168331Z"
        creationTimestamp: null
        labels:
          app: alb-rollout
          rollouts-pod-template-hash: 74b5d564f5
      spec:
        containers:
        - image: nginx:1.19-alpine
          imagePullPolicy: IfNotPresent
          name: alb-rollout
          ports:
          - containerPort: 80
            name: http
            protocol: TCP
          resources:
            requests:
              cpu: 5m
              memory: 16Mi
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        terminationGracePeriodSeconds: 30
  - name: experiment-alb-stable
    selector:
      matchLabels:
        app: alb-rollout
        rollouts-pod-template-hash: d6f4fdcdc
    service: {}
    template:
      metadata:
        creationTimestamp: null
        labels:
          app: alb-rollout
          rollouts-pod-template-hash: d6f4fdcdc
      spec:
        containers:
        - image: nginx:1.19-alpine
          imagePullPolicy: IfNotPresent
          name: alb-rollout
          ports:
          - containerPort: 80
            name: http
            protocol: TCP
          resources:
            requests:
              cpu: 5m
              memory: 16Mi
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        terminationGracePeriodSeconds: 30
status:
  availableAt: "2025-02-21T18:50:50Z"
  conditions:
  - lastTransitionTime: "2025-02-21T18:50:49Z"
    lastUpdateTime: "2025-02-21T18:50:50Z"
    message: Experiment "alb-rollout-74b5d564f5-2-0" is running.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  phase: Running
  templateStatuses:
  - availableReplicas: 1
    lastTransitionTime: "2025-02-21T18:50:50Z"
    name: experiment-alb-canary
    readyReplicas: 1
    replicas: 1
    status: Running
    updatedReplicas: 1
  - availableReplicas: 1
    lastTransitionTime: "2025-02-21T18:50:50Z"
    name: experiment-alb-stable
    readyReplicas: 1
    replicas: 1
    status: Running
    updatedReplicas: 1

2025-02-21T18:50:49Z (x2)    Normal    TemplateProgressing    Template 'experiment-alb-canary' transitioned from  -> Progressing
2025-02-21T18:50:49Z (x2)    Normal    TemplateProgressing    Template 'experiment-alb-stable' transitioned from  -> Progressing
2025-02-21T18:50:49Z (x2)    Normal    ExperimentPending      Experiment transitioned from  -> Pending
2025-02-21T18:50:49Z         Normal    ScalingReplicaSet      Scaled up ReplicaSet alb-rollout-74b5d564f5-2-0-experiment-alb-canary from 0 to 1
2025-02-21T18:50:49Z         Normal    ScalingReplicaSet      Scaled up ReplicaSet alb-rollout-74b5d564f5-2-0-experiment-alb-stable from 0 to 1
2025-02-21T18:50:50Z         Normal    TemplateRunning        Template 'experiment-alb-canary' transitioned from Progressing -> Running
2025-02-21T18:50:50Z         Normal    TemplateRunning        Template 'experiment-alb-stable' transitioned from Progressing -> Running
2025-02-21T18:50:50Z         Normal    ExperimentRunning      Experiment transitioned from Pending -> Running

time="2025-02-21T18:50:59Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeight"
    --- FAIL: TestAWSSuite/TestALBExperimentStepNoSetWeight (12.23s)

Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

1 out of 5 runs failed: TestAWSSuite/TestALBExperimentStepNoSetWeightMultiIngress (github.com/argoproj/argo-rollouts/test/e2e)

artifacts/E2E Test Results (k8s 1.30)/junit-e2e-test.xml [took 12s]
Raw output
Failed
=== RUN   TestAWSSuite/TestALBExperimentStepNoSetWeightMultiIngress
time="2025-02-21T18:51:00Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeightMultiIngress"
time="2025-02-21T18:51:00Z" level=info msg="service/alb-rollout-root created\n" rollout=alb-rollout
time="2025-02-21T18:51:00Z" level=info msg="service/alb-rollout-canary created\n" rollout=alb-rollout
time="2025-02-21T18:51:00Z" level=info msg="service/alb-rollout-stable created\n" rollout=alb-rollout
time="2025-02-21T18:51:00Z" level=info msg="Warning: annotation \"kubernetes.io/ingress.class\" is deprecated, please use 'spec.ingressClassName' instead\ningress.networking.k8s.io/alb-rollout-multi-ingress-1 created\n" rollout=alb-rollout
time="2025-02-21T18:51:00Z" level=info msg="Warning: annotation \"kubernetes.io/ingress.class\" is deprecated, please use 'spec.ingressClassName' instead\ningress.networking.k8s.io/alb-rollout-multi-ingress-2 created\n" rollout=alb-rollout
time="2025-02-21T18:51:00Z" level=info msg="rollout.argoproj.io/alb-rollout created\n" rollout=alb-rollout
time="2025-02-21T18:51:00Z" level=info msg="Waiting for condition: status=Healthy" rollout=alb-rollout
time="2025-02-21T18:51:01Z" level=info msg="Condition 'status=Healthy' met after 0s" rollout=alb-rollout
time="2025-02-21T18:51:01Z" level=info msg="Experiment expectation 'experiment count == 0' met" rollout=alb-rollout
time="2025-02-21T18:51:01Z" level=info msg="Updated rollout pod spec: 2025-02-21T18:51:01.673760838Z" rollout=alb-rollout
time="2025-02-21T18:51:01Z" 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:365
        	            				/home/runner/work/argo-rollouts/argo-rollouts/test/fixtures/then.go:30
        	            				/home/runner/work/argo-rollouts/argo-rollouts/test/e2e/aws_test.go:354
        	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-9bb77f954�[0m                                        ReplicaSet  �[0m•�[0m ScaledDown   10s  �[33mcanary�[0m
│  └──Σ �[94malb-rollout-9bb77f954-2-0�[0m                                    Experiment  �[94m◌�[0m Running      10s  
│     ├──⧉ alb-rollout-9bb77f954-2-0-experiment-alb-canary           ReplicaSet  �[32m✔�[0m Healthy      10s  
│     │  └──□ alb-rollout-9bb77f954-2-0-experiment-alb-canary-5jgz7  Pod         �[32m✔�[0m Running      10s  ready:1/1
│     └──⧉ alb-rollout-9bb77f954-2-0-experiment-alb-stable           ReplicaSet  �[32m✔�[0m Healthy      10s  
│        └──□ alb-rollout-9bb77f954-2-0-experiment-alb-stable-bd5wg  Pod         �[32m✔�[0m Running      10s  ready:1/1
└──# revision:1                                                                                      
   └──⧉ �[32malb-rollout-d6f4fdcdc�[0m                                        ReplicaSet  �[32m✔�[0m Healthy      11s  �[32mstable�[0m
      └──□ alb-rollout-d6f4fdcdc-hc4bv                               Pod         �[32m✔�[0m Running      11s  ready:1/1

---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  annotations:
    rollout.argoproj.io/revision: "2"
  creationTimestamp: "2025-02-21T18:51:00Z"
  generation: 4
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestALBExperimentStepNoSetWeightMultiIngress
  name: alb-rollout
  namespace: default
  resourceVersion: "4239"
  uid: 7a753d9c-39fd-43ed-8c62-172d84fcabfc
spec:
  replicas: 1
  selector:
    matchLabels:
      app: alb-rollout
  strategy:
    canary:
      canaryService: alb-rollout-canary
      stableService: alb-rollout-stable
      steps:
      - experiment:
          analysisRunMetadata: {}
          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: "2025-02-21T18:51:01.673760838Z"
      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-9bb77f954-2-0
    weights:
      additional:
      - weight: 20
      - weight: 20
      canary:
        podTemplateHash: 9bb77f954
        serviceName: alb-rollout-canary
        weight: 0
      stable:
        podTemplateHash: d6f4fdcdc
        serviceName: alb-rollout-stable
        weight: 60
  conditions:
  - lastTransitionTime: "2025-02-21T18:51:01Z"
    lastUpdateTime: "2025-02-21T18:51:01Z"
    message: Rollout has minimum availability
    reason: AvailableReason
    status: "True"
    type: Available
  - lastTransitionTime: "2025-02-21T18:51:01Z"
    lastUpdateTime: "2025-02-21T18:51:01Z"
    message: Rollout is not healthy
    reason: RolloutHealthy
    status: "False"
    type: Healthy
  - lastTransitionTime: "2025-02-21T18:51:00Z"
    lastUpdateTime: "2025-02-21T18:51:01Z"
    message: ReplicaSet "alb-rollout-9bb77f954" is progressing.
    reason: ReplicaSetUpdated
    status: "True"
    type: Progressing
  - lastTransitionTime: "2025-02-21T18:51:01Z"
    lastUpdateTime: "2025-02-21T18:51:01Z"
    message: RolloutCompleted
    reason: RolloutCompleted
    status: "False"
    type: Completed
  currentPodHash: 9bb77f954
  currentStepHash: 8b59978
  currentStepIndex: 0
  message: more replicas need to be updated
  observedGeneration: "4"
  phase: Progressing
  readyReplicas: 1
  replicas: 1
  selector: app=alb-rollout
  stableRS: d6f4fdcdc

2025-02-21T18:51:00Z         Normal    RolloutAddedToInformer    Rollout resource added to informer: default/alb-rollout
2025-02-21T18:51:00Z         Normal    RolloutUpdated            Rollout updated to revision 1
2025-02-21T18:51:00Z         Normal    NewReplicaSetCreated      Created ReplicaSet alb-rollout-d6f4fdcdc (revision 1)
2025-02-21T18:51:00Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 1 (d6f4fdcdc)
2025-02-21T18:51:02Z (x2)    Normal    PatchingALBIngress        Updating Ingress `alb-rollout-multi-ingress-1` to desiredWeight '0'
2025-02-21T18:51:02Z (x2)    Normal    PatchingALBIngress        Updating Ingress `alb-rollout-multi-ingress-2` to desiredWeight '0'
2025-02-21T18:51:00Z         Normal    TrafficWeightUpdated      Traffic weight updated to 0
2025-02-21T18:51:00Z         Normal    ScalingReplicaSet         Scaled up ReplicaSet alb-rollout-d6f4fdcdc (revision 1) from 0 to 1
2025-02-21T18:51:00Z         Normal    RolloutCompleted          Rollout completed update to revision 1 (d6f4fdcdc): Initial deploy
2025-02-21T18:51:01Z (x2)    Normal    TrafficWeightUpdated      Traffic weight updated 
2025-02-21T18:51:01Z         Normal    SwitchService             Switched selector for service 'alb-rollout-stable' from '' to 'd6f4fdcdc'
2025-02-21T18:51:01Z         Normal    SwitchService             Switched selector for service 'alb-rollout-canary' from '' to 'd6f4fdcdc'
2025-02-21T18:51:01Z         Normal    RolloutUpdated            Rollout updated to revision 2
2025-02-21T18:51:01Z         Normal    NewReplicaSetCreated      Created ReplicaSet alb-rollout-9bb77f954 (revision 2)
2025-02-21T18:51:01Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 2 (9bb77f954)
2025-02-21T18:51:01Z         Normal    ExperimentCreated         Created Experiment 'alb-rollout-9bb77f954-2-0'
2025-02-21T18:51:02Z         Normal    TrafficWeightUpdated      Traffic weight updated additional: [{20  } {20  }]

Name:            alb-rollout-9bb77f954-2-0
Namespace:       default
Status:          �[94m◌�[0m Running
Images:          nginx:1.19-alpine (�[0mΣ:experiment-alb-canary�[0m, �[0mΣ:experiment-alb-stable�[0m)

NAME                                                           KIND        STATUS     AGE  INFO
Σ �[94malb-rollout-9bb77f954-2-0�[0m                                    Experiment  �[94m◌�[0m Running  10s  
├──⧉ alb-rollout-9bb77f954-2-0-experiment-alb-canary           ReplicaSet  �[32m✔�[0m Healthy  10s  
│  └──□ alb-rollout-9bb77f954-2-0-experiment-alb-canary-5jgz7  Pod         �[32m✔�[0m Running  10s  ready:1/1
└──⧉ alb-rollout-9bb77f954-2-0-experiment-alb-stable           ReplicaSet  �[32m✔�[0m Healthy  10s  
   └──□ alb-rollout-9bb77f954-2-0-experiment-alb-stable-bd5wg  Pod         �[32m✔�[0m Running  10s  ready:1/1

---
apiVersion: argoproj.io/v1alpha1
kind: Experiment
metadata:
  annotations:
    rollout.argoproj.io/revision: "2"
  creationTimestamp: "2025-02-21T18:51:01Z"
  generation: 8
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestALBExperimentStepNoSetWeightMultiIngress
    rollouts-pod-template-hash: 9bb77f954
  name: alb-rollout-9bb77f954-2-0
  namespace: default
  ownerReferences:
  - apiVersion: argoproj.io/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: Rollout
    name: alb-rollout
    uid: 7a753d9c-39fd-43ed-8c62-172d84fcabfc
  resourceVersion: "4233"
  uid: 86119267-f603-498b-8d30-fae7fae16561
spec:
  analysisRunMetadata: {}
  duration: 15s
  templates:
  - name: experiment-alb-canary
    selector:
      matchLabels:
        app: alb-rollout
        rollouts-pod-template-hash: 9bb77f954
    service: {}
    template:
      metadata:
        annotations:
          update: "2025-02-21T18:51:01.673760838Z"
        creationTimestamp: null
        labels:
          app: alb-rollout
          rollouts-pod-template-hash: 9bb77f954
      spec:
        containers:
        - image: nginx:1.19-alpine
          imagePullPolicy: IfNotPresent
          name: alb-rollout
          ports:
          - containerPort: 80
            name: http
            protocol: TCP
          resources:
            requests:
              cpu: 5m
              memory: 16Mi
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        terminationGracePeriodSeconds: 30
  - name: experiment-alb-stable
    selector:
      matchLabels:
        app: alb-rollout
        rollouts-pod-template-hash: d6f4fdcdc
    service: {}
    template:
      metadata:
        creationTimestamp: null
        labels:
          app: alb-rollout
          rollouts-pod-template-hash: d6f4fdcdc
      spec:
        containers:
        - image: nginx:1.19-alpine
          imagePullPolicy: IfNotPresent
          name: alb-rollout
          ports:
          - containerPort: 80
            name: http
            protocol: TCP
          resources:
            requests:
              cpu: 5m
              memory: 16Mi
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        terminationGracePeriodSeconds: 30
status:
  availableAt: "2025-02-21T18:51:02Z"
  conditions:
  - lastTransitionTime: "2025-02-21T18:51:01Z"
    lastUpdateTime: "2025-02-21T18:51:02Z"
    message: Experiment "alb-rollout-9bb77f954-2-0" is running.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  phase: Running
  templateStatuses:
  - availableReplicas: 1
    lastTransitionTime: "2025-02-21T18:51:02Z"
    name: experiment-alb-canary
    readyReplicas: 1
    replicas: 1
    status: Running
    updatedReplicas: 1
  - availableReplicas: 1
    lastTransitionTime: "2025-02-21T18:51:02Z"
    name: experiment-alb-stable
    readyReplicas: 1
    replicas: 1
    status: Running
    updatedReplicas: 1

2025-02-21T18:51:01Z    Normal    TemplateProgressing    Template 'experiment-alb-canary' transitioned from  -> Progressing
2025-02-21T18:51:01Z    Normal    TemplateProgressing    Template 'experiment-alb-stable' transitioned from  -> Progressing
2025-02-21T18:51:01Z    Normal    ExperimentPending      Experiment transitioned from  -> Pending
2025-02-21T18:51:01Z    Normal    ScalingReplicaSet      Scaled up ReplicaSet alb-rollout-9bb77f954-2-0-experiment-alb-canary from 0 to 1
2025-02-21T18:51:01Z    Normal    ScalingReplicaSet      Scaled up ReplicaSet alb-rollout-9bb77f954-2-0-experiment-alb-stable from 0 to 1
2025-02-21T18:51:02Z    Normal    TemplateRunning        Template 'experiment-alb-canary' transitioned from Progressing -> Running
2025-02-21T18:51:02Z    Normal    TemplateRunning        Template 'experiment-alb-stable' transitioned from Progressing -> Running
2025-02-21T18:51:02Z    Normal    ExperimentRunning      Experiment transitioned from Pending -> Running

time="2025-02-21T18:51:11Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeightMultiIngress"
    --- FAIL: TestAWSSuite/TestALBExperimentStepNoSetWeightMultiIngress (12.09s)

Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

1 out of 6 runs failed: TestAWSSuite (github.com/argoproj/argo-rollouts/test/e2e)

artifacts/E2E Test Results (k8s 1.30)/junit-e2e-test.xml [took 1m 51s]
Raw output
Failed
=== RUN   TestAWSSuite
--- FAIL: TestAWSSuite (111.97s)

Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

1 out of 5 runs failed: TestCanarySuite/TestCanarySetCanaryScale (github.com/argoproj/argo-rollouts/test/e2e)

artifacts/E2E Test Results (k8s 1.28)/junit-e2e-test.xml [took 1m 32s]
Raw output
Failed
=== RUN   TestCanarySuite/TestCanarySetCanaryScale
time="2025-02-21T18:55:53Z" level=info msg="Deleting e2e-test-name=TestCanarySetCanaryScale"
=== PAUSE TestCanarySuite/TestCanarySetCanaryScale
=== CONT  TestCanarySuite/TestCanarySetCanaryScale
time="2025-02-21T18:58:20Z" level=info msg="service/set-canary-scale-canary created\n" rollout=set-canary-scale
time="2025-02-21T18:58:20Z" level=info msg="service/set-canary-scale-stable created\n" rollout=set-canary-scale
time="2025-02-21T18:58:20Z" level=info msg="Warning: annotation \"kubernetes.io/ingress.class\" is deprecated, please use 'spec.ingressClassName' instead\ningress.networking.k8s.io/set-canary-scale-ingress created\n" rollout=set-canary-scale
time="2025-02-21T18:58:20Z" level=info msg="rollout.argoproj.io/set-canary-scale created\n" rollout=set-canary-scale
time="2025-02-21T18:58:20Z" level=info msg="Waiting for condition: status=Healthy" rollout=set-canary-scale
time="2025-02-21T18:58:22Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=set-canary-scale
time="2025-02-21T18:58:22Z" level=info msg="Updated rollout pod spec: 2025-02-21T18:58:22.334675935Z" rollout=set-canary-scale
time="2025-02-21T18:58:22Z" level=info msg="Waiting for condition: status=Paused" rollout=set-canary-scale
    when.go:467: timeout after 1m30s waiting for condition status=Paused
Name:            set-canary-scale
Namespace:       default
Status:          �[94m◌�[0m Progressing
Message:         waiting for rollout spec update to be observed
Strategy:        Canary
  Step:          9/9
  SetWeight:     100
  ActualWeight:  100
Images:          nginx:1.19-alpine (�[32mstable�[0m)
Replicas:
  Desired:       4
  Current:       4
  Updated:       4
  Ready:         4
  Available:     4

NAME                                          KIND        STATUS         AGE  INFO
⟳ set-canary-scale                            Rollout     �[94m◌�[0m Progressing  92s  
└──# revision:1                                                               
   └──⧉ �[32mset-canary-scale-5d7d466b9c�[0m           ReplicaSet  �[32m✔�[0m Healthy      92s  �[32mstable�[0m
      ├──□ set-canary-scale-5d7d466b9c-775vw  Pod         �[32m✔�[0m Running      91s  ready:1/1
      ├──□ set-canary-scale-5d7d466b9c-hmqw4  Pod         �[32m✔�[0m Running      91s  ready:1/1
      ├──□ set-canary-scale-5d7d466b9c-m4lcc  Pod         �[32m✔�[0m Running      91s  ready:1/1
      └──□ set-canary-scale-5d7d466b9c-rhz6n  Pod         �[32m✔�[0m Running      91s  ready:1/1

---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  annotations:
    rollout.argoproj.io/revision: "1"
  creationTimestamp: "2025-02-21T18:58:20Z"
  generation: 2
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestCanarySetCanaryScale
  name: set-canary-scale
  namespace: default
  resourceVersion: "10364"
  uid: 085fbdb7-231d-4eca-b5b0-c344da35cca3
spec:
  replicas: 4
  selector:
    matchLabels:
      app: set-canary-scale
  strategy:
    canary:
      canaryService: set-canary-scale-canary
      stableService: set-canary-scale-stable
      steps:
      - pause: {}
      - setCanaryScale:
          weight: 25
      - pause:
          duration: 100s
      - setWeight: 50
      - pause:
          duration: 10s
      - setCanaryScale:
          replicas: 3
      - pause: {}
      - setCanaryScale:
          matchTrafficWeight: true
      - pause:
          duration: 5s
      trafficRouting:
        nginx:
          stableIngress: set-canary-scale-ingress
  template:
    metadata:
      annotations:
        update: "2025-02-21T18:58:22.334675935Z"
      creationTimestamp: null
      labels:
        app: set-canary-scale
    spec:
      containers:
      - image: nginx:1.19-alpine
        name: set-canary-scale
        ports:
        - containerPort: 80
          name: http
          protocol: TCP
        resources:
          requests:
            cpu: 5m
            memory: 16Mi
status:
  HPAReplicas: 4
  availableReplicas: 4
  blueGreen: {}
  canary:
    weights:
      canary:
        podTemplateHash: 5d7d466b9c
        serviceName: set-canary-scale-canary
        weight: 0
      stable:
        podTemplateHash: 5d7d466b9c
        serviceName: set-canary-scale-stable
        weight: 100
  conditions:
  - lastTransitionTime: "2025-02-21T18:58:21Z"
    lastUpdateTime: "2025-02-21T18:58:21Z"
    message: RolloutCompleted
    reason: RolloutCompleted
    status: "True"
    type: Completed
  - lastTransitionTime: "2025-02-21T18:58:22Z"
    lastUpdateTime: "2025-02-21T18:58:22Z"
    message: Rollout is healthy
    reason: RolloutHealthy
    status: "True"
    type: Healthy
  - lastTransitionTime: "2025-02-21T18:58:20Z"
    lastUpdateTime: "2025-02-21T18:58:22Z"
    message: ReplicaSet "set-canary-scale-5d7d466b9c" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  - lastTransitionTime: "2025-02-21T18:58:22Z"
    lastUpdateTime: "2025-02-21T18:58:22Z"
    message: Rollout has minimum availability
    reason: AvailableReason
    status: "True"
    type: Available
  currentPodHash: 5d7d466b9c
  currentStepHash: 574c54b58c
  currentStepIndex: 9
  observedGeneration: "1"
  phase: Healthy
  readyReplicas: 4
  replicas: 4
  selector: app=set-canary-scale
  stableRS: 5d7d466b9c
  updatedReplicas: 4

2025-02-21T18:58:20Z    Normal    RolloutAddedToInformer    Rollout resource added to informer: default/set-canary-scale
2025-02-21T18:58:20Z    Normal    RolloutUpdated            Rollout updated to revision 1
2025-02-21T18:58:20Z    Normal    NewReplicaSetCreated      Created ReplicaSet set-canary-scale-5d7d466b9c (revision 1)
2025-02-21T18:58:20Z    Normal    RolloutNotCompleted       Rollout not completed, started update to revision 1 (5d7d466b9c)
2025-02-21T18:58:20Z    Normal    CreatingCanaryIngress     Creating canary ingress `set-canary-scale-set-canary-scale-ingress-canary` with weight `0`
2025-02-21T18:58:21Z    Normal    TrafficWeightUpdated      Traffic weight updated to 0
2025-02-21T18:58:21Z    Normal    ScalingReplicaSet         Scaled up ReplicaSet set-canary-scale-5d7d466b9c (revision 1) from 0 to 4
2025-02-21T18:58:21Z    Normal    RolloutCompleted          Rollout completed update to revision 1 (5d7d466b9c): Initial deploy
2025-02-21T18:58:21Z    Normal    TrafficWeightUpdated      Traffic weight updated 
2025-02-21T18:58:22Z    Normal    SwitchService             Switched selector for service 'set-canary-scale-stable' from '' to '5d7d466b9c'
2025-02-21T18:58:22Z    Normal    SwitchService             Switched selector for service 'set-canary-scale-canary' from '' to '5d7d466b9c'

time="2025-02-21T18:59:52Z" level=info msg="Deleting e2e-test-name=TestCanarySetCanaryScale"
    --- FAIL: TestCanarySuite/TestCanarySetCanaryScale (92.37s)

Check warning on line 0 in github.com/argoproj/argo-rollouts/test/e2e

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

1 out of 5 runs failed: TestCanarySuite (github.com/argoproj/argo-rollouts/test/e2e)

artifacts/E2E Test Results (k8s 1.28)/junit-e2e-test.xml [took 5m 28s]
Raw output
Failed
=== RUN   TestCanarySuite
time="2025-02-21T18:52:52Z" level=info msg="analysistemplate.argoproj.io/sleep-job created\n"
--- FAIL: TestCanarySuite (328.21s)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

7 skipped tests found

There are 7 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
github.com/argoproj/argo-rollouts/test/e2e ‑ TestStepPluginSuite

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Published E2E Test Results

114 tests found

There are 114 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/TestALBMesh_PingPong_StableCanary_Update
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/TestCanaryScaleDownDelayWithProgressDeadline
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/TestCanaryWithPausedRollout
github.com/argoproj/argo-rollouts/test/e2e ‑ TestCanarySuite/TestCanaryWithSpecPause
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/TestNeverScaleDown
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/TestScaleDownOnSuccess
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestScaleDownProgressively
github.com/argoproj/argo-rollouts/test/e2e ‑ TestFunctionalSuite/TestSpecAndReplicaChangeSameTime
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/TestIstioPingPongUpdate
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/TestIstioSubsetSplitInStableDownscaleAfterCanaryAbort
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
github.com/argoproj/argo-rollouts/test/e2e ‑ TestStepPluginSuite