TopCoder2K commented on issue #62405:
URL: https://github.com/apache/airflow/issues/62405#issuecomment-3977141083

   @potiuk, the forth step gave the following error:
   ```bash
   [Breeze:3.10.19] root@24b816f9b8e0:/opt/airflow$    docker info
   Client: Docker Engine - Community
    Version:    29.2.1
    Context:    default
    Debug Mode: false
    Plugins:
     buildx: Docker Buildx (Docker Inc.)
       Version:  v0.16.2
       Path:     /root/.docker/cli-plugins/docker-buildx
     compose: Docker Compose (Docker Inc.)
       Version:  v5.1.0
       Path:     /root/.docker/cli-plugins/docker-compose
   
   Server:
   ERROR: Error response from daemon: client version 1.53 is too new. Maximum 
supported API version is 1.43
   errors pretty printing info
   ```
   I did `export DOCKER_API_VERSION=1.43` and `docker info` worked. The problem 
was with the too old Docker server version.
   
   The fifth step didn't go smoothly either. Firstly, `curl -LsSf 
https://astral.sh/uv/install.sh | sh` gave me a warning
   ```bash
   WARN: The following commands are shadowed by other commands in your PATH: uv 
uvx
   ```
   I think that `uv` is present in the used docker image 
(`ghcr.io/apache/airflow/main/ci/python3.10:cache-linux-arm64`, if I'm not 
mistaken), so there is no need to install one more `uv` (the already installed 
`uv` is 0.10.6 and the downloaded version is `0.10.7`).
   Secondly, I got an error during building an image
   ```bash
    => ERROR importing cache manifest from 
ghcr.io/topcoder2k/airflow/main/ci/python3.10:cache-linux-amd64                 
                                    0.6s
   ```
   But this can be ignored, I think. The image was built after ≈20 minutes, but 
... it seems that not all the containers were started. Here are the errors:
   ```bash
   ...
   docker: Error response from daemon: failed to create task for container: 
failed to create shim task: OCI runtime create failed: runc create failed: 
unable to start container process: error during container init: exec: 
"/opt/airflow/scripts/in_container/run_fix_ownership.py": stat 
/opt/airflow/scripts/in_container/run_fix_ownership.py: no such file or 
directory: unknown
   ...
   Error response from daemon: failed to create task for container: failed to 
create shim task: OCI runtime create failed: runc create failed: unable to 
start container process: error during container init: error mounting 
"/opt/airflow/scripts/docker/entrypoint_ci.sh" to rootfs at "/entrypoint": 
mount src=/opt/airflow/scripts/docker/entrypoint_ci.sh, dst=/entrypoint, 
dstFd=/proc/thread-self/fd/12, flags=MS_BIND|MS_REC: not a directory: unknown: 
Are you trying to mount a directory onto a file (or vice-versa)? Check if the 
specified host path exists and is the expected type
   Error 1 returned
   ```
   I'll try to investigate the last errors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to