Skip to content

Conversation

ianbotsf
Copy link
Contributor

Issue #

(none)

Description of changes

Similar to #1515, enhancing smoke test debuggability by echoing build output from the inner Gradle runner to the outer Gradle process. Because the existing code waits for the inner process to exit before evaluating the output, I think we may be missing logs when the inner process exits abruptly.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ianbotsf ianbotsf added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Jan 31, 2025
@ianbotsf ianbotsf requested a review from a team as a code owner January 31, 2025 22:44
@sonarqubecloud
Copy link

@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions
Copy link

Affected Artifacts

No artifacts changed size

Comment on lines -37 to -38
assertContains(smokeTestRunnerOutput, "#\tat aws.smithy.kotlin.runtime.http.interceptors.SmokeTestsInterceptor.readBeforeDeserialization(SmokeTestsInterceptor.kt:19)")
assertContains(smokeTestRunnerOutput, "#\tat aws.smithy.kotlin.runtime.http.interceptors.InterceptorExecutor.readBeforeDeserialization(InterceptorExecutor.kt:252)")
Copy link
Member

Choose a reason for hiding this comment

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

Did we lose the stack trace with this change?

Copy link
Contributor Author

@ianbotsf ianbotsf Feb 3, 2025

Choose a reason for hiding this comment

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

We lost the stack trace assertion with this change. Asserting on stack traces is brittle and adds no value to this test. I'd remove other parts of the exception message assertions as well but that would be a larger refactor so for now I'm just removing this.

@ianbotsf ianbotsf merged commit d6d8411 into main Feb 3, 2025
21 of 22 checks passed
@ianbotsf ianbotsf deleted the fix-enhance-smoke-test-debuggability branch February 3, 2025 16:58
aws-sdk-kotlin-ci added a commit that referenced this pull request Feb 14, 2025
* fix: enhance smoke test debuggability by echoing build output from inner Gradle runner (#1519)

* misc: gradle mirror (#1486)

* feat: improve coding style of DDBMapper auto-generated schemas (#1522)

* misc: bump build plugin version (#1525)

* chore: version bump (#1527)

* chore: removing unused ECS container credentials integration test (#1509)

---------

Co-authored-by: Ian Botsford <[email protected]>
Co-authored-by: 0marperez <[email protected]>
Co-authored-by: Matas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants