Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WIP: feat(lambda): Use Lambda Runtime Emulator Interface v2#12736

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
gregfurman wants to merge20 commits intomain
base:main
Choose a base branch
Loading
fromlambda-rie-v2

Conversation

gregfurman
Copy link
Contributor

Motivation

Currently a WIP. This PR was created to trigger a CI/CD run with the new Lambda RIE v2 enabled by default.

Changes

@gregfurmangregfurman self-assigned thisJun 10, 2025
@gregfurmangregfurman added aws:lambdaAWS Lambda semver: minorNon-breaking changes which can be included in minor releases, but not in patch releases labelsJun 10, 2025
@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

Test Results - Preflight, Unit

0 tests   - 21 727   0 ✅  - 20 070   0s ⏱️ - 6m 19s
0 suites  -      1   0 💤  -  1 657 
0 files    -      1   0 ❌ ±     0 

Results for commitf79554a. ± Comparison against base commit5783fa3.

♻️ This comment has been updated with latest results.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

Test Results (MA/MR) - Preflight, Unit

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commitf79554a.

♻️ This comment has been updated with latest results.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 9s ⏱️ -2s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit88b413e. ± Comparison against base commit3a5f08b.

♻️ This comment has been updated with latest results.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

Test Results (amd64, MA/MR) - Acceptance

7 tests   5 ✅  3m 12s ⏱️
1 suites  2 💤
1 files    0 ❌

Results for commit88b413e.

♻️ This comment has been updated with latest results.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

Test Results (MA/MR) - Alternative Providers

987 tests   584 ✅  23m 18s ⏱️
  4 suites  403 💤
  4 files      0 ❌

Results for commit88b413e.

♻️ This comment has been updated with latest results.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

Test Results - Alternative Providers

987 tests   584 ✅  22m 18s ⏱️
  4 suites  403 💤
  4 files      0 ❌

Results for commit88b413e.

♻️ This comment has been updated with latest results.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

Test Results (amd64, MA/MR) - Integration, Bootstrap

    5 files      5 suites   2h 21m 12s ⏱️
5 229 tests 4 303 ✅ 924 💤 2 ❌
5 235 runs  4 303 ✅ 930 💤 2 ❌

For more details on these failures, seethis check.

Results for commit88b413e.

♻️ This comment has been updated with latest results.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 25m 50s ⏱️
5 229 tests 4 303 ✅ 924 💤 2 ❌
5 235 runs  4 303 ✅ 930 💤 2 ❌

For more details on these failures, seethis check.

Results for commit88b413e.

♻️ This comment has been updated with latest results.

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 10, 2025
edited
Loading

LocalStack Community integration with Pro

 2 files  ±    0  2 suites  ±0   40s ⏱️ - 1h 42m 14s
27 tests  - 4 869  0 ✅  - 4 122  1 💤  - 773  0 ❌ ±0  26 🔥 +26 
54 runs   - 4 844  0 ✅  - 4 122  2 💤  - 774  0 ❌ ±0  52 🔥 +52 

For more details on these errors, seethis check.

Results for commitf79554a. ± Comparison against base commit5783fa3.

This pull requestremoves 4894 andadds 25 tests.Note that renamed tests count towards both.
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_lambda_dynamodbtests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_opensearch_crudtests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_search_bookstests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_setuptests.aws.scenario.kinesis_firehose.test_kinesis_firehose.TestKinesisFirehoseScenario ‑ test_kinesis_firehose_s3tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_destination_snstests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_infratests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_prefill_dynamodb_tabletests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input0-SUCCEEDED]tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input1-SUCCEEDED]…
tests.aws.services.apigatewaytests.aws.services.dynamodb.test_dynamodbtests.aws.services.events.test_archive_and_replaytests.aws.services.events.test_eventstests.aws.services.events.test_events_cross_account_regiontests.aws.services.events.test_events_inputstests.aws.services.events.test_events_tagstests.aws.services.events.test_events_targetstests.aws.services.events.test_x_ray_trace_propagationtests.aws.services.kinesis.test_kinesis…

♻️ This comment has been updated with latest results.

Comment on lines +3735 to +3740
"errorMessage": "[Errno 13] Permission denied: '/proc/1/environ'",
"errorType": "PermissionError",
"requestId": "<uuid:2>",
"stackTrace": [
" File \"/var/task/handler.py\", line 3, in handler\n with open(f\"/proc/{pid}/environ\", mode=\"rt\") as f:\n"
]
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@dfangl@joe4dev Seems like this test now expects a permissions error 🤔 Any pointers on how we should be configuring the user permissions when accessing the lambda FS? We currently set the following:

https://github.com/localstack/lambda-runtime-init/blob/9be92e099e99c9973f2e1730d1af6d4ffd769bb2/cmd/localstack/main.go#L155-L169

Copy link
Member

Choose a reason for hiding this comment

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

Can we parity-test/inspect this, or does the permission prohibit that?
If not,@dfangl might have a better guess. Maybe, try 600 🤷‍♂️

Copy link
Member

Choose a reason for hiding this comment

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

I think the tests makes no longer sense then - it was mean to introspect the environment of the init process, if that is no longer possible in AWS, there is no real point (although we could try to hide it in our containers as well, I don't necessarily see this as a priority)

@gregfurmangregfurman added this to thePlayground milestoneJun 26, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@joe4devjoe4devjoe4dev left review comments

@dfangldfangldfangl left review comments

@dominikschubertdominikschubertAwaiting requested review from dominikschubertdominikschubert will be requested when the pull request is marked ready for reviewdominikschubert is a code owner

@alexrashedalexrashedAwaiting requested review from alexrashedalexrashed will be requested when the pull request is marked ready for reviewalexrashed is a code owner

@silv-iosilv-ioAwaiting requested review from silv-iosilv-io will be requested when the pull request is marked ready for reviewsilv-io is a code owner

@k-a-ilk-a-ilAwaiting requested review from k-a-ilk-a-il will be requested when the pull request is marked ready for reviewk-a-il is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

@gregfurmangregfurman

Labels
aws:lambdaAWS Lambdasemver: minorNon-breaking changes which can be included in minor releases, but not in patch releases
Projects
None yet
Milestone
Playground
Development

Successfully merging this pull request may close these issues.

3 participants
@gregfurman@joe4dev@dfangl

[8]ページ先頭

©2009-2025 Movatter.jp