Skip to content

fix: remove dotnet6/7 container build integration tests#9109

Open
roger-zhangg wants to merge 1 commit into
developfrom
fix/remove-dotnet6-7-integration-tests
Open

fix: remove dotnet6/7 container build integration tests#9109
roger-zhangg wants to merge 1 commit into
developfrom
fix/remove-dotnet6-7-integration-tests

Conversation

@roger-zhangg

@roger-zhangg roger-zhangg commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

  • Amazon.Lambda.Tools 7.0.0 dropped support for net6.0 and net7.0 (only supports net8.0+)
  • Container builds fetch latest tools, causing all container-based dotnet6/dotnet7 builds to fail with error NU1202
  • Remove all dotnet6 and dotnet7 test cases from test_build_cmd_dotnet.py
  • Replace dotnet6 references in dedup/cache/parallel build tests with dotnet10 in test_build_cmd.py

Coverage mapping — all removed tests have dotnet10 equivalents

Removed Existing equivalent
test_dotnet_6 (dotnet6 x {None,MountMode.WRITE} x {None,debug}) test_dotnet_al2023 already covers dotnet10 with same matrix
test_dotnet_6_in_container (dotnet6 interactive x {None,debug}) test_dotnet_al2023_in_container covers dotnet10 interactive
test_dotnet_al2 Dotnet7 cases (provided.al2 non-container + container) test_dotnet_al2 retains Dotnet (net8.0 native AOT on provided.al2)
test_dotnet_al2_in_container (Dotnet7 interactive container) test_dotnet_al2023_in_container covers dotnet10 container
test_must_fail... dotnet6 entry Replaced with dotnet10
Dedup/cache/parallel tests referencing Dotnet6 Replaced with Dotnet10/dotnet10

Test plan

  • Verify dotnet8 and dotnet10 test cases remain intact and cover all removed scenarios
  • CI passes without dotnet6/7 container test failures

@roger-zhangg roger-zhangg requested a review from a team as a code owner July 2, 2026 02:37
Amazon.Lambda.Tools 7.0.0 dropped support for net6.0 and net7.0
(only supports net8.0+). Container builds pull the latest tools,
so all container-based dotnet6/dotnet7 builds now fail with NU1202.

Remove dotnet6 test cases and dotnet7 test cases entirely.
Replace dotnet6 references in dedup/cache tests with dotnet10.
All removed tests have dotnet10 equivalents already in place.
@roger-zhangg roger-zhangg force-pushed the fix/remove-dotnet6-7-integration-tests branch from 4884c1a to 60d00f2 Compare July 2, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant