Skip to content

Accessing the cibuildwheel linux docker container after build crash #2367

Closed
@pseudo-rnd-thoughts

Description

@pseudo-rnd-thoughts

Description

I've been using cibiuldwheel for a while and its worked well, however, about a month ago (around when CMake 4.0 was released), the linux only stage started failing.
Farama-Foundation/Arcade-Learning-Environment#601

My problem is that the error only appears using cibuildwheel.

I can replicate the github action problem locally with cibuildhwheel, however, I can't access the error message as the docker image is destroyed.

Using a copy of the linux dockerfile (that copies files and provides bash access), I can run /opt/python/cp310-cp310/bin/python -m build and SUCCESSFULLY build the project. Therefore, I know that the docker file is fine and should be able to build the project.

#### extra code in new docker file ####
COPY . /usr/local/Arcade-Learning-Environment/
WORKDIR /usr/local/Arcade-Learning-Environment/
CMD ["/bin/bash"]

This is a bit maddening for me, as creating the docker image, loading into it and building the project, I get no issue. However, running cibuildwheel which I believe does a very similar procedure, I get the error then can't read any of the log files.

Any advice would be amazing on how to access the error logs, locally or on github actions after cibuildwheel.
I'm raising this issue as I couldn't see any documentation about this or obvious related errors

Build log

No response

CI config

tool.cibuildwheel]
# Skip 32-bit wheels, PyPy & musllinux
skip = ["*-win32", "*i686", "pp*", "*-musllinux*"]

build-frontend = "build"
manylinux-x86_64-image = "manylinux-vcpkg:latest"

# Linux x86-64 (manylinux)
[[tool.cibuildwheel.overrides]]
select = "*-manylinux_x86_64"
environment = { PIP_ONLY_BINARY = "numpy", VCPKG_DEFAULT_TRIPLET = "x64-linux-mixed", VCPKG_FEATURE_FLAGS = "-compilertracking" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions