Skip to content

Conversation

@pinzon
Copy link
Member

@pinzon pinzon commented Jul 31, 2025

Motivation

This PR merges the new tests created exclusively for the new engine into the existing pre-existing folder. Also provides new test skip utility to use.

Co-Authored by @simonrw.

Changes

  • New confest.py to provide new utilitys.
  • Merging of ported_from_v1 tests with the originals

Testing

  • Green Pipeline

@github-actions
Copy link

github-actions bot commented Jul 31, 2025

Test Results (MA/MR) - Preflight, Unit

21 984 tests  +4   20 250 ✅ +4   6m 19s ⏱️ -1s
     1 suites ±0    1 734 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit d50c3d3. ± Comparison against base commit 4648b23.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 31, 2025

Test Results (amd64, MA/MR) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 12s ⏱️ +4s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit d50c3d3. ± Comparison against base commit 4648b23.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 31, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 7s ⏱️ -13s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit d50c3d3. ± Comparison against base commit 4648b23.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 31, 2025

Test Results (amd64, MA/MR) - Integration, Bootstrap

    5 files  ± 0      5 suites  ±0   2h 20m 59s ⏱️ +17s
4 945 tests +94  4 383 ✅ +13  562 💤 +81  0 ❌ ±0 
4 951 runs  +94  4 383 ✅ +13  568 💤 +81  0 ❌ ±0 

Results for commit d50c3d3. ± Comparison against base commit 4648b23.

This pull request removes 9 and adds 103 tests. Note that renamed tests count towards both.
tests.aws.services.cloudformation.api.test_stacks.TestStacksApi ‑ test_list_stack_resources_for_removed_resource
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2 ‑ test_deploy_instance_with_key_pair
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2 ‑ test_deploy_prefix_list
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2 ‑ test_deploy_security_group_with_tags
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2 ‑ test_deploy_vpc_endpoint
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestBasicCRD ‑ test_autogenerated_values
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestBasicCRD ‑ test_black_box
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestBasicCRD ‑ test_getatt
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestUpdates ‑ test_update_without_replacement
tests.aws.services.cloudformation.api.test_resources ‑ test_describe_non_existent_resource
tests.aws.services.cloudformation.api.test_resources ‑ test_describe_non_existent_stack
tests.aws.services.cloudformation.api.test_resources ‑ test_invalid_logical_resource_id
tests.aws.services.cloudformation.api.test_stacks ‑ test_no_parameters_given
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2_resource_provider ‑ test_deploy_instance_with_key_pair
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2_resource_provider ‑ test_deploy_prefix_list
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2_resource_provider ‑ test_deploy_security_group_with_tags
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2_resource_provider ‑ test_deploy_vpc_endpoint
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic_user.TestBasicCRD ‑ test_autogenerated_values
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic_user.TestBasicCRD ‑ test_black_box
…
This pull request removes 1 skipped test and adds 85 skipped tests. Note that renamed tests count towards both.
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestUpdates ‑ test_update_without_replacement
tests.aws.services.cloudformation.api.test_resources ‑ test_describe_non_existent_stack
tests.aws.services.cloudformation.api.test_resources ‑ test_invalid_logical_resource_id
tests.aws.services.cloudformation.api.test_stacks ‑ test_no_parameters_given
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic_user.TestUpdates ‑ test_update_without_replacement
tests.aws.services.cloudformation.resources.test_stack_sets ‑ test_delete_nonexistent_stack_set
tests.aws.services.cloudformation.resources.test_stack_sets ‑ test_fetch_non_existent_stack_set_instances
tests.aws.services.cloudformation.test_change_set_conditions.TestChangeSetConditions ‑ test_condition_add_new_negative_condition_to_existent_resource
tests.aws.services.cloudformation.test_change_set_conditions.TestChangeSetConditions ‑ test_condition_add_new_positive_condition_to_existent_resource
tests.aws.services.cloudformation.test_change_set_conditions.TestChangeSetConditions ‑ test_condition_update_adds_resource
tests.aws.services.cloudformation.test_change_set_conditions.TestChangeSetConditions ‑ test_condition_update_removes_resource
…

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 31, 2025

Test Results (amd64) - Integration, Bootstrap

    5 files  ± 0      5 suites  ±0   2h 19m 43s ⏱️ -57s
4 945 tests +94  4 383 ✅ +13  562 💤 +81  0 ❌ ±0 
4 951 runs  +94  4 383 ✅ +13  568 💤 +81  0 ❌ ±0 

Results for commit d50c3d3. ± Comparison against base commit 4648b23.

This pull request removes 9 and adds 103 tests. Note that renamed tests count towards both.
tests.aws.services.cloudformation.api.test_stacks.TestStacksApi ‑ test_list_stack_resources_for_removed_resource
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2 ‑ test_deploy_instance_with_key_pair
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2 ‑ test_deploy_prefix_list
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2 ‑ test_deploy_security_group_with_tags
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2 ‑ test_deploy_vpc_endpoint
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestBasicCRD ‑ test_autogenerated_values
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestBasicCRD ‑ test_black_box
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestBasicCRD ‑ test_getatt
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestUpdates ‑ test_update_without_replacement
tests.aws.services.cloudformation.api.test_resources ‑ test_describe_non_existent_resource
tests.aws.services.cloudformation.api.test_resources ‑ test_describe_non_existent_stack
tests.aws.services.cloudformation.api.test_resources ‑ test_invalid_logical_resource_id
tests.aws.services.cloudformation.api.test_stacks ‑ test_no_parameters_given
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2_resource_provider ‑ test_deploy_instance_with_key_pair
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2_resource_provider ‑ test_deploy_prefix_list
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2_resource_provider ‑ test_deploy_security_group_with_tags
tests.aws.services.cloudformation.resource_providers.ec2.test_ec2_resource_provider ‑ test_deploy_vpc_endpoint
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic_user.TestBasicCRD ‑ test_autogenerated_values
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic_user.TestBasicCRD ‑ test_black_box
…
This pull request removes 1 skipped test and adds 85 skipped tests. Note that renamed tests count towards both.
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic.TestUpdates ‑ test_update_without_replacement
tests.aws.services.cloudformation.api.test_resources ‑ test_describe_non_existent_stack
tests.aws.services.cloudformation.api.test_resources ‑ test_invalid_logical_resource_id
tests.aws.services.cloudformation.api.test_stacks ‑ test_no_parameters_given
tests.aws.services.cloudformation.resource_providers.iam.aws_iam_user.test_basic_user.TestUpdates ‑ test_update_without_replacement
tests.aws.services.cloudformation.resources.test_stack_sets ‑ test_delete_nonexistent_stack_set
tests.aws.services.cloudformation.resources.test_stack_sets ‑ test_fetch_non_existent_stack_set_instances
tests.aws.services.cloudformation.test_change_set_conditions.TestChangeSetConditions ‑ test_condition_add_new_negative_condition_to_existent_resource
tests.aws.services.cloudformation.test_change_set_conditions.TestChangeSetConditions ‑ test_condition_add_new_positive_condition_to_existent_resource
tests.aws.services.cloudformation.test_change_set_conditions.TestChangeSetConditions ‑ test_condition_update_adds_resource
tests.aws.services.cloudformation.test_change_set_conditions.TestChangeSetConditions ‑ test_condition_update_removes_resource
…

♻️ This comment has been updated with latest results.

@simonrw simonrw marked this pull request as ready for review August 1, 2025 11:14

- name: Run CloudFormation Engine v2 Tests
timeout-minutes: 30
timeout-minutes: 60
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumping this up because I have noticed the v2 test suite alone takes nearly 30 minutes already.

@simonrw simonrw merged commit f5d850d into main Aug 1, 2025
61 checks passed
@simonrw simonrw deleted the cfn/v2/merge-tests branch August 1, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants