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

docker build error #49

Open
gi4you opened this issue Jun 17, 2023 · 3 comments
Open

docker build error #49

gi4you opened this issue Jun 17, 2023 · 3 comments

Comments

@gi4you
Copy link

gi4you commented Jun 17, 2023

Hello,
I found a build error in the RHEL8 environment(pull is Ok).

$sudo docker build -f docker/Dockerfile.vivado -t ghcr.io/fastmachinelearning/hls4ml-tutorial/hls4ml-0.7.1-vivado-2019.2:latest .
Sending build context to Docker daemon 67.18GB
Error response from daemon: unexpected error reading Dockerfile: read /var/lib/docker/tmp/docker-builder548070090/docker/Dockerfile.vivado: is a directory

@jmduarte
Copy link
Member

hi @gi4you. I'm not sure why you're seeing this error, but why do you need to build it if you can just pull it? Do you need to change something?

@gi4you
Copy link
Author

gi4you commented Jun 17, 2023

Hello @jmduarte,

Thank you for your quick answer.
No, I just followed a tutorial.

One more question:
I've got the below errors and stopped. Did I miss something?

$ docker run -p 8888:8888 ghcr.io/fastmachinelearning/hls4ml-tutorial/hls4ml-0.7.1-vivado-2019.2:latest
Entered start.sh with args: jupyter lab
WARNING: no write access to /home/jovyan. Try starting the container with group 'users' (100), e.g. using "--group-add=users".
Executing the command: jupyter lab
Fail to get yarn configuration. /opt/conda/bin/node[14]: ../../src/node_platform.cc:61:std::unique_ptr node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0x7f471b7ff9e9 node::Abort() [/opt/conda/bin/../lib/libnode.so.93]
2: 0x7f471b7ffa7b [/opt/conda/bin/../lib/libnode.so.93]
3: 0x7f471b87472d node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [/opt/conda/bin/../lib/libnode.so.93]
4: 0x7f471b874816 node::NodePlatform::NodePlatform(int, v8::TracingController*) [/opt/conda/bin/../lib/libnode.so.93]
5: 0x7f471b7c2c65 [/opt/conda/bin/../lib/libnode.so.93]
6: 0x7f471b7c3697 node::InitializeOncePerProcess(int, char**, node::InitializationSettingsFlags, node::ProcessFlags::Flags) [/opt/conda/bin/../lib/libnode.so.93]
7: 0x7f471b7c383a node::InitializeOncePerProcess(int, char**) [/opt/conda/bin/../lib/libnode.so.93]
8: 0x7f471b7c3897 node::Start(int, char**) [/opt/conda/bin/../lib/libnode.so.93]
9: 0x7f471adf8d90 [/lib/x86_64-linux-gnu/libc.so.6]
10: 0x7f471adf8e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
11: 0x560f0834c145 [/opt/conda/bin/node]

.
.
[I 2023-06-17 02:47:08.735 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-06-17 02:47:08.738 ServerApp]

To access the server, open this file in a browser:
    file:///home/jovyan/.local/share/jupyter/runtime/jpserver-7-open.html
Or copy and paste one of these URLs:
    http://5d267cb5a9bd:8888/lab?token=72c4afb676d32e307e98b6c9dc9b7f5bfd1cc0f1c567d817
    http://127.0.0.1:8888/lab?token=72c4afb676d32e307e98b6c9dc9b7f5bfd1cc0f1c567d817

@gi4you
Copy link
Author

gi4you commented Jun 17, 2023

Hello,

I attempted using Xilinx Vitis-AI docker_run.sh for container starting. but when I start Jupyter notebook, it shows simular errors.

