Skip to content

Instantly share code, notes, and snippets.

@chinery
Created December 12, 2024 10:39
Show Gist options
  • Save chinery/b6caf218b0924e97cb36a49a970fbea1 to your computer and use it in GitHub Desktop.
Save chinery/b6caf218b0924e97cb36a49a970fbea1 to your computer and use it in GitHub Desktop.
Eager tests results

Output from eager tests 1 and 2 from kedacore/keda#6416 (comment)

=== RUN   TestScalingStrategy
    helper.go:247: deleting namespace eager-scaling-strategy-test-rmq
    helper.go:301: waiting for namespace eager-scaling-strategy-test-rmq deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-rmq deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-rmq deletion
    helper.go:234: Creating namespace - eager-scaling-strategy-test-rmq
    helper.go:541: Applying template: rmqDeploymentTemplate
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 0, Target - 1
    helper.go:437: Waiting for deployment replicas to hit target. Deployment - rabbitmq, Current  - 1, Target - 1
    helper.go:541: Applying template: rmqPublishTemplate
    helper.go:291: all jobs ran successfully!
    helper.go:247: deleting namespace eager-scaling-strategy-test-ns
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:234: Creating namespace - eager-scaling-strategy-test-ns
    helper.go:541: Applying template: scaledJobTemplate


testEagerScaling1
    helper.go:541: Applying template: rmqPublishTemplate
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 0, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 4, Target - 4
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 4, Target - 8
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 4, Target - 8
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 4, Target - 8
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 4, Target - 8
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 4, Target - 8
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 8, Target - 8
    eager_scaling_strategy_test.go:135: 
                Error Trace:    /workspaces/keda/tests/internals/scaling_strategies/eager_scaling_strategy_test.go:135
                                                        /workspaces/keda/tests/internals/scaling_strategies/eager_scaling_strategy_test.go:108
                Error:          Should be false
                Test:           TestScalingStrategy
                Messages:       job count should still be 4 after 20 iterations
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 8, Target - 10
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 8, Target - 10
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 8, Target - 10
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 8, Target - 10
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 8, Target - 10
    helper.go:326: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    eager_scaling_strategy_test.go:138: 
                Error Trace:    /workspaces/keda/tests/internals/scaling_strategies/eager_scaling_strategy_test.go:138
                                                        /workspaces/keda/tests/internals/scaling_strategies/eager_scaling_strategy_test.go:108
                Error:          Should be false
                Test:           TestScalingStrategy
                Messages:       job count should still be 4 after 10 iterations%!(EXTRA int=20)
    helper.go:610: Deleting template: scaledJobTemplate
    helper.go:247: deleting namespace eager-scaling-strategy-test-ns
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:247: deleting namespace eager-scaling-strategy-test-ns
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:234: Creating namespace - eager-scaling-strategy-test-ns
    helper.go:541: Applying template: scaledJobTemplate


testEagerScaling2
    helper.go:541: Applying template: rmqPublishTemplate
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 5, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 5, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 5, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 5, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 5, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 9, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 9, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 9, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 9, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 9, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 4
    eager_scaling_strategy_test.go:146: 
                Error Trace:    /workspaces/keda/tests/internals/scaling_strategies/eager_scaling_strategy_test.go:146
                                                        /workspaces/keda/tests/internals/scaling_strategies/eager_scaling_strategy_test.go:112
                Error:          Should be true
                Test:           TestScalingStrategy
                Messages:       job count should be 4 after 20 iterations
    helper.go:541: Applying template: rmqPublishTemplate
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 8
    eager_scaling_strategy_test.go:150: 
                Error Trace:    /workspaces/keda/tests/internals/scaling_strategies/eager_scaling_strategy_test.go:150
                                                        /workspaces/keda/tests/internals/scaling_strategies/eager_scaling_strategy_test.go:112
                Error:          Should be true
                Test:           TestScalingStrategy
                Messages:       job count should be 8 after 20 iterations
    helper.go:541: Applying template: rmqPublishTemplate
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:346: Waiting for job count to hit target. Namespace - eager-scaling-strategy-test-ns, Current  - 10, Target - 10
    helper.go:610: Deleting template: scaledJobTemplate
    helper.go:247: deleting namespace eager-scaling-strategy-test-ns
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-ns deletion
    helper.go:610: Deleting template: rmqDeploymentTemplate
    helper.go:247: deleting namespace eager-scaling-strategy-test-rmq
--- FAIL: TestScalingStrategy (177.49s)
FAIL
FAIL   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment