https://pantsbuild.org/ logo
#general
Title
# general
a

alert-dawn-51425

02/09/2023, 4:01 PM
Hey there, there appears to be another issue around the docker_environment that I am running into on macos.
Copy code
10:57:10.41 [INFO] Completed: Building 35 requirements for klaviyo.domains.event_processing.ticketing_service.server/app.pex from the 3rdparty/python/python3-deps_lock.txt resolve: backoff==1.11.1, blinker==1.4, certifi==2022.6.15... (807 characters truncated)
10:57:10.41 [ERROR] 1 Exception encountered:

Engine traceback:
  in `run` goal - environment:local

IntrinsicError: Failed to execute: Process {
    argv: [
        "/usr/local/bin/python",
        "./pex",
        "--tmpdir",
        ".tmp",
        "--jobs",
        "16",
        "--pip-version",
        "20.3.4-patched",
        "--python-path",
        "/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "--output-file",
        "klaviyo.domains.event_processing.ticketing_service.server/app.pex",
        "--no-emit-warnings",
        "--venv",
        "prepend",
        "--requirements-pex",
        "local_dists.pex",
        "--interpreter-constraint",
        "CPython==3.9.*",
        "--console-script",
        "gunicorn",
        "--sources-directory=source_files",
        "backoff==1.11.1",
        "blinker==1.4",
        "certifi==2022.6.15",
        "charset-normalizer==2.1.0",
        "click==8.0.1",
        "deprecated==1.2.13",
        "dumb-init==1.2.5",
        "flask==2.0.1",
        "googleapis-common-protos==1.56.1",
        "grpcio==1.46.3",
        "gunicorn==20.1.0",
        "idna==3.2",
        "itsdangerous==2.0.1",
        "jinja2==3.0.1",
        "markupsafe==2.0.1",
        "opentelemetry-api==1.12.0",
        "opentelemetry-exporter-otlp-proto-grpc==1.12.0",
        "opentelemetry-exporter-otlp-proto-http==1.12.0",
        "opentelemetry-exporter-otlp==1.12.0",
        "opentelemetry-instrumentation-flask==0.33b0",
        "opentelemetry-instrumentation-wsgi==0.33b0",
        "opentelemetry-instrumentation==0.33b0",
        "opentelemetry-proto==1.12.0",
        "opentelemetry-sdk==1.12.0",
        "opentelemetry-semantic-conventions==0.33b0",
        "opentelemetry-util-http==0.33b0",
        "protobuf==3.20.1",
        "requests==2.28.1",
        "sentry-sdk==0.12.3",
        "six==1.16.0",
        "statsd==3.3.0",
        "typing-extensions==4.3.0",
        "urllib3==1.26.6",
        "werkzeug==2.0.1",
        "wrapt==1.14.1",
        "--lock",
        "3rdparty/python/python3-deps_lock.txt",
        "--no-pypi",
        "--index=<https://pypi.org/simple/>",
        "--find-links=<https://binaries.pantsbuild.org/wheels/pantsbuild.pants/0458301ee366cdd9de0513d0dce1c0ec026edbf8/2.16.0.dev6%2Bgit0458301e/index.html>",
        "--manylinux",
        "manylinux2014",
        "--layout",
        "packed",
    ],
    env: {
        "CPPFLAGS": "",
        "LANG": "C.UTF-8",
        "LDFLAGS": "",
        "PATH": "/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin",
        "PEX_IGNORE_RCFILES": "true",
        "PEX_PYTHON_PATH": "/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "PEX_ROOT": ".cache/pex_root",
    },
    working_directory: None,
    input_digests: InputDigests {
        complete: DirectoryDigest {
            digest: Digest {
                hash: Fingerprint<37ece720d02b9894fb85bc81e1285c39894e518713ed0f93b2ec4606861262b4>,
                size_bytes: 419,
            },
            tree: "Some(..)",
        },
        nailgun: DirectoryDigest {
            digest: Digest {
                hash: Fingerprint<e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855>,
                size_bytes: 0,
            },
            tree: "Some(..)",
        },
        input_files: DirectoryDigest {
            digest: Digest {
                hash: Fingerprint<37ece720d02b9894fb85bc81e1285c39894e518713ed0f93b2ec4606861262b4>,
                size_bytes: 419,
            },
            tree: "Some(..)",
        },
        immutable_inputs: {},
        use_nailgun: {},
    },
    output_files: {},
    output_directories: {
        RelativePath(
            "klaviyo.domains.event_processing.ticketing_service.server/app.pex",
        ),
    },
    timeout: None,
    execution_slot_variable: None,
    concurrency_available: 35,
    description: "Building 35 requirements for klaviyo.domains.event_processing.ticketing_service.server/app.pex from the 3rdparty/python/python3-deps_lock.txt resolve: backoff==1.11.1, blinker==1.4, certifi==2022.6.15, charset-normalizer==2.1.0, click==8.0.1, deprecated==1.2.13, dumb-init==1.2.5, flask==2.0.1, googleapis-common-protos==1.56.1, grpcio==1.46.3, gunicorn==20.1.0, idna==3.2, itsdangerous==2.0.1, jinja2==3.0.1, markupsafe==2.0.1, opentelemetry-api==1.12.0, opentelemetry-exporter-otlp-proto-grpc==1.12.0, opentelemetry-exporter-otlp-proto-http==1.12.0, opentelemetry-exporter-otlp==1.12.0, opentelemetry-instrumentation-flask==0.33b0, opentelemetry-instrumentation-wsgi==0.33b0, opentelemetry-instrumentation==0.33b0, opentelemetry-proto==1.12.0, opentelemetry-sdk==1.12.0, opentelemetry-semantic-conventions==0.33b0, opentelemetry-util-http==0.33b0, protobuf==3.20.1, requests==2.28.1, sentry-sdk==0.12.3, six==1.16.0, statsd==3.3.0, typing-extensions==4.3.0, urllib3==1.26.6, werkzeug==2.0.1, wrapt==1.14.1",
    level: Info,
    append_only_caches: {
        CacheName(
            "pex_root",
        ): RelativePath(
            ".cache/pex_root",
        ),
    },
    jdk_home: None,
    platform: Linux_x86_64,
    cache_scope: Successful,
    execution_strategy: Docker(
        "sha256:a037112b1932d8a1e40b606c914630e9517680424b837155ee45a101c1fbb04f",
    ),
    remote_cache_speculation_delay: 0ns,
}

Failed to create Docker execution in container: DockerResponseServerError { status_code: 404, message: "No such container: 1e7c691a4c12e4a3d5128a360085eb500eda991fa0db1fbc4af7ad61aea56296" }
I am able to work around this by running the rc3 release version, then running the off the SHA version.
12 Views