test: add LMI cloud lifecycle and concurrency regressions - #728
zhongkechen wants to merge 9 commits into
Conversation
Per-test analysis of LMI run 35794439406Scope: workflow run, attempt 2, PR head Evidence reviewed: job results and the Overall: 13 tests — 3 PASS, 6 assertion FAILURES, 4 collection ERRORS. Build, deployment/readback, final evidence collection, resource deletion, and artifact publication succeeded. The workflow failed in the cloud assertions step. What the configurations mean
Links to the corresponding problems in #726
The links below distinguish direct reproduction, downstream effects of earlier failures, and the contract a test intended to check but did not reach. A collection error is not automatically another SDK defect. Passing cases
Non-passing casesSeverity rates potential customer impact in the affected workload; it is not a production-incident classification or a measured customer incidence rate. The tests establish failure mechanisms, not how many customers use the triggering patterns. A High rating for a related SDK issue does not turn a collection error or coverage gap into another confirmed product defect.
|
This adds a dedicated LMI cloud suite for the invocation lifecycle and executor problems reported in #726. It deploys the SDK commit under test on Java 25 / arm64 with LMI concurrency 1, 2 and 8 using
CAPACITY_PROVIDER_ARN; no production SDK behavior is changed. The regression assertions intentionally fail until the corresponding fixes land.Issue Link, if available
Closes #727. Regression coverage for #726; this PR does not fix or close #726.
Description
java-lmi-e2estack, five fixed-name functions, log groups, and private staging/control bucket. Functions declare nativeFunctionScalingConfigwith minimum/maximum one environment, use 2 GiB / 1 vCPU, and invoke the mutable published$LATEST.PUBLISHEDversion supported by LMI. Use content-addressed SDK jars, wait for prior durable executions before updating, and verify the deployed artifact and runtime run/commit identity.main, including every merged change, without path filters. Manual dispatch and same-repository PR opt-in withrun-lmi-e2eremain available. There are no scheduled jobs. Local Maven builds keep cloud tests and the red regressions opt-in.The design, prerequisites, budgets, commands and infrastructure ownership are documented in
lmi-tests/README.md.Demo/Screenshots
Not applicable. Cloud diagnostics and JUnit results are uploaded as workflow artifacts.
Checklist
Testing
Unit Tests
mvn -B -q -pl lmi-tests -am package.mvn -pl sdk test -Dtest=LmiLifecycleRegressionTest -Dtest.lmi.regressions.enabled=true.Integration Tests
Latest cloud run: https://github.com/aws/aws-durable-execution-sdk-java/actions/runs/35800330231 (commit
83a38c0b), pending behind the preceding run. Persistent create/update behavior is awaiting cloud validation. The suite keeps$LATEST.PUBLISHED: LMI requires a published version, even though generic Durable Functions documentation permits$LATEST. The real-CLI contract tests and fixture packaging/format checks passed locally. The core SDK behavior in #726 remains unchanged.Examples
These are fault-injection fixtures in a separate test module, not customer examples.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.