Vitis-AI]$ ./docker_run.sh ghcr.io/fastmachinelearning/hls4ml-tutorial/hls4ml-0.7.1-vivado-2019.2
Using default tag: latest
latest: Pulling from fastmachinelearning/hls4ml-tutorial/hls4ml-0.7.1-vivado-2019.2
Digest: sha256:2b0104ba3ad160978f6a33fba8fe8819ba9eb52e5a24cc9778ea584f099f9730
Status: Image is up to date for ghcr.io/fastmachinelearning/hls4ml-tutorial/hls4ml-0.7.1-vivado-2019.2:latest
ghcr.io/fastmachinelearning/hls4ml-tutorial/hls4ml-0.7.1-vivado-2019.2:latest
(base) jovyan@SPS-diaglabs-dev:/workspace$
(base) jovyan@SPS-diaglabs-dev:/workspace$ cat /etc/issue
Ubuntu 22.04.2 LTS \n \l

(base) jovyan@SPS-diaglabs-dev:~$ jupyter notebook


| | | |_ __ | | | | ___
| || | ' / / _ | / -)
_/| ./_
,_,|____|
|_|

Read the migration plan to Notebook 7 to learn about the new features and the actions to take if you are using extensions.

https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html

Please note that updating to Notebook 7 might break some of your extensions.

[I 03:17:35.943 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.6.1
Fail to get yarn configuration. /opt/conda/bin/node[1078]: ../../src/node_platform.cc:61:std::unique_ptr node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0x7f71876199e9 node::Abort() [/opt/conda/bin/../lib/libnode.so.93]
2: 0x7f7187619a7b [/opt/conda/bin/../lib/libnode.so.93]
3: 0x7f718768e72d node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [/opt/conda/bin/../lib/libnode.so.93]
4: 0x7f718768e816 node::NodePlatform::NodePlatform(int, v8::TracingController*) [/opt/conda/bin/../lib/libnode.so.93]
5: 0x7f71875dcc65 [/opt/conda/bin/../lib/libnode.so.93]
6: 0x7f71875dd697 node::InitializeOncePerProcess(int, char**, node::InitializationSettingsFlags, node::ProcessFlags::Flags) [/opt/conda/bin/../lib/libnode.so.93]
7: 0x7f71875dd83a node::InitializeOncePerProcess(int, char**) [/opt/conda/bin/../lib/libnode.so.93]
8: 0x7f71875dd897 node::Start(int, char**) [/opt/conda/bin/../lib/libnode.so.93]
9: 0x7f7186c12d90 [/lib/x86_64-linux-gnu/libc.so.6]
10: 0x7f7186c12e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
11: 0x562141480145 [/opt/conda/bin/node]

[W 03:17:36.512 NotebookApp] Loading JupyterLab as a classic notebook (v6) extension.
[C 03:17:36.512 NotebookApp] You must use Jupyter Server v1 to load JupyterLab as notebook extension. You have v2.5.0 installed.
You can fix this by executing:
pip install -U "jupyter-server<2.0.0"
[C 03:17:36.581 NotebookApp] You must use Jupyter Server v1 to load nbdime as a classic notebook server extension. You have v2.5.0 installed.
You can fix this by executing:
pip install -U "jupyter-server<2.0.0"
[I 03:17:36.582 NotebookApp] Serving notebooks from local directory: /home/jovyan
[I 03:17:36.582 NotebookApp] Jupyter Notebook 6.5.4 is running at:
[I 03:17:36.582 NotebookApp] http://SPS-diaglabs-dev.nsls2.bnl.gov:8888/?token=0bc8a116b5bb65ba45dfae29491c7e5178eeb24bef23db4a
[I 03:17:36.582 NotebookApp] or http://127.0.0.1:8888/?token=0bc8a116b5bb65ba45dfae29491c7e5178eeb24bef23db4a
[I 03:17:36.582 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 03:17:36.587 NotebookApp]

To access the notebook, open this file in a browser:
    file:///home/jovyan/.local/share/jupyter/runtime/nbserver-1075-open.html
Or copy and paste one of these URLs:
    http://SPS-diaglabs-dev.nsls2.bnl.gov:8888/?token=0bc8a116b5bb65ba45dfae29491c7e5178eeb24bef23db4a
 or http://127.0.0.1:8888/?token=0bc8a116b5bb65ba45dfae29491c7e5178eeb24bef23db4a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants