Skip to content

[test] Unit test fails on swiftlang/swift:nightly-main-jammy #509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sebsto opened this issue Mar 18, 2025 · 5 comments
Closed

[test] Unit test fails on swiftlang/swift:nightly-main-jammy #509

sebsto opened this issue Mar 18, 2025 · 5 comments
Assignees
Labels
kind/bug Feature doesn't work as expected.
Milestone

Comments

@sebsto
Copy link
Contributor

sebsto commented Mar 18, 2025

Expected behavior

Using the MockServer triggers a fatalError() in LambdaRuntimeClient

AWSLambdaRuntime/LambdaRuntimeClient.swift:339: Fatal error: Incorrect actor executor assumption; Expected same executor as AWSLambdaRuntime.LambdaRuntimeClient.

Actual behavior

should not crash

Steps to reproduce

docker run -it --rm -v .:/work swiftlang/swift:nightly-6.1-jammy bash -c "cd work && swift test" 

🛑

docker run -it --rm -v .:/work swiftlang/swift:nightly-main-jammy bash -c "cd work && swift test" 

If possible, minimal yet complete reproducer code (or URL to code)

see above

What version of this project (swift-aws-lambda-runtime) are you using?

main

Swift version

6.1
Swift version 6.1-dev (LLVM 08670c03fe16573, Swift 493744d5e4900b2)
Target: aarch64-unknown-linux-gnu

main
Swift version 6.2-dev (LLVM 162ee50b401fff2, Swift 57288d13c9f3c02)
Target: aarch64-unknown-linux-gnu
Build config: +assertions

Amazon Linux 2 docker image version

No response

@sebsto sebsto self-assigned this Mar 18, 2025
@sebsto sebsto added the kind/bug Feature doesn't work as expected. label Mar 18, 2025
@sebsto sebsto added this to the 2.0 milestone Mar 18, 2025
@sebsto
Copy link
Contributor Author

sebsto commented Mar 18, 2025

this PR temporary disables test on nightly main
#510

@sebsto
Copy link
Contributor Author

sebsto commented Mar 19, 2025

Crash is reported on Swiftlang project
swiftlang/swift#80115 (comment)

@ktoso
Copy link
Contributor

ktoso commented May 16, 2025

AFAICS this is resolved and the undo of that test disable also seems to confirm that, nightly tests passed now as well

@sebsto
Copy link
Contributor Author

sebsto commented May 16, 2025

@ktoso I confirm the command

docker run -it --rm -v .:/work swiftlang/swift:nightly-main-jammy bash -c "cd work && swift test" 

now works. I'll check the PR.

sebsto pushed a commit that referenced this issue May 16, 2025
Reverts #510

I think the issue
#509 that
caused this tests disabling has been resolved in Swift and would like to
confirm here as well.
@sebsto
Copy link
Contributor Author

sebsto commented May 16, 2025

fixed now

@sebsto sebsto closed this as completed May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Feature doesn't work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants