Skip to content
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

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

Open
sebsto opened this issue Mar 18, 2025 · 2 comments
Open

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

sebsto opened this issue Mar 18, 2025 · 2 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)

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

1 participant