Skip to content

fix: CR-22222 analysis fix #183

fix: CR-22222 analysis fix

fix: CR-22222 analysis fix #183

GitHub Actions / E2E Tests Published Test Results succeeded Jan 18, 2024 in 0s

5 fail, 6 skipped, 92 pass in 3h 26m 39s

  4 files    4 suites   3h 26m 39s ⏱️
103 tests  92 ✅  6 💤  5 ❌
428 runs  389 ✅ 24 💤 15 ❌

Results for commit ef75a53.

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 / E2E Tests Published Test Results

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

artifacts/E2E Test Results (k8s 1.24)/junit.xml [took 13s]
artifacts/E2E Test Results (k8s 1.26)/junit.xml [took 11s]
Raw output
Failed
=== RUN   TestAWSSuite/TestALBExperimentStepNoSetWeight
time="2024-01-18T10:03:04Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeight"
W0118 10:03:04.753504   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0118 10:03:04.756692   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
time="2024-01-18T10:03:05Z" level=info msg="service/alb-rollout-root created\n" rollout=alb-rollout
time="2024-01-18T10:03:05Z" level=info msg="service/alb-rollout-canary created\n" rollout=alb-rollout
time="2024-01-18T10:03:05Z" level=info msg="service/alb-rollout-stable created\n" rollout=alb-rollout
time="2024-01-18T10:03:05Z" level=info msg="ingress.networking.k8s.io/alb-rollout-ingress created\n" rollout=alb-rollout
time="2024-01-18T10:03:05Z" level=info msg="rollout.argoproj.io/alb-rollout created\n" rollout=alb-rollout
time="2024-01-18T10:03:05Z" level=info msg="Waiting for condition: status=Healthy" rollout=alb-rollout
time="2024-01-18T10:03:07Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=alb-rollout
time="2024-01-18T10:03:07Z" level=info msg="Experiment expectation 'experiment count == 0' met" rollout=alb-rollout
time="2024-01-18T10:03:07Z" level=info msg="Updated rollout pod spec: 2024-01-18T10:03:07.435114503Z" rollout=alb-rollout
time="2024-01-18T10:03:07Z" 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-56b45c8cf�[0m                                        ReplicaSet  �[0m•�[0m ScaledDown   10s  �[33mcanary�[0m
│  └──Σ �[94malb-rollout-56b45c8cf-2-0�[0m                                    Experiment  �[94m◌�[0m Running      10s  
│     ├──⧉ alb-rollout-56b45c8cf-2-0-experiment-alb-canary           ReplicaSet  �[32m✔�[0m Healthy      10s  
│     │  └──□ alb-rollout-56b45c8cf-2-0-experiment-alb-canary-9nks2  Pod         �[32m✔�[0m Running      10s  ready:1/1
│     └──⧉ alb-rollout-56b45c8cf-2-0-experiment-alb-stable           ReplicaSet  �[32m✔�[0m Healthy      10s  
│        └──□ alb-rollout-56b45c8cf-2-0-experiment-alb-stable-ghmtz  Pod         �[32m✔�[0m Running      10s  ready:1/1
└──# revision:1                                                                                      
   └──⧉ �[32malb-rollout-d6f4fdcdc�[0m                                        ReplicaSet  �[32m✔�[0m Healthy      12s  �[32mstable�[0m
      └──□ alb-rollout-d6f4fdcdc-r4h8h                               Pod         �[32m✔�[0m Running      12s  ready:1/1

---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  annotations:
    rollout.argoproj.io/revision: "2"
  creationTimestamp: "2024-01-18T10:03:05Z"
  generation: 3
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestALBExperimentStepNoSetWeight
  name: alb-rollout
  namespace: default
  resourceVersion: "3941"
  uid: 3b8723ff-50c6-41bc-93f2-1516b2e7faed
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: "2024-01-18T10:03:07.435114503Z"
      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-56b45c8cf-2-0
    weights:
      additional:
      - weight: 20
      - weight: 20
      canary:
        podTemplateHash: 56b45c8cf
        serviceName: alb-rollout-canary
        weight: 0
      stable:
        podTemplateHash: d6f4fdcdc
        serviceName: alb-rollout-stable
        weight: 60
  conditions:
  - lastTransitionTime: "2024-01-18T10:03:07Z"
    lastUpdateTime: "2024-01-18T10:03:07Z"
    message: Rollout has minimum availability
    reason: AvailableReason
    status: "True"
    type: Available
  - lastTransitionTime: "2024-01-18T10:03:07Z"
    lastUpdateTime: "2024-01-18T10:03:07Z"
    message: Rollout is not healthy
    reason: RolloutHealthy
    status: "False"
    type: Healthy
  - lastTransitionTime: "2024-01-18T10:03:07Z"
    lastUpdateTime: "2024-01-18T10:03:07Z"
    message: RolloutCompleted
    reason: RolloutCompleted
    status: "False"
    type: Completed
  - lastTransitionTime: "2024-01-18T10:03:05Z"
    lastUpdateTime: "2024-01-18T10:03:07Z"
    message: Created new replica set "alb-rollout-56b45c8cf"
    reason: NewReplicaSetCreated
    status: "True"
    type: Progressing
  currentPodHash: 56b45c8cf
  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

2024-01-18T10:03:05Z         Normal    RolloutAddedToInformer    Rollout resource added to informer: default/alb-rollout
2024-01-18T10:03:05Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 1 (d6f4fdcdc)
2024-01-18T10:03:05Z         Normal    RolloutUpdated            Rollout updated to revision 1
2024-01-18T10:03:05Z         Normal    NewReplicaSetCreated      Created ReplicaSet alb-rollout-d6f4fdcdc (revision 1)
2024-01-18T10:03:05Z (x2)    Normal    TrafficWeightUpdated      Traffic weight updated to 0
2024-01-18T10:03:05Z         Normal    ScalingReplicaSet         Scaled up ReplicaSet alb-rollout-d6f4fdcdc (revision 1) from 0 to 1
2024-01-18T10:03:05Z         Normal    RolloutCompleted          Rollout completed update to revision 1 (d6f4fdcdc): Initial deploy
2024-01-18T10:03:07Z         Normal    SwitchService             Switched selector for service 'alb-rollout-stable' from '' to 'd6f4fdcdc'
2024-01-18T10:03:07Z         Normal    SwitchService             Switched selector for service 'alb-rollout-canary' from '' to 'd6f4fdcdc'
2024-01-18T10:03:07Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 2 (56b45c8cf)
2024-01-18T10:03:07Z         Normal    RolloutUpdated            Rollout updated to revision 2
2024-01-18T10:03:07Z         Normal    NewReplicaSetCreated      Created ReplicaSet alb-rollout-56b45c8cf (revision 2)
2024-01-18T10:03:07Z (x2)    Normal    TrafficWeightUpdated      Traffic weight updated 
2024-01-18T10:03:07Z         Normal    ExperimentCreated         Created Experiment 'alb-rollout-56b45c8cf-2-0'
2024-01-18T10:03:09Z (x2)    Normal    PatchingALBIngress        Updating Ingress `alb-rollout-ingress` to desiredWeight '0'
2024-01-18T10:03:09Z         Normal    TrafficWeightUpdated      Traffic weight updated additional: [{20  } {20  }]

time="2024-01-18T10:03:17Z" level=info msg="Deleting e2e-test-name=TestALBExperimentStepNoSetWeight"
W0118 10:03:17.871262   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0118 10:03:17.874937   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
    --- FAIL: TestAWSSuite/TestALBExperimentStepNoSetWeight (13.20s)

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

See this annotation in the file changed.

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

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

artifacts/E2E Test Results (k8s 1.24)/junit.xml [took 1m 57s]
artifacts/E2E Test Results (k8s 1.26)/junit.xml [took 12s]
Raw output
Failed
=== RUN   TestAWSSuite
--- FAIL: TestAWSSuite (117.77s)

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

See this annotation in the file changed.

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

4 out of 8 runs failed: TestCanarySuite/TestCanaryDynamicStableScale (github.com/argoproj/argo-rollouts/test/e2e)

artifacts/E2E Test Results (k8s 1.23)/junit.xml [took 19s]
artifacts/E2E Test Results (k8s 1.24)/junit.xml [took 20s]
artifacts/E2E Test Results (k8s 1.26)/junit.xml [took 21s]
Raw output
Failed
=== RUN   TestCanarySuite/TestCanaryDynamicStableScale
time="2024-01-18T10:06:48Z" level=info msg="Deleting e2e-test-name=TestCanaryDynamicStableScale"
W0118 10:06:48.482197   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0118 10:06:48.485017   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
time="2024-01-18T10:06:48Z" level=info msg="service/dynamic-stable-scale-root created\n" rollout=dynamic-stable-scale
time="2024-01-18T10:06:48Z" level=info msg="service/dynamic-stable-scale-canary created\n" rollout=dynamic-stable-scale
time="2024-01-18T10:06:49Z" level=info msg="service/dynamic-stable-scale-stable created\n" rollout=dynamic-stable-scale
time="2024-01-18T10:06:49Z" level=info msg="ingress.networking.k8s.io/dynamic-stable-scale-ingress created\n" rollout=dynamic-stable-scale
time="2024-01-18T10:06:49Z" level=info msg="rollout.argoproj.io/dynamic-stable-scale created\n" rollout=dynamic-stable-scale
time="2024-01-18T10:06:50Z" level=info msg="Marked 4 revision 1 pods as ready" rollout=dynamic-stable-scale
time="2024-01-18T10:06:50Z" level=info msg="Waiting for condition: status=Healthy" rollout=dynamic-stable-scale
time="2024-01-18T10:06:53Z" level=info msg="Condition 'status=Healthy' met after 3s" rollout=dynamic-stable-scale
time="2024-01-18T10:06:53Z" level=info msg="Updated rollout pod spec: 2024-01-18T10:06:53.972994008Z" rollout=dynamic-stable-scale
time="2024-01-18T10:06:55Z" level=info msg="Marked 1 revision 2 pods as ready" rollout=dynamic-stable-scale
time="2024-01-18T10:06:55Z" level=info msg="Waiting for condition: status=Paused" rollout=dynamic-stable-scale
time="2024-01-18T10:06:57Z" level=info msg="Condition 'status=Paused' met after 2s" rollout=dynamic-stable-scale
time="2024-01-18T10:06:57Z" level=info msg="Sleeping 2s" rollout=dynamic-stable-scale
time="2024-01-18T10:06:59Z" level=info msg="Pod expectation 'revision:1 pod count == 3' met" rollout=dynamic-stable-scale
time="2024-01-18T10:06:59Z" level=info msg="Pod expectation 'revision:2 pod count == 1' met" rollout=dynamic-stable-scale
time="2024-01-18T10:06:59Z" level=info msg="Promoted rollout" rollout=dynamic-stable-scale
time="2024-01-18T10:07:00Z" level=info msg="Marked 2 revision 2 pods as ready" rollout=dynamic-stable-scale
time="2024-01-18T10:07:00Z" level=info msg="Waiting for condition: status.currentStepIndex=3" rollout=dynamic-stable-scale
time="2024-01-18T10:07:02Z" level=info msg="Condition 'status.currentStepIndex=3' met after 1s" rollout=dynamic-stable-scale
time="2024-01-18T10:07:02Z" level=info msg="Sleeping 2s" rollout=dynamic-stable-scale
time="2024-01-18T10:07:04Z" level=info msg="Pod expectation 'revision:1 pod count == 1' met" rollout=dynamic-stable-scale
time="2024-01-18T10:07:04Z" level=info msg="Pod expectation 'revision:2 pod count == 3' met" rollout=dynamic-stable-scale
time="2024-01-18T10:07:04Z" level=info msg="Aborted rollout" rollout=dynamic-stable-scale
time="2024-01-18T10:07:05Z" level=info msg="Marked 2 revision 1 pods as ready" rollout=dynamic-stable-scale
time="2024-01-18T10:07:05Z" level=info msg="Waiting for condition: rev=2 podcount=1" rollout=dynamic-stable-scale
time="2024-01-18T10:07:07Z" level=info msg="Condition 'rev=2 podcount=1' met after 2s" rollout=dynamic-stable-scale
time="2024-01-18T10:07:07Z" level=info msg="Pod expectation 'revision:1 pod count == 4' met" rollout=dynamic-stable-scale
time="2024-01-18T10:07:08Z" level=info msg="Marked 1 revision 1 pods as ready" rollout=dynamic-stable-scale
time="2024-01-18T10:07:08Z" level=info msg="Waiting for condition: rev=2 podcount=0" rollout=dynamic-stable-scale
time="2024-01-18T10:07:09Z" 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:797867bdc6]
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     20s  
├──# revision:2                                                                   
│  └──⧉ �[33mdynamic-stable-scale-797867bdc6�[0m           ReplicaSet  �[0m•�[0m ScaledDown   15s  �[33mcanary�[0m
│     └──□ dynamic-stable-scale-797867bdc6-r76ft  Pod         �[94m◌�[0m Terminating  15s  ready:1/1
└──# revision:1                                                                   
   └──⧉ �[32mdynamic-stable-scale-868d98995b�[0m           ReplicaSet  �[32m✔�[0m Healthy      20s  �[32mstable�[0m
      ├──□ dynamic-stable-scale-868d98995b-sdb2k  Pod         �[32m✔�[0m Running      20s  ready:1/1
      ├──□ dynamic-stable-scale-868d98995b-5dqkl  Pod         �[32m✔�[0m Running      5s   ready:1/1
      ├──□ dynamic-stable-scale-868d98995b-5s48n  Pod         �[32m✔�[0m Running      5s   ready:1/1
      └──□ dynamic-stable-scale-868d98995b-9g7k6  Pod         �[32m✔�[0m Running      5s   ready:1/1

---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  annotations:
    rollout.argoproj.io/revision: "2"
  creationTimestamp: "2024-01-18T10:06:49Z"
  generation: 2
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestCanaryDynamicStableScale
  name: dynamic-stable-scale
  namespace: default
  resourceVersion: "6350"
  uid: c00b1737-8b67-4098-9789-313a0cad7a55
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: "2024-01-18T10:06:53.972994008Z"
      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: "2024-01-18T10:07:04Z"
  availableReplicas: 5
  blueGreen: {}
  canary:
    weights:
      canary:
        podTemplateHash: 797867bdc6
        serviceName: dynamic-stable-scale-canary
        weight: 0
      stable:
        podTemplateHash: 868d98995b
        serviceName: dynamic-stable-scale-stable
        weight: 100
  conditions:
  - lastTransitionTime: "2024-01-18T10:06:53Z"
    lastUpdateTime: "2024-01-18T10:06:53Z"
    message: Rollout has minimum availability
    reason: AvailableReason
    status: "True"
    type: Available
  - lastTransitionTime: "2024-01-18T10:06:53Z"
    lastUpdateTime: "2024-01-18T10:06:53Z"
    message: Rollout is not healthy
    reason: RolloutHealthy
    status: "False"
    type: Healthy
  - lastTransitionTime: "2024-01-18T10:06:53Z"
    lastUpdateTime: "2024-01-18T10:06:53Z"
    message: RolloutCompleted
    reason: RolloutCompleted
    status: "False"
    type: Completed
  - lastTransitionTime: "2024-01-18T10:07:02Z"
    lastUpdateTime: "2024-01-18T10:07:02Z"
    message: Rollout is paused
    reason: RolloutPaused
    status: "True"
    type: Paused
  - lastTransitionTime: "2024-01-18T10:07:04Z"
    lastUpdateTime: "2024-01-18T10:07:04Z"
    message: Rollout aborted update to revision 2
    reason: RolloutAborted
    status: "False"
    type: Progressing
  currentPodHash: 797867bdc6
  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

2024-01-18T10:06:49Z         Normal    RolloutAddedToInformer    Rollout resource added to informer: default/dynamic-stable-scale
2024-01-18T10:06:49Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 1 (868d98995b)
2024-01-18T10:06:49Z         Normal    RolloutUpdated            Rollout updated to revision 1
2024-01-18T10:06:49Z         Normal    NewReplicaSetCreated      Created ReplicaSet dynamic-stable-scale-868d98995b (revision 1)
2024-01-18T10:06:49Z         Normal    PatchingALBIngress        Updating Ingress `dynamic-stable-scale-ingress` to desiredWeight '0'
2024-01-18T10:06:49Z (x2)    Normal    TrafficWeightUpdated      Traffic weight updated to 0
2024-01-18T10:06:49Z         Normal    ScalingReplicaSet         Scaled up ReplicaSet dynamic-stable-scale-868d98995b (revision 1) from 0 to 4
2024-01-18T10:06:49Z         Normal    RolloutCompleted          Rollout completed update to revision 1 (868d98995b): Initial deploy
2024-01-18T10:06:53Z         Normal    SwitchService             Switched selector for service 'dynamic-stable-scale-stable' from '' to '868d98995b'
2024-01-18T10:06:53Z         Normal    SwitchService             Switched selector for service 'dynamic-stable-scale-canary' from '' to '868d98995b'
2024-01-18T10:06:53Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 2 (797867bdc6)
2024-01-18T10:06:54Z         Normal    RolloutUpdated            Rollout updated to revision 2
2024-01-18T10:06:54Z         Normal    NewReplicaSetCreated      Created ReplicaSet dynamic-stable-scale-797867bdc6 (revision 2)
2024-01-18T10:06:54Z (x3)    Normal    TrafficWeightUpdated      Traffic weight updated 
2024-01-18T10:06:54Z         Normal    ScalingReplicaSet         Scaled up ReplicaSet dynamic-stable-scale-797867bdc6 (revision 2) from 0 to 1
2024-01-18T10:06:56Z         Normal    SwitchService             Switched selector for service 'dynamic-stable-scale-canary' from '868d98995b' to '797867bdc6'
2024-01-18T10:06:56Z         Normal    PatchingALBIngress        Updating Ingress `dynamic-stable-scale-ingress` to desiredWeight '25'
2024-01-18T10:06:56Z         Normal    TrafficWeightUpdated      Traffic weight updated from 0 to 25
2024-01-18T10:06:56Z         Normal    RolloutStepCompleted      Rollout step 1/4 completed (setWeight: 25)
2024-01-18T10:06:57Z         Normal    ScalingReplicaSet         Scaled down ReplicaSet dynamic-stable-scale-868d98995b (revision 1) from 4 to 3
2024-01-18T10:06:57Z         Normal    RolloutPaused             Rollout is paused (CanaryPauseStep)
2024-01-18T10:06:59Z         Normal    RolloutStepCompleted      Rollout step 2/4 completed (pause)

time="2024-01-18T10:07:09Z" level=info msg="Deleting e2e-test-name=TestCanaryDynamicStableScale"
W0118 10:07:09.398471   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0118 10:07:09.402523   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
    --- FAIL: TestCanarySuite/TestCanaryDynamicStableScale (20.99s)

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

See this annotation in the file changed.

@github-actions 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.24)/junit.xml [took 10s]
Raw output
Failed
=== RUN   TestCanarySuite/TestCanaryScaleDownDelay
time="2024-01-18T10:09:25Z" level=info msg="Deleting e2e-test-name=TestCanaryScaleDownDelay"
W0118 10:09:25.421972   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0118 10:09:25.425754   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
time="2024-01-18T10:09:25Z" level=info msg="service/canary-scaledowndelay-root created\n" rollout=canary-scaledowndelay
time="2024-01-18T10:09:25Z" level=info msg="service/canary-scaledowndelay-canary created\n" rollout=canary-scaledowndelay
time="2024-01-18T10:09:26Z" level=info msg="service/canary-scaledowndelay-stable created\n" rollout=canary-scaledowndelay
time="2024-01-18T10:09:26Z" level=info msg="ingress.networking.k8s.io/canary-scaledowndelay-ingress created\n" rollout=canary-scaledowndelay
time="2024-01-18T10:09:26Z" level=info msg="rollout.argoproj.io/canary-scaledowndelay created\n" rollout=canary-scaledowndelay
time="2024-01-18T10:09:26Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledowndelay
time="2024-01-18T10:09:28Z" level=info msg="Condition 'status=Healthy' met after 2s" rollout=canary-scaledowndelay
time="2024-01-18T10:09:28Z" level=info msg="Updated rollout spec: {\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"rev\":\"two\"}}}}}" rollout=canary-scaledowndelay
time="2024-01-18T10:09:28Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledowndelay
time="2024-01-18T10:09:30Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=canary-scaledowndelay
time="2024-01-18T10:09:30Z" level=info msg="Sleeping 2s" rollout=canary-scaledowndelay
time="2024-01-18T10:09:32Z" level=info msg="Updated rollout spec: {\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"rev\":\"three\"}}}}}" rollout=canary-scaledowndelay
time="2024-01-18T10:09:32Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledowndelay
time="2024-01-18T10:09:33Z" level=info msg="Condition 'status=Healthy' met after 1s" rollout=canary-scaledowndelay
time="2024-01-18T10:09:34Z" level=info msg="Updated rollout spec: {\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"rev\":\"two\"}}}}}" rollout=canary-scaledowndelay
time="2024-01-18T10:09:34Z" level=info msg="Waiting for condition: status=Healthy" rollout=canary-scaledowndelay
time="2024-01-18T10:09:34Z" 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-m4x2h  Pod         �[32m✔�[0m Running     7s   ready:1/1
├──# revision:3                                                                   
│  └──⧉ canary-scaledowndelay-9586cf7d4            ReplicaSet  �[32m✔�[0m Healthy     3s   
│     └──□ canary-scaledowndelay-9586cf7d4-8q926   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: "2024-01-18T10:09:26Z"
  generation: 5
  labels:
    argo-rollouts.argoproj.io/controller-instance-id: argo-rollouts-e2e
    e2e-test-name: TestCanaryScaleDownDelay
  name: canary-scaledowndelay
  namespace: default
  resourceVersion: "7160"
  uid: 7f2aaab2-9926-4a2b-9511-34454cf81367
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: "2024-01-18T10:09:28Z"
    lastUpdateTime: "2024-01-18T10:09:28Z"
    message: Rollout has minimum availability
    reason: AvailableReason
    status: "True"
    type: Available
  - lastTransitionTime: "2024-01-18T10:09:28Z"
    lastUpdateTime: "2024-01-18T10:09:28Z"
    message: Rollout is not healthy
    reason: RolloutHealthy
    status: "False"
    type: Healthy
  - lastTransitionTime: "2024-01-18T10:09:26Z"
    lastUpdateTime: "2024-01-18T10:09:34Z"
    message: ReplicaSet "canary-scaledowndelay-7c74c66d54" is progressing.
    reason: ReplicaSetUpdated
    status: "True"
    type: Progressing
  - lastTransitionTime: "2024-01-18T10:09:34Z"
    lastUpdateTime: "2024-01-18T10:09:34Z"
    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

2024-01-18T10:09:26Z         Normal    RolloutAddedToInformer    Rollout resource added to informer: default/canary-scaledowndelay
2024-01-18T10:09:26Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 1 (66597877b7)
2024-01-18T10:09:26Z         Normal    RolloutUpdated            Rollout updated to revision 1
2024-01-18T10:09:26Z         Normal    NewReplicaSetCreated      Created ReplicaSet canary-scaledowndelay-66597877b7 (revision 1)
2024-01-18T10:09:26Z         Normal    PatchingALBIngress        Updating Ingress `canary-scaledowndelay-ingress` to desiredWeight '0'
2024-01-18T10:09:26Z (x2)    Normal    TrafficWeightUpdated      Traffic weight updated to 0
2024-01-18T10:09:26Z         Normal    ScalingReplicaSet         Scaled up ReplicaSet canary-scaledowndelay-66597877b7 (revision 1) from 0 to 1
2024-01-18T10:09:26Z         Normal    RolloutCompleted          Rollout completed update to revision 1 (66597877b7): Initial deploy
2024-01-18T10:09:28Z         Normal    SwitchService             Switched selector for service 'canary-scaledowndelay-stable' from '' to '66597877b7'
2024-01-18T10:09:28Z         Normal    SwitchService             Switched selector for service 'canary-scaledowndelay-canary' from '' to '66597877b7'
2024-01-18T10:09:28Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 2 (7c74c66d54)
2024-01-18T10:09:28Z         Normal    RolloutUpdated            Rollout updated to revision 2
2024-01-18T10:09:28Z         Normal    NewReplicaSetCreated      Created ReplicaSet canary-scaledowndelay-7c74c66d54 (revision 2)
2024-01-18T10:09:28Z         Normal    ScalingReplicaSet         Scaled up ReplicaSet canary-scaledowndelay-7c74c66d54 (revision 2) from 0 to 1
2024-01-18T10:09:30Z         Normal    SwitchService             Switched selector for service 'canary-scaledowndelay-canary' from '66597877b7' to '7c74c66d54'
2024-01-18T10:09:30Z         Normal    RolloutCompleted          Rollout completed update to revision 2 (7c74c66d54): Completed all 0 canary steps
2024-01-18T10:09:30Z         Normal    SwitchService             Switched selector for service 'canary-scaledowndelay-stable' from '66597877b7' to '7c74c66d54'
2024-01-18T10:09:30Z (x4)    Normal    TrafficWeightUpdated      Traffic weight updated 
2024-01-18T10:09:32Z         Normal    RolloutNotCompleted       Rollout not completed, started update to revision 3 (9586cf7d4)
2024-01-18T10:09:32Z         Normal    RolloutUpdated            Rollout updated to revision 3
2024-01-18T10:09:32Z         Normal    NewReplicaSetCreated      Created ReplicaSet canary-scaledowndelay-9586cf7d4 (revision 3)

time="2024-01-18T10:09:35Z" level=info msg="Deleting e2e-test-name=TestCanaryScaleDownDelay"
W0118 10:09:35.800572   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0118 10:09:35.803123   21522 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
    --- FAIL: TestCanarySuite/TestCanaryScaleDownDelay (10.45s)

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

See this annotation in the file changed.

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

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

artifacts/E2E Test Results (k8s 1.23)/junit.xml [took 4m 16s]
artifacts/E2E Test Results (k8s 1.24)/junit.xml [took 20s]
artifacts/E2E Test Results (k8s 1.26)/junit.xml [took 4m 16s]
Raw output
Failed
=== RUN   TestCanarySuite
time="2024-01-18T10:06:48Z" level=info msg="analysistemplate.argoproj.io/sleep-job created\n"
--- FAIL: TestCanarySuite (257.42s)