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

sam build --use-container keeps failing #6304

Closed
eigyef opened this issue Nov 21, 2023 · 3 comments
Closed

sam build --use-container keeps failing #6304

eigyef opened this issue Nov 21, 2023 · 3 comments
Labels
stage/bug-repro The issue/bug needs to be reproduced

Comments

@eigyef
Copy link

eigyef commented Nov 21, 2023

Im running macOS and I have docker and sam installed. Running sam build --use-container always fails on my end.

Description:

it says "Container was not created. Skipping deletion"

Observed result:

2023-11-21 15:52:39,705 | Container was not created. Skipping deletion
2023-11-21 15:52:39,713 | Telemetry endpoint configured to be https://aws-serverless-tools-telemetry.us-west-2.amazonaws.com/metrics
2023-11-21 15:52:39,719 | Telemetry endpoint configured to be https://aws-serverless-tools-telemetry.us-west-2.amazonaws.com/metrics
2023-11-21 15:52:39,719 | Unable to find Click Context for getting session_id

It's also strange that the telemetry configures it to us-west-2 but I need it to be us-east-1

Expected result:

build successful

  1. OS: MacOS
  2. sam --version: SAM CLI, version 1.103.0
  3. AWS region: us-east-1
# Paste the output of `sam --info` here
{
  "version": "1.103.0",
  "system": {
    "python": "3.8.13",
    "os": "macOS-13.3.1-arm64-i386-64bit"
  },
  "additional_dependencies": {
    "docker_engine": "24.0.6",
    "aws_cdk": "Not available",
    "terraform": "Not available"
  },
  "available_beta_feature_env_vars": [
    "SAM_CLI_BETA_FEATURES",
    "SAM_CLI_BETA_BUILD_PERFORMANCE",
    "SAM_CLI_BETA_TERRAFORM_SUPPORT",
    "SAM_CLI_BETA_RUST_CARGO_LAMBDA"
  ]
}
@eigyef eigyef added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Nov 21, 2023
@mildaniel
Copy link
Contributor

Hey @eigyef, thanks for reporting. Are you able to provide a sample application to help us reproduce the issue?

@mildaniel mildaniel added stage/bug-repro The issue/bug needs to be reproduced and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Nov 21, 2023
@mndeveci
Copy link
Contributor

Resolving due to inactivity, please open a new issue once you have more information about this failure. We will appreciate more log outputs as well as a reproducible example.

@mndeveci mndeveci closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2023
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/bug-repro The issue/bug needs to be reproduced
Projects
None yet
Development

No branches or pull requests

3 participants