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

Error on run-docker.sh on dev branch : Unable to find image 'xilinx/finn:v0.10.1-84-g45a4e4af-dirty.xrt_202220.2.14.354_22.04-amd64-xrt #1223

Open
3 of 4 tasks
kalahel opened this issue Nov 4, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@kalahel
Copy link

kalahel commented Nov 4, 2024

Prerequisites

Please make sure to check off these prerequisites before submitting a bug report.

  • Test that the bug appears on the current version of the dev-branch. Make sure to include the commit hash of the commit you checked out.
  • Check that the issue hasn't already been reported, by checking the currently open issues.
  • If there are steps to reproduce the problem, make sure to write them down below.
  • If relevant, please include the ONNX files, which were created directly before and/or after the bug.

Quick summary

I am currently trying the dev branch of Finn on WSL, with vivado 2024.1 but when I tried running run-docker.sh I got this error :

4.803 Get:70 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgl1-mesa-dev amd64 23.2.1-1ubuntu3.1~22.04.2 [6842 B]
4.836 Err:61 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-generic amd64 5.15.0.122.122
4.836   404  Not Found [IP: 185.125.190.83 80]
4.841 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-headers-generic_5.15.0.122.122_amd64.deb  404  Not Found [IP: 185.125.190.83 80]
4.841 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
4.841 Fetched 98.6 MB in 4s (26.7 MB/s)
------

 1 warning found (use docker --debug to expand):
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 139)
Dockerfile.finn:88
--------------------
  87 |
  88 | >>> RUN if [ -z "$SKIP_XRT" ];then \
  89 | >>>     apt install -y /tmp/$XRT_DEB_VERSION.deb && \
  90 | >>>     rm /tmp/$XRT_DEB_VERSION.deb; fi
  91 |
--------------------
ERROR: failed to solve: process "/bin/sh -c if [ -z \"$SKIP_XRT\" ];then     apt install -y /tmp/$XRT_DEB_VERSION.deb &&     rm /tmp/$XRT_DEB_VERSION.deb; fi" did not complete successfully: exit code: 100
Unable to find image 'xilinx/finn:v0.10.1-86-ga054165e.xrt_202220.2.14.354_22.04-amd64-xrt' locally
docker: Error response from daemon: pull access denied for xilinx/finn, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

Steps to Reproduce

  1. Launch an Ubuntu WSL
  2. Clone the FINN repository
  3. Checkout the dev branch, with commit hash: 50045ff
  4. Start windows docker desktop
  5. Run export FINN_XILINX_VERSION=2024.1
  6. Run export FINN_XILINX_PATH=/mnt/c/Tools/Xilinx_linux
  7. Start the docker container with the command: ./run-docker.sh

Additional context

I don't have this problem on the main branch.

@kalahel kalahel added the bug Something isn't working label Nov 4, 2024
@fpjentzsch
Copy link
Collaborator

Hi,

can you try again on the latest dev branch after setting the environment variable FINN_DOCKER_NO_CACHE=1? Sometimes a fresh rebuild of the container is required. Afterwards you can remove the variable again to save time during future container launches.

@kalahel
Copy link
Author

kalahel commented Nov 4, 2024

Hi, thanks for your reply.

I tried it and same result.

This is the full log if it can help :
log_finn.txt

@fpjentzsch
Copy link
Collaborator

The Docker output still says "CACHED" for most steps. Are you sure you are on the latest dev branch, this env var was added only last week.

@kalahel
Copy link
Author

kalahel commented Nov 5, 2024

I think so, because if I run a git status this is the result :

On branch dev
Your branch is up to date with 'origin/dev'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants